Hilbert,
David is right. GRUB2 should be also Legacy installable. I am simply forgetting stuff, since I am not in BSP domain anymore, these days.
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. ;-)
Zoran _______
On Tue, Jan 16, 2018 at 6:14 AM, David Hendricks david.hendricks@gmail.com wrote:
Hi Hilbert,
On Mon, Jan 15, 2018 at 12:51 AM, Hilbert Tu(杜睿哲_Pegatron) < Hilbert_Tu@pegatroncorp.com> wrote:
Hi Zoran,
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 :(
If you are using serial console, did you remember to enable serial output in grub.cfg? There is a GRUB2 wiki page on coreboot.org which you might find helpful (if you haven't already read it): https://www.coreboot.org/GRUB2
By the way, I saw following message in the log. Should I choose
NodeManager Mode? Do you know what's different?
[SPS] SiliconEnabling Mode
Thanks. -Hilbert
-----Original Message----- From: Zoran Stojsavljevic [mailto:zoran.stojsavljevic@gmail.com] Sent: Thursday, January 11, 2018 7:27 PM To: Hilbert Tu(杜睿哲_Pegatron) Cc: Zeh, Werner; coreboot@coreboot.org; David Hendricks Subject: Re: [coreboot] BDX-DE PCI init fail
Booting from Hard Disk... Booting from 0000:7c00
It is booting from the thirty second Kbyte of HDD (sector 62, sector 0 is MBR), where the beginning of GRUB Legacy is placed/implanted, called core.img or similar name.
https://wiki.archlinux.org/index.php/GRUB_Legacy
Well, you have succeed, by all means. Problem solved! ;-)
Zoran _______
On Thu, Jan 11, 2018 at 12:06 PM, Hilbert Tu(杜睿哲_Pegatron) Hilbert_Tu@pegatroncorp.com wrote:
Hi Werner,
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?
============= PEIM FSP is Completed =============
Returned from FspNotify(EnumInitPhaseReadyToBoot) Jumping to boot code at 000ff06e(7eff6000) CPU0: stack: 00128000 - 00129000, lowest used address 00128b00, stack
used: 1280 bytes
entry = 0x000ff06e lb_start = 0x00100000 lb_size = 0x0012d6d0 buffer = 0x7ed66000 SeaBIOS (version rel-1.10.2-0-g5f4c7b1) BUILD: gcc: (coreboot toolchain v1.44 March 3rd, 2017) 6.3.0 binutils:
(GNU Binutils) 2.28
Found mainboard Intel Camelback Mountain CRB Relocating init from 0x000e3860 to 0x7ef74cc0 (size 49824) Found CBFS header at 0xffe00138 multiboot: eax=0, ebx=0 Found 25 PCI devices (max PCI bus is 05) Copying SMBIOS entry point from 0x7efc1000 to 0x000f7140 Copying ACPI RSDP from 0x7efd2000 to 0x000f7110 Using pmtimer, ioport 0x408 WARNING - Timeout at tis_wait_sts:160! WARNING - Timeout at tis_wait_sts:160! Scan for VGA option rom XHCI init on dev 00:14.0: regs @ 0xfea00000, 21 ports, 32 slots, 32
byte contexts
XHCI protocol USB 2.00, 8 ports (offset 1), def 3001 XHCI protocol USB 3.00, 6 ports (offset 16), def 1000 XHCI extcap 0xc1 @ 0xfea08040 XHCI extcap 0xc0 @ 0xfea08070 XHCI extcap 0x1 @ 0xfea0846c EHCI init on dev 00:1a.0 (regs=0xfea18020) EHCI init on dev 00:1d.0 (regs=0xfea19020) WARNING - Timeout at i8042_flush:71! ebda moved from 9f000 to 9e800 AHCI controller at 00:1f.2, iobase 0xfea17000, irq 5 Found 0 lpt ports Found 2 serial ports XHCI no devices found Searching bootorder for: /pci@i0cf8/usb@1d/hub@1/storage@1/*@0/*@0,0 Searching bootorder for: /pci@i0cf8/usb@1d/hub@1/usb-*@1 USB MSC vendor='Generic-' product='Multiple Reader' rev='1.11' type=0
removable=1
ehci_wait_td error - status=80e42 Initialized USB HUB (0 ports used) USB MSC blksize=512 sectors=30777344 Initialized USB HUB (1 ports used) All threads complete. Scan for option roms Running option rom at c000:0003 Running option rom at c100:0003 Searching bootorder for: /pci@i0cf8/pci-bridge@2,2/*@0 Searching bootorder for: /pci@i0cf8/pci-bridge@2,2/*@0,1
Press ESC for boot menu.
WARNING - Timeout at tis_wait_sts:160! Searching bootorder for: HALT drive 0x000f70c0: PCHS=0/0/0 translation=lba LCHS=1024/255/63 s=30777344 Space available for UMB: c2000-efb00, f6960-f70c0 Returned 184320 bytes of ZoneHigh e820 map has 9 items: 0: 0000000000000000 - 000000000009e800 = 1 RAM 1: 000000000009e800 - 00000000000a0000 = 2 RESERVED 2: 00000000000f0000 - 0000000000100000 = 2 RESERVED 3: 0000000000100000 - 000000007efae000 = 1 RAM 4: 000000007efae000 - 0000000090000000 = 2 RESERVED 5: 00000000feb00000 - 00000000feb10000 = 2 RESERVED 6: 00000000feb80000 - 00000000fef00000 = 2 RESERVED 7: 00000000ff000000 - 0000000100000000 = 2 RESERVED 8: 0000000100000000 - 0000000280000000 = 1 RAM enter handle_19: NULL Booting from Hard Disk... Booting from 0000:7c00
-Hilbert
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.
本電子郵件及其附件可能含有機密或依法受特殊管制之資訊,僅供本電子郵件之受文者使用。台端如非本電子郵件之受文者或誤收本電子
郵件,請立即回覆郵件通知寄件人,並銷毀本電子郵件之所有複本及附件。任何未經授權而使用、揭露、散佈或複製本電子郵件或其附件之行為,皆嚴格禁止。