mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-16 03:41:26 +00:00
* Add most recent GCC compilers * Remove obsolete compilers * Adjust compiler for RockpiS Uboot * Remove deprecated compiler definitions * Resolve small bug and building Espressobin * Small cleanup
39 lines
972 B
Text
39 lines
972 B
Text
source "${BASH_SOURCE%/*}/include/rockchip64_common.inc"
|
|
|
|
BOOTSOURCE='https://github.com/piter75/rockchip-u-boot.git'
|
|
UBOOT_USE_GCC='< 8.0'
|
|
BOOTDIR='u-boot-rockchip64'
|
|
UBOOT_COMPILER="aarch64-linux-gnu-"
|
|
BOOTBRANCH='branch:rockpis-next-dev'
|
|
BOOTPATCHDIR="u-boot-rockchip64"
|
|
BOOTSCRIPT='boot-rockpis.cmd:boot.cmd'
|
|
BOOTENV_FILE='rockpis.txt'
|
|
OVERLAY_PREFIX='rk3308'
|
|
|
|
case $BRANCH in
|
|
|
|
legacy)
|
|
|
|
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()
|
|
{
|
|
:
|
|
}
|