<div>Zvika:<br></div><div>You are lucky If the model of your board appears in the list of supported nodels because you have to do not much, but, if not, you have to do a "motherboard porting" for your specific system.<br></div><div><br></div><div>Is essential you add the correct microcode and configure correctly FSP on memory settings otherwise the system will not boot.<br></div><div><br></div><div>Get focused into the "mainboard" tree in the folder where devicetree for your board is located.<br></div><div>The most notable files are:<br></div><div><br></div><div>devicetree.cb<br></div><div>gpio.h<br></div><div>Kconfig<br></div><div>Makefile.inc<br></div><div>and the ACPI folder.<br></div><div><br></div><div>Remember:<br></div><div> you also need to initialize EC or superio.<br></div><div>You need to select the right video framebuffer depending of the payload.<br></div><div>etc...<br></div><div><br></div><div>To edit devicetree.cb you need to understand the specific architecture of your board and you can enable/disable and add devices there (you can see examples from another boards).<br></div><div>To edit gpio.h you need to dump from ypur original "BIOS" the GPIO settings using inteltool (find more details in the text document I already sent you).<br></div><div>To edit Kconfig to enable features.<br></div><div>To edit Makefile.inc to enable code.<br></div><div>To edit ACPI files to provide hardware information to the OS and tell the processor what to do in case of a power event and other many things.<br></div><div><br></div><div>This is generally what you have to do to port to your board.<br></div><div>Maybe someone else can add something else or correct me if Iam wrong.<br></div><div><br></div><div>Good luck,<br></div><div>Jose Trujillo.<br></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Saturday, September 29, 2018 9:46 AM, Zvi Vered <veredz72@gmail.com> wrote:<br></div><div> <br></div><blockquote type="cite" class="protonmail_quote"><div dir="ltr"><div>Hello,<br></div><div><br></div><div>I created a new mainboard based on "Bayley Bay FSP-based CRB"<br></div><div>It seems that (at least) the following files are mandatory for build:<br></div><div><br></div><div>cmos.layout<br></div><div>devicetree.cb<br></div><div>romstage.c<br></div><div><br></div><div>Am I right ? <br></div><div>If yes - what info required to write those files ?<br></div><div>Can I use coreboot default files instead ?<br></div><div><br></div><div>Honestly - I thought that FSP binary configuration is all I have to do. <br></div><div>And few changes in menuconfig (e.g ROM size). <br></div><div><br></div><div>Thank you,<br></div><div>Zvika <br></div></div></blockquote><div><br></div>