armbian-build/config/sources/families/meson-g12b.conf
Igor Pečovnik ff4c1488da
Move to 5.4.y (#1686)
* Wireguard: bump tag to most recent since it breaks building on 5.4.y
* Move rockchip current to 5.4.y
* Move sunxi current to 5.4.y
* Move meson64 to 5.4.y
* Move odroidxu4 to 5.4.y and enable "current" targets
* Enable missing target
2019-12-23 00:40:23 +01:00

46 lines
1.0 KiB
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|dev)
KERNELSOURCE='https://github.com/150balbes/Amlogic_s905-kernel'
KERNELBRANCH='branch:le'
KERNELPATCHDIR='meson64-'$BRANCH
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
}