mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
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:
parent
94c6b7bd10
commit
c63a6d94f6
@ -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
BIN
tool/boot/bender
Executable file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user