Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# dm9601-bug.patch
Instruction how to patch and build the kernel:

Note: if the cloning step below cause a Kernel Panic, you can swap the sd card to a Pi with a good Ethernet connection and perform the steps on that one.

```
sudo rpi-update
sudo apt-get -y update
sudo apt-get -y install gcc make bc screen ncurses-dev
git clone --depth 1 git://github.com/raspberrypi/linux.git
git clone https://github.com/kmtaylor/rpi_patches.git
cd linux
patch -p1 < ../rpi_patches/dm9601-bug.patch
KERNEL_SRC=/home/pi/linux/
make mrproper
sudo modprobe configs
zcat /proc/config.gz > .config
make oldconfig
make # This may take about 12 hours.
sudo make modules_install
sudo cp arch/arm/boot/zImage /boot/kernel.img
```