Other Parts Discussed in Thread: AM3517, TCA8418
Hi all.
I try to boot this board http://sauris.de/index.php?page=products&id=5&lang=en from TFTP with NFS filesystem.
I load u-boot from SD-card. U-boot successfully downloads uImage by TFTP, but on mounting the file system from NFS, kernel fails with error Cannot open root device "nfs"
Also, NFS directory successfully mounted on another PC in the same network.
The options for u-boot are the next (with static ip)
setenv serverip 192.168.55.26
setenv ipaddr 192.168.55.25
setenv netmask 255.255.255.0
setenv gatewayip 192.168.55.100
setenv bootcmd 'tftp 0x80000000;bootm'
setenv bootfile uImage
setenv rootpath /home/master/target/targetNFS
setenv nfshost 192.168.55.26
setenv bootargs console=ttyO2,115200n8 noinitrd rw ip=192.168.55.25:192.168.55.26:192.168.55.100:255.255.255.0 root=/dev/nfs nfsroot=${nfshost}:${rootpath},wsize=8096,rsize=8096 nolock mem=256M
This is kernel boot log:
Using DaVinci EMAC device
TFTP from server 192.168.50.26; our IP address is 192.168.50.25
Filename 'uImage'.
Load address: 0x80000000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
################################
done
Bytes transferred = 4153080 (3f5ef8 hex)
## Booting kernel from Legacy Image at 80000000 ...
Image Name: Linux-2.6.37
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 4153016 Bytes = 4 MB
Load Address: 80008000
Entry Point: 80008000
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Linux version 2.6.37 (s-markov@monster.russ) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #41 Tue Oct 11 15:12:37 MSD 2011
[ 0.000000] CPU: ARMv7 Processor [411fc087] revision 7 (ARMv7), cr=10c53c7f
[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: AM3517/05 SAUModule
[ 0.000000] Reserving 8388608 bytes SDRAM for VRAM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] AM3517 ES1.1 (l2cache sgx neon isp )
[ 0.000000] SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x10000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 62976
[ 0.000000] Kernel command line: console=ttyO2,115200n8 noinitrd rw ip=192.168.50.25:192.168.50.26:192.168.50.100:255.255.255.0 root=/dev/nfs nfsroot=192.168.50.26:/home/master/target/targetNFS,wsize=8096,rsize=8096 nolock mem=256M
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 248MB = 248MB total
[ 0.000000] Memory: 238144k/238144k available, 24000k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] DMA : 0xffc00000 - 0xffe00000 ( 2 MB)
[ 0.000000] vmalloc : 0xd0800000 - 0xf8000000 ( 632 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .init : 0xc0008000 - 0xc003b000 ( 204 kB)
[ 0.000000] .text : 0xc003b000 - 0xc06ebf94 (6852 kB)
[ 0.000000] .data : 0xc06ec000 - 0xc08acc20 (1796 kB)
[ 0.000000] NR_IRQS:375
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/333/600 MHz
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
[ 0.000000] Total of 96 interrupts on 1 active controller
[ 0.000000] GPMC revision 5.0
[ 0.000000] Trying to install interrupt handler for IRQ368
[ 0.000000] Trying to install interrupt handler for IRQ369
[ 0.000000] Trying to install interrupt handler for IRQ370
[ 0.000000] Trying to install interrupt handler for IRQ371
[ 0.000000] Trying to install interrupt handler for IRQ372
[ 0.000000] Trying to install interrupt handler for IRQ373
[ 0.000000] Trying to install interrupt handler for IRQ374
[ 0.000000] Trying to install type control for IRQ375
[ 0.000000] Trying to set irq flags for IRQ375
[ 0.000000] OMAP clockevent source: GPTIMER1 at 32768 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.000000] ... MAX_LOCK_DEPTH: 48
[ 0.000000] ... MAX_LOCKDEP_KEYS: 8191
[ 0.000000] ... CLASSHASH_SIZE: 4096
[ 0.000000] ... MAX_LOCKDEP_ENTRIES: 16384
[ 0.000000] ... MAX_LOCKDEP_CHAINS: 32768
[ 0.000000] ... CHAINHASH_SIZE: 16384
[ 0.000000] memory used by lock dependency info: 3935 kB
[ 0.000000] per task-struct memory footprint: 2304 bytes
[ 0.000000] Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
[ 0.000000] pid_max: default: 32768 minimum: 301
[ 0.000000] Security Framework initialized
[ 0.000000] Mount-cache hash table entries: 512
[ 0.000000] CPU: Testing write buffer coherency: ok
[ 0.000000] regulator: core version 0.5
[ 0.000000] regulator: dummy:
[ 0.000000] NET: Registered protocol family 16
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] OMAP GPIO hardware version 2.5
[ 0.000000] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.000000] Display initialized successfully
[ 0.000000] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.000000] OMAP DMA hardware revision 4.0
[ 0.120300] bio: create slab <bio-0> at 0
[ 0.123840] regulator: LDO-DA3: 3000 mV normal
[ 0.125030] regulator: DCDC-DA8: 3300 mV normal
[ 0.130554] SCSI subsystem initialized
[ 0.140625] usbcore: registered new interface driver usbfs
[ 0.141998] usbcore: registered new interface driver hub
[ 0.143188] usbcore: registered new device driver usb
[ 0.148559] omap_device: omap_i2c.1: new worst case activate latency 0: 30517
[ 0.148712] omap_i2c omap_i2c.1: bus 1 rev3.12 at 400 kHz
[ 0.156066] regulator: VDCDC1: 1700 <--> 1950 mV at 1800 mV normal
[ 0.157562] regulator: VDCDC2: 1800 mV normal
[ 0.159271] regulator: VDCDC3: 1150 <--> 1300 mV at 1200 mV normal
[ 0.160705] regulator: LDO1: 1800 mV normal
[ 0.162139] regulator: LDO2: 1800 mV normal
[ 0.170837] input: tca8418-keypad as /devices/platform/omap/omap_i2c.1/i2c-1/1-0034/input/input0
[ 0.170989] TCA8418: enable_irq 186
[ 0.171020] tca8418-keypad 1-0034: TCA8418 based keypad
[ 0.171173] omap_device: omap_i2c.1: new worst case deactivate latency 0: 30517
[ 0.171478] omap_i2c omap_i2c.2: bus 2 rev3.12 at 400 kHz
[ 0.181701] omap_i2c omap_i2c.3: bus 3 rev3.12 at 400 kHz
[ 0.188720] Advanced Linux Sound Architecture Driver Version 1.0.23.
[ 0.191772] Bluetooth: Core ver 2.15
[ 0.192565] NET: Registered protocol family 31
[ 0.192565] Bluetooth: HCI device and connection manager initialized
[ 0.192718] Bluetooth: HCI socket layer initialized
[ 0.195220] cfg80211: Calling CRDA to update world regulatory domain
[ 0.198669] Switching to clocksource 32k_counter
[ 0.323669] musb-hdrc: version 6.0, host, debug=0
[ 0.324218] musb-hdrc musb-hdrc.0: dma type: dma-cppi41
[ 0.325622] <6>Waiting for PHY clock good...
[ 0.340759] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 0.341552] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 1
[ 0.342254] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.342254] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.342285] usb usb1: Product: MUSB HDRC host driver
[ 0.342285] usb usb1: Manufacturer: Linux 2.6.37 musb-hcd
[ 0.342315] usb usb1: SerialNumber: musb-hdrc.0
[ 0.345611] hub 1-0:1.0: USB hub found
[ 0.345794] hub 1-0:1.0: 1 port detected
[ 0.348419] musb-hdrc musb-hdrc.0: USB Host mode controller at d0810000 using DMA, IRQ 71
[ 0.349975] NET: Registered protocol family 2
[ 0.350585] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.351959] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.352325] TCP bind hash table entries: 8192 (order: 6, 360448 bytes)
[ 0.354431] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.354522] TCP reno registered
[ 0.354553] UDP hash table entries: 128 (order: 1, 12288 bytes)
[ 0.354736] UDP-Lite hash table entries: 128 (order: 1, 12288 bytes)
[ 0.355773] NET: Registered protocol family 1
[ 0.357055] RPC: Registered udp transport module.
[ 0.357086] RPC: Registered tcp transport module.
[ 0.357086] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.357971] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.553680] VFS: Disk quotas dquot_6.5.2
[ 0.553833] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.558715] fuse init (API version 7.15)
[ 0.560180] msgmni has been set to 465
[ 0.565612] io scheduler noop registered
[ 0.565643] io scheduler deadline registered
[ 0.565826] io scheduler cfq registered (default)
[ 0.569610] TPS6507x Backlight Driver Initialized.
[ 0.628814] OMAP DSS rev 2.0
[ 0.629150] OMAP DISPC rev 3.0
[ 0.629272] OMAP VENC rev 2
[ 0.959594] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[ 0.961181] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[ 0.962493] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[ 1.727203] console [ttyO2] enabled
[ 1.775451] brd: module loaded
[ 1.799865] loop: module loaded
[ 1.803436] at24 1-0050: 65536 byte 24c512 EEPROM (writable)
[ 1.816223] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.824493] omap2-nand driver initializing
[ 1.829071] omap2-nand omap2-nand.0: NAND driver in DMA prefetch mode
[ 1.835937] omap2-nand omap2-nand.0: NAND driver uses hardware BCH4 ECC
[ 1.843170] ONFI flash detected
[ 1.846710] ONFI param page 0 valid
[ 1.850433] NAND device: Manufacturer ID: 0x20, Chip ID: 0xaa (ST Micro NAND 256MiB 1,8V 8-bit)
[ 1.859649] Creating 5 MTD partitions on "omap2-nand.0":
[ 1.865295] 0x000000000000-0x000000080000 : "xloader-nand"
[ 1.878234] 0x000000080000-0x000000240000 : "uboot-nand"
[ 1.890441] 0x000000240000-0x000000280000 : "params-nand"
[ 1.901824] 0x000000280000-0x000000780000 : "linux-nand"
[ 1.915771] 0x000000780000-0x000010000000 : "jffs2-nand"
[ 2.105224] davinci_mdio davinci_mdio: davinci mdio revision 1.5
[ 2.111511] davinci_mdio davinci_mdio: detected phy mask fffffffd
[ 2.120452] davinci_mdio: probed
[ 2.123962] davinci_mdio davinci_mdio: phy[1]: device ffffffff:01, driver SMSC LAN8710/LAN8720
[ 2.133880] vcan: Virtual CAN interface driver
[ 2.138641] CAN device driver interface
[ 2.142639] TI High End CAN Controller Driver 0.7
[ 2.149963] ti_hecc ti_hecc: device registered (reg_base=d0828000, irq=24)
[ 2.158905] usbcore: registered new interface driver cdc_ether
[ 2.165832] usbcore: registered new interface driver cdc_eem
[ 2.171997] libertas_sdio: Libertas SDIO driver
[ 2.176818] libertas_sdio: Copyright Pierre Ossman
[ 2.182495] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.200164] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 2.206268] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2
[ 2.214721] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 2.230163] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 2.236541] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.243743] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.251373] usb usb2: Product: OMAP-EHCI Host Controller
[ 2.256988] usb usb2: Manufacturer: Linux 2.6.37 ehci_hcd
[ 2.262725] usb usb2: SerialNumber: ehci-omap.0
[ 2.270812] hub 2-0:1.0: USB hub found
[ 2.274871] hub 2-0:1.0: 3 ports detected
[ 2.309143] Initializing USB Mass Storage driver...
[ 2.315124] usbcore: registered new interface driver usb-storage
[ 2.321502] USB Mass Storage support registered.
[ 2.327941] usbcore: registered new interface driver usbserial
[ 2.334167] usbserial: USB Serial Driver core
[ 2.339691] USB Serial support registered for FTDI USB Serial Device
[ 2.347381] usbcore: registered new interface driver ftdi_sio
[ 2.353393] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
[ 2.360260] USB Serial support registered for pl2303
[ 2.366333] usbcore: registered new interface driver pl2303
[ 2.372222] pl2303: Prolific PL2303 USB to serial adaptor driver
[ 2.379638] USB Serial support registered for TI USB 3410 1 port adapter
[ 2.387420] USB Serial support registered for TI USB 5052 2 port adapter
[ 2.395324] usbcore: registered new interface driver ti_usb_3410_5052
[ 2.402160] ti_usb_3410_5052: v0.10:TI USB 3410/5052 Serial Driver
[ 2.409454] usbcore: registered new interface driver usbtest
[ 2.417846] mice: PS/2 mouse device common for all mice
[ 2.425445] omap_device: omap_i2c.1: new worst case deactivate latency 0: 122070
[ 2.435394] input: TPS6507x Touchscreen as /devices/platform/omap/omap_i2c.1/i2c-1/1-0048/input/input1
[ 2.451629] rtc-ds1374 1-0068: rtc core: registered ds1374 as rtc0
[ 2.458984] i2c /dev entries driver
[ 2.467651] Linux video capture interface: v2.00
[ 2.475402] usbcore: registered new interface driver uvcvideo
[ 2.481506] USB Video Class driver (v1.0.0)
[ 2.485900] vpfe_init
[ 2.488586] vpfe-capture: null ptr in vpfe_cfg
[ 2.493286] vpfe-capture: probe of vpfe-capture failed with error -2
[ 2.513061] Driver for 1-wire Dallas network protocol.
[ 2.521057] omap_hdq omap_hdq.0: OMAP HDQ Hardware Rev 0.5 in 1-wire mode.
[ 2.532684] omap_device: omap_wdt.-1: new worst case activate latency 0: 30517
[ 2.542999] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 2.579772] usbcore: registered new interface driver usbhid
[ 2.585723] usbhid: USB HID core driver
[ 2.593322] usbcore: registered new interface driver snd-usb-audio
[ 2.607086] AM3517/05 SAUModule sound system init
[ 2.621429] AM3517/05 SAUModule dapm init
[ 2.630432] asoc: tlv320aic3x-hifi <-> omap-mcbsp-dai.1 mapping ok
[ 2.639282] asoc: bt-88w8688 <-> omap-mcbsp-dai.2 mapping ok
[ 2.669586] ALSA device list:
[ 2.672698] #0: Saumodule-AM3517
[ 2.676361] oprofile: hardware counters not available
[ 2.681640] oprofile: using timer interrupt.
[ 2.686676] Netfilter messages via NETLINK v0.30.
[ 2.692047] nf_conntrack version 0.5.0 (3721 buckets, 14884 max)
[ 2.699188] ctnetlink v0.93: registering with nfnetlink.
[ 2.709259] xt_time: kernel timezone is -0000
[ 2.714202] TCP cubic registered
[ 2.717681] Initializing XFRM netlink socket
[ 2.722381] NET: Registered protocol family 17
[ 2.727203] NET: Registered protocol family 15
[ 2.731964] can: controller area network core (rev 20090105 abi 8)
[ 2.738983] NET: Registered protocol family 29
[ 2.743713] can: raw protocol (rev 20090105)
[ 2.748352] can: broadcast manager protocol (rev 20090105 t)
[ 2.755828] Bluetooth: L2CAP ver 2.15
[ 2.759674] Bluetooth: L2CAP socket layer initialized
[ 2.765136] Bluetooth: SCO (Voice Link) ver 0.6
[ 2.769958] Bluetooth: SCO socket layer initialized
[ 2.786224] Bluetooth: RFCOMM TTY layer initialized
[ 2.791473] Bluetooth: RFCOMM socket layer initialized
[ 2.796905] Bluetooth: RFCOMM ver 1.11
[ 2.800933] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 2.806488] Bluetooth: BNEP filters: protocol multicast
[ 2.812042] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 2.820678] L2TP core driver, V2.0
[ 2.824401] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[ 2.831512] All bugs added by David S. Miller <davem@redhat.com>
[ 2.838165] lib80211: common routines for IEEE802.11 drivers
[ 2.844238] Registering the dns_resolver key type
[ 2.849792] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
[ 2.861267] ThumbEE CPU extension supported.
[ 2.878112] Power Management for TI OMAP3.
[ 2.922180] clock: disabling unused clocks to save power
[ 2.958496] omapdss DPI: Could not find exact pixel clock. Requested 15000 kHz, got 15428 kHz
[ 2.972961] omap_device: omap_i2c.1: new worst case activate latency 0: 61035
[ 3.019378] mmc0: new SD card at address c9c0
[ 3.025665] mmcblk0: mmc0:c9c0 SD512 488 MiB
[ 3.030975] LCD Enabled
[ 3.040893] mmcblk0: p1
[ 3.049438] rtc-ds1374 1-0068: setting system clock to 2011-10-15 02:02:58 UTC (1318644178)
[ 3.058837] omap_vout omap_vout: Buffer Size = 3686400
[ 3.069000] omap_vout omap_vout: : registered and initialized video device 0
[ 3.157958] mmc1: new high speed SDIO card at address 0001
[ 3.587738] davinci_mdio davinci_mdio: resetting idled controller
[ 3.594848] net eth0: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=ffffffff:01, id=7c0f1)
[ 4.246307] libertas: 00:24:23:33:26:a4, fw 10.38.1p25, cap 0x00000303
[ 4.280578] cfg80211: Calling CRDA for country: US
[ 4.294281] libertas: wlan0: Marvell WLAN 802.11 adapter
[ 4.302246] Bluetooth: vendor=0x2df, device=0x9105, class=255, fn=2
[ 4.613525] IP-Config: Complete:
[ 4.616760] device=eth0, addr=192.168.50.25, mask=255.255.255.0, gw=192.168.50.100,
[ 4.625274] host=192.168.50.25, domain=, nis-domain=(none),
[ 4.631683] bootserver=192.168.50.26, rootserver=192.168.50.26, rootpath=
[ 7.590209] PHY: ffffffff:01 - Link is Up - 100/Full
[ 7.654663] VFS: Unable to mount root fs via NFS, trying floppy.
[ 7.662841] VFS: Cannot open root device "nfs" or unknown-block(2,0)
[ 7.669616] Please append a correct "root=" boot option; here are the available partitions:
[ 7.678649] 1f00 512 mtdblock0 (driver?)
[ 7.684295] 1f01 1792 mtdblock1 (driver?)
[ 7.689605] 1f02 256 mtdblock2 (driver?)
[ 7.695007] 1f03 5120 mtdblock3 (driver?)
[ 7.700408] 1f04 254464 mtdblock4 (driver?)
[ 7.705749] b300 500224 mmcblk0 driver: mmcblk
[ 7.711395] b301 499200 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1
[ 7.719848] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[ 7.728668] [<c004b2d8>] (unwind_backtrace+0x0/0xec) from [<c04ca6ac>] (panic+0x54/0x17c)
[ 7.737304] [<c04ca6ac>] (panic+0x54/0x17c) from [<c0009154>] (mount_block_root+0x1d0/0x210)
[ 7.746307] [<c0009154>] (mount_block_root+0x1d0/0x210) from [<c0009234>] (mount_root+0xa0/0xbc)
[ 7.755615] [<c0009234>] (mount_root+0xa0/0xbc) from [<c00093b4>] (prepare_namespace+0x164/0x1bc)
[ 7.764984] [<c00093b4>] (prepare_namespace+0x164/0x1bc) from [<c0008708>] (kernel_init+0x10c/0x14c)
[ 7.774688] [<c0008708>] (kernel_init+0x10c/0x14c) from [<c004654c>] (kernel_thread_exit+0x0/0x8)