NanoPi 2 reboot forever

AnHMC
Hi all,

Please help me to resolve this problem. I have flashed the latest Debian
image on a SD card then boot my NanoPi 2. But it always fails after 4sec

[    4.488000] systemd[1]: Started Increase datagram queue length.
[    4.524000] systemd[1]: Started Create list of required static device
nodes for the current kernel.
[    4.540000] systemd[1]: Starting Create Static Device Nodes in /dev...
[    4.552000] systemd[1]: Starting Syslog Socket.
[    4.560000] systemd[1]: Listening on Syslog Socket.
[    4.568000] systemd[1]: Starting Journal Service...
[    4.576000] systemd[1]: Started Journal Service.
[    4.764000] systemd-udevd[106]: starting version 215
[    4.872000] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req
400000Hz, actual 396825HZ div = 63)

--------------------------------------------------------------------------------


 Second Boot by Nexell Co. : Ver0.6.1 - Built on Oct 16 2015 13:42:17
--------------------------------------------------------------------------------


EMA VALUE : 001
123
Lock value  = 151
GATE CYC    = 0x00008421
GATE CODE   = 0x3A393741
Read  DQ    = 0x08080808
Write DQ    = 0x08080808
Loading from sdmmc...
 Image Loading Done!
Launch to 0x42C00000


You can see that it restarted and U-boot run again

Thanks

davef
Are you trying to use the HDMI port?

There is one posting on their new forum which tries to address this
problem.

The main fix, so far, is changing the value of R452.

AnHMC
Hi davef,

Thank you for your reply, I didn't connect my board to any HDMI device,
just using minicom. Could you please give me the link of the post you
mentioned above? 

Thanks

davef
http://www.friendlyarm.com/Forum/viewtopic.php?f=17&t=37

Attach your whole boot log at the link, like I was asked to.

Are you using a recommended microSD card?

AnHMC
Hi davef,

I'm using a Mircon SD card class 4 4GB (not same as recommended card) but
it worked before.

I see that there is a new Debian image fix this issue on new forum.

"Hi Dave, please get the latest Debian image files. In our latest image we
added "rootwait" and fixed this issue." 

But on Google Drive, it seems that it has not been updated yet.

I'll try to change SD card and wait for new build

Thanks

davef
Thanks.  I checked Google drive but noticed that there is no date or
version on the "current" image.  I will wait until next week to download.

davef
Ah, I see there is an "information" button.  Still 26th Feb

davef
While we are waiting perhaps this will help:

http://bill.station51.net/?post/2010/01/30/HOWTO:-Booting-from-SD-card-u...

AnHMC
Hi,

I found the rootcause:

My adapter is not same as the recommendation. It's 5V 0.7A and caused
NanoPi 2 reboot when booting. I changed to 1A and it worked well

Thank davef!

davef
The power supply they ship with the NanoPi2 is rated at 2A.  If you use a
LCD display you might need a higher current rating.

Good to hear you are making progress.

davef
Tried putting in <rw rootwait> in bootargs and managed to corrupt the
system.  It will still boot the LCD but boot messages disappeared and HDMI
still doesn't work.

Where is that new image file?

davef
Typing mistake! You have to be very careful.

Do a printenv (just so you know what is in there before modifying)

then

setenv bootargs console=ttyAMA0,115200n8 root=/dev/mmcblk0p2 rw rootwai
t rootfstype=ext4 init=/sbin/init systemd.show_status=false
g_ether.host_addr=82:cf:ce:fa:44:18 lcd=HDMI1720P60


N.B. there is no = after bootargs in the setenv command

Lastly, do a saveenv

This may not be the way FA have done it, so no guarantees!