This is needed because we drop a few commits from the upstream Raspberry Pi linux repo
The commit id's will change anytime the Raspberry Pi linux kernel is rebase against upstream
git clone https://github.com/raspberrypi/linux.git
cd linux
git checkout rpi-4.4.y
git log --grep 'Linux 4.4.6'
commit 0d1912303e54ed1b2a371be0bba51c384dd57326
Author: Greg Kroah-Hartman <[email protected]>
Date: Wed Mar 16 08:43:17 2016 -0700
Linux 4.4.6
git rebase -i 0d1912303e54ed1b2a371be0bba51c384dd57326
pick 9ee3100 Add non-mainline source for rtl8192cu wireless driver version v4.0.2_9000 as this is widely used. Disabled older rtlwifi driver
pick 143ad45 rtl8192c_rf6052: PHY_RFShadowRefresh(): fix off-by-one
pick 95641b7 rtl8192cu: Add PID for D-Link DWA 131
pick fbd8454 Added Device IDs for August DVB-T 205
git format-patch 0d1912303e54ed1b2a371be0bba51c384dd57326 --cover-letter --stdout > linux-01-RPi_support.patch
git reset --hard HEAD
git checkout master
git branch -D rpi-4.4.y
git pull
git checkout rpi-4.4.y