[SeaBIOS] Seabios on Via pc2500e
Elisenda Cuadros
lists at e4L.es
Wed Jan 4 22:32:35 CET 2012
Hello,
Happy New Year to everyone :-)
Kevin, thank you very much for your help.
I changed the code according to your message.
Now "a,b,c,d" appears in the log. I don´t know if this is a good symptom
or not.
What can I do to debug more into this problem? I feel pretty useless...
Thank you.
Best regards,
Elisenda
On 04/01/2012 4:12, Kevin O'Connor wrote:
> On Thu, Dec 29, 2011 at 07:23:44PM +0100, Elisenda Cuadros wrote:
>> Hi,
>>
>> I tried what you said, but it seems this is not the problem.
>>
>> I changed the ram module too, it didn´t fix anything.
>>
>> How can I add the debugging code you told me?
> Change the code with something like the below.
>
> -Kevin
>
>
> --- a/src/post.c
> +++ b/src/post.c
> @@ -197,6 +197,7 @@ void VISIBLE32FLAT
> startBoot(void)
> {
> // Clear low-memory allocations (required by PMM spec).
> + dprintf(1, "d\n");
> memset((void*)BUILD_STACK_ADDR, 0, BUILD_EBDA_MINIMUM - BUILD_STACK_ADDR);
>
> dprintf(3, "Jump to int19\n");
> @@ -272,12 +273,15 @@ maininit(void)
> memmap_finalize();
>
> // Setup bios checksum.
> + dprintf(1, "a\n");
> BiosChecksum -= checksum((u8*)BUILD_BIOS_ADDR, BUILD_BIOS_SIZE);
>
> // Write protect bios memory.
> + dprintf(1, "b\n");
> make_bios_readonly();
>
> // Invoke int 19 to start boot process.
> + dprintf(1, "c\n");
> startBoot();
> }
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: via_pc2500_seabios.zip
Type: application/octet-stream
Size: 18143 bytes
Desc: not available
URL: <http://www.seabios.org/pipermail/seabios/attachments/20120104/de846349/attachment-0001.obj>
More information about the SeaBIOS
mailing list