From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Some questions about GRUB
Date: Wed, 24 Jul 2013 18:20:46 +0200 [thread overview]
Message-ID: <51EFFEDE.60202@gmail.com> (raw)
In-Reply-To: <67BFA875989E5748A862DFF55409F2A21B0D4B5C@IRSMSX104.ger.corp.intel.com>
On 24.07.2013 15:56, Stojsavljevic, Zoran wrote:
> Spasibo/Thank you, Andrey,
>
> I understand. I am not able to set VGA mode somehow on Coreboot. I got the file core.elf after doing grub-install command (in /boot/grub/i386-coreboot/ directory), so I am using this file as a payload to Coreboot (have no idea if this is the correct approach)!?
>
You shouldn't use grub-install with coreboot. Here is my command:
pkgdatadir=. ./grub-mkstandalone --grub-mkimage=./grub-mkimage -O
i386-coreboot -o ~/x201coreboot/coreboot/payload.elf --modules='ahci
ehci usbms part_msdos ext2 fat at_keyboard part_gpt usbserial_usbdebug
cbfs' --install-modules='ls linux search configfile normal cbtime cbls
memrw iorw minicmd lsmmap lspci halt reboot hexdump pcidump setpci
lsacpi boottime chain' --fonts= --themes= --locales= -d grub-core/
boot/grub/grub.cfg
To be run from your compile directory. You may need ohci/uhci modules,
pata or appropriate filesystems.
> What I have on my /etc/default/grub file is the following:
> GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200"
> GRUB_TERMINAL_INPUT="console serial"
> GRUB_TERMINAL_OUTPUT="console serial vga_text"
>
There is no "console" on coreboot. Only vga_text for output and
at_keyboard/usb_keyboard for input. Most likely you don't have
appropriate modules in core.img for your install (I'm not sure it adds
*hci/pata modules on coreboot the way it should)
> Still not able to bring it to grub> prompt... Neither on serial console. :(
>
> I have yet another question to all of you: Have anybody of you tried booting Win7 or Win8 using Coreboot or U-Boot?
You need to use either SeaBIOS or EFI for this. I launch seabios from
GRUB. In my GRUB menu I have a choice between loading Linux or FreeBSD
directly or go through SeaBIOS which allows i.a. go to windows (7 or 8
would both work this way).
I have also other entries like OFW but their usefulness is limited.
next prev parent reply other threads:[~2013-07-24 16:20 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-24 13:56 Some questions about GRUB Stojsavljevic, Zoran
2013-07-24 16:20 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2013-07-24 16:30 ` Andrey Borzenkov
2013-07-24 19:14 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-25 14:43 ` Stojsavljevic, Zoran
2013-07-25 14:54 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-13 9:54 ` Stojsavljevic, Zoran
2013-08-13 12:02 ` Stojsavljevic, Zoran
-- strict thread matches above, loose matches on Subject: below --
2013-08-14 13:38 Stojsavljevic, Zoran
2013-08-14 14:07 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-14 14:14 ` Stojsavljevic, Zoran
2013-08-14 14:18 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-16 11:32 ` Stojsavljevic, Zoran
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=51EFFEDE.60202@gmail.com \
--to=phcoder@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).