Re: Boot issue with orange pi pc

Alexander Mishin <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm
Message-ID <[email protected]>
Emmanuel Vadot писал 2020-08-25 22:15:
> On Tue, 25 Aug 2020 21:37:21 +0400
> Alexander Mishin <[email protected]> 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
> 
>  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 found only image from 13 Aug and it works just fine.
It would be nice to try a new image.

There is a result:

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 r364182: Thu Aug 13 06:32:19 UTC 2020
     [email protected]:/usr/obj/usr/src/arm.armv7/sys/GENERIC 
arm
FreeBSD clang version 10.0.1 ([email protected]:llvm/llvm-project.git 
llvmorg-10.0.1-0-gef32c611aa2)

---- skipped -----

Trying to mount root from ufs:/dev/ufs/rootfs [rw]...
ugen4.1: <Generic EHCI root HUB> at usbus4
uhub2Root mount waiting for: on usbus6
  usbus0uhub3 usbus1 on usbus4
  usbus2uhub2: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> 
on usbus6
  usbus3uhub4 usbus4 on usbus2
  usbus5uhub3: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> 
on usbus4
  usbus6uhub4: <Generic EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> 
on usbus2
  usbus7ugen5.1: <Generic OHCI root HUB> at usbus5
ugen3.1: <Generic OHCI root HUB> at usbus3
uhub5 CAM
  on usbus5
uhub6 on usbus3
uhub5: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on 
usbus5
uhub6: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on 
usbus3
ugen7.1: <Generic OHCI root HUB> at usbus7
uhub7 on usbus7
uhub7: <Generic OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on 
usbus7
uhub1: 1 port with 1 removable, self powered
uhub6: 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
mmcsd0: 31GB <SDHC SA32G 3.1 SN 27924D76 MFG 10/2017 by 2 TM> at mmc0 
50.0MHz/4bit/32768-block
mmc0: Failed to set VCCQ for card at relative address 4660
uhub0: 1 port with 1 removable, self powered
uhub2: 1 port with 1 removable, self powered
uhub3: 1 port with 1 removable, self powered
uhub4: 1 port with 1 removable, self powered
mountroot: waiting for device /dev/ufs/rootfs...
Setting hostuuid: d006031e-f668-11de-bc76-6bb4fd8509a3.
Setting hostid: 0xf64aaef0.
No suitable dump device was found.
Starting file system checks:
/dev/ufs/rootfs: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ufs/rootfs: clean, 6795243 free (259 frags, 849373 blocks, 0.0% 
fragmentation)
Mounting local filesystems:.

---- skipped ----

Thanks
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arm
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.