diff --git a/build-armbian/common-files/rootfs/etc/amlogic_model_database.conf b/build-armbian/common-files/rootfs/etc/amlogic_model_database.conf index 1cfed8a962..52f43db057 100644 --- a/build-armbian/common-files/rootfs/etc/amlogic_model_database.conf +++ b/build-armbian/common-files/rootfs/etc/amlogic_model_database.conf @@ -26,6 +26,7 @@ 107:B860H:s905x:meson-gxl-s905x-b860h.dtb:u-boot-p212.bin:NA:NA 108:TBee:s905x:meson-gxl-s905x-tbee.dtb:u-boot-p212.bin:NA:NA 109:W95:s905w:meson-gxl-s905w-p281.dtb:u-boot-s905x-s912.bin:NA:NA +110:M302A:s905x:meson-gxl-s905l3b-m302a.dtb:u-boot-s905x-s912.bin:NA:NA # Amlogic GXM Family 201:Octopus Planet:s912:meson-gxm-octopus-planet.dtb:u-boot-zyxq.bin:NA:NA diff --git a/build-armbian/common-files/rootfs/usr/sbin/armbian-install b/build-armbian/common-files/rootfs/usr/sbin/armbian-install index 2f05f012c5..bee0e014ee 100755 --- a/build-armbian/common-files/rootfs/usr/sbin/armbian-install +++ b/build-armbian/common-files/rootfs/usr/sbin/armbian-install @@ -223,9 +223,16 @@ create_partition() { BOOT="512" BLANK2="220" elif [[ "${AMLOGIC_SOC}" == "s905x" ]]; then - BLANK1="700" - BOOT="160" - BLANK2="0" + if [[ "${boxid}" -eq "110" ]];then + # Compatible with Android 4 and Android 9 firmware + BLANK1="128" + BOOT="513" + BLANK2="720" + else + BLANK1="700" + BOOT="160" + BLANK2="0" + fi elif [[ "${AMLOGIC_SOC}" == "s905l3a" && "${boxid}" -eq "304" ]]; then BLANK1="570" # e900v22c/d: The first [ 570 MiB ] is not writable. BOOT="256"