Proposal to create a Community Supported config for Amlogic based TV Boxes (#4296)

* Proposal to create a Community Supported config for Amlogic based
TV Boxes to pickup the work that was done previously by balbes150
but is no longer supported by him.
This also provides a place where development can occure within the
Armbian framework since others on the internet are producing builds
called Armbian that are not done from within the Armbian community.

 Changes to be committed:
	new file:   config/boards/aml-s9xx-box.tvb
	modified:   config/sources/families/include/meson64_common.inc
	modified:   config/sources/families/meson-gxl.conf
	new file:   packages/bsp/aml-s9xx-box/boot/aml_autoscript
	new file:   packages/bsp/aml-s9xx-box/boot/emmc_autoscript
	new file:   packages/bsp/aml-s9xx-box/boot/extlinux/extlinux.conf
	new file:   packages/bsp/aml-s9xx-box/boot/s905_autoscript
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-readme.txt
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-s905
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-s905x-s912
	new file:   packages/bsp/aml-s9xx-box/boot/u-boot-s905x2-s922
	new file:   packages/bsp/aml-s9xx-box/root/fstab.template
	new file:   packages/bsp/aml-s9xx-box/root/install-aml-s905-emmc.sh
	new file:   packages/bsp/aml-s9xx-box/root/install-aml.sh

* Merge sources

Co-authored-by: Igor <igor@armbian.com>
This commit is contained in:
SteeManMI
2022-11-06 14:33:24 -05:00
committed by GitHub
parent 3e701a857a
commit 8dcab2be64
14 changed files with 431 additions and 2 deletions

View File

@@ -21,7 +21,12 @@ if [[ $BOARD = khadas-vim2 ]]; then
fi
family_tweaks() {
:
if [[ $BOARD = aml-s9xx-box ]]; then
cp -r $SRC/packages/bsp/aml-s9xx-box/boot $SDCARD
install -m 755 $SRC/packages/bsp/aml-s9xx-box/root/install-aml.sh $SDCARD/root
install -m 755 $SRC/packages/bsp/aml-s9xx-box/root/install-aml-s905-emmc.sh $SDCARD/root
install -m 644 $SRC/packages/bsp/aml-s9xx-box/root/fstab.template $SDCARD/root
fi
}
uboot_custom_postprocess() {
@@ -29,6 +34,10 @@ uboot_custom_postprocess() {
uboot_gxl_postprocess $SRC/cache/sources/odroidc2-blobs/ gxl
fi
if [[ $BOARD == aml-s9xx-box ]]; 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