[U-Boot-Users] Network problem in u-boot.

André Berggren andre.berggren at optronic.se
Thu Nov 17 11:13:50 CET 2005


Hi Stefan,

Yes CFG_RX_ETH_BUFFER is defined to 32.

I tried to define INFO_4XX_ENET in 4xx_enet.c and got the following output when the problem occurs.

=> run setup
Trying ppc_4xx_eth0
About preceeding transfer (eth0):
- Sent packet number 10626
- Received packet number 10632
- Handled packet number 10632
ENET Speed is 100 Mbps - FULL duplex connection
BOOTP broadcast 1
DHCPHandler: got packet: (src=67, dst=68, len=300) state: 3
Filtering pkt = 0
DHCPHandler: got DHCP packet: (src=67, dst=68, len=300) state: 3
DHCP: state=SELECTING bp_file: "/tftpboot/kernel.img"
TRANSITIONING TO REQUESTING STATE
Bootfile: /tftpboot/kernel.img
DhcpSendRequestPkt: Sending DHCPREQUEST
Transmitting DHCPREQUEST packet: len = 343
DHCPHandler: got packet: (src=67, dst=68, len=300) state: 4
Filtering pkt = 0
DHCPHandler: got DHCP packet: (src=67, dst=68, len=300) state: 4
DHCP State: REQUESTING
Bootfile: /tftpboot/kernel.img
DHCP client bound to address 172.18.22.66
Using ppc_4xx_eth0 device
TFTP from server 172.18.22.110; our IP address is 172.18.22.66
Filename '/tftpboot/kernel.img'.
Load address: 0x200000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #######T T
MAL error occured.... ISR = c0100010 UIC = = 2  MAL_DEF = e0100000  MAL_ERR= e0000000
Trying ppc_4xx_eth0
About preceeding transfer (eth0):
- Sent packet number 3319
- Received packet number 3321
- Handled packet number 3321
T T
MAL error occured.... ISR = c0100010 UIC = = 2  MAL_DEF = e0100000  MAL_ERR= e0000000
Trying ppc_4xx_eth0
About preceeding transfer (eth0):
- Sent packet number 2
- Received packet number 0
- Handled packet number 0
T T
MAL error occured.... ISR = c0100010 UIC = = 2  MAL_DEF = e0100000  MAL_ERR= e0000000
Trying ppc_4xx_eth0
About preceeding transfer (eth0):
- Sent packet number 2
- Received packet number 0
- Handled packet number 0
T T
MAL error occured.... ISR = c0100010 UIC = = 2  MAL_DEF = e0100000  MAL_ERR= e0000000
Trying ppc_4xx_eth0
About preceeding transfer (eth0):
- Sent packet number 2
- Received packet number 0
- Handled packet number 0
T T
Abort

We had problem with MAL error in Linux to untill we got a backport of the latest driver to our kernel. After that there is no problem in Linux.

//André

-----Original Message-----
From: Stefan Roese [mailto:sr at denx.de]
Sent: den 17 november 2005 10:58
To: u-boot-users at lists.sourceforge.net
Cc: André Berggren; Wolfgang Denk
Subject: Re: [U-Boot-Users] Network problem in u-boot.


Hi Andre,

On Thursday 17 November 2005 09:55, André Berggren wrote:
> CONFIG_NET_MULTI wasn't enabled. When I enable it the "miiphy_register: non
> unique device name 'ppc_4xx_eth0'" is exchanged with "Trying ppc_4xx_eth0",
> but it doesn't solve the main problem.

OK. One other idea: Do you have CFG_RX_ETH_BUFFER defined in your config file? 
If yes, what is the value? Try increasing it. I would suggest to use at least 
16 rx buffers.

Best regards,
Stefan
###########################################

This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
For more information, connect to http://www.f-secure.com/




More information about the U-Boot mailing list