Page MenuHomeFreeBSD

Allow RPI 3B and 3B+ to boot with the official upstream DTBs
ClosedPublic

Authored by sylvain_sylvaingarrigues.com on Jun 24 2018, 5:37 PM.
Tags
None
Referenced Files
F103770036: D15998.diff
Fri, Nov 29, 5:07 AM
Unknown Object (File)
Sat, Nov 9, 5:35 AM
Unknown Object (File)
Oct 13 2024, 7:49 AM
Unknown Object (File)
Sep 28 2024, 1:37 PM
Unknown Object (File)
Sep 9 2024, 7:39 AM
Unknown Object (File)
Sep 5 2024, 9:24 PM
Unknown Object (File)
Sep 4 2024, 2:26 PM
Unknown Object (File)
Sep 4 2024, 7:09 AM
Subscribers

Details

Summary

The root node of upstream RPI3 DTBs used to be compatible with brcm,brcm2836: it is not any longer. Therefore, add brcm,bcm2837 as a compatibility string to our platform and drivers.

For reference, from the device trees available at https://github.com/raspberrypi/firmware/blob/master/boot/:

bcm2710-rpi-3-b.dtb:

compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
model = "Raspberry Pi 3 Model B";

bcm2710-rpi-3-b-plus.dtb

compatible = "raspberrypi,3-model-b-plus", "brcm,bcm2837";
model = "Raspberry Pi 3 Model B+";
Test Plan

Tested on RPI3B

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Tested on both models of RPi-3
compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
and
compatible = "raspberrypi,3-model-b-plus", "brcm,bcm2837";

bcm2835_cpufreq0: <CPU Frequency Control> on cpu0
...

bcm2835_cpufreq0: ARM 600MHz, Core 250MHz, SDRAM 400MHz, Turbo OFF

powerd failed to start without this fix now runs fine.

This revision is now accepted and ready to land.Jun 24 2018, 11:15 PM
This revision was automatically updated to reflect the committed changes.