On BCM2712, the firmware-reported depth can disagree with the framebuffer layout. Derive the pixel storage size from the returned stride and virtual width, as vt_early_fb does, so the legacy framebuffer works with the default firmware depth.
Details
Details
Built arm64 GENERIC kernel and modules. Tested on one Raspberry Pi 5 Model B 8GB (BCM2712 D0, revision 0xd04171) with D61378 and D61535 applied. Boot, reboot, UART login and HDMI console output worked at 1920x1080 with both the default 16bpp framebuffer (stride 3840) and framebuffer_depth=32 (stride 7680).
Hardware validation was limited to this board
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped