<div dir="ltr"><div><div>Hilbert,<br><br></div>David is right. GRUB2 should be also Legacy installable. I am simply forgetting stuff, since I am not in BSP domain anymore, these days.<br></div><div><br></div><div>Today early morning I started my Fedora 27, and it failed to enter grub.cfg for unknown reason (file was wiped out for some reason?!). It is, after all, an easy fix, I estimated 10 minutes for that, but it took me (amazingly) an hour to recover grub.cfg. It is matter of practice... It is. ;-)</div><div><br></div><div>Zoran</div><div>_______<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 16, 2018 at 6:14 AM, David Hendricks <span dir="ltr"><<a href="mailto:david.hendricks@gmail.com" target="_blank">david.hendricks@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Hilbert,<br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, Jan 15, 2018 at 12:51 AM, Hilbert Tu(杜睿哲_Pegatron) <span dir="ltr"><<a href="mailto:Hilbert_Tu@pegatroncorp.com" target="_blank">Hilbert_Tu@pegatroncorp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Zoran,<br>
<br>
That information was dumped when I use SeaBIOS as coreboot's payload. I don't know why it is related to GRUB_legacy. If I use GRUB2 as payload, it just hangs there. I am still struggling on this :(<br></blockquote><div><br></div></span><div>If you are using serial console, did you remember to enable serial output in grub.cfg? There is a GRUB2 wiki page on <a href="http://coreboot.org" target="_blank">coreboot.org</a> which you might find helpful (if you haven't already read it): <a href="https://www.coreboot.org/GRUB2" target="_blank">https://www.coreboot.org/GRUB2</a></div><div><div class="h5"><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
By the way, I saw following message in the log. Should I choose NodeManager Mode? Do you know what's different? </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
>>[SPS] SiliconEnabling Mode<br>
<br>
<br>
Thanks.<br>
<span class="m_-3567271881272397097gmail-HOEnZb"><font color="#888888">-Hilbert<br>
</font></span><span class="m_-3567271881272397097gmail-im m_-3567271881272397097gmail-HOEnZb"><br>
-----Original Message-----<br>
From: Zoran Stojsavljevic [mailto:<a href="mailto:zoran.stojsavljevic@gmail.com" target="_blank">zoran.stojsavljevic@gm<wbr>ail.com</a>]<br>
</span><span class="m_-3567271881272397097gmail-im m_-3567271881272397097gmail-HOEnZb">Sent: Thursday, January 11, 2018 7:27 PM<br>
To: Hilbert Tu(杜睿哲_Pegatron)<br>
</span><div class="m_-3567271881272397097gmail-HOEnZb"><div class="m_-3567271881272397097gmail-h5">Cc: Zeh, Werner; <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a>; David Hendricks<br>
Subject: Re: [coreboot] BDX-DE PCI init fail<br>
<br>
> Booting from Hard Disk...<br>
> Booting from 0000:7c00<br>
<br>
It is booting from the thirty second Kbyte of HDD (sector 62, sector 0<br>
is MBR), where the beginning of GRUB Legacy is placed/implanted,<br>
called core.img or similar name.<br>
<br>
<a href="https://wiki.archlinux.org/index.php/GRUB_Legacy" rel="noreferrer" target="_blank">https://wiki.archlinux.org/ind<wbr>ex.php/GRUB_Legacy</a><br>
<br>
Well, you have succeed, by all means. Problem solved! ;-)<br>
<br>
Zoran<br>
_______<br>
<br>
On Thu, Jan 11, 2018 at 12:06 PM, Hilbert Tu(杜睿哲_Pegatron)<br>
<<a href="mailto:Hilbert_Tu@pegatroncorp.com" target="_blank">Hilbert_Tu@pegatroncorp.com</a>> wrote:<br>
> Hi Werner,<br>
><br>
> Thanks for your information. It works but still has same result. The result is like following. My usb stick is ext4fs formatted and has kernel and rootfs files. I wish SeaBIOS can give me a shell like Grub so that I can specify how to boot next. Or should I create a bootable usb stick?<br>
><br>
><br>
> ============= PEIM FSP is Completed =============<br>
><br>
> Returned from FspNotify(EnumInitPhaseReadyTo<wbr>Boot)<br>
> Jumping to boot code at 000ff06e(7eff6000)<br>
> CPU0: stack: 00128000 - 00129000, lowest used address 00128b00, stack used: 1280 bytes<br>
> entry    = 0x000ff06e<br>
> lb_start = 0x00100000<br>
> lb_size  = 0x0012d6d0<br>
> buffer   = 0x7ed66000<br>
> SeaBIOS (version rel-1.10.2-0-g5f4c7b1)<br>
> BUILD: gcc: (coreboot toolchain v1.44 March 3rd, 2017) 6.3.0 binutils: (GNU Binutils) 2.28<br>
> Found mainboard Intel Camelback Mountain CRB<br>
> Relocating init from 0x000e3860 to 0x7ef74cc0 (size 49824)<br>
> Found CBFS header at 0xffe00138<br>
> multiboot: eax=0, ebx=0<br>
> Found 25 PCI devices (max PCI bus is 05)<br>
> Copying SMBIOS entry point from 0x7efc1000 to 0x000f7140<br>
> Copying ACPI RSDP from 0x7efd2000 to 0x000f7110<br>
> Using pmtimer, ioport 0x408<br>
> WARNING - Timeout at tis_wait_sts:160!<br>
> WARNING - Timeout at tis_wait_sts:160!<br>
> Scan for VGA option rom<br>
> XHCI init on dev 00:14.0: regs @ 0xfea00000, 21 ports, 32 slots, 32 byte contexts<br>
> XHCI    protocol USB  2.00, 8 ports (offset 1), def 3001<br>
> XHCI    protocol USB  3.00, 6 ports (offset 16), def 1000<br>
> XHCI    extcap 0xc1 @ 0xfea08040<br>
> XHCI    extcap 0xc0 @ 0xfea08070<br>
> XHCI    extcap 0x1 @ 0xfea0846c<br>
> EHCI init on dev 00:1a.0 (regs=0xfea18020)<br>
> EHCI init on dev 00:1d.0 (regs=0xfea19020)<br>
> WARNING - Timeout at i8042_flush:71!<br>
> ebda moved from 9f000 to 9e800<br>
> AHCI controller at 00:1f.2, iobase 0xfea17000, irq 5<br>
> Found 0 lpt ports<br>
> Found 2 serial ports<br>
> XHCI no devices found<br>
> Searching bootorder for: /pci@i0cf8/usb@1d/hub@1/storag<wbr>e@1/*@0/*@0,0<br>
> Searching bootorder for: /pci@i0cf8/usb@1d/hub@1/usb-*@<wbr>1<br>
> USB MSC vendor='Generic-' product='Multiple Reader' rev='1.11' type=0 removable=1<br>
> ehci_wait_td error - status=80e42<br>
> Initialized USB HUB (0 ports used)<br>
> USB MSC blksize=512 sectors=30777344<br>
> Initialized USB HUB (1 ports used)<br>
> All threads complete.<br>
> Scan for option roms<br>
> Running option rom at c000:0003<br>
> Running option rom at c100:0003<br>
> Searching bootorder for: /pci@i0cf8/pci-bridge@2,2/*@0<br>
> Searching bootorder for: /pci@i0cf8/pci-bridge@2,2/*@0,<wbr>1<br>
><br>
> Press ESC for boot menu.<br>
><br>
> WARNING - Timeout at tis_wait_sts:160!<br>
> Searching bootorder for: HALT<br>
> drive 0x000f70c0: PCHS=0/0/0 translation=lba LCHS=1024/255/63 s=30777344<br>
> Space available for UMB: c2000-efb00, f6960-f70c0<br>
> Returned 184320 bytes of ZoneHigh<br>
> e820 map has 9 items:<br>
>   0: 0000000000000000 - 000000000009e800 = 1 RAM<br>
>   1: 000000000009e800 - 00000000000a0000 = 2 RESERVED<br>
>   2: 00000000000f0000 - 0000000000100000 = 2 RESERVED<br>
>   3: 0000000000100000 - 000000007efae000 = 1 RAM<br>
>   4: 000000007efae000 - 0000000090000000 = 2 RESERVED<br>
>   5: 00000000feb00000 - 00000000feb10000 = 2 RESERVED<br>
>   6: 00000000feb80000 - 00000000fef00000 = 2 RESERVED<br>
>   7: 00000000ff000000 - 0000000100000000 = 2 RESERVED<br>
>   8: 0000000100000000 - 0000000280000000 = 1 RAM<br>
> enter handle_19:<br>
>   NULL<br>
> Booting from Hard Disk...<br>
> Booting from 0000:7c00<br>
><br>
> -Hilbert<br>
><br>
> This e-mail and its attachment may contain information that is confidential or privileged, and are solely for the use of the individual to whom this e-mail is addressed. If you are not the intended recipient or have received it accidentally, please immediately notify the sender by reply e-mail and destroy all copies of this email and its attachment. Please be advised that any unauthorized use, disclosure, distribution or copying of this email or its attachment is strictly prohibited.<br>
> 本電子郵件及其附件可能含有機密或依法受特殊管制之資訊,僅供本<wbr>電子郵件之受文者使用。台端如非本電子郵件之受文者或誤收本電子<wbr>郵件,請立即回覆郵件通知寄件人,<wbr>並銷毀本電子郵件之所有複本及附件。任何未經授權而使用、揭露、<wbr>散佈或複製本電子郵件或其附件之行為,皆嚴格禁止。<br>
</div></div></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>