Hello Alex,
I am planning to push some code (probably next week) to add support for
SerialSetAttributes()/SerialSetControl()/SerialGetControl() in
EmbeddedPkg/SerialDxe through a new library (probably 'SerialPortExtLib'). I
have this change in our internal repository for a while, I just need to port
it to the BeagleBoard and push it.
Otherwise as temporary workaround you could change the
Omap35xxPkg/Library/SerialPortLib to set your needed baud rate in the
function SerialPortInitialize().
Thanks,
Olivier
From: Hutcheson, Alex M. [mailto:alex.m.hutche...@saic.com]
Sent: 08 August 2012 19:55
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] Serial Protocol Implementation in BeagleBoardPkg
Hello,
I am running the UEFI build from the BeagleBoardPkg on my BeagleBoard, and I
am trying to use the EFI_SERIAL_IO_PROTOCOL to communicate via the RS-232
connection on the board. I am connecting to a device with a lower baud rate
than the 115200 baud default, so I am calling the
SERIAL_IO_PROTOCOL->SetAttributes function to alter the baud rate.
However, this function fails with the EFI_UNSUPPORTED error code, which I
assume means it is not implemented.
Currently, I am making due with some low-level hacking (setting the UART
register bits from within my application), but I would be interested in
using my solution to implement SetAttributes so other people can benefit.
However, I am not that familiar with the overall architecture of TianoCore,
and I can't figure out how I would go about doing this.
What files would I need to edit in order to allow the UART devices to
support this function from the SERIAL_IO_PROTOCOL?
Thanks,
Alex
Alex Hutcheson | SAIC
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel