Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- set +x
- export ARCH=arm64
- export CROSS_COMPILE=aarch64-linux-gnu-
- make mrproper
- git pull origin
- cp ../rkbin/./bin/rk33/rk3399_bl31_v1.29.elf ./bl31.elf
- make rock960-rk3399_defconfig
- make
- make u-boot.itb
- tools/mkimage -n rk3399 -T rksd -d spl/u-boot-spl.bin idbspl.img
- cd ../rkbin
- tools/trust_merger RKTRUST/RK3399TRUST.ini
- cd -
- cp -v ../rkbin/trust.img .
- sudo dd if=idbspl.img of=/dev/mmcblk0 bs=1k seek=32
- sudo dd if=u-boot.itb of=/dev/mmcblk0 bs=1k seek=8192
- sudo dd if=trust.img of=/dev/mmcblk0 seek=24576 conv=notrunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement