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

DM6446 kernel网络不通

uboot配置如下:

bootargs=mem=120M console=ttyS0,115200n8 root=/dev/nfs rw noinitrd ip=192.168.1.2:192.168.1.101:192.168.1.1:255.255.255.0::eth0:off nfsroot=192.168.1.101:/home/falconimage/workplace/filesys

文件系统无法挂载,这是什么原因?

其中

nand_davinci nand_davinci.0: Using 1-bit hardware ECC
No NAND device found!!!
nand_davinci nand_davinci.0: no nand device detected

是不是问题所在?

串口打印信息如下

U-Boot 1.2.0 (Dec 24 2008 – 17:44:21)

DRAM:  256 MB
NAND:  64 MB
In:    serial
Out:   serial
Err:   serial
ARM Clock : 297MHz
DDR Clock : 135MHz
ETH PHY : BroadCom PHY Chip
Hit any key to stop autoboot:  0QXD-DM6446_v3.2 # tftp 0x80800000 uImage
TFTP from server 192.168.1.101; our IP address is 192.168.1.2
Filename 'uImage'.
Load address: 0x80800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ##################
done
Bytes transferred = 2086916 (1fd804 hex)
Automatic boot of image at addr 0x80800000 …
## Booting image at 80800000 …
   Image Name:   Linux-2.6.18_pro500-davinci_evm-
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2086852 Bytes =  2 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum … OK
OK

Starting kernel …

Uncompressing Linux…………………………………………………………………………………………………………………………
Linux version 2.6.18_pro500-davinci_evm-arm_v5t_le (falconimage@falconimage-laptop) (gcc version 3.4.3 (MontaVista 3.4.3-25.0.30.0501131 2005-07-23)) #1 PRE3
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
DaVinci DM6443 variant 0x1
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists.  Total pages: 30720
Kernel command line: mem=120M console=ttyS0,115200n8 root=/dev/nfs rw noinitrd ip=192.168.1.2:192.168.1.101:192.168.1.1:255.255.255.0::eth0:off nfsroot=192.s
PID hash table entries: 512 (order: 9, 2048 bytes)
Clock event device timer0_0 configured with caps set: 03
Console: colour dummy device 80×30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 120MB = 120MB total
Memory: 117120KB available (3585K code, 710K data, 172K init)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
DaVinci: 71 gpio irqs
WARNING: both IDE and NOR flash are enabled, but share pins.
        Disable IDE for NOR support.
WARNING: both NAND and NOR flash are enabled, but share pins.
        Disable NAND for NOR support.
ch0 default output "COMPOSITE", mode "NTSC"
MUX: initialized LOEEN
MUX: initialized LFLDEN
VPBE Encoder Initialized
LogicPD encoder initialized
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
davinci_spi_board_init: NO spi support
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
squashfs: version 3.1 (2006/08/19) Phillip Lougher
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
yaffs Jun  3 2013 11:17:36 Installing.SGI XFS with no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
LTT : ltt-facilities init
LTT : ltt-facility-core init in kernel
davincifb davincifb: dm_osd0_fb: 720x480x16@0,0 with framebuffer size 675KB
davincifb davincifb: dm_vid0_fb: 0x0x16@0,0 with framebuffer size 1020KB
davincifb davincifb: dm_osd1_fb: 720x480x4@0,0 with framebuffer size 675KB
davincifb davincifb: dm_vid1_fb: 0x0x16@0,0 with framebuffer size 1020KB
davincifb davincifb.0: dm_osd0_fb: Failed to obtain ownership of OSD window.
DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO map 0x1c20000 mem 0xfec20000 (irq = 40) is a 16550A
RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize
netconsole: not configured, aborting
TI DaVinci EMAC: MAC address is 00:00:00:00:80:16
TI DaVinci EMAC Linux version updated 4.0
TI DaVinci EMAC: Installed 1 instances.
Linux video capture interface: v2.00
vpfe vpfe.1: DaVinci v4l2 capture driver V1.0 loaded
Trying to register davinci display video device.
layer=c7490400,layer->video_dev=c7490560
Trying to register davinci display video device.
layer=c7490200,layer->video_dev=c7490360
davinci_init:DaVinci V4L2 Display Driver V1.0 loaded

 Davici AEW Driver cannot be loaded
 VIDEO PORT is not enabledData Flow path from CCDC is disabled

 Davinci AF driver cannot be loaded
 VIDEO PORT is not enabled CCDC needs to be configured<6>i2c /dev entries driver
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
MUX: initialized HDIREN
MUX: initialized ATAEN
    ide0: MMIO-DMA , BIOS settings: hda:pio, hdb:pio
Palm Chip BK3710 IDE Register Fail
nand_davinci nand_davinci.0: Using 1-bit hardware ECC
No NAND device found!!!
nand_davinci nand_davinci.0: no nand device detected
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, cppi-dma, host, debug=0
musb_hdrc musb_hdrc: No DMA interrupt line
musb_hdrc: USB Host mode controller at c8060000 using DMA, 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
rtc_davinci_evm rtc_davinci_evm: rtc intf: proc
rtc_davinci_evm rtc_davinci_evm: rtc intf: dev (254:0)
rtc_davinci_evm rtc_davinci_evm: rtc core: registered rtc_davinci_evm as rtc0
rtc0: hours 12-23 are misreported as duplicate hours 00-11
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
MUX: initialized MCBSP
AIC3X Audio Codec 0.1
ALSA device list:
  No soundcards found.
IPv4 over IPv4 tunneling driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
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
rtc_davinci_evm rtc_davinci_evm: hctosys: invalid date/time
IP-Config: Complete:
      device=eth0, addr=192.168.1.2, mask=255.255.255.0, gw=192.168.1.1,
     host=192.168.1.2, domain=, nis-domain=(none),
     bootserver=192.168.1.101, rootserver=192.168.1.101, rootpath=
VFS: Cannot open root device "nfs" or unknown-block(0,255)
Please append a correct "root=" boot option
Kernel panic – not syncing: VFS: Unable to mount root fs on unknown-block(0,255)

首先,谢谢了!

Eason Wang:

No nand不像是问题所在。

你有没有试过本地挂载NFS成不成功呢?

此外,chmod NFS目录到777试试

junnes yang:

回复 Eason Wang:

首先谢谢你的回答。

NFS在使用合众达给的一个uImage及文件系统,是能够正常启动的,但是,在TI下载的源代码编译的uImage及文件系统却不能很好的挂载。我比较了两个uImage的deconfig文件,配置还是有许多的不同,但是,无法找到问题的关键。

另外,在使用合众达给的uImage带动TI官方给的文件系统,会出现kernel too old.的问题,这个又该如何解决,感觉这里问题好多,但又有点找不到头绪的感觉。

再次谢谢!

user3745272:

没有加载nandflash驱动,都没认到nandflash了。怎么能找到文件系统呢。加载成功应该有

kylin_zeng test maxchips is 2 NAND_ECC_NONE selected by board driver. This is not recommended !!Creating 5 MTD partitions on "davinci_nand.0":0x000000020000-0x000000300000 : "bootloader"0x000000300000-0x000000400000 : "params"0x000000400000-0x000000800000 : "kernel"0x000000800000-0x00000d800000 : "filesystem1"0x00000d800000-0x000040000000 : "filesystem2"

ZhangXinglong:

您好,请问你这个问题解决了么

user3745272:

回复 ZhangXinglong:

解决啦。早broad-dm368-env.c 里面有个cpld_init。里面有nandflash初始化的,那个没有执行到。所以就找不到了。

Charles Hua:

回复 user3745272:

您好,我现在也遇到了这个问题,http://www.deyisupport.com/question_answer/dsp_arm/davinci_digital_media_processors/f/39/t/48851.aspx,麻烦您能告诉我是怎么解决的吗?谢谢,我的是DM6446的板子

赞(0)
未经允许不得转载:TI中文支持网 » DM6446 kernel网络不通
分享到: 更多 (0)