Date: Thu, 3 Jan 2013 09:49:45 +0900 From: "Daisuke Aoyama" <aoyama@peach.ne.jp> To: "hiren panchasara" <hiren.panchasara@gmail.com>, "Stephen Hurd" <shurd@sasktel.net> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: Rpi boot process stuck on mountroot Message-ID: <AE49FF5037264617A4393537D2D9EEC8@ad.peach.ne.jp> In-Reply-To: <CALCpEUFbP7FuBXAn4ZE5xVVGS27Tnvt7WHXdoTwu__B2=e3F5g@mail.gmail.com> References: <CALCpEUGXc_Dp=BG5dTLBkMR3P30kgNnzpWzHuW2Xx-Qs0XjZvw@mail.gmail.com> <1357002062.54953.135.camel@revolution.hippie.lan> <06BF94A3-6F02-4E4B-8572-D202E5C8CB4B@kientzle.com> <57772D20A1814967B7FFDC476215780B@ad.peach.ne.jp> <50E2488F.6010506@sasktel.net> <CALCpEUHSD66iuiqdbEXJ0-41hDr2ULTo1Cc6K5kcb2WO8BAn-w@mail.gmail.com> <CALCpEUFbP7FuBXAn4ZE5xVVGS27Tnvt7WHXdoTwu__B2=e3F5g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AE49FF5037264617A4393537D2D9EEC8>