From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1V2Mvg-0005om-1j for mharc-grub-devel@gnu.org; Thu, 25 Jul 2013 10:54:08 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2Mva-0005nj-8A for grub-devel@gnu.org; Thu, 25 Jul 2013 10:54:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2MvY-0001Zu-N4 for grub-devel@gnu.org; Thu, 25 Jul 2013 10:54:02 -0400 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:33128) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2MvY-0001Zd-Dl for grub-devel@gnu.org; Thu, 25 Jul 2013 10:54:00 -0400 Received: by mail-wg0-f49.google.com with SMTP id y10so1077261wgg.4 for ; Thu, 25 Jul 2013 07:53:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=IIlC5r188s4h9R1qJNlllSgse3YfrT8rfqvsfxf1nU8=; b=sSXeYU4Wks6OPoJqgoPRE8U6CLj3sGZ4xCA1s+UEyfG3FRwKaO5Ncf3gwE0YBMci8D cqU+nYJLw89fgOhYJUwUx1y1Rv/FvrO0fxHiZKuI87zdcCosWc5tgo/xOTc/m/wPAtiW 2yuLPcxBmPaOebIbMXBx2wQoRVC0CXXksu1WhpNsorhYkOukqIUpnJGgdSneIi+x4T4J pHqC8/Su9z4Wb6OSqJzqa8VSPAg9QXXkvef4zqPqe+miFVjyp1WbaYDETd1hDk5uGRY3 97K9i9gCC3lC8GKxL9R1QsKTegzK4SF6tFrFVKlRN+HdNYrag0a5Et0yLTyZO4GMmmvb 1P/A== X-Received: by 10.194.243.164 with SMTP id wz4mr31293706wjc.28.1374764039606; Thu, 25 Jul 2013 07:53:59 -0700 (PDT) Received: from [192.168.1.113] (31-249.1-85.cust.bluewin.ch. [85.1.249.31]) by mx.google.com with ESMTPSA id j20sm4251440wie.7.2013.07.25.07.53.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 25 Jul 2013 07:53:58 -0700 (PDT) Message-ID: <51F13C08.1080201@gmail.com> Date: Thu, 25 Jul 2013 16:54:00 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: Some questions about GRUB References: <67BFA875989E5748A862DFF55409F2A21B0D4B5C@IRSMSX104.ger.corp.intel.com> <51EFFEDE.60202@gmail.com> <67BFA875989E5748A862DFF55409F2A21B0D4F6A@IRSMSX104.ger.corp.intel.com> In-Reply-To: <67BFA875989E5748A862DFF55409F2A21B0D4F6A@IRSMSX104.ger.corp.intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::231 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jul 2013 14:54:07 -0000 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 >