From owner-freebsd-mips@freebsd.org Thu Oct 8 18:46:18 2015 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D33209D1644 for ; Thu, 8 Oct 2015 18:46:18 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from hz.grosbein.net (hz.grosbein.net [78.47.246.247]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "hz.grosbein.net", Issuer "hz.grosbein.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 443F571 for ; Thu, 8 Oct 2015 18:46:17 +0000 (UTC) (envelope-from eugen@grosbein.net) Received: from eg.sd.rdtc.ru (root@eg.sd.rdtc.ru [62.231.161.221]) by hz.grosbein.net (8.14.9/8.14.9) with ESMTP id t98IkDKW029129 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 8 Oct 2015 20:46:13 +0200 (CEST) (envelope-from eugen@grosbein.net) X-Envelope-From: eugen@grosbein.net X-Envelope-To: Received: from eg.sd.rdtc.ru (eugen@localhost [127.0.0.1]) by eg.sd.rdtc.ru (8.15.2/8.15.2) with ESMTP id t98Ik8N7054865 for ; Fri, 9 Oct 2015 01:46:09 +0700 (KRAT) (envelope-from eugen@grosbein.net) Subject: Re: Initial flashing for TPLink TL WDR3600 References: <5614D073.9060706@riseup.net> <5614E36E.6000803@grosbein.net> <5615F57E.1010405@riseup.net> <5615F697.6080700@riseup.net> <5616AA5B.8030609@grosbein.net> Cc: "freebsd-mips@freebsd.org" From: Eugene Grosbein X-Enigmail-Draft-Status: N1110 Message-ID: <5616B9F0.3030002@grosbein.net> Date: Fri, 9 Oct 2015 01:46:08 +0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <5616AA5B.8030609@grosbein.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_00,LOCAL_FROM, MISSING_HEADERS autolearn=no version=3.3.2 X-Spam-Report: * 1.0 MISSING_HEADERS Missing To: header * -2.3 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 2.6 LOCAL_FROM From my domains X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hz.grosbein.net X-Spam-Level: * X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Oct 2015 18:46:18 -0000 On 09.10.2015 00:39, Eugene Grosbein wrote: > About reflashing. > > I've just built tl-wdr3600.factory.bin using HEAD sources and instructions at > https://github.com/freebsd/freebsd-wifi-build/wiki/TPLink-TL-WDR3600 > > My device has "TFTP auto recovery" described at > http://wiki.openwrt.org/toh/tp-link/tl-wdr3600#tftp_auto_recovery_in_revision_15 > > It sends tftp RRQ "wdr3600v1_tp_recovery.bin" just like that article says. > Is it possible to reflash the device to FreeBSD using this tftp method? It seems, no :-( First, I've tried to supply device's TFTP client with 5.6M of tl-wdr3600.factory.bin renamed to wdr3600v1_tp_recovery.bin and it downloaded it but rejected - it rebooted with original firmware. Than I padded tl-wdr3600.factory.bin to the size 8192512 wih 0xff bytes. TFTP client downloaded and obviously flashed it but that bricked the device, as it does not complete boot now and keeps resetting every 3 seconds or so, blinking its LEDs. Now it does not reflash itself back to original firmware - it downloads it but still keeps resetting same manner. Before I bricked the device, I verified that its TFTP client does reflash device with official localized firmware and back to english one just fine. It seems I need TTL cable after all.