Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
projects:gpio-bb:raspbian [2015/01/10 16:43] darronprojects: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 == 
 <code> <code>
 uname -a uname -a
Line 10: Line 15:
 </code> </code>
  
-== Examples ==+Examples
 <code> <code>
 Linux pi3 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux  d4f5315cfac4e Linux pi3 3.6.11+ #538 PREEMPT Fri Aug 30 20:42:08 BST 2013 armv6l GNU/Linux  d4f5315cfac4e
Line 19: Line 25:
 </code> </code>
  
-== Determine the kernel hash for this firmware ==+=== Kernel Hash === 
 + 
 +Determine the kernel hash for the firmware
 <code> <code>
 wget -q https://raw.github.com/raspberrypi/firmware/53d1ae311226b5c/extra/git_hash -O /tmp/hash wget -q https://raw.github.com/raspberrypi/firmware/53d1ae311226b5c/extra/git_hash -O /tmp/hash
Line 26: Line 35:
 </code> </code>
  
-== Examples ==+Examples
 <code> <code>
 3.6.11+  d4f5315cfac4e   1587f775d0a3c437485262ba951afc5e30be69fa 3.6.11+  d4f5315cfac4e   1587f775d0a3c437485262ba951afc5e30be69fa
Line 35: Line 45:
 </code> </code>
  
-== On the build host fetch the raspberry pi build tools ==+=== Build === 
 + 
 +On the build host fetch the raspberry pi build tools.
  
 <code> <code>
Line 43: Line 55:
 </code> </code>
  
-== Fetch the kernel source for the previously determined hash ==+Fetch the kernel source for the previously determined hash.
  
 <code> <code>
Line 54: Line 66:
 </code> </code>
  
-== Prepare to build kernel and copy over configuration ==+Prepare to build kernel and copy over configuration
 <code> <code>
 make ARCH=arm mrproper make ARCH=arm mrproper
Line 60: Line 73:
 </code> </code>
  
-== Build the kernel using the raspberry pi build tools ==+Build the kernel using the raspberry pi build tools.
  
 <code> <code>
Line 67: Line 80:
 </code> </code>
  
-== Build the GPIO bit-bang module and copy to target machine ==+Build the GPIO bit-bang module and copy to target machine.
  
 <code> <code>
 hg clone http://hg.kewl.org/pub/gpio-bb hg clone http://hg.kewl.org/pub/gpio-bb
-cd gpio-bb/raspbian+cd gpio-bb/rpi-raspbian
 make  make 
 scp ../module/src/gpio-bb.ko pi@pi: scp ../module/src/gpio-bb.ko pi@pi:
 </code> </code>
  
-== 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+).
  
 <code> <code>
Line 85: Line 100:
 </code> </code>
  
-== Load modules on target machine ==+=== Modprobe === 
 + 
 +Load modules on target machine.
  
 <code> <code>
Line 95: Line 112:
 modprobe gpio-bb modprobe gpio-bb
 </code> </code>
 +