- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
when trying to add network support to my board, i suffer at the following problem. After starting uCLinux, i configure the smc91111 on eth0 with ifconfig. all seems to work fine, but the network interface still does not work. Normally one of the ethernet leds should begin to blink, because it receives some packets from network, but it doesn't, but it should of course. I also tried ifconfig eth0 up. Both leds only flash once shortly after using ifconfig... nothing more. I'm using a custom board. Before, working with uC/OS everthing works fine with the network adapter. Here is my boot log:Uncompressing Linux... Ok, booting the kernel.
Linux version 2.6.16-uc0 (marekp@dryade26.ifh.de) (gcc version 3.4.6)# 19 PREEMP
T Mon Sep 4 09:54:53 CEST 2006
uClinux/Nios II
Altera Nios II support (C) 2004 Microtronix Datacom Ltd.
setup_arch: No persistant network settings signature at 00FF0000
Built 1 zonelists
Kernel command line:
PID hash table entries: 512 (order: 9, 8192 bytes)
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory available: 63292k/65536k RAM, 0k/0k ROM (1179k kernel code, 363k data)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
io scheduler noop registered
io scheduler deadline registered (default)
Serial: JTAG UART driver $Revision: 1.4 $
ttyJ0 at MMIO 0x810131c8 (irq = 1) is a jtag_uart
smc_probe: 50000 Khz Nios
SMSC LAN91C111 Driver (v2.1), (Linux Kernel 2.6)
eth0: SMC91C11xFD(rev:1) at 0x81000300 IRQ:6 MEMSIZE:8192b NOWAIT:0 ADDR: 00:07:
ed:00:00:00
smc_probe: 50000 Khz Nios
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 260k freed (0x4134000 - 0x4174000)
Shell invoked to run file: /etc/rc
Command: hostname uClinux
Command: mount -t proc proc /proc
Command: mount -t sysfs sysfs /sys
Command: mount -t usbfs none /proc/bus/usb
mount failed: No such file or directory
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: 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 141.34.30.108 netmask 255.255.255.0 broadcast 141.34.30.255
eth0:PHY 10BaseT
eth0:PHY Half Duplex
/>
any suggestions, please? Regards, Marek
Link Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page