Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2015 00:59:34 +0200
From:      Bernd Walter <ticso@cicely7.cicely.de>
To:        Ian Lepore <ian@freebsd.org>
Cc:        ticso@cicely.de, Adrian Chadd <adrian@freebsd.org>, Bernd Walter <ticso@cicely7.cicely.de>, "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Re: TP-Link WDR-4300 - Success!!!
Message-ID:  <20150619225933.GF34133@cicely7.cicely.de>
In-Reply-To: <1434749655.1415.105.camel@freebsd.org>
References:  <20150616162654.GB14540@cicely7.cicely.de> <20150616173105.GC14540@cicely7.cicely.de> <CAJ-Vmo=hyChuKyEqBfiV=%2BrptZhRezWydjKGj-EOzdrmseeqiQ@mail.gmail.com> <CAJ-VmonifEnh5SFvh65qUhPM6xcD=N_=H0Uhytt42wT-RQMoJw@mail.gmail.com> <20150616175831.GD14540@cicely7.cicely.de> <CAJ-VmokwAVx1VQ2%2BDjrRb86Fkuf-K8%2B3jChS=LoCu7C=h=vxRg@mail.gmail.com> <20150619202622.GC34133@cicely7.cicely.de> <20150619210930.GD34133@cicely7.cicely.de> <20150619212042.GE34133@cicely7.cicely.de> <1434749655.1415.105.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 19, 2015 at 03:34:15PM -0600, Ian Lepore wrote:
> On Fri, 2015-06-19 at 23:20 +0200, Bernd Walter wrote:
> > On Fri, Jun 19, 2015 at 11:09:30PM +0200, Bernd Walter wrote:
> > > On Fri, Jun 19, 2015 at 10:26:22PM +0200, Bernd Walter wrote:
> > > > On Tue, Jun 16, 2015 at 12:10:13PM -0700, Adrian Chadd wrote:
> > > > > Ok, right. I nthat case it's just 2x2 wifi, and gige ethernet.
> > > > > 
> > > > > the config string to put in the build cfg file, fro mopenwrt:
> > > > > 
> > > > > $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWDR3600V1,tl-wdr3600-v1,TL-WDR4300,ttyS0,115200,0x36000001,1,8Mlzma))
> > > > > $(eval $(call SingleProfile,TPLINK-LZMA,64kraw,TLWDR4300V1,tl-wdr4300-v1,TL-WDR4300,ttyS0,115200,0x43000001,1,8Mlzma))
> > > > 
> > > > So if I got it right, then all I need to change is the TPLINK_HARDWARE_ID
> > > > from 0x36000001 to 0x43000001, right?
> > > > 
> > > > > .. same kernel config should work fine. I'll go update
> > > > > freebsd-wifi-build tonight once I wrap up with work.
> > > > 
> > > > git pull didn't show up anything new.
> > > > Nevertheless I'm building with the mentioned change right now.
> > > 
> > > It's booting :-)
> > > Next step will be trying to populate an USB-Stick with a
> > > full base root-fs.
> > > Will take some time because of this UFS-byteorder thing
> > > If anyone has a tip to do using an ARM or i386.
> > > Last time I did a NFS-root carambola 2 and copy'ed from
> > > NFS to local stick using this board.
> > 
> > Maybe I don't need anything special.
> > newfs and tar are there.
> > Guess it's easiest to use the now running system and extract a tar
> > from raw USB stick onto the target stick.
> > 
> 
> You can also use nc and tar to transfer a hierarchy...  
> 
> on the receiver
>   nc -l 1200 | tar -xpf - -C / 
> 
> then on the sender
>   tar -cf - -C <somewhere> . | nc -N target_ip 1200

# which nc
-sh: which: not found

But now that you say it - inetd is there and could be used on the
receiver side instead of nc.
A bit crude to start an extracting tar with inetd, but should work.

-- 
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?20150619225933.GF34133>