ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.82k stars 1.87k forks source link

Difference between s905x3 and s905x3-b images? #1303

Closed danboid closed 1 year ago

danboid commented 1 year ago

Hi @ophub !

I have noticed that the latest Armbian images see to have 2 sets of images for s905x3 boxes now.

I have checked the latest README but it doesn't seem to explain the difference. For example, what is the difference between:

Armbian_23.05.0_amlogic_s905x3_bullseye_5.15.107_server_2023.04.17.img.gz

and

Armbian_23.05.0_amlogic_s905x3-b_bullseye_5.15.107_server_2023.04.17.img.gz

Thanks!

Dan

ophub commented 1 year ago

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/armbian-files/common-files/etc/model_database.conf

danboid commented 1 year ago

Yes I looked on that page. Is this the line that explains it

When [ -b all ], it will look for [ value is yes ]

What does that mean?

ophub commented 1 year ago

https://github.com/ophub/amlogic-s9xxx-armbian/tree/main/build-armbian/documents

look at 5.3

danboid commented 1 year ago

Hi @ophub

I have read 5.3 but unfortuately it doesn't make sense. I realise English isn't your first language.

I THINK what 5.3 might be saying is that -b is only a build option, and that -b is used to select the bulding of optional boards? Thats my best guess, but if thats what it is, it makes no sense that there should be separate images like s905x3-b.

I had a quick look at the two images I mentioned above and I could see they were using different dtbs but I didn't recognise the model of the dtb used in the s905x3-b image.

ophub commented 1 year ago

https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build-armbian/armbian-files/common-files/etc/model_database.conf

# 1.ID  2.MODEL  3.SOC  4.FDTFILE  5.UBOOT_OVERLOAD  6.MAINLINE_UBOOT  7.BOOTLOADER_IMG  8.DESCRIPTION
# 9.KERNEL_TAGS  10.PLATFORM  11.FAMILY  12.BOOT_CONF  13.BOARD  14.BUILD

# When [ -b all             ], it will look for [ <BUILD> value is yes ]
# When [ -b board-a_board-b ], it will look for [ first row ] with [ same <BOARD> value ], ignore <BUILD> setting.

Each row is an independent configuration, and the generated firmware is suitable for the corresponding device, one or more (2.MODEL)