Raspberry Pi 4 not booting FreeBSD-12.1 (no HDMI signal or other activity)

oshyshko

New Member


Messages: 2

UPDATE 2019-12-16: rpi4 is not supported yet, the behavior described below is not a bug or some kind of anomaly.

I am trying to run FreeBSD on Raspberry Pi 4, 4GB version (rpi4).
I get no HDMI output or any other life signs during boot.

What could be wrong?
How to investigate?

Here are my steps:
1. Get the image, unzip, burn to SD card:
Code:
$ wget "https://download.freebsd.org/ftp/releases/arm64/aarch64/ISO-IMAGES/12.1/FreeBSD-12.1-RELEASE-arm64-aarch64-RPI3.img.xz"
$ unxz FreeBSD-12.1-RELEASE-arm64-aarch64-RPI3.img.xz
$ sudo dd if=./FreeBSD-12.1-RELEASE-arm64-aarch64-RPI3.img of=/dev/rdisk2 bs=100m
2. Unmount, eject the SD card and plug into rpi4
3. Connect rpi4 to HDMI monitor (via HDMI port that next to USB-C power port)
4. Connect rpi4 via USB-C to CanaKit 3.5A power
5. Observe:
- within first 1-2 seconds: red light is on, green light flashes rapidly
- after that, red light is on, green light is off, no other activity
- no HDMI signal
6. Plug ethernet cable, observe:
- yellow light on on rpi4's ethernet port
- no IP taken via DHCP

NOTES:
- Using images from 12.0 and 11.X releases and stables didn't make a change.
- Using dd ... of=/dev/disk2 didn't make a change.
- Using other, completely new SD cards 16GB and 32GB didn't make a change.
- Using an SD card with the latest Raspbian boots on this rpi4 just fine.
- I got this rpi4 and a power adapter from here
 
Last edited:

acheron

Aspiring Daemon

Reaction score: 232
Messages: 609

He's talking of the rpi3, only the title mention rpi4.
The pcie documentation is missing for the rpi4, it means no pcie/eth etc.
 

rigoletto@

Daemon
Developer

Reaction score: 1,054
Messages: 2,113

The problem of supporting ARM hardware is the same of the whole embedded market: no one follow any standards and do whatever the wreck they want; everything is secret and they provide little to no documentation.

The only reason Linux get support for these hardware is because the implementation (aka magic numbers) is given to them. And as you can expect those are usually pretty crap implementation but which somehow work.
 

RobCrowston

New Member

Reaction score: 11
Messages: 14

The pcie documentation is missing for the rpi4, it means no pcie/eth etc.
I made some progress with pci-e. (Enabled the root complex, got the bridge up, probed the first bus, detected the peripheral, read the config space on the peripheral, but not figured out how to route interrupts or allocate the BARs into the host memory space.)

It’s not impossible, but it requires someone with some time on their hands.
 

Anand Suresh

New Member

Reaction score: 1
Messages: 10

I made some progress with pci-e. (Enabled the root complex, got the bridge up, probed the first bus, detected the peripheral, read the config space on the peripheral, but not figured out how to route interrupts or allocate the BARs into the host memory space.)

It’s not impossible, but it requires someone with some time on their hands.
I made some progress with pci-e. (Enabled the root complex, got the bridge up, probed the first bus, detected the peripheral, read the config space on the peripheral, but not figured out how to route interrupts or allocate the BARs into the host memory space.)

It’s not impossible, but it requires someone with some time on their hands.
I might have some time on my hands. If you could point me in the right direction, perhaps with some documentation/steps I need to follow, I could take a crack at it.
 
Top