fw_printenv does not work on U-boot 2022.01 and newer

Environment: Turris Omnia, burstlab + installed new version of U-boot by using turris-nor-update -d

Actual behavior:

== U-Boot version ==
U-Boot SPL 2022.01 (Jan 27 2022 - 00:24:34 +0000)
U-Boot 2022.01 (Jan 27 2022 - 00:24:34 +0000)
== U-Boot environment ==
Read error on /dev/mtd0: Attempted to read 65536 bytes but got 0
== Rescue image version (this can be missing for even pretty new rescue versions) ==
lzcat: /dev/mtd1: Compressed data is corrupt
************** firmware

Expected behavior:

  • U-boot env is printed.
  • Rescue image version is printed

Related: packages!878 (merged)

Edited by Josef Schlehofer