RockPro64 not coming online after reboot
#1
I just purchased a RockPro64 and eMMC module and am configuring it for the first time. Everything goes well with system installation and first boot, but upon running `reboot` command, the system does not come back online. Power LEDs stay lit, but the white LED stays off and there is no visual output or presence on the network.

I have tried a number of different distributions - Armbian Stretch and Bionic, Ayufan's Stretch and Bionic and OMV, mrfixit2001's Debian, DietPi. All have the same issue.

Have seen forum postings and GH issues dating back a few years, none of which with any resolution. Wondering if the board is faulty or if it has just remained an unresolved issue with all of these boards for the past few years.
  Reply
#2
As an update - with any OS installed on an SD card, the system is able to reboot with the `reboot` command.

However, if an eMMC is present - can be completely blank or have filesystem on it - then the system will not reboot with the command.
  Reply
#3
(08-01-2019, 09:23 PM)imapc99 Wrote: However, if an eMMC is present - can be completely blank or have filesystem on it - then the system will not reboot with the command.

Are you sure that the eMMC is "completely blank" ?
If there is some kind of u-boot present in the boot sectors, it can be the cause of boot hanging ...
You can erase those boot sectors using "dd if=/dev/zero of=/dev/mmcblk2 bs=1024 count=1000" and try again to boot from SDCard.
  Reply
#4
(08-02-2019, 08:09 AM)martinayotte Wrote: Are you sure that the eMMC is "completely blank" ?
If there is some kind of u-boot present in the boot sectors, it can be the cause of boot hanging ...
You can erase those boot sectors using "dd if=/dev/zero of=/dev/mmcblk2 bs=1024 count=1000" and try again to boot from SDCard.

Ah you are correct, if I write 0's to the eMMC I can boot from the SD card and then successfully run the `reboot` command with both eMMC and SD card present.

So the hanging after `reboot` command issue only occurs when the eMMC module with a boot sector is present.

One option could be keeping the /boot on the SD while leaving root partition on eMMC to get the best of both worlds (eMMC speed and a machine that can reboot).

However, since the board and eMMC are newly purchased, I am wondering if I should pursue an RMA with the vendor (AmeriDroid). Part of me thinks that it is not a hardware issue since I have seen the same issue from others as well, but it might be worth a shot to narrow this down?
  Reply
#5
(08-02-2019, 02:44 PM)imapc99 Wrote: One option could be keeping the /boot on the SD while leaving root partition on eMMC to get the best of both worlds (eMMC speed and a machine that can reboot).

You can also copy the U-Boot sectors from SDCard to eMMC and boot without any SDCard inserted ...

(08-02-2019, 02:44 PM)imapc99 Wrote: However, since the board and eMMC are newly purchased, I am wondering if I should pursue an RMA with the vendor (AmeriDroid). Part of me thinks that it is not a hardware issue since I have seen the same issue from others as well, but it might be worth a shot to narrow this down?

AmeriDroid maybe provided eMMC with pre-loaded with some unkown version of U-Boot, and as any Rockchip SoC start looking at eMMC before trying SDCard, this eMMC U-Boot has priority.
  Reply
#6
(08-03-2019, 07:49 AM)martinayotte Wrote: AmeriDroid maybe provided eMMC with pre-loaded with some unkown version of U-Boot, and as any Rockchip SoC start looking at eMMC before trying SDCard, this eMMC U-Boot has priority.

Yes they shipped the eMMC with some boot and OS on the chip. I overwrote them with the rockpro64 image though before booting on the board.

(08-03-2019, 07:49 AM)martinayotte Wrote: You can also copy the U-Boot sectors from SDCard to eMMC and boot without any SDCard inserted ...
AmeriDroid maybe provided eMMC with pre-loaded with some unkown version of U-Boot, and as any Rockchip SoC start looking at eMMC before trying SDCard, this eMMC U-Boot has priority.

I tried copying the entire working disk contents from the SD card to the (again blank) eMMC card; unfortunately I still get the same issue with only the eMMC card connected.

So, it appears that if there is any boot sector on the eMMC present, then the system hangs after `reboot` command. If there is an SD card present with boot sectors, and the eMMC is present with no boot sectors, then the issue does not happen. I have also written some filesystem to the eMMC card and mounted it at boot which was fine. Its just if the eMMC has boot sectors does the issue occur.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  rockpro64 support in the rockchip uboot dedoz 0 94 01-13-2020, 01:51 PM
Last Post: dedoz
  RockPro64 Official uboot download dedoz 1 102 01-11-2020, 09:53 PM
Last Post: tophneal
  RockPro64 & Roshambo Case Gouki 1 200 01-07-2020, 04:39 AM
Last Post: Maxpako
  RockPro64 as Synology NAS alternative!? hemertje 4 225 12-23-2019, 03:34 PM
Last Post: Bullet64
  the 24/48 rockpro64 cluster LMM 8 845 12-15-2019, 11:55 AM
Last Post: Luke
Question How to automatically reboot rockpro64 in case it shutdown abruptly ? seaurchin 2 116 11-25-2019, 08:46 AM
Last Post: tophneal
  RockPro64 Fan Pins TheUnknownMuncher 7 548 11-14-2019, 04:06 AM
Last Post: vecnar
  rockpro64 turn on with pine 64 remote vecnar 0 83 10-31-2019, 11:53 PM
Last Post: vecnar
Photo RockPro64 Case 2x3.5" HDDs and 2x2.5 HDDs Luke 48 20,391 10-17-2019, 11:58 AM
Last Post: Tim Jones
  rockPro64 vs Odroid-N2 kardanadm 4 1,328 10-16-2019, 10:29 AM
Last Post: buzzmarshall

Forum Jump:


Users browsing this thread: 1 Guest(s)