~alpine/devel

3 2

[alpine-devel] Raspberry Pi 2 model B

Details
Message ID
<CADKdscJscdoOm1psZQG9tGyajFF53GBz1VJUm9=ZnvMixFJLgA@mail.gmail.com>
Sender timestamp
1425516217
DKIM signature
missing
Download raw message
Hello,

Whereas Alpine Linux works great on Raspberry Pi B+, it does not seem to
boot (black screen) with the new Raspberry Pi 2 :-( The main difference
with old model is the CPU : single 700MHz ARM11 --> 900MHz quad-core ARM
Cortex-A7 (more details : http://www.raspberrypi.org/raspberry-pi-2-on-sale/
).

Has anyone else tried, and got more success with it ? Is there anything I
could try ? I have RPI B, RPI B+ and RPI 2 to make tests :-)

Thanks,
Fabien
Timo Teras <timo.teras@iki.fi>
Details
Message ID
<20150305080701.31224396@vostro>
In-Reply-To
<CADKdscJscdoOm1psZQG9tGyajFF53GBz1VJUm9=ZnvMixFJLgA@mail.gmail.com> (view parent)
Sender timestamp
1425535621
DKIM signature
missing
Download raw message
On Thu, 5 Mar 2015 01:43:37 +0100
Fabien Germain <fabien.germain@gmail.com> wrote:

> Whereas Alpine Linux works great on Raspberry Pi B+, it does not seem
> to boot (black screen) with the new Raspberry Pi 2 :-( The main
> difference with old model is the CPU : single 700MHz ARM11 --> 900MHz
> quad-core ARM Cortex-A7 (more details :
> http://www.raspberrypi.org/raspberry-pi-2-on-sale/ ).

It's completely different CPU, with different peripherals. So it'll
require kernel support. We will need to pull in the kernel support
adjust kernel config, and see if any changes to boot sequence are
needed. Likely it's just matter of fixing kernel.

The userland is compatible though. So this is not too complicated issue.

> Has anyone else tried, and got more success with it ? Is there
> anything I could try ? I have RPI B, RPI B+ and RPI 2 to make
> tests :-)

I just need a RPI2 to test with. I'll probably going to get one at some
point.

/Timo


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Details
Message ID
<CADKdscKVg9Z6Fuw02yGQ0reyZhdFgZ_3O2QFyUK8cXhsQRq2ow@mail.gmail.com>
In-Reply-To
<20150305080701.31224396@vostro> (view parent)
Sender timestamp
1425601060
DKIM signature
missing
Download raw message
Hi,

On Thu, Mar 5, 2015 at 7:07 AM, Timo Teras <timo.teras@iki.fi> wrote:

> > Whereas Alpine Linux works great on Raspberry Pi B+, it does not seem
> > to boot (black screen) with the new Raspberry Pi 2 :-( The main
> > difference with old model is the CPU : single 700MHz ARM11 --> 900MHz
> > quad-core ARM Cortex-A7 (more details :
> > http://www.raspberrypi.org/raspberry-pi-2-on-sale/ ).
>
> It's completely different CPU, with different peripherals. So it'll
> require kernel support. We will need to pull in the kernel support
> adjust kernel config, and see if any changes to boot sequence are
> needed. Likely it's just matter of fixing kernel.
>

Yes, indeed : Replacing bootcode.bin, fixup.dat and start.elf with latest
versions from https://github.com/raspberrypi/firmware/tree/master/boot
didn't help booting :-(
Only CPU was changed (and 512 more Mb of RAM), as far as I know all the
hardware is the same.


The userland is compatible though. So this is not too complicated issue.
>

Good news :-)


> Has anyone else tried, and got more success with it ? Is there
> > anything I could try ? I have RPI B, RPI B+ and RPI 2 to make
> > tests :-)
>
> I just need a RPI2 to test with. I'll probably going to get one at some
> point.
>

If there is anything I can do to help...

Fabien
Timo Teras <timo.teras@iki.fi>
Details
Message ID
<20150306094906.0ad57b74@vostro>
In-Reply-To
<CADKdscKVg9Z6Fuw02yGQ0reyZhdFgZ_3O2QFyUK8cXhsQRq2ow@mail.gmail.com> (view parent)
Sender timestamp
1425628146
DKIM signature
missing
Download raw message
On Fri, 6 Mar 2015 01:17:40 +0100
Fabien Germain <fabien.germain@gmail.com> wrote:

> On Thu, Mar 5, 2015 at 7:07 AM, Timo Teras <timo.teras@iki.fi> wrote:
> 
> > > Whereas Alpine Linux works great on Raspberry Pi B+, it does not
> > > seem to boot (black screen) with the new Raspberry Pi 2 :-( The
> > > main difference with old model is the CPU : single 700MHz ARM11
> > > --> 900MHz quad-core ARM Cortex-A7 (more details :
> > > http://www.raspberrypi.org/raspberry-pi-2-on-sale/ ).
> >
> > It's completely different CPU, with different peripherals. So it'll
> > require kernel support. We will need to pull in the kernel support
> > adjust kernel config, and see if any changes to boot sequence are
> > needed. Likely it's just matter of fixing kernel.
> >
> 
> Yes, indeed : Replacing bootcode.bin, fixup.dat and start.elf with
> latest versions from
> https://github.com/raspberrypi/firmware/tree/master/boot didn't help
> booting :-(

Those will not help much, they are pretty much the 2nd stage
bootloader and firmware for the GPU, which should be identical on rpi2.

> Only CPU was changed (and 512 more Mb of RAM), as far as I know all
> the hardware is the same.

Yeah. CPU changed, and that's the tricky bit. It requires different
kernel.

I would also like to be able to ship single image for all RPI models.
It turns out that even B and B+ have few minor differences.

I was digging and probably the easiest way is to to start using u-boot
with RPI too. We'd still need custom kernel to get all the drivers and
stuff. But we'd just compile it also in dtb mode, and ship it with dtbs
for all three RPI models, as well as u-boot for each model. u-boot
would then load the kernel with corresponding dtb. This would be a nice
step also as when full rpi support lands upstream kernels, we could use
same system image for all arm boards.

I think rpi2 support is coming in the next u-boot release. So when that
is out, this might be doable.

Meanwhile, I should probably get rpi2 unit.

/Timo


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)