diff --git a/doc/getting_started.txt b/doc/getting_started.txt index e716fb2c7..42425c873 100644 --- a/doc/getting_started.txt +++ b/doc/getting_started.txt @@ -25,7 +25,7 @@ that your system satisfies the following requirements: * 'libSDL-dev' * 'tclsh' and 'expect' * 'byacc' (only needed for the L4/Fiasco kernel) -* 'qemu' and 'genisoimage' (for testing non-Linux platforms via Qemu) +* 'qemu' and 'xorriso' (for testing non-Linux platforms via Qemu) For using the entire collection of ported 3rd-party software, the following packages should be installed additionally: 'autoconf2.64', 'autogen', 'bison', @@ -85,6 +85,11 @@ tool: ! ./tool/ports/prepare_port x86emu +On x86 base platforms the GRUB2 boot loader is required and can be +downloaded and prepared by invoking: + +! ./tool/ports/prepare_port grub2 + Now that the base platform is prepared, the 'create_builddir' tool can be used to create a build directory for your platform of choice by giving the platform as argument. To see the list of available platforms, execute 'create_builddir' diff --git a/repos/base/ports/grub2.hash b/repos/base/ports/grub2.hash new file mode 100644 index 000000000..eb501d312 --- /dev/null +++ b/repos/base/ports/grub2.hash @@ -0,0 +1 @@ +62b897bbff200f0ce5a0c01e52135cfdc7656104 diff --git a/repos/base/ports/grub2.port b/repos/base/ports/grub2.port new file mode 100644 index 000000000..e6f384222 --- /dev/null +++ b/repos/base/ports/grub2.port @@ -0,0 +1,10 @@ +LICENSE := GPLv3 +VERSION := git +DOWNLOADS := g2fg.git + +URL(g2fg) := https://github.com/alex-ab/g2fg.git +REV(g2fg) := ed4811471d3b7f5acdd409870e35d63de037003d +DIR(g2fg) := boot + +default: $(DOWNLOADS) + $(VERBOSE)tar -C boot -xjf boot/grub2.tar.bz2 diff --git a/tool/boot/README b/tool/boot/README index 8911087fa..5759e9688 100644 --- a/tool/boot/README +++ b/tool/boot/README @@ -18,17 +18,6 @@ code respectively the download source of binaries are described below. The 'pulsar' tool was obtained in binary form from http://os.inf.tu-dresden.de/~us15/pulsar. -:'chain.c32', 'isolinux.bin' - - These files are part of the 'Syslinux Project' hosting several bootloaders. - The sources has been obtained from http://www.syslinux.org. - -:'stage2_eltorito': - - This file is part of a modified Grub 0.97 available under GPL. The sources - of the modified Grub 0.97 were obtained from - http://os.inf.tu-dresden.de/~adam/grub. - :'unzip' The 'unzip' tool is part of the 'morbo' toolchain available under GPL. @@ -38,15 +27,6 @@ code respectively the download source of binaries are described below. The changes are available on the genode_bender branch of https://github.com/skalk/morbo.git. -:'grub2_32.efi', 'grub2_64.efi' - - GRUB 2 UEFI bootloader for x86 - - 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 gzio - :'tianocore.bin' Open Virtual Machine Firmware (OVMF) developed by diff --git a/tool/boot/chain.c32 b/tool/boot/chain.c32 deleted file mode 100644 index 2c97cea42..000000000 Binary files a/tool/boot/chain.c32 and /dev/null differ diff --git a/tool/boot/grub2_32.efi b/tool/boot/grub2_32.efi deleted file mode 100644 index 2e86fbbb1..000000000 Binary files a/tool/boot/grub2_32.efi and /dev/null differ diff --git a/tool/boot/grub2_64.efi b/tool/boot/grub2_64.efi deleted file mode 100644 index 0bbd4459b..000000000 Binary files a/tool/boot/grub2_64.efi and /dev/null differ diff --git a/tool/boot/isolinux.bin b/tool/boot/isolinux.bin deleted file mode 100644 index 658011d21..000000000 Binary files a/tool/boot/isolinux.bin and /dev/null differ diff --git a/tool/boot/isolinux.cfg b/tool/boot/isolinux.cfg deleted file mode 100644 index 1b9f3beb1..000000000 --- a/tool/boot/isolinux.cfg +++ /dev/null @@ -1,5 +0,0 @@ -DEFAULT grub - -LABEL grub - KERNEL chain.c32 - APPEND grub=/boot/grub/stage2_eltorito diff --git a/tool/boot/stage2_eltorito b/tool/boot/stage2_eltorito deleted file mode 100644 index 866199081..000000000 Binary files a/tool/boot/stage2_eltorito and /dev/null differ diff --git a/tool/create_grub2 b/tool/create_grub2 index 94d751ba6..b9b8cc1c8 100755 --- a/tool/create_grub2 +++ b/tool/create_grub2 @@ -57,13 +57,11 @@ cat > $cfg <