Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
projects:gpio-bb:openwrt [2014/12/29 18:10] – created darron | projects:gpio-bb:openwrt [2017/01/12 22:44] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== GPIO bit-bang driver for OpenWRT ===== | ==== GPIO bit-bang driver for OpenWRT ===== | ||
- | == Prepare to build OpenWRT | + | === Check-out === |
+ | |||
+ | Prepare to build OpenWRT. | ||
< | < | ||
mkdir -p / | mkdir -p / | ||
Line 16: | Line 18: | ||
</ | </ | ||
- | == Configure | + | === Config |
+ | |||
+ | Enable kernel options. | ||
< | < | ||
make menuconfig | make menuconfig | ||
- | </ | ||
- | |||
- | == Enable some options == | ||
- | < | ||
| | ||
| | ||
Line 33: | Line 33: | ||
</ | </ | ||
- | == Disable | + | Disable |
< | < | ||
| | ||
Line 49: | Line 49: | ||
</ | </ | ||
- | == Exit configuration == | + | Exit config. |
< | < | ||
| | ||
</ | </ | ||
- | == Build == | + | === Build === |
< | < | ||
make V=s | make V=s | ||
Line 60: | Line 60: | ||
</ | </ | ||
- | == Install == | + | === Install |
< | < | ||
ls -1 bin/ | ls -1 bin/ | ||
Line 71: | Line 71: | ||
bin/ | bin/ | ||
</ | </ | ||
+ | |||
From the router maintenance page upgrade the firmware using the correct image.\\ | From the router maintenance page upgrade the firmware using the correct image.\\ | ||
For this example, it's openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin | For this example, it's openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin | ||
- | == Login == | + | === Login === |
< | < | ||
telnet 192.168.1.1 | telnet 192.168.1.1 | ||
Line 105: | Line 106: | ||
</ | </ | ||
- | == Test GPIO-BB | + | === Test === |
+ | |||
+ | |||
< | < | ||
ssh -x root@192.168.1.1 | ssh -x root@192.168.1.1 | ||
Line 123: | Line 126: | ||
</ | </ | ||
- | == Update GPIO-BB | + | === Upgrade === |
< | < | ||
cd / | cd / |