mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-13 06:48:43 +04:00
Correct the U-Boot env geometry from "0x80000" "1" to "0x1f000" "5". The correct LEB size for 128k PEB / 2k page is 0x1f000, and the 0x80000 volume spans 5 LEBs. This also hardens jiorouter_initial_setup by adding proper error handling and dynamic UBI device/volume lookups, and generates /etc/fw_env.config to be consistent. Signed-off-by: Sheikh Faisal <sheikhfaisal713@gmail.com> Link: https://github.com/openwrt/openwrt/pull/23510 Signed-off-by: Jonas Jelonek <jonas@jonasjelonek.de>