I'm trying to port the newer F2 revision of the ZyXEL XGS1210-12. The first revision had u-boot with LZMA support, so I copied the recipe to start. The F2 revision uses a newer u-boot though (2.0.0.5), but I wouldn't expect that to drop LZMA support? I'm seeing the error below.
U-Boot Version V2.0.0.5 (Jun 30 2023 - 15:49:50)
Board: RTL9300 CPU:800MHz LX:175MHz DDR:600MHz
DRAM: 128 MB
SPI-F: MXIC/C22018/MMIO16-1/ModeC 1x16 MB (plr_flash_info @ 83f8dddc)
Loading 65536B env. variables from offset 0xe0000
Net: Net Initialization Skipped
No ethernet found.
0
## Booting kernel from Legacy Image at 81000000 ...
Image Name: MIPS OpenWrt Linux-5.15.148
Created: 2024-02-04 7:27:50 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 5439240 Bytes = 5.2 MB
Load Address: 80100000
Entry Point: 80100000
Verifying Checksum ... OK
Uncompressing Kernel Image ... LZMA: uncompress or overwrite error 1 - must RESET board to recover
What can I do to work around this? Recipe looks like this:
define Device/zyxel_xgs1210-12-v2
SOC := rtl9302
UIMAGE_MAGIC := 0x93001210
ZYXEL_VERS := ABTY
DEVICE_VENDOR := Zyxel
DEVICE_MODEL := XGS1210-12
DEVICE_VARIANT := v2
IMAGE_SIZE := 13312k
KERNEL := kernel-bin | append-dtb | lzma | uImage lzma # Redundant?
KERNEL_INITRAMFS := \
kernel-bin | \
append-dtb | \
lzma | \
zyxel-vers | \
uImage lzma
endef
TARGET_DEVICES += zyxel_xgs1210-12-v2
Thanks