Files
build/config/sources/families/meson-sm1.conf
Igor Pečovnik 75382d816b Remove deprecated and add most recent GCC compilers (#2092)
* 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
2020-07-17 10:34:46 +02:00

47 lines
1.0 KiB
Plaintext

source "${BASH_SOURCE%/*}/include/meson64_common.inc"
CPUMIN=667000
CPUMAX=2016000
GOVERNOR=ondemand
if [[ $BRANCH == legacy ]]; then
BOOTCONFIG="odroidc4_defconfig"
BOOTSOURCE='https://github.com/hardkernel/u-boot.git'
BOOTBRANCH='branch:odroidg12-v2015.01'
BOOTPATCHDIR='u-boot-odroidn2'
BOOTDIR='u-boot-odroidc2'
UBOOT_USE_GCC='< 4.9'
UBOOT_TOOLCHAIN2="arm-none-eabi-:< 5.0"
UBOOT_COMPILER="aarch64-none-elf-"
UBOOT_TARGET_MAP=';;sd_fuse/u-boot.bin'
BOOTSCRIPT="boot-odroid-c4.ini:boot.ini"
SERIALCON=ttyS0
ATF_COMPILE="no"
LINUXFAMILY=odroidc4
KERNELSOURCE='https://github.com/hardkernel/linux'
KERNELBRANCH='branch:odroidg12-4.9.y'
KERNELDIR='linux-odroid'
# unstable EXT4 support
BOOTSIZE="200"
BOOTFS_TYPE="fat"
write_uboot_platform()
{
dd if=$1/u-boot.bin of=$2 bs=512 seek=1 conv=fsync > /dev/null 2>&1
}
fi
family_tweaks()
{
:
}
uboot_custom_postprocess()
{
if [[ $BOARD == odroidc4 && $BRANCH != legacy ]]; then
uboot_g12_postprocess $SRC/cache/sources/amlogic-boot-fip/odroid-c4 g12a
fi
}