source "${BASH_SOURCE%/*}/include/rockchip64_common.inc" BOOTPATCHDIR="u-boot-rockchip64" BOOTENV_FILE='rockpis.txt' OVERLAY_PREFIX='rk3308' case $BRANCH in legacy) BOOTCONFIG="rockpi-s-rk3308_defconfig" BOOTSOURCE='https://github.com/piter75/rockchip-u-boot.git' BOOTBRANCH='branch:rockpis-next-dev' BOOTPATCHDIR="u-boot-rockpis" UBOOT_COMPILER="aarch64-linux-gnu-" BOOTSCRIPT='boot-rockpis.cmd:boot.cmd' UBOOT_USE_GCC='< 8.0' BOOTDIR='u-boot-rockchip64' KERNELSOURCE='https://github.com/piter75/rockchip-kernel' KERNELBRANCH='branch:rockpis-develop-4.4' KERNELDIR='linux-rockchip64' ;; esac prepare_boot_configuration uboot_custom_postprocess() { # TODO: remove this diversion from common caused by different loaderimage params loaderimage --pack --uboot ./u-boot-dtb.bin uboot.img 0x600000 --size 1024 1 tools/mkimage -n rk3308 -T rksd -d $RKBIN_DIR/$DDR_BLOB idbloader.bin cat $RKBIN_DIR/$MINILOADER_BLOB >> idbloader.bin trust_merger --replace bl31.elf $RKBIN_DIR/$BL31_BLOB trust.ini } family_tweaks_bsp() { : }