* [PATCH] linux.inc: add device tree for xilinx ml507 Signed-off-by: aalonso <aalonso00@gmail.com>
@ 2010-02-15 20:15 aalonso
2010-02-15 20:15 ` [PATCH] tune-ppc440.inc: add ppc440 to PACKAGE_EXTRA_ARCHS " aalonso
2010-02-15 20:23 ` [PATCH] linux.inc: add device tree for xilinx ml507 " Koen Kooi
0 siblings, 2 replies; 5+ messages in thread
From: aalonso @ 2010-02-15 20:15 UTC (permalink / raw)
To: openembedded-devel
---
recipes/linux/linux.inc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc
index 7405c08..b562657 100644
--- a/recipes/linux/linux.inc
+++ b/recipes/linux/linux.inc
@@ -38,6 +38,7 @@ KERNEL_DEVICETREE_mpc8313e-rdb = "arch/${ARCH}/boot/dts/mpc8313erdb.dts"
KERNEL_DEVICETREE_mpc8315e-rdb = "arch/${ARCH}/boot/dts/mpc8315erdb.dts"
KERNEL_DEVICETREE_mpc8323e-rdb = "arch/${ARCH}/boot/dts/mpc832x_rdb.dts"
KERNEL_DEVICETREE_sequoia = "arch/${ARCH}/boot/dts/sequoia.dts"
+KERNEL_DEVICETREE_xilinx-ml507 = "arch/${ARCH}/boot/dts/virtex440-ml507.dts"
KERNEL_DEVICETREE_FLAGS = "-R 8 -S 0x3000"
--
1.6.6
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH] tune-ppc440.inc: add ppc440 to PACKAGE_EXTRA_ARCHS Signed-off-by: aalonso <aalonso00@gmail.com>
2010-02-15 20:15 [PATCH] linux.inc: add device tree for xilinx ml507 Signed-off-by: aalonso <aalonso00@gmail.com> aalonso
@ 2010-02-15 20:15 ` aalonso
2010-02-15 20:15 ` [PATCH] xilinx-bsp.bbclass: add support for xilinx ml507 " aalonso
2010-02-15 20:23 ` [PATCH] linux.inc: add device tree for xilinx ml507 " Koen Kooi
1 sibling, 1 reply; 5+ messages in thread
From: aalonso @ 2010-02-15 20:15 UTC (permalink / raw)
To: openembedded-devel
---
conf/machine/include/tune-ppc440.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/conf/machine/include/tune-ppc440.inc b/conf/machine/include/tune-ppc440.inc
index feca186..0c41db4 100644
--- a/conf/machine/include/tune-ppc440.inc
+++ b/conf/machine/include/tune-ppc440.inc
@@ -1,4 +1,4 @@
TARGET_CC_ARCH = "-mcpu=440"
BASE_PACKAGE_ARCH = "ppc440"
FEED_ARCH = "ppc440"
-PACKAGE_EXTRA_ARCHS += "ppc440e"
+PACKAGE_EXTRA_ARCHS += "ppc440 ppc440e"
--
1.6.6
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH] xilinx-bsp.bbclass: add support for xilinx ml507 Signed-off-by: aalonso <aalonso00@gmail.com>
2010-02-15 20:15 ` [PATCH] tune-ppc440.inc: add ppc440 to PACKAGE_EXTRA_ARCHS " aalonso
@ 2010-02-15 20:15 ` aalonso
2010-02-15 20:15 ` [PATCH] xilinx-ml507.conf: New config for xilinx ml507 devboard " aalonso
0 siblings, 1 reply; 5+ messages in thread
From: aalonso @ 2010-02-15 20:15 UTC (permalink / raw)
To: openembedded-devel
---
classes/xilinx-bsp.bbclass | 56 +++++++++++++++++++++----------------------
1 files changed, 27 insertions(+), 29 deletions(-)
diff --git a/classes/xilinx-bsp.bbclass b/classes/xilinx-bsp.bbclass
index f657e5b..c719b3b 100644
--- a/classes/xilinx-bsp.bbclass
+++ b/classes/xilinx-bsp.bbclass
@@ -3,7 +3,7 @@
#
#This class handles all the intricasies of getting the required files from the
#ISE/EDK/project to the kernel and prepare the kernel for compilation.
-#The Xilinx EDK supports 2 different architectures : PowerPC (ppc 405) and Microblaze
+#The Xilinx EDK supports 2 different architectures : PowerPC (ppc 405,440) and Microblaze
#Only the PowerPC BSP has been tested so far
#For this to work correctly you need to add XILINX_BSP_PATH and XILINX_BOARD to your
#local.conf
@@ -12,42 +12,40 @@
#
#Currently supported boards
#Xilinx ML403
+#Xilinx ML507
#More to come soon ;)
do_configure_prepend() {
-
#first check that the XILINX_BSP_PATH and XILINX_BOARD have been defined in local.conf
-if [ -z "${XILINX_BSP_PATH}" ]; then
- oefatal "XILINX_BSP_PATH not defined ! Exiting..."
- exit 1
-
-else
- if [ -z "${XILINX_BOARD}" ]; then
- oefatal "XILINX_BOARD not defined ! Exiting"
- exit 1
- fi
-
-fi
#now depending on the board type and arch do what is nessesary
-case "${XILINX_BOARD}" in
- ML403)
- oenote "ML403 board setup"
- cp -pPR ${XILINX_BSP_PATH}/ppc405_0/libsrc/linux_2_6_v1_00_a/linux/arch/ppc/platforms/4xx/xparameters/xparameters_ml40x.h \
+if [ -n "${XILINX_BSP_PATH}" ]; then
+ case "${XILINX_BOARD}" in
+ ml403 | ML403)
+ oenote "ML403 board setup"
+ cp -pPR ${XILINX_BSP_PATH}/ppc405_0/libsrc/linux_2_6_v1_00_a/linux/arch/ppc/platforms/4xx/xparameters/xparameters_ml40x.h \
${S}/arch/ppc/platforms/4xx/xparameters/xparameters_ml403.h
- ;;
-
- * )
- oefatal "! Unknow Xilinx board ! Exiting..."
- exit 1
- ;;
-esac
-
+ ;;
+ ml507 | ML507)
+ oenote "Xilinx ML507 board setup"
+ dts=`find "${XILINX_BSP_PATH}" -name *.dts -print`
+ if [ -n "$dts" ]; then
+ oenote "Replacing device tree with ${dts}"
+ cp -pP ${dts} ${S}/arch/powerpc/boot/dts/virtex440-ml507.dts
+ else
+ oenote "Device tree not found in project dir"
+ fi
+ ;;
+ *)
+ oefatal "! Unknow Xilinx board ! Exit ..."
+ exit 1
+ ;;
+ esac
+else
+ oefatal "XILINX_BSP_PATH not defined ! Exit"
+ exit 1
+fi
}
-
-
-
-
--
1.6.6
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH] xilinx-ml507.conf: New config for xilinx ml507 devboard Signed-off-by: aalonso <aalonso00@gmail.com>
2010-02-15 20:15 ` [PATCH] xilinx-bsp.bbclass: add support for xilinx ml507 " aalonso
@ 2010-02-15 20:15 ` aalonso
0 siblings, 0 replies; 5+ messages in thread
From: aalonso @ 2010-02-15 20:15 UTC (permalink / raw)
To: openembedded-devel
---
conf/machine/xilinx-ml507.conf | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
create mode 100644 conf/machine/xilinx-ml507.conf
diff --git a/conf/machine/xilinx-ml507.conf b/conf/machine/xilinx-ml507.conf
new file mode 100644
index 0000000..c376cfe
--- /dev/null
+++ b/conf/machine/xilinx-ml507.conf
@@ -0,0 +1,33 @@
+# Copyright (C) 2010, Adrian Alonso <aalonso00@gmail.com>
+# Released under the MIT license (see packages/COPYING)
+#@TYPE: Machine
+#@Name: Xilinx ML507 FPGA Development Platform
+#@DESCRIPTION: Machine configuration for Xilinx ML507
+
+TARGET_ARCH = "powerpc"
+TARGET_CPU = "440"
+TARGET_FPU = "soft"
+#tune for the 440 cpu
+require conf/machine/include/tune-ppc440.inc
+
+#ASSUME_PROVIDED += "virtual/kernel"
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+
+KERNEL_IMAGETYPE = "uImage"
+
+MACHINE_FEATURES = "kernel26 ext2 usbhost udev"
+MACHINE_EXTRA_RECOMMENDS = "kernel-modules"
+
+UBOOT_ARCH = "ppc"
+UBOOT_MACHINE = "ml507_defconfig"
+
+# Xilinx EDK override paramater definitions for xilinx-bsp
+# Include in your local.conf
+# XILINX_BSP_PATH = "complete path for Xilinx EDK project"
+# XILINX_BOARD = "ml507"
+
+# Don't use tty1
+USE_VT = "0"
+SERIAL_CONSOLE = "115200 ttyS0"
+
+
--
1.6.6
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] linux.inc: add device tree for xilinx ml507 Signed-off-by: aalonso <aalonso00@gmail.com>
2010-02-15 20:15 [PATCH] linux.inc: add device tree for xilinx ml507 Signed-off-by: aalonso <aalonso00@gmail.com> aalonso
2010-02-15 20:15 ` [PATCH] tune-ppc440.inc: add ppc440 to PACKAGE_EXTRA_ARCHS " aalonso
@ 2010-02-15 20:23 ` Koen Kooi
1 sibling, 0 replies; 5+ messages in thread
From: Koen Kooi @ 2010-02-15 20:23 UTC (permalink / raw)
To: openembedded-devel
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
It seems you fell victim to the "git needs blank line between summarry
and body" maffia and git put everything in the subject line. Could you
regenerate and resend please?
regards,
Koen
On 15-02-10 21:15, aalonso wrote:
> ---
> recipes/linux/linux.inc | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc
> index 7405c08..b562657 100644
> --- a/recipes/linux/linux.inc
> +++ b/recipes/linux/linux.inc
> @@ -38,6 +38,7 @@ KERNEL_DEVICETREE_mpc8313e-rdb = "arch/${ARCH}/boot/dts/mpc8313erdb.dts"
> KERNEL_DEVICETREE_mpc8315e-rdb = "arch/${ARCH}/boot/dts/mpc8315erdb.dts"
> KERNEL_DEVICETREE_mpc8323e-rdb = "arch/${ARCH}/boot/dts/mpc832x_rdb.dts"
> KERNEL_DEVICETREE_sequoia = "arch/${ARCH}/boot/dts/sequoia.dts"
> +KERNEL_DEVICETREE_xilinx-ml507 = "arch/${ARCH}/boot/dts/virtex440-ml507.dts"
>
> KERNEL_DEVICETREE_FLAGS = "-R 8 -S 0x3000"
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFLea1FMkyGM64RGpERArh3AKCLPoXbnPAhfNAVo+RFo0ybG906IACfeuaP
4Raof8c0plbGFLXVlU1jTxs=
=TIcr
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-02-15 20:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-15 20:15 [PATCH] linux.inc: add device tree for xilinx ml507 Signed-off-by: aalonso <aalonso00@gmail.com> aalonso
2010-02-15 20:15 ` [PATCH] tune-ppc440.inc: add ppc440 to PACKAGE_EXTRA_ARCHS " aalonso
2010-02-15 20:15 ` [PATCH] xilinx-bsp.bbclass: add support for xilinx ml507 " aalonso
2010-02-15 20:15 ` [PATCH] xilinx-ml507.conf: New config for xilinx ml507 devboard " aalonso
2010-02-15 20:23 ` [PATCH] linux.inc: add device tree for xilinx ml507 " Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.