Files
build/config/sources/families/meson-g12b.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

42 lines
823 B
Plaintext

source "${BASH_SOURCE%/*}/include/meson64_common.inc"
BOOTSOURCE='https://github.com/hardkernel/u-boot.git'
BOOTBRANCH='branch:odroidn2-v2015.01'
BOOTPATCHDIR='u-boot-odroidn2'
BOOTDIR='u-boot-odroidn2'
UBOOT_USE_GCC='< 4.9'
ATF_COMPILE="no"
UBOOT_TOOLCHAIN2="arm-none-eabi-:< 5.0"
UBOOT_COMPILER="aarch64-none-elf-"
ARCH=arm64
UBOOT_TARGET_MAP=';;sd_fuse/u-boot.bin'
BOOTSCRIPT="boot-odroid-n2.ini:boot.ini"
SERIALCON=ttyS0
case $BRANCH in
legacy)
KERNELSOURCE='https://github.com/hardkernel/linux'
KERNELBRANCH='branch:odroidn2-4.9.y'
KERNELDIR='linux-odroidn2'
;;
current|dev)
SERIALCON=ttyAML0
BOOTSCRIPT="boot-odroid-n2-mainline.ini:boot.ini"
;;
esac
CPUMIN=667000
CPUMAX=2132000
GOVERNOR=ondemand
write_uboot_platform()
{
dd if=$1/u-boot.bin of=$2 bs=512 seek=1 conv=fsync > /dev/null 2>&1
}