From owner-freebsd-mips@FreeBSD.ORG Thu May 16 10:42:52 2013 Return-Path: Delivered-To: freebsd-mips@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 99B11EA3 for ; Thu, 16 May 2013 10:42:52 +0000 (UTC) (envelope-from freebsd-mips@dino.sk) Received: from mailhost.netlab.sk (mailhost.netlab.sk [84.245.65.10]) by mx1.freebsd.org (Postfix) with ESMTP id 37380D87 for ; Thu, 16 May 2013 10:42:51 +0000 (UTC) Received: from wind.dino.sk ([84.245.88.107]) (AUTH: LOGIN milan) by mailhost.netlab.sk with ESMTPA; Thu, 16 May 2013 12:42:59 +0200 id 006168AD.5194B833.00004AE9 Date: Thu, 16 May 2013 12:42:48 +0200 From: Milan Obuch To: Aleksandr Rybalko Subject: Re: Ubiquiti EdgeRouter Lite works multi-user with -CURRENT. Message-ID: <20130516124248.33ae4e05@wind.dino.sk> In-Reply-To: <20130516131642.adfae355aa3bf7767e9b56e5@ddteam.net> References: <20130516111059.38543d57@wind.dino.sk> <20130516131642.adfae355aa3bf7767e9b56e5@ddteam.net> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; i386-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 May 2013 10:42:52 -0000 On Thu, 16 May 2013 13:16:42 +0300 Aleksandr Rybalko wrote: > Hi Milan! > > On Thu, 16 May 2013 11:10:59 +0200 > Milan Obuch wrote: > [ snip ] > > Has anybody any source for some more hardware information? Looking > > on opened box, there are three things interesting for me: > > > > - there is z 2x7 'holes area' (ready for soldering 2x7 pin header) > > labeled J1. Does anybody know anything about it? Googling for > > edgerouter J1 pin header does not produce anything usable. > > It's possible this one is EJTAG (same JTAG but more standardized by > MIPS). If it has pins 2,4,6,8,10 grounded, but at least 14th routed to > one of power source (most common 3.3v), then it is 95% possible EJTAG. > Thanks for tip, I will look there - I just put those two screws to close the box, so only some time afternoon/evening or tomorrow. It looks like highly probable. > > - near an J1 area, there are two SMD LEDs. Both are on. On PCB, > > there are labels D34 and D35. Any idea what are they intended for? > > Could they be user controlled? Not much usefull when the box is > > closed, but anyway... > > > > - there is a reset switch accessible from outside, marked SW1 on > > PCB. When running FreeBSD, however, it has no efect. Any idea how > > it could be used for launching some user action? Maybe it could be > > accessible via GPIO driver, probably not written yet... > > Can't recall if I ever test it, but Juli commit it long ago: > sys/mips/cavium/octeon_gpio.c > for this quick test I used OCTEON1 kernel config with some necessary tweaks, device gpio is commented out, maybe this will be enough for enable octeon_gpio.c (looking at files.octeon1 it seems to be possible). I will test it, definitely. Thanks! regards, Milan