From owner-freebsd-wireless@FreeBSD.ORG Fri Jan 2 23:27:35 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 36603389 for ; Fri, 2 Jan 2015 23:27:35 +0000 (UTC) Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B8AC21C5B for ; Fri, 2 Jan 2015 23:27:34 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id a1so24903315wgh.9 for ; Fri, 02 Jan 2015 15:27:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lcfFRNPv9hHM6LMnWxkTDN7TblI8Wrnj0zyEWf8f3yc=; b=vmsenk8KgMqW9YmWZ/A+MC6G0SfUzgYDafMcJrOoCIvQOannCmSDa1b4d571uWUJUL QkRh8G+HIbeEL6BUyMhumERC9v7oQi3rKaTzoAYmsNyQ8tArya5rjKb1L0TbcPhlI1zt t/FARqiIc2/11onk89LkX1tHYcP1b9jFdouL2WamigkeFe60dHHllUqFyBrgiUe20cHO JeRtEQZI31jP5pz58afQ2HQtpfheBNppBx9Ne67sWECnnr4duPc2QmxDdF0Kn8FJmj6x 0WN0ybs53woQNZTfopUlz9v8xLHQDNQ7Qe6Ksl2KU7TnCSvuNzPVJeu9LPINlw6dsbFu E9ug== MIME-Version: 1.0 X-Received: by 10.194.24.103 with SMTP id t7mr155544275wjf.15.1420241253084; Fri, 02 Jan 2015 15:27:33 -0800 (PST) Received: by 10.216.41.136 with HTTP; Fri, 2 Jan 2015 15:27:33 -0800 (PST) In-Reply-To: References: Date: Fri, 2 Jan 2015 15:27:33 -0800 Message-ID: Subject: Re: TP-Link TL-WDR4300 Support From: Adrian Chadd To: Mike Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2015 23:27:35 -0000 Hah, looks like the exact same layout as the atheros reference design DB120. On 2 January 2015 at 15:11, Mike wrote: > Hello! > This is device which probably supported by FreeBSD/MIPS + Atheros drivers. > Serial console pinout on 4pin connector is: > Vcc/GND/RX/TX > To get uboot prompt while router boots you should type "tpl" and press > enter quickly while uboot outputs "Autobooting in 1 seconds". > Here is uboot env: > 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> > 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 > db12x> > > -- > With best regards from Russia, Mike