- We really want the u-boot.bin.sd.bin for HC4 - During VIM3L-adding commit, "odroid*c4" was replaced with "odroid-c4" and "odroid-hc4" - Which is cool but it's actually "odroidc4" and "odroidhc4" - Add a warning to save future time if no FIP tree decided by SM1 family Signed-off-by: Ricardo Pardini <ricardo@pardini.net>
26 lines
756 B
Plaintext
26 lines
756 B
Plaintext
source "${BASH_SOURCE%/*}/include/meson64_common.inc"
|
|
ASOUND_STATE="asound.state.meson64"
|
|
CPUMIN=667000
|
|
CPUMAX=2100000
|
|
GOVERNOR=ondemand
|
|
|
|
[[ ${BRANCH} == legacy ]] && SERIALCON=ttyS0
|
|
|
|
family_tweaks()
|
|
{
|
|
:
|
|
}
|
|
|
|
uboot_custom_postprocess() {
|
|
# FIP trees for C4 and HC4 are identical as of 30/06/2021
|
|
if [[ $BOARD == odroidc4 ]]; then
|
|
uboot_g12_postprocess $SRC/cache/sources/amlogic-boot-fip/odroid-c4 g12a
|
|
elif [[ $BOARD == odroidhc4 ]]; then
|
|
uboot_g12_postprocess $SRC/cache/sources/amlogic-boot-fip/odroid-hc4 g12a
|
|
elif [[ $BOARD == khadas-vim3l ]]; then
|
|
uboot_g12_postprocess $SRC/cache/sources/amlogic-boot-fip/khadas-vim3l g12a
|
|
else
|
|
display_alert "uboot_custom_postprocess meson-sm1" "Unknown BOARD: $BOARD - not using FIP trees" "wrn"
|
|
fi
|
|
}
|