From owner-freebsd-arm@FreeBSD.ORG Thu Jan 3 03:33:33 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 821DBC0E for ; Thu, 3 Jan 2013 03:33:33 +0000 (UTC) (envelope-from hiren.panchasara@gmail.com) Received: from mail-oa0-f44.google.com (mail-oa0-f44.google.com [209.85.219.44]) by mx1.freebsd.org (Postfix) with ESMTP id 318021E1 for ; Thu, 3 Jan 2013 03:33:32 +0000 (UTC) Received: by mail-oa0-f44.google.com with SMTP id n5so13742903oag.31 for ; Wed, 02 Jan 2013 19:33:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YeNFce2rtzYRA3B7j74qAWj/sbRmKEIZRSkJLVaDMQc=; b=oZWFrpZImoh+FuOK6P/rWcAG6I2pCA08GbIG3ZBJoZwHuHRkF8aizHWGZDOOhyaloP h3s/pJL4BNDWiCWTv19R2nhRryeSYekD/H6Vc2qygpsM/yLqkY2xj+tfm8y0rHCD5tBn GbfV2YmXrRLD9kzLzuR22KT4SCkxXR+p/noiXew5/9iA7zSh7kiHJAXyFrJ5DoQv08Pz 7E1oKTaLQHV6Ti+VAl+JH+Nzdehly/GJR8mo3k3+H9ZZUk2fxX/8oX/lyiVFqw6qYULt JGsoSQQIAzfEi9JYBas583mpljm3dQHGEs1UPXXekNZYnWxbEUj1n1MXkF3XvDT4lhVc teWA== MIME-Version: 1.0 Received: by 10.182.110.1 with SMTP id hw1mr38629527obb.68.1357184011935; Wed, 02 Jan 2013 19:33:31 -0800 (PST) Received: by 10.182.156.6 with HTTP; Wed, 2 Jan 2013 19:33:31 -0800 (PST) In-Reply-To: References: <1357002062.54953.135.camel@revolution.hippie.lan> <06BF94A3-6F02-4E4B-8572-D202E5C8CB4B@kientzle.com> <57772D20A1814967B7FFDC476215780B@ad.peach.ne.jp> <50E2488F.6010506@sasktel.net> Date: Wed, 2 Jan 2013 19:33:31 -0800 Message-ID: Subject: Re: Rpi boot process stuck on mountroot From: hiren panchasara To: Daisuke Aoyama Content-Type: text/plain; charset=UTF-8 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 03:33:33 -0000 On Wed, Jan 2, 2013 at 4:49 PM, Daisuke Aoyama wrote: >> 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 Works! Thanks, Hiren > > >> But the good news is that I could boot up my rpi successfully using >> freebsd-pi-clang-20130101.img.gz :-) > > > Thank you. > -- > Daisuke Aoyama >