[oe] [PATCH] u-boot_git.bb: add xilinx-ml507 support

Adrian Alonso aalonso00 at gmail.com
Mon Mar 22 17:21:24 UTC 2010


HI,

Fix previous error a patch should be at patchqueue, also is attached.

u-boot source code provides a parameter definition for a hardware reference
design
documented at [1]; Even trying to replicating this hardware project it would
not necessary
match the hardware address model used by u-boot so is safer to overwrite
this header file (xparameters.h);
Also u-boot expects a set of macros that are not generated whit xilinx
tools, and I append them
at the end of the header file, I know this is ugly but there's no way to
provide a patch since the
header file is generated based on the hardware modules included in the
project.

This probably can be included in xilinx-bsp.bbclass but I will need to
detect when u-boot or linux-kernel
is inheriting the class to perform the right action. But at the moment I
don't know ho to do it.


[1] http://xilinx.wikidot.com/u-boot

<http://xilinx.wikidot.com/u-boot>Regards

On Sun, Mar 21, 2010 at 5:28 AM, Stefan Schmidt
<stefan at datenfreihafen.org>wrote:

> Hello.
>
> The first part, PR and SRCREV, is obviously fine. The second part raises a
> question here. If it is preferred to have the xparameters header file from
> the
> BSP would it make more sense to have it in OE? Be it a package or just the
> file.
>
> The patch also has the problem that it does not work if XILINX_BSP_PATH is
> not
> set. Your test in deploy if the directory exists triggers this here:
>
> NOTE: Running task 1042 of 1048 (ID: 11,
>
> /home/stefan/Projekte/OpenEmbedded/build/openmoko/openembedded/recipes/u-boot/
> u-boot_git.bb,
> do_deploy)
> ERROR: function do_deploy failed
> ERROR: log data follows
>
> (/home/stefan/Projekte/OpenEmbedded/build/openmoko/tmp/work/xilinx-ml507-angstrom-linux/u-boot-git-r43/temp/log.do_deploy.19446)
> | NOTE: Installing u-boot elf image in bsp path
> | install: cannot create regular file `/u-boot': Permission denied
>
> The variable is empty and test thinks that is fine and wants to install the
> u-boot into / as no other path is set. Please fix, resend and I'll apply
> it.
>
> regards
> Stefan Schmidt
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>



-- 
Saludos
Adrian Alonso
http://aalonso.wordpress.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-u-boot_git.bb-add-xilinx-ml507-support.patch
Type: text/x-patch
Size: 2020 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100322/ad403b8e/attachment-0002.bin>


More information about the Openembedded-devel mailing list