Hi,
Did you have any luck with GRUB payload ?
I'm trying to build a custom coreboot rom with GRUB payload for my KGPE D16.
The GRUB payload works fine if I use onboard graphics but not if I use a
dedicated GPU (GTX 680)
No issues with Seabios with GTX680 though.
So I have extracted the GRUB payload from the previously compiled rom (grub
is known as "fallback/payload" in the rom) as "grub"
./cbfstool kgpe_grub.rom extract -n fallback/payload -f grub2 -m x86
Then I put the "grub2" payload in the kgpe_seabios.rom :
./cbfstool kgpe_seabios.rom add-payload -n img/grub2 -f grub2
then put grub.cfg :
./cbfstool kgpe_seabios.rom add -f grub.cfg -n grub.cfg -t raw
and finally "bootorder" file with : /rom@img/grub2
./cbfstool kgpe_seabios.rom add -f bootorder -n bootorder -t raw
So that seabios starts then launches grub2, this way the GTX should work.
Final result (16MiB rom chip)
cbfs master header 0x0 cbfs header 32
fallback/romstage 0x80 stage 173036
config 0x2a500 raw 384
revision 0x2a6c0 raw 576
cmos.default 0x2a940 cmos_default 256
cmos_layout.bin 0x2aa80 cmos_layout 3720
fallback/dsdt.aml 0x2b940 raw 9736
payload_config 0x2dfc0 raw 1632
payload_revision 0x2e680 raw 238
etc/ps2-keyboard-spinup 0x2e7c0 raw 8
bootorder 0x2e800 raw 15 # needed so that
seabios executes grub2 payload
grub.cfg 0x2e880 raw 4105
(empty) 0x2f900 null 1432
s3nv 0x2fec0 raw 65536
fallback/ramstage 0x3ff00 stage 89487
(empty) 0x55d00 null 26624
fallback/payload 0x5c580 payload 63076 # seabios
img/grub2 0x6bc40 payload 2207219 # grub2
(empty) 0x286a80 null 14126040
bootblock 0xfff680 bootblock 2088
Well now I just need to try it..haha, I'm feeling lazy at the moment but the
rom is ready.. will post update if it works.