Hey Paul!
This is actually what i have and as i already wrote in another mail i got the image via:
echo 1 > /sys/devices/pci0000:00/0000:00:02.0/rom cp /sys/devices/pci0000:00/0000:00:02.0/rom vgabios.bin
On 05/23/15 11:36, Vladimir 'phcoder' Serbinenko wrote:>
That's your problem. ROM needs to be extracted, not dumped. You can workaround immediate problem by disabling checksum in SeaBIOS but dumped oprom for intel is not fully functional, i.a. LCD stays black with windows.
I guess the rom dumped from linux is broken... I still had no time to try UEFITool - quite busy atm...
Attached .config and bootlog and some cmdline-shizzle...
[21:00:24][n3ph@c3po:~/Stuff/coreboot/x230/coreboot]$ ./build/cbfstool build/coreboot.rom print coreboot.rom: 12288 kB, bootblocksize 1936, romsize 12582912, offset 0xb00000 alignment: 64 bytes, architecture: x86
Name Offset Type Size cmos.default 0xb00000 cmos_default 256 cmos_layout.bin 0xb00140 cmos_layout 1984 pci8086,0166.rom 0xb00940 optionrom 65536 cpu_microcode_blob.bin 0xb10980 microcode 22528 config 0xb16200 raw 5457 revision 0xb17780 raw 570 (empty) 0xb17a00 null 34136 fallback/romstage 0xb1ff80 stage 73116 fallback/ramstage 0xb31d80 stage 74814 fallback/payload 0xb44200 payload 55082 pci8086,1502.rom 0xb51980 raw 61952 (empty) 0xb60bc0 null 521176 mrc.cache 0xbdffc0 mrc_cache 65536 (empty) 0xbf0000 null 63512 [21:00:53][n3ph@c3po:~/Stuff/coreboot/x230/coreboot]$ ./build/cbfstool build/coreboot.rom extract -n pci8086,0166.rom -f /tmp/vgabios.bin Found file pci8086,0166.rom at 0xb00940, type optionrom, size 65536 W: Only 'raw' files are safe to extract. [21:01:17][n3ph@c3po:~/Stuff/coreboot/x230/coreboot]$ file /tmp/vgabios.bin /tmp/vgabios.bin: BIOS (ia32) ROM Ext. IBM comp. Video (128*512) [21:01:26][n3ph@c3po:~/Stuff/coreboot/x230/coreboot]$ hexdump /tmp/vgabios.bin | head 0000000 aa55 e980 ea78 3030 3030 3030 3030 3030 0000010 3030 2540 59e9 9724 0040 0ab0 3030 4249 0000020 204d 4756 2041 6f43 706d 7461 6269 656c 0000030 4220 4f49 2e53 0320 006e 007e 008c c08b 0000040 4350 5249 8086 0106 001c 001c 0003 0300 0000050 0080 0000 8000 0080 0000 0000 0106 0116 0000060 0126 0156 0166 0176 0186 0000 036e c000 0000070 0000 0000 0000 0000 0000 0000 0088 c000 0000080 0000 0000 0000 0000 001a 0337 c000 0000 0000090 0000 0000 0000 0000 0000 0000 0000 0000 [21:01:31][n3ph@c3po:~/Stuff/coreboot/x230/coreboot]$ md5sum /tmp/vgabios.bin bd4c14c5c2c6cd5fd1bee9428e31b320 /tmp/vgabios.bin [21:09:05][n3ph@c3po:~/Stuff/coreboot/x230/coreboot]$ md5sum 3rdparty/mainboard/lenovo/x230/vgabios.bin bd4c14c5c2c6cd5fd1bee9428e31b320 3rdparty/mainboard/lenovo/x230/vgabios.bin [21:09:17][n3ph@c3po:~/Stuff/coreboot/x230/coreboot]$
best regards,
n3ph
On 05/23/15 16:22, Paul Menzel wrote:
Dear Michael,
Am Samstag, den 23.05.2015, 04:28 +0200 schrieb Michael Gerlach:
Uhm - I do not explicitly compressed it. I just added it to config..
Extracted it via
echo 1 > /sys/devices/pci0000:00/0000:00:02.0/rom cp /sys/devices/pci0000:00/0000:00:02.0/rom vgabios.bin
How to check if it's compressed?
The *file` command should help you.
For my AMD Video BIOS from the ASRock E350M1 I get the following.
$ file vgabios.bin vgabios.rom: BIOS (ia32) ROM Ext. IBM comp. Video (113*512)
If the method you used, did not work, please report a bug to the Intel graphics folks [1].
Thanks,
Paul
[1] https://01.org/linuxgraphics/documentation/how-report-bugs