Hi, All. I am trying to boot Linux mainline kernel 3.3 on BeagleBoard through NFS. But did not work.
The idea is to work with NFS through the MOSCHIP usb-ethernet driver. As can be seen from the booting log, it is already built in but for certain reason, it is not registered and do the IP config.
I guess the problem is from the Linux kernel configuration, maybe I have forgotten to build in any internet driver or USB support that the MOSCHIP usb-ethernet driver is based on.
There should be no problem with the uboot, because I am able to boot the OMAP Linux kernel V3.12 with the same setting, the only difference is that the Linux mainline kernel 3.3 has not been patched specifically for Beagle and actually it can boot on BeagleBoard with mmc file system.
Anyone can tell me why?
NFS Root
Booting kernel from Legacy Image at 80000000 …
Image Name: Linux-3.3.0-rc7+
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3405960 Bytes = 3.2 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum … OK
Loading Kernel Image … OK
OK
Starting kernel …
Uncompressing Linux… done, booting the kernel.
[ 0.000000] ### GDEM 1 …
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.3.0-rc7+ (jianguo@jianguo-System-Product-Name) (gcc version 4.5.1 (S3
[ 0.000000] CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine: OMAP3 Beagle Board
[ 0.000000] Reserving 14680064 bytes SDRAM for VRAM
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] OMAP3430/3530 ES3.1 (l2cache iva sgx neon isp )
[ 0.000000] Clocking rate (Crystal/Core/MPU): 26.0/224/720 MHz
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 44928
[ 0.000000] ### GDEM 2 …
[ 0.000000] Kernel command line: console=ttyO2,115200 ip=10.0.53.44:10.0.53.56:0.0.0.0:255.255.2f
[ 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] allocated 393216 bytes of page_cgroup
[ 0.000000] please try ‘cgroup_disable=memory’ option if you don’t want memory cgroups
[ 0.000000] Memory: 177MB = 177MB total
[ 0.000000] Memory: 172044k/172044k available, 24564k 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] vmalloc : 0xcc800000 - 0xff000000 ( 808 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xcc000000 ( 192 MB)
[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
[ 0.000000] .text : 0xc0008000 - 0xc061f898 (6239 kB)
[ 0.000000] .init : 0xc0620000 - 0xc0656000 ( 216 kB)
[ 0.000000] .data : 0xc0656000 - 0xc06a6780 ( 322 kB)
[ 0.000000] .bss : 0xc06a67a4 - 0xc06e0034 ( 231 kB)
[ 0.000000] ### GDEM 3 …
[ 0.000000] NR_IRQS:474
[ 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] OMAP clockevent source: GPTIMER12 at 32768 Hz
[ 0.000000] sched_clock: 32 bits at 32kHz, resolution 30517ns, wraps every 131071999ms
[ 0.000000] ### GDEM 4 …
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] ### GDEM 5 …
[ 0.000213] Calibrating delay loop… 731.07 BogoMIPS (lpj=2859008)
[ 0.039947] pid_max: default: 32768 minimum: 301
[ 0.040130] Mount-cache hash table entries: 512
[ 0.040557] Initializing cgroup subsys cpuacct
[ 0.040588] Initializing cgroup subsys memory
[ 0.040618] Initializing cgroup subsys devices
[ 0.040649] Initializing cgroup subsys freezer
[ 0.040649] Initializing cgroup subsys blkio
[ 0.040679] Initializing cgroup subsys perf_event
[ 0.040771] CPU: Testing write buffer coherency: ok
[ 0.041137] Setting up static identity map for 0x804662a8 - 0x80466300
[ 0.042053] devtmpfs: initialized
[ 0.043884] omap_hwmod: usbtll_fck: missing clockdomain for usbtll_fck.
[ 0.067626] print_constraints: dummy:
[ 0.067962] NET: Registered protocol family 16
[ 0.068176] GPMC revision 5.0
[ 0.069702] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
[ 0.069793] OMAP GPIO hardware version 2.5
[ 0.069915] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
[ 0.070098] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
[ 0.070312] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
[ 0.070495] gpiochip_add: registered GPIOs 128 to 159 on device: gpio
[ 0.070709] gpiochip_add: registered GPIOs 160 to 191 on device: gpio
[ 0.071289] omap_mux_init: Add partition: #1: core, flags: 0
[ 0.072448] OMAP3 Beagle Rev: C4
[ 0.075012] Reprogramming SDRC clock to 224791666 Hz
[ 0.075042] dpll3_m2_clk rate change failed: -22
[ 0.076812] usbhs_omap: alias fck already exists
[ 0.076934] Found NAND on CS0
[ 0.076965] Registering NAND on CS0
[ 0.077270] Unable to get DVI reset GPIO
[ 0.077484] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.081115] omap-mcbsp.2: alias fck already exists
[ 0.081298] omap-mcbsp.3: alias fck already exists
[ 0.082550] OMAP DMA hardware revision 4.0
[ 0.091278] bio: create slab at 0
[ 0.092529] SCSI subsystem initialized
[ 0.094268] usbcore: registered new interface driver usbfs
[ 0.094421] usbcore: registered new interface driver hub
[ 0.094573] usbcore: registered new device driver usb
[ 0.095397] omap_i2c omap_i2c.1: bus 1 rev1.3.12 at 2600 kHz
[ 0.098144] twl4030: PIH (irq 7) chaining IRQs 368…375
[ 0.098266] twl4030: power (irq 373) chaining IRQs 376…383
[ 0.098846] twl4030: gpio (irq 368) chaining IRQs 384…401
[ 0.099182] gpiochip_add: registered GPIOs 192 to 211 on device: twl4030
[ 0.101623] print_constraints: VUSB1V5: 1500 mV normal standby
[ 0.102081] print_constraints: VUSB1V8: 1800 mV normal standby
[ 0.102508] print_constraints: VUSB3V1: 3100 mV normal standby
[ 0.104217] twl4030_usb twl4030_usb: Initialized TWL4030 USB module
[ 0.104888] print_constraints: VMMC1: 1850 <–> 3150 mV at 3000 mV normal standby
[ 0.105407] print_constraints: VDAC: 1800 mV normal standby
[ 0.105895] print_constraints: VDVI: 1800 mV normal standby
[ 0.106475] print_constraints: VSIM: 1800 <–> 3000 mV at 1800 mV normal standby
[ 0.106903] omap_i2c omap_i2c.3: bus 3 rev1.3.12 at 100 kHz
[ 0.107910] omap-iommu omap-iommu.0: isp registered
[ 0.108093] Advanced Linux Sound Architecture Driver Version 1.0.24.
[ 0.108795] Bluetooth: Core ver 2.16
[ 0.108886] NET: Registered protocol family 31
[ 0.108886] Bluetooth: HCI device and connection manager initialized
[ 0.108917] Bluetooth: HCI socket layer initialized
[ 0.108917] Bluetooth: L2CAP socket layer initialized
[ 0.108947] Bluetooth: SCO socket layer initialized
[ 0.109283] Switching to clocksource 32k_counter
[ 0.122009] usbhs_omap usbhs_omap: xclk60mhsp1_ck set parentfailed error:-22
[ 0.122009] usbhs_omap usbhs_omap: xclk60mhsp2_ck set parentfailed error:-22
[ 0.122619] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.125976] musb-hdrc musb-hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
[ 0.126434] NET: Registered protocol family 2
[ 0.126678] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.127166] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.127349] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.127502] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.127502] TCP reno registered
[ 0.127532] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.127532] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.127807] NET: Registered protocol family 1
[ 0.128295] RPC: Registered named UNIX socket transport module.
[ 0.128295] RPC: Registered udp transport module.
[ 0.128326] RPC: Registered tcp transport module.
[ 0.128326] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.132171] VFS: Disk quotas dquot_6.5.2
[ 0.132232] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.132904] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.133483] nfs4filelayout_init: NFSv4 File Layout Driver Registering…
[ 0.133514] JFFS2 version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
[ 0.134216] msgmni has been set to 336
[ 0.135925] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 0.136047] io scheduler noop registered
[ 0.136077] io scheduler deadline registered
[ 0.136138] io scheduler cfq registered (default)
[ 0.137023] OMAP DSS rev 2.0
[ 0.139526] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.141326] omap_uart.0: ttyO0 at MMIO 0x4806a000 (irq = 72) is a OMAP UART0
[ 0.141845] omap_uart.1: ttyO1 at MMIO 0x4806c000 (irq = 73) is a OMAP UART1
[ 0.142272] omap_uart.2: ttyO2 at MMIO 0x49020000 (irq = 74) is a OMAP UART2
[ 0.935089] console [ttyO2] enabled
[ 0.947845] brd: module loaded
[ 0.955627] loop: module loaded
[ 0.960876] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xba (Micron NAND 256MiB 1,8V 16-bit)
[ 0.971130] Creating 5 MTD partitions on “omap2-nand.0”:
[ 0.976745] 0x000000000000-0x000000080000 : “X-Loader”
[ 0.983917] 0x000000080000-0x000000260000 : “U-Boot”
[ 0.991271] 0x000000260000-0x000000280000 : “U-Boot Env”
[ 0.998260] 0x000000280000-0x000000680000 : “Kernel”
[ 1.006469] 0x000000680000-0x000010000000 : “File System”
[ 1.120117] usbcore: registered new interface driver catc
[ 1.126037] usbcore: registered new interface driver kaweth
[ 1.131896] pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
[ 1.139953] usbcore: registered new interface driver pegasus
[ 1.146087] usbcore: registered new interface driver rtl8150
[ 1.152252] usbcore: registered new interface driver asix
[ 1.158111] usbcore: registered new interface driver cdc_ether
[ 1.164428] usbcore: registered new interface driver dm9601
[ 1.170379] usbcore: registered new interface driver smsc95xx
[ 1.176605] usbcore: registered new interface driver gl620a
[ 1.182647] usbcore: registered new interface driver net1080
[ 1.188751] usbcore: registered new interface driver plusb
[ 1.194610] usbcore: registered new interface driver rndis_host
[ 1.200988] usbcore: registered new interface driver cdc_subset
[ 1.207366] usbcore: registered new interface driver zaurus
[ 1.213409] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 1.221893] ehci_hcd: USB 2.0 ‘Enhanced’ Host Controller (EHCI) Driver
[ 1.229034] _regulator_get: ehci-omap.0 supply hsusb0 not found, using dummy regulator
[ 1.237579] _regulator_get: ehci-omap.0 supply hsusb1 not found, using dummy regulator
[ 3.258178] ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
[ 3.264739] ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
[ 3.272857] ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
[ 3.289459] ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
[ 3.295654] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.302947] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.310668] usb usb1: Product: OMAP-EHCI Host Controller
[ 3.316436] usb usb1: Manufacturer: Linux 3.3.0-rc7+ ehci_hcd
[ 3.322631] usb usb1: SerialNumber: ehci-omap.0
[ 3.328155] hub 1-0:1.0: USB hub found
[ 3.332244] hub 1-0:1.0: 3 ports detected
[ 3.367614] Initializing USB Mass Storage driver…
[ 3.372894] usbcore: registered new interface driver usb-storage
[ 3.379394] USB Mass Storage support registered.
[ 3.384796] mousedev: PS/2 mouse device common for all mice
[ 3.391998] input: twl4030_pwrbutton as /devices/platform/omap/omap_i2c.1/i2c-1/1-0049/twl4030_p0
[ 3.403900] i2c /dev entries driver
[ 3.408142] Linux media interface: v0.10
[ 3.412353] Linux video capture interface: v2.00
[ 3.418029] OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
[ 3.424591] Bluetooth: HCI UART driver ver 2.2
[ 3.429290] Bluetooth: HCI H4 protocol initialized
[ 3.434509] Bluetooth: HCI BCSP protocol initialized
[ 3.439880] Bluetooth: HCILL protocol initialized
[ 3.444854] Bluetooth: HCIATH3K protocol initialized
[ 3.450286] usbcore: registered new interface driver btusb
[ 3.456604] cpuidle: using governor ladder
[ 3.460937] cpuidle: using governor menu
[ 3.685058] usbcore: registered new interface driver usbhid
[ 3.691101] usbhid: USB HID core driver
[ 3.695953] usbcore: registered new interface driver snd-usb-audio
[ 3.703643] OMAP3 Beagle/Devkit8000 SoC init
[ 3.801849] asoc: twl4030-hifi <-> omap-mcbsp-dai.1 mapping ok
[ 3.812042] ALSA device list:
[ 3.815368] #0: omap3beagle
[ 3.818481] oprofile: hardware counters not available
[ 3.823944] oprofile: using timer interrupt.
[ 3.828887] TCP cubic registered
[ 3.832305] NET: Registered protocol family 17
[ 3.837127] NET: Registered protocol family 15
[ 3.841857] lib80211: common routines for IEEE802.11 drivers
[ 3.847961] Registering the dns_resolver key type
[ 3.853088] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
[ 3.861297] ThumbEE CPU extension supported.
[ 3.870941] sr_init: No PMIC hook to init smartreflex
[ 3.876678] smartreflex smartreflex.0: omap_sr_probe: SmartReflex driver initialized
[ 3.885162] smartreflex smartreflex.1: omap_sr_probe: SmartReflex driver initialized
[ 3.893646] SmartReflex Class3 initialized
[ 3.904022] clock: disabling unused clocks to save power
[ 3.911376] registered taskstats version 1
[ 3.917053] fbcvt: 800x480@60: CVT Name - .384M9-R
[ 3.935455] Console: switching to colour frame buffer device 100x30
[ 3.950744] regulator_init_complete: VSIM: incomplete constraints, leaving on
[ 3.960571] regulator_init_complete: VDAC: incomplete constraints, leaving on
[ 3.969390] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[ 3.977233] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 4.186340] mmc0: new high speed SDHC card at address b368
[ 4.192932] mmcblk0: mmc0:b368 NCard 7.47 GiB
[ 4.200347] mmcblk0: p1 p2
[ 111.110534] VFS: Unable to mount root fs via NFS, trying floppy.
[ 111.117767] VFS: Cannot open root device “nfs” or unknown-block(2,0)
[ 111.124481] Please append a correct “root=” boot option; here are the available partitions:
[ 111.133392] 1f00 512 mtdblock0 (driver?)
[ 111.138732] 1f01 1920 mtdblock1 (driver?)
[ 111.144195] 1f02 128 mtdblock2 (driver?)
[ 111.149688] 1f03 4096 mtdblock3 (driver?)
[ 111.154998] 1f04 255488 mtdblock4 (driver?)
[ 111.160491] b300 7842816 mmcblk0 driver: mmcblk
[ 111.166229] b301 200781 mmcblk0p1 00000000-0000-0000-0000-000000000mmcblk0p1
[ 111.174804] b302 3670852 mmcblk0p2 00000000-0000-0000-0000-000000000mmcblk0p2
[ 111.183380] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)