HI all I am not able to mount on the NFS have set the static bootargs now it says eth0:no PHY found. My PHY is LAN 8700 I have enabled it using the make menuconfig.I am able to use the ethernet in U-boot.and transfered the image via the u-boot. I know when the kernel boots up it reinializes all the hardware don't know why it is not detecting my PHY.Can you please tell why it is so. Here is my log
U-Boot > setenv bootargs 'console=ttyS0,115200n8 noinitrd rw ip=172.16.0.90:172.16.0.197:172.16.0.10:255.255.240.0:::off root=/dev/nfs,nolock mem=120M' U-Boot > bootm U-Boot > setenv bootfile /home/rohan/workdir/uImage U-Boot > nfs 0x80000000 File transfer via NFS from server 172.16.0.197; our IP address is 172.16.0.92 Filename '/home/rohan/workdir/uImage'. Load address: 0x80000000 Loading: ################################################################# ################################################################# ################################################################# ################################################################# ############################# done Bytes transferred = 1478692 (169024 hex) U-Boot > bootm ## Booting kernel from Legacy Image at 80000000 ... Image Name: Linux-2.6.31-rc5-davinci1 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1478628 Bytes = 1.4 MB Load Address: 80008000 Entry Point: 80008000 Verifying Checksum ... OK Loading Kernel Image ... OK OK Starting kernel ... Uncompressing Linux................................................................................................ done, booting the kernel. Linux version 2.6.31-rc5-davinci1 ([email protected]) (gcc version 4.2.2) #1 PREEMPT Thu Oct 8 16:00:43 PKT 2009 CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177 CPU: VIVT data cache, VIVT instruction cache Machine: DaVinci DM644x EVM Memory policy: ECC disabled, Data cache writeback DaVinci dm6446a variant 0x1 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 30480 Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=172.16.0.90:172.16.0.197:172.16.0.10:255.255.240.0:::off root=/dev/nfs nfsrroot=/ PID hash table entries: 512 (order: 9, 2048 bytes) 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: 118512KB available (2708K code, 295K data, 124K init, 0K highmem) SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:229 Console: colour dummy device 80x30 Calibrating delay loop... 147.86 BogoMIPS (lpj=739328) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok DaVinci: 71 gpio irqs NET: Registered protocol family 16 WARNING: both IDE and Flash are enabled, but they share AEMIF pins. Disable IDE for NAND/NOR support. MUX: Setting register HPIEN_DISABLE PINMUX0 (0x00000000) = 0x80000c1f -> 0x80000c1f MUX: initialized ATAEN MUX: Setting register ATAEN PINMUX0 (0x00000000) = 0x80000c1f -> 0x80020c1f MUX: initialized HDIREN MUX: Setting register HDIREN PINMUX0 (0x00000000) = 0x80020c1f -> 0x80030c1f MUX: initialized MCBSP MUX: Setting register MCBSP PINMUX1 (0x00000004) = 0x00000081 -> 0x00000481 bio: create slab <bio-0> at 0 pcf857x: probe of 1-0038 failed with error -121 pcf857x: probe of 1-0039 failed with error -121 pcf857x: probe of 1-003a failed with error -121 NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered NET: Registered protocol family 1 msgmni has been set to 231 io scheduler noop registered io scheduler anticipatory registered (default) Setting Up Clocks for DM420 OSD Console: switching to colour frame buffer device 90x30 fb0: dm_osd0_fb frame buffer device fb1: dm_vid0_fb frame buffer device fb2: dm_osd1_fb frame buffer device fb3: dm_vid1_fb frame buffer device Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled Platform driver 'serial8250' needs updating - please use dev_pm_ops serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A console [ttyS0] enabled serial8250 serial8250.0: unable to register port at index 1 (IO0 MEM1c20400 IRQ41): -22 serial8250 serial8250.0: unable to register port at index 2 (IO0 MEM1c20800 IRQ42): -22 brd: module loaded at24 1-0050: 32768 byte 24c256 EEPROM (writable) davinci_emac_probe: using random MAC addr: c2:70:6f:42:33:6f emac-mii: probed dm9000 Ethernet Driver, V1.31 Platform driver 'dm9000' needs updating - please use dev_pm_ops console [netcon0] enabled netconsole: network logging started i2c /dev entries driver TCP cubic registered NET: Registered protocol family 17 RPC: Registered udp transport module. RPC: Registered tcp transport module. Clocks: disable unused uart1 Clocks: disable unused uart2 Clocks: disable unused ide Clocks: disable unused asp0 Clocks: disable unused mmcsd Clocks: disable unused spi Clocks: disable unused usb Clocks: disable unused vlynq Clocks: disable unused pwm0 Clocks: disable unused pwm1 Clocks: disable unused pwm2 Clocks: disable unused timer1 eth0: no PHY found IP-Config: Failed to open eth0 IP-Config: No network devices available. VFS: Unable to mount root fs via NFS, trying floppy. VFS: Cannot open root device "nfs,nolock" or unknown-block(2,0) Please append a correct "root=" boot option; here are the available partitions: Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) Backtrace: [<c002b6a0>] (dump_backtrace+0x0/0x110) from [<c002b7e4>] (dump_stack+0x18/0x1c) r6:c0021850 r5:c02ebe64 r4:c7023f58 [<c002b7cc>] (dump_stack+0x0/0x1c) from [<c003c038>] (panic+0x54/0x134) [<c003bfe4>] (panic+0x0/0x134) from [<c0008fcc>] (mount_block_root+0x1d4/0x21c) r3:00000001 r2:c7022000 r1:c7023f58 r0:c0291804 [<c0008df8>] (mount_block_root+0x0/0x21c) from [<c00090d8>] (mount_root+0xc4/0xfc) [<c0009014>] (mount_root+0x0/0xfc) from [<c000927c>] (prepare_namespace+0x16c/0x1d0) r5:c0021808 r4:c02eb944 [<c0009110>] (prepare_namespace+0x0/0x1d0) from [<c00087b8>] (kernel_init+0xd8/0x10c) r5:c0020364 r4:c02eb938 [<c00086e0>] (kernel_init+0x0/0x10c) from [<c003f0d0>] (do_exit+0x0/0x62c) r5:00000000 r4:00000000 With Regard's Rohan Tabish
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
