Thank you for your donation


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I add lz4-patch to kernel?
1st Nov, 2015, 10:41 PM
Post: #1
How can I add lz4-patch to kernel?
Hi all,

i've seen this post here: http://forum.xbian.org/thread-2217-post-24363.html#pid24363

so there is a special xbian lz4-patch for the kernel. maybe this might be a solution to mount my btrfs partition on my normal ubuntu/debian/etc system?

My question here is:
can u guys give me a little "how to" / blue print for compiling/patching my standard ubuntu kernel with this patch?

PS: i've seen that the github-link in this post might be offline where can i find the right one?

thanks very much in advance! Smile
Find all posts by this user
Quote this message in a reply
9th Dec, 2015, 04:56 AM
Post: #2
RE: How can I add lz4-patch to kernel?
can nobody help me here? i just need a little introduction (:
Find all posts by this user
Quote this message in a reply
13th Dec, 2015, 11:20 AM
Post: #3
RE: How can I add lz4-patch to kernel?
It's not an XBian specific patch, just find the patch for your specific kernel version and follow any of the tutorials for patching and compiling a Linux kernel.

Please read rules and do a search before you post! | FAQs | How to post log file? | Can't find an answer? Contact us.
Visit this user's website Find all posts by this user
Quote this message in a reply
14th Dec, 2015, 02:50 AM
Post: #4
RE: How can I add lz4-patch to kernel?
not an XBian specific patch? but if i want to mount the btrfs partitions on my sd card with any pc-distribution linux, i need maybe this xbian-patch? so there is no chance with an other btrfs-lz4 patch to patch the kernel stable: 4.2.7 in my case...

so where can i find an lz4 patch for stable: 4.2.7 cant find anything on web.. the changelog dont say anything about this xbian specifics.. https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/log/?id=refs%2Ftags%2Fv4.2.7&qt=grep&q=lz4
Find all posts by this user
Quote this message in a reply
14th Dec, 2015, 08:30 AM
Post: #5
RE: How can I add lz4-patch to kernel?
@f1vefour stated, the btrfs lz4 patch is a general btrfs patch that should be available for all kernel versions.

pilight - modular domotica solution
Visit this user's website Find all posts by this user
Quote this message in a reply
28th Jan, 2016, 01:24 PM
Post: #6
RE: How can I add lz4-patch to kernel?
@suhm
If you are still interested in lz4 patch for kernel(s), here is this one we're using
https://github.com/xbianonpi/xbian-package-kernel/blob/master/patches/rpi/lz4.patch
Find all posts by this user
Quote this message in a reply
10th Jan, 2017, 02:11 AM
Post: #7
RE: How can I add lz4-patch to kernel?
(28th Jan, 2016 01:24 PM)Nachteule Wrote:  @suhm
If you are still interested in lz4 patch for kernel(s), here is this one we're using
https://github.com/xbianonpi/xbian-package-kernel/blob/master/patches/rpi/lz4.patch

Although patching the kernel sounds like a cool option it would be much appreciated if any member of the xbian community could share a patched 4.x kernel (x86_64) with lz4 support. IMHO the majority of the xbian userbase (like myself) doesn't have the knowledge or skills to recompile the kernel.

Any help would be much appreciated.

Cheers,

Jiko
Find all posts by this user
Quote this message in a reply
10th Jan, 2017, 06:29 AM
Post: #8
RE: How can I add lz4-patch to kernel?
(10th Jan, 2017 02:11 AM)jyviko Wrote:  
(28th Jan, 2016 01:24 PM)Nachteule Wrote:  @suhm
If you are still interested in lz4 patch for kernel(s), here is this one we're using
https://github.com/xbianonpi/xbian-package-kernel/blob/master/patches/rpi/lz4.patch

Although patching the kernel sounds like a cool option it would be much appreciated if any member of the xbian community could share a patched 4.x kernel (x86_64) with lz4 support. IMHO the majority of the xbian userbase (like myself) doesn't have the knowledge or skills to recompile the kernel.

Lol, do you know how many linux distros exists Smile All distros are building their own kernel with their specific patches, so it is absolutely impossible to do what you like to have.

And btw, if you do not like LZ4 compression, you could set compression to lzo in file /boot/cmdline.txt (in first partition of sd card) after you flashed image and before you're booting RPi the first time.
Find all posts by this user
Quote this message in a reply
12th Jan, 2017, 11:40 PM
Post: #9
RE: How can I add lz4-patch to kernel?
(10th Jan, 2017 06:29 AM)Nachteule Wrote:  
(10th Jan, 2017 02:11 AM)jyviko Wrote:  
(28th Jan, 2016 01:24 PM)Nachteule Wrote:  @suhm
If you are still interested in lz4 patch for kernel(s), here is this one we're using
https://github.com/xbianonpi/xbian-package-kernel/blob/master/patches/rpi/lz4.patch

Although patching the kernel sounds like a cool option it would be much appreciated if any member of the xbian community could share a patched 4.x kernel (x86_64) with lz4 support. IMHO the majority of the xbian userbase (like myself) doesn't have the knowledge or skills to recompile the kernel.

Lol, do you know how many linux distros exists Smile All distros are building their own kernel with their specific patches, so it is absolutely impossible to do what you like to have.

And btw, if you do not like LZ4 compression, you could set compression to lzo in file /boot/cmdline.txt (in first partition of sd card) after you flashed image and before you're booting RPi the first time.

Thanks Nachteule,
I have successfully patched the kernel and managed to mount the xbian partition.
Thx for the suggestions.

J<
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: