Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
boards:wr941nd [2015/10/05 11:32] darron [OpenWRT] |
boards:wr941nd [2018/12/04 12:45] darron |
||
---|---|---|---|
Line 4: | Line 4: | ||
</ | </ | ||
- | === 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 / |
- | cd / | + | git checkout v17.01.6 |
- | /bin/su nobody | + | </code> |
+ | |||
+ | ==Set up standard feeds== | ||
+ | < | ||
./ | ./ | ||
</ | </ | ||
- | Configure | + | ==Configure== |
< | < | ||
make menuconfig | make menuconfig | ||
+ | |||
| | ||
- | | + | |
| | ||
</ | </ | ||
- | Build | + | ==Build== |
+ | 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/ | + | ls -1 bin/targets/ar71xx/generic/*wr941*bin |
- | bin/ar71xx/openwrt-ar71xx-generic-tl-wr941nd-v2-squashfs-factory.bin | + | bin/targets/ |
- | bin/ar71xx/openwrt-ar71xx-generic-tl-wr941nd-v3-squashfs-factory.bin | + | bin/targets/ |
- | bin/ar71xx/openwrt-ar71xx-generic-tl-wr941nd-v4-squashfs-factory.bin | + | </code> |
- | bin/ar71xx/openwrt-ar71xx-generic-tl-wr941nd-v5-squashfs-factory.bin | + | |
- | bin/ar71xx/ | + | ==Install== |
- | scp bin/ar71xx/openwrt-ar71xx-generic-tl-wr941nd-v3-squashfs-factory.bin root@192.168.1.1:/ | + | < |
+ | scp bin/targets/ar71xx/generic/ | ||
ssh root@192.168.1.1 | ssh root@192.168.1.1 | ||
- | cd /tmp | + | sysupgrade -v /tmp/lede-ar71xx-generic-tl-wr941nd-v3-squashfs-factory.bin |
- | sysupgrade -v openwrt-ar71xx-generic-tl-wr941nd-v3-squashfs-factory.bin | + | |
</ | </ | ||
+ | |||
+ | ==Login== | ||
+ | < | ||
+ | ssh root@192.168.1.1 | ||
+ | |||
+ | BusyBox v1.25.1 () built-in shell (ash) | ||
+ | |||
+ | | ||
+ | / /\ _ ___ ___ ___ | ||
+ | / | ||
+ | / DE / \ | |__| _|| |) | _| | ||
+ | / | ||
+ | | ||
+ | \ LE \ / ----------------------------------------------------------- | ||
+ | | ||
+ | \________\/ | ||
</ | </ | ||
+ | |||
+ | ==Re-initialise (optional)== | ||
+ | < | ||
+ | firstboot | ||
+ | reboot -f | ||
+ | </ | ||
+ | |||
=== Resources === | === Resources === | ||
- | [[http:// | + | [[https:// |
+ | [[https:// | ||
[[https:// | [[https:// |