From: Andrei Borzenkov <arvidjaar@gmail.com>
To: grub-devel@gnu.org
Subject: Re: Boot Linux through GRUB2 on AMD DB-FT3b-LC
Date: Fri, 2 Dec 2016 20:26:49 +0300 [thread overview]
Message-ID: <18dfd4a3-4bf5-2dce-57c3-8ab59f06d6b8@gmail.com> (raw)
In-Reply-To: <CAC=inJg_Q_+cdeJxUG30tWKFnHTMPgA92ij71YNXctoa+XhrXg@mail.gmail.com>
02.12.2016 20:06, Grigore Lupescu пишет:
> Restarting the config from scratch in Coreboot and setting Keep Vesa
> framebuffer I am able to enter gfxterm in GRUB2.
I assume "Keep Vesa framebuffer" is coreboot setting?
> So at this point *gfxterm* is selected not *vga_text. *Linux is booting
> without any issue now. Apparently the vga_text mode was the source of all
> problems/limitations.
>
We still want to fix it. I appreciate if you could try to determine more
closely where the problem happens.
> On Fri, Dec 2, 2016 at 3:28 PM, Grigore Lupescu <grigore@arista.com> wrote:
>
>> Hello Andrei,
>>
>> I managed to improve the status of the *vga_text* mode. So GRUB2 was
>> restarting when reaching the end of the screen. I traced this to the
>> *screen_read_char* which is issued when the *inc_y* == ROWS (this call
I am sorry, I do not understand it. Normally y should never exceed
ROWS-1 (this is the last coordinate). And screen_read_char is called in
a loop where y < ROWS - 1 and so (y + 1) will not exceed ROWS - 1 again.
How is it possible for y to be equal ROWS if you mean that?
>> would break GRUB2). I didn't go even further with the debug though. I just
>> clear the screen and set grub_curr_pos.y to 0 and by using set pager=1 I
Could you please attach your patch?
>> can browse with enter through all the output page by page. It's not ideal
>> but it was fast and practical.
>>
>> Linux though still doesn't boot. I am currently looking why the vga_text
>> mode is selected over gfxterm which is not even configured properly.
>>
>> Thanks,
>> Grigore
>>
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
next prev parent reply other threads:[~2016-12-02 17:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-02 15:28 Boot Linux through GRUB2 on AMD DB-FT3b-LC Grigore Lupescu
2016-12-02 17:06 ` Grigore Lupescu
2016-12-02 17:26 ` Andrei Borzenkov [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-12-03 7:52 Grigore Lupescu
2016-11-30 15:59 Grigore Lupescu
2016-11-30 16:53 ` Andrei Borzenkov
2016-11-28 18:19 Grigore Lupescu
2016-11-29 17:55 ` Andrei Borzenkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18dfd4a3-4bf5-2dce-57c3-8ab59f06d6b8@gmail.com \
--to=arvidjaar@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).