From: Shiji Yang
>From the Netgear u-boot GPL code[1]. Bootloader always unconditionally
marks block 768, 1020 - 1023 as bad blocks on each boot. This may lead
to conflicts with the OpenWrt nand driver since these blocks may be good
blocks. In this case, U-boot will override the oob of these bloc
From: Shiji Yang
In Netgear u-boot GPL code, nand devices uses this formula to locate the
rootfs offset.
offset = (((128 + KERNEL_SIZE) / BLOCK_SIZE) + 1) * BLOCK_SIZE;
Howerver, WNDR4500 source code incorrectly define the nand block size to
64k. In some cases, it causes u-boot can't get the co
From: Shiji Yang
These two patches fix the boot failure issue on Netgear WNDR4300 v2
and WNDR4500 v3:
[1] 23.05-rc bricks WNDR4300v2
link: https://github.com/openwrt/openwrt/issues/13050
[2] ath79: NETGEAR WNDR4300v2 Bricked on Power Cycle After Flash
link: https://github.com/openwrt/openwrt/iss
Some modems, depending on their state and connection quality can take
longer than 15 seconds to answer mbim message requests.
This commit adds the -T option, allowing the user to specifiy a custom
message timeout in seconds.
Default is still 15.
Signed-off-by: Daniel Danzberger
---
cli.c