How do I install mainline u-boot on Rock Pi 4?

  • How do I install mainline u-boot on microSD card?
    • Do I just need to configure it for Rock Pi 4, build it, and install it in the partition structure recommended by mainline u-boot? rockchip-bsp seems to insert idbloader and trust.img, too. I wonder mainline u-boot needs those files.
  • How do I install mainline u-boot on SPI flash?

Build mainline u-boot is the same for all arm64 Rockchip soc. You can refer:

http://opensource.rock-chips.com/wiki_U-Boot

1 Like