From owner-freebsd-arm@FreeBSD.ORG Thu Jan 3 00:49:53 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 D2B60766 for ; Thu, 3 Jan 2013 00:49:53 +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 6AD8FCE6 for ; Thu, 3 Jan 2013 00:49:52 +0000 (UTC) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id 83ABF39E5C; Thu, 3 Jan 2013 09:49:42 +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 7FDAF39D62; Thu, 3 Jan 2013 09:49:42 +0900 (JST) Message-ID: From: "Daisuke Aoyama" To: "hiren panchasara" , "Stephen Hurd" References: <1357002062.54953.135.camel@revolution.hippie.lan> <06BF94A3-6F02-4E4B-8572-D202E5C8CB4B@kientzle.com> <57772D20A1814967B7FFDC476215780B@ad.peach.ne.jp> <50E2488F.6010506@sasktel.net> In-Reply-To: Subject: Re: Rpi boot process stuck on mountroot Date: Thu, 3 Jan 2013 09:49:45 +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 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: Thu, 03 Jan 2013 00:49:53 -0000 > I applied patch listed at http://www.peach.ne.jp/archives/rpi/patch/ along with > bcm2835_asm.S and bcm2835_asm.h files and got errors on buildkernel > using Tim's scripts: > > cc1: warnings being treated as errors > In file included from > /usr/src/head/sys/arm/broadcom/bcm2835/bcm2835_systimer.c:55: > /usr/src/head/sys/arm/broadcom/bcm2835/bcm2835_asm.h:48: warning: > 'struct sdhci_slot' declared inside parameter list > /usr/src/head/sys/arm/broadcom/bcm2835/bcm2835_asm.h:48: warning: its > scope is only this definition or declaration, which is probably not > what you want > /usr/src/head/sys/arm/broadcom/bcm2835/bcm2835_asm.h:50: warning: > 'struct sdhci_slot' declared inside parameter list > /usr/src/head/sys/arm/broadcom/bcm2835/bcm2835_asm.h:52: warning: > 'struct sdhci_slot' declared inside parameter list > /usr/src/head/sys/arm/broadcom/bcm2835/bcm2835_asm.h:54: warning: > 'struct sdhci_slot' declared inside parameter list > /usr/src/head/sys/arm/broadcom/bcm2835/bcm2835_asm.h:56: warning: > 'struct sdhci_slot' declared inside parameter list > /usr/src/head/sys/arm/broadcom/bcm2835/bcm2835_asm.h:58: warning: > 'struct sdhci_slot' declared inside parameter list > /usr/src/head/sys/arm/broadcom/bcm2835/bcm2835_asm.h:60: warning: > 'struct sdhci_slot' declared inside parameter list > /usr/src/head/sys/arm/broadcom/bcm2835/bcm2835_asm.h:62: warning: > 'struct sdhci_slot' declared inside parameter list > *** [bcm2835_systimer.o] Error code 1 > 1 error > *** [buildkernel] Error code 2 > 1 error > *** [buildkernel] Error code 2 > > Probably some header file ordering/missing issue? I am using head @ > revision 244918. Sorry, I didn't check without clang/NO_WERROR. Please download fixed version: http://www.peach.ne.jp/archives/rpi/patch/bcm2835_asm.h > But the good news is that I could boot up my rpi successfully using > freebsd-pi-clang-20130101.img.gz :-) Thank you. -- Daisuke Aoyama