Re: Resize of ath79 / ZyXEL NBG6716 kernel partition

2021-05-23 Thread Andre Valentin via openwrt-devel
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


Resize of ath79 / ZyXEL NBG6716 kernel partition

2021-05-18 Thread Andre Valentin via openwrt-devel
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