From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Fri, 29 Apr 2011 19:00:48 -0400 Subject: [U-Boot] Second serial port access ... In-Reply-To: <2DD52030B5146141BEB762A11AE97C4CAE4BE0@SPQCEXC05.exfo.com> References: <2DD52030B5146141BEB762A11AE97C4CAE4BE0@SPQCEXC05.exfo.com> Message-ID: <201104291900.48873.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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