Hi,
I'm using AM3352 to communicate with external NAND Flash.
The Flash is Winbond W29N01: 1G-bit, Page-size 2112 bytes(2048+64 bytes), Block Size(128K+4K bytes). The kernel is Linux version 4.9.69.
The configuration is as below:
GPMC: the default DTS
ECC: hw hamming
File system: cramfs
Data: yaffs2
There are some errors when starting the system:
1. cramfs: Error -5 while decompressing!
2. [ 34.353198] cramfs: Error -3 while decompressing!
[ 34.358158] cramfs: c0e873a9(2309)->c2a3f000(4096)
Bus error
3. [ 7.092929] blk_update_request: I/O error, dev mtdblock9, sector 8832
[ 7.099436] Buffer I/O error on dev mtdblock9, logical block 1104, async page read
My questions are:
1. Could you please check what possible reason this issue causes?
2. Could you please provide the reference materials of GPMC communicating with NAND Flash?
Thanks.
Kevin Xiong