rust-osdev / rust-osdev/bootimage

Kernel command line flags

Open
#86 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
906
Forks
70
PR merge metrics
No merged PRs in 30d

Description

Bootloaders like GRUB have a config file that can be used to pass in boot time parameters that can be used by kernel to enable disable some features at boot time. Is there a way to pass boot time command line parameters to the kernel booted via bootimage?

If not, it would be a great feature addition. For example in my hobby OS, right now I am statically setting up some configs during compile time, it would be great if I keep that configurable at boot tine.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by examining how bootimage invokes the bootloader and how kernel configuration is currently supplied. Compare that path with GRUB's handling of kernel command-line parameters and determine an appropriate configuration entry point. Done means a bootimage-built kernel can receive configurable boot-time parameters, with the behavior documented and tested.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.