PINE64
new rockpro64: images won't boot [solved] - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCKPRO64 (https://forum.pine64.org/forumdisplay.php?fid=98)
+--- Forum: Linux on RockPro64 (https://forum.pine64.org/forumdisplay.php?fid=101)
+--- Thread: new rockpro64: images won't boot [solved] (/showthread.php?tid=8389)



new rockpro64: images won't boot [solved] - new-rockpro-user - 11-20-2019

Bought a new RockPro64, downloaded some linux images, flashed them to eMMC: no boot.
The white light goes on, stays on for a while, goes off for half a second, goes on again for a while, repeat.
No HDMI output.

OK, turns out: new RockPro64's come without a uboot, or with a seriously old uboot.

What does boot, is ayufan's images:
https://github.com/ayufan-rock64/linux-build/releases/tag/0.9.14
Download for example the
bionic-mate-rockpro64-0.9.14-1159-armhf.img.xz

That should work. It takes a while to load, first run, but it does work.
Boot from there.

From Ayufan's bionic Mate there you can install a uboot.
Download a uboot from here:
https://github.com/ayufan-rock64/linux-u-boot/releases

Now, it says you should download an flash SPI image, flash that image to an SD or eMMC and boot from that.
Well, with an old / missing uboot, the flash SPI image won't load.

So, download the .deb:
u-boot-rockchip-rockpro64-2017.09-rockchip-ayufan-1065-g95f6152134.deb

Open a terminal, and install the deb.
sudo dpkg -i u-boot-rockchip-rockpro64-2017.09-rockchip-ayufan-1065-g95f6152134.deb

Then flash the uboot to spi with
sudo rock64_write_spi_flash.sh

Enter YES with capitals to confirm that this is a scary thing to do.

After it stops scrolling you are done.
You can now boot other images.

This probably goes into the 'goes without saying'  category, because this information is nowhere to be found.
This took me a day, so let's hope this post saves someone else a day.

Also, please correct/reply if I made some errors in this description, I'm only doing this for one day now.