Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
projects:gpio-bb:raspbian [2015/01/10 16:43] – darron | projects:gpio-bb:raspbian [2022/08/01 13:59] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== GPIO bit-bang driver for Raspbian ==== | + | ==== Raspbian (obsolete) ==== |
+ | |||
+ | GPIO bit-bang driver for Raspbian. | ||
+ | |||
+ | === Kernel Config | ||
+ | |||
+ | Determine the running kernel and its config on the Raspberry Pi target machine. | ||
- | == Determine the running kernel and it's config on the Raspberry Pi target machine == | ||
< | < | ||
uname -a | uname -a | ||
Line 10: | Line 15: | ||
</ | </ | ||
- | == Examples | + | Examples. |
< | < | ||
Linux pi3 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/ | Linux pi3 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/ | ||
Line 19: | Line 25: | ||
</ | </ | ||
- | == Determine the kernel hash for this firmware | + | === Kernel Hash === |
+ | |||
+ | Determine the kernel hash for the firmware. | ||
< | < | ||
wget -q https:// | wget -q https:// | ||
Line 26: | Line 35: | ||
</ | </ | ||
- | == Examples | + | Examples. |
< | < | ||
3.6.11+ | 3.6.11+ | ||
Line 35: | Line 45: | ||
</ | </ | ||
- | == On the build host fetch the raspberry pi build tools == | + | === Build === |
+ | |||
+ | On the build host fetch the raspberry pi build tools. | ||
< | < | ||
Line 43: | Line 55: | ||
</ | </ | ||
- | == Fetch the kernel source for the previously determined hash == | + | Fetch the kernel source for the previously determined hash. |
< | < | ||
Line 54: | Line 66: | ||
</ | </ | ||
- | == Prepare to build kernel and copy over configuration | + | Prepare to build kernel and copy over configuration. |
< | < | ||
make ARCH=arm mrproper | make ARCH=arm mrproper | ||
Line 60: | Line 73: | ||
</ | </ | ||
- | == Build the kernel using the raspberry pi build tools == | + | Build the kernel using the raspberry pi build tools. |
< | < | ||
Line 67: | Line 80: | ||
</ | </ | ||
- | == Build the GPIO bit-bang module and copy to target machine | + | Build the GPIO bit-bang module and copy to target machine. |
< | < | ||
hg clone http:// | hg clone http:// | ||
- | cd gpio-bb/ | + | cd gpio-bb/rpi-raspbian |
make | make | ||
scp ../ | scp ../ | ||
</ | </ | ||
- | == Install the module on the Raspberry Pi target machine (Eg. 3.12.28+) | + | === Install === |
+ | |||
+ | Install the module on the Raspberry Pi target machine (Eg. 3.12.28+). | ||
< | < | ||
Line 85: | Line 100: | ||
</ | </ | ||
- | == Load modules on target machine | + | === Modprobe === |
+ | |||
+ | Load modules on target machine. | ||
< | < | ||
Line 95: | Line 112: | ||
modprobe gpio-bb | modprobe gpio-bb | ||
</ | </ | ||
+ |