luc4
Posts: 53
Joined: Mon Nov 12, 2012 12:28 am

Official rpi kernel on Ubuntu 64 bits

Sun May 09, 2021 9:47 am

Hello! Anyone who knows if it is possible to use the official rpi kernel https://github.com/raspberrypi/linux for Ubuntu for rpi? I'm trying to git bisect the kernel to find a bug (which is present in both kernels), but I'd need to do it on Ubuntu. It seems that Ubuntu is using u-boot and needs a initrd. Anyone who tried somethi like this?

Another option would be to git bisect the Ubuntu kernel itself, but I failed because it seems that the debian/ directory is needed, and that is only available in some branches, not everywhere. Maybe someone knows if it is possible to build the Ubuntu kernel for rpi without it?

Thanks!

User avatar
DougieLawson
Posts: 41297
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Official rpi kernel on Ubuntu 64 bits

Sun May 09, 2021 9:52 am

You should search at https://ubuntuforums.org/ or https://askubuntu.com/questions/tagged/raspberrypi if you don't find an answer post a new question over there.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

luc4
Posts: 53
Joined: Mon Nov 12, 2012 12:28 am

Re: Official rpi kernel on Ubuntu 64 bits

Sun May 09, 2021 10:04 am

Did you find the answer to the question there?

User avatar
DougieLawson
Posts: 41297
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Official rpi kernel on Ubuntu 64 bits

Sun May 09, 2021 10:19 am

luc4 wrote:
Sun May 09, 2021 10:04 am
Did you find the answer to the question there?
I didn't look - I don't use Ubuntu, but that's the place to ask ALL questions about Ubuntu.
The kernel I'm running works just fine on every one of my Raspberries.
Any language using left-hand whitespace for syntax is ridiculous

Any DMs sent on Twitter will be answered next month.
Fake doctors - are all on my foes list.

Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

thatchunkylad198966
Posts: 498
Joined: Thu Jul 04, 2019 10:21 am
Location: UK, Birmingham

Re: Official rpi kernel on Ubuntu 64 bits

Sun May 09, 2021 10:23 am

luc4 wrote:
Sun May 09, 2021 9:47 am
Hello! Anyone who knows if it is possible to use the official rpi kernel https://github.com/raspberrypi/linux for Ubuntu for rpi? I'm trying to git bisect the kernel to find a bug (which is present in both kernels), but I'd need to do it on Ubuntu. It seems that Ubuntu is using u-boot and needs a initrd. Anyone who tried somethi like this?

Another option would be to git bisect the Ubuntu kernel itself, but I failed because it seems that the debian/ directory is needed, and that is only available in some branches, not everywhere. Maybe someone knows if it is possible to build the Ubuntu kernel for rpi without it?

Thanks!
Sure, take a look at this and have a read;

https://github.com/pyavitz/rpi-img-builder

You can build Debian, Ubuntu and Devuan.

Good luck!

drtechno
Posts: 230
Joined: Fri Apr 09, 2021 6:33 pm

Re: Official rpi kernel on Ubuntu 64 bits

Mon May 10, 2021 5:56 pm

luc4 wrote:
Sun May 09, 2021 9:47 am
I'm trying to git bisect the kernel to find a bug (which is present in both kernels)
Really? what Kernel bug? If it's really a Kernel bug.

Return to “Ubuntu”