Hi Cameron, BTW, please use debug build for Coreboot Payload, such that debug information can be shown in serial console from the very early stage in the Payload's execution. This would help validating the functioning of serial.
Thanks, - ben > -----Original Message----- > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of You, > Benjamin > Sent: Saturday, November 25, 2017 11:25 PM > To: Cameron Craig <cameron.cr...@exterity.com>; 'edk2-devel@lists.01.org' > <edk2-devel@lists.01.org> > Subject: Re: [edk2] Enabling boot menu via serial & PXE boot in > CorebootPayloadPkg > > Hi Cameron, > > CorebootPayloadPkg does support serial output as user interface. To enable > serial, the CorebootPayloadPkg retrieves serial information from Coreboot > through CorebootModulePkg\Library\CbParseLib\CbParseLib.c => > CbParseSerialInfo(), which is called by CorebootPayloadPkg\Library\ > PlatformHookLib\PlatformHookLib.c => PlatformHookSerialPortInitialize(), > which is in turn called by CorebootModulePkg\Library\BaseSerialPortLib16550 > \BaseSerialPortLib16550.c ==> SerialPortInitialize(). > > Have you seen serial output info during Coreboot? If the answer is no, then > Coreboot should be tweaked. If the answer is yes, but you cannot see serial > output in Coreboot Payload, then probably the above call sequence needs to > be checked. If you do not have a debugger, one way to trace code flow is to > insert raw serial outputs in the code flow. This should be doable since > Coreboot already does serial output. Once the serial output functions > correctly in the Coreboot Payload, Boot Menu / UI through serial should be > automatically supported. > > On networking, you might refer to the Minnow Board v3 source tree, at > https://github.com/tianocore/edk2-platforms/tree/devel-MinnowBoard3- > UDK2017 > > Minnow Board v3 uses the same SOC as Leaf Hill. You might look at > Platform/BroxtonPlatformPkg/PlatformPkg.fdf file for a reference on which > components are used for network / PXE. > > Thanks, > > - ben > > > -----Original Message----- > > From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of > > Cameron Craig > > Sent: Friday, November 24, 2017 5:16 PM > > To: 'edk2-devel@lists.01.org' <edk2-devel@lists.01.org> > > Subject: [edk2] Enabling boot menu via serial & PXE boot in > CorebootPayloadPkg > > > > Hi all, > > > > I'm new to this list and new to edk2 integration. > > Currently I'm working on an Intel Leaf Hill CRB, attempting to produce a > > coreboot payload consisting of a Tianocore EDKII UDK 2017 UEFI boot > manager. > > > > I have basic functionality, but a few useful features are currently missing > > from > > my build: > > > > 1. User interface via serial. > > We will not have the luxury of a video output so need to be able to navigate > the > > boot menu etc. via serial. > > In an ideal world I would be looking for a Boolean value to toggle :) But I > > imagine there might be a little more to it. > > > > 2. PXE Boot. > > So far I have sources and built an UNDI driver and pinged a local network > device. > > I have also attempted to enable the necessary features for PXE boot [1]. > > But I get an error message: > > ``` > > $ ipconfig > > MAC Address: <valid MAC addr> > > Broadcast MAC: FF FF FF FF FF FF > > ipconfig: Locate protocol error: 'PXE base code protocol' > > ``` > > So I'm thinking some drivers are not being loaded? > > > > Any suggestions for enabling these features would be greatly appreciated. > > > > [1] https://github.com/tianocore/tianocore.github.io/wiki/NetworkPkg- > > Getting-Started-Guide -> FEATURES ENABLING > > > > Cheers, > > Cameron > > > > > > Cameron Craig | Graduate Software Engineer | Exterity Limited > > tel: +44 1383 828 250 | fax: | mobile: > > e: cameron.cr...@exterity.com | w: www.exterity.com > > > > Exterity is a leading provider of IP Video and Digital Signage solutions > > that > helps > > organizations to harness the power of video to communicate, educate and > > entertain. Our end-to-end solutions enable you to take TV and video content > > directly from any source and manage its delivery, live or on demand, to any > > connected device via your existing network. For more information or to > > schedule a product demonstration, contact Exterity on +44(0)1383 828 250 or > > visit www.exterity.com > > > > Legal Notice > > Unless expressly stated otherwise, this message is confidential and may be > > privileged. It is intended for the addressee(s) only. Access to this e-mail > > by > > anyone else is unauthorized. If you are not an addressee, any disclosure or > > copying of the contents of this e-mail or any action taken (or not taken) in > > reliance on it is unauthorized and may be unlawful. If you are not an > > addressee, > > please inform the sender immediately. > > > > Exterity Limited is registered in Scotland under No. 225313 with its > > registered > > office at Ridge Way, Hillend Industrial Park, Dalgety Bay, KY11 9JD. > > > > > > > _________________________________________________________________ > > _____ > > This email has been scanned by the Symantec Email Security.cloud service. > > For more information please visit http://www.symanteccloud.com > > > _________________________________________________________________ > > _____ > > _______________________________________________ > > edk2-devel mailing list > > edk2-devel@lists.01.org > > https://lists.01.org/mailman/listinfo/edk2-devel > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel