Doug Moss writes:
> In the UEFI (1.16) configuration, I have changed > from default "ACPI" to "ACPI + devicetree" > from default "Arasan SDHCI" to "eMMC2 SDHCI" > (Is this description > https://mail-index.netbsd.org/port-arm/2017/07/30/msg004328.html > accurate that the eMMC2 uses the sdhost driver, freeing up sdhc for the wifi > chip?) > > (I make this explicit to help anyone following this to get the Raspberry Pi4 > with UEFI to work for openbsd) Thanks; I am also new to arm64 and I assumed that WiFi on the RPi4 wasn't working yet since it's not listed on arm64.html. I'd been using a run(4) on mine when I wanted wifi. Could arm64.html be updated? Quick diff: blob - 4aae202b2b0e09c1df1e55f2a8cb8b84847c0825 blob + a583aa46fe231ad14f7ecd5e28043f55a39d805d --- arm64.html +++ arm64.html @@ -60,9 +60,20 @@ U-Boot> boot <p> The Raspberry Pi 4 is only supported when using EDK2-based UEFI firmware. -By default the boot ROM will only try to load the firmware off an SD card. -There is no SD/MMC driver yet, but there are no manual steps needed to -boot from a USB disk drive. +By default the boot ROM will only try to load the firmware off an SD card, +but there are no manual steps needed to boot the operating system from a +USB disk drive. The UEFI firmware's ACPI tables provide enough devices +for the system to be usable with USB storage and wired Ethernet; additional +devices such as the +<a href="https://man.openbsd.org/arm64/bcmdog.4">bcmdog(4)</a> +watchdog timer and +<a href="https://man.openbsd.org/arm64/bcmirng.4">bcmirng(4)</a> +RNG can be attached when the firmware is configured to provide a +device tree in addition to ACPI. The SD controller may need to be +set to eMMC2 mode in the firmware in order for it to attach along +with the onboard +<a href="https://man.openbsd.org/arm64/bwfm.4">bwfm(4)</a> +WiFi. <p> Ampere eMAG and AMD Opteron systems come with a UEFI firmware in ROM @@ -150,7 +161,7 @@ An updated device tree may have to be supplied to make <h4>802.11 wireless</h4> <ul> <li><a href="https://man.openbsd.org/arm64/bwfm.4">bwfm(4)</a> - on Raspberry Pi 3 and Pinebook Pro + on Raspberry Pi 3/4 and Pinebook Pro </ul> <h4>Storage</h4> @@ -162,7 +173,7 @@ An updated device tree may have to be supplied to make <li><a href="https://man.openbsd.org/arm64/dwmmc.4">dwmmc(4)</a> on Rockchip RK3328/RK3399 <li><a href="https://man.openbsd.org/arm64/sdhc.4">sdhc(4)</a> - on Rockchip RK3399 + on Rockchip RK3399 and Raspberry Pi 4 <li><a href="https://man.openbsd.org/arm64/sximmc.4">sximmc(4)</a> on Allwinner A64/H5 </ul>