mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* Updated kernel/u-boot for MCIMX7SABRE board Supporing 'current' and 'legacy' branches for MCIMX7SABRE board current branch: u-boot: imx_v2020.04_5.4.70_2.3.0 kernel: imx_5.4.70_2.3.0 legacy branch: u-boot: imx_v2018.03_4.14.98_2.0.0_ga kernel: imx_4.14.98_2.0.0_ga * Update kernel config with few additional options like zram, bonding, ... just a few to keep minimum consistency over kernels. Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
50 lines
998 B
Plaintext
50 lines
998 B
Plaintext
BOOTSOURCE='https://source.codeaurora.org/external/imx/uboot-imx'
|
|
BOOTDIR='u-boot-sabre'
|
|
BOOTCONFIG="mx7dsabresd_defconfig"
|
|
#BOOTSCRIPT='boot-imx7d.cmd:boot.cmd'
|
|
BOOTENV_FILE='imx7d.txt'
|
|
ARCH=armhf
|
|
UBOOT_TARGET_MAP=";;u-boot-dtb.imx"
|
|
|
|
case $BRANCH in
|
|
|
|
legacy)
|
|
|
|
KERNELSOURCE='https://source.codeaurora.org/external/imx/linux-imx'
|
|
KERNELBRANCH='branch:imx_4.14.98_2.0.0_ga'
|
|
KERNELDIR='linux-imx7'
|
|
BOOTBRANCH='branch:imx_v2018.03_4.14.98_2.0.0_ga'
|
|
BOOTPATCHDIR="u-boot-imx7d-legacy"
|
|
;;
|
|
current|default)
|
|
KERNELSOURCE='https://source.codeaurora.org/external/imx/linux-imx'
|
|
KERNELBRANCH='branch:imx_5.4.70_2.3.0'
|
|
KERNELDIR='linux-imx7-current'
|
|
BOOTBRANCH='branch:imx_v2020.04_5.4.70_2.3.0'
|
|
BOOTPATCHDIR="u-boot-imx7d-current"
|
|
;;
|
|
|
|
esac
|
|
|
|
CPUMIN=396000
|
|
CPUMAX=996000
|
|
GOVERNOR=interactive
|
|
|
|
SERIALCON=ttymxc0
|
|
|
|
|
|
write_uboot_platform()
|
|
{
|
|
dd if=$1/u-boot-dtb.imx of=$2 bs=1K seek=1 status=noxfer conv=fsync > /dev/null 2>&1
|
|
}
|
|
|
|
family_tweaks()
|
|
{
|
|
:
|
|
}
|
|
|
|
family_tweaks_bsp()
|
|
{
|
|
:
|
|
}
|