Skip to content

Commit

Permalink
Merge pull request #615 from janko888/main
Browse files Browse the repository at this point in the history
add mbh-m302a (s905l3b/s905l3) dtb
  • Loading branch information
ophub committed Oct 10, 2022
2 parents c37fb1d + f233f34 commit aa86e71
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
13 changes: 10 additions & 3 deletions build-armbian/common-files/rootfs/usr/sbin/armbian-install
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit aa86e71

Please sign in to comment.