50 lines
1.1 KiB
Plaintext
50 lines
1.1 KiB
Plaintext
BOOTSOURCE='https://github.com/SolidRun/u-boot-armada38x'
|
|
BOOTBRANCH='branch:u-boot-2013.01-15t1-clearfog'
|
|
BOOTDIR='u-boot-armada'
|
|
|
|
UBOOT_NEEDS_GCC='< 5.0'
|
|
UBOOT_COMPILER="arm-linux-gnueabi-"
|
|
|
|
UBOOT_TARGET="u-boot.mmc"
|
|
|
|
case $BRANCH in
|
|
default)
|
|
KERNELSOURCE='https://github.com/SolidRun/linux-armada38x'
|
|
KERNELBRANCH='branch:linux-3.10.70-15t1-clearfog'
|
|
KERNELDIR='linux-armada'
|
|
;;
|
|
|
|
next)
|
|
KERNELSOURCE=$MAINLINE_KERNEL_SOURCE
|
|
KERNELBRANCH=$MAINLINE_KERNEL_BRANCH
|
|
KERNELDIR=$MAINLINE_KERNEL_DIR
|
|
;;
|
|
|
|
dev)
|
|
KERNELSOURCE='https://github.com/SolidRun/linux-stable'
|
|
KERNELBRANCH='branch:linux-4.4.y-clearfog'
|
|
KERNELDIR='linux-armada-modern'
|
|
;;
|
|
esac
|
|
|
|
CPUMIN=800000
|
|
CPUMAX=1600000
|
|
GOVERNOR=ondemand
|
|
|
|
UBOOT_FILES="u-boot.mmc"
|
|
|
|
write_uboot_platform()
|
|
{
|
|
dd if=$1/u-boot.mmc of=$2 bs=512 seek=1 status=noxfer > /dev/null 2>&1
|
|
}
|
|
|
|
family_tweaks()
|
|
{
|
|
chroot $CACHEDIR/sdcard /bin/bash -c "apt-get -y -qq remove --auto-remove lirc linux-sound-base alsa-base alsa-utils bluez>/dev/null 2>&1"
|
|
}
|
|
|
|
install_boot_script()
|
|
{
|
|
cp $SRC/lib/config/bootscripts/boot-marvell.cmd $CACHEDIR/sdcard/boot/boot.cmd
|
|
}
|