Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sombriks committed Jun 29, 2024
1 parent fc66a0a commit c3bf945
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions docs/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,24 +59,8 @@ There are two tools, two kernel modules, to help us on that endeavor:

None of them seems to be available out of the box for my outdated setup.

So [let's grab kernel sources][kernel] and build it:

```bash
wget https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/snapshot/linux-6.2.tar.gz
tar xvfz linux-6.2.tar.gz
cd linux-6.2
make mrproper
cp /boot/config-$(uname -r) .config
echo 'CONFIG_GPIO_MOCKUP=m' >> .config
make oldconfig
make # solve several missing dependencies
```

After compiling we can now load the new kernel module:

```bash
# TBD
```
But there was [this thread][reddit-lead] and good
[reference material][examples-native].

[README]: ../README.md
[gpiod-1.4]: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/log/?h=v1.4.x
Expand All @@ -86,4 +70,5 @@ After compiling we can now load the new kernel module:
[gpiod-2x-test]: https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree/tests/gpiod-test.c?h=v2.0.x
[gpio-mockup]: https://docs.kernel.org/admin-guide/gpio/gpio-mockup.html
[gpio-sim]: https://docs.kernel.org/admin-guide/gpio/gpio-sim.html
[kernel]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tag/?h=v6.2
[reddit-lead]: https://www.reddit.com/r/raspberry_pi/comments/1aygn6h/comment/l3jn5ir/
[examples-native]: https://github.com/starnight/libgpiod-example

0 comments on commit c3bf945

Please sign in to comment.