Kernel loading

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

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
rust

Research direction

Start in the UEFI folder and trace the uefi-rs-based ELF64 kernel-loading path to the point where control jumps to the kernel. Reproduce the reported hang and document how this implementation enters the kernel; the issue provides no named test or file and does not define a concrete code change.

Written by the indexing model from the issue text.

Description

I see in the UEFI folder it does in fact use the uefi-rs crate which is nice. I cannot for the love of everything load a kernel in elf64 format... Normally, I'd ask this in the discussions tab which is currently off, so I will try to ask here. I've spent all day playing with numerous elf crates and even trying to parse it myself with no luck. No matter what happens, it just hangs after trying to jump to the kernel. So, how/where does this implementation handle jumping into a kernel?

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.