Date: Tue, 16 Jun 2015 19:31:05 +0200 From: Bernd Walter <ticso@cicely7.cicely.de> To: freebsd-mips@freebsd.org Cc: Bernd Walter <ticso@cicely7.cicely.de> Subject: Re: TP-Link WDR-4300 Message-ID: <20150616173105.GC14540@cicely7.cicely.de> In-Reply-To: <20150616162654.GB14540@cicely7.cicely.de> References: <20150616162654.GB14540@cicely7.cicely.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 16, 2015 at 06:26:54PM +0200, Bernd Walter wrote: > I've just bought an WDR-4300, after gavin@ mentioned it might work > with FreeBSD. > Headers for console and what looks like an JTAG are already soldered on. > > My 4300 (board rev 1.3 / device rev 1.7) has the following 3 Atheros > chips: > AR9344-BC2A > obviously main SoC, but also has direct connected RF circuit (2.4GHz?) > > AR9580-AR1A > 5GHz WiFi?, but RF from AR9344 circuit seems to be passed through it > > AR8327N-BL1A > obviously ethernet switch maybe with additional PHY for second MAC. > > It also has a 8MB SPI flash and should have 128MB DDR3. > The pictures I've seen of the 4300 and 3600 models make me believe > they are very similar in design and it's at least said they share the > AR9344 SoC. > The chip list on this page about the 3600 also match up: > https://github.com/freebsd/freebsd-wifi-build/wiki/TPLink-TL-WDR3600 > Is it save to just use this guide? Memory layout seems to match the 3600 description: U-Boot 1.1.4 (Jun 17 2013 - 12:31:57) U-boot DB120 DRAM: 128 MB id read 0x100000ff flash size 8MB, sector count = 128 Flash: 8 MB Using default environment PCIe Reset OK!!!!!! 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: ba:be:fa:ce:08:41 athrs17_reg_init: complete eth0 up eth0 Autobooting in 1 seconds db12x> print env ## Error: "env" not defined db12x> printenv bootargs=console=ttyS0,115200 root=31:02 rootfstype=squashfs init=/sbin/init mtdparts=ath-nor0:256k(u-boot),64k(u-boot-env),6336k(rootfs),1408k(uImage),64k(mib0),64k(ART) bootcmd=bootm 0x9f020000 bootdelay=1 baudrate=115200 ethaddr=0xba:0xbe:0xfa:0xce:0x08:0x41 ipaddr=192.168.1.111 serverip=192.168.1.100 dir= lu=tftp 0x80060000 ${dir}u-boot.bin&&erase 0x9f000000 +$filesize;cp.b $fileaddr 0x9f000000 $filesize lf=tftp 0x80060000 ${dir}db12x${bc}-jffs2&&erase 0x9f050000 +0x630000;cp.b $fileaddr 0x9f050000 $filesize lk=tftp 0x80060000 ${dir}vmlinux${bc}.lzma.uImage&&erase 0x9f680000 +$filesize;cp.b $fileaddr 0x9f680000 $filesize stdin=serial stdout=serial stderr=serial ethact=eth0 Environment size: 686/65532 bytes -- B.Walter <bernd@bwct.de> http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150616173105.GC14540>