qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] vgabios-cirrus.bin header problems


From: Myles Watson
Subject: [Qemu-devel] vgabios-cirrus.bin header problems
Date: Wed, 23 Jan 2008 14:43:20 -0700

I've been trying to use qemu with coreboot (linuxbios v3), but it
complains about vgabios-cirrus.bin not matching the device ids.

It worked for someone else, and they sent me their vgabios-cirrus.bin,
which is different from mine, even though we both downloaded tarballs
of 0.9.0.  The broken one is included in 0.9.1 as well.

I've included the hexdumps.  As you can see, in
vgabios-cirrus.bin.new, "Plex86/Bochs VGABios " is written over the
part of the header that points to the data header. It's 0x0038 in
vgabios-cirrus.bin.works and 0x736f ("os") in vgabios-cirrus.bin.new.

I've downloaded every version of vgabios from nongnu, but they all
have the same problem.  Can someone help?

Thanks,
Myles

address@hidden hexdump -C ../../qemu/BIOS/vgabios-cirrus.bin.new | head -n 20
00000000  55 aa 45 e9 ed 00 50 6c  65 78 38 36 2f 42 6f 63  |U.E...Plex86/Boc|
00000010  68 73 20 56 47 41 42 69  6f 73 20 00 00 00 49 42  |hs VGABios ...IB|
00000020  4d 00 63 75 72 72 65 6e  74 2d 63 76 73 20 31 34  |M.current-cvs 14|
00000030  20 4a 75 6e 20 32 30 30  36 0a 0d 00 28 43 29 20  | Jun 2006...(C) |
00000040  32 30 30 33 20 74 68 65  20 4c 47 50 4c 20 56 47  |2003 the LGPL VG|
00000050  41 42 69 6f 73 20 64 65  76 65 6c 6f 70 65 72 73  |ABios developers|
00000060  20 54 65 61 6d 0a 0d 00  54 68 69 73 20 56 47 41  | Team...This VGA|
00000070  2f 56 42 45 20 42 69 6f  73 20 69 73 20 72 65 6c  |/VBE Bios is rel|
00000080  65 61 73 65 64 20 75 6e  64 65 72 20 74 68 65 20  |eased under the |
00000090  47 4e 55 20 4c 47 50 4c  0a 0d 0a 0d 00 50 6c 65  |GNU LGPL.....Ple|
000000a0  61 73 65 20 76 69 73 69  74 20 3a 0a 0d 20 2e 20  |ase visit :.. . |
000000b0  68 74 74 70 3a 2f 2f 62  6f 63 68 73 2e 73 6f 75  |http://bochs.sou|
000000c0  72 63 65 66 6f 72 67 65  2e 6e 65 74 0a 0d 20 2e  |rceforge.net.. .|
000000d0  20 68 74 74 70 3a 2f 2f  77 77 77 2e 6e 6f 6e 67  | http://www.nong|
000000e0  6e 75 2e 6f 72 67 2f 76  67 61 62 69 6f 73 0a 0d  |nu.org/vgabios..|
000000f0  0a 0d 00 e8 16 34 e8 72  34 1e 31 c0 8e d8 b8 1d  |.....4.r4.1.....|
00000100  01 a3 40 00 b8 00 c0 a3  42 00 1f e8 a6 81 e8 ae  |address@hidden|
00000110  34 b8 03 00 cd 10 e8 a7  34 e8 cf 81 cb 9c 80 fc  |4.......4.......|
00000120  0f 75 05 e8 86 5f eb 7c  80 fc 1a 75 05 e8 a9 6a  |.u..._.|...u...j|
00000130  eb 72 80 fc 0b 75 05 e8  f3 56 eb 68 3d 03 11 75  |.r...u...V.h=..u|

address@hidden hexdump -C ../../qemu/BIOS/vgabios-cirrus.bin.works | head -n 20
00000000  55 aa 46 e9 1b 01 00 00  00 00 00 00 00 00 00 00  |U.F.............|
00000010  00 00 00 00 00 00 00 00  38 00 00 00 00 00 49 42  |........8.....IB|
00000020  4d 00 50 6c 65 78 38 36  2f 42 6f 63 68 73 20 56  |M.Plex86/Bochs V|
00000030  47 41 42 69 6f 73 20 00  50 43 49 52 13 10 b8 00  |GABios .PCIR....|
00000040  00 00 18 00 00 00 00 03  46 00 01 00 00 80 00 00  |........F.......|
00000050  63 75 72 72 65 6e 74 2d  63 76 73 20 31 32 20 4d  |current-cvs 12 M|
00000060  61 72 20 32 30 30 37 0a  0d 00 28 43 29 20 32 30  |ar 2007...(C) 20|
00000070  30 33 20 74 68 65 20 4c  47 50 4c 20 56 47 41 42  |03 the LGPL VGAB|
00000080  69 6f 73 20 64 65 76 65  6c 6f 70 65 72 73 20 54  |ios developers T|
00000090  65 61 6d 0a 0d 00 54 68  69 73 20 56 47 41 2f 56  |eam...This VGA/V|
000000a0  42 45 20 42 69 6f 73 20  69 73 20 72 65 6c 65 61  |BE Bios is relea|
000000b0  73 65 64 20 75 6e 64 65  72 20 74 68 65 20 47 4e  |sed under the GN|
000000c0  55 20 4c 47 50 4c 0a 0d  0a 0d 00 50 6c 65 61 73  |U LGPL.....Pleas|
000000d0  65 20 76 69 73 69 74 20  3a 0a 0d 20 2e 20 68 74  |e visit :.. . ht|
000000e0  74 70 3a 2f 2f 62 6f 63  68 73 2e 73 6f 75 72 63  |tp://bochs.sourc|
000000f0  65 66 6f 72 67 65 2e 6e  65 74 0a 0d 20 2e 20 68  |eforge.net.. . h|
00000100  74 74 70 3a 2f 2f 77 77  77 2e 6e 6f 6e 67 6e 75  |ttp://www.nongnu|
00000110  2e 6f 72 67 2f 76 67 61  62 69 6f 73 0a 0d 0a 0d  |.org/vgabios....|
00000120  00 e8 16 34 e8 72 34 1e  31 c0 8e d8 b8 4b 01 a3  |...4.r4.1....K..|
00000130  40 00 b8 00 c0 a3 42 00  1f e8 ce 81 e8 ae 34 b8  |@.....B.......4.|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]