armbian-build/config/sources/sun50iw2.conf
zador-blood-stained bfa7134e12 Add overlay prefixes to sunxi boot script
Add overlay "fixup" scripts support
Rework sunxi boot script to use "prefix" env variable
2017-03-09 00:13:25 +03:00

22 lines
461 B
Plaintext

source "${BASH_SOURCE%/*}/sunxi64_common.inc"
OVERLAY_PREFIX='sun50i-h5'
BOOTENV_FILE='sun50iw2-next.txt'
[[ -z $CPUMIN ]] && CPUMIN=480000
[[ -z $CPUMAX ]] && CPUMAX=1010000
GOVERNOR=ondemand
write_uboot_platform()
{
dd if=$1/u-boot-sunxi-with-spl.bin of=$2 bs=1k seek=8 conv=fsync > /dev/null 2>&1
}
family_tweaks()
{
mkdir -p $CACHEDIR/$SDCARD/var/lib/alsa/
cp $SRC/lib/config/asound.state.sun50iw2-dev $CACHEDIR/$SDCARD/var/lib/alsa/asound.state
}