Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
boards:wr841nd [2016/01/19 11:45] – darron | boards:wr841nd [2018/12/07 18:57] (current) – [OpenWRT LEDE] darron | ||
---|---|---|---|
Line 1: | Line 1: | ||
==== TP-Link TL-WR841ND v8.4 ==== | ==== TP-Link TL-WR841ND v8.4 ==== | ||
+ | |||
<wrap right> | <wrap right> | ||
{{: | {{: | ||
</ | </ | ||
- | === OpenWRT === | + | === OpenWRT |
==Check-out== | ==Check-out== | ||
+ | |||
< | < | ||
mkdir -p / | mkdir -p / | ||
- | cd / | + | cd / |
- | git clone git://git.openwrt.org/ | + | git clone git://github.com/openwrt/ |
- | chown -R nobody: | + | cd / |
- | /bin/su nobody | + | git checkout v17.01.6 |
- | cd / | + | |
</ | </ | ||
==Set up standard feeds== | ==Set up standard feeds== | ||
+ | |||
< | < | ||
./ | ./ | ||
</ | </ | ||
- | == Or, set up feeds for Microchip PIC ICSP and NFS== | + | == Or, set up feeds for Pickle |
< | < | ||
cp feeds.conf.default feeds.conf.default.orig | cp feeds.conf.default feeds.conf.default.orig | ||
echo " | echo " | ||
+ | echo " | ||
+ | ./ | ||
./ | ./ | ||
- | ./ | + | ./ |
+ | ./ | ||
./ | ./ | ||
</ | </ | ||
== Configure a standard build== | == Configure a standard build== | ||
+ | |||
< | < | ||
make menuconfig | make menuconfig | ||
Line 40: | Line 47: | ||
</ | </ | ||
- | == Or, configure for Microchip PIC ICSP and NFS (with I2C support)== | + | == Or, configure for Pickle |
< | < | ||
make menuconfig | make menuconfig | ||
| | ||
- | | + | |
ENABLE: <M> | ENABLE: <M> | ||
Line 54: | Line 62: | ||
ENABLE: <*> | ENABLE: <*> | ||
- | | ||
| | ||
- | | + | |
DISABLE: < > | DISABLE: < > | ||
- | | ||
[Base system] [dnsmasq] | [Base system] [dnsmasq] | ||
[Base system] [firewall] | [Base system] [firewall] | ||
+ | | ||
| | ||
+ | | ||
| | ||
| | ||
Line 74: | Line 82: | ||
== Build == | == Build == | ||
- | This will take a long time. | + | This can take half an hour. |
< | < | ||
- | make V=s | + | chown -R nobody / |
+ | su nobody -c 'make V=s -j 4' | ||
</ | </ | ||
- | ==Upgrade== | + | ==Inspect== |
+ | |||
+ | < | ||
+ | ls -1 bin/ | ||
+ | bin/ | ||
+ | bin/ | ||
+ | </ | ||
+ | |||
+ | ==Install== | ||
< | < | ||
- | ls -1 bin/ar71xx/ | + | scp bin/targets/ |
- | bin/ar71xx/openwrt-ar71xx-generic-tl-wr841nd-v1.5-squashfs-factory.bin | + | |
- | bin/ | + | |
- | bin/ | + | |
- | bin/ | + | |
- | bin/ | + | |
- | bin/ | + | |
- | bin/ | + | |
- | scp bin/ar71xx/openwrt-ar71xx-generic-tl-wr841n-v8-squashfs-factory.bin root@192.168.1.1:/ | + | |
ssh root@192.168.1.1 | ssh root@192.168.1.1 | ||
- | sysupgrade -v /tmp/ar71xx/ | + | sysupgrade -v /tmp/lede-ar71xx-generic-tl-wr841-v8-squashfs-factory.bin |
</ | </ | ||
- | ==Re-initialise== | + | ==Login== |
< | < | ||
ssh root@192.168.1.1 | ssh root@192.168.1.1 | ||
+ | |||
+ | BusyBox v1.25.1 () built-in shell (ash) | ||
+ | |||
+ | | ||
+ | / /\ _ ___ ___ ___ | ||
+ | / | ||
+ | / DE / \ | |__| _|| |) | _| | ||
+ | / | ||
+ | | ||
+ | \ LE \ / ----------------------------------------------------------- | ||
+ | | ||
+ | \________\/ | ||
+ | |||
+ | </ | ||
+ | |||
+ | ==Re-initialise (optional)== | ||
+ | |||
+ | < | ||
firstboot | firstboot | ||
- | reboot -f | + | reboot -f</ |
+ | |||
+ | == NFS == | ||
+ | |||
+ | Copy the packages to the router' | ||
+ | < | ||
+ | scp bin/ | ||
+ | scp bin/ | ||
+ | scp bin/ | ||
+ | </ | ||
+ | |||
+ | Then, on the router install the packages. | ||
+ | < | ||
+ | opkg install kmod-dnsresolver_4.4.153-1_mips_24kc.ipk | ||
+ | opkg install kmod-fs-nfs-common_4.4.153-1_mips_24kc.ipk | ||
+ | opkg install kmod-fs-nfs_4.4.153-1_mips_24kc.ipk | ||
</ | </ | ||
Line 110: | Line 155: | ||
=== GPIO === | === GPIO === | ||
- | < | + | < |
1 2 GND | 1 2 GND | ||
GPIO1 3 4 GND | GPIO1 3 4 GND | ||
Line 131: | Line 176: | ||
Pickle configuration. | Pickle configuration. | ||
< | < | ||
+ | DEVICE=/ | ||
+ | BITRULES=0x1000 | ||
+ | SLEEP=1 | ||
+ | BUSY=0 | ||
VPP=2 | VPP=2 | ||
PGM=1 | PGM=1 | ||
PGC=3 | PGC=3 | ||
PGD=0 | PGD=0 | ||
+ | DEBUG=1 | ||
</ | </ | ||
+ | |||
=== Resources === | === Resources === | ||
[[http:// | [[http:// | ||
[[https:// | [[https:// |