armbian-build/config/sources/families/meson-g12b.conf
Igor Pečovnik 99a0630f47
Enable Meson64 DEV branch / kernel 5.4.y, tested for building (#1634)
* [AR-81] Enable Meson64 DEV branch / kernel 5.4.y, tested for building
* Adjust configs
2019-11-26 21:58:00 +01:00

49 lines
1004 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'
KERNEL_COMPILER='aarch64-linux-gnu-'
KERNEL_USE_GCC='< 7.0'
;;
current)
KERNELBRANCH='branch:linux-5.3.y'
SERIALCON=ttyAML0
BOOTSCRIPT="boot-odroid-n2-mainline.ini:boot.ini"
;;
dev)
SERIALCON=ttyAML0
BOOTSCRIPT="boot-odroid-n2-mainline.ini:boot.ini"
;;
esac
CPUMIN=504000
CPUMAX=2132000
GOVERNOR=interactive
write_uboot_platform()
{
dd if=$1/u-boot.bin of=$2 bs=512 seek=1 conv=fsync > /dev/null 2>&1
}