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 13:24] – [OpenWRT] 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== | ||
+ | |||
< | < | ||
./ | ./ | ||
Line 22: | Line 24: | ||
== Or, set up feeds for Pickle Microchip PIC ICSP and NFS== | == Or, set up feeds for Pickle Microchip PIC ICSP and NFS== | ||
+ | |||
< | < | ||
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 42: | Line 48: | ||
== Or, configure for Pickle Microchip PIC ICSP and NFS (build I2C support)== | == Or, configure for Pickle Microchip PIC ICSP and NFS (build I2C support)== | ||
+ | |||
< | < | ||
make menuconfig | make menuconfig | ||
| | ||
- | | + | |
ENABLE: <M> | ENABLE: <M> | ||
Line 55: | Line 62: | ||
ENABLE: <*> | ENABLE: <*> | ||
- | | ||
| | ||
| | ||
DISABLE: < > | DISABLE: < > | ||
- | | ||
[Base system] [dnsmasq] | [Base system] [dnsmasq] | ||
[Base system] [firewall] | [Base system] [firewall] | ||
+ | | ||
| | ||
+ | | ||
| | ||
| | ||
Line 75: | 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 | ||
- | firstboot | + | |
- | reboot | + | BusyBox v1.25.1 () built-in shell (ash) |
+ | |||
+ | | ||
+ | / /\ _ ___ ___ ___ | ||
+ | / | ||
+ | / DE / \ | |__| _|| |) | _| | ||
+ | / | ||
+ | | ||
+ | \ LE \ / ----------------------------------------------------------- | ||
+ | | ||
+ | \________\/ | ||
</ | </ | ||
+ | |||
+ | ==Re-initialise (optional)== | ||
+ | |||
+ | < | ||
+ | firstboot | ||
+ | reboot -f</ | ||
== NFS == | == NFS == | ||
Line 106: | Line 134: | ||
Copy the packages to the router' | Copy the packages to the router' | ||
< | < | ||
- | scp bin/ | + | scp bin/targets/ar71xx/generic/ |
- | scp bin/ar71xx/packages/base/ | + | scp bin/targets/ar71xx/generic/packages/ |
- | scp bin/ | + | scp bin/targets/ar71xx/generic/ |
</ | </ | ||
Then, on the router install the packages. | Then, on the router install the packages. | ||
< | < | ||
- | opkg install kmod-dnsresolver_4.1.15-1_ar71xx.ipk | + | opkg install kmod-dnsresolver_4.4.153-1_mips_24kc.ipk |
- | opkg install kmod-fs-nfs-common_4.1.15-1_ar71xx.ipk | + | opkg install kmod-fs-nfs-common_4.4.153-1_mips_24kc.ipk |
- | opkg install kmod-fs-nfs_4.1.15-1_ar71xx.ipk | + | opkg install kmod-fs-nfs_4.4.153-1_mips_24kc.ipk |
</ | </ | ||
+ | |||
=== Serial === | === Serial === | ||
< | < | ||
Line 126: | Line 155: | ||
=== GPIO === | === GPIO === | ||
- | < | + | < |
1 2 GND | 1 2 GND | ||
GPIO1 3 4 GND | GPIO1 3 4 GND | ||
Line 157: | Line 186: | ||
DEBUG=1 | DEBUG=1 | ||
</ | </ | ||
+ | |||
=== Resources === | === Resources === | ||
[[http:// | [[http:// | ||
[[https:// | [[https:// |