Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2019 13:42:26 +0900
From:      Yoshiro MIHIRA <sanpei.ml@gmail.com>
To:        Ian Lepore <ian@freebsd.org>, freebsd-arm <freebsd-arm@freebsd.org>, radovan@putec.sk
Subject:   Re: FreeBSD-12.0-current not booting on hummingboard
Message-ID:  <CALwmBx13n4ysN8-sro_cKU52DAut2Kw2Op_-C_DsOKiFUZt9Dw@mail.gmail.com>
In-Reply-To: <CALwmBx0X7W21%2BcHq96qYkKLx7MvtNf8LgbnutzsVmYbb_BSQsg@mail.gmail.com>
References:  <4f421a5f-c09d-46a4-8d45-4f7e5e3b2e40@Spark> <1545061176.76088.73.camel@freebsd.org> <CALwmBx0X7W21%2BcHq96qYkKLx7MvtNf8LgbnutzsVmYbb_BSQsg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi.

I'm trying to boot 13-current image on Hummingboard.

Finally I could boot GENERIC kernel with some loader options.

/boot/loader.conf.local
hw.regulator.disable_unused=3D0
sdma-imx6q-to1.fwo_load=3D"YES"
sdma-imx6q-to1.fwo_type=3D"firmware"

put sdma-imx6q-to1.fwo on /boot/kernel directory.

------------------------------------------------------------
background of above settings.

I found below message, that's the way kernel could not mount microSD as
root partition.

>mmc1: CMD8 failed, RESULT: 1
>mmc1: ACMD41 failed, RESULT: 4

1) hw.regulator.disable_unused=3D0

>From boot message, I found below one. So currently I set above value(DON'T
disable sd regulator).

>regulator: shutting down v_sd

2) load firmware for sdma

GENERIC kernel has sdma driver, but there is no firmware and firmware
loader module. Maybe there is bad side effect for mmc1.
Currently above loader.conf.local is only load firmware image.

>sdma0: Can't get firmware.

P.S.
I replaced and used old u-boot(11.0-RELEASE).

P.S2.
I can use IMX6 Kernel config without issue(because thos modules doen not
included in kernel).

Yours
Yoshiro.MIHIRA

2019=E5=B9=B43=E6=9C=8825=E6=97=A5(=E6=9C=88) 22:39 Yoshiro MIHIRA <sanpei.=
ml@gmail.com>:

> Hi all,
>
> I have Hummingboard-i2.
> I tested FreeBSD-12.0-RELEASE image.
>
> Unfortunately, I have two issues.
>
> 1) u-boot issue.
>
> Maybe latest u-boot does not support Hummingboard-i2. I use old u-boot
> which is included 11.0-RELEASE.
>
> From sysutils/u-boot-cubox-hummingboard/pkg-descr:
>
> >As of this writing,the changes in this fork have not been rolled back in=
to upstream U-Boot.
>
> 2) GENERIC kernel issue
>
> GENERIC kernel could not boot[NG]. If I use IMX6 kernel config, I can boo=
t
> it.
>
> boot messages as blow:
> https://www.sanpei.org/~sanpei/tmp/12.0-RELEASE-with-11.0-uboot-NG
>
> If I have time, I will try to find out the reason and to support GENERIC
> kernel on Hummingboard.
>
> Yours
> Yoshiro MIHIRA
>
> 2018=E5=B9=B412=E6=9C=8818=E6=97=A5(=E7=81=AB) 0:40 Ian Lepore <ian@freeb=
sd.org>:
>
>> On Sun, 2018-12-16 at 17:34 +0100, Radovan Ptec wrote:
>> > Hi there,
>> >
>> > I've tried installing FreeBSD-12.0-RELEASE on hummingboard, however
>> > it seems to
>> > be broken,same problem with RC3. Can't test with earlier RC as I
>> > didn=E2=80=99t
>> > downloaded one and I can=E2=80=99tfind them anymore.
>> >
>> > 11.2 armv6 is working as expected, upgrading to 12.0 from source as
>> > armv6 is
>> > also working asexpected.
>> >
>> > Sorry, no serial console available, I've managed to fry it some time
>> > ago.
>> > After connecting HDMI I see following output in loop (adresses
>> > change):
>> >
>> > pc : [<1792640c>] lr : [<4ff9f403>]
>> > reloc pc : [<1782640c>] lr : [<17826403>]
>> > sp : 4f672d08 ip : 4f59 fp : 4f5769dc
>> > r10: 4ffb3f02 r9 : 4f57 r8 : 4ff9f40c
>> > r7 : 4f89b250 r6 : 4f89 r5 : 4ffc10e r4 : ffffffff
>> > r3 : 9ff01ce5 r2 : 9ff0 r1 : 4ffb3f02 r0 : 0000005e
>> > Flags: nzCv IRQs on FIQs on Mode SVC_32
>> > Code: f00968a0 b918f866 68e04641 ffb2f7ff (e7ef6824)
>> > data abort
>> >
>> > At this point I'm not sure how to proceed with adressing this issue,
>> > or how to debug
>> > the problem.Any hints?
>> >
>> > Thank you!
>> > radovan
>>
>> Nothing in freebsd creates output that looks like that. I think that
>> must be u-boot that is crashing and generating that report. But I don't
>> have anything useful to add beyond that observation.
>>
>> -- Ian
>> _______________________________________________
>> freebsd-arm@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
>>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALwmBx13n4ysN8-sro_cKU52DAut2Kw2Op_-C_DsOKiFUZt9Dw>