Hi, I have an issue in booting the DM8168 board through NFS. The problem its not able to mount the file system via the NFS.
My setup is I have the uImage in the /tftpboot/ in the tftp server(ubuntu host) and the roofts at a particular location on the server(ubuntu host). Please find the log below,
U-Boot 2010.06 (Dec 24 2012 - 20:22:43)
DRAM: 2 GiB MMC: OMAP SD/MMC: 0 Using default environment
Hit any key to stop autoboot: 0 raise: Signal # 8 caught reading u-boot.bin
210312 bytes read ## Starting application at 0x80800000 ...
U-Boot 2010.06 (Dec 24 2012 - 20:11:30)
TI8168-GP rev 1.1
ARM clk: 987MHz DDR clk: 796MHz
I2C: ready DRAM: 2 GiB NAND: HW ECC BCH8 Selected No NAND device found!!! 0 MiB MMC: OMAP SD/MMC: 0 *** Warning - bad CRC or NAND, using default environment
:,;;:;:;;;;;;;;r;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:,;;:;:;;;;;;;;:;;;;;;;;:,;;:;: ;,;:::;;;;r;;;rssiSiS552X5252525259GX2X9hX9X9XX2325S55252i5:,;;:;:;;;;;;;;:,;;: ;:;;;;;;;rrssSsS52S22h52299GGAAMHMM#BBH#B#HMM#HMBA&&XX2255S2S5Si:,;;:;:;;;;;;;; ;:;;r;;rsrrriiXS5S329&A&MH#BMB#A&9XXA252GXiSXX39AAMMMBB&G22S5i2SSiiiisi:,;;:;:; ;;;;;r;rr2iisiih393HB#B#AA99i22irrrX3X52AGsisss2Xii2299HBMA&X2S5S5iSiisSsi:,;;: r:r;rrsrsihXSi2&##MHB&Ahh3AGHGA9G9h&#H##@@@##MAMMXXX9SSS29&&HGGX2i5iisiiisisi:, ;;rrrrsSiiiA&ABH&A9GAGhAhBAMHA9HM@@@@@@@@@@@@@@@@@@@HHhAh2S2SX9&Gh22SSiisiiisii r:rrssisiS2XM##&h3AGAX&3GG3Ssr5H@M#HM2; ;2X&&&MHMB###GBB#B&XXSSs529XX55iSsisisi r;rsrisSi2XHAhX99A3XXG&&XS;:,rH#HGhAS @@@@3rs2XBM@@A552&&AHA2XiisSS252SSsisSs r;issi5S22&&3iSSX292&hXsr;;:;h@&G339&S9@@@@2@MA&9&HB##Xris29ABMAAX2ir;rsSi5iss5 rrsSi2XhG&9GXh399&X99i;;;;;;r#H&293H9X#@@@@@@@B&9GhAH@XrrsrsiXABHB&HG2rr;rrSiSi ;:rsisS599&AA9XG&3A35r;:::;,;BMh&&2iX5A@@@@@@@&392X5GB2;;;r;iSX393A##A&Xi:::rsi ;:rss552222X553&XHMhir;;::,:,h#HhGSXhG3#@@@@#AXXS2XAHA;::;;;;ss55XShBA3239r:,;; r;ii2S5SSi2i53hirsh2srr::,,,,;MMXX359&Ah3h&Si59SX99A#i:,::::;;sri2,.2r;:SGAr;,: ;:;rrrrssiriXGSi::shs;;;,,,:,,rBBA9h5s5h5iS5isi2SAHB5:,,,:::;rrs5&SrisSX5Srrr:, ;,r;;;;rsriSSrrrr;;5Xrr;;,:,,.,;9AA2SsisS5323XXXG9&i:.,,::;;r;;;srrrrrr;;:;:::: :,;r;r;rrissrrr;:;::;s;;;;,:,,..,r293h222hXXAAGGGX;:,,,:,:,::;:;::,:,,,,...,,,, ;,;;;;rrrrrrrrirr;,.,,:::::::,,,,.,;SX&ABAB2hhXir:,,.,,.,,:,,,,..,,,..,..,,,..: :.:;:;;;:;;;;r;rrs;:.. ,,:::::,:,:,,.::rrsrr;;,,.......,..,....,,,,,,,...,.,,:, :.:::,::::::;;r;rrr;:.......,.,.,,:::,,...............,,::.,,,,:,::,,:,:,,,:,;: ,.::,:,,,,,;;;;;;;;r;;::,..............................;;;:;::::,:::::::,:,:,,, : ,,:,,,,,,,,,,,,,:;rrr;;:;,,,,,,,::,.,.:.,.,;s,:;;;;:;:;;;;;::::,:::,:::,:,:,: ,.,,,,,,,...,,.,,....................................:,............:,,,:,:,,,,,
Net: <ethaddr> not set. Reading from E-fuse Detected MACID:7c:8e:e4:f7:2b:38 Ethernet PHY: GENERIC @ 0x01 DaVinci EMAC Hit any key to stop autoboot: 3 2 0 TI8168_EVM#setenv bootdelay 4 TI8168_EVM#setenv baudrate 115200 ## Switch baudrate to 115200 bps and press ENTER ... TI8168_EVM#setenv bootargs console=ttyO2,115200n8 rootwait rw mem=364M@0x80000000 mem=320M@0x9FC00000 vmalloc=500M notifyk.vpssm3_sva=0xBF900000 root=/dev/nfs nfsroot=128.247.77.125:/home/a0273913ubuntu/workspace/automotive/netra/from_roopesh/source_code/rootfs/rootfs ip=dhcp TI8168_EVM#setenv bootcmd 'dhcp;setenv serverip 128.247.77.125;tftpboot;bootm' TI8168_EVM#setenv autoload no TI8168_EVM#setenv serverip 128.247.77.125 TI8168_EVM#setenv bootfile uImage TI8168_EVM#boot BOOTP broadcast 1 *** Unhandled DHCP Option in OFFER/ACK: 44 *** Unhandled DHCP Option in OFFER/ACK: 46 *** Unhandled DHCP Option in OFFER/ACK: 150 *** Unhandled DHCP Option in OFFER/ACK: 44 *** Unhandled DHCP Option in OFFER/ACK: 46 *** Unhandled DHCP Option in OFFER/ACK: 150 DHCP client bound to address 128.247.76.245 Using DaVinci EMAC device TFTP from server 128.247.77.125; our IP address is 128.247.76.245 Filename 'uImage'. Load address: 0x81000000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ################################################################# ######################################################### done Bytes transferred = 2284520 (22dbe8 hex) ## Booting kernel from Legacy Image at 81000000 ... Image Name: Linux-2.6.37 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 2284456 Bytes = 2.2 MiB 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.37 (vneyelov@embd-vm-09.israel.polycom.com) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Tue May 1 11:56:25 IDT 2012 CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f CPU: VIPT nonaliasing data cache, VIPT aliasing instruction cache Machine: ti8168evm reserved size = 0 at 0 Memory policy: ECC disabled, Data cache writeback Ignoring RAM at 9fc00000-b3bfffff (vmalloc region overlap). OMAP chip is TI8168 1.1 Built 1 zonelists in Zone order, mobility grouping on. Total pages: 92456 Kernel command line: console=ttyO2,115200n8 rootwait rw mem=364M@0x80000000 mem=320M@0x9FC00000 vmalloc=500M notifyk.vpssm3_sva=0xBF900000 root=/dev/nfs nfsroot=128.247.77.125:/home/a0273913ubuntu/workspace/automotive/netra/from_roopesh/source_code/rootfs/rootfs ip=dhcp PID hash table entries: 2048 (order: 1, 8192 bytes) Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) Memory: 364MB 320MB = 684MB total Memory: 364456k/364456k available, 8280k reserved, 0K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xd7000000 - 0xf8000000 ( 528 MB) lowmem : 0xc0000000 - 0xd6c00000 ( 364 MB) modules : 0xbf000000 - 0xc0000000 ( 16 MB) .init : 0xc0008000 - 0xc0037000 ( 188 kB) .text : 0xc0037000 - 0xc0457000 (4224 kB) .data : 0xc0458000 - 0xc049a800 ( 266 kB) SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 NR_IRQS:375 IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts Total of 128 interrupts on 1 active controller GPMC revision 6.0 Trying to install interrupt handler for IRQ368 Trying to install interrupt handler for IRQ369 Trying to install interrupt handler for IRQ370 Trying to install interrupt handler for IRQ371 Trying to install interrupt handler for IRQ372 Trying to install interrupt handler for IRQ373 Trying to install interrupt handler for IRQ374 Trying to install type control for IRQ375 Trying to set irq flags for IRQ375 OMAP clockevent source: GPTIMER1 at 27000000 Hz Console: colour dummy device 80x30 Calibrating delay loop... 986.31 BogoMIPS (lpj=4931584) pid_max: default: 32768 minimum: 301 Security Framework initialized Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok devtmpfs: initialized omap_voltage_early_init: voltage driver support not added regulator: core version 0.5 regulator: dummy: NET: Registered protocol family 16 OMAP GPIO hardware version 0.1 OMAP GPIO hardware version 0.1 omap_mux_init: Add partition: #1: core, flags: 0 _omap_mux_get_by_name: Could not find signal i2c2_scl.i2c2_scl _omap_mux_get_by_name: Could not find signal i2c2_sda.i2c2_sda NOR: Can't request GPMC CS registered ti816x_vpss device registered ti816x_gpio_vr device registered TI816x on-chip HDMI device registered ti816x_sr device pm_dbg_init: only OMAP3 supported Registered ti81xx_fb device bio: create slab <bio-0> at 0 regulator: VFB: 800 <--> 1025 mV at 920 mV SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb omap_i2c omap_i2c.1: bus 1 rev4.0 at 100 kHz omap_i2c omap_i2c.2: bus 2 rev4.0 at 100 kHz Advanced Linux Sound Architecture Driver Version 1.0.23. Switching to clocksource gp timer musb-hdrc: version 6.0, host, debug=0 musb-hdrc musb-hdrc.0: dma type: dma-cppi41 registerd cppi-dma Intr @ IRQ 17 Cppi41 Init Done musb-hdrc: kernel must blacklist external hubs musb-hdrc musb-hdrc.0: MUSB HDRC host driver musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1 usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb1: Product: MUSB HDRC host driver usb usb1: Manufacturer: Linux 2.6.37 musb-hcd usb usb1: SerialNumber: musb-hdrc.0 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected musb-hdrc musb-hdrc.0: USB Host mode controller at d700c000 using DMA, IRQ 18 musb-hdrc musb-hdrc.1: dma type: dma-cppi41 musb-hdrc: kernel must blacklist external hubs musb-hdrc musb-hdrc.1: MUSB HDRC host driver musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 2 usb usb2: New USB device found, idVendor=1d6b, idProduct=0002 usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1 usb usb2: Product: MUSB HDRC host driver usb usb2: Manufacturer: Linux 2.6.37 musb-hcd usb usb2: SerialNumber: musb-hdrc.1 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected musb-hdrc musb-hdrc.1: USB Host mode controller at d701e800 using DMA, IRQ 19 NET: Registered protocol family 2 IP route cache hash table entries: 4096 (order: 2, 16384 bytes) TCP established hash table entries: 16384 (order: 5, 131072 bytes) TCP bind hash table entries: 16384 (order: 4, 65536 bytes) TCP: Hash tables configured (established 16384 bind 16384) TCP reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 RPC: Registered udp transport module. RPC: Registered tcp transport module. RPC: Registered tcp NFSv4.1 backchannel transport module. NetWinder Floating Point Emulator V0.97 (double precision) PMU: registered new PMU device of type 0 omap-iommu omap-iommu.0: ducati registered omap-iommu omap-iommu.1: sys registered JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. msgmni has been set to 711 io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled omap_uart.0: ttyO0 at MMIO 0x48020000 (irq = 72) is a OMAP UART0 omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1 omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2 console [ttyO2] enabled brd: module loaded loop: module loaded ahci ahci.0: forcing PORTS_IMPL to 0x3 ahci ahci.0: AHCI 0001.0100 32 slots 2 ports 3 Gbps 0x3 impl platform mode ahci ahci.0: flags: ncq sntf pm led clo only pmp pio slum part ccc scsi0 : ahci_platform scsi1 : ahci_platform ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x100 irq 16 ata2: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a150fff] port 0x180 irq 16 m25p80 spi1.0: found m25p05-nonjedec, expected w25x32 m25p80 spi1.0: m25p05-nonjedec (64 Kbytes) Creating 4 MTD partitions on "spi_flash": 0x000000000000-0x000000040000 : "U-Boot" mtd: partition "U-Boot" extends beyond the end of device "spi_flash" -- size truncated to 0x10000 0x000000010000-0x000000012000 : "U-Boot Env" mtd: partition "U-Boot Env" is out of reach -- disabled 0x000000000000-0x000000280000 : "Kernel" mtd: partition "Kernel" extends beyond the end of device "spi_flash" -- size truncated to 0x10000 0x000000010000-0x000000010000 : "File System" mtd: partition "File System" is out of reach -- disabled omap2-nand driver initializing No NAND device found. No NAND device found. davinci_mdio davinci_mdio.0: davinci mdio revision 1.6 davinci_mdio davinci_mdio.0: detected phy mask fffffffd davinci_mdio.0: probed davinci_mdio davinci_mdio.0: phy[1]: device 0:01, driver unknown usbcore: registered new interface driver cdc_ether usbcore: registered new interface driver dm9601 Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. mice: PS/2 mouse device common for all mice i2c /dev entries driver Linux video capture interface: v2.00 usbcore: registered new interface driver uvcvideo USB Video Class driver (v1.0.0) OMAP Watchdog Timer Rev 0x00: initial timeout 60 sec usbcore: registered new interface driver usbhid usbhid: USB HID core driver notify_init : notify drivercreated for remote proc id 2 at physical Address 0xbf900000 usbcore: registered new interface driver snd-usb-audio asoc: tlv320aic3x-hifi <-> davinci-mcasp.2 mapping ok ALSA device list: #0: TI81XX EVM TCP cubic registered NET: Registered protocol family 17 VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 omap_voltage_late_init: Voltage driver support not added smartreflex smartreflex: Driver is not initialized, nTarget values are not found regulator_init_complete: disabling VFB mmc0: new high speed SDHC card at address 1234 mmcblk0: mmc0:1234 SA04G 3.67 GiB mmcblk0: p1 p2 ata1: SATA link down (SStatus 0 SControl 300) ata2: SATA link down (SStatus 0 SControl 300) davinci_mdio davinci_mdio.0: resetting idled controller net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=282f013) PHY 0:02 not found net eth1: could not connect to phy 0:02 Sending DHCP requests . PHY: 0:01 - Link is Up - 100/Full ., OK IP-Config: Got DHCP answer from 0.0.0.0, my address is 128.247.76.245 IP-Config: Complete: device=eth0, addr=128.247.76.245, mask=255.255.254.0, gw=128.247.76.2, host=128.247.76.245, domain=am.dhcp.ti.com, nis-domain=(none), bootserver=0.0.0.0, rootserver=128.247.77.125, rootpath= VFS: Unable to mount root fs via NFS, trying floppy. VFS: Cannot open root device "nfs" or unknown-block(2,0) Please append a correct "root=" boot option; here are the available partitions: 1f00 64 mtdblock0 (driver?) 1f02 64 mtdblock2 (driver?) b300 3858432 mmcblk0 driver: mmcblk b301 40131 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1 b302 3815437 mmcblk0p2 00000000-0000-0000-0000-000000000mmcblk0p2 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0) Backtrace: [<c0045b38>] (dump_backtrace+0x0/0x110) from [<c034e450>] (dump_stack+0x18/0x1c) r7:d6412000 r6:00000000 r5:c002b254 r4:c049af10 [<c034e438>] (dump_stack+0x0/0x1c) from [<c034e4b4>] (panic+0x60/0x17c) [<c034e454>] (panic+0x0/0x17c) from [<c0009254>] (mount_block_root+0x1e0/0x220) r3:00000000 r2:00000000 r1:d643bf58 r0:c03e7c3c [<c0009074>] (mount_block_root+0x0/0x220) from [<c0009340>] (mount_root+0xac/0xcc) [<c0009294>] (mount_root+0x0/0xcc) from [<c00094d0>] (prepare_namespace+0x170/0x1d4) r4:c049a864 [<c0009360>] (prepare_namespace+0x0/0x1d4) from [<c0008784>] (kernel_init+0x114/0x154) r5:c0008670 r4:c049a800 [<c0008670>] (kernel_init+0x0/0x154) from [<c00689d4>] (do_exit+0x0/0x5e4) r5:c0008670 r4:00000000