I've tried to port library from x.org. It doesn't work either. Even
worse, it doesn't work where old version works (see below).
Surprisingly, the old library work with qemu 2.0 in my system
(archlinux, testing repo).
I think that it's counterproductive now to spend time to try to
support a few versions of qemu/seabios. I guess hardware vendors
doesn't use 32-bit gcc much to compile their bioses.
Anyway, all the interaction with vbios will be hidden in libvbe and I
always will be able  to replace its backend transparently.

2014-05-10 21:17 GMT+04:00, Wolf Ramovsky <[email protected]>:
> Tested on my system, using bios-es from FC. Doesn't work.
>
> I guess I have to port x86emu from x.org.
>
> 2014-05-10 18:44 GMT+04:00, Wolf Ramovsky <[email protected]>:
>> I've modified library. Since I'm very limited in hardware resources, I
>> can't test it on FC.
>> I won't commit modifications untill them work.
>>
>> 2014-05-10 17:06 GMT+04:00, Wolf Ramovsky <[email protected]>:
>>> Hi Martin
>>>
>>> Big thanks for your investigation. It helped me to find potential
>>> solution. Support of lea instuction was implemented in x.org x86emu
>>> library (see [1]), but haven't ported to *BSD lib ([2]).
>>> I'm going to port patch now.
>>>
>>> [1]
>>> http://cgit.freedesktop.org/xorg/xserver/commit/hw/xfree86/x86emu?id=f57bc0ede8e018c7e264b917927c42a018cd1d5a
>>> [2]
>>> http://bazaar.launchpad.net/~wolf-ramovsky/helenos/libx86emu/view/head:/uspace/lib/x86emu/x86emu.c#L2146
>>>
>>> 2014-05-10 2:43 GMT+04:00, Martin Decky <[email protected]>:
>>>> Hi Wolf,
>>>>
>>>>> Surprisingly, the mode setting code failed in my QEMU (in Fedora 19
>>>>> and
>>>>> Fedora 20) with the following messages:
>>>>>
>>>>> rdb: address unknown 0x00002fda
>>>>> rdb: address unknown 0xc11e0000
>>>>> Mode 0xc112 unsupported
>>>>>
>>>>> I have checked and the VESA mode 0x112 is supported by the VESA BIOS
>>>>> in
>>>>> my QEMU (and works correctly if set by GRUB). Below is the list of the
>>>>> package versions if you would like to reproduce it (I'll try to look
>>>>> into it as well, again as time permits):
>>>>>
>>>>> qemu-system-x86-1.6.2-4.fc20.x86_64
>>>>> seavgabios-bin-1.7.3.1-2.fc20.noarch
>>>>>
>>>>> qemu-system-x86-1.4.2-15.fc19.x86_64
>>>>> seavgabios-bin-1.7.2.2-3.fc19.noarch
>>>>
>>>> I have done some further investigation. With newer VGA SeaBIOS from
>>>> upstream (post-1.7.4) there are no longer the messages about unknown
>>>> addresses, but the VESA mode stays undetected.
>>>>
>>>> I believe this might be related to the following changeset that speaks
>>>> about older versions of x86emu and the emulation of the leal
>>>> instructions:
>>>>
>>>> http://code.coreboot.org/p/seabios/source/commit/8032b8a0fec550de5cb2f7d37aa031cebc2200c3/
>>>>
>>>> Just my 2 cents.
>>>>
>>>>
>>>> M.D.
>>>>
>>>> _______________________________________________
>>>> HelenOS-devel mailing list
>>>> [email protected]
>>>> http://lists.modry.cz/listinfo/helenos-devel
>>>>
>>>
>>
>

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to