Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jan 2013 01:04:29 -0800
From:      hiren panchasara <hiren.panchasara@gmail.com>
To:        Stephen Hurd <shurd@sasktel.net>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: Rpi boot process stuck on mountroot
Message-ID:  <CALCpEUFbP7FuBXAn4ZE5xVVGS27Tnvt7WHXdoTwu__B2=e3F5g@mail.gmail.com>
In-Reply-To: <CALCpEUHSD66iuiqdbEXJ0-41hDr2ULTo1Cc6K5kcb2WO8BAn-w@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 1, 2013 at 12:58 AM, hiren panchasara
<hiren.panchasara@gmail.com> wrote:
> On Mon, Dec 31, 2012 at 6:23 PM, Stephen Hurd <shurd@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALCpEUFbP7FuBXAn4ZE5xVVGS27Tnvt7WHXdoTwu__B2=e3F5g>