Severian
Posts: 49
Joined: Wed Jul 10, 2013 6:22 am

Request new feature in default kernel

Mon Aug 29, 2016 8:03 am

Howdy,
Is there a process for requesting a new feature in the default kernel. I have custom compiled a kernel and the new feature is just turning on support for xfs filesystems. I never like using hacks like ext4, but find keeping systems with my own kernel more difficult to keep up to date. This is mostly because the new kernel in the default image can't understand the hard drive with my root filesystem until I manually mount it and rebuild the kernel again. Am I explaining this well enough to get my point understood?
Thanks,

mattmiller
Posts: 2106
Joined: Thu Feb 05, 2015 11:25 pm

Re: Request new feature in default kernel

Mon Aug 29, 2016 8:26 am

Can't you just submit some sort of pull request or is the Pi kernel not open source?

PS kernel stuff is beyond my pay grade but doesn't same dev principles apply?

Severian
Posts: 49
Joined: Wed Jul 10, 2013 6:22 am

Re: Request new feature in default kernel

Tue Aug 30, 2016 1:42 am

mattmiller wrote:Can't you just submit some sort of pull request or is the Pi kernel not open source?
You may be right. It had not even occurred to me that there would be a public git repository. This will give me a chance to submit a patch. I made my changes by running make menuconfig, so I'll have to figure out what to submit. I don't expect that to be too hard. I look forward to trying it and seeing if they will accept it.
Thanks and have a good day

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 23709
Joined: Sat Jul 30, 2011 7:41 pm

Re: Request new feature in default kernel

Tue Aug 30, 2016 8:56 am

Yes, best approach is to ask the question on the Raspberry Pi github page, bug report is appropriate.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed. Here's an example...
"My grief counseller just died, luckily, he was so good, I didn't care."

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 7319
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

Re: Request new feature in default kernel

Tue Aug 30, 2016 10:33 am

Ideally create a pull request via https://github.com/raspberrypi/linux/pulls. If you can't crate the PR yourself, then create an issue at https://github.com/raspberrypi/linux/issues

Some examples:
https://github.com/raspberrypi/linux/issues/1550 (BTRFS support not merged)
https://github.com/raspberrypi/linux/issues/1614 (VXLAN support merged)
https://github.com/raspberrypi/linux/issues/1612 (IPVLAN support merged)
https://github.com/raspberrypi/linux/pull/1398 (PR to support PCA9685 PWM chip, with DT overlay to configure it)

Things that can be built as modules instead of built into the main kernel image are more likely to be accepted, and any information on file size deltas and performance overheads help those making the decision.
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.

Return to “Advanced users”