armbian-build/config/sources/families/include/meson_common.inc
Igor Pečovnik 0cdffb29b0
Renaming DEV branch to EDGE (#2704)
* Change DEV to EDGE
* Renaming patches dev folder to edge
* Move patches into subdir where they will be archived.
* Relink patch directories properly
2021-03-24 19:01:53 +01:00

55 lines
1.1 KiB
PHP

ARCH=armhf
BOOTSOURCE='https://github.com/hardkernel/u-boot.git'
BOOTBRANCH='branch:odroidc-v2011.03'
BOOTDIR='u-boot-odroidc1'
UBOOT_COMPILER="arm-linux-gnueabihf-"
UBOOT_USE_GCC='< 4.9'
BOOTSCRIPT="boot-odroid-c1.ini:boot.ini"
SERIALCON="ttyAML0"
UBOOT_TARGET_MAP=';;sd_fuse/bl1.bin.hardkernel sd_fuse/u-boot.bin'
SRC_LOADADDR='LOADADDR=0x00208000'
KERNEL_IMAGE_TYPE=uImage
LINUXFAMILY=meson
CPUMIN=504000
CPUMAX=1632000
GOVERNOR=ondemand
case $BRANCH in
legacy)
KERNELBRANCH="branch:linux-5.4.y"
KERNELPATCHDIR='meson-'$BRANCH
;;
current)
KERNELBRANCH="branch:linux-5.10.y"
KERNELPATCHDIR='meson-current'
;;
edge)
KERNELBRANCH="branch:linux-5.11.y"
KERNELPATCHDIR='meson-current'
;;
esac
write_uboot_platform()
{
dd if=$1/bl1.bin.hardkernel of=$2 bs=1 count=442 conv=fsync > /dev/null 2>&1
dd if=$1/bl1.bin.hardkernel of=$2 bs=512 skip=1 seek=1 conv=fsync > /dev/null 2>&1
dd if=$1/u-boot.bin of=$2 bs=512 seek=64 conv=fsync > /dev/null 2>&1
dd if=/dev/zero of=$2 seek=1024 count=32 bs=512 conv=fsync > /dev/null 2>&1
}
family_tweaks()
{
:
}
family_tweaks_bsp()
{
:
}