Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add mbh-m302a (s905l3b/s905l3) dtb #615

Merged
merged 1 commit into from
Oct 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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