PINE64
Rebuilding the bootloaders - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112)
+--- Thread: Rebuilding the bootloaders (/showthread.php?tid=8279)



Rebuilding the bootloaders - danielt - 11-11-2019

Assuming the v1.1 update from mrfixit writes all of the bootloaders it looks like the bootloaders consist of three binaries: idbloader.img, uboot.img and trust.img (which strings suggests is a version of [Arm] Trusted Firmware-A).

It looks like the source for uboot.img would be uboot.img is https://github.com/mrfixit2001/rockchip-u-boot. Is that right (and is the build process "obvious")?

Additionally is there source (or partial source) available for either of the other components?


Thanks!


RE: Rebuilding the bootloaders - hmuller - 12-08-2019

@danielt 

@ayufan and @Mrfixit2001  might have something to add.

I am still learning the arm embedded boot process, but this is probably a good start:

http://opensource.rock-chips.com/wiki_Boot_option


RE: Rebuilding the bootloaders - Arwen - 12-08-2019

@hmuller, thank you, that link clears up a lot.

The @Mrfixit2001 boot sequence seems to require "/boot" to be the first partition. An experiment today making partitions of the binary blobs similar to the below failed;

http://opensource.rock-chips.com/wiki_Partitions


RE: Rebuilding the bootloaders - danielt - 12-09-2019

(12-08-2019, 07:15 PM)Arwen Wrote: @hmuller, thank you, that link clears up a lot.

The @Mrfixit2001 boot sequence seems to require "/boot" to be the first partition. An experiment today making partitions of the binary blobs similar to the below failed;

http://opensource.rock-chips.com/wiki_Partitions

I remember setting LegacyBIOSBoot attribute in the GPT table whilst getting my early SD card experiments to boot... the UART logs from u-boot suggest that I don't need it anymore but it might be worth fiddling with that flag just in case I missed something.