From owner-freebsd-mips@FreeBSD.ORG Thu Feb 16 14:10:30 2012 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 51B5B106566B for ; Thu, 16 Feb 2012 14:10:30 +0000 (UTC) (envelope-from ray@dlink.ua) Received: from smtp.dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 086F18FC08 for ; Thu, 16 Feb 2012 14:10:29 +0000 (UTC) Received: from terran.dlink.ua (unknown [192.168.10.90]) (Authenticated sender: ray) by smtp.dlink.ua (Postfix) with ESMTPSA id 4860EC496D; Thu, 16 Feb 2012 15:54:44 +0200 (EET) Date: Thu, 16 Feb 2012 15:56:25 +0200 From: Aleksandr Rybalko To: Warner Losh Message-Id: <20120216155625.665708d8.ray@dlink.ua> In-Reply-To: <4363A00B-E429-4F6E-AB45-C73797978D3A@bsdimp.com> References: <1329319066.11994.YahooMailClassic@web160703.mail.bf1.yahoo.com> <4363A00B-E429-4F6E-AB45-C73797978D3A@bsdimp.com> Organization: D-Link X-Mailer: Sylpheed 2.7.1 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Adrian Chadd , freebsd-mips@FreeBSD.org Subject: Re: Support for mips74KC 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, 16 Feb 2012 14:10:30 -0000 On Wed, 15 Feb 2012 10:37:12 -0700 Warner Losh wrote: >> >> On Feb 15, 2012, at 8:17 AM, Youri Adonis wrote: >> > I have a RT-N16 which I tried freebsd on through Rybalko's >> > broadcom work. I cannot get it to boot yet. It appears there is >> > some sort of 74kc support in NetBSD >> >> What support is missing in FreeBSD? CPU OS support only differ in two things (from NetBSD code) CPU_MIPS_HAVE_SPECIAL_CCA | (0 << CPU_MIPS_CACHED_CCA_SHIFT) MIPS_CP0FL_CONFIG6 74k have "A 15-stage asymmetric dual-issue pipeline", 24k have only 8-stage, but: 1. our gcc know nothing about 74k. 2. clang seems same. I think if we add CPU_MIPS_HAVE_SPECIAL_CCA flag handling, it may run code compiled as mips24k, but I dunno how it will affect performance. Don't have such H/W, so can't check yet. Hope it will be not so big pain to add 74k to gcc. >> >> Warner >> >> _______________________________________________ >> 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" -- Alexandr Rybalko aka Alex RAY