* 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>
42 lines
1.0 KiB
Plaintext
42 lines
1.0 KiB
Plaintext
source "${BASH_SOURCE%/*}/include/meson64_common.inc"
|
|
|
|
if [[ $BOARD == lafrite ]]; then
|
|
|
|
UBOOT_TARGET_MAP="u-boot-dtb.img;;u-boot.bin:u-boot.bin u-boot-dtb.img"
|
|
|
|
fi
|
|
|
|
if [[ $BOARD = khadas-vim1 ]]; then
|
|
|
|
# temporally workaround - using prebuild u-boot from https://github.com/khadas/khadas-uboot/releases/tag/0.11
|
|
UBOOT_TARGET_MAP=";;$SRC/packages/blobs/meson/u-boot-vim1-sd.bin:u-boot.bin"
|
|
|
|
fi
|
|
|
|
if [[ $BOARD = khadas-vim2 ]]; then
|
|
|
|
# temporally workaround - using prebuild u-boot from https://github.com/khadas/khadas-uboot/releases/tag/0.11
|
|
UBOOT_TARGET_MAP=";;$SRC/packages/blobs/meson/u-boot-vim2-sd.bin:u-boot.bin"
|
|
|
|
fi
|
|
|
|
family_tweaks()
|
|
{
|
|
:
|
|
}
|
|
|
|
uboot_custom_postprocess()
|
|
{
|
|
if [[ $BOARD == lepotato ]]; then
|
|
uboot_gxl_postprocess $SRC/cache/sources/odroidc2-blobs/ gxl
|
|
fi
|
|
|
|
if [[ $BOARD == khadas-vim1 ]]; then
|
|
uboot_gxl_postprocess $SRC/cache/sources/odroidc2-blobs/ vim1
|
|
fi
|
|
|
|
if [[ $BOARD == khadas-vim2 ]]; then
|
|
uboot_gxl_postprocess_ng $SRC/cache/sources/amlogic-boot-fip/khadas-vim2
|
|
fi
|
|
}
|