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 & Roshambo Case Gouki 0 49 10-13-2019, 01:16 PM
Last Post: Gouki
  The leds and fan of RockPro64 xlx 0 52 10-10-2019, 12:19 PM
Last Post: xlx
  RockPro64 Fan Pins TheUnknownMuncher 1 105 10-08-2019, 12:44 PM
Last Post: TheUnknownMuncher
  Number of Rockpro64 boards sold/made fentavius 1 221 09-16-2019, 10:53 AM
Last Post: tllim
Photo RockPro64 Case 2x3.5" HDDs and 2x2.5 HDDs Luke 46 17,281 09-01-2019, 09:03 PM
Last Post: Tim Jones
  Vulkan support with rockpro64 rahulsharma 2 214 08-21-2019, 10:34 PM
Last Post: rahulsharma
  rockPro64 vs Odroid-N2 kardanadm 3 673 08-15-2019, 05:33 AM
Last Post: kardanadm
  ROCKPRO64 with 10GbE NICs H.HSEL 13 2,437 08-14-2019, 01:37 PM
Last Post: igorp
  Rockpro64 boot issues larsgn 11 828 08-01-2019, 12:12 PM
Last Post: imapc99
  the 24/48 rockpro64 cluster LMM 6 599 07-05-2019, 06:57 AM
Last Post: vincele

Forum Jump:


Users browsing this thread: 2 Guest(s)