Skip to content

Moved initialization of AVR32 Ethernet controllers to board_eth_init()

Hans-Christian Egtvedt u-boot 1 version New

Get series with b4
b4 am 1215693933.11647.41.camel@localhost

Versions newest first

  1. v1 Latest0 of 1 patch 0 repliesNew

Patches in v1 No applies recorded yet

The patch the cover letter announces is not in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot-Users] [PATCH 0/1] Moved initialization of AVR32 Ethernet controllers to board_eth_init()
Quoted 2 lines · Hans-Christian Egtvedt
Quoted 1 line · Hans-Christian Egtvedt

On Thu, 2008-07-10 at 13:24 +0200, Haavard Skinnemoen wrote:

<snipp>

Quoted 8 lines
Quoted 7 lines
Quoted 2 lines

Looks good to me, but I don't have the chance to test it.

I tried looking into it, but I do not see who is going to call board_eth_init() ? Is this supposed to be done in net/eth.c or lib_avr32/board.c ?

Quoted 5 lines

Cheese, I am blind, just found it almost on top in the eth_initialize() function.

I will pull the master and see if it works.

And it works, proof below (-: (Net: did not work before pulling master)

U-Boot 1.3.3-00248-gae9bc0c-dirty (Jul 10 2008 - 14:50:32)

U-Boot code: 00000000 -> 0000f6b8 data: 000155c0 -> 0004bd18
malloc: Using memory from 0x10f74000 to 0x10fb4000
DMA: Using memory from 0x10f70000 to 0x10f74000
Flash: 8 MB at address 0x00000000
DRAM Configuration:
Bank #0: 10000000 16 MB

In:    serial
Out:   serial
Err:   serial
Net:   macb0

Press SPACE to abort autoboot in 1 seconds
macb0: link up, 100Mbps full-duplex (lpa: 0x45e1)
BOOTP broadcast 1
DHCP client bound to address 10.191.252.36
Using macb0 device
TFTP from server 10.191.252.83; our IP address is 10.191.252.36 Filename 'uimage_br_stk'.
Load address: 0x10400000
Loading: T #################################################################

         ###########
done
Bytes transferred = 1111788 (10f6ec hex)
## Booting kernel from Legacy Image at 10400000 ...
   Image Name:   Linux-2.6.25.10.atmel.2
   Image Type:   AVR32 Linux Kernel Image (gzip compressed)
   Data Size:    1111724 Bytes =  1.1 MB

Load Address: 10000000
Entry Point: 90000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK

Starting kernel at 90000000 (params at 10f74008)...

Linux version 2.6.25.10.atmel.2 (hcegtvedt at ssg-0) (gcc version 4.2.2-atmel.1.0.8) #68 Thu Jul 10 13:16:42 CEST 2008

Signature · 2 lines
With kind regards,
Hans-Christian Egtvedt, Applications Engineer