Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't boot with the suggested 32 megs of ram #3

Open
marcsello opened this issue Aug 27, 2024 · 0 comments
Open

Can't boot with the suggested 32 megs of ram #3

marcsello opened this issue Aug 27, 2024 · 0 comments

Comments

@marcsello
Copy link

I really like this project, thank you for sharing it!

I'm a novice in this field, so I followed the steps in the README. I was able to successfully build qemu and the bootrom. Sadly the linked repo for buildroot (https://github.com/newluhux/licheepi_buildroot) is no longer up, so I figured that part out myself.

However when I used the command described in the tutorial, the boot hang like this:

λ marcsello@rainbow-dash: ~/f1c100s-qemu/qemu/build (9dad5f3b57) ● > ./qemu-system-arm -M allwinner-f1c100s -nographic -m 32 -bios ../../qemu-f1c100s/bootrom/bootrom.bin -drive if=mtd,file=../../buildroot-2024.05.2/output/images/flash_small.bin,format=raw  

U-Boot SPL 2023.04 (Aug 27 2024 - 19:15:01 +0200)
DRAM: 64 MiB
Trying to boot from sunxi SPI


U-Boot 2023.04 (Aug 27 2024 - 19:15:01 +0200) Allwinner Technology

CPU:   Allwinner F Series (SUNIV)
Model: Lichee Pi Nano
DRAM:  64 MiB (effective 0 Bytes)

(after this, nothing happened)

After some failed googling, and changing random things, I've found out, that the ram size needs to be adjusted to the same amount that u-boot reports. After changing to 64MB, u-boot could proceed and boot the kernel.

Now, I know that the F1C100s only has 32 megs of ram, therefore I'm not sure what should be done here. But I wanted to bring this to your attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant