Fei,

Yes, for SeaBIOS I did just like you wrote. However, sgabios may only be configured by modifying the source files.

-Viktor

On 14.01.2015 13:29, WANG FEI wrote:
Kuzmichev,

Changing the seabios serial port base address, you should modify it via "make menuconfig" command, it's much easy and efficiency.

It's not recommended to modify the actual source files.

-Fei

On Tue, Jan 13, 2015 at 3:33 AM, Martin Roth <[email protected] <mailto:[email protected]>> wrote:

    Hi Viktor,
      Yes, I think having option roms checked is probably required.
    The only other thing I'd recommend is to build SeaBIOS outside of
    the coreboot structure and pull it in as an elf payload.  Building
    within coreboot is handy, but it doesn't offer the flexibility or
    control that you get building it yourself.

    Martin


    On 01/12/2015 01:50 AM, Kuzmichev Viktor wrote:

        On 11.01.2015 07:45, Martin Roth wrote:

            On 01/10/2015 07:53 AM, Kevin O'Connor wrote:

                On Thu, Dec 25, 2014 at 11:45:40AM +0300, Kuzmichev
                Viktor wrote:

                    Hello,

                    I've been trying to boot grub installed on the
                    hard drive using coreboot and
                    SeaBIOS as a payload. The motherboard I'm using is
                    Intel Mohon Peak. Also, I
                    do not use VGA for output, only serial port. So, I
                    included the sgabios into
                    my rom file. Here is its layout:

                It should have worked.  How did you build SeaBIOS,
                what SeaBIOS config
                did you use, and what changes have you made to SeaBIOS?

                -Kevin

            As I recall, Mohon Peak uses 0x2f8 for the console serial
            port. Did you set sgabios to output to 2f8 instead of 3f8
            in sgabios.h?

            sgabios.h:#define COM_BASE_ADDR           0x3f8

            Martin

        Thank you for your replies!

        Just checked sgabios.h and changed serial port base address to
        2f8. Somehow I missed it earlier, although I did set this
        parameter in both coreboot and SeaBIOS before. Sadly, I do not
        currently have access to Mohon Peak, so I can't really test
        this right now but, hopefully, I would be able to test this in
        a few days.
        Also, I'd like to clarify one more thing. Should Option ROMS
        parameter in SeaBIOS menuconfig be checked for sgabios to
        work? Are there any other nuances I should keep in mind?

        Viktor



-- coreboot mailing list: [email protected]
    <mailto:[email protected]>
    http://www.coreboot.org/mailman/listinfo/coreboot



-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to