From owner-freebsd-arm@FreeBSD.ORG Fri May 1 13:55:48 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E2F3C106566B for ; Fri, 1 May 2009 13:55:48 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 747AF8FC25 for ; Fri, 1 May 2009 13:55:48 +0000 (UTC) (envelope-from jacques.fourie@gmail.com) Received: by fg-out-1718.google.com with SMTP id e12so60745fga.12 for ; Fri, 01 May 2009 06:55:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=82A3+XmlZh/jfaiW2gFYNTP8iDcWHH/dGs0HfeMhis8=; b=AcDhcg0hUCrYG6vSDwHk7z+T4Qs4+fv6ndeCFhdzI/hvBR2hKNZIG9ijUAe85DHJCD M6d9RD6Lv6ovNqhqpus+cMzL2Rj1hvCAbgn6afdJ/lYG8v98/fTCRvV1bbNkhrOUzNMg +5eAfBtNaDmVZjOcLYlNWOLh/MLkTGVEoEbVk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=kB44UVfX1A/QjHmi70fJSEdaAYD/e3aLqbt4wPrCkXZKVO0zUnDEyAVsGAlODeVwok vzrJwb/slzdbpCzIFhMazL5uXBfgIbEi0Gy4MKUfpRApIiXtMfB0zDY6C0Sbc8nQaHMz b/tWswb5UOHpPht1SjBfkyR/J1GkvBN98Zsz8= MIME-Version: 1.0 Received: by 10.86.29.8 with SMTP id c8mr2880118fgc.7.1241184382725; Fri, 01 May 2009 06:26:22 -0700 (PDT) Date: Fri, 1 May 2009 15:26:22 +0200 Message-ID: From: Jacques Fourie To: freebsd-arm@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: PXA27X support X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2009 13:55:49 -0000 Hi, I've been working on getting FreeBSD to boot on my Yoggie (http://www.yoggie.com/open-firewall-soho) platform. The only major missing piece is that set_cpufuncs() doesn't support the PXA270 : --- a/sys/arm/arm/cpufunc.c +++ b/sys/arm/arm/cpufunc.c @@ -1192,6 +1192,7 @@ set_cpufuncs() #ifdef CPU_XSCALE_PXA2X0 /* ignore core revision to test PXA2xx CPUs */ if ((cputype & ~CPU_ID_XSCALE_COREREV_MASK) == CPU_ID_PXA250 || + (cputype & ~CPU_ID_XSCALE_COREREV_MASK) == CPU_ID_PXA27X || (cputype & ~CPU_ID_XSCALE_COREREV_MASK) == CPU_ID_PXA210) { There are some other differences between the PXA255 and PXA270 such as different gpio pins etc. but I'm unsure as to what the best way is to handle this elegantly in the current pxa code. Currently I'm using a bunch of #ifdefs in files such as pxa_machdep.c. Regards, Jacques