All of lore.kernel.org
 help / color / mirror / Atom feed
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: Thu, 25 Jul 2013 16:54:00 +0200	[thread overview]
Message-ID: <51F13C08.1080201@gmail.com> (raw)
In-Reply-To: <67BFA875989E5748A862DFF55409F2A21B0D4F6A@IRSMSX104.ger.corp.intel.com>

On 25.07.2013 16:43, Stojsavljevic, Zoran wrote:
> Dobrii denj/Hello Vladimir,
>
> Your advices definitely move me forward, but I was not able still to boot to grub. The good thing, I see that postcodes changed. It was hanging to 0x00F8, now it is hanging at 0x00EE! Definitely, some progress.
>
> I changed my /etc/default/grub file to the following:
> GRUB_SERIAL_COMMAND="serial --unit=0 --speed=115200"
> GRUB_TERMINAL_INPUT="usb_keyboard"
> GRUB_TERMINAL_OUTPUT="serial vga_text"
>
> I use grub_2.00 from tarball I found on grub.org . I tried to adopt your lengthy command, and here is what I have got:
>
> pkgdatadir=. ./grub-mkstandalone --grub-mkimage=./grub-mkimage -O i386-coreboot -o ~/projects/payload.elf --modules='ahci ehci usbms part_msdos ext2 fat at_keyboard part_gpt'
>
> It does not recognize modules: usbserial, usbdebug and cbfs
> It does not recognize command: --install-modules='...
> It does not recognize commands: --fonts= --themes= --locales
>
> It built for me payload.elf appr. 1.7M size. Good sign. I guess, it is misconfiguration which keeps me off the guard.
>
You need latest trunk to get some important coreboot-related stuff.
http://bzr.savannah.gnu.org/lh/grub/trunk/grub/changes

> Do you have your command used/implemented maybe for latest grub (version 2.17??)? How I can get the latest released tarball (I see only 2.00). Can I use git clone command from your repo to clone latest grub source code snapshot?
>
> Commands from http://www.gnu.org/software/grub/grub-download.html I do not understand, and they don't work for me.
>
> Thank you,
> Zoran
> _______
> Most of The Time you should be "intel inside" to be capable to think "out of the box".
>
>
> -----Original Message-----
> From: grub-devel-bounces+zoran.stojsavljevic=intel.com@gnu.org [mailto:grub-devel-bounces+zoran.stojsavljevic=intel.com@gnu.org] On Behalf Of Vladimir 'f-coder/phcoder' Serbinenko
> Sent: Wednesday, July 24, 2013 6:21 PM
> To: The development of GNU GRUB
> Subject: Re: Some questions about GRUB
>
> 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.
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
> Intel GmbH
> Dornacher Strasse 1
> 85622 Feldkirchen/Muenchen, Deutschland
> Sitz der Gesellschaft: Feldkirchen bei Muenchen
> Geschaeftsfuehrer: Christian Lamprechter, Hannes Schwaderer, Douglas Lusk
> Registergericht: Muenchen HRB 47456
> Ust.-IdNr./VAT Registration No.: DE129385895
> Citibank Frankfurt a.M. (BLZ 502 109 00) 600119052
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>



  reply	other threads:[~2013-07-25 14:54 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
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 [this message]
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=51F13C08.1080201@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.