Page 1 of 1

Request new feature in default kernel

Posted: Mon Aug 29, 2016 8:03 am
by Severian
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,

Re: Request new feature in default kernel

Posted: Mon Aug 29, 2016 8:26 am
by mattmiller
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?

Re: Request new feature in default kernel

Posted: Tue Aug 30, 2016 1:42 am
by Severian
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

Re: Request new feature in default kernel

Posted: Tue Aug 30, 2016 8:56 am
by jamesh
Yes, best approach is to ask the question on the Raspberry Pi github page, bug report is appropriate.

Re: Request new feature in default kernel

Posted: Tue Aug 30, 2016 10:33 am
by 6by9
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.