head -r357356: fails to boot RPi4 but boots Rock64 (same media, moved between machines); -r356426 booted both

Klaus Küchemann maciphone2 at googlemail.com
Sat Feb 1 20:45:12 UTC 2020



> Am 01.02.2020 um 20:02 schrieb Mark Millard <marklmi at yahoo.com>:
> 
> I described the original sequence that made the originally
> -r356426 based Rock64 microSD card also bootable on the
> RPi4 in:
> 
> https://lists.freebsd.org/pipermail/freebsd-arm/2020-January/021117.html
> 

Thanks for posting (I also ’ve both boards available), 
so we can assume that’s an (known) RPI4-only issue, which I also encounter when compiling to 
GENERIC-NODEBUG(or whatever kernel)  to  r357335 yesterday.
I discussed that with Kyle Evans in : 
https://reviews.freebsd.org/D15955


> 
>> which kernel did you boot from (e.g. GENERIC) ?
> 
> This question was repeated twice. Answered earlier.
>> 

That was a copy/paste-issue because I was watching football the same time I wrote :-)


> But I also have a glabel label assigned so there is
> /dev/label/RPi4root for the partition that has the
> ufs file system as well. When the card was at
> -r357426 that worked fine in the RPi4 and its still
> works fine with the microSD card put in the Rock64.
> 
> For reference (done on the Rock64):
> 
> # gpart show -p
> =>       63  249737153    mmcsd0  MBR  (119G)
>         63      32705            - free -  (16M)
>      32768     102312  mmcsd0s1  fat32lba  [active]  (50M)
>     135080      28760            - free -  (14M)
>     163840  241172480  mmcsd0s2  freebsd  (115G)
>  241336320    8400896            - free -  (4.0G)
> 
> =>        0  241172480   mmcsd0s2  BSD  (115G)
>          0  230686720  mmcsd0s2a  freebsd-ufs  (110G)
>  230686720    7340032  mmcsd0s2b  freebsd-swap  (3.5G)
>  238026752    2097152  mmcsd0s2d  freebsd-swap  (1.0G)
>  240123904    1048576             - free -  (512M)
> 
> 
> 
> 
> ===
> Mark Millard
> marklmi at yahoo.com
> ( dsl-only.net went
> away in early 2018-Mar)
> 

The rescan seems to fail... so that if you were on mountroot > -prompt   it probably wouldn’t be help to mount 
by ufs:/….     

 But I’ve read somewhere that 1 user had success by mounting mmc/uSD by typing ufs:/… @mountroot

When I waited a moment after the mount-crash it gave me the mountroot> prompt on RPI4 but with me no way to mount manually at the moment, so this issue has to be fixed ….


I have updated the Wiki a little( and will add more today) :
https://wiki.freebsd.org/arm/Raspberry%20Pi
.. welcome there  if you have interesting news 


Regards

Klaus 




More information about the freebsd-arm mailing list