RockPro64 getting started - non-booting images [solved]
#1
OK, bought a new RockPro64, downloaded some linux images, burned some of them to eMMC, didn't boot.
The green light comes on (power) and the white light comes on  and stays on. Then for about half a second the white light goes off, then goes on again for a couple of seconds. Repeat.
No HDMI output whatsoever.

Tried a couple of images, like the MrFixIt and Manjaro ARM images, no go.
Then happened upon Ayufan's fine work here:
https://github.com/ayufan-rock64/linux-build/releases

His image actually booted!
Specifically: https://github.com/ayufan-rock64/linux-b...tag/0.9.14
Progress. The RockPro64 isn't DOA! Smile

Did some more reading, some searching the forums, nothing turns up but for an almost random mention somewhere that a uboot might be old.

Turns out, on new RockPro64 boards you have to install the u-boot / uboot, if you actually want to run some linux images.

Uboot is the ARM bootloader. There is a storage chip (SPI) on the RockPro64 board that holds the bootloader software.
The bootloader software is ran during boot, and if it finds a correct image, it boots that image.

Also: no information anywhere on how to actually install a new uboot.

New RockPro64 boards, it turns out, they come without a working uboot loader, or with a seriously old version that just doesn't load Linux images.

Luckily Ayufan also has images that flash to the SPI a newer (somewhat) uboot.
https://github.com/ayufan-rock64/linux-u-boot/releases

Now the information says you download an image, flash the image to an SD-card or eMMC and then boot it. When it boots, it flashes the SPI with the new uboot, and we should see a blinking white light. Which would be nice, if it actually loaded that image to start the flashing. Which it didn't. Because: no working uboot.

OK, so, the solution: download the ayufan linux image, flash that to a eMMC or SD.
E.g.: bionic-mate-rockpro64-0.9.14-1159-armhf.img.xz
Boot from that, and yes: this takes ages. But it's all good stuff.

Then from the working Bionic Mate, download the ayufan uboot .deb, this one:
https://github.com/ayufan-rock64/linux-u-boot/releases
u-boot-rockchip-rockpro64-2017.09-rockchip-ayufan-1065-g95f6152134.deb

Then open a terminal to install the .deb with:
sudo dpkg -i u-boot-rockchip-rockpro64-2017.09-rockchip-ayufan-1065-g95f6152134.deb
(make sure you are in the download folder)

Then you can install the uboot to the SPI:
sudo rock64_write_spi_flash.sh
You have to type YES with capitals to agree that this is a risky move. Then: be patient

There is a lot of scrolling... and then it's done.

Reboot, and you should be able to load images other than ayufan's.

Oh, yeah, this software works wonders for burning images:
https://www.balena.io/etcher/
You don't have to 'unxz'  the images, you can burn the .xz images right to an SD card or an eMMC.

This took me the better part of a day, so let's hope this post saves someone a day or an unnecessary RMA.

Also: please correct / reply if any of the above is wrong. I've only been at it for a day now.


Messages In This Thread
RockPro64 getting started - non-booting images [solved] - by new-rockpro-user - 11-20-2019, 12:27 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  slarm64 (unofficial slackware) ROCKPro64 RK3399 (aarch64) mara 51 51,335 09-11-2022, 10:20 AM
Last Post: mara
  Can RockPRO64 support PCIe Endpoint? andrewg132 2 203 09-09-2022, 12:34 PM
Last Post: andrewg132
  RockPro64 linux console video mode callegar 0 71 09-06-2022, 02:32 PM
Last Post: callegar
  A fix for Bluetooth audio stuttering on the RockPro64 raph 0 116 08-13-2022, 02:38 AM
Last Post: raph
  Armbian images available Luke 60 62,762 08-04-2022, 06:56 AM
Last Post: Rocklobster
  [OS] SkiffOS and Buildroot for Rockpro64 w/ 5.17 kernel paralin1 1 649 05-08-2022, 03:26 PM
Last Post: paralin1
Brick Maintained Linux booting from eMMC ootoovak 10 3,906 04-30-2022, 03:57 PM
Last Post: TRS-80
  PostmarketOS on RockPro64 publiclewdness 0 374 04-24-2022, 11:53 AM
Last Post: publiclewdness
  New OS for RockPro64 is here, TwisterOS Armbian jtremblant 91 53,508 04-03-2022, 01:44 PM
Last Post: davidlsbc
  Armbian is looking for maintainer for ROCKPro64 TRS-80 20 7,044 03-19-2022, 09:32 PM
Last Post: paralin1

Forum Jump:


Users browsing this thread: 1 Guest(s)