ath79: combine UniFi AC dual firmware-partitions

In order to maximize the available space on UniFi AC boards using a
dual-image partition layout, combine the two OS partitions into a single
partition.

This allows users to access more usable space for additional packages.

Don't limit the usable image size to the size of a single OS partition.
The initial installation has to be done with an older version of OpenWrt
in case the generated image exceeds the space of a single kernel
partition in the future.

Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
David Bauer 2022-11-17 22:53:33 +01:00
parent 8036fb8dd0
commit e4a76673ff
2 changed files with 3 additions and 8 deletions

View File

@ -69,17 +69,12 @@
};
partition@70000 {
/* Combine kernel0 & kernel1 */
label = "firmware";
reg = <0x070000 0x790000>;
reg = <0x070000 0xf20000>;
compatible = "denx,uimage";
};
partition@800000 {
label = "kernel1";
reg = <0x800000 0x790000>;
read-only;
};
partition@f90000 {
label = "bs";
reg = <0xf90000 0x020000>;

View File

@ -229,7 +229,7 @@ TARGET_DEVICES += ubnt_unifi-ap-lr
define Device/ubnt_unifiac
DEVICE_VENDOR := Ubiquiti
SOC := qca9563
IMAGE_SIZE := 7744k
IMAGE_SIZE := 15488k
DEVICE_PACKAGES := kmod-ath10k-ct ath10k-firmware-qca988x-ct
endef