* [PATCH v2] u-boot_git.bb: add xilinx ml507 support
@ 2010-03-22 17:24 Adrian Alonso
2010-03-22 18:11 ` Stefan Schmidt
0 siblings, 1 reply; 3+ messages in thread
From: Adrian Alonso @ 2010-03-22 17:24 UTC (permalink / raw)
To: openembedded-devel
* Based on xilinx official repos
* If a hardware project dir is set in local.conf XILINX_BSP_PATH
* it will over write xparameters header and append some canonical
* definitions. It also install u-boot elf executable for bare metal
* execution, early development stages.
Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
---
recipes/u-boot/u-boot_git.bb | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/recipes/u-boot/u-boot_git.bb b/recipes/u-boot/u-boot_git.bb
index fb81caf..928642d 100644
--- a/recipes/u-boot/u-boot_git.bb
+++ b/recipes/u-boot/u-boot_git.bb
@@ -1,5 +1,5 @@
require u-boot.inc
-PR ="r42"
+PR ="r43"
FILESPATHPKG =. "u-boot-git:"
@@ -207,6 +207,9 @@ SRC_URI_append_c7x0 = "file://pdaXrom-u-boot.patch;patch=1 \
SRC_URI_sheevaplug = "git://git.denx.de/u-boot-marvell.git;protocol=git;branch=testing"
SRCREV_sheevaplug = "119b9942da2e450d4e525fc004208dd7f7d062e0"
+SRC_URI_xilinx-ml507 = "git://git.xilinx.com/u-boot-xlnx.git;protocol=git"
+SRCREV_xilinx-ml507 = "26e999650cf77c16f33c580abaadab2532f5e8b2"
+
S = "${WORKDIR}/git"
@@ -237,3 +240,19 @@ do_deploy_prepend_mini2440() {
do_deploy_prepend_micro2440() {
cp ${S}/u-boot-nand16k.bin ${S}/u-boot.bin
}
+
+do_configure_prepend_xilinx-ml507() {
+if [ -e "${XILINX_BSP_PATH}/ppc440_0/include/xparameters.h" ]; then
+ cp ${XILINX_BSP_PATH}/ppc440_0/include/xparameters.h \
+ ${S}/board/xilinx/ml507
+ echo "#define XPAR_PLB_CLOCK_FREQ_HZ XPAR_CPU_PPC440_MPLB_FREQ_HZ
+#define XPAR_CORE_CLOCK_FREQ_HZ XPAR_CPU_PPC440_CORE_CLOCK_FREQ_HZ
+#define XPAR_PCI_0_CLOCK_FREQ_HZ 0" >> ${S}/board/xilinx/ml507/xparameters.h
+fi
+}
+
+do_deploy_prepend_xilinx-ml507() {
+if [ -d "${XILINX_BSP_PATH}" ]; then
+ install ${S}/u-boot ${XILINX_BSP_PATH}
+fi
+}
--
1.6.6.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2] u-boot_git.bb: add xilinx ml507 support
2010-03-22 17:24 [PATCH v2] u-boot_git.bb: add xilinx ml507 support Adrian Alonso
@ 2010-03-22 18:11 ` Stefan Schmidt
2010-03-22 18:18 ` Adrian Alonso
0 siblings, 1 reply; 3+ messages in thread
From: Stefan Schmidt @ 2010-03-22 18:11 UTC (permalink / raw)
To: openembedded-devel
Hello.
On Mon, 2010-03-22 at 11:24, Adrian Alonso wrote:
> * Based on xilinx official repos
> * If a hardware project dir is set in local.conf XILINX_BSP_PATH
> * it will over write xparameters header and append some canonical
> * definitions. It also install u-boot elf executable for bare metal
> * execution, early development stages.
>
> Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Applied and pushed out.
regards
Stefan Schmidt
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2] u-boot_git.bb: add xilinx ml507 support
2010-03-22 18:11 ` Stefan Schmidt
@ 2010-03-22 18:18 ` Adrian Alonso
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Alonso @ 2010-03-22 18:18 UTC (permalink / raw)
To: openembedded-devel
Thanks,
On Mon, Mar 22, 2010 at 12:11 PM, Stefan Schmidt
<stefan@datenfreihafen.org>wrote:
> Hello.
>
> On Mon, 2010-03-22 at 11:24, Adrian Alonso wrote:
> > * Based on xilinx official repos
> > * If a hardware project dir is set in local.conf XILINX_BSP_PATH
> > * it will over write xparameters header and append some canonical
> > * definitions. It also install u-boot elf executable for bare metal
> > * execution, early development stages.
> >
> > Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
>
> Applied and pushed out.
>
> regards
> Stefan Schmidt
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
--
Saludos
Adrian Alonso
http://aalonso.wordpress.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-22 18:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-22 17:24 [PATCH v2] u-boot_git.bb: add xilinx ml507 support Adrian Alonso
2010-03-22 18:11 ` Stefan Schmidt
2010-03-22 18:18 ` Adrian Alonso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox