<br><br><div><span class="gmail_quote">On 7/27/06, <b class="gmail_sendername">Richard Smith</b> <<a href="mailto:smithbone@gmail.com">smithbone@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 7/26/06, Dan Mezynski <<a href="mailto:danmez@gmail.com">danmez@gmail.com</a>> wrote:<br><br>> I was able to setup config to include VGA bios and it seems to work but it<br>> happens late in the flow, so a lot of printk messaages are not seen, they
<br>> only become visable after calling dev_initialize().<br>><br>> 2 questions:<br>> * How can I get it so early printk messages come up?<br><br>How are you doing video init? If linuxbios is doing it then it should
<br>be done long before the kernel loads.</blockquote><div><br>After groping around for awhile, with no text output from LB, I came upon the nice document on the website under "port guides"/"VGA support" which detailed the procedure for combining the
quartet.rom file with a vga.rom file and this allowed me to see some text output from the LB printk_notice messages, but none of the printk_notice messages come before the call to dev_initialize() which is called late in the hardwaremain() routine. BTW there is a coment in the beginning of hardwaremain() that says:
<br><br></div> /* displayinit MUST PRECEDE ALL PRINTK! */<br> console_init();<br><br>But this call does not seem to do all that's needed to get printk(printk_notice) messages to come to the console. <br><br>Note that I'm not yet getting Linux booted, I would love to get that far, it just gets to elfboot then says:
<br>Could not find a bouce buffer...<br>Cannot Load ELF Image<br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">> * Shouldnt there be an option to hit f-10 or some other key to get into
<br>> CMOS?<br><br>2 invalid assumptions. There may be no CMOS or keyboard.</blockquote><div><br>My goal was to play with the boot order, to boot from CD, to try to get Linux to boot from LB. I see that there is a reference to
cmos.layout in src/config/Config.lb which shows option_table.c as dependent on cmos.layout, so if an acceptable way to set boot order etc is to hand edit the cmos.layout file then that's fine, I just need understand it better.
<br>This file has the following snipet:<br>#start-bit length config config-ID name<br>.<br>.<br>.<br>416 4 e 7 boot_first<br>420 4 e 7 boot_second<br>424 4 e 7 boot_third
<br>But I'm not sure what to do here, any suggestions? Should I edit this file? How do I make the CD or floppy the first boot? Is there documentation on this?<br><br>Note that the mainboard/.../Options.lb file has HAVE_OPTION_TABLE=1
<br>so I assume this means it's using the cmos.layout file. Is this true?<br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
--<br>Richard A. Smith<br></blockquote></div><br>