From: kiennd Date: Mon, 2 Oct 2006 22:24:09 +0700 Subject: [U-Boot-Users] Help me, Ethernet does not work in Linux+Ramdisk system! Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi everybody! My board use chip at91rm9200 ( my board as same as ARM9 SBC board http://www.ime.usp.br/~fr/sbc/ ) , and I use u-boot as a boot loader for my system. I built linux image 2.6 ( 2.6.16, 2.6.17, 2.6.18 ) with patch from http://maxim.org.za/AT91RM9200/2.6/ and a small root filesystem and use u-boot to load them. Everything is ok. My system had a sh shell. ################################################# # ls bin ftp linuxrc sbin var dev home lost+found tmp etc lib proc usr ################################################# And here is a part of dmesg log: ################################################# NET: Registered protocol family 16 Generic PHY: Registered new driver 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) 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 ################################################################################# Ethernet card is seem to work. ################################################################################ # ifconfig lo up # ifconfig eth0 up eth0: Link now 100-FullDuplex # ifconfig eth0 192.168.0.1 netmask 255.255.255.0 # ping -c 1 localhost PING localhost.localdomain (127.0.0.1): 56 data bytes 64 bytes from 127.0.0.1: icmp_seq=0 ttl=64 time=1.6 ms --- localhost.localdomain ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max = 1.6/1.6/1.6 ms # ping -c 1 192.168.0.1 PING 192.168.0.1 (192.168.0.1): 56 data bytes 64 bytes from 192.168.0.1: icmp_seq=0 ttl=64 time=1.4 ms --- 192.168.0.1 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max = 1.4/1.4/1.4 ms # ping -c 1 192.168.0.222 PING 192.168.0.222 (192.168.0.222): 56 data bytes --- 192.168.0.222 ping statistics --- 1 packets transmitted, 0 packets received, 100% packet loss # ################################################################################ But really, it can't connect to outside. ping localhost and it's ip address are ok, but ping a host in LAN ==> false! - Network configuration is Ok. - Network card is OK. In u-boot env, i use tftp to load kernel image and ramdisk image ==> network card is ok - In kernel with patched, i think kernel image had driver for network card ( eth0: Intel LXT971A PHY ). Can you give me some suggestion. Thanks!!! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.denx.de/pipermail/u-boot/attachments/20061002/bb6dd1e6/attachment.htm