Rpi boot process stuck on mountroot
Daisuke Aoyama
aoyama at peach.ne.jp
Thu Jan 3 00:49:53 UTC 2013
> 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
More information about the freebsd-arm
mailing list