-
Notifications
You must be signed in to change notification settings - Fork 126
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
Bamarni64 not supported by Pi 3 b+ #75
Comments
You need at least
Solving the firmware part is somewhat easy (exchange the relevant stuff on the |
Just realized that everything should work as expected by building pi64 from source. Though I would switch to branch |
See also #76 -- might work or not. Not tested since I lack the hardware. |
Ah, that would be an easy solve. I will test it when i get home in about 11 hours from now and give an update if i managed to do so (I'm still quite new to Linux, so no promises, haha) Switching to 4.14 is easily done by just sending the command "sudo pi64-update" once its installed, right? |
Don't think so. You need to check out branch |
@ThomasKaiser do i have to compile the bamarni 64bit on a 64 bit os? I'm getting an error message when i try to build it on raspbian 32bit, this is what i get:
|
Sure, cross-compiling on a 64-bit x86 (x64) machine:
|
@ThomasKaiser I get exactly the same error message Are you sure that i can compile that 64bit OS on my 32bit raspbian now? |
@Brewfasa you need to cross-compile on a PC. Either using a 'native' Ubuntu (I would assume 16.04 will already do it) or there using Docker pulling a more recent Ubuntu in. The reason why: https://devsidestory.com/build-a-64-bit-kernel-for-your-raspberry-pi-3/ |
Alright, i got that point now, but for the:
Is it possible for a noob like me to figure out which ones i have to copy and which ones i should keep? Like the noob i am, i tried copying the entire boot partition from raspbian to bamarni and it gives (kinda as expected) an error message during the boot. I did notice that the raspbian boot files had something with kernal8 and bamarni kernal7, not sure if thats a problem |
after running docker run -it --privileged -v $PWD:/root/pi64 -v /opt/vc:/opt/vc -w /root/pi64 i run into problem:
|
Without these commits from few hours ago building a 64-bit kernel with support for the new hardware wasn't working anyway: raspberrypi/linux@74b4a1d |
I would also appreciate very much if pi64 wouldsupport the raspberry 3B+. |
Maybe @ThomasKaiser could fork and update bamarni once the required up to date files are available. |
Sorry, I already forked the project and commited the outstanding PR (untested). Now it's up to people who own the hardware to test. I don't have an RPi 3 B+ and I will never buy one since the hardware is sooooooo limited and slow compared to tons of other good SBC. And the under-voltage issues the majority of users is running into simply sucks. The only reason I went through these annoying steps (mostly related to the proprietary and closed source crap on the |
Do we also have to do anything with raspberrypi/linux@74b4a1d ? Like i said, i'm a noob in this |
Nope. If you now build a new pi64 image the kernel gets checked out with those commits from yesterday so 3+ support should be there. Still missing is the wireless firmware but that's just copying a few files to a specific directory: #76 (comment) |
@ThomasKaiser I tried to follow these steps on my ubuntu 64b in VMware. I cloned the linux 4.14 kernal, edited the finish.go file and went to the pi64 location. Edit finish.go to: cd pi64 Then i run the docker build command and it starts downloading things from ubuntu and at the end i end up with the following error message: https://i.imgur.com/3Oqk9zm.png
The zesty distro seems to be removed..(http://security.ubuntu.com/ubuntu/dists/) |
No idea why you try this on an unsupported Ubuntu release. Zesty is EOL since months: https://wiki.ubuntu.com/Releases |
I only use Ubuntu LTS releases (that's 16.04 at the moment, 18.04 is not ready yet) |
Sorry guys indeed I haven't updated this repo for some time, there might be some stuff which don't work anymore, I plan to get back to this soon. |
I downloaded, edited and build the kernal with docker but when i tried to create the desktop image using docker run -it --privileged -v $PWD:/root/pi64 -v /opt/vc:/opt/vc -w /root/pi64 I got this error:
Any idea what went wrong? |
This is missing: 8692e0a Seems you did not update the repo today? When you already did modifications to your local copy maybe best idea is to delete the pi64 directory and start over with a freshly checked out |
It seems like the "master" repo is updated with the rsync command, but the "kernal 4.14" docker file hasn't, i guess thats the problem |
Tried again to compile it with the rsync added to the kernel 4.14 Dockerfile. It went fine till where it started to create the .img and then it came with the following error:
It doesn't really say what went wrong |
same here, though i'm trying to build lite version |
Any idea what this could be @ThomasKaiser (just tell me if i'm asking to much of you all the time, but you seem like someone who's willing to help and know quite a lot, haha) & @bamarni |
I found this code in install.go https://i.imgur.com/T4sGbOo.png |
USB boot does not work. Otherwise, good so far. |
@mentaluproar yea the package configuration is pretty much installing the OS |
@ScorrMorr Could you try to just download the zip and to flash the zip on your sd card using etcher. Wait during what are you getting that error? During the boot process right? |
@Crazyhead90 yes i get that error during the boot process. I'll try with etcher and let you know. |
@Crazyhead90 with etcher booting works and i am able to login, thanks! |
@Crazyhead90 Would updating the barmani image to bionic just require a change to your dockerfile? Any chance of respinning those for a barmani lite bionic image? |
@satmandu No, Bamarni is based on debian not on ubuntu |
Ah I misunderstood. The environment in docker for building the image is ubuntu. |
Ah yea, i guess it just downloads some packages from there. I also didnt make the images with the docker script, i downloaded the last release image of him and manually updated the kernel in it by mounting the boot partition etc to make it 4.14 and rpi3b+ compatible. |
That seems like the easiest way to do it. I wonder if anybody has had any luck with getting one of these debian based arm64 builds working with the uboot bootloader the bionic stock arm64 images want to use, as per this: https://wiki.ubuntu.com/ARM/RaspberryPi (Apparently you can use the bionic arm64 image with no modification with the pi 3b, as long as you have the right 64 bit uboot built and installed. But I wasn't able to easily get that updated for the 3b+) |
@Crazyhead90 do you have a compiled image uploaded somewhere that we can use? |
@satmandu thanks. Not sure how I missed it when I was going through his fork. Just noticed its even posted two other times in this thread itself |
@Crazyhead90 is there any way of upgrading to your updated build from the original Bamarni release. I really don't fancy having to re-setup all my Pi's from scratch if I can avoid it. @bamarni Would it be possible to merge these changes so we can use Pi64-update to update the kernal please. |
@G-UK See what I did here to update the kernel to a current version in lieu of using pi64-update to update the kernel (for 3b+): |
@satmandu Thank You, I'll give that a try on one of my headless Pi's first. If manage to do it ok I'll do the others as well. |
@G-UK Please let me know if it works for you! |
For what it's worth it just worked for me with the 4.17 kernel tree:
|
Seems to be working although I've not fully tested it. Thanks Again I did make a few changes as I built it on the Pi itself so didn't have to cross-compile.
|
Hey folks, unfortunately I didn't got into this project yet... Would any of you be interested in becoming a collaborator on the repo? |
Thanks @bamarni but unfortunately I'm not going to have much time to spend on these projects moving forward either. |
Just wanted to add my 2 cents. Apparently there is a problem/bug in multistrap 2.2.9 which gets installed in ubuntu via apt. A workaround patch for it is available here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881146 After applying the patch the image build process works again. |
Almost a year later and still no solution to the rainbow screen issue? |
There are plenty of ways to properly boot Linux in 64 bit mode on the 3b+ now. Ubuntu should have proper support as well in several months. |
Downloaded the full lite image 👌 lookin' good on my B+ |
Worth noting that the current Ubuntu server images work just fine on the 3b+. The arm64 images here have been booting just fine: http://cdimage.ubuntu.com/ubuntu-server/daily-preinstalled/current/ |
this image not supported by Google BBR! |
I am a For anyone trying to build newer kernels, I have created 2 new branches in my fork - |
The current Bamarni 64 OS is not supported by the new Pi 3b+, when you try to load it after flashing it, it will hang on the rainbowscreen.
Would it be possible to update this so it gets supported?
The text was updated successfully, but these errors were encountered: