X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-la0-f43.google.com (mail-la0-f43.google.com [209.85.215.43]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 09115DC009B for ; Fri, 6 Mar 2015 07:49:51 +0000 (UTC) Received: by labgq15 with SMTP id gq15so2019284lab.13 for ; Thu, 05 Mar 2015 23:49:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=m2Ne+kclGkSiW0nnhkyybL7rNdp1iz9VBo/ZlxoIf5Y=; b=t0StlBk3M9TAvVCxszaPNR27wBhdkR+K5wsE+xrKPpgo/Xx+buUHy88rYG4eLQ+Xqv Ck31HoF7JJzaE2sEcJWbKKWlMQJDmZInNDHqhVTQyiypAXMVMjZ/v3YURAgZk3yUsYIC XJUPn8+RRxKIaMa/Ouz9bP7v+2DvlNs+SuV5KtMIBMMhtZgncIYAd8YkwMx2C9MvA9T/ W8f8sNFoq8fxaZdWRoK8pAyj5nPj4fo3CS76/ID1uS+JhPlJDeLgumco7uOHKSjjS4c4 Cy0aFL2uaSjD17h5sq1fQ7cjoEUQqRcF9mFpCt5FeS5N4nPtArjkfLRdLflMaQ++iOrz VKrg== X-Received: by 10.112.37.198 with SMTP id a6mr11633814lbk.86.1425628189784; Thu, 05 Mar 2015 23:49:49 -0800 (PST) Received: from vostro ([2001:1bc8:101:f402:21a:9fff:fe0c:4022]) by mx.google.com with ESMTPSA id w9sm1657591lag.37.2015.03.05.23.49.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Mar 2015 23:49:49 -0800 (PST) Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= Date: Fri, 6 Mar 2015 09:49:06 +0200 From: Timo Teras To: Fabien Germain Cc: alpine-devel Subject: Re: [alpine-devel] Raspberry Pi 2 model B Message-ID: <20150306094906.0ad57b74@vostro> In-Reply-To: References: <20150305080701.31224396@vostro> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; x86_64-alpine-linux-musl) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Fri, 6 Mar 2015 01:17:40 +0100 Fabien Germain wrote: > On Thu, Mar 5, 2015 at 7:07 AM, Timo Teras 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 ---