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.
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: address@hidden [mailto:address@hidden 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
address@hidden
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
address@hidden
https://lists.gnu.org/mailman/listinfo/grub-devel