summaryrefslogtreecommitdiff
path: root/recipes/u-boot
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2009-11-04 11:48:39 +0000
committerGraeme Gregory <dp@xora.org.uk>2009-11-04 11:48:39 +0000
commit4b5a2ca27aeadda74fc48931e2a0e66ddb4ced5b (patch)
treeb88a6875af3ddbc7c61d90e3302f21e1221214f8 /recipes/u-boot
parent6ccc0b7bd8208c36ed7f581c0f9e45df7e686468 (diff)
parent2f0ed0594046903fb8033852e05a0de6b1f02914 (diff)
Merge branch 'org.openembedded.dev' of git+ssh://git@git.openembedded.org/openembedded into org.openembedded.dev
Diffstat (limited to 'recipes/u-boot')
-rw-r--r--recipes/u-boot/u-boot-omap3pandora_git.bb11
-rw-r--r--recipes/u-boot/u-boot.inc3
-rw-r--r--recipes/u-boot/u-boot_git.bb13
3 files changed, 16 insertions, 11 deletions
diff --git a/recipes/u-boot/u-boot-omap3pandora_git.bb b/recipes/u-boot/u-boot-omap3pandora_git.bb
index e9e88fabe4..77634aa080 100644
--- a/recipes/u-boot/u-boot-omap3pandora_git.bb
+++ b/recipes/u-boot/u-boot-omap3pandora_git.bb
@@ -3,24 +3,17 @@ require u-boot.inc
COMPATIBLE_MACHINE = "omap3-pandora"
# Latest SRCREV for the final shipping boards.
-SRCREV = "0ffcce5dad2153f5f3094f9114b1ae50aef2f5ad"
-
-# Latest SRCREV for the rev2 < boards.
-#SRCREV = "f1cc097b8a8c3c5e1bb6fbec906cfedd939c5be3"
+SRCREV = "70532c1152662f88ba1e0627c96307d93536508f"
PROVIDES = "u-boot"
PV = "pandora+${PR}+gitr${SRCREV}"
-PR ="r2"
+PR ="r3"
PE = "1"
SRC_URI = "git://git.openpandora.org/pandora-u-boot.git;branch=master;protocol=git \
"
-# Rev 2 tree
-#SRC_URI = "git://git.openpandora.org/pandora-u-boot.git;branch=rev3;protocol=git \
-#"
-
UBOOT_MACHINE_omap3-pandora = "omap3_pandora_config"
S = "${WORKDIR}/git"
diff --git a/recipes/u-boot/u-boot.inc b/recipes/u-boot/u-boot.inc
index 8ab0282743..6fdbaac87f 100644
--- a/recipes/u-boot/u-boot.inc
+++ b/recipes/u-boot/u-boot.inc
@@ -13,6 +13,7 @@ PARALLEL_MAKE=""
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
UBOOT_MACHINE ?= "${MACHINE}_config"
+UBOOT_BINARY ?= "u-boot.bin"
UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin"
UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin"
@@ -39,7 +40,7 @@ do_install () {
do_deploy () {
install -d ${DEPLOY_DIR_IMAGE}
- install ${S}/u-boot.bin ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE}
+ install ${S}/${UBOOT_BINARY} ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE}
package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${UBOOT_IMAGE}
cd ${DEPLOY_DIR_IMAGE}
diff --git a/recipes/u-boot/u-boot_git.bb b/recipes/u-boot/u-boot_git.bb
index 15c3060a39..59c0598f97 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 ="r32"
+PR ="r33"
FILESPATHPKG =. "u-boot-git:"
@@ -143,6 +143,9 @@ SRC_URI_append_c7x0 = "file://pdaXrom-u-boot.patch;patch=1 \
file://uboot-eabi-fix-HACK2.patch;patch=1 \
file://corgi-standard-partitioning.patch;patch=1 \
"
+SRC_URI_sheevaplug = "git://git.denx.de/u-boot-marvell.git;protocol=git;branch=testing"
+SRCREV_sheevaplug = "119b9942da2e450d4e525fc004208dd7f7d062e0"
+
S = "${WORKDIR}/git"
@@ -158,6 +161,14 @@ do_configure_prepend_c7x0() {
sed -i s:ROOT_FLASH_SIZE:${ROOT_FLASH_SIZE}:g ${S}/include/configs/corgi.h
}
+do_compile_append_sheevaplug() {
+ oe_runmake u-boot.kwb
+}
+
+UBOOT_IMAGE_sheevaplug = "u-boot-${MACHINE}-${PV}-${PR}.kwb"
+UBOOT_BINARY_sheevaplug = "u-boot.kwb"
+UBOOT_SYMLINK_sheevaplug ?= "u-boot-${MACHINE}.kwb"
+
do_deploy_prepend_mini2440() {
cp ${S}/u-boot-nand16k.bin ${S}/u-boot.bin
}