From: Quanyang Wang <quanyang.w...@windriver.com> Hi all,
This patch fixes an issue which occurrs in ubifs testcase. The steps to reproduce it is as below: root@xilinx-zynq:~# ubiformat /dev/mtd3 -y ubiformat: mtd3 (nor), size 6160384 bytes (5.8 MiB), 47 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 1 bytes libscan: scanning eraseblock 46 -- 100 % complete ubiformat: warning!: 47 of 47 eraseblocks contain non-UBI data ubiformat: warning!: only 0 of 47 eraseblocks have valid erase counter ubiformat: erase counter 0 will be used for all eraseblocks ubiformat: note, arbitrary erase counter value may be specified using -e option ubiformat: use erase counter 0 for all eraseblocks ubiformat: formatting eraseblock 46 -- 100 % complete root@xilinx-zynq:~# ubiattach /dev/ubi_ctrl -m 3 ubi0: attaching mtd3 ubi0: scanning is finished ubi0 error: vtbl_check: bad CRC at record 0: 0x25c3c543, not 0x000000 Volume table record 0 dump: reserved_pebs 0 alignment 0 data_pad 0 vol_type 0 upd_marker 0 name_len 0 name NULL ubi0 error: vtbl_check: bad CRC at record 0: 0x25c3c543, not 0x000000 Volume table record 0 dump: reserved_pebs 0 alignment 0 data_pad 0 vol_type 0 upd_marker 0 name_len 0 name NULL ubi0 error: ubi_read_volume_table: both volume tables are corrupted ubi0 error: ubi_attach_mtd_dev: failed to attach mtd3, error -22 ubiattach: error!: cannot attach mtd3 error 22 (Invalid argument) Would you please help review and merge these patches to linux-yocto-dev standard/xlnx-soc branch? Thanks, Quanyang *** BLURB HERE *** Quanyang Wang (1): mtd: spi-nor: update ptr pointer after spi_nor_read_data drivers/mtd/spi-nor/spi-nor.c | 2 ++ 1 file changed, 2 insertions(+) -- 2.17.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8256): https://lists.yoctoproject.org/g/linux-yocto/message/8256 Mute This Topic: https://lists.yoctoproject.org/mt/69268740/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-