Based on work of David Huang https://github.com/hjc4869 Changed in the transition: - firefly family was renamed to rk3399, which we actually never started to use. It was made for Odroid N1, which will never be sold - adjusted compiler toolchain2 parameter - added standard wireless drivers - kernel config with the following changes: Docker dependencies, ZRAM, CPUfreq info, ... - added upstream patches - made test Ubuntu Bionic desktop and CLI Stretch build, bootlog: http://ix.io/1jVu TBD: wifi and BT support, mainline kernel, ...
59 lines
1.1 KiB
Plaintext
59 lines
1.1 KiB
Plaintext
ARCH=arm64
|
|
KERNEL_IMAGE_TYPE=Image
|
|
|
|
BOOTENV_FILE='qcomlt-default.txt'
|
|
|
|
UBOOT_TARGET_MAP=";;u-boot.bin"
|
|
UBOOT_USE_GCC='> 7.0'
|
|
|
|
BOOTSOURCE='https://github.com/u-boot/u-boot.git'
|
|
BOOTDIR=$MAINLINE_UBOOT_DIR
|
|
BOOTBRANCH='branch:master'
|
|
BOOTSCRIPT="boot-qcomlt.cmd:boot.cmd"
|
|
|
|
HAS_UUID_SUPPORT=yes
|
|
BOOTDELAY=0
|
|
OVERLAY_PREFIX='qcomlt'
|
|
|
|
case $BRANCH in
|
|
default)
|
|
|
|
KERNELSOURCE='https://git.linaro.org/landing-teams/working/qualcomm/kernel.git'
|
|
KERNELBRANCH='branch:release/qcomlt-4.14'
|
|
KERNELDIR='linux-qcomlt-dev'
|
|
KERNEL_USE_GCC='> 7.0'
|
|
|
|
SERIALCON=ttyMSM0
|
|
|
|
;;
|
|
dev)
|
|
|
|
KERNELSOURCE='https://git.linaro.org/landing-teams/working/qualcomm/kernel.git'
|
|
KERNELBRANCH='branch:integration-linux-qcomlt'
|
|
KERNELDIR='linux-qcomlt-dev'
|
|
KERNEL_USE_GCC='> 7.0'
|
|
|
|
SERIALCON=ttyMSM0
|
|
;;
|
|
esac
|
|
|
|
write_uboot_platform()
|
|
{
|
|
/bin/true
|
|
}
|
|
|
|
setup_write_uboot_platform()
|
|
{
|
|
/bin/true
|
|
}
|
|
|
|
family_tweaks()
|
|
{
|
|
# enable root login via the serial console
|
|
echo "ttyMSM0" >> $SDCARD/etc/securetty
|
|
|
|
if [[ $BOARD == dragonboard820c ]]; then
|
|
echo "fdtfile=qcom/apq8096-db820c.dtb" >> $SDCARD/boot/armbianEnv.txt
|
|
fi
|
|
}
|