登录  
 加关注
查看详情
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

天道酬勤 玩物丧志

用勇气去改变可以改变的事情,用胸怀去包容无法改变的事情,用智慧去判断两者的区别

 
 
 

日志

 
 

DM365开机与挂载flash报块问题  

2010-09-09 08:25:15|  分类: 达芬奇DM355/365 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

       在刚把文件系统固化到flash后,重启系统,这是第一次进flash里的文件系统,从创建分区开始:

Creating 5 MTD partitions on "nand_davinci.0":
0x00000000-0x003c0000 : "bootloader"
0x003c0000-0x00400000 : "params"
0x00400000-0x00800000 : "kernel"
0x00800000-0x20800000 : "filesystem1"
0x20800000-0x40000000 : "filesystem2"
nand_davinci nand_davinci.0: hardware revision: 2.3
Pin SPI0_SDO) already used for GPIO20.
dm_spi.0: davinci SPI Controller driver at 0xc581e000 (irq = 42) use_dma=0
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
musb_hdrc: version 6.0, pio, host, debug=0
MUX: initialized GPIO33
musb_hdrc: USB Host mode controller at c5874000 using PIO, IRQ 12
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mice: PS/2 mouse device common for all mice
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50
2006 UTC).
ASoC version 0.13.1
AIC3X Audio Codec 0.2
aic3x_codec_probe ok
asoc: aic3x <-> davinci-i2s mapping ok
ALSA device list:
  #0: DaVinci DM365 EVM (aic3x)
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Time: timer0_1 clocksource has been installed.
Clock event device timer0_0 configured with caps set: 08
Switched to high resolution mode on CPU 0
usb 1-1: new full speed USB device using musb_hdrc and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.1: new full speed USB device using musb_hdrc and address 3
usb 1-1.1: not running at top speed; connect to a high speed hub
usb 1-1.1: configuration #1 chosen from 1 choice
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
      device=eth0, addr=192.168.3.150, mask=255.255.255.0, gw=255.255.255.255,
     host=192.168.3.150, domain=, nis-domain=(none),
     bootserver=192.168.3.151, rootserver=192.168.3.151, rootpath=
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
yaffs: auto selecting yaffs2
yaffs: restored from checkpoint
VFS: Mounted root (yaffs filesystem).
Freeing init memory: 200K
INIT: Entering runlevel: 3
Starting internet superserver: inetd.
Starting techshine demo
CMEMK module: built on Oct 16 2009 at 09:42:47
  Reference Linux version 2.6.18
  File /home/dm365/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutil
s/cmem/src/module/cmemk.c
ioremap_nocache(0x85000000, 50331648)=0xc6000000
allocated heap buffer 0xc6000000 of size 0x134000
cmem initialized 20 pools between 0x85000000 and 0x88000000
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x85000000)
ioremap_nocache(0x1000, 28672)=0xc5888000
no remaining memory for heap, no heap created for memory block 1
cmem initialized 1 pools between 0x1000 and 0x8000
IRQK module: built on Oct 16 2009 at 09:42:57
  Reference Linux version 2.6.18
  File /home/dm365/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutil
s/irq/src/module/irqk.c
irqk initialized
EDMAK module: built on Oct 16 2009 at 09:42:54
  Reference Linux version 2.6.18
  File /home/dm365/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutil
s/edma/src/module/edmak.c

mode "0x0-0"
        # D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
        geometry 0 0 0 0 16
        timings 0 126 0 22 0 0 0
        accel false
        rgba 0/0,0/0,0/0,0/0
endmode


mode "0x0-0"
        # D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
        geometry 0 0 0 0 16
        timings 0 126 0 22 0 0 0
        accel false
        rgba 0/0,0/0,0/0,0/0
endmode


MontaVista(R) Linux(R) Professional Edition 5.0.0 (0801921)

192.168.3.150 login:

       这是比较正常的情况,顺利的进入了系统。但是当我运行过一次Demo程序里的encode后(不一定是encode,其他应用程序也是同样情况)再次开机,也从分区开始,这里会出现大量的块问题:

Creating 5 MTD partitions on "nand_davinci.0":
0x00000000-0x003c0000 : "bootloader"
0x003c0000-0x00400000 : "params"
0x00400000-0x00800000 : "kernel"
0x00800000-0x20800000 : "filesystem1"
0x20800000-0x40000000 : "filesystem2"
nand_davinci nand_davinci.0: hardware revision: 2.3
Pin SPI0_SDO) already used for GPIO20.
dm_spi.0: davinci SPI Controller driver at 0xc581e000 (irq = 42) use_dma=0
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
musb_hdrc: version 6.0, pio, host, debug=0
MUX: initialized GPIO33
musb_hdrc: USB Host mode controller at c5874000 using PIO, IRQ 12
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
mice: PS/2 mouse device common for all mice
davinci-mmc davinci-mmc.0: Supporting 4-bit mode
davinci-mmc davinci-mmc.0: Using DMA mode
Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50
2006 UTC).
ASoC version 0.13.1
AIC3X Audio Codec 0.2
aic3x_codec_probe ok
asoc: aic3x <-> davinci-i2s mapping ok
ALSA device list:
  #0: DaVinci DM365 EVM (aic3x)
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
Time: timer0_1 clocksource has been installed.
Clock event device timer0_0 configured with caps set: 08
Switched to high resolution mode on CPU 0
usb 1-1: new full speed USB device using musb_hdrc and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.1: new full speed USB device using musb_hdrc and address 3
usb 1-1.1: not running at top speed; connect to a high speed hub
usb 1-1.1: configuration #1 chosen from 1 choice
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
      device=eth0, addr=192.168.3.150, mask=255.255.255.0, gw=255.255.255.255,
     host=192.168.3.150, domain=, nis-domain=(none),
     bootserver=192.168.3.151, rootserver=192.168.3.151, rootpath=
yaffs: dev is 32505859 name is "mtdblock3"
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
yaffs: auto selecting yaffs2
block 4060 is bad
block 4061 is bad
block 4065 is bad
block 4066 is bad
block 4067 is bad
block 4068 is bad
block 4069 is bad
block 4070 is bad
block 4071 is bad
block 4072 is bad
block 4073 is bad
block 4074 is bad
block 4075 is bad
block 4076 is bad
block 4077 is bad
block 4078 is bad
block 4079 is bad
block 4080 is bad
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
Partially written block 1296 being set for retirement
**>> Block 1296 retired
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
Partially written block 1293 being set for retirement
**>> Block 1293 retired
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
Partially written block 1291 being set for retirement
**>> Block 1291 retired
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 977 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
Partially written block 523 being set for retirement
**>> Block 523 retired
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
Partially written block 479 being set for retirement
**>> Block 479 retired
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
Partially written block 614 being set for retirement
**>> Block 614 retired
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
Partially written block 183 being set for retirement
**>> Block 183 retired
VFS: Mounted root (yaffs filesystem).
Freeing init memory: 200K
**>> Block 977 retired
INIT: Entering runlevel: 3
Starting internet superserver: inetd.
Starting techshine demo
CMEMK module: built on Oct 16 2009 at 09:42:47
  Reference Linux version 2.6.18
  File /home/dm365/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutil
s/cmem/src/module/cmemk.c
ioremap_nocache(0x85000000, 50331648)=0xc6000000
allocated heap buffer 0xc6000000 of size 0x134000
cmem initialized 20 pools between 0x85000000 and 0x88000000
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x85000000)
ioremap_nocache(0x1000, 28672)=0xc5888000
no remaining memory for heap, no heap created for memory block 1
cmem initialized 1 pools between 0x1000 and 0x8000
IRQK module: built on Oct 16 2009 at 09:42:57
  Reference Linux version 2.6.18
  File /home/dm365/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutil
s/irq/src/module/irqk.c
irqk initialized
EDMAK module: built on Oct 16 2009 at 09:42:54
  Reference Linux version 2.6.18
  File /home/dm365/dvsdk_2_10_01_18/linuxutils_2_24_02/packages/ti/sdo/linuxutil
s/edma/src/module/edmak.c

mode "0x0-0"
        # D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
        geometry 0 0 0 0 16
        timings 0 126 0 22 0 0 0
        accel false
        rgba 0/0,0/0,0/0,0/0
endmode


mode "0x0-0"
        # D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
        geometry 0 0 0 0 16
        timings 0 126 0 22 0 0 0
        accel false
        rgba 0/0,0/0,0/0,0/0
endmode


MontaVista(R) Linux(R) Professional Edition 5.0.0 (0801921)

192.168.3.150 login:

       这里出现的

block 4060 is bad

        是检测出有坏块,nandflash坏块问题,还是可以接受的。。。但是在运行encode之前为何没有报出来呢。。。

并且,这里还报出大量

Partially written block 1296 being set for retirement     问题

        同时,在网络文件系统下,挂载flash会出现与开机一模一样的块问题

这是如何解释呢。。。

  评论这张
 
阅读(1794)| 评论(0)

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2018