* Some questions about GRUB
@ 2013-07-24 13:56 Stojsavljevic, Zoran
2013-07-24 16:20 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 1 reply; 13+ messages in thread
From: Stojsavljevic, Zoran @ 2013-07-24 13:56 UTC (permalink / raw)
To: The development of GNU GRUB
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)!?
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"
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? I guess, this is NOT possible, since there must be compatible UEFI BIOS, which will boot to Win7/Win8 loader, or to UEFI compatible GRUB.
Any thoughts about last question?
Thank you,
Zoran
_______
Most of The Time you should be "intel inside" to be capable to think "out of the box".
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Some questions about GRUB
2013-07-24 13:56 Stojsavljevic, Zoran
@ 2013-07-24 16:20 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-24 16:30 ` Andrey Borzenkov
2013-07-25 14:43 ` Stojsavljevic, Zoran
0 siblings, 2 replies; 13+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-07-24 16:20 UTC (permalink / raw)
To: The development of GNU 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.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Some questions about GRUB
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
1 sibling, 1 reply; 13+ messages in thread
From: Andrey Borzenkov @ 2013-07-24 16:30 UTC (permalink / raw)
To: grub-devel
В Wed, 24 Jul 2013 18:20:46 +0200
Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.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.
Just curious - is it "not yet implemented" or there is some inherent
problem in supporting coreboot with grub-install?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Some questions about GRUB
2013-07-24 16:30 ` Andrey Borzenkov
@ 2013-07-24 19:14 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 0 replies; 13+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-07-24 19:14 UTC (permalink / raw)
To: The development of GNU GRUB
On 24.07.2013 18:30, Andrey Borzenkov wrote:
> В Wed, 24 Jul 2013 18:20:46 +0200
> Vladimir 'φ-coder/phcoder' Serbinenko <phcoder@gmail.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.
>
> Just curious - is it "not yet implemented" or there is some inherent
> problem in supporting coreboot with grub-install?
>
Inherent problem: it's not a good idea to tie-up together a flash
(relatively hard to be updated and where core.img is located) with HDD
contents.
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Some questions about GRUB
2013-07-24 16:20 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-07-24 16:30 ` Andrey Borzenkov
@ 2013-07-25 14:43 ` Stojsavljevic, Zoran
2013-07-25 14:54 ` Vladimir 'φ-coder/phcoder' Serbinenko
1 sibling, 1 reply; 13+ messages in thread
From: Stojsavljevic, Zoran @ 2013-07-25 14:43 UTC (permalink / raw)
To: The development of GNU GRUB
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: 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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Some questions about GRUB
2013-07-25 14:43 ` Stojsavljevic, Zoran
@ 2013-07-25 14:54 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-13 9:54 ` Stojsavljevic, Zoran
0 siblings, 1 reply; 13+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-07-25 14:54 UTC (permalink / raw)
To: The development of GNU GRUB
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
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Some questions about GRUB
2013-07-25 14:54 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2013-08-13 9:54 ` Stojsavljevic, Zoran
2013-08-13 12:02 ` Stojsavljevic, Zoran
0 siblings, 1 reply; 13+ messages in thread
From: Stojsavljevic, Zoran @ 2013-08-13 9:54 UTC (permalink / raw)
To: The development of GNU GRUB,
Vladimir 'f-coder/phcoder' Serbinenko
Hello Vladimir,
I managed to download GNU bazaar bzr and upgrade my Fedora 18 VM with this package. Then I executed the command:
bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub
And downloaded latest GRUB 5091 source code tree revision, as you pointed to me:
http://bzr.savannah.gnu.org/lh/grub/trunk/grub/changes
I executed configure as: [zoran@localhost grub]$ ./configure --with-platform=coreboot --prefix=/usr/local --sysconfdir=/etc
Then I started make. The following error appeared:
make[4]: Leaving directory `/home/zoran/projects/grub-devel/grub/grub-core/gnulib'
make[3]: Leaving directory `/home/zoran/projects/grub-devel/grub/grub-core/gnulib'
make[2]: Leaving directory `/home/zoran/projects/grub-devel/grub/grub-core/gnulib'
Making all in .
make[2]: Entering directory `/home/zoran/projects/grub-devel/grub'
make[2]: *** No rule to make target `grub-mkconfig_lib', needed by `all-am'. Stop.
make[2]: Leaving directory `/home/zoran/projects/grub-devel/grub'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zoran/projects/grub-devel/grub'
make: *** [all] Error 2
I use latest upgrades from Fedora 18 (some packages version):
gcc version 4.7.2 20121109 (Red Hat 4.7.2-8) (GCC)
GNU Make 3.82
gettext (GNU gettext-runtime) 0.18.1
flex 2.5.36
Python 2.7.3
autoconf (GNU Autoconf) 2.69
automake (GNU automake) 1.12.2
Any clue (anybody) why this does happen?
Thank you,
Zoran
_______
Most of The Time you should be "intel inside" to be capable to think "out of the box".
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Some questions about GRUB
2013-08-13 9:54 ` Stojsavljevic, Zoran
@ 2013-08-13 12:02 ` Stojsavljevic, Zoran
0 siblings, 0 replies; 13+ messages in thread
From: Stojsavljevic, Zoran @ 2013-08-13 12:02 UTC (permalink / raw)
To: The development of GNU GRUB,
Vladimir 'f-coder/phcoder' Serbinenko
Hvuuuuussssh... I am missing entire autogen 5.10.x package!
Sorry! :(
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 Stojsavljevic, Zoran
Sent: Tuesday, August 13, 2013 11:54 AM
To: The development of GNU GRUB; Vladimir 'f-coder/phcoder' Serbinenko
Subject: RE: Some questions about GRUB
Hello Vladimir,
I managed to download GNU bazaar bzr and upgrade my Fedora 18 VM with this package. Then I executed the command:
bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub
And downloaded latest GRUB 5091 source code tree revision, as you pointed to me:
http://bzr.savannah.gnu.org/lh/grub/trunk/grub/changes
I executed configure as: [zoran@localhost grub]$ ./configure --with-platform=coreboot --prefix=/usr/local --sysconfdir=/etc Then I started make. The following error appeared:
make[4]: Leaving directory `/home/zoran/projects/grub-devel/grub/grub-core/gnulib'
make[3]: Leaving directory `/home/zoran/projects/grub-devel/grub/grub-core/gnulib'
make[2]: Leaving directory `/home/zoran/projects/grub-devel/grub/grub-core/gnulib'
Making all in .
make[2]: Entering directory `/home/zoran/projects/grub-devel/grub'
make[2]: *** No rule to make target `grub-mkconfig_lib', needed by `all-am'. Stop.
make[2]: Leaving directory `/home/zoran/projects/grub-devel/grub'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zoran/projects/grub-devel/grub'
make: *** [all] Error 2
I use latest upgrades from Fedora 18 (some packages version):
gcc version 4.7.2 20121109 (Red Hat 4.7.2-8) (GCC) GNU Make 3.82 gettext (GNU gettext-runtime) 0.18.1 flex 2.5.36 Python 2.7.3 autoconf (GNU Autoconf) 2.69 automake (GNU automake) 1.12.2
Any clue (anybody) why this does happen?
Thank you,
Zoran
_______
Most of The Time you should be "intel inside" to be capable to think "out of the box".
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
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Some questions about GRUB
@ 2013-08-14 13:38 Stojsavljevic, Zoran
2013-08-14 14:07 ` Vladimir 'φ-coder/phcoder' Serbinenko
0 siblings, 1 reply; 13+ messages in thread
From: Stojsavljevic, Zoran @ 2013-08-14 13:38 UTC (permalink / raw)
To: 'Vladimir 'f-coder/phcoder' Serbinenko',
'The development of GNU GRUB'
[-- Attachment #1: Type: text/plain, Size: 2091 bytes --]
Hello Vladimir,
Again me... This time with more precise info.
I managed to download GNU bazaar bzr and upgrade my Fedora 18 VM with this package. Then I executed the command:
bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub
And downloaded latest GRUB 5091 source code tree revision, as you pointed to me:
http://bzr.savannah.gnu.org/lh/grub/trunk/grub/changes
I made with script ./autogen.sh and installed autogen configure and makefile.*, then I executed configure as:
[zoran@localhost grub]$ ./configure --with-platform=coreboot --prefix=/usr/local --sysconfdir=/etc
Then I did make, changed to superuser and did make install. Everything worked as expected (no errors).
Then instead to use install, I used your modified command:
[root@localhost bin]# pwd
/usr/local/bin
[root@localhost bin]# ./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 usbserial_usbdebug cbfs' --fonts= --themes= --locales= -d /usr/local/lib/grub/i386-coreboot
omitting --modules-install (in other words installing all modules)
Still, after integrating payload.elf into the coreboot, I was not able to see grub prompt...??? My IVB stops at Post Code 00F8, since I have rudiment of BIOS (SEC + PEI only) -> Coreboot -> GRUB
ME reconfigured to follow properly tiny BIOS + Coreboot. I guess, I am stalling while xfering to GRUB... I was able to boot from Coreboot to BuildRoot (BIOS (SEC + PEI only) -> Coreboot -> BR)!
What I am doing wrong? The target I do this for is INTEL Ivy Bridge CPU.
Any clues?
Best Regards,
Zoran
_______
Most of The Time you should be "intel inside" to be capable to think "out of the box".
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
[-- Attachment #2: Type: text/html, Size: 5062 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Some questions about GRUB
2013-08-14 13:38 Some questions about GRUB Stojsavljevic, Zoran
@ 2013-08-14 14:07 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-14 14:14 ` Stojsavljevic, Zoran
0 siblings, 1 reply; 13+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-08-14 14:07 UTC (permalink / raw)
To: Stojsavljevic, Zoran; +Cc: 'The development of GNU GRUB'
On 14.08.2013 15:38, Stojsavljevic, Zoran wrote:
> Hello Vladimir,
>
> Again me… This time with more precise info.
>
> I managed to download GNU bazaar bzr and upgrade my Fedora 18 VM with
> this package. Then I executed the command:
>
> bzr branch http://bzr.savannah.gnu.org/r/grub/trunk/grub
>
> And downloaded latest GRUB 5091 source code tree revision, as you
> pointed to me:
>
> http://bzr.savannah.gnu.org/lh/grub/trunk/grub/changes
>
> I made with script ./autogen.sh and installed autogen configure and
> makefile.*, then I executed configure as:
>
> [zoran@localhost grub]$ ./configure --with-platform=coreboot
> --prefix=/usr/local --sysconfdir=/etc
>
> Then I did make, changed to superuser and did make install. Everything
> worked as expected (no errors).
>
> Then instead to use install, I used your modified command:
>
> [root@localhost bin]# pwd
>
> /usr/local/bin
>
> [root@localhost bin]# ./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 usbserial_usbdebug cbfs'
> --fonts= --themes= --locales= -d /usr/local/lib/grub/i386-coreboot
>
I don't see anything wrong with this. Have you triedit with qemu?
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Some questions about GRUB
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
0 siblings, 1 reply; 13+ messages in thread
From: Stojsavljevic, Zoran @ 2013-08-14 14:14 UTC (permalink / raw)
To: Vladimir 'f-coder/phcoder' Serbinenko
Cc: 'The development of GNU GRUB'
Hello Vladimir,
Could you, please, explain to me bit more how I can try with qemu? I am novice with GRUB, but lot of experience with Open Source.
Zoran
_______
Most of The Time you should be “intel inside” to be capable to think “out of the box”.
-----Original Message-----
I don't see anything wrong with this. Have you triedit with qemu?
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
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Some questions about GRUB
2013-08-14 14:14 ` Stojsavljevic, Zoran
@ 2013-08-14 14:18 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-08-16 11:32 ` Stojsavljevic, Zoran
0 siblings, 1 reply; 13+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2013-08-14 14:18 UTC (permalink / raw)
To: Stojsavljevic, Zoran; +Cc: 'The development of GNU GRUB'
On 14.08.2013 16:14, Stojsavljevic, Zoran wrote:
> Hello Vladimir,
>
> Could you, please, explain to me bit more how I can try with qemu? I am novice with GRUB, but lot of experience with Open Source.
>
There is qemu port of coreboot. I'd try with this.
> Zoran
> _______
> Most of The Time you should be “intel inside” to be capable to think “out of the box”.
>
> -----Original Message-----
> I don't see anything wrong with this. Have you triedit with qemu?
>
> 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
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* RE: Some questions about GRUB
2013-08-14 14:18 ` Vladimir 'φ-coder/phcoder' Serbinenko
@ 2013-08-16 11:32 ` Stojsavljevic, Zoran
0 siblings, 0 replies; 13+ messages in thread
From: Stojsavljevic, Zoran @ 2013-08-16 11:32 UTC (permalink / raw)
To: Vladimir 'f-coder/phcoder' Serbinenko
Cc: 'The development of GNU GRUB'
Hello Vladimir,
Two things: when I tried to auto generate latest grub-5107 , I got while doing make the following error:
[zoran@localhost grub-5107]$ ./autogen.sh
[zoran@localhost grub-5107]./configure --with-platform=coreboot --prefix=/usr/local --sysconfdir=/etc
[zoran@localhost grub-5107]make
[snap]
gcc -o build-grub-mkfont -I./include -DLOCALEDIR=\"/usr/local/share/locale\" -DGRUB_FILE=\"util/grub-mkfont.c\" -I. -I. -I. -I. -I./include -I./include -I./grub-core/lib/libgcrypt-grub/include -I./grub-core/lib/libgcrypt-grub/src/ -I./grub-core/gnulib -DGRUB_MKFONT=1 -DGRUB_UTIL=1 util/grub-mkfont.c grub-core/unidata.c grub-core/kern/emu/argp_common.c grub-core/kern/emu/misc.c util/misc.c grub-core/gnulib/progname.c
util/grub-mkfont.c:38:22: fatal error: ft2build.h: No such file or directory
compilation terminated.
make[2]: *** [build-grub-mkfont] Error 1
make[2]: Leaving directory `/home/zoran/projects/grub-devel/grub-5107'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/zoran/projects/grub-devel/grub-5107'
make: *** [all] Error 2
_______
Back to grub-5091.
Qemu? I should try this web pointer: http://www.coreboot.org/QEMU#coreboot_v3_.2B_OpenBIOS ?
Which option should I use there? (maybe coreboot v3 + OpenBIOS)???
Do I need to install some package qemu on my Fedora 18 (qemu -L "foo" -hda "/dev/zero" -serial stdio)?
Thank you,
Zoran
_______
Most of The Time you should be “intel inside” to be capable to think “out of the box”.
-----Original Message-----
> Could you, please, explain to me bit more how I can try with qemu? I am novice with GRUB, but lot of experience with Open Source.
There is qemu port of coreboot. I'd try with this.
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
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2013-08-16 11:34 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-14 13:38 Some questions about GRUB 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
-- strict thread matches above, loose matches on Subject: below --
2013-07-24 13:56 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
2013-08-13 9:54 ` Stojsavljevic, Zoran
2013-08-13 12:02 ` Stojsavljevic, Zoran
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).