Re: Resize of ath79 / ZyXEL NBG6716 kernel partition
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi! Am 23.05.21 um 11:05 schrieb Adrian Schmutzler: > Hi, > >> -Original Message- >> From: Andre Valentin [mailto:a.valen...@ddimension.net] >> Sent: Dienstag, 18. Mai 2021 20:11 >> To: OpenWrt Development List >> Subject: Resize of ath79 / ZyXEL NBG6716 kernel partition >> >> Hi! >> >> The NBG6716 has recently been disabled because of size problems with the >> kernel partition. >> I'm thinking about extending it to 8MB, shouldn't be a problem. > > Interesting. > > https://github.com/openwrt/openwrt/commit/5d8ea6d34f9f23d4dfff4ffcac8c9599d842c3a8 > > I was not aware that we are > 4 MiB for kernel already. Is there anything > special about this device (or probably ath79/nand) that causes bigger kernel? It's a bit more interesting here. ZyXELs bootloader supports uimage lzma but only with a kernel size < ~4MB uncompressed or so.. The trick now is to use a uncompressed uimage and let now do jffs2 compress the image, which the bootloader supports. That works, bit is way more unoptimized. This is the reason why we hit that limit earlier here. Kind regards, André --- End Message --- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
RE: Resize of ath79 / ZyXEL NBG6716 kernel partition
Hi, > -Original Message- > From: Andre Valentin [mailto:a.valen...@ddimension.net] > Sent: Dienstag, 18. Mai 2021 20:11 > To: OpenWrt Development List > Subject: Resize of ath79 / ZyXEL NBG6716 kernel partition > > Hi! > > The NBG6716 has recently been disabled because of size problems with the > kernel partition. > I'm thinking about extending it to 8MB, shouldn't be a problem. Interesting. https://github.com/openwrt/openwrt/commit/5d8ea6d34f9f23d4dfff4ffcac8c9599d842c3a8 I was not aware that we are > 4 MiB for kernel already. Is there anything special about this device (or probably ath79/nand) that causes bigger kernel? Best Adrian > > But I'm afraid users will brick their device when doing a sysupgrade to the > new flash layout. > First time / in upgrade case it must be installed via manufacturer webif or > via > bootloader. > > What do you propose in these cases? > > Kind regards, > > André openpgp-digital-signature.asc Description: PGP signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Resize of ath79 / ZyXEL NBG6716 kernel partition
On 20/05/21 10:18, Andre Valentin wrote: Hi! The NBG6716 has recently been disabled because of size problems with the kernel partition. I'm thinking about extending it to 8MB, shouldn't be a problem. But I'm afraid users will brick their device when doing a sysupgrade to the new flash layout. First time / in upgrade case it must be installed via manufacturer webif or via bootloader. What do you propose in these cases? Please help me solve this problem. Or should I just commit a change for the device with a hint in the commit message? Adrian has added a system to block sysupgrade and show a warning message in the commit "build: add DEVICE_COMPAT_VERSION and DEVICE_COMPAT_MESSAGE " 6867d86e085dd4a284c8ee8878839c9e77546f46 see it on Github https://github.com/openwrt/openwrt/commit/6867d86e085dd4a284c8ee8878839c9e77546f46 You can use that to give a warning to users when they try to sysupgrade. -Alberto ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: Resize of ath79 / ZyXEL NBG6716 kernel partition
Hi! >The NBG6716 has recently been disabled because of size problems with the >kernel partition. >I'm thinking about extending it to 8MB, shouldn't be a problem. > >But I'm afraid users will brick their device when doing a sysupgrade to the >new flash layout. >First time / in upgrade case it must be installed via manufacturer webif or >via bootloader. > >What do you propose in these cases? Please help me solve this problem. Or should I just commit a change for the device with a hint in the commit message? > >Kind regards, > >André OpenPGP_signature Description: OpenPGP digital signature ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Resize of ath79 / ZyXEL NBG6716 kernel partition
The sender domain has a DMARC Reject/Quarantine policy which disallows sending mailing list messages using the original "From" header. To mitigate this problem, the original message has been wrapped automatically by the mailing list software.--- Begin Message --- Hi! The NBG6716 has recently been disabled because of size problems with the kernel partition. I'm thinking about extending it to 8MB, shouldn't be a problem. But I'm afraid users will brick their device when doing a sysupgrade to the new flash layout. First time / in upgrade case it must be installed via manufacturer webif or via bootloader. What do you propose in these cases? Kind regards, André --- End Message --- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel