Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

How can I add lz4-patch to kernel?
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
How can I add lz4-patch to kernel?
1st Nov, 2015, 10:41 PM
Post: #1
suhm Offline
Registered
Posts: 13
Joined: Aug 2015
Reputation: 0
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
suhm Offline
Registered
Posts: 13
Joined: Aug 2015
Reputation: 0
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
f1vefour Offline
Administrator
******
Posts: 1,342
Joined: Mar 2013
Reputation: 58
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
suhm Offline
Registered
Posts: 13
Joined: Aug 2015
Reputation: 0
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
CurlyMo Offline
Registered
Posts: 3,501
Joined: Dec 2012
Reputation: 202
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
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
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
jyviko Offline
Registered
Posts: 8
Joined: Sep 2013
Reputation: 0
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
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
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
jyviko Offline
Registered
Posts: 8
Joined: Sep 2013
Reputation: 0
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
« Next Oldest | Next Newest »
Post Reply 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 11th May, 2025, 07:37 PM Powered By MyBB, © 2002-2025 MyBB Group.