On Tue, Nov 3, 2020 at 10:34 PM Christian Gmeiner
<christian.gmei...@gmail.com> wrote:
>
> If u-boot gets used as coreboot payload it might be nice to get
> vendor, model and bios version from smbios. I am not sure about
> the output of all the read information.
>
> With qemu target for coreboot this could look this:
>
> CBFS: Found @ offset 14f40 size 3b188
> Checking segment from ROM address 0xffc15178
> Checking segment from ROM address 0xffc15194
> Loading segment from ROM address 0xffc15178
>   code (compression=1)
>   New segment dstaddr 0x01110000 memsize 0x889ef srcaddr 0xffc151b0 filesize 
> 0x3b150
> Loading Segment: addr: 0x01110000 memsz: 0x00000000000889ef filesz: 
> 0x000000000003b150
> using LZMA
> Loading segment from ROM address 0xffc15194
>   Entry Point 0x01110000
> BS: BS_PAYLOAD_LOAD run times (exec / console): 77 / 1 ms
> Jumping to boot code at 0x01110000(0x07fa7000)
>
> U-Boot 2020.10-00536-g5dcf7cc590-dirty (Oct 07 2020 - 14:21:51 +0200)
>
> CPU: x86_64, vendor AMD, device 663h
> DRAM:  127.1 MiB
> MMC:
> Video: No video mode configured in coreboot!
> Video: No video mode configured in coreboot!
> Vendor: QEMU
> Model: Standard PC (i440FX + PIIX, 1996)
> Bios Version: 4.12-3152-g326a499f6f-dirty
> Net:   e1000: 52:54:00:12:34:56
>        eth0: e1000#0
> No working controllers found
> Finalizing coreboot
> Hit any key to stop autoboot:  0
>
> Signed-off-by: Christian Gmeiner <christian.gmei...@gmail.com>
> Reviewed-by: Bin Meng <bmeng...@gmail.com>
> ---
>  board/coreboot/coreboot/coreboot.c | 45 ++++++++++++++++++++++++++++++
>  configs/coreboot_defconfig         |  1 +
>  2 files changed, 46 insertions(+)
>

applied to u-boot-x86, thanks!

Reply via email to