armbian-build/config/sources/families/meson-sm1.conf
lanefu 8c09e1fa93
khadas support (#2903)
* cleanup add vim3l

* Add Khadas edge config

* Add Khadas edge sources definitions. It boots

* Change configuration to maximised model

* Adjust build configs

* witch to case statement for meson x11 config

* push vim1 naming

* Booting VIM2 with khadas prebuild u-boot

Can load from an empty eMMC, can be installed to eMMC via nand-sata-install

* Add Vim1 and move 1 and 2 to supported. VIM1 is not tested yet.

* Enable full featured desktop with 3D for khadas vim 1 and vim2

* Update meson64_common.inc

Co-authored-by: Igor Pecovnik <igor.pecovnik@gmail.com>
2021-07-05 21:05:43 +02:00

26 lines
592 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()
{
if [[ $BOARD == odroid-c4 ]]; then
uboot_g12_postprocess $SRC/cache/sources/amlogic-boot-fip/odroid-c4 g12a
fi
if [[ $BOARD == odroid-hc4 ]]; then
uboot_g12_postprocess $SRC/cache/sources/amlogic-boot-fip/odroid-hc4 g12a
fi
if [[ $BOARD == khadas-vim3l ]]; then
uboot_g12_postprocess $SRC/cache/sources/amlogic-boot-fip/khadas-vim3l g12a
fi
}