From owner-freebsd-mips@FreeBSD.ORG Thu May 16 18:10:45 2013 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 77A5EF00 for ; Thu, 16 May 2013 18:10:45 +0000 (UTC) (envelope-from lists@rewt.org.uk) Received: from hosted.mx.as41113.net (unknown [IPv6:2001:b70:201:2::22]) by mx1.freebsd.org (Postfix) with ESMTP id 4127891F for ; Thu, 16 May 2013 18:10:44 +0000 (UTC) Received: from [172.16.9.23] (bella.stf.rewt.org.uk [91.208.177.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: lists@rewt.org.uk) by hosted.mx.as41113.net (Postfix) with ESMTPSA id 3bBLK54hlQzcc; Thu, 16 May 2013 19:10:33 +0100 (BST) Message-ID: <51952112.9010607@rewt.org.uk> Date: Thu, 16 May 2013 19:10:26 +0100 From: Joe Holden User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Milan Obuch Subject: Re: Ubiquiti EdgeRouter Lite works multi-user with -CURRENT. References: <20130516111059.38543d57@wind.dino.sk> <20130516131642.adfae355aa3bf7767e9b56e5@ddteam.net> <20130516124248.33ae4e05@wind.dino.sk> In-Reply-To: <20130516124248.33ae4e05@wind.dino.sk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Aleksandr Rybalko , 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 18:10:45 -0000 Milan Obuch wrote: > 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. > There is only one pin exposed via gpio: root@erl1:~ # gpioctl -f /dev/gpioc0 -l -v pin 07: 0 F/D, caps: Not sure if it maps to anything usable, haven't played with it yet - the other header is EJTAG according to Cavium docs. Thanks > Thanks! > > regards, > Milan