Skip to contentSkip to conversation

meta-xilinx powerpc bsp

GIT PULL New Adrian Alonso 2 participants 7 messages Mar 1, 2011 – Mar 3, 2011 Arm/Zynq architecture

lore
Share & tools
lore
#0 lore raw

Several fixes for meta-xilinx powerpc bsp support

Pull URL: git://git.pokylinux.org/meta-xilinx.git
Branch: powerpc-support
Browse: http://git.pokylinux.org/cgit.cgi/meta-xilinx/log/?h=powerpc-support

Thanks,
Adrian Alonso <[email protected]>
---

Adrian Alonso (5):
virtex4: add u-boot image to rootfs
virtex5: add u-boot image to rootfs
u-boot-xilinx: fix missing license definition
openssl: Fix files search path
linux-xilinx: update kernel version

 conf/machine/virtex4.conf                          |    2 +
 conf/machine/virtex5.conf                          |    2 +
 recipes-bsp/uboot/u-boot-xilinx_git.bb             |    6 +-
 ...enssl-linux-gnueabi-powerpc-configuration.patch |    0
 .../openssl/openssl_0.9.8p.bbappend                |    5 +-
 recipes-kernel/linux/linux-xilinx_git.bb           |    8 +-
 recipes-kernel/linux/linux.inc                     |   95 ++++++++++++++++++++
 7 files changed, 109 insertions(+), 9 deletions(-)
 rename recipes-connectivity/openssl/{openssl-0.9.8p => files}/openssl-linux-gnueabi-powerpc-configuration.patch (100%)
 create mode 100644 recipes-kernel/linux/linux.inc
Signature · 1 line
1.7.4
#1 lore raw

PATCH 1/5 virtex4: add u-boot image to rootfs

* Add u-boot image to EXTRA_IMAGEDEPENDS
Trigger u-boot elf built and to be exported to hardware project path (see xilinx-boot.bbclass).

---
 conf/machine/virtex4.conf |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
conf/machine/virtex4.conf +2 -0
index f9643cb..114b4b7 100644
@@ -13,6 +13,8 @@ require conf/machine/include/tune-ppc405.inc
 
 PREFERRED_PROVIDER_virtual/kernel = "linux-xilinx"
 PREFERRED_VERSION_u-boot_virtex4 = "u-boot-xilinx"
+# Add u-boot image
+EXTRA_IMAGEDEPENDS += "u-boot-xilinx"
 
 KERNEL_IMAGETYPE = "uImage"
 
Signature · 1 line
1.7.4
#2 lore raw

PATCH 2/5 virtex5: add u-boot image to rootfs

In reply to Adrian Alonso

* Add u-boot image to EXTRA_IMAGEDEPENDS
Trigger u-boot elf built and to be exported to hardware project path (see xilinx-boot.bbclass).

---
 conf/machine/virtex5.conf |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
conf/machine/virtex5.conf +2 -0
index 232ab6a..b9ea61e 100644
@@ -13,6 +13,8 @@ require conf/machine/include/tune-ppc440.inc
 #ASSUME_PROVIDED += "virtual/kernel"
 PREFERRED_PROVIDER_virtual/kernel = "linux-xilinx"
 PREFERRED_VERSION_u-boot_virtex5 = "u-boot-xilinx"
+# Add u-boot image
+EXTRA_IMAGEDEPENDS += "u-boot-xilinx"
 
 KERNEL_IMAGETYPE = "uImage"
 
Signature · 1 line
1.7.4
#3 lore raw

PATCH 3/5 u-boot-xilinx: fix missing license definition

In reply to Adrian Alonso

* Fix missing LICENSE definition
* Update u-boot-xilinx preferred version (sync with xilinx repo).
* Increase PR

---
 recipes-bsp/uboot/u-boot-xilinx_git.bb |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
recipes-bsp/uboot/u-boot-xilinx_git.bb +4 -2
index 49f5ad4..2483c4b 100644
@@ -1,12 +1,14 @@
 require recipes-bsp/uboot/u-boot.inc
-PR = "r7"
+PR = "r8"
 THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
 FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:"
+LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b"
 
 EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} OPTFLAGS='-O2'"
 BRANCH="master"
-TAG="e094f2479ea339d7f48b6826f06f0be4984d9a98"
+#TAG="e094f2479ea339d7f48b6826f06f0be4984d9a98"
+TAG="d49297009f402a20dd59b21212975dd3d79ee6fd"
 SRC_URI = "git://git.xilinx.com/u-boot-xlnx.git;branch=${BRANCH};protocol=git \
            file://uboot-remove-inline-qualifier-from-show_boot_progres.patch \
            file://ml405-add-uartlite-config-options.patch \
Signature · 1 line
1.7.4
#4 lore raw

PATCH 4/5 openssl: Fix files search path

In reply to Adrian Alonso

* Fix FILESPATH, recipe not finding layer patch
rename PN to files

---
 ...enssl-linux-gnueabi-powerpc-configuration.patch |    0
 .../openssl/openssl_0.9.8p.bbappend                |    5 ++---
 2 files changed, 2 insertions(+), 3 deletions(-)
 rename recipes-connectivity/openssl/{openssl-0.9.8p => files}/openssl-linux-gnueabi-powerpc-configuration.patch (100%)
recipes-connectivity/openssl/files/openssl-linux-gnueabi-powerpc-configuration.patch renamed from recipes-connectivity/openssl/openssl-0.9.8p/openssl-linux-gnueabi-powerpc-configuration.patch +0 -0
similarity index 100%
rename from recipes-connectivity/openssl/openssl-0.9.8p/openssl-linux-gnueabi-powerpc-configuration.patch
rename to recipes-connectivity/openssl/files/openssl-linux-gnueabi-powerpc-configuration.patch
recipes-connectivity/openssl/openssl_0.9.8p.bbappend +2 -3
index 381f31c..91f7a85 100644
@@ -1,5 +1,4 @@
 THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+FILESPATH =. "${@base_set_filespath(["${THISDIR}/files"], d)}:"
 
-SRC_URI_append += "file://openssl-linux-gnueabi-powerpc-configuration.patch \
-                  "
+SRC_URI_append += "file://openssl-linux-gnueabi-powerpc-configuration.patch"
Signature · 1 line
1.7.4
#5 lore raw

PATCH 5/5 linux-xilinx: update kernel version

In reply to Adrian Alonso

* Sync kernel version to 2.6.37 from xilinx repo
* Add linux.inc to meta-xilinx layer (deprecated in main layer).
* Increase PR

---
 recipes-kernel/linux/linux-xilinx_git.bb |    8 +-
 recipes-kernel/linux/linux.inc           |   95 ++++++++++++++++++++++++++++++
 2 files changed, 99 insertions(+), 4 deletions(-)
 create mode 100644 recipes-kernel/linux/linux.inc
recipes-kernel/linux/linux-xilinx_git.bb +4 -4
index 1d15437..8ef2d5a 100644
@@ -1,4 +1,4 @@
-require recipes-kernel/linux/linux.inc
+require linux.inc
 
 DESCRIPTION = "Linux kernel for Xilinx platforms"
 
@@ -10,9 +10,9 @@ DEFAULT_PREFERENCE_virtex5 = "1"
 LICENSE = "GPL"
 LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
 
-TAG="xilinx_v2.6.37-rc4"
-PV = "2.6.37.4"
-PR = "r5"
+TAG="xilinx_v2.6.37"
+PV = "2.6.37"
+PR = "r6"
 
 SRCREV = "${TAG}"
 SRC_URI = "git://git.xilinx.com/linux-2.6-xlnx.git;protocol=git \
recipes-kernel/linux/linux.inc new file +95 -0

95 lines not on this page · raw message

Signature · 1 line
1.7.4
#6 lore raw
In reply to Adrian Alonso
Quoted 26 lines · Adrian Alonso

Several fixes for meta-xilinx powerpc bsp support

Pull URL: git://git.pokylinux.org/meta-xilinx.git
Branch: powerpc-support
Browse: http://git.pokylinux.org/cgit.cgi/meta-xilinx/log/?h=powerpc-support

Thanks,
Adrian Alonso<[email protected]>
---

Adrian Alonso (5):
virtex4: add u-boot image to rootfs
virtex5: add u-boot image to rootfs
u-boot-xilinx: fix missing license definition
openssl: Fix files search path
linux-xilinx: update kernel version

  conf/machine/virtex4.conf                          |    2 +
  conf/machine/virtex5.conf                          |    2 +
  recipes-bsp/uboot/u-boot-xilinx_git.bb             |    6 +-
  ...enssl-linux-gnueabi-powerpc-configuration.patch |    0
  .../openssl/openssl_0.9.8p.bbappend                |    5 +-
  recipes-kernel/linux/linux-xilinx_git.bb           |    8 +-
  recipes-kernel/linux/linux.inc                     |   95 ++++++++++++++++++++
  7 files changed, 109 insertions(+), 9 deletions(-)
Quoted 3 lines

rename recipes-connectivity/openssl/{openssl-0.9.8p => files}/openssl-linux-gnueabi-powerpc-configuration.patch (100%) create mode 100644 recipes-kernel/linux/linux.inc

Merged these into meta-xilinx

Thanks
Sau!