armbian-build/config/sources/families/meson-g12b.conf
Igor Pečovnik cc7ab6a6b1
Move meson64 to mainline + patches (#1748)
* Attach Meson64 to mainline with a bunch of patches. Tested, but need further work.
* Enable DVFS on N2 which sometimes works, sometime doesn't, cleanup
* Enable beta targets for Meson64 kernel family
* Bump with version
2020-01-18 19:05:55 +01:00

44 lines
887 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|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
}