From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: MIME-Version: 1.0 In-Reply-To: <1506000674.11775.1.camel@pengutronix.de> References: <560f087f-a7b2-211f-6d9b-cd6a715e67e8@pengutronix.de> <20170920194150.yhc6ghxkaqwwwtxc@pengutronix.de> <1506000674.11775.1.camel@pengutronix.de> From: Anton Botvalde Date: Thu, 21 Sep 2017 18:28:55 +0200 Message-ID: Subject: Re: [ptxdist] Status of ptxdist and distrokit raspberry pi 2 images List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============1675899805==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Roland Hieber --===============1675899805== Content-Type: multipart/alternative; boundary="001a11406deebbac880559b59622" --001a11406deebbac880559b59622 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 2017-09-21 15:31 GMT+02:00 Lucas Stach : > Am Mittwoch, den 20.09.2017, 21:41 +0200 schrieb Uwe Kleine-K=C3=B6nig: > > On Wed, Sep 20, 2017 at 09:27:44PM +0200, Anton Botvalde wrote: > > > Thanks for the reply! > > > I tried out what you said but I had no success with copying the > > > zImage to > > > the boot partition. > > > I git cloned the official bearbox repo and tried different tagged > > > releases > > > and I noticed that the last version that appear to work on my rpi2 > > > is > > > v2017.03.0 and the versions afterwards appear to be broken (I > > > haven't tried > > > them all yet but I am guessing none of them work on rpi2).. > > > > Do you care to bisect? > > > > git bisect start > > git bisect good v2017.03.0 > > git bisect bad v2017.04.0 > > > > and then test each proposed step and go to the next test with > > > > git bisect good > > > > or > > > > git bisect bad > > > > depending on "works" or "works not"? > > > > Maybe it might be even quicker when testing > > a2e3bad25f6033e35e7a0f729cbd164d2d079c17 and > > 6134116686ea7ecd3e29db3ab40e4eac837680c3 first. > > > > Eventually it will diagnose the first bad commit. > > If you look at the commits between 2017.03.0 and 2017.04.0, you'll > notice that the complete conversion of Raspi platform to DT and multi- > image is right in there. While this has some chance to introduce > regressions like this, it has been tested on Raspi 1 and Raspi 3 at > least. > > Does DistroKit copy the correct Barebox image to the SD card? > > Regards, > Lucas > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > Didn't know about git bisect, pretty neat :) Here is the output: fe506e132c4f06ef82a7374841a884958b27931f is the first bad commit commit fe506e132c4f06ef82a7374841a884958b27931f Author: Lucas Stach Date: Wed Mar 1 15:31:30 2017 +0100 ARM: rpi: move model detection before console init This way we can print the correct model in the Barebox banner. Signed-off-by: Lucas Stach Signed-off-by: Sascha Hauer :040000 040000 a275cb14d29a6e572c2d6cd7e3dc28536109bce3 e33e16ac933af2f38cc5493429bc606f2a5d5682 M arch --001a11406deebbac880559b59622 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
2017= -09-21 15:31 GMT+02:00 Lucas Stach <l.stach@pengutronix.de>:
Am Mittwoch, den 20.09.2017, 21:41 +020= 0 schrieb Uwe Kleine-K=C3=B6nig:
> On Wed, Sep 20, 2017 at 09:27:44PM +0200, Anton Botvalde wrote:
> > Thanks for the reply!
> > I tried out what you said but I had no success with copying the > > zImage to
> > the boot partition.
> > I git cloned the official bearbox repo and tried different tagged=
> > releases
> > and I noticed that the last version that appear to work on my rpi= 2
> > is
> > v2017.03.0 and the versions afterwards appear to be broken (I
> > haven't tried
> > them all yet but I am guessing none of them work on rpi2)..
>
> Do you care to bisect?
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0git bisect start
>=C2=A0 =C2=A0 =C2=A0 =C2=A0git bisect good v2017.03.0
>=C2=A0 =C2=A0 =C2=A0 =C2=A0git bisect bad v2017.04.0
>
> and then test each proposed step and go to the next test with
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0git bisect good
>
> or
>
>=C2=A0 =C2=A0 =C2=A0 =C2=A0git bisect bad
>
> depending on "works" or "works not"?
>
> Maybe it might be even quicker when testing
> a2e3bad25f6033e35e7a0f729cbd164d2d079c17 and
> 6134116686ea7ecd3e29db3ab40e4eac837680c3 first.
>
> Eventually it will diagnose the first bad commit.

If you look at the commits between 2017.03.0 and 2017.04.0, you= 'll
notice that the complete conversion of Raspi platform to DT and multi-
image is right in there. While this has some chance to introduce
regressions like this, it has been tested on Raspi 1 and Raspi 3 at
least.

Does DistroKit copy the correct Barebox image to the SD card?

Regards,
Lucas

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
<= /div>


Didn't know about git bisect, pretty neat :)Here is the output:

fe506e132c4f06ef82a7374841a884958b27931f is the first bad commit=

commit = fe506e132c4f06ef82a7374841a884958b27931f

Author: Lucas Stach <l.stach@pengutronix.de&g= t;

Date:= =C2=A0=C2=A0 Wed Mar 1 15:31:30 2017 +0100

=C2=A0

=C2=A0=C2=A0=C2=A0 ARM: rpi: move model d= etection before console init

=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0This way we can pr= int the correct model in the Barebox banner.

=C2=A0=C2=A0=C2=A0

=C2=A0=C2=A0=C2=A0=C2=A0Sig= ned-off-by: Lucas Stach <l.stach@pengutronix.de>

=C2=A0=C2=A0=C2=A0 Signed-off-by: Sasch= a Hauer <s.h= auer@pengutronix.de>

=C2=A0

:040000 040000 a275cb14d29a6e572c2d6cd7e3dc28536= 109bce3 e33e16ac933af2f38cc5493429bc606f2a5d5682 M=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ar= ch

--001a11406deebbac880559b59622-- --===============1675899805== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============1675899805==--