armbian-build/config/sources/families/imx6.conf
Igor Pečovnik 3b3d85e25c
Upgrade EDGE to 5.12.y (#2825)
* Bump imx6 edge to 5.12.y

* Bump odroid xu4 edge to 5.12.y

* Bump Jetson nano edge to 5.12.y

* WIP: Bump sunxi to 5.12.y

- create a copy of patches and make a new link
- wireless patches needs adjutement to 5.12
- some patches are still failing

* Adjust wireless patches to build on 5.12.y

* Remove template wireless patch

* Move Espressobin edge to 5.12.y

* Bump mvebu to 5.12

- patch 92-mvebu-gpio-remove-hardcoded-timer-assignment.patch was disabled @heisath
- adjusted wireless driver for 8723ds

* Adjust sunxi / sunxi64 edge to compile

* Fix kernel config for Jetson nano edge

* bump meson64 to 5.12.y

* bump rockchip edge to 5.12.y

* Bump rockchip64 to 5.12.y

* Bump rk322x edge to 5.12.y

@paolosabatino

* Cleanup im6, re-add 5.10.y patches since one is missing in 5.12.y

* Update odroidxu4 edge links

* rk322x: moved rk322x-edge to kernel 5.12, fix overlay compilation, retouched included kernel modules

* Cleanup: remove deprecated config

Co-authored-by: Paolo Sabatino <paolo.sabatino@gmail.com>
2021-05-22 17:08:44 +02:00

73 lines
1.6 KiB
Plaintext

CPUMIN=392000
CPUMAX=996000
GOVERNOR=interactive
SERIALCON=ttymxc0
ARCH=armhf
UBOOT_TARGET_MAP=';;SPL:SPL.sdhc u-boot.img:u-boot.img.sdhc'
case $BRANCH in
current)
KERNELBRANCH='branch:linux-5.10.y'
;;
edge)
KERNELBRANCH='branch:linux-5.12.y'
;;
esac
case $BOARD in
udoo)
BOOTBRANCH='tag:v2017.11'
SERIALCON=ttymxc1
BOOTSCRIPT="boot-udoo.cmd:boot.cmd"
BOOTENV_FILE='udoo.txt'
;;
cubox-i)
BOOTSOURCE='https://github.com/SolidRun/u-boot.git'
BOOTBRANCH='branch:v2018.01-solidrun-imx6'
BOOTSCRIPT='boot-cubox.cmd:boot.cmd'
BOOTENV_FILE='cubox.txt'
UBOOT_TARGET_MAP=';emmc;SPL:SPL.emmc u-boot.img:u-boot.img.emmc
;sdhc;SPL:SPL.sdhc u-boot.img:u-boot.img.sdhc
;sdhc;SPL:SPL.sata u-boot.img:u-boot.img.sata
;sdhc;SPL:SPL.spi-flash u-boot.img:u-boot.img.spi-flash'
;;
wandboard)
BOOTBRANCH="branch:v2017.03"
BOOTSCRIPT='boot-udoo.cmd:boot.cmd'
BOOTENV_FILE='cubox.txt'
;;
esac
write_uboot_platform()
{
dd if=$1/SPL.sdhc of=$2 bs=1K seek=1 status=noxfer > /dev/null 2>&1
dd if=$1/u-boot.img.sdhc of=$2 bs=1K seek=69 status=noxfer > /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
install -m 755 $SRC/packages/bsp/cubox/brcm_patchram_plus $destination/usr/bin/brcm_patchram_plus
cp $SRC/packages/bsp/cubox/brcm4330 $destination/etc/default/
# TODO: replace by a systemd service
mkdir $destination/etc/init.d/
install -m 755 $SRC/packages/bsp/cubox/brcm4330-patch $destination/etc/init.d/brcm4330-patch
}