partition@1d0000 {
compatible = "denx,fit";
label = "firmware";
- reg = <0x1d0000 0xf10000>;
- };
-
- partition@10e0000 {
- label = "kernel1";
- reg = <0x10e0000 0xf10000>;
+ reg = <0x1d0000 0x1e20000>;
+ /* merge of kernel0 and kernel1, both 0xf10000 in size,
+ * kernel1 starting at 0x10e0000 */
};
};
};
TARGET_DEVICES += ubnt_edgerouter-x-sfp
define Device/ubnt_unifi-6-lite
- $(Device/dsa-migration)
+ DEVICE_COMPAT_VERSION := 2.0
+ DEVICE_COMPAT_MESSAGE := \
+ Dual kernel paritition merged due to size constraints. \
+ Use sysupgrade -F; image must not exceed 15424KiB (~15MiB).
DEVICE_VENDOR := Ubiquiti
DEVICE_MODEL := UniFi U6 Lite
DEVICE_DTS_CONFIG := config@1
DEVICE_DTS_LOADADDR := 0x87000000
DEVICE_PACKAGES += kmod-mt7603 kmod-mt7915-firmware -uboot-envtools
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
- IMAGE_SIZE := 15424k
+ IMAGE_SIZE := 30848k
endef
TARGET_DEVICES += ubnt_unifi-6-lite