* Attached cubox-i to stock kernel. Tested. Sadly ZRAM has some issues, so it must ramain disabled * more imx6 updates for cubox/udoo * Enable HDMI on Cubox-i Signed-off-by: Igor Pecovnik <igor.pecovnik@gmail.com>
45 lines
973 B
Plaintext
45 lines
973 B
Plaintext
BOOTSOURCE='https://github.com/UDOOboard/uboot-imx'
|
|
BOOTDIR='u-boot-udoo'
|
|
BOOTSCRIPT="boot-$BOARD.cmd:boot.cmd"
|
|
BOOTENV_FILE='udoo-default.txt'
|
|
UBOOT_TARGET_MAP=';;SPL u-boot.img'
|
|
UBOOT_USE_GCC='> 5.0'
|
|
|
|
BOOTSOURCE=$MAINLINE_UBOOT_SOURCE
|
|
BOOTDIR=$MAINLINE_UBOOT_DIR
|
|
BOOTBRANCH='tag:v2017.11'
|
|
SERIALCON=ttymxc1
|
|
|
|
case $BRANCH in
|
|
|
|
next)
|
|
KERNELSOURCE='https://github.com/patrykk/linux-udoo'
|
|
KERNELBRANCH='branch:4.4-5.0.11.p7.3'
|
|
KERNELDIR='linux-udoo-next'
|
|
KERNEL_USE_GCC='> 6.0'
|
|
;;
|
|
|
|
dev)
|
|
KERNELSOURCE=$MAINLINE_KERNEL_SOURCE
|
|
KERNELDIR=$MAINLINE_KERNEL_DIR
|
|
KERNELBRANCH='branch:linux-5.2.y'
|
|
KERNEL_USE_GCC='> 7.0'
|
|
;;
|
|
|
|
esac
|
|
|
|
CPUMIN=392000
|
|
CPUMAX=996000
|
|
GOVERNOR=interactive
|
|
|
|
write_uboot_platform()
|
|
{
|
|
dd if=$1/SPL of=$2 bs=1k seek=1 status=noxfer > /dev/null 2>&1
|
|
dd if=$1/u-boot.img of=$2 bs=1k seek=69 conv=fsync > /dev/null 2>&1
|
|
}
|
|
|
|
family_tweaks_bsp()
|
|
{
|
|
install -m 644 $SRC/packages/bsp/cubox/99-hdmi_fb0.conf $destination/etc/X11/xorg.conf.d/99-hdmi_fb0.conf
|
|
}
|