[PATCH] uboot-envtools: Fix format of autogenerated sectors

Philippe Mathieu-Daudé philmd at fungible.com
Thu Oct 6 04:35:08 PDT 2022


On 29/9/22 12:10, Sven Eckelmann wrote:
> The sector number must be stored in hex. Otherwise, the number (like 16)
> will be parsed as hex and any write to the partition will end up with an
> error like:
> 
>    MTD erase error on /dev/mtd5: Invalid argument
> 
> Fixes: 9adfeccd8415 ("uboot-envtools: Add support for IPQ806x AP148 and DB149")
> Fixes: 54b275c8ed3a ("ipq40xx: add target")
> Signed-off-by: Sven Eckelmann <sven at narfation.org>
> ---
>   package/boot/uboot-envtools/files/ipq40xx | 1 +
>   package/boot/uboot-envtools/files/ipq806x | 1 +
>   2 files changed, 2 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd at fungible.com>



More information about the openwrt-devel mailing list