NOVA: add chain_loader 'bender'

'Bender' can detect serial ports accessible via PCI and writes the I/O ports
to the Bios Data area (BDA).

Usage together with the PXE bootloader ease life running Genode/NOVA on native
hardware, where a standard serial device isn't available anymore anywhere.
This commit is contained in:
Alexander Boettcher 2012-11-20 10:07:45 +01:00 committed by Norman Feske
parent 94c6b7bd10
commit c63a6d94f6
2 changed files with 4 additions and 2 deletions

View File

@ -11,10 +11,11 @@
#
proc install_pxe_bootloader_to_run_dir { } {
exec cp [genode_dir]/tool/boot/pulsar [run_dir]/boot/pulsar
exec cp [genode_dir]/tool/boot/bender [run_dir]/boot/bender
}
##
# Read the location of the Pistachio user directory from 'etc/pistachio.conf'
# Read the location of the NOVA kernel directory from 'etc/nova.conf'
#
proc nova_kernel { } {
global _nova_kernel
@ -85,7 +86,8 @@ proc build_boot_image {binaries} {
# Generate pulsar config file
#
set fh [open "[run_dir]/config-52-54-00-12-34-56" "WRONLY CREAT TRUNC"]
puts $fh " exec /hypervisor serial spinner"
puts $fh " exec /boot/bender"
puts $fh " load /hypervisor serial"
puts $fh " load /genode/core"
puts $fh " load /genode/config"
foreach binary $binaries {

BIN
tool/boot/bender Executable file

Binary file not shown.