Dlink Dir825C1 - freebsd/freebsd-wifi-build GitHub Wiki
The DIR-825C1 is a Atheros Mips 74k based wireless router.
$ cd /path/to/freebsd/src
$ /path/to/build/bin/build dir825c1
- Firmware Upload via DLink Interface
- Login and select Tools->Firmware http://freebsd-wifi-build.googlecode.com/svn/wiki/images/DLink_Tools_Menu.png
- Browse to your fimeare file and upload it to the router. http://freebsd-wifi-build.googlecode.com/svn/wiki/images/DLink_Firmware_Menu.png
- Flash and reboot will happen automagically, should take about 5 minutes
- Output should look something like this on your serial console.
XXX Begin firmware upgrade..., snvram_commit: size crc 10000 erasesize:10000, nvram->size: 8029DB28
ize(5907482)
dump: [30 30 44 42 31 32 30 41 52 39 33 34 34 2D 52 54 2D 31 30 31 32 31 34 2D 30 30 ]
check_hw_id_from_last_len = 26
image hw id [00DB120AR9344-RT-101214-00]
sys_fw_hwid [00DB120AR9344-RT-101214-00]
dump: [30 30 44 42 31 32 30 41 52 39 33 34 34 2D 52 54 2D 31 30 31 32 31 34 2D 30 30 ]
Done, reboot nownvram_commit: size crc 10000 erasesize:10000, nvram->size: 8029DB28
upgrade_allow: TRUE
allow upgrade, return count_down.asp page.
XXXXXX update_firmware 243: return count_down.asp
#DBG#<flash_write_main.500>: filename: '/tmp/file4OlJnx'
#DBG#<flash_write_main.501>: dev: '/dev/mtd2' pst_cmds: '(null)'
* Time Survey *
Prepare Time: 0.011164 s + 0.000270 s = 0.011434 s
65536 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.447, write: 0.213, others: 0.000
131072 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.394, write: 0.212, others: 0.000
196608 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.393, write: 0.211, others: 0.000
262144 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.392, write: 0.274, others: 0.000
327680 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.380, write: 0.212, others: 0.000
393216 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.393, write: 0.211, others: 0.000
458752 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.375, write: 0.212, others: 0.000
524288 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.450, write: 0.211, others: 0.000
589824 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.382, write: 0.211, others: 0.000
655360 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.385, write: 0.212, others: 0.000
720896 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.389, write: 0.272, others: 0.000
786432 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.379, write: 0.212, others: 0.000
851968 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.386, write: 0.212, others: 0.000
917504 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.382, write: 0.214, others: 0.000
983040 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.435, write: 0.212, others: 0.000
1048576 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.374, write: 0.212, others: 0.000
1114112 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.396, write: 0.214, others: 0.000
1179648 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.387, write: 0.273, others: 0.000
1245184 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.379, write: 0.212, others: 0.000
1310720 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.288, write: 0.212, others: 0.000
1376256 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.374, write: 0.212, others: 0.000
1441792 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.458, write: 0.212, others: 0.000
1507328 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.391, write: 0.212, others: 0.000
1572864 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.382, write: 0.212, others: 0.000
1638400 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.387, write: 0.273, others: 0.000
1703936 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.392, write: 0.212, others: 0.000
1769472 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.388, write: 0.213, others: 0.000
1835008 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.380, write: 0.212, others: 0.000
1900544 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.448, write: 0.212, others: 0.000
1966080 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.395, write: 0.212, others: 0.000
2031616 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.374, write: 0.212, others: 0.000
2097152 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.386, write: 0.273, others: 0.000
2162688 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.375, write: 0.212, others: 0.000
2228224 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.385, write: 0.212, others: 0.000
2293760 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.374, write: 0.212, others: 0.000
2359296 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.447, write: 0.212, others: 0.000
2424832 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.376, write: 0.212, others: 0.000
2490368 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.382, write: 0.212, others: 0.000
2555904 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.374, write: 0.212, others: 0.000
2621440 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.441, write: 0.214, others: 0.000
2686976 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.386, write: 0.212, others: 0.000
2752512 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.388, write: 0.212, others: 0.000
2818048 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.380, write: 0.273, others: 0.000
2883584 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.383, write: 0.212, others: 0.000
2949120 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.382, write: 0.212, others: 0.000
3014656 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.396, write: 0.212, others: 0.000
3080192 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.435, write: 0.212, others: 0.000
3145728 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.387, write: 0.212, others: 0.000
3211264 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.387, write: 0.212, others: 0.000
3276800 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.396, write: 0.275, others: 0.000
3342336 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.380, write: 0.212, others: 0.000
3407872 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.382, write: 0.212, others: 0.000
3473408 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.382, write: 0.214, others: 0.000
3538944 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.443, write: 0.212, others: 0.000
3604480 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.395, write: 0.212, others: 0.000
3670016 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.374, write: 0.212, others: 0.000
3735552 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.385, write: 0.273, others: 0.000
3801088 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.388, write: 0.212, others: 0.000
3866624 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.375, write: 0.212, others: 0.000
3932160 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.381, write: 0.212, others: 0.000
3997696 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.442, write: 0.212, others: 0.000
4063232 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.386, write: 0.212, others: 0.000
4128768 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.383, write: 0.213, others: 0.000
4194304 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.380, write: 0.273, others: 0.000
4259840 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.381, write: 0.212, others: 0.000
4325376 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.412, write: 0.214, others: 0.000
4390912 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.389, write: 0.212, others: 0.000
4456448 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.435, write: 0.212, others: 0.000
4521984 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.386, write: 0.212, others: 0.000
4587520 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.390, write: 0.212, others: 0.000
4653056 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.382, write: 0.273, others: 0.000
4718592 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.380, write: 0.212, others: 0.000
4784128 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.375, write: 0.212, others: 0.000
4849664 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.386, write: 0.212, others: 0.000
4915200 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.454, write: 0.212, others: 0.000
4980736 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.390, write: 0.212, others: 0.000
5046272 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.383, write: 0.212, others: 0.000
5111808 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.395, write: 0.273, others: 0.000
5177344 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.381, write: 0.213, others: 0.000
5242880 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.386, write: 0.212, others: 0.000
5308416 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.402, write: 0.212, others: 0.000
5373952 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.450, write: 0.212, others: 0.000
5439488 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.383, write: 0.212, others: 0.000
5505024 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.402, write: 0.212, others: 0.000
5570560 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.399, write: 0.273, others: 0.000
5636096 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.385, write: 0.212, others: 0.000
5701632 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.374, write: 0.212, others: 0.000
5767168 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.414, write: 0.212, others: 0.000
Sending discover...
5832704 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.447, write: 0.220, others: 0.000
5898240 / 5907482 read: 0.001, MEMUNLOCK: 0.000, MEMERASE: 0.387, write: 0.212, others: 0.000
File Size: 5907482 bytes
Total Write Size: 5907482 bytes (/tmp/file4OlJnx: 5907482 bytes)
Total read: 0.101 s
Total erase: 35Exiting Syslogd!
DHCPC Received SIGTERM
Oct 4 19:02:24 udhcpc[984]: DHCPC Received SIGTERM
Performing a DHCPC release
Oct 4 19:02:24 udhcpc[984]: Performing a DHCPC release
Entering released state
Oct 4 19:02:24 udhcpc[984]: Entering released state
Oct 4 19:02:24 udhcpd[1014]: UDHCPD Received a SIGTERM
Oct 4 19:02:24 minissdpd[1254]: received signal 15, good-bye
Oct 4 19:02:24 mibr0: port 2(ath0) entering disabled state
niupnpd[1259]: received signal 15, good-bye
br0: port 3(ath1) entering disabled state
lighttpd-angel.c.140: child (pid=1300) exited normally with exitcode: 0
/tmp/password has been created
2012-10-04 19:02:24: (network.c.239) warning: please use server.use-ipv6 only for hostnames, not without server.bind / empty address; your config will break if the kernel default for IPV6_V6ONLY changes
unlzma/peek_old_byte: position 4468224 out of range
unlzma/peek_old_byte: position 4475009 out of range
SQUASHFS error: crypto_decompress_update returned -1648, data probably corrupt
SQUASHFS error: squashfs_read_data failed to read block 0x36e5d5
SQUASHFS error: Unable to read data cache entry [36e5d5]
SQUASHFS error: Unable to read page, block 36e5d5, size 4fdf
SQUASHFS error: Unable to read data cache entry [36e5d5]
SQUASHFS error: Unable to read page, block 36e5d5, size 4fdf
SQUASHFS error: Unable to read data cache entry [36e5d5]
SQUASHFS error: Unable to read page, block 36e5d5, size 4fdf
SQUASHFS error: Unable to read data cache entry [36e5d5]
SQUASHFS error: Unable to read page, block 36e5d5, size 4fdf
SQUASHFS error: Unable to read data cache entry [36e5d5]
SQUASHFS error: Unable to read page, block 36e5d5, size 4fdf
SQUASHFS error: Unable to read data cache entry [36e5d5]
SQUASHFS error: Unable to read page, block 36e5d5, size 4fdf
sh: tc: Input/output error
killall: ult: no process killed
killall: noip2: no process killed
killall: mailosd: no process killed
killall: arpping: no process killed
killall: igmpproxy: no process killed
killall: wcnd: no process killed
Failed to kill daemon: No such file or directory
Please stand by while rebooting the system.
Restarting system.
U-Boot 1.1.4 Rev: 322 (Feb 24 2012 - 16:52:02)
U-boot DB120
DRAM: 128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 152k for U-Boot at: 87fd8000
Reserving 192k for malloc() at: 87fa8000
Reserving 44 Bytes for Board Info at: 87fa7fd4
Reserving 36 Bytes for Global Data at: 87fa7fb0
Reserving 128k for boot params() at: 87f87fb0
Stack Pointer at: 87f87f98
Now running in RAM - U-Boot at: 87fd8000
id read 0x100000ff
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment
In: serial
Out: serial
Err: serial
Net: ag934x_enet_initialize...
Fetching MAC Address from 0x87ff1f38
wasp reset mask:c03300
WASP ----> S17 PHY *
: cfg1 0x7 cfg2 0x7114
eth0: 00:00:00:00:00:01
athrs17_reg_init: complete
eth0 up
eth0
Hit any key to stop autoboot: 0
## Booting image at 9f020000 ...
Image Name: FreeBSD
Created: 2014-04-03 17:43:00 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1359188 Bytes = 1.3 MB
Load Address: 80050000
Entry Point: 80050100
Verifying Checksum at 0x9f020040 ...OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80050100) ...
## bootargs 0: console=ttyS0,115200 root=31:03 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ath-nor0:128k(u-boot),64k(nvram),1536k(linux),6144k(rootfs),192k(LANG),64k(MAC),64k(ART)...
## bootargs @A7F87FB0: console=ttyS0,115200 root=31:03 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ath-nor0:64k(u-boot),64k(nvram),15936k(linux),14592k@0x00170000(rootfs),192k(LANG),64k(MAC),64k(ART)...
## Giving linux memsize in bytes, 134217728
Starting kernel ...
CPU platform: Atheros AR9344 rev 1
CPU Frequency=560 MHz
CPU DDR Frequency=480 MHz
CPU AHB Frequency=240 MHz
platform frequency: 560 MHz
CPU reference clock: 40 MHz
CPU MDIO clock: 100 MHz
arguments:
a0 = 00000007
a1 = a7f87fb0
a2 = a7f88480
a3 = 00000010
Cmd line:argv is invalid
Environment:
envp is invalid
Cache info:
picache_stride = 4096
picache_loopcount = 16
pdcache_stride = 4096
pdcache_loopcount = 8
cpu0: MIPS Technologies processor v76.151
MMU: Standard TLB, 32 entries
L1 i-cache: 4 ways of 512 sets, 32 bytes per line
L1 d-cache: 4 ways of 256 sets, 32 bytes per line
Config1=0xbee3519e<PerfCount,WatchRegs,MIPS16,EJTAG>
Config3=0x2c20
ar934x_chip_init_gmac: gmac_cfg=0x00000001
ar934x_configure_gmac: ETH_CFG=0x00000001
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.0-CURRENT #0 r263988M: Thu Apr 3 10:42:24 PDT 2014
[email protected]:/home/sbruno/bsd/obj/mips/mips.mips/home/sbruno/bsd/head/sys/DIR-825C1 mips
gcc version 4.2.1 20070831 patched [FreeBSD]
real memory = 134217728 (131072K bytes)
avail memory = 125538304 (119MB)
random device not loaded; using insecure entropy
random: <Software, Yarrow> initialized
nexus0: <MIPS32 root nexus>
clock0: <Generic MIPS32 ticker> on nexus0
Timecounter "MIPS32" frequency 280000000 Hz quality 800
Event timer "MIPS32" frequency 280000000 Hz quality 800
argemdio0: <Atheros AR71xx built-in ethernet interface, MDIO controller> at mem 0x19000000-0x19000fff on nexus0
mdio0: <MDIO> on argemdio0
mdioproxy0: <MII/MDIO proxy, MDIO side> on mdio0
arswitch0: <Atheros AR8327 Ethernet Switch> on mdio0
miibus0: <MII bus> on arswitch0
ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0
ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
miibus1: <MII bus> on arswitch0
ukphy1: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
miibus2: <MII bus> on arswitch0
ukphy2: <Generic IEEE 802.3u media interface> PHY 2 on miibus2
ukphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
miibus3: <MII bus> on arswitch0
ukphy3: <Generic IEEE 802.3u media interface> PHY 3 on miibus3
ukphy3: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
miibus4: <MII bus> on arswitch0
ukphy4: <Generic IEEE 802.3u media interface> PHY 4 on miibus4
ukphy4: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
etherswitch0: <Switch controller> on arswitch0
mdio1: <MDIO> on arswitch0
mdioproxy1: <MII/MDIO proxy, MDIO side> on mdio1
apb0 at irq 4 on nexus0
uart0: <16550 or compatible> at mem 0x18020003-0x1802001a irq 3 on apb0
uart0: console (115200,n,8,1)
gpio0: <Atheros AR71XX GPIO driver> at mem 0x18040000-0x18040fff irq 2 on apb0
gpio0: [GIANT-LOCKED]
gpio0: gpio pinmask=0x0
gpioc0: <GPIO controller> on gpio0
gpiobus0: <GPIO bus> on gpio0
ehci0: <AR71XX Integrated USB 2.0 controller> at mem 0x1b000100-0x1b0010ff irq 1 on nexus0
usbus0: set host controller mode
usbus0: EHCI version 1.0
usbus0: set host controller mode
usbus0 on ehci0
pcib0 at irq 0 on nexus0
pcib0: found EEPROM at 0x1fff4000 on 0.0.0
pcib0: EEPROM firmware: 0x1fff4000 @ 16384 bytes
pcib0: device EEPROM 'pcib.0.bus.0.0.0.eeprom_firmware' registered
pci0: <PCI bus> on pcib0
ath1: <Atheros AR938x> at device 0.0 on pci0
ath1: ath_pci_attach: EEPROM firmware @ 0xc085b000
ar9300_set_stub_functions: setting stub functions
ar9300_set_stub_functions: setting stub functions
ar9300_attach: calling ar9300_hw_attach
ar9300_hw_attach: calling ar9300_eeprom_attach
ar9300_flash_map: unimplemented for now
Restoring Cal data from DRAM
ar9300_hw_attach: ar9300_eeprom_attach returned 0
ath1: RX status length: 48
ath1: RX buffer size: 4096
ath1: TX descriptor length: 128
ath1: TX status length: 36
ath1: TX buffers per descriptor: 4
ar9300_freebsd_setup_x_tx_desc: called, 0x0/0, 0x0/0, 0x0/0
ath1: ath_edma_setup_rxfifo: type=0, FIFO depth = 16 entries
ath1: ath_edma_setup_rxfifo: type=1, FIFO depth = 128 entries
ath1: [HT] enabling HT modes
ath1: [HT] enabling short-GI in 20MHz mode
ath1: [HT] 1 stream STBC receive enabled
ath1: [HT] 1 stream STBC transmit enabled
ath1: [HT] 2 RX streams; 2 TX streams
ath1: AR9380 mac 448.3 RF5110 phy 0.0
ath1: 2GHz radio: 0x0000; 5GHz radio: 0x0000
arge0: <Atheros AR71xx built-in ethernet interface> at mem 0x19000000-0x19000fff irq 2 on nexus0
arge0: arge_fetch_pll_config: pll_1000 = 0x6000000
arge0: arge_attach: overriding MII mode to 'RGMII'
arge0: finishing attachment, phymask 0000, proxy null
arge0: Ethernet address: 62:73:64:36:7a:da
arge1: <Atheros AR71xx built-in ethernet interface> at mem 0x1a000000-0x1a000fff irq 3 on nexus0
arge1: No PHY specified, using mask 15
arge1: finishing attachment, phymask 000f, proxy null
arge1: unable to attach PHY 0: 6
ath0: Vendor=0x168c, Device=0x0031
ath0: Vendor=0x168c, Device=0x0031
ath0: <Atheros AR934x> at mem 0x18100000-0x1811ffff irq 0 on nexus0
ath0: eeprom @ 0x1fff0000 (16384 bytes)
ath0: eeprom data @ 0xbfff0000
ar9300_set_stub_functions: setting stub functions
ar9300_set_stub_functions: setting stub functions
Bootstrap clock 40MHz
Enterprise mode: 0x00000000
ar9300_attach: calling ar9300_hw_attach
ar9300_hw_attach: calling ar9300_eeprom_attach
ar9300_flash_map: unimplemented for now
Restoring Cal data from DRAM
ar9300_hw_attach: ar9300_eeprom_attach returned 0
ath0: RX status length: 48
ath0: RX buffer size: 4096
ath0: TX descriptor length: 128
ath0: TX status length: 36
ath0: TX buffers per descriptor: 4
ar9300_freebsd_setup_x_tx_desc: called, 0x0/0, 0x0/0, 0x0/0
ath0: ath_edma_setup_rxfifo: type=0, FIFO depth = 16 entries
ath0: ath_edma_setup_rxfifo: type=1, FIFO depth = 128 entries
ath0: [HT] enabling HT modes
ath0: [HT] enabling short-GI in 20MHz mode
ath0: [HT] 1 stream STBC receive enabled
ath0: [HT] 1 stream STBC transmit enabled
ath0: [HT] 2 RX streams; 2 TX streams
ath0: AR9340 mac 768.1 RF5110 phy 3276.12
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000
spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0
spibus0: <spibus bus> on spi0
mx25l0: <M25Pxx Flash Family> at cs 0 on spibus0
mx25l0: mx25ll128, sector 65536 bytes, 256 sectors
ar71xx_wdog0: <Atheros AR71XX watchdog timer> on nexus0
Timecounters tick every 1.000 msec
arswitch0port1: link state changed to DOWN
arswitch0port2: link state changed to DOWN
arswitch0port3: link state changed to DOWN
arswitch0port4: link state changed to DOWN
arswitch0port5: link state changed to DOWN
usbus0: 480Mbps High Speed USB v2.0
ugen0.1: <Atheros> at usbus0
uhub0: <Atheros EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
map/rootfs.uncompress: GEOM_ULZMA image found
map/rootfs.uncompress: 297 x 65536 blocks
random: unblocking device.
Root mount waiting for: usbus0
uhub0: 1 port with 1 removable, self powered
Trying to mount root from ufs:map/rootfs.uncompress []...
warning: no time-of-day clock registered, system time will not be set accurately
arswitch0: arswitch_miipollstat: port 3: port -> UP
arswitch0port4: link state changed to UP
Apr 3 17:42:50 init: login_getclass: unknown class 'daemon'
*** Populating /var ..
*** Loading configuration files ..
*** Restoring from /dev/map/cfg ..
gunzip: unknown compression format
0 blocks
*** Completed.
*** setting up hostname
*** Load kernel modules
kldload: can't load bridgestp: module already loaded or in kernel
kldload: can't load if_bridge: No such file or directory
kldload: can't load random: module already loaded or in kernel
*** bringing up loopback ..
*** Starting networking via /etc/rc.d/base/net
dev.ath.0.txq_mcastq_maxdepth: 512 -> 32
dev.ath.1.txq_mcastq_maxdepth: 512 -> 32
*** Interface: arge0: start
*** Interface: arge0: done
*** Interface: bridge0: start
bridge0: Ethernet address: ca:a7:c9:ad:df:06
arge0: promiscuous mode enabled
bridge0: link state changed to UP
*** Interface: bridge0: done
*** Default password/login databases ..
*** inetd
*** Done!
FreeBSD/mips (freebsd-wifi-build) (ttyu0)
login:
- Firmware Upload via Recovery Loader
- I've found that the uboot loader is doing something that causes FreeBSD some amount of trouble. To reliably get the Recovery Loader to work, I've had to run "progmac" from the uboot prompt and ping my desktop/laptop. Rebooting a second time into the recovery loader seems to be required after this process to reliably get the Recovery Loader to be able to communicate with the desktop/laptop I am using. I suspect something low level in arp is at play here.
- Configure your laptop as 192.168.0.107/24
- Hold down the reset button on the DIR-825C1 and power-on
- wait 30 seconds; verify you can ping 192.168.0.1
- Visit http://192.168.0.1/ in firefox (not Chrome!)
- Upload /tftpboot/dir825.factory.img
If you added a serial console, you'll see the device receive the file, verify the filetype (but not the size, sigh) and write it to the device.
It will then reboot into FreeBSD.
`` U-Boot 1.1.4 Rev: 322 (Feb 24 2012 - 16:52:02)
U-boot DB120
DRAM: 128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 152k for U-Boot at: 87fd8000
Reserving 192k for malloc() at: 87fa8000
Reserving 44 Bytes for Board Info at: 87fa7fd4
Reserving 36 Bytes for Global Data at: 87fa7fb0
Reserving 128k for boot params() at: 87f87fb0
Stack Pointer at: 87f87f98
Now running in RAM - U-Boot at: 87fd8000
id read 0x100000ff
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment
In: serial
Out: serial
Err: serial
Net: ag934x_enet_initialize...
Fetching MAC Address from 0x87ff1f38
wasp reset mask:c03300
WASP ----> S17 PHY *
: cfg1 0x7 cfg2 0x7114
eth0: 00:00:00:00:00:01
athrs17_reg_init: complete
eth0 up
eth0
Hit any key to stop autoboot: 0
Reset Button Push down !
Trying eth0
dup 1 speed 1000
httpd start: DIAGNOSTIC_LED=14
hostaddr = 0xc0a8 1
set diagnostic led on
.ENTER shift
.........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Uploaded RunTime Image is 5907482 Bytes
Uploaded RunTime Image Hardware ID is DB120AR9344-RT-101214-00
Upgrade Firmware ......
First 0x2 last 0xfc
252write addr: 9f020000
Reset system ...
U-Boot 1.1.4 Rev: 322 (Feb 24 2012 - 16:52:02)
U-boot DB120
DRAM: 128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 152k for U-Boot at: 87fd8000
Reserving 192k for malloc() at: 87fa8000
Reserving 44 Bytes for Board Info at: 87fa7fd4
Reserving 36 Bytes for Global Data at: 87fa7fb0
Reserving 128k for boot params() at: 87f87fb0
Stack Pointer at: 87f87f98
Now running in RAM - U-Boot at: 87fd8000
id read 0x100000ff
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment
In: serial
Out: serial
Err: serial
Net: ag934x_enet_initialize...
No valid address in Flash. Using fixed address
wasp reset mask:c03300
WASP ----> S17 PHY *
: cfg1 0x7 cfg2 0x7114
eth0: 00:03:7f:09:0b:ae
athrs17_reg_init: complete
eth0 up
eth0
Hit any key to stop autoboot: 0
## Booting image at 9f020000 ...
Image Name: FreeBSD
Created: 2014-04-03 17:43:00 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1359188 Bytes = 1.3 MB
Load Address: 80050000
Entry Point: 80050100
Verifying Checksum at 0x9f020040 ...OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80050100) ...
## bootargs 0: console=ttyS0,115200 root=31:03 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ath-nor0:128k(u-boot),64k(nvram),1536k(linux),6144k(rootfs),192k(LANG),64k(MAC),64k(ART)...
## bootargs @A7F87FB0: console=ttyS0,115200 root=31:03 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ath-nor0:64k(u-boot),64k(nvram),15936k(linux),14592k@0x00170000(rootfs),192k(LANG),64k(MAC),64k(ART)...
## Giving linux memsize in bytes, 134217728
Starting kernel ...
CPU platform: Atheros AR9344 rev 1
CPU Frequency=560 MHz
CPU DDR Frequency=480 MHz
CPU AHB Frequency=240 MHz
platform frequency: 560 MHz
CPU reference clock: 40 MHz
CPU MDIO clock: 100 MHz
arguments:
a0 = 00000007
a1 = a7f87fb0
a2 = a7f88480
a3 = 00000010
Cmd line:argv is invalid
Environment:
envp is invalid
Cache info:
picache_stride = 4096
picache_loopcount = 16
pdcache_stride = 4096
pdcache_loopcount = 8
cpu0: MIPS Technologies processor v76.151
MMU: Standard TLB, 32 entries
L1 i-cache: 4 ways of 512 sets, 32 bytes per line
L1 d-cache: 4 ways of 256 sets, 32 bytes per line
Config1=0xbee3519e<PerfCount,WatchRegs,MIPS16,EJTAG>
Config3=0x2c20
ar934x_chip_init_gmac: gmac_cfg=0x00000001
ar934x_configure_gmac: ETH_CFG=0x00000001
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2014 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 11.0-CURRENT #0 r263988M: Thu Apr 3 10:42:24 PDT 2014
[email protected]:/home/sbruno/bsd/obj/mips/mips.mips/home/sbruno/bsd/head/sys/DIR-825C1 mips
gcc version 4.2.1 20070831 patched [FreeBSD]
real memory = 134217728 (131072K bytes)
avail memory = 125538304 (119MB)
random device not loaded; using insecure entropy
random: <Software, Yarrow> initialized
nexus0: <MIPS32 root nexus>
clock0: <Generic MIPS32 ticker> on nexus0
Timecounter "MIPS32" frequency 280000000 Hz quality 800
Event timer "MIPS32" frequency 280000000 Hz quality 800
argemdio0: <Atheros AR71xx built-in ethernet interface, MDIO controller> at mem 0x19000000-0x19000fff on nexus0
mdio0: <MDIO> on argemdio0
mdioproxy0: <MII/MDIO proxy, MDIO side> on mdio0
arswitch0: <Atheros AR8327 Ethernet Switch> on mdio0
miibus0: <MII bus> on arswitch0
ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0
ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
miibus1: <MII bus> on arswitch0
ukphy1: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
miibus2: <MII bus> on arswitch0
ukphy2: <Generic IEEE 802.3u media interface> PHY 2 on miibus2
ukphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
miibus3: <MII bus> on arswitch0
ukphy3: <Generic IEEE 802.3u media interface> PHY 3 on miibus3
ukphy3: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
miibus4: <MII bus> on arswitch0
ukphy4: <Generic IEEE 802.3u media interface> PHY 4 on miibus4
ukphy4: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
etherswitch0: <Switch controller> on arswitch0
mdio1: <MDIO> on arswitch0
mdioproxy1: <MII/MDIO proxy, MDIO side> on mdio1
apb0 at irq 4 on nexus0
uart0: <16550 or compatible> at mem 0x18020003-0x1802001a irq 3 on apb0
uart0: console (115200,n,8,1)
gpio0: <Atheros AR71XX GPIO driver> at mem 0x18040000-0x18040fff irq 2 on apb0
gpio0: [GIANT-LOCKED]
gpio0: gpio pinmask=0x0
gpioc0: <GPIO controller> on gpio0
gpiobus0: <GPIO bus> on gpio0
ehci0: <AR71XX Integrated USB 2.0 controller> at mem 0x1b000100-0x1b0010ff irq 1 on nexus0
usbus0: set host controller mode
usbus0: EHCI version 1.0
usbus0: set host controller mode
usbus0 on ehci0
pcib0 at irq 0 on nexus0
pcib0: found EEPROM at 0x1fff4000 on 0.0.0
pcib0: EEPROM firmware: 0x1fff4000 @ 16384 bytes
pcib0: device EEPROM 'pcib.0.bus.0.0.0.eeprom_firmware' registered
pci0: <PCI bus> on pcib0
ath1: <Atheros AR938x> at device 0.0 on pci0
ath1: ath_pci_attach: EEPROM firmware @ 0xc085b000
ar9300_set_stub_functions: setting stub functions
ar9300_set_stub_functions: setting stub functions
ar9300_attach: calling ar9300_hw_attach
ar9300_hw_attach: calling ar9300_eeprom_attach
ar9300_flash_map: unimplemented for now
Restoring Cal data from DRAM
ar9300_hw_attach: ar9300_eeprom_attach returned 0
ath1: RX status length: 48
ath1: RX buffer size: 4096
ath1: TX descriptor length: 128
ath1: TX status length: 36
ath1: TX buffers per descriptor: 4
ar9300_freebsd_setup_x_tx_desc: called, 0x0/0, 0x0/0, 0x0/0
ath1: ath_edma_setup_rxfifo: type=0, FIFO depth = 16 entries
ath1: ath_edma_setup_rxfifo: type=1, FIFO depth = 128 entries
ath1: [HT] enabling HT modes
ath1: [HT] enabling short-GI in 20MHz mode
ath1: [HT] 1 stream STBC receive enabled
ath1: [HT] 1 stream STBC transmit enabled
ath1: [HT] 2 RX streams; 2 TX streams
ath1: AR9380 mac 448.3 RF5110 phy 0.0
ath1: 2GHz radio: 0x0000; 5GHz radio: 0x0000
arge0: <Atheros AR71xx built-in ethernet interface> at mem 0x19000000-0x19000fff irq 2 on nexus0
arge0: arge_fetch_pll_config: pll_1000 = 0x6000000
arge0: arge_attach: overriding MII mode to 'RGMII'
arge0: finishing attachment, phymask 0000, proxy null
arge0: Ethernet address: 62:73:64:3a:f4:53
arge1: <Atheros AR71xx built-in ethernet interface> at mem 0x1a000000-0x1a000fff irq 3 on nexus0
arge1: No PHY specified, using mask 15
arge1: finishing attachment, phymask 000f, proxy null
arge1: unable to attach PHY 0: 6
device_attach: arge1 attach returned 6
ath0: Vendor=0x168c, Device=0x0031
ath0: Vendor=0x168c, Device=0x0031
ath0: <Atheros AR934x> at mem 0x18100000-0x1811ffff irq 0 on nexus0
ath0: eeprom @ 0x1fff0000 (16384 bytes)
ath0: eeprom data @ 0xbfff0000
ar9300_set_stub_functions: setting stub functions
ar9300_set_stub_functions: setting stub functions
Bootstrap clock 40MHz
Enterprise mode: 0x00000000
ar9300_attach: calling ar9300_hw_attach
ar9300_hw_attach: calling ar9300_eeprom_attach
Restoring Cal data from DRAM
ar9300_hw_attach: ar9300_eeprom_attach returned 0
ath0: RX status length: 48
ath0: RX buffer size: 4096
ath0: TX descriptor length: 128
ath0: TX status length: 36
ath0: TX buffers per descriptor: 4
ar9300_freebsd_setup_x_tx_desc: called, 0x0/0, 0x0/0, 0x0/0
ath0: ath_edma_setup_rxfifo: type=0, FIFO depth = 16 entries
ath0: ath_edma_setup_rxfifo: type=1, FIFO depth = 128 entries
ath0: [HT] enabling HT modes
ath0: [HT] enabling short-GI in 20MHz mode
ath0: [HT] 1 stream STBC receive enabled
ath0: [HT] 1 stream STBC transmit enabled
ath0: [HT] 2 RX streams; 2 TX streams
ath0: AR9340 mac 768.1 RF5110 phy 3276.12
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000
spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0
spibus0: <spibus bus> on spi0
mx25l0: <M25Pxx Flash Family> at cs 0 on spibus0
mx25l0: mx25ll128, sector 65536 bytes, 256 sectors
ar71xx_wdog0: <Atheros AR71XX watchdog timer> on nexus0
Timecounters tick every 1.000 msec
arswitch0port1: link state changed to DOWN
arswitch0port2: link state changed to DOWN
arswitch0port3: link state changed to DOWN
arswitch0port4: link state changed to DOWN
arswitch0port5: link state changed to DOWN
usbus0: 480Mbps High Speed USB v2.0
ugen0.1: <Atheros> at usbus0
uhub0: <Atheros EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
map/rootfs.uncompress: GEOM_ULZMA image found
map/rootfs.uncompress: 297 x 65536 blocks
random: unblocking device.
Root mount waiting for: usbus0
uhub0: 1 port with 1 removable, self powered
Trying to mount root from ufs:map/rootfs.uncompress []...
warning: no time-of-day clock registered, system time will not be set accurately
arswitch0: arswitch_miipollstat: port 3: port -> UP
arswitch0port4: link state changed to UP
Apr 3 17:42:50 init: login_getclass: unknown class 'daemon'
*** Populating /var ..
*** Loading configuration files ..
*** Restoring from /dev/map/cfg ..
gunzip: unknown compression format
0 blocks
*** Completed.
*** setting up hostname
*** Load kernel modules
kldload: can't load bridgestp: module already loaded or in kernel
kldload: can't load if_bridge: No such file or directory
kldload: can't load random: module already loaded or in kernel
*** bringing up loopback ..
*** Starting networking via /etc/rc.d/base/net
dev.ath.0.txq_mcastq_maxdepth: 512 -> 32
dev.ath.1.txq_mcastq_maxdepth: 512 -> 32
*** Interface: arge0: start
*** Interface: arge0: done
*** Interface: bridge0: start
bridge0: Ethernet address: 86:be:c2:88:25:65
arge0: promiscuous mode enabled
bridge0: link state changed to UP
*** Interface: bridge0: done
*** Default password/login databases ..
*** inetd
*** Done!
FreeBSD/mips (freebsd-wifi-build) (ttyu0)
login:
# Default boot
- bridge0 - 192.168.1.20/24
- bridge0 only has arge0, so you should plug into the WAN port (or LAN port, maybe I have these instructions backwards..)
- telnet -K 192.168.1.20, login as user with no password; su to root with no password.
# Network boot
- Go into firmware recovery via the power on/hold reset button method.
- Hit ctrl-c when the machine enters diagnostic mode
U-Boot 1.1.4 Rev: 322 (Feb 24 2012 - 16:52:02)
U-boot DB120
DRAM: 128 MB
Top of RAM usable for U-Boot at: 88000000
Reserving 152k for U-Boot at: 87fd8000
Reserving 192k for malloc() at: 87fa8000
Reserving 44 Bytes for Board Info at: 87fa7fd4
Reserving 36 Bytes for Global Data at: 87fa7fb0
Reserving 128k for boot params() at: 87f87fb0
Stack Pointer at: 87f87f98
Now running in RAM - U-Boot at: 87fd8000
id read 0x100000ff
flash size 16MB, sector count = 256
Flash: 16 MB
Using default environment
In: serial
Out: serial
Err: serial
Net: ag934x_enet_initialize...
Fetching MAC Address from 0x87ff1f38
wasp reset mask:c03300
WASP ----> S17 PHY *
: cfg1 0x7 cfg2 0x7114
eth0: 00:00:00:00:00:01
athrs17_reg_init: complete
eth0 up
eth0
Hit any key to stop autoboot: 0
Reset Button Push down !
Trying eth0
dup 1 speed 1000
httpd start: DIAGNOSTIC_LED=14
hostaddr = 0xc0a8 1
set diagnostic led on
ar7240> ifconifg
Unknown command 'ifconifg' - try 'help'
ar7240> ?
? - alias for 'help'
boot - boot default, i.e., run 'bootcmd'
bootd - boot default, i.e., run 'bootcmd'
bootm - boot application image from memory
cp - memory copy
erase - erase FLASH memory
help - print online help
md - memory display
mm - memory modify (auto-incrementing)
mtest - simple RAM test
mw - memory write (fill)
nm - memory modify (constant address)
ping - send ICMP ECHO_REQUEST to network host
printenv- print environment variables
progmac - Set ethernet MAC addresses
reset - Perform RESET of the CPU
run - run commands in an environment variable
setenv - set environment variables
tftpboot- boot image via network using TFTP protocol
version - print monitor version
ar7240> printenv
bootargs=console=ttyS0,115200 root=31:03 rootfstype=squashfs,jffs2 init=/sbin/init mtdparts=ath-nor0:128k(u-boot),64k(nvram),1536k(linux),6144k(rootfs),192k(LANG),64k(MAC),64k(ART)
bootcmd=bootm 0x9f020000
bootdelay=2
baudrate=115200
ethaddr=0x00:0xaa:0xbb:0xcc:0xdd:0xee
ipaddr=192.168.0.1
serverip=192.168.0.107
dir=
lu=tftp 0x80060000 ${dir}tuboot.bin&&erase 0x9f000000 +$filesize;cp.b $fileaddr 0x9f000000 $filesize
lf=tftp 0x80060000 ${dir}db12x${bc}-jffs2&&erase 0x9f1b0000 +0x600000;cp.b $fileaddr 0x9f050000 $filesize
lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f020000 +$filesize;cp.b $fileaddr 0x9f020000 $filesize
stdin=serial
stdout=serial
stderr=serial
ethact=eth0
Environment size: 694/65532 bytes
# Current Issues
# Further information
- [http://wiki.openwrt.org/toh/d-link/dir-825]