GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - blitz/bender: A multiboot chainloader that makes PCI serial cards available for legacy use

BranchesTags
Open more actions menu

Latest commit

 

History

403 Commits
403 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
cmake/modules
cmake/modules
 
 
nix
nix
 
 
standalone
standalone
 
 
tests
tests
 
 
.envrc
.envrc
 
 
.gitignore
.gitignore
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
default.nix
default.nix
 
 
flake.lock
flake.lock
 
 
flake.nix
flake.nix
 
 
shell.nix
shell.nix
 
 

Repository files navigation

Bender

GitHub

Bender is a Multiboot chainloader intended to be loaded from Grub or a similar multiboot-capable boot loader. It tries to find PCI serial controllers and updates the BIOS Data Area to make them discoverable by legacy software.

Additionally, bender will move modules to a higher location in physical memory to avoid clashes when ELFs are unpacked.

Building with Nix (Recommended)

Get Nix and type:

% nix-build

You can find bender in result/.

If you have a Flakes-enabled Nix, try out nix build to build bender and nix flake check to run its tests.

Building without Nix

Be sure to have CMake and a C toolchain installed. Afterwards, you can build the source code via:

% mkdir -p build
% cd build
% cmake ..
% make

You will find bender in standalone/ in your build directory.

Usage

Check the documentation of your Multiboot-capable boot loader to see how Bender is booted. Bender will discover serial ports and then boot the next boot module as Multiboot2 or Multiboot1 kernel depending on what it supports.

Parameters

Bender supports the following command-line parameters:

  • promisc: Be more forgiving which PCI serial controller to accept. Specifically, this makes Bender claim any PCI device with "Simple Communication Controller" PCI class and not only those claiming to be a legacy serial controller. This is typically needed for some multiport PCI serial adapters.
  • accept_legacy: Don't claim a PCI serial controller, if the BIOS already indicates that there is a legacy serial controller available.
  • phys_max=256M (literally only that specific string): Prevent bender from relocating modules past 256M in the physical address space.

About

A multiboot chainloader that makes PCI serial cards available for legacy use

Topics

multibootserialx86

Resources

Readme
GPL-2.0 license
Activity

Stars

7 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.