Patchwork [meta-fsl-arm,1/3] barebox: add a recipe to support mainline 2013.08.0

login
register
mail settings
Submitter Alexandre Belloni
Date Aug. 23, 2013, 4:04 p.m.
Message ID <1377273842-7052-2-git-send-email-alexandre.belloni@free-electrons.com>
Download mbox | patch
Permalink /patch/56411/
State Changes Requested
Delegated to: Otavio Salvador
Headers show

Comments

Alexandre Belloni - Aug. 23, 2013, 4:04 p.m.
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
 recipes-bsp/barebox/barebox_2013.08.0.bb | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 recipes-bsp/barebox/barebox_2013.08.0.bb
Eric BENARD - Aug. 25, 2013, 6:59 a.m.
Hi Alexandre,

Le Fri, 23 Aug 2013 18:04:00 +0200,
Alexandre Belloni <alexandre.belloni@free-electrons.com> a écrit :

> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
>  recipes-bsp/barebox/barebox_2013.08.0.bb | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>  create mode 100644 recipes-bsp/barebox/barebox_2013.08.0.bb
> 
> diff --git a/recipes-bsp/barebox/barebox_2013.08.0.bb b/recipes-bsp/barebox/barebox_2013.08.0.bb
> new file mode 100644
> index 0000000..30fb43f
> --- /dev/null
> +++ b/recipes-bsp/barebox/barebox_2013.08.0.bb
> @@ -0,0 +1,17 @@
> +require recipes-bsp/barebox/barebox.inc
> +
> +PR = "r1"
> +
> +SRC_URI = "http://barebox.org/download/${PN}-${PV}.tar.bz2 \
> +           file://defconfig"
> +
> +SRC_URI[md5sum] = "a61b97a2fedebc808d4b182c2ca18a0c"
> +SRC_URI[sha256sum] =
"d9e46dd3c68b04ab4cbc37135dc34907dbebef393da4b3e54abb203c295c1620"
> +
> +do_env_deploy() {
> +	install ${S}/common/barebox_default_env ${DEPLOY_DIR_IMAGE}/${BAREBOXENV_BIN}
> +
> +	cd ${DEPLOY_DIR_IMAGE}
> +	rm -f ${BAREBOXENV_SYMLINK}
> +	ln -sf ${BAREBOXENV_BIN} ${BAREBOXENV_SYMLINK}
> +}

please remove PR and add a DEFAULT_PREFERENCE = "-1" so that this patch
doesn't break barebox for imx53qsb until I find some time to update it.
Once done your can add my ack.

Thanks,
Eric
Otavio Salvador - Aug. 25, 2013, 5:15 p.m.
On Sun, Aug 25, 2013 at 3:59 AM, Eric Bénard <eric@eukrea.com> wrote:
> Hi Alexandre,
>
> Le Fri, 23 Aug 2013 18:04:00 +0200,
> Alexandre Belloni <alexandre.belloni@free-electrons.com> a écrit :
>
>> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
>> ---
>>  recipes-bsp/barebox/barebox_2013.08.0.bb | 17 +++++++++++++++++
>>  1 file changed, 17 insertions(+)
>>  create mode 100644 recipes-bsp/barebox/barebox_2013.08.0.bb
>>
>> diff --git a/recipes-bsp/barebox/barebox_2013.08.0.bb b/recipes-bsp/barebox/barebox_2013.08.0.bb
>> new file mode 100644
>> index 0000000..30fb43f
>> --- /dev/null
>> +++ b/recipes-bsp/barebox/barebox_2013.08.0.bb
>> @@ -0,0 +1,17 @@
>> +require recipes-bsp/barebox/barebox.inc
>> +
>> +PR = "r1"
>> +
>> +SRC_URI = "http://barebox.org/download/${PN}-${PV}.tar.bz2 \
>> +           file://defconfig"
>> +
>> +SRC_URI[md5sum] = "a61b97a2fedebc808d4b182c2ca18a0c"
>> +SRC_URI[sha256sum] =
> "d9e46dd3c68b04ab4cbc37135dc34907dbebef393da4b3e54abb203c295c1620"
>> +
>> +do_env_deploy() {
>> +     install ${S}/common/barebox_default_env ${DEPLOY_DIR_IMAGE}/${BAREBOXENV_BIN}
>> +
>> +     cd ${DEPLOY_DIR_IMAGE}
>> +     rm -f ${BAREBOXENV_SYMLINK}
>> +     ln -sf ${BAREBOXENV_BIN} ${BAREBOXENV_SYMLINK}
>> +}
>
> please remove PR and add a DEFAULT_PREFERENCE = "-1" so that this patch
> doesn't break barebox for imx53qsb until I find some time to update it.
> Once done your can add my ack.

I really don't want to have two barebox versions around used for two
machines without any technical reason.
Eric BENARD - Aug. 25, 2013, 7:57 p.m.
Hi Otavio,

Le Sun, 25 Aug 2013 14:15:34 -0300,
Otavio Salvador <otavio@ossystems.com.br> a écrit :

> On Sun, Aug 25, 2013 at 3:59 AM, Eric Bénard <eric@eukrea.com> wrote:
> > Hi Alexandre,
> >
> > Le Fri, 23 Aug 2013 18:04:00 +0200,
> > Alexandre Belloni <alexandre.belloni@free-electrons.com> a écrit :
> >
> >> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> >> ---
> >>  recipes-bsp/barebox/barebox_2013.08.0.bb | 17 +++++++++++++++++
> >>  1 file changed, 17 insertions(+)
> >>  create mode 100644 recipes-bsp/barebox/barebox_2013.08.0.bb
> >>
> >> diff --git a/recipes-bsp/barebox/barebox_2013.08.0.bb b/recipes-bsp/barebox/barebox_2013.08.0.bb
> >> new file mode 100644
> >> index 0000000..30fb43f
> >> --- /dev/null
> >> +++ b/recipes-bsp/barebox/barebox_2013.08.0.bb
> >> @@ -0,0 +1,17 @@
> >> +require recipes-bsp/barebox/barebox.inc
> >> +
> >> +PR = "r1"
> >> +
> >> +SRC_URI = "http://barebox.org/download/${PN}-${PV}.tar.bz2 \
> >> +           file://defconfig"
> >> +
> >> +SRC_URI[md5sum] = "a61b97a2fedebc808d4b182c2ca18a0c"
> >> +SRC_URI[sha256sum] =
> > "d9e46dd3c68b04ab4cbc37135dc34907dbebef393da4b3e54abb203c295c1620"
> >> +
> >> +do_env_deploy() {
> >> +     install ${S}/common/barebox_default_env ${DEPLOY_DIR_IMAGE}/${BAREBOXENV_BIN}
> >> +
> >> +     cd ${DEPLOY_DIR_IMAGE}
> >> +     rm -f ${BAREBOXENV_SYMLINK}
> >> +     ln -sf ${BAREBOXENV_BIN} ${BAREBOXENV_SYMLINK}
> >> +}
> >
> > please remove PR and add a DEFAULT_PREFERENCE = "-1" so that this patch
> > doesn't break barebox for imx53qsb until I find some time to update it.
> > Once done your can add my ack.
> 
> I really don't want to have two barebox versions around used for two
> machines without any technical reason.
> 
then you can drop 2012.02.

Eric
Otavio Salvador - Aug. 25, 2013, 8:04 p.m.
On Sun, Aug 25, 2013 at 4:57 PM, Eric Bénard <eric@eukrea.com> wrote:
> Hi Otavio,
>
> Le Sun, 25 Aug 2013 14:15:34 -0300,
> Otavio Salvador <otavio@ossystems.com.br> a écrit :
>
>> On Sun, Aug 25, 2013 at 3:59 AM, Eric Bénard <eric@eukrea.com> wrote:
>> > Hi Alexandre,
>> >
>> > Le Fri, 23 Aug 2013 18:04:00 +0200,
>> > Alexandre Belloni <alexandre.belloni@free-electrons.com> a écrit :
>> >
>> >> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
>> >> ---
>> >>  recipes-bsp/barebox/barebox_2013.08.0.bb | 17 +++++++++++++++++
>> >>  1 file changed, 17 insertions(+)
>> >>  create mode 100644 recipes-bsp/barebox/barebox_2013.08.0.bb
>> >>
>> >> diff --git a/recipes-bsp/barebox/barebox_2013.08.0.bb b/recipes-bsp/barebox/barebox_2013.08.0.bb
>> >> new file mode 100644
>> >> index 0000000..30fb43f
>> >> --- /dev/null
>> >> +++ b/recipes-bsp/barebox/barebox_2013.08.0.bb
>> >> @@ -0,0 +1,17 @@
>> >> +require recipes-bsp/barebox/barebox.inc
>> >> +
>> >> +PR = "r1"
>> >> +
>> >> +SRC_URI = "http://barebox.org/download/${PN}-${PV}.tar.bz2 \
>> >> +           file://defconfig"
>> >> +
>> >> +SRC_URI[md5sum] = "a61b97a2fedebc808d4b182c2ca18a0c"
>> >> +SRC_URI[sha256sum] =
>> > "d9e46dd3c68b04ab4cbc37135dc34907dbebef393da4b3e54abb203c295c1620"
>> >> +
>> >> +do_env_deploy() {
>> >> +     install ${S}/common/barebox_default_env ${DEPLOY_DIR_IMAGE}/${BAREBOXENV_BIN}
>> >> +
>> >> +     cd ${DEPLOY_DIR_IMAGE}
>> >> +     rm -f ${BAREBOXENV_SYMLINK}
>> >> +     ln -sf ${BAREBOXENV_BIN} ${BAREBOXENV_SYMLINK}
>> >> +}
>> >
>> > please remove PR and add a DEFAULT_PREFERENCE = "-1" so that this patch
>> > doesn't break barebox for imx53qsb until I find some time to update it.
>> > Once done your can add my ack.
>>
>> I really don't want to have two barebox versions around used for two
>> machines without any technical reason.
>
> then you can drop 2012.02.

I'd prefer you could work with Alexandre and forward-port the patches
to 2013.08; this would be the best alternative.
Eric BENARD - Aug. 25, 2013, 8:12 p.m.
Le Sun, 25 Aug 2013 17:04:44 -0300,
Otavio Salvador <otavio@ossystems.com.br> a écrit :

> On Sun, Aug 25, 2013 at 4:57 PM, Eric Bénard <eric@eukrea.com> wrote:
> > Hi Otavio,
> >
> > Le Sun, 25 Aug 2013 14:15:34 -0300,
> > Otavio Salvador <otavio@ossystems.com.br> a écrit :
> >
> >> On Sun, Aug 25, 2013 at 3:59 AM, Eric Bénard <eric@eukrea.com> wrote:
> >> > Hi Alexandre,
> >> >
> >> > Le Fri, 23 Aug 2013 18:04:00 +0200,
> >> > Alexandre Belloni <alexandre.belloni@free-electrons.com> a écrit :
> >> >
> >> >> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> >> >> ---
> >> >>  recipes-bsp/barebox/barebox_2013.08.0.bb | 17 +++++++++++++++++
> >> >>  1 file changed, 17 insertions(+)
> >> >>  create mode 100644 recipes-bsp/barebox/barebox_2013.08.0.bb
> >> >>
> >> >> diff --git a/recipes-bsp/barebox/barebox_2013.08.0.bb b/recipes-bsp/barebox/barebox_2013.08.0.bb
> >> >> new file mode 100644
> >> >> index 0000000..30fb43f
> >> >> --- /dev/null
> >> >> +++ b/recipes-bsp/barebox/barebox_2013.08.0.bb
> >> >> @@ -0,0 +1,17 @@
> >> >> +require recipes-bsp/barebox/barebox.inc
> >> >> +
> >> >> +PR = "r1"
> >> >> +
> >> >> +SRC_URI = "http://barebox.org/download/${PN}-${PV}.tar.bz2 \
> >> >> +           file://defconfig"
> >> >> +
> >> >> +SRC_URI[md5sum] = "a61b97a2fedebc808d4b182c2ca18a0c"
> >> >> +SRC_URI[sha256sum] =
> >> > "d9e46dd3c68b04ab4cbc37135dc34907dbebef393da4b3e54abb203c295c1620"
> >> >> +
> >> >> +do_env_deploy() {
> >> >> +     install ${S}/common/barebox_default_env ${DEPLOY_DIR_IMAGE}/${BAREBOXENV_BIN}
> >> >> +
> >> >> +     cd ${DEPLOY_DIR_IMAGE}
> >> >> +     rm -f ${BAREBOXENV_SYMLINK}
> >> >> +     ln -sf ${BAREBOXENV_BIN} ${BAREBOXENV_SYMLINK}
> >> >> +}
> >> >
> >> > please remove PR and add a DEFAULT_PREFERENCE = "-1" so that this patch
> >> > doesn't break barebox for imx53qsb until I find some time to update it.
> >> > Once done your can add my ack.
> >>
> >> I really don't want to have two barebox versions around used for two
> >> machines without any technical reason.
> >
> > then you can drop 2012.02.
> 
> I'd prefer you could work with Alexandre and forward-port the patches
> to 2013.08; this would be the best alternative.
> 
sorry but I don't have time for this now and I think Alexandre's patch
can go mailine now so please drop 2012.02 for now and once I'm back
on i.MX53QSB I'll reintroduce barebox support for it (and for some
i.MX6 boards at the same time).

Eric
Otavio Salvador - Aug. 25, 2013, 8:15 p.m.
On Sun, Aug 25, 2013 at 5:12 PM, Eric Bénard <eric@eukrea.com> wrote:
> Le Sun, 25 Aug 2013 17:04:44 -0300,
> Otavio Salvador <otavio@ossystems.com.br> a écrit :
>
>> On Sun, Aug 25, 2013 at 4:57 PM, Eric Bénard <eric@eukrea.com> wrote:
>> > Hi Otavio,
>> >
>> > Le Sun, 25 Aug 2013 14:15:34 -0300,
>> > Otavio Salvador <otavio@ossystems.com.br> a écrit :
>> >
>> >> On Sun, Aug 25, 2013 at 3:59 AM, Eric Bénard <eric@eukrea.com> wrote:
>> >> > Hi Alexandre,
>> >> >
>> >> > Le Fri, 23 Aug 2013 18:04:00 +0200,
>> >> > Alexandre Belloni <alexandre.belloni@free-electrons.com> a écrit :
>> >> >
>> >> >> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
>> >> >> ---
>> >> >>  recipes-bsp/barebox/barebox_2013.08.0.bb | 17 +++++++++++++++++
>> >> >>  1 file changed, 17 insertions(+)
>> >> >>  create mode 100644 recipes-bsp/barebox/barebox_2013.08.0.bb
>> >> >>
>> >> >> diff --git a/recipes-bsp/barebox/barebox_2013.08.0.bb b/recipes-bsp/barebox/barebox_2013.08.0.bb
>> >> >> new file mode 100644
>> >> >> index 0000000..30fb43f
>> >> >> --- /dev/null
>> >> >> +++ b/recipes-bsp/barebox/barebox_2013.08.0.bb
>> >> >> @@ -0,0 +1,17 @@
>> >> >> +require recipes-bsp/barebox/barebox.inc
>> >> >> +
>> >> >> +PR = "r1"
>> >> >> +
>> >> >> +SRC_URI = "http://barebox.org/download/${PN}-${PV}.tar.bz2 \
>> >> >> +           file://defconfig"
>> >> >> +
>> >> >> +SRC_URI[md5sum] = "a61b97a2fedebc808d4b182c2ca18a0c"
>> >> >> +SRC_URI[sha256sum] =
>> >> > "d9e46dd3c68b04ab4cbc37135dc34907dbebef393da4b3e54abb203c295c1620"
>> >> >> +
>> >> >> +do_env_deploy() {
>> >> >> +     install ${S}/common/barebox_default_env ${DEPLOY_DIR_IMAGE}/${BAREBOXENV_BIN}
>> >> >> +
>> >> >> +     cd ${DEPLOY_DIR_IMAGE}
>> >> >> +     rm -f ${BAREBOXENV_SYMLINK}
>> >> >> +     ln -sf ${BAREBOXENV_BIN} ${BAREBOXENV_SYMLINK}
>> >> >> +}
>> >> >
>> >> > please remove PR and add a DEFAULT_PREFERENCE = "-1" so that this patch
>> >> > doesn't break barebox for imx53qsb until I find some time to update it.
>> >> > Once done your can add my ack.
>> >>
>> >> I really don't want to have two barebox versions around used for two
>> >> machines without any technical reason.
>> >
>> > then you can drop 2012.02.
>>
>> I'd prefer you could work with Alexandre and forward-port the patches
>> to 2013.08; this would be the best alternative.
>>
> sorry but I don't have time for this now and I think Alexandre's patch
> can go mailine now so please drop 2012.02 for now and once I'm back
> on i.MX53QSB I'll reintroduce barebox support for it (and for some
> i.MX6 boards at the same time).

Ok; Alexandre, add a patch to drop 2012.02 before your patches.

Patch

diff --git a/recipes-bsp/barebox/barebox_2013.08.0.bb b/recipes-bsp/barebox/barebox_2013.08.0.bb
new file mode 100644
index 0000000..30fb43f
--- /dev/null
+++ b/recipes-bsp/barebox/barebox_2013.08.0.bb
@@ -0,0 +1,17 @@ 
+require recipes-bsp/barebox/barebox.inc
+
+PR = "r1"
+
+SRC_URI = "http://barebox.org/download/${PN}-${PV}.tar.bz2 \
+           file://defconfig"
+
+SRC_URI[md5sum] = "a61b97a2fedebc808d4b182c2ca18a0c"
+SRC_URI[sha256sum] = "d9e46dd3c68b04ab4cbc37135dc34907dbebef393da4b3e54abb203c295c1620"
+
+do_env_deploy() {
+	install ${S}/common/barebox_default_env ${DEPLOY_DIR_IMAGE}/${BAREBOXENV_BIN}
+
+	cd ${DEPLOY_DIR_IMAGE}
+	rm -f ${BAREBOXENV_SYMLINK}
+	ln -sf ${BAREBOXENV_BIN} ${BAREBOXENV_SYMLINK}
+}