# # SPDX-License-Identifier: GPL-2.0 # # Copyright (c) 2013-2024 Igor Pecovnik, igor@armbian.com # # This file is a part of the Armbian Build Framework # https://github.com/armbian/build/ # # shellcheck source=config/sources/families/include/sunxi64_common.inc source "${BASH_SOURCE%/*}/include/sunxi64_common.inc" [[ -z $CPUMIN ]] && CPUMIN=480000 [[ -z $CPUMAX ]] && CPUMAX=1512000 GOVERNOR=ondemand case $BRANCH in current | edge) declare -g BOOTSOURCE='https://source.denx.de/u-boot/u-boot.git' declare -g BOOTBRANCH="${BOOTBRANCH_BOARD}" declare -g ATFSOURCE='https://github.com/ARM-software/arm-trusted-firmware' declare -g ATFBRANCH='tag:v2.12.0' declare -g ATF_PLAT="sun50i_h616" declare -g ATF_TARGET_MAP='PLAT=sun50i_h616 DEBUG=1 bl31;;build/sun50i_h616/debug/bl31.bin' declare -g BOOTSCRIPT='boot-sun50i-next.cmd:boot.cmd' ;; esac # This build requires busybox (and dos2unix) function add_host_dependencies__sun50iw9_add_busybox_hostdep() { display_alert "Adding busybox dep" "for ${BOARD} bootloader compile" "debug" declare -g EXTRA_BUILD_DEPS="${EXTRA_BUILD_DEPS} busybox" } function family_tweaks_s() { if [[ -f $SDCARD/lib/systemd/system/hdmi-audio.service ]]; then chroot $SDCARD /bin/bash -c "systemctl --no-reload enable hdmi-audio.service >/dev/null 2>&1" fi }