mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
run: compress image.elf in NOVA boot dir
This commit is contained in:
parent
e1ada57bfa
commit
ab0b0ac3a0
@ -45,7 +45,7 @@ code respectively the download source of binaries are described below.
|
||||
Source code was obtained from git://git.savannah.gnu.org/grub.git, git
|
||||
commit 972765fe8245cdf44d465329f33b5aa9ac6c2f47.
|
||||
|
||||
The following modules were included: part_msdos iso9660 part_gpt ext2 multiboot multiboot2 fat normal configfile setpci serial efi_uga efi_gop
|
||||
The following modules were included: part_msdos iso9660 part_gpt ext2 multiboot multiboot2 fat normal configfile setpci serial efi_uga efi_gop gzio
|
||||
|
||||
:'tianocore.bin'
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
@ -56,8 +56,13 @@ proc run_boot_dir {binaries} {
|
||||
exec rm -rf [run_dir]/genode
|
||||
|
||||
if {[have_include "image/iso"] || [have_include "image/disk"] || [have_include image/uefi]} {
|
||||
if {[have_include "image/iso"] || [have_include "image/disk"]} {
|
||||
#
|
||||
# Compress Genode image, to be uncompressed by GRUB
|
||||
#
|
||||
exec gzip [run_dir]/image.elf
|
||||
|
||||
if {[have_include "image/iso"] || [have_include "image/disk"]} {
|
||||
|
||||
# Install isolinux/GRUB files and bender
|
||||
#
|
||||
install_iso_bootloader_to_run_dir
|
||||
@ -71,7 +76,7 @@ proc run_boot_dir {binaries} {
|
||||
puts $fh "\ntitle Genode on NOVA"
|
||||
puts $fh " kernel /boot/bender"
|
||||
puts $fh " module /hypervisor iommu serial novpid novga"
|
||||
puts $fh " module /image.elf"
|
||||
puts $fh " module /image.elf.gz"
|
||||
close $fh
|
||||
}
|
||||
|
||||
@ -91,7 +96,7 @@ proc run_boot_dir {binaries} {
|
||||
puts $fh "menuentry 'Genode on NOVA' {"
|
||||
puts $fh " multiboot2 /boot/bender serial_fallback"
|
||||
puts $fh " module2 /hypervisor hypervisor iommu serial novpid novga"
|
||||
puts $fh " module2 /image.elf image.elf"
|
||||
puts $fh " module2 /image.elf.gz image.elf"
|
||||
puts $fh "}"
|
||||
close $fh
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user