mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
This avoids errors with filesystem features and permissions when output directory is shared in Virtualbox (i.e. when using Vagrant)
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
ARCH=arm64
|
|
KERNEL_IMAGE_TYPE='Image'
|
|
HAS_UUID_SUPPORT=yes
|
|
#OFFSET=2
|
|
|
|
BOOTSCRIPT="boot-espressobin.cmd:boot.cmd"
|
|
|
|
BOOTSOURCE=$MAINLINE_UBOOT_SOURCE
|
|
BOOTDIR=$MAINLINE_UBOOT_DIR
|
|
BOOTBRANCH=$MAINLINE_UBOOT_BRANCH
|
|
|
|
|
|
BOOTENV_FILE='clearfog-default.txt'
|
|
HAS_UUID_SUPPORT=yes
|
|
|
|
case $BRANCH in
|
|
default)
|
|
KERNELSOURCE='https://github.com/MarvellEmbeddedProcessors/linux-marvell.git'
|
|
KERNELBRANCH='branch:linux-4.4.52-armada-17.08'
|
|
KERNELDIR='linux-marvell'
|
|
KERNEL_IMAGE_TYPE='Image'
|
|
;;
|
|
|
|
dev)
|
|
KERNELSOURCE='https://github.com/ioft/linux'
|
|
KERNELBRANCH='branch:master'
|
|
KERNELDIR='linux-marvell'
|
|
|
|
KERNEL_USE_GCC='> 6.1'
|
|
;;
|
|
esac
|
|
|
|
CPUMIN=250000
|
|
CPUMAX=800000
|
|
GOVERNOR=ondemand
|
|
|
|
|
|
write_uboot_platform()
|
|
{
|
|
# dd if=$1/u-boot.mmc of=$2 bs=512 seek=1 status=noxfer > /dev/null 2>&1
|
|
/bin/true
|
|
}
|
|
|
|
family_tweaks()
|
|
{
|
|
chroot $SDCARD /bin/bash -c "apt-get -y -qq remove --auto-remove lirc linux-sound-base alsa-base alsa-utils bluez>/dev/null 2>&1"
|
|
ln -sf interfaces.espressobin $SDCARD/etc/network/interfaces
|
|
echo "#Marvell Espressobin Console" >> $SDCARD/etc/securetty
|
|
echo "ttyMV0" >> $SDCARD/etc/securetty
|
|
}
|