Skip to content

Improve early printk using the Graphics Synthesizer #9

@frno7

Description

@frno7

The conventional putc prints to a serial port, that requires soldering on the PlayStation 2. The provisional putc in commit 31aa465 instead prints to a video frame buffer using the Graphics Synthesizer, which at the moment is fixed at the video resolution 1920x1080p for component video or HDMI.

The following three lines are the first ones visible on the screen:

zimage at:     00803BE0 00BDDE8C
Uncompressing Linux at load address 80010000
Now, booting the kernel...

An early printk is very helpful, especially with unmodified PlayStation 2 hardware.

  • Can resolutions other than 1920x1080p be handled easily? Perhaps as a compile time configuration? Or inherit the resolution from the boot loader, such wLaunchELF, with a flicker-free handover?
  • In what ways can the implementation be improved?
  • Is there any chance of merging a video frame buffer based early printk into the kernel?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions