[U-Boot] Second serial port access ...

Mike Frysinger vapier at gentoo.org
Sat Apr 30 01:00:48 CEST 2011


On Friday, April 29, 2011 11:23:10 Robert Sciuk wrote:
> I'm attempting to extend u-boot to request some IPMI information from a
> BMC attached to a uart, and was wondering how best to approach the
> problem.  My first concern is whether to add "cmd" type code or use the
> u-boot API, and the second concern, is to how to configure and access
> the 2nd serial port?  My intent is to query the bmc on the serial port,
> and then add a node to the FDT (/chosen{}) in order to pass information
> to the Linux kernel.  Has something like this been done?  Is there a
> better approach?  Have I overlooked something obvious?  Sorry for the
> nubie question.

i think you want CONFIG_SERIAL_MULTI.  this way you can set 
stderr/stdin/stdout to a different serial device on the fly.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110429/68efe54d/attachment.pgp 


More information about the U-Boot mailing list