Advertisement
Guest User

Untitled

a guest
Oct 30th, 2020
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. # basics
  2. git clone https://github.com/ARM-software/arm-trusted-firmware.git && cd arm-trusted-firmware
  3. make -j4 PLAT=rk3328 bl31
  4. cd ..
  5. git clone https://gitlab.denx.de/u-boot/u-boot.git
  6. cd u-boot
  7. echo CONFIG_SD_BOOT=y >> configs/rock64-rk3328_defconfig
  8. echo CONFIG_EXT4_WRITE=y >> configs/rock64-rk3328_defconfig
  9. cp ../arm-trusted-firmware/build/rk3328/release/bl31/bl31.elf bl31.elf
  10. make -j4 rock64-rk3328_defconfig
  11.  
  12. Results:
  13. idbloader.img
  14. u-boot.itb
  15.  
  16. Flash:
  17. dd if=idbloader.img of=/dev/xxx seek=64
  18. dd if=u-boot.itb of=/dev/xxx seek=16384
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement