Patchwork u-boot: Use fw_env.config if available.

login
register
mail settings
Submitter Franklin S. Cooper Jr
Date Sept. 4, 2012, 9:35 p.m.
Message ID <1346794545-14277-1-git-send-email-fcooper27jr@gmail.com>
Download mbox | patch
Permalink /patch/35843/
State New
Headers show

Comments

Franklin S. Cooper Jr - Sept. 4, 2012, 9:35 p.m.
* Add support for board specific fw_env.config file if available.

Signed-off-by: Franklin S. Cooper Jr <fcooper27jr@gmail.com>
---
 meta/recipes-bsp/u-boot/u-boot.inc           |   16 +++++++++++-----
 meta/recipes-bsp/u-boot/u-boot_2011.03.bb    |    2 +-
 meta/recipes-bsp/u-boot/u-boot_2011.06.bb    |    2 +-
 meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb |    2 +-
 4 files changed, 14 insertions(+), 8 deletions(-)
Saul Wold - Sept. 6, 2012, 4:43 p.m.
On 09/04/2012 02:35 PM, Franklin S. Cooper Jr wrote:
> * Add support for board specific fw_env.config file if available.
>
> Signed-off-by: Franklin S. Cooper Jr <fcooper27jr@gmail.com>
> ---
>   meta/recipes-bsp/u-boot/u-boot.inc           |   16 +++++++++++-----
>   meta/recipes-bsp/u-boot/u-boot_2011.03.bb    |    2 +-
>   meta/recipes-bsp/u-boot/u-boot_2011.06.bb    |    2 +-
>   meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb |    2 +-
>   4 files changed, 14 insertions(+), 8 deletions(-)
>
> diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
> index a8642f0..ed587a6 100644
> --- a/meta/recipes-bsp/u-boot/u-boot.inc
> +++ b/meta/recipes-bsp/u-boot/u-boot.inc
> @@ -49,6 +49,11 @@ do_install () {
>       install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
>       ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
>
> +    if [ -e ${WORKDIR}/fw_env.config ] ; then
> +        install -d ${D}${sysconfdir}
> +        install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
> +    fi
> +
>       if [ "x${SPL_BINARY}" != "x" ]
>       then
>           install ${S}/${SPL_BINARY} ${D}/boot/${SPL_IMAGE}
> @@ -56,16 +61,17 @@ do_install () {
>       fi
>   }
>
> -FILES_${PN} = "/boot"
> +FILES_${PN} = "/boot$ {sysconfdir}"
>   FILESPATH =. "${FILE_DIRNAME}/u-boot-git/${MACHINE}:"
>
>   do_deploy () {
>       install -d ${DEPLOYDIR}
> -	install ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
> +    install ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
>
> -	cd ${DEPLOYDIR}
> -	rm -f ${UBOOT_SYMLINK}
> -	ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
> +    cd ${DEPLOYDIR}
> +    rm -f ${UBOOT_BINARY} ${UBOOT_SYMLINK}
> +    ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
> +    ln -sf ${UBOOT_IMAGE} ${UBOOT_BINARY}
>
>       if [ "x${SPL_BINARY}" != "x" ]
>       then
> diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
> index 8465395..a9cbeca 100644
> --- a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
> +++ b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
> @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
>   SRCREV = "19b54a701811220221fc4d5089a2bb18892018ca"
>
>   PV = "v2011.03+git${SRCPV}"
> -PR = "r7"
> +PR = "r8"
>
>   SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>
> diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb b/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
> index 9654795..a115ed2 100644
> --- a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
> +++ b/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
> @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
>   SRCREV = "b1af6f532e0d348b153d5c148369229d24af361a"
>
>   PV = "v2011.06+git${SRCPV}"
> -PR = "r2"
> +PR = "r3"
>
>   SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>
> diff --git a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
> index c4ec50d..6c099b1 100644
> --- a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
> +++ b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
> @@ -20,7 +20,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
>   SRCREV = "415d386877df49eb051b85ef74fa59a16dc17c7d"
>
>   PV = "v2012.04.01+git${SRCPV}"
> -PR = "r1"
> +PR = "r2"
>
>   SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>
>
Merged into OE-Core

Thanks
	Sau!
Franklin Cooper Jr. - Sept. 6, 2012, 11:35 p.m.
I released a second revision of this patch that should be used instead. http://patches.openembedded.org/patch/35845/

-----Original Message-----
From: Saul Wold [mailto:sgw@linux.intel.com] 
Sent: Thursday, September 06, 2012 11:44 AM
To: Franklin S. Cooper Jr
Cc: openembedded-core@lists.openembedded.org; Cooper Jr., Franklin; Franklin S. Cooper Jr
Subject: Re: [OE-core] [oe-core][PATCH] u-boot: Use fw_env.config if available.

On 09/04/2012 02:35 PM, Franklin S. Cooper Jr wrote:
> * Add support for board specific fw_env.config file if available.
>
> Signed-off-by: Franklin S. Cooper Jr <fcooper27jr@gmail.com>
> ---
>   meta/recipes-bsp/u-boot/u-boot.inc           |   16 +++++++++++-----
>   meta/recipes-bsp/u-boot/u-boot_2011.03.bb    |    2 +-
>   meta/recipes-bsp/u-boot/u-boot_2011.06.bb    |    2 +-
>   meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb |    2 +-
>   4 files changed, 14 insertions(+), 8 deletions(-)
>
> diff --git a/meta/recipes-bsp/u-boot/u-boot.inc 
> b/meta/recipes-bsp/u-boot/u-boot.inc
> index a8642f0..ed587a6 100644
> --- a/meta/recipes-bsp/u-boot/u-boot.inc
> +++ b/meta/recipes-bsp/u-boot/u-boot.inc
> @@ -49,6 +49,11 @@ do_install () {
>       install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
>       ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
>
> +    if [ -e ${WORKDIR}/fw_env.config ] ; then
> +        install -d ${D}${sysconfdir}
> +        install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
> +    fi
> +
>       if [ "x${SPL_BINARY}" != "x" ]
>       then
>           install ${S}/${SPL_BINARY} ${D}/boot/${SPL_IMAGE} @@ -56,16 
> +61,17 @@ do_install () {
>       fi
>   }
>
> -FILES_${PN} = "/boot"
> +FILES_${PN} = "/boot$ {sysconfdir}"
>   FILESPATH =. "${FILE_DIRNAME}/u-boot-git/${MACHINE}:"
>
>   do_deploy () {
>       install -d ${DEPLOYDIR}
> -	install ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
> +    install ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
>
> -	cd ${DEPLOYDIR}
> -	rm -f ${UBOOT_SYMLINK}
> -	ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
> +    cd ${DEPLOYDIR}
> +    rm -f ${UBOOT_BINARY} ${UBOOT_SYMLINK}
> +    ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
> +    ln -sf ${UBOOT_IMAGE} ${UBOOT_BINARY}
>
>       if [ "x${SPL_BINARY}" != "x" ]
>       then
> diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb 
> b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
> index 8465395..a9cbeca 100644
> --- a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
> +++ b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
> @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
>   SRCREV = "19b54a701811220221fc4d5089a2bb18892018ca"
>
>   PV = "v2011.03+git${SRCPV}"
> -PR = "r7"
> +PR = "r8"
>
>   SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>
> diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb 
> b/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
> index 9654795..a115ed2 100644
> --- a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
> +++ b/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
> @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
>   SRCREV = "b1af6f532e0d348b153d5c148369229d24af361a"
>
>   PV = "v2011.06+git${SRCPV}"
> -PR = "r2"
> +PR = "r3"
>
>   SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>
> diff --git a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb 
> b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
> index c4ec50d..6c099b1 100644
> --- a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
> +++ b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
> @@ -20,7 +20,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
>   SRCREV = "415d386877df49eb051b85ef74fa59a16dc17c7d"
>
>   PV = "v2012.04.01+git${SRCPV}"
> -PR = "r1"
> +PR = "r2"
>
>   SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>
>
Merged into OE-Core

Thanks
	Sau!
Saul Wold - Sept. 6, 2012, 11:40 p.m.
On 09/06/2012 04:35 PM, Cooper Jr., Franklin wrote:
> I released a second revision of this patch that should be used instead. http://patches.openembedded.org/patch/35845/
>

It's possible I made a mistake and replied to the wrong email, can you 
please check master and verify which version is there.  If it's the 
wrong version, please prepare a rebased patch.

Thanks
	Sau!


> -----Original Message-----
> From: Saul Wold [mailto:sgw@linux.intel.com]
> Sent: Thursday, September 06, 2012 11:44 AM
> To: Franklin S. Cooper Jr
> Cc: openembedded-core@lists.openembedded.org; Cooper Jr., Franklin; Franklin S. Cooper Jr
> Subject: Re: [OE-core] [oe-core][PATCH] u-boot: Use fw_env.config if available.
>
> On 09/04/2012 02:35 PM, Franklin S. Cooper Jr wrote:
>> * Add support for board specific fw_env.config file if available.
>>
>> Signed-off-by: Franklin S. Cooper Jr <fcooper27jr@gmail.com>
>> ---
>>    meta/recipes-bsp/u-boot/u-boot.inc           |   16 +++++++++++-----
>>    meta/recipes-bsp/u-boot/u-boot_2011.03.bb    |    2 +-
>>    meta/recipes-bsp/u-boot/u-boot_2011.06.bb    |    2 +-
>>    meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb |    2 +-
>>    4 files changed, 14 insertions(+), 8 deletions(-)
>>
>> diff --git a/meta/recipes-bsp/u-boot/u-boot.inc
>> b/meta/recipes-bsp/u-boot/u-boot.inc
>> index a8642f0..ed587a6 100644
>> --- a/meta/recipes-bsp/u-boot/u-boot.inc
>> +++ b/meta/recipes-bsp/u-boot/u-boot.inc
>> @@ -49,6 +49,11 @@ do_install () {
>>        install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
>>        ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
>>
>> +    if [ -e ${WORKDIR}/fw_env.config ] ; then
>> +        install -d ${D}${sysconfdir}
>> +        install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
>> +    fi
>> +
>>        if [ "x${SPL_BINARY}" != "x" ]
>>        then
>>            install ${S}/${SPL_BINARY} ${D}/boot/${SPL_IMAGE} @@ -56,16
>> +61,17 @@ do_install () {
>>        fi
>>    }
>>
>> -FILES_${PN} = "/boot"
>> +FILES_${PN} = "/boot$ {sysconfdir}"
>>    FILESPATH =. "${FILE_DIRNAME}/u-boot-git/${MACHINE}:"
>>
>>    do_deploy () {
>>        install -d ${DEPLOYDIR}
>> -	install ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
>> +    install ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
>>
>> -	cd ${DEPLOYDIR}
>> -	rm -f ${UBOOT_SYMLINK}
>> -	ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
>> +    cd ${DEPLOYDIR}
>> +    rm -f ${UBOOT_BINARY} ${UBOOT_SYMLINK}
>> +    ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
>> +    ln -sf ${UBOOT_IMAGE} ${UBOOT_BINARY}
>>
>>        if [ "x${SPL_BINARY}" != "x" ]
>>        then
>> diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
>> b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
>> index 8465395..a9cbeca 100644
>> --- a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
>> +++ b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
>> @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
>>    SRCREV = "19b54a701811220221fc4d5089a2bb18892018ca"
>>
>>    PV = "v2011.03+git${SRCPV}"
>> -PR = "r7"
>> +PR = "r8"
>>
>>    SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>>
>> diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
>> b/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
>> index 9654795..a115ed2 100644
>> --- a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
>> +++ b/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
>> @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
>>    SRCREV = "b1af6f532e0d348b153d5c148369229d24af361a"
>>
>>    PV = "v2011.06+git${SRCPV}"
>> -PR = "r2"
>> +PR = "r3"
>>
>>    SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>>
>> diff --git a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
>> b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
>> index c4ec50d..6c099b1 100644
>> --- a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
>> +++ b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
>> @@ -20,7 +20,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
>>    SRCREV = "415d386877df49eb051b85ef74fa59a16dc17c7d"
>>
>>    PV = "v2012.04.01+git${SRCPV}"
>> -PR = "r1"
>> +PR = "r2"
>>
>>    SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>>
>>
> Merged into OE-Core
>
> Thanks
> 	Sau!
>
>
>
Franklin Cooper Jr. - Sept. 6, 2012, 11:44 p.m.
I was slightly confused since I checked master after you sent that email and actually didn't see my patch being included. I did a pull again and still didn't see it. I can submit the v2 (or maybe call it v3) of the patch again if u like.

-----Original Message-----
From: Saul Wold [mailto:sgw@linux.intel.com] 
Sent: Thursday, September 06, 2012 6:40 PM
To: Cooper Jr., Franklin
Cc: Franklin S. Cooper Jr; openembedded-core@lists.openembedded.org; Franklin S. Cooper Jr
Subject: Re: [OE-core] [oe-core][PATCH] u-boot: Use fw_env.config if available.

On 09/06/2012 04:35 PM, Cooper Jr., Franklin wrote:
> I released a second revision of this patch that should be used 
> instead. http://patches.openembedded.org/patch/35845/
>

It's possible I made a mistake and replied to the wrong email, can you please check master and verify which version is there.  If it's the wrong version, please prepare a rebased patch.

Thanks
	Sau!


> -----Original Message-----
> From: Saul Wold [mailto:sgw@linux.intel.com]
> Sent: Thursday, September 06, 2012 11:44 AM
> To: Franklin S. Cooper Jr
> Cc: openembedded-core@lists.openembedded.org; Cooper Jr., Franklin; 
> Franklin S. Cooper Jr
> Subject: Re: [OE-core] [oe-core][PATCH] u-boot: Use fw_env.config if available.
>
> On 09/04/2012 02:35 PM, Franklin S. Cooper Jr wrote:
>> * Add support for board specific fw_env.config file if available.
>>
>> Signed-off-by: Franklin S. Cooper Jr <fcooper27jr@gmail.com>
>> ---
>>    meta/recipes-bsp/u-boot/u-boot.inc           |   16 +++++++++++-----
>>    meta/recipes-bsp/u-boot/u-boot_2011.03.bb    |    2 +-
>>    meta/recipes-bsp/u-boot/u-boot_2011.06.bb    |    2 +-
>>    meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb |    2 +-
>>    4 files changed, 14 insertions(+), 8 deletions(-)
>>
>> diff --git a/meta/recipes-bsp/u-boot/u-boot.inc
>> b/meta/recipes-bsp/u-boot/u-boot.inc
>> index a8642f0..ed587a6 100644
>> --- a/meta/recipes-bsp/u-boot/u-boot.inc
>> +++ b/meta/recipes-bsp/u-boot/u-boot.inc
>> @@ -49,6 +49,11 @@ do_install () {
>>        install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
>>        ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
>>
>> +    if [ -e ${WORKDIR}/fw_env.config ] ; then
>> +        install -d ${D}${sysconfdir}
>> +        install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
>> +    fi
>> +
>>        if [ "x${SPL_BINARY}" != "x" ]
>>        then
>>            install ${S}/${SPL_BINARY} ${D}/boot/${SPL_IMAGE} @@ 
>> -56,16
>> +61,17 @@ do_install () {
>>        fi
>>    }
>>
>> -FILES_${PN} = "/boot"
>> +FILES_${PN} = "/boot$ {sysconfdir}"
>>    FILESPATH =. "${FILE_DIRNAME}/u-boot-git/${MACHINE}:"
>>
>>    do_deploy () {
>>        install -d ${DEPLOYDIR}
>> -	install ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
>> +    install ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
>>
>> -	cd ${DEPLOYDIR}
>> -	rm -f ${UBOOT_SYMLINK}
>> -	ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
>> +    cd ${DEPLOYDIR}
>> +    rm -f ${UBOOT_BINARY} ${UBOOT_SYMLINK}
>> +    ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
>> +    ln -sf ${UBOOT_IMAGE} ${UBOOT_BINARY}
>>
>>        if [ "x${SPL_BINARY}" != "x" ]
>>        then
>> diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
>> b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
>> index 8465395..a9cbeca 100644
>> --- a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
>> +++ b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
>> @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
>>    SRCREV = "19b54a701811220221fc4d5089a2bb18892018ca"
>>
>>    PV = "v2011.03+git${SRCPV}"
>> -PR = "r7"
>> +PR = "r8"
>>
>>    SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>>
>> diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
>> b/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
>> index 9654795..a115ed2 100644
>> --- a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
>> +++ b/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
>> @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
>>    SRCREV = "b1af6f532e0d348b153d5c148369229d24af361a"
>>
>>    PV = "v2011.06+git${SRCPV}"
>> -PR = "r2"
>> +PR = "r3"
>>
>>    SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>>
>> diff --git a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
>> b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
>> index c4ec50d..6c099b1 100644
>> --- a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
>> +++ b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
>> @@ -20,7 +20,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
>>    SRCREV = "415d386877df49eb051b85ef74fa59a16dc17c7d"
>>
>>    PV = "v2012.04.01+git${SRCPV}"
>> -PR = "r1"
>> +PR = "r2"
>>
>>    SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
>>
>>
> Merged into OE-Core
>
> Thanks
> 	Sau!
>
>
>

Patch

diff --git a/meta/recipes-bsp/u-boot/u-boot.inc b/meta/recipes-bsp/u-boot/u-boot.inc
index a8642f0..ed587a6 100644
--- a/meta/recipes-bsp/u-boot/u-boot.inc
+++ b/meta/recipes-bsp/u-boot/u-boot.inc
@@ -49,6 +49,11 @@  do_install () {
     install ${S}/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
     ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
 
+    if [ -e ${WORKDIR}/fw_env.config ] ; then
+        install -d ${D}${sysconfdir}
+        install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
+    fi
+
     if [ "x${SPL_BINARY}" != "x" ]
     then
         install ${S}/${SPL_BINARY} ${D}/boot/${SPL_IMAGE}
@@ -56,16 +61,17 @@  do_install () {
     fi
 }
 
-FILES_${PN} = "/boot"
+FILES_${PN} = "/boot$ {sysconfdir}"
 FILESPATH =. "${FILE_DIRNAME}/u-boot-git/${MACHINE}:"
 
 do_deploy () {
     install -d ${DEPLOYDIR}
-	install ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
+    install ${S}/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
 
-	cd ${DEPLOYDIR}
-	rm -f ${UBOOT_SYMLINK}
-	ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
+    cd ${DEPLOYDIR}
+    rm -f ${UBOOT_BINARY} ${UBOOT_SYMLINK}
+    ln -sf ${UBOOT_IMAGE} ${UBOOT_SYMLINK}
+    ln -sf ${UBOOT_IMAGE} ${UBOOT_BINARY}
 
     if [ "x${SPL_BINARY}" != "x" ]
     then
diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
index 8465395..a9cbeca 100644
--- a/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
+++ b/meta/recipes-bsp/u-boot/u-boot_2011.03.bb
@@ -15,7 +15,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
 SRCREV = "19b54a701811220221fc4d5089a2bb18892018ca"
 
 PV = "v2011.03+git${SRCPV}"
-PR = "r7"
+PR = "r8"
 
 SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
 
diff --git a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb b/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
index 9654795..a115ed2 100644
--- a/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
+++ b/meta/recipes-bsp/u-boot/u-boot_2011.06.bb
@@ -15,7 +15,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb \
 SRCREV = "b1af6f532e0d348b153d5c148369229d24af361a"
 
 PV = "v2011.06+git${SRCPV}"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"
 
diff --git a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
index c4ec50d..6c099b1 100644
--- a/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
+++ b/meta/recipes-bsp/u-boot/u-boot_2012.04.01.bb
@@ -20,7 +20,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
 SRCREV = "415d386877df49eb051b85ef74fa59a16dc17c7d"
 
 PV = "v2012.04.01+git${SRCPV}"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "git://git.denx.de/u-boot.git;branch=master;protocol=git"