<div dir="ltr"><div><div><div><div><div><div>Hi<span class="gmail-pl-c"> All,<br></span></div><div><span class="gmail-pl-c"><br></span></div><div><span class="gmail-pl-c">my name is Gergely Kiss and I'm currently </span><span class="gmail-pl-c">working on porting Coreboot to the ASUS AM1I-A board.</span></div><div><span class="gmail-pl-c"><br></span></div><div><span class="gmail-pl-c">I'm a great fan of open source software, I've contributed a few times to some well-known projects like Squid, Monodevelop and Openwrt, just to name a few.<br></span></div><div><span class="gmail-pl-c"><br></span></div><div><span class="gmail-pl-c">I would need a little bit of help from the devs about how to create the PCI IRQ routing table for my board (the easiest way possible).</span><br><span class="gmail-pl-c"></span></div></div></div><div><span class="gmail-pl-c"><br></span></div><div><span class="gmail-pl-c">I'm using the Biostar AM1ML board as a template as it looks to be a very similar board as the one I have. The only differences I can see is the SuperIO (ITE 8623E) & the audio chip (Realtek ALC887-VD) and also some minor things with the board layout so I'm not expecting to have too much difficulties.<br></span></div></div><div><br><span class="gmail-pl-c"></span></div><div><span class="gmail-pl-c">Looking at the file <a href="https://review.coreboot.org/cgit/coreboot.git/tree/src/mainboard/biostar/am1ml/irq_tables.c">https://review.coreboot.org/cgit/coreboot.git/tree/src/mainboard/biostar/am1ml/irq_tables.c</a>, the following questions came to my mind:<br></span></div><div><span class="gmail-pl-c"><br></span></div><span class="gmail-pl-c">* Do I really have to follow the "long way" as outlined in the Wiki page at <a href="https://www.coreboot.org/Creating_Valid_IRQ_Tables">https://www.coreboot.org/Creating_Valid_IRQ_Tables</a>? Couldn't I just fetch the routing table from the OEM BIOS somehow and implement it in the source?<br></span></div><span class="gmail-pl-c">*
 What's the meaning of the fields "link" & "bitmap"? Are these common 
for all boards with the same chipset? Where should I look up this information?<br></span></div><span class="gmail-pl-c">* I believe I have to create as many entries within the struct as many IRQ slots exist for the board. Am I right?<br></span><div><div><div><br></div><div><span class="gmail-pl-c"></span></div><div><span class="gmail-pl-c">I found a table in the board's manual (attached) which looks useful but I'm afraid it might not contain all the information I need to construct a valid routing table.</span></div><div><span class="gmail-pl-c"><br></span></div><div><span class="gmail-pl-c">As for the SuperIO chip, I think I won't have too much issues getting it to work as it looks like ITE SIO chips are quite similar from the developer's perspective but I still miss having a datasheet available. I'll try to reach out to the vendor to see if they are willing to share a datasheet with me.<br></span></div><div><span class="gmail-pl-c"><br></span></div><div><span class="gmail-pl-c">Any help from you guys is much appreciated.<br></span></div><div><span class="gmail-pl-c"><br></span></div><div><span class="gmail-pl-c"></span></div><div><span class="gmail-pl-c">Thanks & Regards,</span></div><div><span class="gmail-pl-c">Gergely</span></div><div><span class="gmail-pl-c"><br></span></div></div></div></div>