Re: u-boot saveenv corrupted other MTD parttions

2020-02-18 Thread Andy Pont
JH wrote... gpmi-nand:1m(boot),1m(ubootenv),-(storage) The saveenv does not take any parameters, how did it work to write to the NAND 1m(ubootenv)? => saveenv Saving Environment to NAND... Erasing NAND... Erasing at 0x5e -- 100% complete. Writing to NAND... OK It looks like that saveen

u-boot saveenv corrupted other MTD parttions

2020-02-17 Thread JH
Hi, I have three MTD partitions, the mtd2 storage installed UBIFS volumes, first is dtb volume, second is kernel volume, third is rootfs volume. The saveenv was configured to save environment variables to NAND ubootenv. gpmi-nand:1m(boot),1m(ubootenv),-(storage) There was no issue to run NAND bo