62 lines
1.3 KiB
Plaintext
62 lines
1.3 KiB
Plaintext
HAS_UUID_SUPPORT=yes
|
|
|
|
if [[ $BOARD == helios4 ]]; then
|
|
source "${BASH_SOURCE%/*}/mvebu-u-boot-helios4.inc"
|
|
BOOTENV_FILE='helios4-default.txt'
|
|
else
|
|
source "${BASH_SOURCE%/*}/mvebu-u-boot-clearfog.inc"
|
|
BOOTENV_FILE='clearfog-default.txt'
|
|
fi
|
|
|
|
case $BRANCH in
|
|
default)
|
|
KERNELSOURCE='https://github.com/moonman/linux-stable'
|
|
KERNELBRANCH='branch:linux-4.4.y-marvell'
|
|
KERNELDIR='linux-armada-lts'
|
|
|
|
KERNEL_USE_GCC='> 5.0'
|
|
;;
|
|
|
|
next)
|
|
KERNELSOURCE=$MAINLINE_KERNEL_SOURCE
|
|
KERNELBRANCH='branch:linux-4.14.y'
|
|
KERNELDIR=$MAINLINE_KERNEL_DIR
|
|
|
|
KERNEL_USE_GCC='> 7.0'
|
|
;;
|
|
|
|
dev)
|
|
BOOTSOURCE=$MAINLINE_UBOOT_SOURCE
|
|
BOOTBRANCH='tag:v2017.11'
|
|
BOOTDIR=$MAINLINE_UBOOT_DIR
|
|
BOOTPATCHDIR='u-boot-mvebu-next'
|
|
BOOTSCRIPT='boot-mvebu-next.cmd:boot.cmd'
|
|
|
|
UBOOT_TARGET_MAP=";;u-boot-spl.kwb:u-boot.mmc"
|
|
UBOOT_USE_GCC='> 7.0'
|
|
|
|
OVERLAY_PREFIX='armada-388'
|
|
|
|
KERNELSOURCE=$MAINLINE_KERNEL_SOURCE
|
|
KERNELBRANCH='branch:linux-4.14.y'
|
|
KERNELDIR=$MAINLINE_KERNEL_DIR
|
|
LINUXCONFIG='linux-mvebu-next'
|
|
|
|
KERNEL_USE_GCC='> 7.0'
|
|
;;
|
|
esac
|
|
|
|
CPUMIN=800000
|
|
CPUMAX=1600000
|
|
GOVERNOR=ondemand
|
|
|
|
write_uboot_platform()
|
|
{
|
|
dd if=$1/u-boot.mmc of=$2 bs=512 seek=1 status=noxfer > /dev/null 2>&1
|
|
}
|
|
|
|
family_tweaks()
|
|
{
|
|
chroot $SDCARD /bin/bash -c "apt-get -y -qq remove --auto-remove linux-sound-base alsa-base alsa-utils bluez>/dev/null 2>&1"
|
|
}
|