[U-Boot] [PATCH v2 4/5] arm/km: replace suenx targets with km_kirkwood
Prafulla Wadaskar
prafulla at marvell.com
Sun Jun 12 18:11:25 CEST 2011
> -----Original Message-----
> From: Longchamp, Valentin [mailto:Valentin.Longchamp at keymile.com]
> Sent: Sunday, June 12, 2011 5:39 PM
> To: Prafulla Wadaskar; Brunck, Holger; u-boot at lists.denx.de
> Cc: Heiko Schocher
> Subject: RE: [PATCH v2 4/5] arm/km: replace suenx targets with
> km_kirkwood
>
> Hi Prafulla,
>
> Sorry for the bad email formatting, using webmail from home. See my
> answer below.
>
...snip...
> Hi Holger, Valentin
>
> During this pull check I observed that u-boot.kwb image generation gives
> build errors for all Kirkwood based keymile boards.
>
> Please kindly check on this and provide a fix.
>
> I had noticed about this u-boot.kwb image generation earlier, but we
> don't use it internally yet. We would like to change this and use it
> (and thus fix this error).
>
> Could you please answer my early question from this thread:
> http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/99206
>
> Here is my question again:
>
> Now I have a question about the marvell boards build: I see in the
> Makefile that there is a rule about this kwb file, which is exactly what
> we do in our additionnal build script:
You don't need to add additional build script for this.
Just make sure in your config you have configured CONFIG_SYS_KWD_CONFIG properly. It also have default configurations.
>
> $(obj)u-boot.kwb: $(obj)u-boot.bin
> $(obj)tools/mkimage -n $(CONFIG_SYS_KWD_CONFIG) -T
> kwbimage \
> -a $(CONFIG_SYS_TEXT_BASE) -e $(CONFIG_SYS_TEXT_BASE) -d
> $< $
>
> How do you use it (because I think it is not called by the default make
> command) ?
Make u-boot.kwb CROSS_COMPILE=..., with this u-boot.kwb (i.e. Kirkwood boot image) target will be generated.
This is the standard way the other targets are build in u-boot.
That's it.
Regards..
Prafulla . .
More information about the U-Boot
mailing list