fsl-imx51开发板rootfs启动:DHCP/BOOTP: Ignoring delayed packet(已解)

来源:互联网 发布:淘宝发券机器人 编辑:程序博客网 时间:2024/06/11 23:52
 

 

U-Boot 2009.08-00322-g96bbff4 (Dec 15 2011 - 11:09:28)

CPU:   Freescale i.MX51 family 3.0V at 800 MHz
mx51 pll1: 800MHz
mx51 pll2: 665MHz
mx51 pll3: 216MHz
ipg clock     : 66500000Hz
ipg per clock : 665000000Hz
uart clock    : 66500000Hz
cspi clock    : 54000000Hz
axi_a clock   : 166250000Hz
axi_b clock   : 133000000Hz
emi_slow clock: 83125000Hz
ddr clock     : 200000000Hz
esdhc clock   : 216000000Hz
Board: MX51 BABBAGE 3.0 [POR]
Boot Device: MMC
I2C:   ready
DRAM:  512 MB
MMC:   FSL_ESDHC: 0, FSL_ESDHC: 1
In:    serial
Out:   serial
Err:   serial
PMIC Mode: SPI
Detecting HOME+POWER key for recovery ...
Net:   FEC0 [PRIME]
Hit any key to stop autoboot:  0
Using FEC0 device
TFTP from server 192.168.5.107; our IP address is 192.168.5.53
Filename 'uImage'.
Load address: 0x90800000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################################################################
done
Bytes transferred = 3320696 (32ab78 hex)
## Booting kernel from Legacy Image at 90800000 ...
   Image Name:   Android Linux Kernel
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3320632 Bytes =  3.2 MB
   Load Address: 90008000
   Entry Point:  90008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
Initializing cgroup subsys cpu
Linux version 2.6.35.3-01162-g81b5dac (skypine2011@skypine) (gcc version 4.4.3 (
GCC) ) #1 PREEMPT Mon Dec 26 14:52:03 HKT 2011
CPU: ARMv7 Processor [412fc085] revision 5 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Freescale MX51 Babbage Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 105664
Kernel command line: console=ttymxc0 init=/init androidboot.console=ttymxc0 root
=/dev/nfs nfsroot=${serverip}:${nfsroot} rw ip=dhcp di1_primary gpu_nommu, gpu_m
emory=32M
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)
allocated 2129920 bytes of page_cgroup
please try 'cgroup_disable=memory' option if you don't want memory cgroups
Memory: 416MB = 416MB total
Memory: 410196k/410196k available, 15788k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xf9e00000 - 0xffe00000   (  96 MB)
    vmalloc : 0x9a800000 - 0xf4000000   (1432 MB)
    lowmem  : 0x80000000 - 0x9a000000   ( 416 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f000000 - 0x7fe00000   (  14 MB)
      .init : 0x80008000 - 0x80039000   ( 196 kB)
      .text : 0x80039000 - 0x80892000   (8548 kB)
      .data : 0x808b2000 - 0x8091aec0   ( 420 kB)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:368
MXC GPIO hardware
MXC IRQ initialized
MXC_Early serial console at MMIO 0x73fbc000 (options '115200')
bootconsole [ttymxc0] enabled
Console: colour dummy device 80x30
Calibrating delay loop... 799.53 BogoMIPS (lpj=3997696)
pid_max: default: 32768 minimum: 301
Security Framework initialized
Mount-cache hash table entries: 512
Initializing cgroup subsys debug
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys memory
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
i.MX IRAM pool: 128 KB@0x9a840000
IRAM READY
CPU is i.MX51 Revision 3.0
Using SDMA I.API
MXC DMA API initialized
IMX usb wakeup probe
IMX usb wakeup probe
bio: create slab <bio-0> at 0
SCSI subsystem initialized
CSPI: mxc_spi-0 probed
Freescale USB OTG Driver loaded, $Revision: 1.55 $
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
MXC HS I2C driver
IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
Advanced Linux Sound Architecture Driver Version 1.0.23.
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
mc13892 Rev 2.0 FinVer 2 detected
Initializing regulators for Babbage.
regulator: SW1: 600 <--> 1375 mV at 1100 mV
regulator: SW2: 900 <--> 1850 mV at 1225 mV
regulator: SW3: 1100 <--> 1850 mV at 1200 mV
regulator: SW4: 1100 <--> 1850 mV at 1800 mV
regulator: SWBST:
regulator: VIOHI:
regulator: VPLL: 1050 <--> 1800 mV at 1800 mV
regulator: VDIG: 1650 mV
regulator: VSD: 1800 <--> 3150 mV at 3150 mV
regulator: VUSB2: 2400 <--> 2775 mV at 2600 mV
regulator: VVIDEO: 2775 mV
regulator: VAUDIO: 2300 <--> 3000 mV at 3000 mV
regulator: VCAM: 2500 <--> 3000 mV at 2600 mV fast normal
regulator: VGEN1: 1200 mV
regulator: VGEN2: 1200 <--> 3150 mV at 3150 mV
regulator: VGEN3: 1800 <--> 2900 mV at 1800 mV
regulator: VUSB:
regulator: GPO1:
regulator: GPO2:
regulator: GPO3:
regulator: GPO4:
Device spi1.0 probed
Switching to clocksource mxc_timer1
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.
LPMode driver module loaded
Static Power Management for Freescale i.MX5
PM driver module loaded
sdram autogating driver module loaded
Bus freq driver module loaded
DI1 is primary
mxc_dvfs_core_probe
DVFS driver module loaded
i.MXC CPU frequency driver
DVFS PER driver module loaded
ashmem: initialized
msgmni has been set to 801
alg: No test for stdrng (krng)
cryptodev: driver loaded.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
By setting, TVE driver will not be enabled
By setting, SII driver will not be enabled
regulator: get() with no identifier
mxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
fbcvt: 1024x768@60: CVT Name - .786M3
mxc_ipu mxc_ipu: Channel already disabled 7
mxc_ipu mxc_ipu: Channel already uninitialized 7
mxc_ipu mxc_ipu: Channel already disabled 10
mxc_ipu mxc_ipu: Channel already uninitialized 10
regulator: get() with no identifier
regulator: get() with no identifier
regulator: get() with no identifier
mxci2c_wait_writefifo:wait error
Serial: MXC Internal UART driver
mxcintuart.0: ttymxc0 at MMIO 0x73fbc000 (irq = 31) is a Freescale i.MX
console [ttymxc0] enabled, bootconsole disabled
console [ttymxc0] enabled, bootconsole disabled
mxcintuart.1: ttymxc1 at MMIO 0x73fc0000 (irq = 32) is a Freescale i.MX
mxcintuart.2: ttymxc2 at MMIO 0x7000c000 (irq = 33) is a Freescale i.MX
loop: module loaded
pmem_adsp: 0 init
pmem_gpu: 1 init
MXC MTD nand Driver 3.0
i.MX GPMI NFC
vcan: Virtual CAN interface driver
Freescale FlexCAN Driver
FEC Ethernet Driver
fec_enet_mii_bus: probed
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 18, io base 0x73f80000
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 14, io base 0x73f80200
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver cdc_acm
cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapter
s
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
usbserial: USB Serial Driver core
USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
option: v0.7.2:USB Driver for GSM modems
ARC USBOTG Device Controller driver (1 August 2005)
Android usb driver initialize
android_usb gadget: android_usb ready
fsl-usb2-udc: bind to driver android_usb
android gadget: register function adb
android gadget: register function usb_mass_storage
android gadget: register function rndis
rndis_function_bind_config MAC: 00:00:00:00:00:00
android_usb gadget: using random self ethernet address
android_usb gadget: using random host ethernet address
usb0: MAC 5e:b7:44:4d:27:4c
usb0: HOST MAC 36:24:67:a3:eb:e1
android_usb gadget: usb_mass_storage, version: 2009/09/11
android_usb gadget: Number of LUNs=3
 lun0: LUN: removable file: (no medium)
 lun1: LUN: removable file: (no medium)
 lun2: LUN: removable file: (no medium)
mice: could not register psaux device, error: -16
mice: PS/2 mouse device common for all mice
MXC keypad loaded
input: mxckpd as /devices/virtual/input/input0
input: mxc_power_key as /devices/virtual/input/input1
PMIC powerkey probe
using rtc device, mxc_rtc, for alarms
mxc_rtc mxc_rtc.0: rtc core: registered mxc_rtc as rtc0
pmic rtc probe start
pmic_rtc mc13892_rtc.1: rtc core: registered mc13892_rtc as rtc1
pmic rtc probe succeed
i2c /dev entries driver
IR NEC protocol handler initialized
IR RC5(x) protocol handler initialized
IR RC6 protocol handler initialized
IR JVC protocol handler initialized
IR Sony protocol handler initialized
Linux video capture interface: v2.00
ov5642_write_reg:write reg error:reg=3103,val=93
mxc_v4l2_output mxc_v4l2_output.0: Registered device video1
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
APM Battery Driver
usb 2-1: new high speed USB device using fsl-ehci and address 2
MXC WatchDog Driver 2.0
MXC Watchdog # 0 Timer: initial timeout 60 sec
device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: dm-devel@redhat.com

Bluetooth: Virtual HCI driver ver 1.3
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCIATH3K protocol initialized
Bluetooth: Generic Bluetooth USB driver ver 0.6
usbcore: registered new interface driver btusb
VPU initialized
gpu mmu disabled
mxsdhci: MXC Secure Digital Host Controller Interface driver
mxsdhci: MXC SDHCI Controller Driver.
mmc0: SDHCI detect irq 128 irq 1 INTERNAL DMA
mxsdhci: MXC SDHCI Controller Driver.
mmc1: SDHCI detect irq 134 irq 2 INTERNAL DMA
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
logger: created 64K log 'log_main'
hub 2-1:1.0: USB hub found
logger: created 256K log 'log_events'
hub 2-1:1.0: 7 ports detected
logger: created 64K log 'log_radio'
logger: created 64K log 'log_system'
Cirrus Logic CS42888 ALSA SoC Codec Driver
sgtl5000-i2c 1-000a: SGTL5000 revision 17
mxc_spdif mxc_spdif.0: MXC SPDIF Audio Transmitter
No device for codec mxc spdif
No device for DAI mxc spdif
No device for DAI imx-ssi-1-0
No device for DAI imx-ssi-1-1
No device for DAI imx-ssi-2-0
No device for DAI imx-ssi-2-1
No device for DAI imx-ssi-3-0
No device for DAI imx-ssi-3-1
No device for DAI imx-spdif-dai
capture=0 ext_ram=0 UseIram=1
DMA Sound Buffers Allocated:UseIram=1 buf->addr=1ffe2000 buf->area=9a842000 size
=24576
capture=1 ext_ram=0 UseIram=1
DMA Sound Buffers Allocated:UseIram=1 buf->addr=a9298000 buf->area=fa52e000 size
=24576
asoc: SGTL5000 <-> imx-ssi-2-0 mapping ok
mmc0: new SD card at address e624
mmcblk0: mmc0:e624 SD02G 1.89 GiB
 mmcblk0: p1 p2 p3 < p5 p6 > p4
capture=0 ext_ram=0 UseIram=1
DMA Sound Buffers Allocated:UseIram=1 buf->addr=1ffe8000 buf->area=9a848000 size
=24576
asoc: mxc spdif <-> imx-spdif-dai mapping ok
ALSA device list:
  #0: imx-3stack (SGTL5000)
  #1: imx-3stack-spdif (mxc spdif)
nf_conntrack version 0.5.0 (6409 buckets, 25636 max)
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
IPv6 over IPv4 tunneling driver
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20090105 abi 8)
NET: Registered protocol family 29
can: raw protocol (rev 20090105)
can: broadcast manager protocol (rev 20090105 t)
Bluetooth: L2CAP ver 2.14
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
L2TP core driver, V2.0
PPPoL2TP kernel driver, V2.0
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
regulator_init_complete: disabling VCAM
regulator_init_complete: disabling VAUDIO
regulator_init_complete: disabling VSD
input: mxc_ts as /devices/virtual/input/input2
mxc input touchscreen loaded
mxc_rtc mxc_rtc.0: setting system clock to 1970-01-02 01:58:43 UTC (93523)
eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=0:00, irq=-1)
ADDRCONF(NETDEV_UP): usb0: link is not ready
Sending DHCP requests .
usb 2-1.6: new high speed USB device using fsl-ehci and address 3
PHY: 0:00 - Link is Up - 100/Full
scsi0 : usb-storage 2-1.6:1.0
scsi 0:0:0:0: Direct-Access     USB TO I DE/SATA Device   0009 PQ: 0 ANSI: 0
sd 0:0:0:0: [sda] Attached SCSI disk
DHCP/BOOTP: Ignoring delayed packet
.
DHCP/BOOTP: Ignoring delayed packet
.
DHCP/BOOTP: Ignoring delayed packet
.
DHCP/BOOTP: Ignoring delayed packet
.
DHCP/BOOTP: Ignoring delayed packet

 

............后面就一直这样,启动不起来。

 ===============================================

解决方法:

 

1,kernel 配置

 

Network File Systems                                                                    x x 
  x x                      <*>   NFS client support                                                                    x x 
  x x                      [*]     NFS client support for NFS version 3                                                x x 
  x x                      [ ]       NFS client support for the NFSv3 ACL protocol extension                           x x 
  x x                      [ ]     NFS client support for NFS version 4 (EXPERIMENTAL)                                 x x 
  x x                      [*]     Root file system on NFS                                                             x x 
  x x                      < >   NFS server support          

 

选上Root file system on NFS

 

2,在uboot下设置参数

内核启动参数参见Documentation/kernel-parameters.txt
它说 ip 这个选项
See Documentation/filesystems/nfs/nfsroot.txt.

ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>

我的配置:

setenv bootargs 'console=ttymxc0,115200 init=/init androidboot.console=ttymxc0 root=/dev/nfs rw nfsroot=192.168.5.107:/tftpboot/rootfs ip=192.168.5.53:192.168.5.107:192.168.5.10:255.255.255.0:skypine:eth0:on rw  di1_primary calibration'

 

3,nfs作为根是起来了。可能是启动顺序的不一致吧,原来作为jffs2启动的镜像改成nfs就会报
Warning: unable to open an initial console.

这个主要是没有建立控制台,解决方式:

缺少 /dev/console 和 /dev/null
在建立他們之前UDEV就先使用到他們了

cd /dev
mknod -m 660 console c 5 1
mknod -m 660 null c 1 3



 

 

 

原创粉丝点击