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 [2022/08/01 14:15] – [Build] darronprojects:gpio-bb [2024/05/16 10:54] (current) – [GPIO bit-bang driver for Linux] darron
Line 7: Line 7:
 GPIO bit-bang is well suited to PICMicro ICSP but not exclusively. GPIO bit-bang is well suited to PICMicro ICSP but not exclusively.
  
 +WARNING: The underlying kernel API this module uses may have been removed from your running kernel.
 === Build === === Build ===
  
 This module is built out of kernel and depends on the header files and tools found locally or may be cross compiled. This module is built out of kernel and depends on the header files and tools found locally or may be cross compiled.
  
-For cross compilation, and example Makefile named `cross-compile.mk' is provided.+For cross compilation, an example Makefile named `cross-compile.mk' is provided which should work for Raspberry PI OS as explained [[:tools:raspbian#kernel|here]].
  
-If the linux source directory was cross compiled and then copied to the target system to build the module, `scripts.sh' is provided to rebuild certain kernel header scripts locally. This is needed because the scripts which are actually binary files on foreign architecture.+If the linux source directory was cross compiled and then copied to the target system to build the module, `scripts.sh' is provided to rebuild certain kernel header scripts locally. This is needed because some scripts are actually binary files on the foreign architecture.
  
  
Line 39: Line 40:
 </code> </code>
  
 +=== Armbian ===
 +
 +==BPI==
 +
 +<code>
 +apt install linux-headers-current-sunxi
 +hg clone http://hg.kewl.org/pub/gpio-bb
 +cd gpio-bb
 +make
 +make install
 +</code>
  
 === Configuration === === Configuration ===