-
Notifications
You must be signed in to change notification settings - Fork 153
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for RPi2 #180
Comments
I'm surprised that only now this issue is reported :-P AFAIK both new kernel and firmware are needed. |
I have one in my hands, have been experimenting with just moving over my working Jessie install from a B+. So far I have not been able to locate a .deb package of the Pi2 kernel, only the image files that rpi-update pulls from the Foundation's images. It certainly isn't in the Raspbian repositories yet. |
I have one too and by running |
Same here, Pi2 is has now replaced my B+. In addition I removed the old 3.12-1-rpi kernel package just for safety. |
Does this mean, users with a Pi2 can't use this? I've got a RPi model B so can't switch Cards and slapped this on microSD and it failed to boot. Hopefully this can be patched as noobs installed so much crap on Raspbian. |
That is correct; the older kernel and firmware won't work on a Pi2. The net installer will have to be rebuilt with the new firmware and kernel. |
Is it possible to detect the hardware (A/B/A+/B+/2) at install time? Given that @diederikdehaas now has RPi2 hardware does this mean development for older hardware will be phased out? |
No. The primary target for this installer will still be the RPi1 B/B+.
I think so by parsing |
from what I understand, it might take a few months to get to the answer of this question, there will be benchmarks and stuff, but it seems they are trying to avoid having to maintain 2 different distributions, and of course, given that the A+ and B+ will still be manufactured and sold (and there are a lot of them out there anyway), dropping support for those isn't really an option... there is talk about having "critical" packages built for armv7, but most of raspbian will probably be armv6 |
All true 😄 I was just thinking out loud, since (theoretically) it should be possible to use the Debian armhf port (+ special firmware and optionally special kernel) for the RPi2 only. |
it should be, yes... actually, I think this will be the preferred way to run things...
I agree that that's probably the best thing to do, yes |
Highly unlikely. |
Best to respond to that forum thread then. |
Mausy5043 wrote:
AIUI the "scheme" bit indicates whether it's using the new scheme or the old scheme. So you need to check that bit first, if it's set then interpret the bitfields, if it's clear then you need to use the list of values given at http://elinux.org/RPi_HardwareHistory#Board_Revision_History diederikdehaas wrote:
Afaict the following needs to happen for good support. |
Maybe Sjoerd Simons' blog post can help? http://sjoerd.luon.net/posts/2015/02/debian-jessie-on-rpi2/ |
On 11/02/15 01:05, Diederik de Haas wrote:
|
That's fine 👍 |
On 11/02/15 01:05, Diederik de Haas wrote:
|
Bummer :-( |
Status update from my side:
Making progress but i've had to resort to taking a bisection approach to the config differences betwen the rpf config and the debian-style config (of which there were about a thousand) so it will take a while before I have a releaseable kernel.
The rpf claim this is fixed, I have yet to test this.
Will do this once I get the kernel package released.
Still blocked on the other actions. |
Thanks for the update 👍 I've already done some research into point 2, but got (quite) a learning curve to go for implementing that. And that's without the potential issues raised by lurch in raspberrypi/firmware#361 (comment). (PS: a blank line stops the indentation) |
kernel is coming along nicely, still have some device-tree related stuff to sort out (but if that takes too long i'll release without it). Also need to prepare a corresponding linux-tools-3.18 package so the headers are installable but again that shouldn't be a big deal. new firmware-nokernel package has been prepared and seems to work for specifying separate kernels/initrds on pi1 and pi2. will upload that soon. |
Got a couple of questions about the implementation:
|
On 14/02/15 14:30, Diederik de Haas wrote:
Not sure if I should create a metapackage that installs both, Debian Status update: kernels: seem ok, just waiting for the raspberry pi guys to provide a |
Thanks for the answers and the update 👍
It's not needed (for me/the installer) since it shouldn't be hard to install both packages if needed. |
Although not needed, I think it can be useful. |
On 14/02/15 16:11, Diederik de Haas wrote:
So I don't see much point in said metapackage personally. |
ok got a reply from phile on the license header for mkknlimg. just kicked off the build for what should be a releasable set of 3.18 kernel packages. metapackages and firmware packages also built fine and will be uploaded at the same time. |
bad news: The pi2 kernel works fine in both dt mode and non-dt mode but the pi1 kernel only works in non-dt mode. I have decided to upload the +rpi9 version without the device tree markers (so it will boot in non-dt mode unless forced) for now. I will hopefully follow up with a version that has the dt markers once the pi1 kernel is working in dt mode. |
any idea on why this is? 💭 |
No, I initially suspected a kernel configuration difference but I couldn't see anything obvious and my attempt at making the configuration as close as possible to the rpf one for testing didn't help either. |
I've managed to "build" installer for rpi2 by specifying new kernel version in
Boots like a charm 👍 _UPDATE_ So I've downloaded the linux-image-3.18.0-trunk-rpi2_3.18.5-1~exp1+rpi9_armhf.deb package, extracted the contents of
Works like a charm 👍 The only question i have is the |
I haven't tried it yet, but I'm pretty confident that your image won't work on a RPi1 and this installer needs to support both. A big problem (for me) is updating the kernel upgrade handler script. But the main issue is that instead of single config lines in |
@hertzg: I have tried your version of getting raspbian-ua-netinst running on my raspberry pi 2. So far it boots. But when trying to set up wifi, even after installing the wifi-firmware I cannot get it up. lsmod is empty, iwconfig not showing wlan0, either does ifconfig -a. Any suggestions? |
@johnsmith87 sounds like you need a kernel upgrade? Try installing via apt-get (should install modules) |
@diederikdehaas I'm also aware that this script is not working as it should be. It was just making sure it was still possible to use this script. I'll check/provide the install log later today. What about providing a way to build installer for specific versions of pi (something like _UPDATE_
|
Thanks for that 👍
That would rule out ppl having a system which can be switched between a Pi2 and Pi1, not something I'm in favor of.
Creating that would probably be more work then one for both Pi1 and Pi2 and it would mean that ppl would have to use different installers based on whether they want to use it on a Pi1 or Pi2. I may have an intermediate solution in mind ... |
@IRCdDev: I already did upgrade the kernel with rpi-update, still no success. Any other suggestions? |
@johnsmith87 Install the |
@hertzg That one worked. Thanks alot. Now the workaround is usable for me. Looking forward for "real" RPi2 Support. You guys do a great job. |
So it's now operation like |
On 27/02/15 02:09, Diederik de Haas wrote:
|
Thanks 👍 |
We've just released version 1.0.7-beta of the Raspbian UnAttended Netinstaller, which should fix this issue: https://github.com/debian-pi/raspbian-ua-netinst/releases/tag/v1.0.7-beta. As can be read in the release notes the kernel-upgrade-script has been removed from that since it's not working properly. See also this issue in the raspbian-tools repository for that. |
do you know if linux kernel v3.12 will be supported on the rpi2? |
No, I don't know it, but I highly doubt it. I don't think there will be a new 3.12 release or even a 3.18 release as debian doesn't have them (anymore). |
This issue is now fixed with the release of v1.0.7 of the Raspbian unattended netinstaller. |
Looks like we need to update the kernel? Mine are coming on Monday, will let you know.
The text was updated successfully, but these errors were encountered: