We are trying to port uClinux on our MCF5372L custom made board. We have
the fec.c modified to support SMSC LAN8700 (We are able to get the
proper PHY ID thru MII). The device boots up with the attached message
below, but fails to get an IP address even though DHCP client is
enabled. We tried setting the static IP but no response for the ping
command. Can anyone let me know what could be the problem?

 

Thanks and Regards

Swaroop

 

Boot up Message :

go 0x40020000

Linux version 2.6.19-uc1 ([EMAIL PROTECTED]) (gcc version
4.1.1) #21 Fri Jun 27 10:33:52 IST 2008

 

 

 

uClinux/COLDFIRE(m532x)

COLDFIRE port done by Greg Ungerer, [EMAIL PROTECTED]

Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne

Built 1 zonelists.  Total pages: 8128

Kernel command line: 

PID hash table entries: 128 (order: 7, 512 bytes)

Console: colour dummy device 80x25

Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)

Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

Memory available: 29840k/32768k RAM, (1383k kernel code, 233k data)

Mount-cache hash table entries: 512

NET: Registered protocol family 16

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 1024 (order: 0, 4096 bytes)

TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

TCP: Hash tables configured (established 1024 bind 1024)

TCP reno registered

io scheduler noop registered

io scheduler cfq registered (default)

Initing M532x Framebuffer

Console: switching to colour frame buffer device 100x37

fb0: M532x FB frame buffer device

ColdFire internal UART serial driver version 1.00

ttyS0 at 0xfc060000 (irq = 90) is a builtin ColdFire UART

ttyS1 at 0xfc064000 (irq = 91) is a builtin ColdFire UART

ttyS2 at 0xfc068000 (irq = 92) is a builtin ColdFire UART

RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize

loop: loaded (max 8 devices)

nbd: registered device at major 43

FEC ENET Version 0.2

eth0: ethernet 00:0a:13:02:03:04

PPP generic driver version 2.4.2

NET: Registered protocol family 24

SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256).

CSLIP: code copyright 1989 Regents of the University of California.

fec: PHY @ 0x1f, ID 0x0007c0c3 -- SMSC LAN8700

netconsole: not configured, aborting

physmap platform flash device: 01000000 at 00000000

physmap-flash physmap-flash.0: Failed to ioremap flash region

physmap-flash: probe of physmap-flash.0 failed with error 5

uclinux[mtd]: RAM probe address=0x401b43b8 size=0xdd000

uclinux[mtd]: NUM_PARTITIONS:1

Creating 1 MTD partitions on "RAM":

0x00000000-0x000dd000 : "ROMfs"

uclinux[mtd]: set ROMfs to be root filesystem

TCP cubic registered

NET: Registered protocol family 1

NET: Registered protocol family 10

IPv6 over IPv4 tunneling driver

NET: Registered protocol family 17

VFS: Mounted root (romfs filesystem) readonly.

Freeing unused kernel memory: 76k freed (0x4018b000 - 0x4019d000)

Shell invoked to run file: /etc/rc

Command: hostname uClinux

Command: /bin/expand /etc/ramfs.img /dev/ram1

Command: mount -t proc proc /proc

Command: mount -t ext2 /dev/ram1 /var

Command: mkdir /var/tmp

Command: mkdir /var/log

Command: mkdir /var/run

Command: mkdir /var/lock

Command: mkdir /var/empty

Command: ifconfig lo 127.0.0.1

Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo

Command: dhcpcd -p -a eth0 &

[17]

Command: cat /etc/motd

Welcome to

          ____ _  _

         /  __| ||_|                 

    _   _| |  | | _ ____  _   _  _  _ 

   | | | | |  | || |  _ \| | | |\ \/ /

   | |_| | |__| || | | | | |_| |/    \

   |  ___\____|_||_|_| |_|\____|\_/\_/

   | |

   |_|

 

For further information check:

http://www.uclinux.org/

 

Execution Finished, Exiting

 

Sash command shell (version 1.1.1)

/> ifconfig eth0 199.63.74.250

    eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.

/> ifconfig

eth0      Link encap:Ethernet  HWaddr 20:31:37:32:2E:30  

          inet addr:199.63.74.250  Bcast:199.63.74.255
Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000 

          

lo        Link encap:Local Loopback  

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0 

          

/> ping 199.63.74.102

PING 199.63.74.102 (199.63.74.102): 56 data bytes

 

--- 199.63.74.102 ping statistics ---

7 packets transmitted, 0 packets received, 100% packet loss

/> 

 

Thanks and regards 

 

Swaroop

 

_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to