grub2: Core image size limitation
1
1 12 Core image size limitation
1 *****************************
1
1 Heavily limited platforms:
1 * i386-pc (normal and PXE): the core image size (compressed) is
1 limited by 458240 bytes. kernel.img (.text + .data + .bss,
1 uncompressed) is limited by 392704 bytes. module size
1 (uncompressed) + kernel.img (.text + .data, uncompressed) is
1 limited by the size of contiguous chunk at 1M address.
1 * sparc64-ieee1275: kernel.img (.text + .data + .bss) + modules +
1 256K (stack) + 2M (heap) is limited by space available at 0x4400.
1 On most platforms it's just 3 or 4M since ieee1275 maps only so
1 much.
1 * i386-ieee1275: kernel.img (.text + .data + .bss) + modules is
1 limited by memory available at 0x10000, at most 596K
1
1 Lightly limited platforms:
1
1 * *-xen: limited only by adress space and RAM size.
1 * i386-qemu: kernel.img (.text + .data + .bss) is limited by 392704
1 bytes. (core.img would be limited by ROM size but it's unlimited
1 on qemu
1 * All EFI platforms: limited by contiguous RAM size and possibly
1 firmware bugs
1 * Coreboot and multiboot. kernel.img (.text + .data + .bss) is
1 limited by 392704 bytes. module size is limited by the size of
1 contiguous chunk at 1M address.
1 * mipsel-loongson (ELF), mips(el)-qemu_mips (ELF): if uncompressed:
1 kernel.img (.text + .data) + modules is limited by the space from
1 80200000 forward if compressed: kernel.img (.text + .data,
1 uncompressed) + modules (uncompressed) + (modules + kernel.img
1 (.text + .data)) (compressed) + decompressor is limited by the
1 space from 80200000 forward
1 * mipsel-loongson (Flash), mips(el)-qemu_mips (Flash): kernel.img
1 (.text + .data) + modules is limited by the space from 80200000
1 forward core.img (final) is limited by flash size (512K on yeeloong
1 and fulooong)
1 * mips-arc: if uncompressed: kernel.img (.text + .data) is limited by
1 the space from 8bd00000 forward modules + dummy decompressor is
1 limited by the space from 8bd00000 backward if compressed:
1 kernel.img (.text + .data, uncompressed) is limited by the space
1 from 8bd00000 forward modules (uncompressed) + (modules +
1 kernel.img (.text + .data)) (compressed, aligned to 1M) + 1M
1 (decompressor + scratch space) is limited by the space from
1 8bd00000 backward
1 * powerpc-ieee1275: kernel.img (.text + .data + .bss) + modules is
1 limited by space available at 0x200000
1