* [PATCH] u-boot: package up u-boot.bin for field upgrades
@ 2011-05-30 12:01 Koen Kooi
2011-06-01 9:22 ` Koen Kooi
2011-06-03 0:07 ` Saul Wold
0 siblings, 2 replies; 3+ messages in thread
From: Koen Kooi @ 2011-05-30 12:01 UTC (permalink / raw)
To: openembedded-core; +Cc: Koen Kooi
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
meta/recipes-bsp/uboot/u-boot.inc | 11 +++++++++++
meta/recipes-bsp/uboot/u-boot_2011.03.bb | 2 +-
2 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/meta/recipes-bsp/uboot/u-boot.inc b/meta/recipes-bsp/uboot/u-boot.inc
index 83dfb6f..2be9fc9 100644
--- a/meta/recipes-bsp/uboot/u-boot.inc
+++ b/meta/recipes-bsp/uboot/u-boot.inc
@@ -21,6 +21,7 @@ python () {
}
UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin"
+UBOOT_BINARY ?= "u-boot.bin"
UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin"
UBOOT_MAKE_TARGET ?= "all"
@@ -32,6 +33,16 @@ do_compile () {
oe_runmake ${UBOOT_MAKE_TARGET}
}
+do_install () {
+ install -d ${D}/boot
+ install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
+ ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
+}
+
+FILES_${PN} = "/boot"
+# no gnu_hash in uboot.bin, by design, so skip QA
+INSANE_SKIP_${PN} = True
+
do_deploy () {
install ${S}/u-boot.bin ${DEPLOYDIR}/${UBOOT_IMAGE}
diff --git a/meta/recipes-bsp/uboot/u-boot_2011.03.bb b/meta/recipes-bsp/uboot/u-boot_2011.03.bb
index 0fbb9ba..07f0609 100644
--- a/meta/recipes-bsp/uboot/u-boot_2011.03.bb
+++ b/meta/recipes-bsp/uboot/u-boot_2011.03.bb
@@ -14,7 +14,7 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-git/${MACHINE
SRCREV = "v2011.03"
PV = "v2011.03+git${SRCPV}"
-PR="r3"
+PR="r4"
SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
--
1.6.6.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] u-boot: package up u-boot.bin for field upgrades
2011-05-30 12:01 [PATCH] u-boot: package up u-boot.bin for field upgrades Koen Kooi
@ 2011-06-01 9:22 ` Koen Kooi
2011-06-03 0:07 ` Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Koen Kooi @ 2011-06-01 9:22 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
ping
Op 30 mei 2011, om 14:01 heeft Koen Kooi het volgende geschreven:
> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
> ---
> meta/recipes-bsp/uboot/u-boot.inc | 11 +++++++++++
> meta/recipes-bsp/uboot/u-boot_2011.03.bb | 2 +-
> 2 files changed, 12 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-bsp/uboot/u-boot.inc b/meta/recipes-bsp/uboot/u-boot.inc
> index 83dfb6f..2be9fc9 100644
> --- a/meta/recipes-bsp/uboot/u-boot.inc
> +++ b/meta/recipes-bsp/uboot/u-boot.inc
> @@ -21,6 +21,7 @@ python () {
> }
>
> UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin"
> +UBOOT_BINARY ?= "u-boot.bin"
> UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin"
> UBOOT_MAKE_TARGET ?= "all"
>
> @@ -32,6 +33,16 @@ do_compile () {
> oe_runmake ${UBOOT_MAKE_TARGET}
> }
>
> +do_install () {
> + install -d ${D}/boot
> + install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
> + ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
> +}
> +
> +FILES_${PN} = "/boot"
> +# no gnu_hash in uboot.bin, by design, so skip QA
> +INSANE_SKIP_${PN} = True
> +
> do_deploy () {
> install ${S}/u-boot.bin ${DEPLOYDIR}/${UBOOT_IMAGE}
>
> diff --git a/meta/recipes-bsp/uboot/u-boot_2011.03.bb b/meta/recipes-bsp/uboot/u-boot_2011.03.bb
> index 0fbb9ba..07f0609 100644
> --- a/meta/recipes-bsp/uboot/u-boot_2011.03.bb
> +++ b/meta/recipes-bsp/uboot/u-boot_2011.03.bb
> @@ -14,7 +14,7 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-git/${MACHINE
>
> SRCREV = "v2011.03"
> PV = "v2011.03+git${SRCPV}"
> -PR="r3"
> +PR="r4"
>
> SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>
> --
> 1.6.6.1
>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] u-boot: package up u-boot.bin for field upgrades
2011-05-30 12:01 [PATCH] u-boot: package up u-boot.bin for field upgrades Koen Kooi
2011-06-01 9:22 ` Koen Kooi
@ 2011-06-03 0:07 ` Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2011-06-03 0:07 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Koen Kooi
On 05/30/2011 05:01 AM, Koen Kooi wrote:
> Signed-off-by: Koen Kooi<koen@dominion.thruhere.net>
> ---
> meta/recipes-bsp/uboot/u-boot.inc | 11 +++++++++++
> meta/recipes-bsp/uboot/u-boot_2011.03.bb | 2 +-
> 2 files changed, 12 insertions(+), 1 deletions(-)
>
> diff --git a/meta/recipes-bsp/uboot/u-boot.inc b/meta/recipes-bsp/uboot/u-boot.inc
> index 83dfb6f..2be9fc9 100644
> --- a/meta/recipes-bsp/uboot/u-boot.inc
> +++ b/meta/recipes-bsp/uboot/u-boot.inc
> @@ -21,6 +21,7 @@ python () {
> }
>
> UBOOT_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.bin"
> +UBOOT_BINARY ?= "u-boot.bin"
> UBOOT_SYMLINK ?= "u-boot-${MACHINE}.bin"
> UBOOT_MAKE_TARGET ?= "all"
>
> @@ -32,6 +33,16 @@ do_compile () {
> oe_runmake ${UBOOT_MAKE_TARGET}
> }
>
> +do_install () {
> + install -d ${D}/boot
> + install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
> + ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
> +}
> +
> +FILES_${PN} = "/boot"
> +# no gnu_hash in uboot.bin, by design, so skip QA
> +INSANE_SKIP_${PN} = True
> +
> do_deploy () {
> install ${S}/u-boot.bin ${DEPLOYDIR}/${UBOOT_IMAGE}
>
> diff --git a/meta/recipes-bsp/uboot/u-boot_2011.03.bb b/meta/recipes-bsp/uboot/u-boot_2011.03.bb
> index 0fbb9ba..07f0609 100644
> --- a/meta/recipes-bsp/uboot/u-boot_2011.03.bb
> +++ b/meta/recipes-bsp/uboot/u-boot_2011.03.bb
> @@ -14,7 +14,7 @@ FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-git/${MACHINE
>
> SRCREV = "v2011.03"
> PV = "v2011.03+git${SRCPV}"
> -PR="r3"
> +PR="r4"
>
> SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>
Merged into oe-core, thanks for your patience US was on holiday on Monday
Thanks
Sau!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-03 0:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-30 12:01 [PATCH] u-boot: package up u-boot.bin for field upgrades Koen Kooi
2011-06-01 9:22 ` Koen Kooi
2011-06-03 0:07 ` Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox