armoon

build rock960 spl

Aug 16th, 2019
112
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2. set +x
  3.  
  4. export ARCH=arm64
  5. export CROSS_COMPILE=aarch64-linux-gnu-
  6. make mrproper
  7. git pull origin
  8.  
  9. cp ../rkbin/./bin/rk33/rk3399_bl31_v1.29.elf ./bl31.elf
  10. make rock960-rk3399_defconfig
  11. make
  12. make u-boot.itb
  13.  
  14. tools/mkimage -n rk3399 -T rksd -d spl/u-boot-spl.bin idbspl.img
  15.  
  16. cd ../rkbin
  17. tools/trust_merger RKTRUST/RK3399TRUST.ini
  18. cd -
  19.  
  20. cp -v ../rkbin/trust.img .
  21.  
  22. sudo dd if=idbspl.img of=/dev/mmcblk0 bs=1k seek=32
  23. sudo dd if=u-boot.itb of=/dev/mmcblk0 bs=1k seek=8192
  24. sudo dd if=trust.img of=/dev/mmcblk0 seek=24576 conv=notrunc
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×