From owner-freebsd-mips@FreeBSD.ORG Tue Nov 16 10:10:48 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C4C8106571B for ; Tue, 16 Nov 2010 10:10:48 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by mx1.freebsd.org (Postfix) with ESMTP id E23468FC18 for ; Tue, 16 Nov 2010 10:10:47 +0000 (UTC) Received: by qwd7 with SMTP id 7so360200qwd.17 for ; Tue, 16 Nov 2010 02:10:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=MFNhBnA6a9Yt4GiKJaSP8ekafOtDD4pEdZtOQ513z1c=; b=WA4vH8hWdLpNz51c1RZC9psomOOyw+bqpafhyUVdtfDeYLLjbDf6s/+gXURoXj0dFe HRvmWzfuMObLKfk/54DC8jGkM0xKHbvIccEW8QIdmQCchf2lv2G2wvZGBoWR1Rf4HpXa aVechJpXt+l9F+nM5WrrLbRTuKJ9t2WnIlKnc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=J6dhOD+oBrp2Tqw0uAqpKWxfKvXFhQkQ2gNnXHGucCInVnB04qfJNUqL1Bqcg+hhY8 TP2uUpZ+NVh83VT9qCZeHJFMrMeToZaRN+CRViGMz2r2NmWAJY4wUsZ3urASCxa2Adno If/WQd4YbEob8N+pMo4h95+M1HEmyzfyYz5Oc= MIME-Version: 1.0 Received: by 10.229.240.213 with SMTP id lb21mr6206136qcb.185.1289902246899; Tue, 16 Nov 2010 02:10:46 -0800 (PST) Received: by 10.229.182.77 with HTTP; Tue, 16 Nov 2010 02:10:46 -0800 (PST) In-Reply-To: <71AFA800-0873-42FF-9C3B-94F3AA765681@gmail.com> References: <201011101616.59156.freebsd-mips@dino.sk> <2ECB603F-5E21-424E-8EF7-5F7189887AEC@gmail.com> <201011112359.59958.freebsd-mips@dino.sk> <71AFA800-0873-42FF-9C3B-94F3AA765681@gmail.com> Date: Tue, 16 Nov 2010 11:10:46 +0100 Message-ID: From: Monthadar Al Jaberi To: Luiz Otavio O Souza Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-mips@freebsd.org Subject: Re: First RSPRO deployed ! X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2010 10:10:48 -0000 Hi, Nice to see other people work on the same board! feels like RSPRO fever! :P Thank you for sharing your files with us. I am running freebsd from both flash (mdroot) and NFS. In both cases I get the following error RTC after adding your diffs: ... Invalid time in real time clock. Check and reset the date immediately! ... Before your diffs I used to get: ... warning: no time-of-day clock registered, system time will not be set accur= ately ... Do you have any ideas what the cause could be? I can't seem to change the time with date also. Thank you again. On Sun, Nov 14, 2010 at 1:46 PM, Luiz Otavio O Souza w= rote: > On Nov 11, 2010, at 8:59 PM, Milan Obuch wrote: > > [ snip] > >>> adrian@ keeps a wiki page with some information about this: >>> http://wiki.freebsd.org/AdrianChadd/UbiquityRouterstationPro >>> >> >> I know about this page... actually, I am using patches mentioned there, >> downloaded from http://people.freebsd.org/~kan/usb_rspro.diff so I can u= se >> USB. >> >> Also, I use attached kernel config, but this needs some changes. For RTC= a >> patch is probably necessary. GPIO definition needs to be changed a bit. = I did >> not test any miniPCI card yet. Maybe again some patch is needed... >> >> I found http://people.freebsd.org/~adrian/rspro/ - do you use any patch = from >> there? >> >> Last thing coming from your dmesg - where did you get driver for switch >> connected to arge1 and what could you do with it? > > > > I'm using the Adrian's fix for USB align problem (http://people.freebsd.o= rg/~adrian/rspro/usb_conf_align.diff) it is equivalent to kan's patch, but = the fix isn't hardcoded (you need to enable the adrian's patch by add "opti= ons USB_HOST_ALIGN=3D32" on kernel config file). > > I'm sending a quick hack for RSPRO gpio, it adds the missing pins definit= ions and disable some functions used only for mikrotik routerboards. > > There is nothing needed for miniPCI devices, it just works :) > > The switch driver is a work in progress... =A0on rspro (for now) it works= as a generic switch (which does nothing), you can only see and set (or for= ce) the media settings per port. > > With a working switch driver you can configure (or filter) vlan tags on e= ach switch port and build more complex setups. > > I've it more complete on some models of mikrotik routerboards, but the cu= rrent code is a mess... i already get some feedback, so now i need to rewri= te the bad parts and i hope it will be available soon for more tests on rsp= ro. > > > Best regards, > Luiz > PS: files also available here: http://loos.no-ip.org:280/rspro > > > > > _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" > > --=20 //Monthadar Al Jaberi