2017-09-21 15:31 GMT+02:00 Lucas Stach <l.stach@pengutronix.de>:
Am Mittwoch, den 20.09.2017, 21:41 +0200 schrieb Uwe Kleine-König:
> 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 <l.stach@pengutronix.de>

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 <l.stach@pengutronix.de>

    Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>

 

:040000 040000 a275cb14d29a6e572c2d6cd7e3dc28536109bce3 e33e16ac933af2f38cc5493429bc606f2a5d5682 M                arch