BIOS booting: Consider framebuffer config of kernel ELF

Open
#281 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust

Research direction

Start by examining the BIOS implementation and its real mode stages, focusing on how the kernel ELF is loaded and how the hardcoded framebuffer resolution is selected. Compare parsing the ELF in real mode with copying framebuffer settings to a text file on the FAT partition; done means the BIOS boot path uses the kernel's framebuffer configuration instead of a hardcoded resolution.

Written by the indexing model from the issue text.

Description

enhancement

Right now the BIOS implementation does not consider the framebuffer configuration of the kernel. Instead, it just defaults to a hardcoded resolution.

To fix this, we would need to parse the kernel ELF file already in the real mode stages, which could be challenging because of the memory limits in real mode. Alternatively, we could copy the framebuffer settings to a small text file and place this file alongside the kernel executable on the FAT partition.

Dominant language
Rust
Stars
1.7k
Forks
241
Avg merge
2d 19h
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rust-osdev/bootloader

All issues in rust-osdev/bootloader

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.