How can I add lz4-patch to kernel? - Printable Version +- Forum (http://forum.xbian.org) +-- Forum: Software (/forum-6.html) +--- Forum: Testing & Experimental (/forum-21.html) +--- Thread: How can I add lz4-patch to kernel? (/thread-3202.html) |
How can I add lz4-patch to kernel? - suhm - 1st Nov, 2015 10:41 PM 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! RE: How can I add lz4-patch to kernel? - suhm - 9th Dec, 2015 04:56 AM can nobody help me here? i just need a little introduction (: RE: How can I add lz4-patch to kernel? - f1vefour - 13th Dec, 2015 11:20 AM 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. RE: How can I add lz4-patch to kernel? - suhm - 14th Dec, 2015 02:50 AM 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 RE: How can I add lz4-patch to kernel? - CurlyMo - 14th Dec, 2015 08:30 AM @f1vefour stated, the btrfs lz4 patch is a general btrfs patch that should be available for all kernel versions. RE: How can I add lz4-patch to kernel? - Nachteule - 28th Jan, 2016 01:24 PM @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 RE: How can I add lz4-patch to kernel? - jyviko - 10th Jan, 2017 02:11 AM (28th Jan, 2016 01:24 PM)Nachteule Wrote: @suhm 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 RE: How can I add lz4-patch to kernel? - Nachteule - 10th Jan, 2017 06:29 AM (10th Jan, 2017 02:11 AM)jyviko Wrote:(28th Jan, 2016 01:24 PM)Nachteule Wrote: @suhm Lol, do you know how many linux distros exists 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. RE: How can I add lz4-patch to kernel? - jyviko - 12th Jan, 2017 11:40 PM (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 Thanks Nachteule, I have successfully patched the kernel and managed to mount the xbian partition. Thx for the suggestions. J< |