<br><br><div class="gmail_quote">On Fri, Nov 7, 2008 at 12:17 PM, Anose, Bijoy K (N-Aerotek) <span dir="ltr"><<a href="mailto:bijoy.k.anose@lmco.com">bijoy.k.anose@lmco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>
<div><span><font size="2" face="Arial">Hello 
Myles,</font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">According to a 
mailing list post (<a href="http://article.gmane.org/gmane.linux.bios/18159/match=s2892" target="_blank">http://article.gmane.org/gmane.linux.bios/18159/match=s2892</a>) 
you were the author of</font></span></div>
<div><span><font size="2" face="Arial">the 2892 tutorial on 
the coreboot website.  Sorry to bother you directly, but you did say "feel 
free to ask for clarifications",</font></span></div>
<div><span><font size="2" face="Arial">so I'm taking you at 
your </font></span><span><font size="2" face="Arial">word.  :)</font></span></div></div></blockquote><div> </div><div>No problem.  If you CC the list you could get a faster response sometimes, depending on the time of day, phases of the moon, etc. <br>
</div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><span><font size="2" face="Arial">I've been looking at 
the tutorial, and I'm a bit confused.  It's probably just my ignorance of 
how coreboot works, etc.</font></span></div>
<div><span><font size="2" face="Arial">As I understand it, 
I should be able to replace the legacy bios on my S2892-based system with a 
coreboot-generated</font></span></div>
<div><span><font size="2" face="Arial">ROM image.  I 
want to be able to boot from a SATA hard drive with an existing Linux 
install.</font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">So far, I've taken 
the latest SVN snapshots of coreboot-v2, filo, and buildrom.  
Hardware-wise, I have a contraption that</font></span></div>
<div><span><font size="2" face="Arial">lets me hot swap the 
bios chip, and a couple of spare chips.  I've already successfully read an 
image file from the legacy</font></span></div>
<div><span><font size="2" face="Arial">BIOS and written it 
back and verified it a few times.</font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">I'm pretty familiar 
with the Linux boot process, on top of a legacy BIOS anyway.  I created an 
isolinux-based system</font></span></div>
<div><span><font size="2" face="Arial">that just worked out 
of the ramdisk and never mounted a hard disk.</font></span></div>
<div><span><font size="2" face="Arial"></font></span> </div>
<div><span><font size="2" face="Arial">I believe the 
steps I want to follow are roughly the following:</font></span></div>
<div><span><font size="2" face="Arial">* build a very 
minimal kernel that will end up in the ROM image</font></span></div></div></blockquote><div>Buildrom does this.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div><span><font size="2" face="Arial"></font></span></div>
<div><span><font size="2" face="Arial">* configure and 
build FILO (filo.elf will include the kernel image?)</font></span> <br></div></div></blockquote><div>Not needed.  Filo doesn't have SATA drivers. That's why you need a kernel in the ROM.<br></div><div><br>You will have to configure the shell and the boot scripts in buildrom/buildrom-devel/skeleton/<br>
They select the defaults, mount the drives, etc.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div><span><font size="2" face="Arial">* use buildrom to 
create the actual ROM image file (superset of filo.elf?)</font></span></div></div></blockquote><div>Use buildrom, but the file only will have coreboot and the kernel with a minimal shell <br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div><span><font size="2" face="Arial">* burn image to 
the chip using flashrom</font></span></div></div></blockquote><div>Yes.<br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
<div><span><font size="2" face="Arial"></font></span></div>

<div><span><font size="2" face="Arial">Is the documentation 
directory under coreboot-v2 the answer to all of my questions, even though it 
seems to be intended</font></span></div>
<div><span><font size="2" face="Arial">for an EPIA 
board?  It seems to be the "general" part of the steps I would need, with 
your S2892 tutorial just calling out</font></span></div>
<div><span><font size="2" face="Arial">the 
additional/divergent steps specific to the S2892.</font></span></div>
<div><span><font size="2" face="Arial"></font></span></div></div></blockquote><div><br>I think my tutorial was additional to another tutorial on the wiki, not the docs.  The Tyan boards are very similar.<br><br>Good luck.<br>
<br>Myles<br> </div></div><br>