[U-Boot 2019.07 | uboot-envtools] mtd space layout mismatch

with the previous u-boot version the mtd layout is defined (O CZ11NIC13)

offset '0xC0000' envsize '0x10000' secsize '0x40000

which though does not seem to tally with the mtd layout defined in v 2019.07.

Subsequent uboot-envtools are unusable (removes the convenience to manipulate the fw_env through cli ssh), fw_printenv prints (as expected)

Warning: Bad CRC, using default environment

When being ignorant of that hint and leveraging fw_setenv it will write to the wrong mtd address space, worst case overwriting crucial data.

Therefore it would make sense to update

  • /etc/config/ubootenv
  • /etc/fw_env.config

with any u-boot update that changes the mtd space layout.


That said could development please provide the correct mtd layout tallying uboot-envtools with U-Boot 2019.07?

Edited by Ghost User