Thanks to visit codestin.com
Credit goes to github.com

Skip to content

CHB (Computers Help Bootloader) is a simple two-stage bootloader implemented for x86 legacy BIOS systems. Designed to load, boot, testing and develop custom kernels.

License

Notifications You must be signed in to change notification settings

Andres2626/CHB-Bootloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHB README FILE

Version: Release 0.1.0

1. Introduction

CHB (Computers Help Bootloader) is a two-stage bootloader targeting the x86 architecture, primarily intended for kernel bootstrapping and low-level debugging. The current implementation is minimalistic and features a FAT file system parser, addressing a limitation of the previous versions that lacked support for loading kernels into dynamic sectors

Testing has been limited to x86 virtualized environments such as QEMU or Bochs, though it is expected to function correctly on any compliant x86 hypervisor or emulator.

2. Copyright notice

Copyright (C) Andres26 2021-2025

ALL code may be used or redistributed under the terms of the MIT License.

See COPYING for more information.

3. Documentation notice

From now on, Sphinx will be used to build the CHB project documentation. Much of it has been rewritten, and new sections have been added. All documentation is now located in the 'docs/' directory.

Sphinx supports a wide range of formats for rendering documentation. CHB currently supports the following formats:

  • html -- Generate HTML pages
  • latex -- Generate '.tex' file
  • pdflatex -- Convert '.tex' to pdf
  • htmlhelp -- Generate windows CHM format
  • text -- Generate text file

To build all the documentation, it is necessary to run:

    ./build.sh --docs=<supported-documentation-format>

For example:

Generate HTML documentation:

    ./build.sh --docs=html

For more information, please see:

docs/building.rst and `./build --help`

4. Building Warning

Please note that there are 2 possible files that build CHB from source. Using 'makefile.mk' or 'build.sh' script. Building CHB directly with the makefile is not recommended because the build script defines a series of variables necessary to build CHB with cross-compilation.

For build CHB correctly, use:

    ./build.sh --help

5. Documentation Index

Overview:

Getting started with CHB:

CHB Details:

Developer notes:

CHB Programs:

Miscellaneous:

6. CHB Test image

test

NOTE: The 'hi' at the top is part of the example kernel, which symbolizes that the kernel was loaded correctly.

6. Have fun!

That's it! Once CHB is installed on the formatted image, you can start experimenting with your kernels. For now, CHB is a small bootloader, but there are plans to add new features in the future.

At the moment, CHB doesn't support keyboard input that allows for further extensions to its functionality.

7. Contact

Any questions, doubts or clarifications, with subject 'CHB CONTACT' mail to:

[email protected]

For bug tracking, please write to:

https://github.com/Andres2626/CHB-Bootloader/issues

About

CHB (Computers Help Bootloader) is a simple two-stage bootloader implemented for x86 legacy BIOS systems. Designed to load, boot, testing and develop custom kernels.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published