From 1ac59bec46a6f6776073201e4a7741477084795a Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Wed, 9 Apr 2014 23:59:09 +0200 Subject: [PATCH] Clarified PALO header versions in boot sector description --- doc/boot_sectors.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/boot_sectors.txt b/doc/boot_sectors.txt index a3fadc0..7850b0f 100644 --- a/doc/boot_sectors.txt +++ b/doc/boot_sectors.txt @@ -982,6 +982,10 @@ Sources: by Steve McIntyre who states "Heavily inspired by palo" +This format is expected by PALO versions before 1.92. Their source code defines +PALOHDRVERSION as 4. The format also serves as fallback for newer versions, +which expect header version 5, if a 0-byte is found at byte position 1024. + There are five parameters which get encoded into the first 248 bytes of the System Area: cmdline, bootloader, 32-bit kernel, 64-bit kernel, and ramdisk. They are all mandatory. @@ -1033,7 +1037,11 @@ Sources: http://git.kernel.org/cgit/linux/kernel/git/deller/palo.git/tree/lib/ (especially struct firstblock in common.h and struct partition in part.h) -There are five parameters which get encoded into the first 248 bytes of the +This format is expected by PALO versions 1.92 or higher. They fall back to +header version 4 if a 0-byte is found at byte position 1024. +Their source code defines PALOHDRVERSION as 5. + +There are five parameters which get encoded into the first 2048 bytes of the System Area: cmdline, bootloader, 32-bit kernel, 64-bit kernel, and ramdisk. They are all mandatory. While cmdline is simply a string of at most 1023 characters, the other four