From owner-freebsd-arm@FreeBSD.ORG Sat Jan 12 11:43:36 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 64E7F614 for ; Sat, 12 Jan 2013 11:43:36 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (moon.peach.ne.jp [203.141.148.98]) by mx1.freebsd.org (Postfix) with ESMTP id EFB94231 for ; Sat, 12 Jan 2013 11:43:35 +0000 (UTC) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id 7C3EC39E09; Sat, 12 Jan 2013 20:43:27 +0900 (JST) Received: from artemis (unknown [172.18.0.20]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTPSA id 67A3239D62; Sat, 12 Jan 2013 20:43:27 +0900 (JST) Message-ID: From: "Daisuke Aoyama" To: "Andrew Turner" References: <2659960079254C38ACD2F1DCBB7A1A19@ad.peach.ne.jp> <20130112194902.7e161b59@fubar.geek.nz> In-Reply-To: <20130112194902.7e161b59@fubar.geek.nz> Subject: Re: FreeBSD/armv6z/clang on Raspberry Pi 512MB (with U-Boot + ubldr) Date: Sat, 12 Jan 2013 20:43:31 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jan 2013 11:43:36 -0000 Hi, > You have made changes to files in contrib/llvm/. Are these needed? > Clang should be supported in head without any patches. I would like to > know if there are any issues with the copy of llvm & clang we have so I > can fix them. Did you run clang under ARM kernel? (not cross) I think no need patch to contrib/llvm if it use OABI only. I don't know about EABI. (currently dropped EABI in my patch) However, you can not use clang completely until other patch is applied. 1) no vmrs/vmsr op code (used by VFP) in contrib/binutils/gas/config/tc-arm.c 2) no enough text size in sys/arm/include/vmparam.h, config/RPI-B-test13 (32MB or more is recommended) 3) cannot change max text size in sys/arm/include/vmparam.h, sys/conf/options.arm I don't know why MAX size under VA is limited so small. The physical memory is allocated when it requires, isn't it? Thanks, -- Daisuke Aoyama