From owner-freebsd-embedded@FreeBSD.ORG Sun Jul 21 15:01:51 2013 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0FEE6903 for ; Sun, 21 Jul 2013 15:01:51 +0000 (UTC) (envelope-from matheus@eternamente.info) Received: from phoenix.eternamente.info (phoenix.eternamente.info [109.169.62.232]) by mx1.freebsd.org (Postfix) with ESMTP id C1D2528A for ; Sun, 21 Jul 2013 15:01:50 +0000 (UTC) Received: by phoenix.eternamente.info (Postfix, from userid 80) id 197731CC58; Sun, 21 Jul 2013 12:01:49 -0300 (BRT) Received: from 189.124.236.201 (SquirrelMail authenticated user matheus) by arroway.org with HTTP; Sun, 21 Jul 2013 12:01:49 -0300 Message-ID: In-Reply-To: References: <20130701152313.60982@relay.ibs.dn.ua> <20130701220301.1636@relay.ibs.dn.ua> <20130702085213.52064@relay.ibs.dn.ua> <18a9b686d7f49d3773ad63eb853b1c88.squirrel@arroway.org> <177ad5f8896d866e3b46b73e0226af06.squirrel@arroway.org> <7d75020201891ae6047eea627aadef62.squirrel@arroway.org> Date: Sun, 21 Jul 2013 12:01:49 -0300 Subject: Re: FreeBSD on ASUS, TP-Link and D-Link routers? From: "Nenhum_de_Nos" Cc: "freebsd-embedded" User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jul 2013 15:01:51 -0000 On Tue, July 16, 2013 11:37, Luiz Otavio O Souza wrote: > On 6 July 2013 17:25, Nenhum_de_Nos wrote: > > >> how can I configure it to use the usb port as storage ? >> >> is there a limit to the size of the usb stick ? >> >> thanks, >> >> matheus >> >> > Hi Matheus, > > Any kind of storage (supported by umass) should just work, here are two > examples. > > A 160GB hard drive connected thru a USB->[S]ATA adaptor: > > ugen0.3: at usbus0 > umass0: on usbus0 > umass0: SCSI over Bulk-Only; quirks = 0x4000 > umass0:0:0:-1: Attached to scbus0 > da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > da0: Fixed Direct Access SCSI-2 device > da0: 40.000MB/s transfers > da0: 152627MB (312581808 512 byte sectors: 255H 63S/T 19457C) > da0: quirks=0x2 > > # geom disk list da0 > Geom name: da0 > Providers: > 1. Name: da0 > Mediasize: 160041885696 (149G) > Sectorsize: 512 > Mode: r8w8e23 > descr: ST316021 2A > ident: (null) > fwsectors: 63 > fwheads: 255 > > # gpart show da0 > => 34 312581741 da0 GPT (149G) > 34 478 - free - (239k) > 512 524288 1 freebsd-swap (256M) > 524800 20971520 2 freebsd-ufs (10G) > 21496320 20971520 3 freebsd-ufs (10G) > 42467840 41943040 4 freebsd-ufs (20G) > 84410880 41943040 5 freebsd-ufs (20G) > 126353920 41943040 6 freebsd-ufs (20G) > 168296960 20971520 7 freebsd-ufs (10G) > 189268480 10485760 8 freebsd-ufs (5.0G) > 199754240 112827535 - free - (53G) > > > And a memory stick: > > ugen0.2: at usbus0 > umass0: on usbus0 > umass0: SCSI over Bulk-Only; quirks = 0x4100 > umass0:0:0:-1: Attached to scbus0 > da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > da0: Removable Direct Access SCSI-5 device > da0: 40.000MB/s transfers > da0: 7633MB (15633408 512 byte sectors: 255H 63S/T 973C) > > # geom disk list da0 > Geom name: da0 > Providers: > 1. Name: da0 > Mediasize: 8004304896 (7.5G) > Sectorsize: 512 > Mode: r6w4e13 > descr: SanDisk Cruzer Blade > ident: (null) > fwsectors: 63 > fwheads: 255 > > # gpart show da0 > => 34 15633341 da0 GPT (7.5G) > 34 94 - free - (47k) > 128 262144 1 freebsd-swap (128M) > 262272 786432 2 freebsd-ufs (384M) > 1048704 1048576 3 freebsd-ufs (512M) > 2097280 2097152 4 freebsd-ufs (1.0G) > 4194432 2097152 5 freebsd-ufs (1.0G) > 6291584 20480 6 freebsd-ufs (10M) > 6312064 9321311 - free - (4.5G) > > > The only difference is that you can't read the big endian UFS on your (x86) > PC. > > Luiz thanks Luiz, I bought the serial-usb cable as suggested on the site, and when it gets here I will ask for guidance again. I plan on buying another 1043 for test purposes. this way I can play as much as needed. I have no kernel coding skills, but I sure can help testing :) thanks, matheus ps: by the way, I can't still build the image. wait for head yet ? -- We will call you Cygnus, The God of balance you shall be A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? http://en.wikipedia.org/wiki/Posting_style