1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-09-24 05:10:53 +02:00
openwrt/target
Szabolcs Hubai 81d694e30b ipq40xx: use zImage for GL.iNet GL-B1300, GL-S1300 to shrink below 4096k
In the "ipq40xx: switch to Kernel 5.10" discussion at GitHub,
Adrian noted [0] that these GL.iNet Conexa series devices,
GL-B1300 and GL-S1300 failed their image generation [1] as their gzipped
uImage kernel went above 4096k.

While notifying the vendor about this problem [2], I tested all U-Boot
releases from GL.iNet:
- they really fail to boot kernel above 4096k
- they don't support lzma: "Unimplemented compression type 3"
- but they boot zImage

Using zImage (xz compression) the kernel is 2909k which is
more than a megabyte away from the KERNEL_SIZE := 4096k limit.

The gzip compressed version would be 4116k.

[0]: https://github.com/openwrt/openwrt/pull/4620#issuecomment-932765776
[1]: commit 7b1fa276f5 ("ipq40xx: add testing support for kernel 5.10")
[2]: https://forum.gl-inet.com/t/ipq40xx-kernel-size-and-u-boot-v5-10-is-too-big-for-4-mb/17619

Signed-off-by: Szabolcs Hubai <szab.hu@gmail.com>
2021-10-10 16:47:41 +02:00
..
imagebuilder imagebuilder: show architecture in make info output 2021-09-23 21:37:19 -10:00
linux ipq40xx: use zImage for GL.iNet GL-B1300, GL-S1300 to shrink below 4096k 2021-10-10 16:47:41 +02:00
sdk
toolchain config: pack toolchain per default on buildbots 2021-10-08 15:06:44 -10:00
Config.in base-files: rename 'sdcard' to 'legacy-sdcard' 2021-08-16 12:22:17 +01:00
Makefile