Rpi boot process stuck on mountroot

hiren panchasara hiren.panchasara at gmail.com
Wed Jan 2 09:11:47 UTC 2013


On Tue, Jan 1, 2013 at 12:58 AM, hiren panchasara
<hiren.panchasara at gmail.com> wrote:
> On Mon, Dec 31, 2012 at 6:23 PM, Stephen Hurd <shurd at sasktel.net> wrote:
>> Daisuke Aoyama wrote:
>>> There is two factor.
>>> One of is dev/mmc never check an error condition of the result.
>>> Other is RPI does not work 50MHz with some SD cards.
>>> I have posted the workaround patch today.
>>>
>>> http://lists.freebsd.org/pipermail/freebsd-arm/2013-January/004507.html
>
> Thanks Daisuke,
> I will give this a try tomorrow.

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.

But the good news is that I could boot up my rpi successfully using
freebsd-pi-clang-20130101.img.gz :-)

Thank you for your work,
Hiren

>>	
>> Another thing to consider is the power.  When voltage levels between TP1
>> and TP2 are below around 4.6V, I see a lot more of this failure.
> I use my android phone charger to power rpi. Is that okay?
>
> Thanks,
> Hiren


More information about the freebsd-arm mailing list