Hi, > From: Lukasz Majewski <lu...@denx.de> > Sent: mardi 17 septembre 2019 12:36 > > Hi Patrick, > > > Add DFU backend for MTD device: allow to read and write on any MTD > > device (RAW or SPI) > > > > For example : > > > set dfu_alt_info "nand_raw raw 0x0 0x100000" > > > dfu 0 mtd nand0 > > > > This MTD backend provides the same level than dfu nand > ^^^^^ - shouldn't there be > "functionality" or such? > > > backend for NAND in RAW mode and sf backend for NOR; So it can replace > > booth of them but it can also add support of spi-nand. > > If I understood correctly - it allows reading "raw" data from MTD device - > NAND, > SPI-NOR and SPI-NAND?
Yes, "all MTD devices" : NAND, SPI-NOR, SPI-NAND My message wasn't clear except if you know the driver organization, I update it in V2 drivers/mtd/raw drivers/mtd/nand drivers/mtd/spi and potentially also ONENAND als o (not tested) with drivers/mtd/onenand > > > > > set dfu_alt_info "nand_raw raw 0x0 0x100000" > > > dfu 0 mtd spi-nand0 > > > > The backend code is based on the MTD command introduced by commit > > 5db66b3aee6f ("cmd: mtd: > > add 'mtd' command") > > > > Signed-off-by: Patrick Delaunay <patrick.delau...@st.com> > > --- > > > > Best regards, > > Lukasz Majewski > > -- > Beast regards Patrick _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot