apm821xx: WNDAP620 + WNDAP660: reorganize partitions for 5.10
authorChristian Lamparter <chunkeey@gmail.com>
Sat, 2 Oct 2021 22:19:58 +0000 (00:19 +0200)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Oct 2021 14:44:15 +0000 (16:44 +0200)
commit7a6a3494450c4e3a41dd8cc8f3cadb525d5e966b
tree41467e4da2c5c7c83e78307a65db238cf35f6b04
parent4ee9b3f462166f179f18e10b7b2e6f655473bb05
apm821xx: WNDAP620 + WNDAP660: reorganize partitions for 5.10

Due to 5.10 increased kernel size, the current 4MiB-ish kernel
partition got too small. Luckily, netgear's uboot environment
is setup to read 0x60000 bytes from the kernel partition location.

... While at it: also do some cleanups in the DTS in there.

The original (re-)installation described in
commit d82d84694e60 ("apm821xx: add support for the Netgear WNDAP620 and WNDAP660")
seemed to be still working for now. What I noticed though
is that the bigger initramfs images needed to use a different
destination address (1000000) to prevent it overwriting
itself during decompression. i.e:
 # tftp 1000000 openwrt-...-wndap620-initramfs-kernel.bin
 # bootm

However, in case of the WNDAP620+660 the factory.img image can be
written directly to the flash through uboot.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/apm821xx/dts/netgear-wndap6x0.dtsi
target/linux/apm821xx/image/nand.mk