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
  No /dev/gpiochip[n] on RockPro64. Faradn 2 128 03-25-2020, 08:50 PM
Last Post: Faradn
  Linux reboot command dont' restart davide.duca 2 113 03-11-2020, 03:15 PM
Last Post: dukla2000
  Performance and Power Demand RockPro64 fotastisch 5 373 02-11-2020, 10:48 AM
Last Post: bavay
  Rockpro64 Case WIP xbcsmith 0 172 01-26-2020, 05:05 PM
Last Post: xbcsmith
  Rockpro64 Case WIP xbcsmith 0 92 01-26-2020, 05:02 PM
Last Post: xbcsmith
  RockPro64 & Roshambo Case Gouki 2 350 01-26-2020, 12:57 AM
Last Post: EagleFlyFree
  rockpro64 support in the rockchip uboot dedoz 0 173 01-13-2020, 01:51 PM
Last Post: dedoz
  RockPro64 Official uboot download dedoz 1 208 01-11-2020, 09:53 PM
Last Post: tophneal
  RockPro64 as Synology NAS alternative!? hemertje 4 420 12-23-2019, 03:34 PM
Last Post: Bullet64
  the 24/48 rockpro64 cluster LMM 8 1,056 12-15-2019, 11:55 AM
Last Post: Luke

Forum Jump:


Users browsing this thread: 1 Guest(s)