bootloader
bootloader copied to clipboard
An experimental pure-Rust x86 bootloader
Currently, the bootloader has some issues handling BIOS memory maps that contain very high addresses, such as around the 1TB mark, and/or very large regions (in excess of 500 GB)....
Building the bootloader test and example kernels requires the `llvm-tools-preview` Rust toolchain component to be installed. Rustup can automatically install additional toolchain components if the `rust-toolchain` file includes a `components`...
I'm running the examples in Apple M1 by using `cargo krun`. And I've upgrade qemu to the latest version (v7.1.0). The examples compile as usual, but run very slow. The...
The condition under which we clear screen may have some problems. Literally, `BITMAP_LETTER_WIDTH ` is the width of the letter. We are supposed to use height of the letter. Am...
See https://github.com/rust-osdev/bootloader/pull/420 We worked around the issue for now by preventing inlining of the `map_physical_region` function, but we should figure out the root cause of this.
Running `cargo b -r -vv` produces the following output where it hangs (seemingly indefinitely) at zero CPU usage: ``` [bootloader 0.11.5] warning: `bootloader-x86_64-bios-stage-2` (bin "bootloader-x86_64-bios-stage-2") generated 2 warnings [bootloader 0.11.5]...
The bootloader is stuck on 'loading kernel...' (apparently in stage 2) for about 10 seconds. I am using qemu with kvm enabled, booting via bios. ``` qemu-system-x86_64 -enable-kvm -drive format=raw,file=os.img...
Writing to the framebuffer is extremely slow on bare metal. Setting the caching behavior of the framebuffer to write combining results in significantly higher throughput. The framebuffer should either be...
When running `qemu-system-x86_64 -bios {ovmf_pure_efi_path} -drive format=raw,file={uefi_path} -smp {core_count}` the bootloader gets sometimes stuck at: ``` INFO : UEFI bootloader started INFO : Using framebuffer at 0xc0000000 INFO : Reading...
I was trying to build bootloader on my notebook with 4GB ram. Unfortunately, it runs out of memory and becomes unbearably slow with swapping. I think this is due to...