[SLOF] [PATCH slof 00/10] ext4, gpt, LE ELF
Alexey Kardashevskiy
aik at ozlabs.ru
Mon Jan 20 13:51:00 AEDT 2020
On 31/12/2019 14:04, Alexey Kardashevskiy wrote:
> This is to make 'boot disk:2,boot\zImage' work when /dev/sda2 is
> rather huge ext4 partition with a little endian zImage.
> Found few issues on the way.
>
> 10/10 is the most questionable - what is the right of doing it?
> By default SLOF looks at ELF, that says "0 is base address" but
> SLOF itself claims 16KB in slof/fs/claim.fs (grep for
> MIN-RAM-RESERVE) so the images have to be loaded elsewhere but
> where?
Anyone, ping?
I see these as a general improvement of rarely executed paths so I am
quite comfortable with pushing them out except 10/10 (which is a
debugging hack).
If anyone has objections, please speak now :) Thanks,
> Please comment. Thanks.
>
>
> Alexey Kardashevskiy (10):
> disk-label: Prepare for extenting
> disk-label: Support Linux GPT partition type
> disk-label: Try ext2 filesystem when booting from GPT partition
> ext2: Prepare for extending
> ext2: Rename group-desc-size
> ext2: Read size of group descriptors
> ext2: Read all 64bit of inode number
> ext2/4: Add basic extent tree support
> elf64: Add LE64 ABIv1/2 support for loading images to given address
> [HACK] boot: Force loading images at 64MB
>
> lib/libelf/elf.c | 8 +++
> slof/fs/boot.fs | 1 +
> slof/fs/packages/disk-label.fs | 66 +++++++++---------
> slof/fs/packages/ext2-files.fs | 123 ++++++++++++++++++++++++++++-----
> 4 files changed, 146 insertions(+), 52 deletions(-)
>
--
Alexey
More information about the SLOF
mailing list