Re: spi-nand: how to store environment with badblock handling in qspi nand

2022-06-27 Thread Kegl Rohit
On Sun, Jun 26, 2022 at 2:02 AM Daniel Golle wrote: > > On Sat, Jun 25, 2022 at 10:10:08AM +0200, Kegl Rohit wrote: > > Hello! > > > > Is it possible to store the environment inside a mtd partition when > > using a single qspi nand chip as storage? > > CONFIG_MTD_SPI_NAND=y > > > > The idea is to

Re: spi-nand: how to store environment with badblock handling in qspi nand

2022-06-25 Thread Daniel Golle
On Sat, Jun 25, 2022 at 10:10:08AM +0200, Kegl Rohit wrote: > Hello! > > Is it possible to store the environment inside a mtd partition when > using a single qspi nand chip as storage? > CONFIG_MTD_SPI_NAND=y > > The idea is to separate the NAND into two system A/B. > [...] > > CONFIG_ENV_IS_IN_

spi-nand: how to store environment with badblock handling in qspi nand

2022-06-25 Thread Kegl Rohit
Hello! Is it possible to store the environment inside a mtd partition when using a single qspi nand chip as storage? CONFIG_MTD_SPI_NAND=y The idea is to separate the NAND into two system A/B. 1.Solution: mtdparts_nand0=2m(uboot),16m(system) system will be an ubifs containing env+env_redundant