armbian-build/config/sources/rda8810.conf
2017-04-19 17:54:58 +03:00

34 lines
717 B
Plaintext

BOOTSOURCE='https://github.com/zador-blood-stained/u-boot-orangepi2g'
BOOTBRANCH='branch:master'
BOOTDIR='u-boot-rda8810'
BOOTPATCHDIR='u-boot-rda8810'
BOOTSCRIPT='boot-rda8810.cmd:boot.cmd'
BOOTFS_TYPE=ext2
OFFSET=2
UBOOT_TARGET_MAP=';;u-boot.rda'
UBOOT_NEEDS_GCC='< 5.0'
UBOOT_COMPILER='arm-linux-gnueabi-'
KERNELSOURCE='https://github.com/zador-blood-stained/linux-orangepi2g'
KERNELBRANCH='branch:master'
KERNELDIR='linux-rda8810'
KERNEL_NEEDS_GCC='< 5.0'
CPUMIN=392000
CPUMAX=996000
GOVERNOR=interactive
write_uboot_platform()
{
dd if=$1/u-boot.rda of=$2 bs=512 seek=256 count=4096 status=noxfer > /dev/null 2>&1
}
family_tweaks()
{
cp $SRC/lib/bin/rda8810_modem.bin $CACHEDIR/$SDCARD/boot/modem.bin
}