Re: [coreboot] BDX-DE PCI init fail

2018-01-15 Thread Zoran Stojsavljevic
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 
wrote:

> Hi Hilbert,
>
> On Mon, Jan 15, 2018 at 12:51 AM, Hilbert Tu(杜睿哲_Pegatron) <
> hilbert...@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.stojsavlje...@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 :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)
>>  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 = 0x0010
>> > 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 @ 0xfea0, 21 ports, 32 slots, 32
>> byte contexts
>> > XHCIprotocol USB  2.00, 8 ports (offset 1), def 3001
>> > XHCIprotocol USB  3.00, 6 ports (offset 16), def 1000
>> > XHCIextcap 0xc1 @ 0xfea08040
>> > XHCIextcap 0xc0 @ 0xfea08070
>> > XHCIextcap 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 

Re: [coreboot] BDX-DE PCI init fail

2018-01-15 Thread David Hendricks
Hi Hilbert,

On Mon, Jan 15, 2018 at 12:51 AM, Hilbert Tu(杜睿哲_Pegatron) <
hilbert...@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.stojsavlje...@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 :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)
>  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 = 0x0010
> > 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 @ 0xfea0, 21 ports, 32 slots, 32 byte
> contexts
> > XHCIprotocol USB  2.00, 8 ports (offset 1), def 3001
> > XHCIprotocol USB  3.00, 6 ports (offset 16), def 1000
> > XHCIextcap 0xc1 @ 0xfea08040
> > XHCIextcap 0xc0 @ 0xfea08070
> > XHCIextcap 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:  - 0009e800 = 1 RAM
> >   1: 0009e800 - 000a = 2 RESERVED
> >   2: 000f - 0010 = 2 RESERVED
> >   3: 0010 - 7efae000 = 1 RAM
> >   4: 7efae000 - 9000 = 2 RESERVED
> >   5: feb0 - feb1 = 2 RESERVED
> >   6: feb8 - fef0 = 2 RESERVED
> >   7: ff00 - 0001 = 2 RESERVED
> >   8: 0001 - 00028000 = 1 RAM
> > enter handle_19:
> >   NULL
> > Booting from Hard Disk...
> > Booting from :7c00
> >
> > -Hilbert
> >
> > This e-mail and its attachment may contain 

Re: [coreboot] BDX-DE PCI init fail

2018-01-15 Thread 杜睿哲_Pegatron
Hi Zoran,

Anyway, thanks. I have learnt a lot from the discussion.
Thank you all.

-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.
本電子郵件及其附件可能含有機密或依法受特殊管制之資訊,僅供本電子郵件之受文者使用。台端如非本電子郵件之受文者或誤收本電子郵件,請立即回覆郵件通知寄件人,並銷毀本電子郵件之所有複本及附件。任何未經授權而使用、揭露、散佈或複製本電子郵件或其附件之行為,皆嚴格禁止。
-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] free to good home: minnowmax board(s)

2018-01-15 Thread ron minnich
and it's gone, sorry all,Philip got here first ...

ron

On Mon, Jan 15, 2018 at 11:27 AM ron minnich  wrote:

> anybody want one of these? I have a few but no time to work on them.
>
-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] free to good home: minnowmax board(s)

2018-01-15 Thread my First name is Test And my last Name is iPation
If no one is interested, I am.


> On 15 Jan 2018, at 20:27, ron minnich  wrote:
> 
> anybody want one of these? I have a few but no time to work on them.
> -- 
> coreboot mailing list: coreboot@coreboot.org
> https://mail.coreboot.org/mailman/listinfo/coreboot


-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot


[coreboot] free to good home: minnowmax board(s)

2018-01-15 Thread ron minnich
anybody want one of these? I have a few but no time to work on them.
-- 
coreboot mailing list: coreboot@coreboot.org
https://mail.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] BDX-DE PCI init fail

2018-01-15 Thread Zoran Stojsavljevic
As my best understanding is, you need to install GRUB Legacy for
Legacy (SeaBIOS) to boot. To do this, you need to boot from UEFI BIOS
to GRUB2, then to Ubuntu (to install GRUB Legay. 0.97). Please, read:
https://ubuntuforums.org/showthread.php?t=1298932

They (GRUB 0.97 abd GRUB 2.0) can co-exist there days, and the result
of this is the option in BIOS and Bootable USB called MBR + UEFI mode.

SPS stands for: Server Platform Services, and as I understand this,
this is layer above ME, managing Servers (BDX-DE is a server). As well
as AMT. It belongs to ME part of INTEL platform.

Sorry I could not help you more. No time.

Zoran
___

On Mon, Jan 15, 2018 at 9:51 AM, Hilbert Tu(杜睿哲_Pegatron)
 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 :(
> 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.stojsavlje...@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 :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)
>  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 = 0x0010
>> 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 @ 0xfea0, 21 ports, 32 slots, 32 byte 
>> contexts
>> XHCIprotocol USB  2.00, 8 ports (offset 1), def 3001
>> XHCIprotocol USB  3.00, 6 ports (offset 16), def 1000
>> XHCIextcap 0xc1 @ 0xfea08040
>> XHCIextcap 0xc0 @ 0xfea08070
>> XHCIextcap 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:  - 0009e800 = 1 RAM
>>   1: 0009e800 - 000a = 2 RESERVED
>>   2: 000f - 0010 = 2 RESERVED
>>   3: 0010 - 7efae000 = 1 RAM
>>   4: 7efae000 - 9000 = 2 RESERVED
>>   5: feb0 -