OK, finally built the u-boot-fw-utils and run it on iMX6ULL: # fw_printenv -v Compiled with U-Boot 2019.07-dirty
But it could not run: # fw_printenv Cannot read bad block mark: Invalid argument Here is the configure file: # cat /etc/fw_env.config # NAND /dev/mtd1 0x400000 0x100000 0x20000 8 I think values in configure file are correct: # cat /proc/mtd dev: size erasesize name mtd0: 00400000 00020000 "boot" mtd1: 00100000 00020000 "ubootenv" mtd2: 0fb00000 00020000 "storage" => nand info Device 0: nand0, sector size 128 KiB Page size 2048 b OOB size 64 b Erase size 131072 b subpagesize 2048 b options 0x40004200 bbt options 0x00000000 Any advice what I could be missing? Thank you. Kind regards, - jh On 5/1/20, JH via lists.yoctoproject.org <jupiter.hce=gmail....@lists.yoctoproject.org> wrote: > On 4/30/20, Nicolas Jeker <n.je...@delisys.ch> wrote: > >> on Zeus it's very likely _not_ libubootenv that you need, you should >> try to install u-boot-fw-utils. As Yann wrote, the tools are in >> libubootenv since Dunfell, which is newer than Zeus. > > Thanks Nicolas, I have following error, what I could be missing here? > > ERROR: Task > (/build/oe-core/meta/recipes-bsp/u-boot/u-boot-fw-utils_2019.07.bb:do_compile) > failed with exit code '137' > > > > -- > "A man can fail many times, but he isn't a failure until he begins to > blame somebody else." > -- John Burroughs > -- "A man can fail many times, but he isn't a failure until he begins to blame somebody else." -- John Burroughs