07-17-2021, 04:07 PM
I pulled the two first stage boot loader files out of the first partition of that eMMC, and wrote them back to the sd card with buster, and the eMMC with Manjaro.
And it boots! From mmc alone I get the manjaro splash screen hang. From sd I can actually boot into buster.
Big thanks to the clear documentation at https://wiki.pine64.org/wiki/RK3399_boot_sequence for helping me figure this out!
To summarize: I propose a change in the documentation. The way to install a new OS on your SD card or emmc is:
1) copy your existing tpl/spl/u-boot files from mmcblk2boot1 to a safe place.
2) `dd` your desired OS image. to /dev/mmcblk2 .
3) ensure the TPL/SPL/u-boot files are present with the dd commands above.
I just ran that sequence on the emmc, and it worked perfectly.
Code:
# dd if=/boot/idbloader.img conv=notrunc seek=64 of=/dev/mmcblkX
# dd if=/boot/u-boot.itb conv=notrunc seek=16384 of=/dev/mmcblkX
And it boots! From mmc alone I get the manjaro splash screen hang. From sd I can actually boot into buster.
Big thanks to the clear documentation at https://wiki.pine64.org/wiki/RK3399_boot_sequence for helping me figure this out!
To summarize: I propose a change in the documentation. The way to install a new OS on your SD card or emmc is:
1) copy your existing tpl/spl/u-boot files from mmcblk2boot1 to a safe place.
2) `dd` your desired OS image. to /dev/mmcblk2 .
3) ensure the TPL/SPL/u-boot files are present with the dd commands above.
I just ran that sequence on the emmc, and it worked perfectly.