-
Notifications
You must be signed in to change notification settings - Fork 10
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
v1 - "reboot" does not make the device boot once is re-starts #25
Comments
See these interesting findings With the 8GB SD CARD, i have no problems rebooting many times. Rebooting with 32 GB SD CARD:
Rebooting with 8 GB:
I can vaguely remember some discussions about issues with SD CARD voltage for some SD CARDs models, the kernel I used is vanilla 5.9.0-rc6 and now 5.9.0-rc7. Maybe this is the issue above, don't know if the patch is applied, or this patch is upstream now and is the one to blame. I think Armbian had a thread about it. |
Ok, i think i found a workaround for this. |
I had to rebuild the Image with old gcc, gcc-10 gives some weird results. |
Thanks, I will try it... I have the 4GB version can I still use it? |
Humm,not with this Image, it is for 8GB minimum, I will provide a way to install it if you have a Linux box. But you can mount the 8GB in your Linux box e resize it to 4 GB, but the Image after installed occupies 3.5 GB due to gcc and dev tools. |
No I meant the 4GB RAM version :) |
No boot on 4 GB, just need the u-boot for 4GB version. I will build one. |
I don't know why it does not initialize DRAM on the 4GB. I have compiled the u-boot 4G version that loads lpddr 4G but get error on DRAm init. Attached is a working bootloader for 2GB and 4GB DRAM (nanopi m4 v1) If you have a Linux box you can flash the 2G Image file and write the new bootloader. I thought the 4GB version of the u-boot was for DDR4 but it loads lpddr3 timings. But anyway, the shutdown and reboot work for both, 2GB and 4GB NanoPi M4 v1. instructions
use df -lh to find out where the SD CARD is. |
Boot log from a 4GB NanoPi M4 v1:
|
Here is the Image file: |
Did it work for you? |
Hi, thank you very much for all the work, this is really appreciated! Will try tonight as I haven't had the time yet to try. Thanks again! |
I have to unplug and re-plug the device for it to boot up again.
Same thing happens with Armbian.
The text was updated successfully, but these errors were encountered: