Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Sep 2020 00:03:16 +0300
From:      Greg V <greg@unrelenting.technology>
To:        Robert Clausecker <fuz@fuz.su>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Attempting to install on RPi4B w/ UEFI, having some problems
Message-ID:  <GTNGGQ.ZDII696IP75W3@unrelenting.technology>
In-Reply-To: <20200910201146.GA99827@fuz.su>
References:  <20200910201146.GA99827@fuz.su>

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


On Thu, Sep 10, 2020 at 22:11, Robert Clausecker <fuz@fuz.su> wrote:
> Greetings!
> 
> I'm trying to install FreeBSD on a Raspberry Pi 4B w/ UEFI
[..]

> * build CURRENT from source with D25201 manually applied (the other 
> patches
>   have apparently already been merged)

D25219 hasn't been merged. D25201 *was* merged!

Is your source tree up to date?

> * if I plug the USB drive into a USB 3.0 port, everything works fine 
> until
>   root is mounted.  At that point, every further disk access fails 
> with IO
>   errors:
> 
> (da0:umass-sim0:0:0:0): READ(10). CDB: 28 00 01 80 a0 c1 00 00 07 00
> (da0:umass-sim0:0:0:0): CAM status: CCB request completed with an 
> error
> (da0:umass-sim0:0:0:0): Retrying command, 3 more tries remain

That's what I was seeing when above-3GB DMA was happening,
i.e. without D25219.

Interesting that 2.0 vs 3.0 port matters for you, I don't think it did 
to me.

>   This can be worked around using

using..? Some part of the mail was lost here?

> * a genet ethernet device does not seem to exist and consequentially,
>   no network connection can be established.

Nobody has written an ACPI attachment for the genet driver yet :(

(And for other Pi-specific things for that matter.
Meanwhile in NetBSD: https://dmesgd.nycbug.org/index.cgi?do=view&id=5562
'bcmmbox0 at acpi0 (RPIQ, BCM2849-0)' and so on)

I wanted to do the genet one but kinda don't have the time/motivation 
right now.

> * pciconf -l yields no PCI devices and dmesg suggests no pci bus was
>   detected (grepping for pci yields no results)

What do you want to do with PCI? Your USB works, forget about PCI.

(The ACPI DSDT table presents the XHCI controller that's behind PCIe
*as if* it was not behind anything, just directly attached onto the SoC.
No PCI support needed at all!)

(Yes, this does mean that RPi4-UEFI is not compatible with desoldering 
the
XHCI controller chip and adding a PCIe riser there, lol.)





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