[U-Boot-Users] Ethernet not work on Linux 2.6.17 w/ at91rm9200 patched

nm hongtd2k at gmail.com
Tue Oct 3 03:33:33 CEST 2006


Hi *,

I have problem w/ at91rm9200 board, Intel LXT971A PHY
Ethernet on U-Boot work well, I'm using tftp to get uImage and initrd to 
SDRAM,
tftp 20000000 /tftpboot/img/uImage
tftp 20400000 /tftpboot/img/uRamdisk.2809.5
setenv bootargs root=/dev/ram

U-Boot> printenv
bootdelay=3
baudrate=115200
ethaddr=DE:AD:BE:EF:01:01
ipaddr=192.168.0.111
serverip=192.168.0.223
netmask=255.255.255.0
stdin=serial
stdout=serial
stderr=serial
bootargs=root=/dev/ram init=/bin/sh

I use linux kernel 2.6.17 w/  this patch 
http://maxim.org.za/AT91RM9200/2.6/2.6.17-sam9261-3.patch.gz
But when i got a shell on linux, i try to ping some host on LAN ... 
nothing happend
# mount -t proc proc /proc
# ifconfig eth0 192.168.0.111
eth0: Link now 100-FullDuplex
# ping 192.168.0.223
PING 192.168.0.223 (192.168.0.223): 56 data bytes

# cat /proc/net/arp
IP address       HW type     Flags       HW address            Mask     
Device
192.168.0.223    0x1         0x0         00:00:00:00:00:00     *        eth0

On my host computer:
(#:/home/tmp/kernelsrc/linux-2.6.17)- arp -a
? (192.168.0.111) at <incomplete> on eth0

Some one told me about Linux get_mac_address problem, but i see that 
Linux got MAC( on dmesg)
eth0: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex (de:ad:be:ef:01:01)
eth0: Intel LXT971A PHY

So, what am i wrong ?

Thanks,
nm.

p/s: I attached my dmesg, linux dot config file in this email.

dmesg :
Uncompressing 
Linux...................................................................................Linux 
version 2.6.17 (root at nm-lapdeb) (gcc version 4.0.0 (DENX ELDK 4.0 
4.0.0)) #8 Mon Oct 2 23:35:056CPU: ARM920Tid(wb) [41129200] revision 0 
(ARMv4T)
Machine: Atmel AT91RM9200-DK
Memory policy: ECC disabled, Data cache writeback
Clocks: CPU 179 MHz, master 59 MHz, main 18.432 MHz
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: root=/dev/ram init=/bin/sh
AT91: 128 gpio irqs in 4 banks
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 28412KB available (2077K code, 459K data, 100K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
checking if image is initramfs...it isn't (no cpio magic); looks like an 
initrd
Freeing initrd memory: 1365K
NET: Registered protocol family 16
Generic PHY: Registered new driver
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 256 (order: -2, 1024 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 512 (order: -1, 2048 bytes)
TCP: Hash tables configured (established 1024 bind 512)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered (default)
at91_spi: Baud rate set to 5990400
AT91 SPI driver loaded
AT91 Watchdog Timer enabled (5 seconds, nowayout)
at91_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a AT91_SERIAL
at91_usart.1: ttyS1 at MMIO 0xfffc4000 (irq = 7) is a AT91_SERIAL
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
LXT970: Registered new driver
LXT971: Registered new driver
eth0: Link now 100-FullDuplex
eth0: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex (de:ad:be:ef:01:01)
eth0: Intel LXT971A PHY
netconsole: not configured, aborting
physmap flash device: 200000 at 10000000
at91_dataflash: AT45DB321B detected [spi0] (4325376 bytes)
Creating 3 MTD partitions on "AT45DB321B.spi0":
0x00000000-0x00042000 : "bootloader"
0x00042000-0x0014a000 : "kernel"
0x0014a000-0x00420000 : "filesystem"
at91_cf: irqs det #64, io #0
usbmon: debugfs is not available
at91_ohci at91_ohci: AT91 OHCI
at91_ohci at91_ohci: new USB bus registered, assigned bus number 1
at91_ohci at91_ohci: irq 23, io mem 0x00300000
usb usb1: Product: AT91 OHCI
usb usb1: Manufacturer: Linux 2.6.17 ohci_hcd
usb usb1: SerialNumber: at91
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usb 1-1: new full speed USB device using at91_ohci and address 2
usb 1-1: Product: DataTraveler 2.0
usb 1-1: Manufacturer: Kingston
usb 1-1: configuration #1 chosen from 1 choice
usb 1-2: new low speed USB device using at91_ohci and address 3
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
usb 1-2: new low speed USB device using at91_ohci and address 4
usb 1-2: device descriptor read/64, error -110
usb 1-2: device descriptor read/64, error -110
usb 1-2: new low speed USB device using at91_ohci and address 5
usb 1-2: device not accepting address 5, error -110
usb 1-2: new low speed USB device using at91_ohci and address 6
usb 1-2: device not accepting address 6, error -110
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver libusual
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
udc: at91_udc version 3 May 2006
mice: PS/2 mouse device common for all mice
at91_rtc at91_rtc: rtc intf: sysfs
at91_rtc at91_rtc: rtc intf: proc
at91_rtc at91_rtc: rtc intf: dev (253:0)
at91_rtc at91_rtc: rtc core: registered at91_rtc as rtc0
AT91 Real Time Clock driver.
i2c /dev entries driver
at91_i2c at91_i2c: AT91 i2c bus driver.
MMC: 4 wire bus mode not supported by this driver - using 1 wire
NET: Registered protocol family 26
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 100K


BusyBox v(null) ((null)) Built-in shell (msh)
Enter 'help' for a list of built-in commands.



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config
Url: http://lists.denx.de/pipermail/u-boot/attachments/20061003/9c294a62/attachment.txt 


More information about the U-Boot mailing list