# # 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/ # source "${BASH_SOURCE%/*}/include/rockchip64_common.inc" # Disable uboot compilation; this board boots from HK stuff in SPI first. # We apply a bootscript, and use GPT partitions, so HK-stuff-in-SPI loads our boot.scr. unset BOOTSOURCE BOOTCONFIG="none" # This is patched on top of HK's defconfig, disabling SPI-NOR MTD, so we can boot from SD/eMMC directly BOOTSCRIPT='boot-rockchip64-vendor.cmd:boot.cmd' # Use ramaddr_r for loading fdt and armbianEnv; more flexible with overlays LINUXFAMILY="rk3568-odroid" # a separate family for this (separate kernel deb) LINUXCONFIG='linux-rk3568-odroid-'$BRANCH WIREGUARD="no" SKIP_BOOTSPLASH="yes" case $BRANCH in edge) export KERNEL_MAJOR_MINOR="6.2" # Major and minor versions of this kernel (for armbian-next) KERNELBRANCH='branch:linux-6.2.y' KERNELPATCHDIR='archive/odroidm1-6.2' # Empty! Look ma, pure mainline! ;; esac prepare_boot_configuration