[U-Boot] [PATCH v8] Marvell Kirkwood family SOC support

Prafulla Wadaskar prafulla at marvell.com
Wed May 20 15:40:00 CEST 2009


 

> -----Original Message-----
> From: Stefan Roese [mailto:sr at denx.de] 
> Sent: Wednesday, May 20, 2009 5:40 PM
> To: u-boot at lists.denx.de
> Cc: Prafulla Wadaskar; Ashish Karkare; Prabhanjan Sarnaik; 
> Ronen Shitrit
> Subject: Re: [U-Boot] [PATCH v8] Marvell Kirkwood family SOC support
> 
> Hi Prafulla,
> 
> On Tuesday 19 May 2009 22:07:58 Prafulla Wadaskar wrote:
> > Kirkwood family controllers are highly integrated SOCs based on 
> > Feroceon-88FR131/Sheeva-88SV131 cpu core.
> 
> I would like to give your Kirkwood support a try and start 
> compiling the latest version before trying to port a custom 
> board. Now I'm failing to compile the latest version posted 
> on the list. Most likely I missed some patches or applied 
> them to the wrong git repository.

Thanks Stefan, your efforts will help me a lot

> 
> I tried it on u-boot/next and on u-boot-arm/next. Both 
I have used u-boot-arm/next pls use the same.

> failed. I applied those
> patches:
> 
> [PATCH v8] Marvell Kirkwood family SOC support [PATCH v9] 
> Marvell MV88F6281GTW_GE Board support [PATCH v3] Gbe 
> Controller driver support for kirkwood SOCs
> 
> It would be great if you could tell me what I am missing here 
> (additional patches or wrong repository?).
You will need additional two patches as mentioned below
http://git.denx.de/?p=u-boot/u-boot-blackfin.git;a=commit;h=12cedeb9589ef1203e3308e80b11e5ee73261ced
http://lists.denx.de/pipermail/u-boot/2009-May/052905.html

Apart from this pls add below line to drivers/net/kirkwood_egiga.c remove below mentioned errors
#include <asm/arch/kirkwood.h>

I hope build will be through... Best of Luck

Regards..
Prafulla . .

> 
> Here the error messages from building with those 3 patches on 
> top of u-boot-
> arm/next:
> 
> [stefan at stefan-desktop u-boot-arm (kirkwood)]$ ./MAKEALL 
> mv88f6281gtw_ge Configuring for mv88f6281gtw_ge board...
> mpp.c: In function 'kirkwood_mpp_conf':
> mpp.c:53: warning: unused variable 'gpio_mode'
> kirkwood_egiga.c: In function 'smi_reg_read':
> kirkwood_egiga.c:66: warning: implicit declaration of function 'readl'
> kirkwood_egiga.c:98: warning: implicit declaration of 
> function 'writel'
> kirkwood_egiga.c: In function 'set_dram_access':
> kirkwood_egiga.c:451: warning: implicit declaration of 
> function 'kw_sdram_bar'
> kirkwood_egiga.c:452: warning: implicit declaration of 
> function 'kw_sdram_bs'
> kirkwood_egiga.c: In function 'kirkwood_egiga_initialize':
> kirkwood_egiga.c:1593: error: 'KW_EGIGA0_BASE' undeclared 
> (first use in this
> function)
> kirkwood_egiga.c:1593: error: (Each undeclared identifier is 
> reported only once
> kirkwood_egiga.c:1593: error: for each function it appears in.)
> kirkwood_egiga.c:1597: error: 'KW_EGIGA1_BASE' undeclared 
> (first use in this
> function)
> kirkwood_egiga.c:1610: warning: implicit declaration of 
> function 'get_random_hex'
> 
> 
> Thanks.
> 
> Best regards,
> Stefan
> 
> =====================================================================
> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: 
> office at denx.de 
> =====================================================================
> 


More information about the U-Boot mailing list