mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
* Add / modify (c) in bash scripts Signed-off-by: Igor <igor@armbian.com> * Add (c) to the source config files --------- Signed-off-by: Igor <igor@armbian.com>
56 lines
1.3 KiB
Plaintext
56 lines
1.3 KiB
Plaintext
#
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Copyright (c) 2013-2023 Igor Pecovnik, igor@armbian.com
|
|
#
|
|
# This file is a part of the Armbian Build Framework
|
|
# https://github.com/armbian/build/
|
|
#
|
|
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'
|
|
export KERNEL_MAJOR_MINOR="4.14" # Major and minor versions of this kernel.
|
|
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="legacy"
|
|
;;
|
|
current)
|
|
KERNELSOURCE='https://source.codeaurora.org/external/imx/linux-imx'
|
|
export KERNEL_MAJOR_MINOR="5.4" # Major and minor versions of this kernel.
|
|
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="v2020.04"
|
|
;;
|
|
|
|
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() {
|
|
:
|
|
}
|