GRUB2_SECONDARY_PAYLOAD: max possible module set + unavailable modules

Mike Banon <[email protected]>
Newsgroups gmane.linux.bios
Message-ID <CAK7947=PhG4oDDcJAEYnOsu044Kud=ygsw4N_+CisM=1kk8+nQ@mail.gmail.com>
Good day! I am trying to ensure the best feature set for a GRUB2
secondary payload of SeaBIOS. First of all, I checked what GRUB2
modules I have in a fully-updated Artix (arch without systemd)
installation:

ls -al /boot/grub/i386-pc/ | cut -c44- | awk '{ print substr( $0, 1,
length($0)-4 ) }' | tr '\n' ' '

Then I tried using this list as a value for CONFIG_GRUB2_EXTRA_MODULES
(could not set it with 'make menuconfig' because it was way too long,
so had to edit a ./coreboot/.config manually) - but for some reason
not all GRUB2 modules are available: while trying to build, I
constantly got the errors like:
...
config.status: creating grub
./grub-mkstandalone: error: cannot open `grub-core//pxechain.mod': No
such file or directory.
make[2]: *** [Makefile:15040: default_payload.elf] Error 1
make[1]: *** [Makefile:45: grub2] Error 2
make: *** [payloads/external/Makefile.mk:276: grub2] Error 2

- and had to remove the "missing modules" from this variable
one-by-one. Eventually I got the max possible GRUB2 module set -
please see attachments (without any modules at all, img/grub2 occupies
472 KB at CBFS; with all these modules - 710 KB). However, what
worries me is why these modules are unavailable at coreboot+SeaBIOS
version of GRUB2 :

biosdisk bufio cacheinfo cbtable command core drivemap font freedos fs
gfxterm legacycfg legacy_password_test load lsapm moddep modinf ntldr
partmap plan9 pxechain pxe sendkey truecrypt vbe vga vga_text video_fb
video

Some of those missing ones could be valuable - like a truecrypt
module... Do you know why they are missing and how to debug this?
-- 
Best regards, Mike Banon
Open Source Community Manager of 3mdeb - https://3mdeb.com/

_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
coreboot_grub2_modules.txt (text/plain, 2.1 KB)
acpi adler32 affs afs afsplitter ahci all_video aout archelp ata at_keyboard backtrace bfs bitmap bitmap_scale blocklist boot boot boottime bsd bswap_test btrfs cat cbfs cbls cbmemc cbtime chain cmdline_cat_test cmosdump cmostest cmp cmp_test configfile cpio_be cpio cpuid crc64 cryptodisk crypto crypto cs5536 ctz_test datehook date datetime diskfilter disk div div_test dm_nv echo efiemu efiemu efiemu ehci elf eval exfat exfctest ext2 extcmd f2fs fat file fshelp functional_test gcry_arcfour gcry_blowfish gcry_camellia gcry_cast5 gcry_crc gcry_des gcry_dsa gcry_idea gcry_md4 gcry_md5 gcry_rfc2268 gcry_rijndael gcry_rmd160 gcry_rsa gcry_seed gcry_serpent gcry_sha1 gcry_sha256 gcry_sha512 gcry_tiger gcry_twofish gcry_whirlpool gdb geli gettext gfxmenu gfxterm_background gfxterm_menu gptsync gzio halt hashsum hdparm hello help hexdump hfs hfspluscomp hfsplus http iorw iso9660 jfs jpeg json keylayouts keystatus ldm linux16 linux loadenv loopback lsacpi lsmmap ls lspci luks2 luks lvm lzopio macbless macho mda_text mdraid09_be mdraid09 mdraid1x memdisk memrw minicmd minix2_be minix2 minix3_be minix3 minix_be minix mmap morse mpi msdospart mul_test multiboot2 multiboot nativedisk net newc nilfs2 normal ntfscomp ntfs odc offsetio ohci part_acorn part_amiga part_apple part_bsd part_dfly part_dvh part_gpt part_msdos part_plan part_sun part_sunpc parttool parttool password password_pbkdf2 pata pbkdf2 pbkdf2_test pcidump pci pgp play png priority_queue probe procfs progress raid5rec raid6rec random rdmsr read reboot regexp reiserfs relocator romfs scsi search_fs_file search_fs_uuid search_label search serial setjmp setjmp_test setpci sfs shift_test signature_test sleep sleep_test smbios spkmodem squash4 strtoull_test syslinuxcfg tar terminal terminal terminfo test_blockarg testload test testspeed tftp tga time trig tr true udf ufs1_be ufs1 ufs2 uhci usb_keyboard usb usbms usbserial_common usbserial_ftdi usbserial_pl2303 usbserial_usbdebug usbtest video_bochs video_cirrus video_colors videoinfo videotest_checksum videotest wrmsr xfs xnu xnu_uuid xnu_uuid_test xzio zfscrypt zfsinfo zfs zstd
artix_grub2_modules.txt (text/plain, 2.3 KB)
acpi adler32 affs afs afsplitter ahci all_video aout archelp ata at_keyboard backtrace bfs biosdisk bitmap bitmap_scale blocklist boot boot boottime bsd bswap_test btrfs bufio cacheinfo cat cbfs cbls cbmemc cbtable cbtime chain cmdline_cat_test cmosdump cmostest cmp cmp_test command configfile core cpio_be cpio cpuid crc64 cryptodisk crypto crypto cs5536 ctz_test datehook date datetime diskfilter disk div div_test dm_nv drivemap echo efiemu efiemu efiemu ehci elf eval exfat exfctest ext2 extcmd f2fs fat file font freedos fshelp fs functional_test gcry_arcfour gcry_blowfish gcry_camellia gcry_cast5 gcry_crc gcry_des gcry_dsa gcry_idea gcry_md4 gcry_md5 gcry_rfc2268 gcry_rijndael gcry_rmd160 gcry_rsa gcry_seed gcry_serpent gcry_sha1 gcry_sha256 gcry_sha512 gcry_tiger gcry_twofish gcry_whirlpool gdb geli gettext gfxmenu gfxterm_background gfxterm_menu gfxterm gptsync gzio halt hashsum hdparm hello help hexdump hfs hfspluscomp hfsplus http iorw iso9660 jfs jpeg json keylayouts keystatus ldm legacycfg legacy_password_test linux16 linux load loadenv loopback lsacpi lsapm lsmmap ls lspci luks2 luks lvm lzopio macbless macho mda_text mdraid09_be mdraid09 mdraid1x memdisk memrw minicmd minix2_be minix2 minix3_be minix3 minix_be minix mmap moddep modinf morse mpi msdospart mul_test multiboot2 multiboot nativedisk net newc nilfs2 normal ntfscomp ntfs ntldr odc offsetio ohci part_acorn part_amiga part_apple part_bsd part_dfly part_dvh part_gpt partmap part_msdos part_plan part_sun part_sunpc parttool parttool password password_pbkdf2 pata pbkdf2 pbkdf2_test pcidump pci pgp plan9 play png priority_queue probe procfs progress pxechain pxe raid5rec raid6rec random rdmsr read reboot regexp reiserfs relocator romfs scsi search_fs_file search_fs_uuid search_label search sendkey serial setjmp setjmp_test setpci sfs shift_test signature_test sleep sleep_test smbios spkmodem squash4 strtoull_test syslinuxcfg tar terminal terminal terminfo test_blockarg testload test testspeed tftp tga time trig tr truecrypt true udf ufs1_be ufs1 ufs2 uhci usb_keyboard usb usbms usbserial_common usbserial_ftdi usbserial_pl2303 usbserial_usbdebug usbtest vbe vga vga_text video_bochs video_cirrus video_colors video_fb videoinfo video videotest_checksum videotest wrmsr xfs xnu xnu_uuid xnu_uuid_test xzio zfscrypt zfsinfo zfs zstd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.