Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2020 20:10:07 +0400
From:      Alexander Mishin <mishin@mh.net.ru>
To:        freebsd-arm@freebsd.org
Subject:   Re: Boot issue with orange pi pc
Message-ID:  <322599255ad284372e6dbab8253c2634@mh.net.ru>
In-Reply-To: <20200825201527.66c8385ca691657038e425a9@bidouilliste.com>
References:  <52ea831ec34ebc0dc00292ac5e1c3894@mh.net.ru> <20200825201527.66c8385ca691657038e425a9@bidouilliste.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Emmanuel Vadot писал 2020-08-25 22:15:
> On Tue, 25 Aug 2020 21:37:21 +0400
> Alexander Mishin <mishin@mh.net.ru> wrote:
> 
>> After a last friday's update my OrangePI-PC stop booting.
>> Where to look? Fdt overlay to set the clock for mmc0?
>> 
>> Here's how it ended in the console:
>> 
>> ---- skipped ----
>> Trying to mount root from ufs:/dev/ufs/rootfs [rw,noatime]...
>> uhub4 on usbus5
>> uhub5 on usbus1
>> uhub4: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on
>> usbus5
>> uhub5: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on
>> usbus1
>> Root mount waiting for:ugen6.1: <Generic EHCI root HUB> at usbus6
>> ugen7.1: <Generic OHCI root HUB> at usbus7
>> uhub6 usbus0 on usbus6
>>   usbus1uhub7 usbus2 on usbus7
>>   usbus3uhub6: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 
>> 1>
>> on usbus6
>>   usbus4uhub7: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 
>> 1>
>> on usbus7
>>   usbus5 usbus6 usbus7
>> uhub0: 1 port with 1 removable, self powered
>> uhub4: 1 port with 1 removable, self powered
>> uhub5: 1 port with 1 removable, self powered
>> uhub7: 1 port with 1 removable, self powered
>> mmc0: <MMC/SD bus> on aw_mmc0
>> Cannot set frequency for clk: mmc0, error: 34
>> aw_mmc0: failed to set frequency to 50000000 Hz: 34
>> uhub2: 1 port with 1 removable, self powered
>> uhub1: 1 port with 1 removable, self powered
>> uhub3: 1 port with 1 removable, self powered
>> uhub6: 1 port with 1 removable, self powered
>> mountroot: waiting for device /dev/ufs/rootfs...
>> Mounting from ufs:/dev/ufs/rootfs failed with error 19.
>> 
>> Loader variables:
>>    vfs.root.mountfrom=ufs:/dev/ufs/rootfs
>>    vfs.root.mountfrom.options=rw,noatime
>> 
>> Manual root filesystem specification:
>>    <fstype>:<device> [options]
>>        Mount <device> using filesystem <fstype>
>>        and with the specified (optional) option list.
>> 
>>      eg. ufs:/dev/da0s1a
>>          zfs:zroot/ROOT/default
>>          cd9660:/dev/cd0 ro
>>            (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)
>> 
>>    ?               List valid disk boot devices
>>    .               Yield 1 second (for background tasks)
>>    <empty line>    Abort manual input
>> 
>> mountroot> aw_mmc0: controller timeout
>> aw_mmc0: timeout resetting DMA/FIFO
>> aw_mmc0: timeout updating clock
>> aw_mmc0: controller timeout
>> aw_mmc0: timeout resetting DMA/FIFO
>> aw_mmc0: timeout updating clock
>> aw_mmc0: controller timeout
>> aw_mmc0: timeout resetting DMA/FIFO
> 
>  What version of FreeBSD ?
>  What revision ?
> 
>  Could you test the GENERICSD image (you just need to add your u-boot).
> 
>  I'll try to find time this week to test myself on H3 board.
> 

I just tried a new image from Aug 27 2020, but the result is still the 
same:

Copyright (c) 1992-2020 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
     The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 13.0-CURRENT #0 r364846: Thu Aug 27 05:20:47 UTC 2020
     root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm.armv7/sys/GENERIC 
arm
FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git 
llvmorg-11.0.0-rc2-0-g414f32a9e86)
WARNING: WITNESS option enabled, expect reduced performance.

---- skipped ----

Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
ugen6.1: <Generic EHCI root HUB> at usbus6
uhub4ugen5.1: <Generic OHCI root HUB> at usbus5
  on usbus3
uhub4: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on 
usbus3
uhub5 on usbus7
uhub6 on usbus5
uhub5: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on 
usbus7
uhub6: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on 
usbus5
uhub7 on usbus6
uhub7: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on 
usbus6
Root mount waiting for: usbus0 usbus1 usbus2 usbus3 usbus4 usbus5 usbus6 
usbus7
uhub3: 1 port with 1 removable, self powered
uhub4: 1 port with 1 removable, self powered
uhub6: 1 port with 1 removable, self powered
uhub5: 1 port with 1 removable, self powered
mmc0: <MMC/SD bus> on aw_mmc0
Cannot set frequency for clk: mmc0, error: 34
aw_mmc0: failed to set frequency to 50000000 Hz: 34
uhub1: 1 port with 1 removable, self powered
uhub0: 1 port with 1 removable, self powered
uhub2: 1 port with 1 removable, self powered
uhub7: 1 port with 1 removable, self powered
mountroot: waiting for device /dev/ufs/rootfs...
Mounting from ufs:/dev/ufs/rootfs failed with error 19.

Loader variables:
   vfs.root.mountfrom=ufs:/dev/ufs/rootfs
   vfs.root.mountfrom.options=rw

Manual root filesystem specification:
   <fstype>:<device> [options]
       Mount <device> using filesystem <fstype>
       and with the specified (optional) option list.

     eg. ufs:/dev/da0s1a
         zfs:zroot/ROOT/default
         cd9660:/dev/cd0 ro
           (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)

   ?               List valid disk boot devices
   .               Yield 1 second (for background tasks)
   <empty line>    Abort manual input

mountroot> aw_mmc0: controller timeout
aw_mmc0: timeout resetting DMA/FIFO
aw_mmc0: timeout updating clock
random: unblocking device.
aw_mmc0: controller timeout
aw_mmc0: timeout resetting DMA/FIFO



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