[coreboot] Intel Leaf Hill Coreboot Trouble
Cameron Craig
Cameron.Craig at exterity.com
Wed Sep 27 14:01:06 CEST 2017
Hi All,
I’m currently trying to get coreboot working on an Intel Leaf Hill development board, we are using U-Boot as a payload.
I have managed to create a bootable image using an out of date copy of coreboot and U-Boot, provided by Intel under NDA.
The stitching process used to generate the image is a little ugly: a set of Windows tools are provided (or pointed at) by Intel to stitch the various blobs together to create an 8MB image.
We would like to move away from this process. Using the cbfs tool it looks like we are getting a legacy image composed entirely of a single CBFS.
However, as far as I understand, the latest coreboot release (v4.6) should be capable of producing a 16MB working image without the use of external tools.
This is of course dependent on the provision of the correct binary blobs such as the FSP, flash descriptor and IFWI.
I have attached the descriptor of the IFWI image being used.
This is the process I have followed in order to generate a coreboot image:
1. Clone coreboot (v4.6)
2. Obtain Apollo Lake FSP from Intel (https://github.com/IntelFSP/FSP)
3. Split FSP into its constituent parts (https://raw.githubusercontent.com/tianocore/edk2/master/IntelFsp2Pkg/Tools/SplitFspBin.py)
4. Extract Flash Descriptor from an existing Leaf Hill UEFI image (./ifdtool --extract leaf_hill_ref_board_uefi.bin)
5. Obtain IFWI image from Intel (Apollo Lake Technical Library)
6. make menuconfig (config file is attached)
a. Mainboard
i. Mainboard vendor (Intel)
ii. Mainboard model (Leafhill)
iii. [*] Use IFWI Stitching
iv. (IFWI) section in .fmd file to place IFWI blob
v. (IFWI_SPI.bin) Path to image coming from FIT Tool
vi. (descriptor.bin) path to descriptor.bin
vii. (Fsp_M.fd) path to FSP-M.Fv blob
viii. (Fsp_S.fd) path to FSP-S.Fv
b. Payload
i. Add a payload (U-Boot (Experimental))
ii. U-Boot version (v2016.1)
iii. (coreboot-x86_defconfig) U-Boot config file
c. The rest are at Leaf Hill defaults.
7. make
8. Flash image to Leaf Hill SPI flash
As far as I can tell, this process should produce a working image.
However it does not. My most recent attempt has managed to blink the PWR_OK LED, suggesting the PMIC/PMC is working, but no serial messages.
Other than that, I currently have no working theories as to what the root cause is ☹
Is there anything obviously wrong with this process?
Are there any bugs that I should be aware of relating to coreboot on an Apollo Lake platform?
I haven’t found a lot of documentation online to describe the exact configuration and blob usage, are there any relevant sources of documentation you could point me towards?
Any help to answer the above, or any other advice would be greatly appreciated.
Cheers,
Cameron
Cameron Craig | Graduate Software Engineer | Exterity Limited
tel: +44 1383 828 250 | fax:
e: Cameron.Craig at exterity.com | w: www.exterity.com
[cid:image2640ac.PNG at 354fb716.4f862c23]<www.exterity.com>
[ISO9001]<http://www.exterity.com/iso9001> [LinkedIn] <http://www.linkedin.com/company/exterity> [Twitter] <http://www.twitter.com/exterity> [YouTube] <http://www.youtube.com/user/exterityiptv>
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 St Davids House, St Davids Drive, Dalgety Bay, KY11 9NB
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20170927/8829d7d7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image2640ac.PNG
Type: image/png
Size: 12304 bytes
Desc: image2640ac.PNG
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20170927/8829d7d7/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image861201.JPG
Type: image/jpeg
Size: 12276 bytes
Desc: image861201.JPG
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20170927/8829d7d7/attachment-0001.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagee0240f.PNG
Type: image/png
Size: 1501 bytes
Desc: imagee0240f.PNG
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20170927/8829d7d7/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image85dd0e.PNG
Type: image/png
Size: 1598 bytes
Desc: image85dd0e.PNG
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20170927/8829d7d7/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image1442cf.PNG
Type: image/png
Size: 1188 bytes
Desc: image1442cf.PNG
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20170927/8829d7d7/attachment-0007.png>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: IFWI_descriptor.txt
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20170927/8829d7d7/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.txt
URL: <http://mail.coreboot.org/pipermail/coreboot/attachments/20170927/8829d7d7/attachment-0003.txt>
More information about the coreboot
mailing list