32 lines
712 B
Plaintext
32 lines
712 B
Plaintext
BOOTSOURCE='https://github.com/hardkernel/u-boot.git'
|
|
BOOTBRANCH='branch:odroidn2-v2015.01'
|
|
BOOTDIR='u-boot-odroidn2'
|
|
UBOOT_USE_GCC='< 4.9'
|
|
BOOTSCRIPT="boot-odroid-n2.ini:boot.ini"
|
|
UBOOT_TOOLCHAIN2="arm-none-eabi-:< 5.0"
|
|
UBOOT_COMPILER="aarch64-none-elf-"
|
|
ARCH=arm64
|
|
SERIALCON=ttyS0
|
|
UBOOT_TARGET_MAP=';;sd_fuse/u-boot.bin'
|
|
|
|
KERNEL_IMAGE_TYPE=Image
|
|
|
|
case $BRANCH in
|
|
default)
|
|
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'
|
|
;;
|
|
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
|
|
}
|