07-28-2017 11:07 AM
Hello All !
I'm wondering if anyone else is seeing problems with NAND & UBIFS on the ZynqMP+ platform. I try real basic commands which works well on our other (iMX) platform.
ubiformat /dev/mtd1 -y
ubiattach -p /dev/mtd1
ubimkvol /dev/ubi0 -N config_data -s 64MiB
mount -t ubifs /dev/ubi0_0 /mnt/
Everything looks good except for the mounting which dies with
[ 1837.858127] ubifs_scan_a_node: UBIFS DBG scan (pid 1866): scanning master node at LEB 1:0
[ 1837.866269] get_master_node: UBIFS DBG rcvry (pid 1866): found a master node at 1:0
[ 1837.873903] get_master_node: UBIFS DBG rcvry (pid 1866): found corruption at 1:2048
[ 1837.881565] UBIFS error (ubi0:0 pid 1866): ubifs_recover_master_node: failed to recover master node
[ 1837.890649] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" stops
[ 1837.897086] ubi_close_volume: UBI DBG gen (pid 1866): close device 0, volume 0, mode 2
[ 1837.904980] ubi_close_volume: UBI DBG gen (pid 1866): close device 0, volume 0, mode 1
mount: mounting /dev/ubi0_0 on /mnt/ failed: Invalid argument
nandtest looks ok
root@plnx_aarch64:~# nandtest /dev/mtd1
ECC corrections: 2483456
ECC failures : 0
Bad blocks : 0
BBT blocks : 0
061c0000: reading (4 of 4)...
256 bit(s) ECC corrected at 061c0000
07fe0000: checking...of 4)...
Finished pass 1 successfully
We are using a DDR / NAND combo device from Micron - MT29UZ4B8DZZHGPB
Any thoughts on what this could be ?
Thanks in advance,
07-28-2017 03:52 PM
Arasan NAND controller needed updating. Using these works
05-22-2018 11:08 AM
Hi Zumeng !
You cant. It needs to be the driver for your flash device. You might want to try disabling DMA in the Flash controller, if possible. That tends to create problems