TI中文支持网
TI专业的中文技术问题搜集分享网站

求助!!求助!!格式化W25Q64失败

使用的AM3354的SPI0读写W25Q64,mfks.ext2 /dev/mtdblock4   结果崩溃了,如下图所示

[hh@hh /]#mkfs.ext2 /dev/mtdblock4
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
1056 inodes, 4216 blocks
210 blocks (5%) reserved for the super user
First data block=1
Maximum filesystem blocks=262144
1 block groups
8192 blocks per group, 8192 fragments per group
1056 inodes per group
[   32.062193] ————[ cut here ]————
[   32.067067] kernel BUG at /home/hh/wksp/tools/a8/hc6112_rt/hc6112_rtlinux/arch/arm/include/asm/dma-mapping.h:321!
[   32.077836] Internal error: Oops – undefined instruction: 0 [#1]
[   32.084136] Modules linked in:
[   32.087350] CPU: 0    Tainted: G        W     (3.2.21 #38)
[   32.093138] PC is at omap2_mcspi_transfer+0x3bc/0x43c
[   32.098441] LR is at __spi_async+0xb4/0xc0
[   32.102739] pc : [<c0270710>]    lr : [<c026d7fc>]    psr: 20000013
[   32.102748] sp : df64fd58  ip : c0609344  fp : df64fdac
[   32.114789] r10: c0609334  r9 : df6b9c00  r8 : df64fe44
[   32.120270] r7 : e0871000  r6 : 00000000  r5 : 00001000  r4 : df64fe94
[   32.127119] r3 : 00000000  r2 : 00001000  r1 : e0000000  r0 : 000005b6

 

求大神解惑

Jian Zhou:

能否先测下在u-boot下SPI FLASH的读写呢?

赞(0)
未经允许不得转载:TI中文支持网 » 求助!!求助!!格式化W25Q64失败
分享到: 更多 (0)