grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Andrei Borzenkov <arvidjaar@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Boot Linux through GRUB2 on AMD DB-FT3b-LC
Date: Tue, 29 Nov 2016 20:55:19 +0300	[thread overview]
Message-ID: <6c16e594-c514-549b-ee73-311756f64ebb@gmail.com> (raw)
In-Reply-To: <CAC=inJi=28DqNqUuF=an0OyDz7B+kQ3oyzzp7Q8+zAcqgs+zaQ@mail.gmail.com>

28.11.2016 21:19, Grigore Lupescu пишет:
> Hello,
> 
> I am trying to run Linux through the GRUB2 payload. I am using Coreboot and
> AMD FT3B-LC and execute GRUB2 as a payload.
> 
> I have the latest Coreboot/GRUB2 sources, set config accordingly in
> Coreboot, getting an image on HDMI and the GRUB2 payload is executing.
> In GRUB2 payload I seem to have an overflow issue possibly related to the
> *vga_text* mode. If I put a proprietary AMI BIOS, GRUB2 works without issue
> in gfxterm mode and boots Linux without issue.
> 
> Using Coreboot every time the screen gets full of text, GRUB2 re-executes.
> If I though set the terminal_output to cbmemc then commands would execute
> but Linux still fails to execute - at the end GRUB2 would restart.
> 
> Also the GRUB2 payload on Coreboot does see the drive/files and attempts to
> execute - I looks like a GRUB2/Coreboot config/code problem.
> 
> I execute the below in GRUB2 (which work on AMI BIOS + GRUB2).
> grub> set root=(hd0,gpt2)
> grub> linux /boot/vmlinuz-3.13.0-29-generic root=/dev/sda2
> grub> initrd /boot/initrd.img-3.13.0-29-generic
> grub> boot
> 
> 1. Would anyone have any recommendation about the overflow in GRUB2 payload
> ? (when executed through Coreboot)
> 2. Any suggestions on debug the Linux boot given this board's limitations
> on output (HDMI only) in GRUB2 ?
> 

Do you have possibility to attach serial console? It would make
debugging more convenient.


  reply	other threads:[~2016-11-29 17:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-28 18:19 Boot Linux through GRUB2 on AMD DB-FT3b-LC Grigore Lupescu
2016-11-29 17:55 ` Andrei Borzenkov [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-11-30 15:59 Grigore Lupescu
2016-11-30 16:53 ` Andrei Borzenkov
2016-12-02 15:28 Grigore Lupescu
2016-12-02 17:06 ` Grigore Lupescu
2016-12-02 17:26   ` Andrei Borzenkov
2016-12-03  7:52 Grigore Lupescu

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=6c16e594-c514-549b-ee73-311756f64ebb@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).