From owner-freebsd-mips@FreeBSD.ORG Thu Apr 3 14:25:05 2008 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 88F4C1065671 for ; Thu, 3 Apr 2008 14:25:05 +0000 (UTC) (envelope-from nao@miffy.tom-yam.or.jp) Received: from miffy.tom-yam.or.jp (unknown [IPv6:2001:240:b5:0:230:48ff:fe92:3870]) by mx1.freebsd.org (Postfix) with ESMTP id 185DE8FC17 for ; Thu, 3 Apr 2008 14:25:04 +0000 (UTC) (envelope-from nao@miffy.tom-yam.or.jp) Received: from miffy.tom-yam.or.jp (localhost.private [127.0.0.1]) by miffy.tom-yam.or.jp (8.14.2/8.14.2) with ESMTP id m33EP3M4035936 for ; Thu, 3 Apr 2008 23:25:03 +0900 (JST) (envelope-from nao@miffy.tom-yam.or.jp) Received: (from nao@localhost) by miffy.tom-yam.or.jp (8.14.2/8.14.2/Submit) id m33EP3Px035933; Thu, 3 Apr 2008 23:25:03 +0900 (JST) (envelope-from nao) Date: Thu, 3 Apr 2008 23:25:03 +0900 (JST) Message-Id: <200804031425.m33EP3Px035933@miffy.tom-yam.or.jp> From: nao To: freebsd-mips@freebsd.org Subject: adm5120 support 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: Thu, 03 Apr 2008 14:25:05 -0000 Hello, guys! I was so much impressed by Warner's talk at ASIA BSDCON held last sunday, so I decided to try to run FreeBSD/mips on my BBR-4MG, a cheap (about $30 in Japan) router which employs ADM5120P SoC. Following modifications are needed to generate a kernel for configuration "ADM5120". I have not tried it yet on the router, since I have to build a serial console adapter and find a way to boot it. By the way, I had to ask my friend who is a FreeBSD comitter to obtain a set of mips2-jnpr source code. I tried accessing the archive via p4web, but I found it not a very convenient method. Is there a nifty way to access p4 server? Regards, Naoki Hamada nao@tom-yam.or.jp diff -ur src-jnpr-20080331/src/sys/mips/mips32/adm5120/adm5120_machdep.c src-jnpr/src/sys/mips/mips32/adm5120/adm5120_machdep.c --- src-jnpr-20080331/src/sys/mips/mips32/adm5120/adm5120_machdep.c 2008-03-31 15:55:56.000000000 +0900 +++ src-jnpr/src/sys/mips/mips32/adm5120/adm5120_machdep.c 2008-04-02 21:15:58.000000000 +0900 @@ -65,7 +65,6 @@ #include #include #include -#include #include #include diff -ur src-jnpr-20080331/src/sys/mips/mips32/adm5120/obio.c src-jnpr/src/sys/mips/mips32/adm5120/obio.c --- src-jnpr-20080331/src/sys/mips/mips32/adm5120/obio.c 2008-03-31 15:55:56.000000000 +0900 +++ src-jnpr/src/sys/mips/mips32/adm5120/obio.c 2008-04-02 21:36:05.000000000 +0900 @@ -321,7 +321,8 @@ event = sc->sc_eventstab[irq]; if (event == NULL) { error = intr_event_create(&event, (void *)irq, 0, - (void (*)(void *))NULL, "obio intr%d:", irq); + (mask_fn)mips_mask_irq, (mask_fn)mips_unmask_irq, + (mask_fn)mips_unmask_irq, NULL, "obio intr%d:", irq); sc->sc_eventstab[irq] = event; } From owner-freebsd-mips@FreeBSD.ORG Thu Apr 3 21:55:59 2008 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 E74521065671 for ; Thu, 3 Apr 2008 21:55:59 +0000 (UTC) (envelope-from gonzo@freebsd.org) Received: from bugor.portaone.com (bugor.portaone.com [65.61.203.147]) by mx1.freebsd.org (Postfix) with ESMTP id C79058FC20 for ; Thu, 3 Apr 2008 21:55:59 +0000 (UTC) (envelope-from gonzo@freebsd.org) Received: from mail.pbxpress.com ([65.61.203.142] helo=leaf.pbxpress.com) by bugor.portaone.com (8.11.3/8.11.3) with ESMTP (TLSv1:AES256-SHA:256)id 1JhXD7-000MWN-SP; Thu, 03 Apr 2008 13:43:05 -0800 Received: from jeeves.bluezbox.com (vpn216.terabit.net.ua [195.137.202.216]) (authenticated bits=0) by leaf.pbxpress.com (8.13.3/8.13.3) with ESMTP id m33LkQQB033182 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Apr 2008 13:46:35 -0800 (PST) (envelope-from gonzo@freebsd.org) Message-ID: <47F54F5F.2090701@freebsd.org> Date: Fri, 04 Apr 2008 00:42:55 +0300 From: Oleksandr Tymoshenko User-Agent: Thunderbird 2.0.0.6 (X11/20070907) MIME-Version: 1.0 To: nao References: <200804031425.m33EP3Px035933@miffy.tom-yam.or.jp> In-Reply-To: <200804031425.m33EP3Px035933@miffy.tom-yam.or.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, recieved from trusted server Cc: freebsd-mips@freebsd.org Subject: Re: adm5120 support 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: Thu, 03 Apr 2008 21:56:00 -0000 nao wrote: > Hello, guys! > > I was so much impressed by Warner's talk at ASIA BSDCON held last > sunday, so I decided to try to run FreeBSD/mips on my BBR-4MG, a cheap > (about $30 in Japan) router which employs ADM5120P SoC. > > Following modifications are needed to generate a kernel for > configuration "ADM5120". I have not tried it yet on the router, since > I have to build a serial console adapter and find a way to boot it. Thanks for pointing out. I submitted your fix it to mips2-jnpr branch. > By the way, I had to ask my friend who is a FreeBSD comitter to obtain > a set of mips2-jnpr source code. I tried accessing the archive via > p4web, but I found it not a very convenient method. Is there a nifty > way to access p4 server? As far as I know - there is no anonymous access to perforce :( -- gonzo From owner-freebsd-mips@FreeBSD.ORG Thu Apr 3 22:34:02 2008 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 056231065672 for ; Thu, 3 Apr 2008 22:34:02 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.182]) by mx1.freebsd.org (Postfix) with ESMTP id C98018FC21 for ; Thu, 3 Apr 2008 22:34:01 +0000 (UTC) (envelope-from kip.macy@gmail.com) Received: by wa-out-1112.google.com with SMTP id k17so3654570waf.3 for ; Thu, 03 Apr 2008 15:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=rO7YxcHVtOFQBmRJReIo8htSS2sVgx4Yfh/8ebZa4W8=; b=PuU+sw4cGsqYKMG6G83ok7TxwnlQ40IwBADvAtlkfx6RdMN8BvsUnkUIBZzkMMcVNO3gSb+IzcSixGoy8nbgv4tV8R/GiGnyhnAos3kUFBR+LxZRml83w8bMMgkfPVRT/kRKiLISkrsvtjtzg/wSGnlh1KGvMsM8auQvwyhNHe0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Cc6BGLf+j+/a+nrYcChbm+cg8qwwDQbHDhuq7Qsh5EmK3jLe0YtHAmGdW60INq+ED9NJjCNXzaMfYCVyMyPTF9zOeYbQ4hDABTMRbqJx3D/gY2/P2NUKF1RYf9iFeEmpI5qq7zfYpfaDCPzBQL8jVQXcM5ZHegGe1s2UWl+prhM= Received: by 10.115.54.1 with SMTP id g1mr662229wak.136.1207260369048; Thu, 03 Apr 2008 15:06:09 -0700 (PDT) Received: by 10.114.255.16 with HTTP; Thu, 3 Apr 2008 15:06:09 -0700 (PDT) Message-ID: Date: Thu, 3 Apr 2008 15:06:09 -0700 From: "Kip Macy" To: nao In-Reply-To: <200804031425.m33EP3Px035933@miffy.tom-yam.or.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200804031425.m33EP3Px035933@miffy.tom-yam.or.jp> Cc: freebsd-mips@freebsd.org Subject: Re: adm5120 support 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: Thu, 03 Apr 2008 22:34:02 -0000 > By the way, I had to ask my friend who is a FreeBSD comitter to obtain > a set of mips2-jnpr source code. I tried accessing the archive via > p4web, but I found it not a very convenient method. Is there a nifty > way to access p4 server? It is in fact possible to have p4 repositories mirrored over cvsup. Although it appears to be tedious to configure. The difficulty in sharing personal branches is a large part of what prompted me to move my xen and chelsio development from p4 to svn + svk. -Kip From owner-freebsd-mips@FreeBSD.ORG Fri Apr 4 02:10:03 2008 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 21618106566B for ; Fri, 4 Apr 2008 02:10:03 +0000 (UTC) (envelope-from onlinefuturebazaar2007@gmail.com) Received: from qb-out-0506.google.com (qb-out-0506.google.com [72.14.204.231]) by mx1.freebsd.org (Postfix) with ESMTP id AE91D8FC20 for ; Fri, 4 Apr 2008 02:10:02 +0000 (UTC) (envelope-from onlinefuturebazaar2007@gmail.com) Received: by qb-out-0506.google.com with SMTP id a10so4241069qbd.7 for ; Thu, 03 Apr 2008 19:10:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:return-receipt-to:reply-to:from:to:subject:date:organization:message-id:mime-version:content-type:x-mailer:thread-index:x-mimeole:disposition-notification-to; bh=d5A6xy0tpQWM9JHeYmKXkblyH24ToD/+Mvoe2IQ839g=; b=MtnsAd8/YWmQ8JayFkPwOLr1KCVuVSceLgcMMiWowMIZnpZ7j5+T/mbzpc76b5xaxpw2DxLWcJB4iz4JU5dC8JQ3Sr3J3P7SZGDjkuUKGs36amDUTnTC999vQA0xb4s4II3rKy/Nf98Fg9UvcnDf7ndsNVIL199ddy8rD+0m1Go= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=return-receipt-to:reply-to:from:to:subject:date:organization:message-id:mime-version:content-type:x-mailer:thread-index:x-mimeole:disposition-notification-to; b=e4oUQQaz4H/3g/ySjmfhjhdgVD4ny2ya/JUj52+2/5zdOn2XPN2peOvd6N1pq26/ty4CiNoJBz3I5MuNzJxxkyhVkDg0g0M3frIdoqW/YH+vTVqn8tD5zZW6b/OPcSPJrwp+oAxu4IC7I10sCK/tCBkGrNUEeHskrsSxoTO/eOg= Received: by 10.142.131.18 with SMTP id e18mr465715wfd.147.1207274105928; Thu, 03 Apr 2008 18:55:05 -0700 (PDT) Received: from onlinemain ( [59.161.47.100]) by mx.google.com with ESMTPS id 27sm8094416wff.8.2008.04.03.18.55.01 (version=SSLv3 cipher=RC4-MD5); Thu, 03 Apr 2008 18:55:05 -0700 (PDT) From: "Suraj Saroj" To: Date: Fri, 4 Apr 2008 06:59:24 +0530 Organization: Online Future Bazaar Message-ID: MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AciV6UfEtLMrlwhPRFCMA2Va+dMbKw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Online Future Bazaar X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: onlinefuturebazaar2007@gmail.com List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2008 02:10:03 -0000 Visit: www.onlinefuturebazaar.com Online Future Bazaar India