Skip to content

Device tree framebuffer address is wrong #78

@luporl

Description

@luporl

Recent versions of Petitboot are setting the physical address of the framebuffer, on the device tree, to a wrong value (assigned-addresses property of vga node).
This was seem on a Talos II machine, with latest firmware release, when trying to boot FreeBSD through the VGA console, there is no video output at all.

The problem seems to be in 30-dtb-updates, that relies on an ioctl to /dev/fb0 to get its physical address, but recent Linux kernels hide it by default, returning 0 instead.
However, setting CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM to force the kernel to leak the address didn't work for me, as the ast (ASPEED) driver was also changed to use drm_fb_helper, that doesn't set smem_start for devices using a shadow buffer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions