From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans-Christian Egtvedt Date: Thu, 10 Jul 2008 14:53:20 +0200 Subject: [U-Boot-Users] [PATCH 0/1] Moved initialization of AVR32 Ethernet controllers to board_eth_init() In-Reply-To: <1215694073.11647.42.camel@localhost> References: <1215241728-25387-1-git-send-email-biggerbadderben@gmail.com> <20080710132411.6f6b0c6a@siona.local> <1215693933.11647.41.camel@localhost> <1215694073.11647.42.camel@localhost> Message-ID: <1215694400.11647.45.camel@localhost> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, 2008-07-10 at 14:47 +0200, Hans-Christian Egtvedt wrote: > On Thu, 2008-07-10 at 14:45 +0200, Hans-Christian Egtvedt wrote: > > On Thu, 2008-07-10 at 13:24 +0200, Haavard Skinnemoen wrote: > > > 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 ? > > > > 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 -- With kind regards, Hans-Christian Egtvedt, Applications Engineer