Dear All,
I am using imx25 board loading kernel through nfs by using debug board.
i need to load the kernel through nfs by using FEC0 on board eth adapter .
i can able to load the uImage by using FEC0 adapter. the main problem is while Os loading it is asking for DHCP Request... like below.
my uboot arg is setenv bootargs_nfs 'setenv bootargs ${bootargs} root=/dev/nfs ip=${ipaddr} nfsroot=${serverip}:${nfsrootfs}'
and i have set the ip also . but it wont take while loading ...
MX25 U-Boot > run bootcmd_nfs
Usage:
MMC sub system
MMC Device -2139095040 not found
## Booting kernel from Legacy Image at 80100000 ...
Image Name: Linux-2.6.31-207-g7286c01
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2113936 Bytes = 2 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux..............................................................................................
Linux version 2.6.31-207-g7286c01 (gru4cob@COB417151VM) (gcc version 4.1.2) #1 PREEMPT Mon Oct 7 15:48:31 IST 203
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Freescale MX25 3-Stack Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
Kernel command line: console=ttymxc0,115200 root=/dev/nfs ip=10.169.42.100 nfsroot=$1{serverip}:/rootfs_mount/ro3
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60272KB available (3940K code, 458K data, 128K init, 0K highmem)
NR_IRQS:272
MXC IRQ initialized
Clock input source is 24000000
Console: colour dummy device 80x30
Calibrating delay loop... 199.06 BogoMIPS (lpj=995328)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
AIPS1 VA base: 0xfc000000
CPU is i.MX25 Revision 1.0
MXC GPIO hardware
Using SDMA I.API
MXC DMA API initialized
bio: create slab <bio-0> at 0
SCSI subsystem initialized
CSPI: mxc_spi-0 probed
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
MXC I2C driver
NET: Registered protocol family 23
regulator: REG1_BKLT: 4500 <--> 5500 mV
regulator: REG2_CPU: 2640 <--> 3877 mV
regulator: REG3_CORE: 1160 <--> 1703 mV
regulator: REG4_DDR: 1440 <--> 2115 mV
regulator: REG5_PERS: 2640 <--> 3877 mV
mc34704 0-0054: Loaded
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
Bus freq driver module loaded
Registering the CPLD Driver
3-Stack Debug board detected, rev = 0x3000300
usb: Host 2 host (serial) registered
usb: DR OTG registered
usb: DR host (utmi) registered
usb: DR gadget (utmi) registered
i.MXC CPU frequency driver
JFFS2 version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.
msgmni has been set to 117
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
MXC Backlight Device mxc_lcdc_bl.0 Initialized.
Console: switching to colour frame buffer device 80x30
mxc_sdc_fb mxc_sdc_fb.0: fb0: DISP0 BG fb device registered successfully.
mxc_sdc_fb mxc_sdc_fb.0: fb1: DISP0 FG fb device registered successfully.
Serial: MXC Internal UART driver
mxcintuart.0: ttymxc0 at MMIO 0x43f90000 (irq = 45) is a Freescale i.MX
console [ttymxc0] enabled
mxcintuart.1: ttymxc1 at MMIO 0x43f94000 (irq = 32) is a Freescale i.MX
brd: module loaded
loop: module loaded
vcan: Virtual CAN interface driver
Freescale FlexCAN Driver
CAN device driver interface
sja1000 CAN netdevice driver
FEC Ethernet Driver
eth%d: enable RMII gasket
fec: PHY @ 0x1, ID 0x20005ce1 -- unknown PHY!
MXC MTD nor Driver 2.0
MXC MTD nand Driver 2.5
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd5 (Samsung NAND 2GiB 3,3V 8-bit)
uncorrectable error :
uncorrectable error :
uncorrectable error :
uncorrectable error :
uncorrectable error :
uncorrectable error :
uncorrectable error :
uncorrectable error :
nand_bbt: ECC error while reading bad block table
Searching for RedBoot partition table in NAND 2GiB 3,3V 8-bit at offset 0x7fec0000
No RedBoot partition table detected in NAND 2GiB 3,3V 8-bit
Creating 5 MTD partitions on "NAND 2GiB 3,3V 8-bit":
0x000000000000-0x000000300000 : "nand.bootloader"
0x000000300000-0x000000800000 : "nand.kernel"
0x000000800000-0x000010800000 : "nand.rootfs"
0x000010800000-0x000011000000 : "nand.configure"
0x000011000000-0x000080000000 : "nand.userfs"
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
MXC keypad loaded
input: mxckpd as /class/input/input0
Linux video capture interface: v2.00
Driver for 1-wire Dallas network protocol.
PMIC Character device: successfully loaded
i.MX ADC at 0x50030000 irq 46
mxsdhci: MXC Secure Digital Host Controller Interface driver
mxsdhci: MXC SDHCI Controller Driver.
mmc0: SDHCI detect irq 161 irq 9 INTERNAL DMA
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.20.
regulator: Unable to get requested regulator: VDDD
sgtl5000-i2c 0-000a: SGTL5000 revision 17
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
DMA Sound Buffers Allocated:UseIram=1 buf->addr=78001000 buf->area=c4900000 size=65536
DMA Sound Buffers Allocated:UseIram=1 buf->addr=83ab0000 buf->area=fdf2e000 size=65536
asoc: SGTL5000 <-> imx-ssi-1-0 mapping ok
mmc0: new high speed SDHC card at address e624
mmcblk0: mmc0:e624 SU04G 3.69 GiB
mmcblk0: unknown partition table
ALSA device list:
#0: imx-3stack (SGTL5000)
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
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)
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
smsc911x: Driver version 2008-10-21.
smsc911x-mdio: probed
eth1: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, irq=-1)
net eth1: MAC Address: 00:04:9f:00:f6:21
Static Power Management for Freescale i.MX25
regulator_init_complete: incomplete constraints, leaving REG5_PERS on
regulator_init_complete: incomplete constraints, leaving REG1_BKLT on
input: imx_adc_ts as /class/input/input1
i.MX ADC input touchscreen loaded.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
eth0: enable RMII gasket
net eth1: SMSC911x/921x identified at 0xc48fc000, IRQ: 256
Sending DHCP requests ....�
Please someone will help on this where i need to change to load the kernel through nfs by using FEC0 of imx25 personality board ASAP.
Regards,
Guru
Looks like there is no DHCP server for i.MX25. Please try to use a (local) router to connect i.MX25 board and NFS server.
Another solution - to use static IP (in the same subset as the NFS server) for i.MX25.
hi Yuri,
I am using static ip only .. but i didnt take . but it is fine if i use debug board adapter
Please tel what exactly should i do to disable dhcp and to enable from our static ip.
this is high priority!!
Regards,
Guru