mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 05:37:54 +00:00
parent
79143f6782
commit
62c59a56d1
@ -102,7 +102,7 @@ proc run_boot_dir {binaries} {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if {[have_spec x86] && ![have_spec muen] && [have_include "load/tftp"]} {
|
if {[have_spec x86] && [have_include "load/tftp"]} {
|
||||||
#
|
#
|
||||||
# Install PXE bootloader pulsar
|
# Install PXE bootloader pulsar
|
||||||
#
|
#
|
||||||
@ -112,8 +112,14 @@ proc run_boot_dir {binaries} {
|
|||||||
# Generate pulsar config file
|
# Generate pulsar config file
|
||||||
#
|
#
|
||||||
set fh [open "[run_dir]/config-52-54-00-12-34-56" "WRONLY CREAT TRUNC"]
|
set fh [open "[run_dir]/config-52-54-00-12-34-56" "WRONLY CREAT TRUNC"]
|
||||||
puts $fh " exec /boot/bender"
|
if {[have_spec "muen"]} {
|
||||||
puts $fh " load /image.elf"
|
exec gzip [run_dir]/image.bin
|
||||||
|
puts $fh " exec /boot/unzip"
|
||||||
|
puts $fh " load /image.bin.gz"
|
||||||
|
} else {
|
||||||
|
puts $fh " exec /boot/bender"
|
||||||
|
puts $fh " load /image.elf"
|
||||||
|
}
|
||||||
close $fh
|
close $fh
|
||||||
|
|
||||||
generate_tftp_config
|
generate_tftp_config
|
||||||
@ -129,13 +135,9 @@ proc run_boot_dir {binaries} {
|
|||||||
if {[have_spec "muen"]} {
|
if {[have_spec "muen"]} {
|
||||||
puts $fh "kernel image.bin"
|
puts $fh "kernel image.bin"
|
||||||
} else {
|
} else {
|
||||||
|
install_pxe_bootloader_to_run_dir
|
||||||
puts $fh "kernel boot/bender"
|
puts $fh "kernel boot/bender"
|
||||||
puts $fh "module image.elf"
|
puts $fh "module image.elf"
|
||||||
|
|
||||||
#
|
|
||||||
# Install bender
|
|
||||||
#
|
|
||||||
install_bender_to_run_dir
|
|
||||||
}
|
}
|
||||||
puts $fh "boot"
|
puts $fh "boot"
|
||||||
close $fh
|
close $fh
|
||||||
|
Loading…
Reference in New Issue
Block a user