From: John Vogel Date: Sat, 14 May 2016 02:57:31 +0000 (-0400) Subject: Add more upstream source and howto for patch X-Git-Url: http://gitweb/?a=commitdiff_plain;h=e0384e72f6af04f53d28fd2fe9e9788c88805486;p=kernel%2Fraspberrypi2.git Add more upstream source and howto for patch --- diff --git a/README b/README index 61f749e..68ded37 100644 --- a/README +++ b/README @@ -1,2 +1,20 @@ +Crux-arm RaspberryPi2 Linux Kernel + upstream sources: + https://www.kernel.org/pub/linux/kernel/v4.x + git://git.kernel.org/pub/scm/linux/kernel/git/statble/linux-stable.git https://github.com/raspberrypi/linux + + +Generating the kernel patch: + +This is a stripped down description of how I generated the kernel patch. +It is based on how I thought it might have been done by Alpine Linux for +there raspberrypi kernel. + +git clone -b rpi-4.5.y https://github.com/raspberrypi/linux.git linux-rpi +cd linux-rpi +git remote add -b linux-4.5.y stable-4.5 \ + git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git +git pull stable-4.5 +git diff stable-4.5..rpi-4.5.y > ../linux-4.5.y-rpi-$(date +%Y%m%d).patch