The SeaBIOS option ROM for VGA redirection over serial is called sgabios:

   http://code.google.com/p/sgabios/

It should give you some idea of what's needed.

Brian Johnson

On 07/25/2013 10:09 AM, Andrew Fish wrote:
>
> On Jul 24, 2013, at 10:42 PM, Manimehalai Selvaraj
> <manimehalai.selva...@lntinfotech.com
> <mailto:manimehalai.selva...@lntinfotech.com>> wrote:
>
>> Hi,
>> I am working on developing an UEFI driver for USB to Serial Adapter.
>> Following are the functionalities required:
>> 1)Attach to an USB to Serial Adapter
>> 2)Support terminal/console redirection, i.e, allow Setup screen to be
>> redirected and send keyboard activities to setup
>> 3)Support DOS, i.e.,redirecting screen from DOS, and pass keys to USB
>> serial ports.
>> As per my analysis, the project requires writing an UEFI driver that
>> will attach to a USB Serial adapter. The driver should produce a
>> SerialIO protocol to support console redirection via USB Serial port.

Sounds right.

>> But I am unable to proceed with supporting USB Serial ports in DOS
>> environment. Should it be done by creating a CSM module? Please help
>> me regarding this activity.
>
> This is a 15 year old memory so it might be a little off. Your best bet
> is to contact a BIOS Vendor as I'm not sure how to plug all this in is
> totally standard.
>
> So your driver is going to be an SMM plug-in and I'm not sure that USB
> in SMM is standard between BIOS vendors... You probably are going to
> need an option ROM to chain INT 10/INT 16, and an CSM SMM USB plugin.
>
> Output from the BIOS will come from two sources:
> 1) Chaining into INT 10 so you can see VGA text mode requests for output.
> 2) Snoop text mode buffer as code writes to this memory region directly.
> It contains ASCII character and attributes, usually at 0xB8000. So you
> are going to have to track the changes over time and send out the deltas.
>
> Input to the BIOS will also need to be injected in two places:
> 1) Stuffing info into INT 16
> 2) Stuffing info into 8042 keyboard controller
>
> Note: Both outputs/inputs are in the form of ASCII character (plus
> attributes for output), so you will be responsible for terminal
> emulation (PCANSI, VT100, etc) in your driver.
>
> This is not a mailing list to talk about things legacy BIOS, so you will
> need to find something like the SeaBIOS list to discuss legacy BIOS issues.
>
> Thanks,
>
> Andrew Fish
>
>> Thanks,
>> Manimehalai S
>>
>> ------------------------------------------------------------------------
>> The contents of this e-mail and any attachment(s) may contain
>> confidential or privileged information for the intended recipient(s).
>> Unintended recipients are prohibited from taking action on the basis
>> of information in this e-mail and using or disseminating the
>> information, and must notify the sender and delete it from their
>> system. L&T Infotech will not accept responsibility or liability for
>> the accuracy or completeness of, or the presence of any virus or
>> disabling code in this e-mail"
>> *************************************************************************
>>   This email and attachments have been scanned for
>>   potential proprietary or sensitive information leakage.
>>   Websense Data Security, Protecting Your Information from the Inside Out.
>>   www.websense.com  <http://www.websense.com>
>>   *************************************************************************
>> ------------------------------------------------------------------------------
>> See everything from the browser to the database with AppDynamics
>> Get end-to-end visibility with application monitoring from AppDynamics
>> Isolate bottlenecks and diagnose root cause in seconds.
>> Start your free trial of AppDynamics Pro today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk_______________________________________________
>> edk2-devel mailing list
>> edk2-devel@lists.sourceforge.net <mailto:edk2-devel@lists.sourceforge.net>
>> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/edk2-devel
>

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to