armbian-build/config/sources/pine64.conf
zador-blood-stained d135151a31 Move board-specific tweaks to LINUXFAMILY templates
Add sunxi-fel to list of installed tools on host
2016-05-05 21:10:37 +03:00

44 lines
951 B
Plaintext

BOOTLOADER='https://github.com/zador-blood-stained/u-boot-pine64-armbian.git'
BOOTBRANCH=''
BOOTSOURCE='u-boot-pine64-armbian'
UBOOT_NEEDS_GCC='<4.9'
OFFSET=20
BOOTSIZE=64
case $BRANCH in
default)
LINUXKERNEL='https://github.com/longsleep/linux-pine64.git'
KERNELBRANCH='pine64-hacks-1.2'
LINUXSOURCE='linux-pine64'
GOVERNOR=interactive
;;
dev)
LINUXKERNEL='https://github.com/apritzel/linux.git'
KERNELBRANCH='a64-wip'
LINUXSOURCE='linux-pine64-dev'
GOVERNOR=ondemand
;;
esac
CPUMIN=480000
CPUMAX=1200000
UBOOT_FILES="boot0.bin u-boot-with-dtb.bin pine64-plus.dtb pine64.dtb"
write_uboot_platform()
{
dd if=$1/boot0.bin of=$2 bs=1k seek=8 conv=fsync > /dev/null 2>&1
dd if=$1/u-boot-with-dtb.bin of=$2 bs=1k seek=19096 conv=fsync > /dev/null 2>&1
if [[ -n $CACHEDIR ]]; then
cp $1/pine64-plus.dtb $CACHEDIR/mount/boot
cp $1/pine64.dtb $CACHEDIR/mount/boot
else
cp $1/pine64-plus.dtb /boot
cp $1/pine64.dtb /boot
fi
}