Re: [coreboot] [SeaBIOS] Status of SeaBIOS VGA bios.

2011-10-26 Thread Gerd Hoffmann
Hi, > I started converting the VGA bios from the "lgpl vga bios" project ( > http://savannah.nongnu.org/projects/vgabios/ ) a couple of years ago. > I converted the base code, but did not have time to convert the "VBE" > or the "cirrus" code. qemu uses the lgpl vga bios too, slightly modified v

Re: [coreboot] [SeaBIOS] Status of SeaBIOS VGA bios.

2011-10-27 Thread Gerd Hoffmann
Hi, >> I havn't tried to run the ROM yet. Could you be more precise about >> what works (or what is supposed to be working), what's not, and what >> exactly remains to be translated ? I'd like to make an idea of the >> amount of work required to have a ROM equivalent to vgabios. > > If you look

Re: [coreboot] [SeaBIOS] One ROM for multiple devices

2012-06-13 Thread Gerd Hoffmann
On 06/13/12 01:06, Steve Goodrich wrote: > Please be aware that this is cross-posted to both the SeaBIOS and coreboot > mailing lists. I know this is generally frowned upon, but I believe the > subject is valid for discussion in both forums. > > > I have a coreboot/SeaBIOS image containing an op

Re: [coreboot] [SeaBIOS] SeaBIOS v1.7.2.2 stable release

2013-05-29 Thread Gerd Hoffmann
On 05/29/13 02:08, Kevin O'Connor wrote: > On Mon, May 27, 2013 at 05:11:46PM +0400, Michael Tokarev wrote: >> 27.05.2013 16:59, Kevin O'Connor wrote: >>> A new stable release of SeaBIOS (version 1.7.2.2) has been tagged. >>> This release contains bug fixes. >>> >>> The release is available via git

Re: [coreboot] Bricked Lenovo T60

2013-06-21 Thread Gerd Hoffmann
Hi, >> Change the .write field to spi_chip_write_1 > > Yes, that one indeed should have been spi_chip_write_1. Sucessfully flashed coreboot, thanks to patch Damien mail and this correction. Yay! A few questions: As I understand it the long procedere with bucts and dd'ing around the top 64k

Re: [coreboot] Bricked Lenovo T60

2013-06-21 Thread Gerd Hoffmann
Hi, > The workaround for that case is to configure (make menuconfig) the > fallback SeaBIOS not to load option rom for instance. Great idea. I've already figured the pxerom from the factory bios doesn't run on coreboot, seems to expect something coreboot doesn't provide, complains about some m

[coreboot] T60 issues

2013-06-25 Thread Gerd Hoffmann
Hi, Two little issues with T60: First, the keyboard doesn't work on cold boots. Second, the express card slot doesn't work. Coreboot doesn't see the card inserted there, and Linux doesn't either once the system is up. It also doesn't see it when hotplugged. Anyone has a clue what is going o

[coreboot] tianocore state?

2013-06-25 Thread Gerd Hoffmann
Hi, What is the state of the tianocore port for coreboot? Looking at https://github.com/pgeorgi/edk2/commits/coreboot-pkg there has been no activity for a few months ... I've rebased the patches (https://github.com/kraxel/edk2/commits/coreboot), fixed two little isses and played around a bit w

Re: [coreboot] tianocore state?

2013-06-25 Thread Gerd Hoffmann
On 06/25/13 18:31, Patrick Georgi wrote: > Am 25.06.2013 18:14, schrieb Gerd Hoffmann: >> What is the state of the tianocore port for coreboot? > I'm the sole committer, lacking time, so things are going slowly Good to head it isn't dead. >> Looking at https://git

Re: [coreboot] tianocore state?

2013-06-25 Thread Gerd Hoffmann
Hi, >> GenFw: ERROR 3000: Invalid >> Unsupported section alignment. > >> Note this is with the coreboot patches rebased, not your branch. >> I think it comes from some edk2 changes. Might also be I did something >> wrong while rebasing ... > Haven't seen this error yet. It might be the toolc

Re: [coreboot] T60 issues

2013-06-26 Thread Gerd Hoffmann
Hi, > $ ./encodeint.py ps2-keyboard-spinup 2000 Thanks, works. Two seconds delay looks excessive, but it seems really be needed, trying only one second gives me a non-working keyboard again. cheers, Gerd -- coreboot mailing list: coreboot@coreboot.org http://www.coreboot.org/mailman/list

Re: [coreboot] missing files ?

2013-09-23 Thread Gerd Hoffmann
On Mi, 2013-09-18 at 19:20 -0600, jacek burghardt wrote: > I am missing fileslisted when I git clone seabios master there are > listed in git but newer get downloaded from git > > > > -rw-r--r-- > 2704 > acpi-dsdt-cpu-hotplug.dsl > blob | history | raw > -rw-r--r-- > 821 > acpi-dsdt-dbug.dsl >

Re: [coreboot] [edk2] Passing Xen memory map and resource map to OVMF

2013-11-14 Thread Gerd Hoffmann
Hi, > > So why ovmf should be different? IMHO it should operate like seabios > > and NOT do pci ressource allocation when running on xen. Ressources are > > already handled already by hvmloader. Doing it again is (a) pointless > > and (b) creates problems like the one we are discussion right

Re: [coreboot] software hardening research project - request for advices to start

2013-11-22 Thread Gerd Hoffmann
Hi, > > About the test board : > > At this point, my idea is to use coreboot + Qemu to put my hands on > > coreboot and try to do what I described. > That's a great idea since it teaches you about the coreboot build > process and its architecture. However since Qemu takes a couple of > shortcu

Re: [coreboot] Request to see if Coreboot will work for a Gigabyte BRIX GB-XM14-1037

2013-12-08 Thread Gerd Hoffmann
On Sa, 2013-12-07 at 09:54 +0100, Patrick Georgi wrote: > Am Freitag, den 06.12.2013, 20:05 -0600 schrieb Jeremy White: > > If I were to change the second paragraph as follows: > > > > If your board is not already supported, it will likely take > > you years of work to port coreboot to operate

Re: [coreboot] SeaVGABIOS with native vga init (Need testers)

2014-02-17 Thread Gerd Hoffmann
Hi, > I've run some basic tests on this version of SeaVGABIOS on my > hardware. However, I don't have one of the boards where coreboot > supports native vga init. It would be great if someone with the > hardware (looks like stout, x60, and maybe others) could run tests. qemu has native vga in

Re: [coreboot] SeaVGABIOS with native vga init (Need testers)

2014-02-17 Thread Gerd Hoffmann
On Mo, 2014-02-17 at 10:28 -0500, Kevin O'Connor wrote: > On Mon, Feb 17, 2014 at 11:31:29AM +0100, Gerd Hoffmann wrote: > > Hi, > > > > > I've run some basic tests on this version of SeaVGABIOS on my > > > hardware. However, I don't have one of

[coreboot] [PATCH] x86: add coreboot framebuffer support

2014-09-04 Thread Gerd Hoffmann
Signed-off-by: Gerd Hoffmann --- arch/x86/Kconfig | 12 +++ arch/x86/kernel/Makefile | 1 + arch/x86/kernel/coreboot.c | 232 + 3 files changed, 245 insertions(+) create mode 100644 arch/x86/kernel/coreboot.c diff --git a/arch/x86

Re: [coreboot] [PATCH] x86: add coreboot framebuffer support

2014-09-05 Thread Gerd Hoffmann
On Do, 2014-09-04 at 22:09 +0200, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > This code assumes that payload didn't change video mode which is > improper assumption if you're not a payload. The code tries to detect that case. If either the vga is in text mode or it finds vesafb / efifb informa

Re: [coreboot] [PATCH] x86: add coreboot framebuffer support

2014-09-08 Thread Gerd Hoffmann
a patch? Attached. Can someone test with the patched coreboot trampoline please? cheers, Gerd >From cadf8315cb5d76a89a1b84e7ea22565f6b1945dc Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Tue, 9 Sep 2014 08:10:09 +0200 Subject: [PATCH] Add VIDEO_TYPE_LINEAR Add VIDEO_TYPE_LINEAR fo

Re: [coreboot] GRUB 2 is a great payload!

2015-04-07 Thread Gerd Hoffmann
Hi, > > Please let me understand your point better. I don’t see, why that size > > difference is a problem? > > > This shouldn't even be questioned. Smaller is always better. grub is doing stuff seabios doesn't. For example parsing file systems. The code for that needs to go somewhere. So yo

Re: [coreboot] QEMU x86_64 Q35 Automated Test Failure

2015-04-21 Thread Gerd Hoffmann
On Di, 2015-04-21 at 02:24 -0500, Raptor Engineering Automated Test Stand wrote: > The QEMU x86_64 Q35 fails verification as of commit > 7ab46f8085146db57699001462da871f2e4d9965 Log says at the end "RAPTOR ENGINEERING AUTOMATED TEST BOOT SUCCESS" Can you fix your test case and stop spamming the

Re: [coreboot] QEMU x86_64 Q35 Automated Test Failure

2015-04-21 Thread Gerd Hoffmann
Hi, > If the community would like me to stop sending these notifications I > will do so; I could also adjust the maximum frequency if desired. How about sending out messages on status changes (i.e. edge not level triggered). That should avoid annoying repeated reports on the same failure. Al

Re: [coreboot] coreboot debugging with qemu-x86

2015-05-11 Thread Gerd Hoffmann
On Sa, 2015-05-09 at 16:28 +0530, Saket Sinha wrote: > HI Ajay, > > > Try giving > > -m 1g > > > > > Doesn't help. Same output. > > > saket@saket-Notebook-PC:~/coreboot$ qemu-system-x86_64 -L . -bios > build/coreboot.rom -nographic > qemu: fatal: Trying to execute code outside RAM or ROM at 0x

Re: [coreboot] Proposal: Removing obsolete & EOL boards and chipsets for 4.2 release

2015-10-29 Thread Gerd Hoffmann
On Mi, 2015-10-28 at 08:43 -0700, Alex G. wrote: > > On 10/28/2015 07:00 AM, Peter Stuge wrote: > > Patrick Georgi wrote: > >> branches are where commits are pushed to die. > > > > Yes, this is a very important point, and is why I don't support Alex' > > proposal of moving some things to live onl

Re: [coreboot] sgabios ans grub2 payload (without SeaBIOS)

2015-11-04 Thread Gerd Hoffmann
On Mi, 2015-11-04 at 11:02 +0100, maxime de Roucy wrote: > Hello, > > I would like to know if it's possible to load and use sgabios with > grub2 as coreboot payload (no SeaBIOS in the rom). > I didn't test it yet but maybe you can tel me if it's possible or not. > And even better : how to do it. :

Re: [coreboot] sgabios ans grub2 payload (without SeaBIOS)

2015-11-05 Thread Gerd Hoffmann
On Do, 2015-11-05 at 01:02 +0100, maxime de Roucy wrote: > 2015-11-04 20:39 GMT+01:00 Gerd Hoffmann : > > I'd suggest to just have grub2 drive the serial line directly, IIRC the > > magic words are "terminal_input serial; terminal_output serial". > > I know

Re: [coreboot] QEMU with coreboot

2016-04-14 Thread Gerd Hoffmann
On Do, 2016-04-14 at 10:01 +0200, daoud yessine wrote: > What should I tap to run qemu with coreboot ? CONFIG_VENDOR_EMULATION=y CONFIG_BOARD_EMULATION_QEMU_X86_I440FX=y (for -M q35 you need CONFIG_BOARD_EMULATION_QEMU_X86_Q35=y instead). > And Is there a graphical option to activate in qemu ?

Re: [coreboot] SeaBIOS with native graphics initialization?

2016-05-31 Thread Gerd Hoffmann
Hi, > Is that possible using native graphics initialization without vgabios? > There are some recent references that it's possible. CONFIG_VGA_COREBOOT=y in seabios. That'll give you a vgabios which does vga text mode emulation on top of a coreboot framebuffer. cheers, Gerd -- coreboot m

Re: [coreboot] SeaBIOS with native graphics initialization?

2016-05-31 Thread Gerd Hoffmann
On Di, 2016-05-31 at 15:35 +0200, Piotr Kubaj wrote: > Thanks, > > does CONFIG_VGA_BIOS also need to be set in Coreboot config file? Yes (or manually add the rom via cbfstool). But CONFIG_VGA_ROM_RUN must be "n". cheers, Gerd -- coreboot mailing list: coreboot@coreboot.org https://www.coreb

Re: [coreboot] Discussion about dynamic PCI MMIO size on x86

2016-06-06 Thread Gerd Hoffmann
Hi, > I think one can go with 2GB MMIO hole. Agreeing here. We have PAE. Non-ancient 32bit kernels should support and use it, for both security reasons (nox support requires PAE page table format) and accessing physical address space above 4G. > The PCIe > 4GB is a question, I don't > think

Re: [coreboot] PC Engines APU2 support

2016-06-07 Thread Gerd Hoffmann
Hi, > > It seams the SeaBIOS prefer to use/promote sgabios instead of building it's > > own > > serial input solution. > > > > http://www.seabios.org/pipermail/seabios/2016-May/010677.html > End users seems to have problems with sgabios and that's why I was asked > to remove sgabios support.

Re: [coreboot] [SeaBIOS] UEFI project ideas

2016-06-07 Thread Gerd Hoffmann
On Mo, 2016-06-06 at 22:05 +0200, Rudolf Marek wrote: > Hi all, > > I noticed that seabios/libpayload could have interresting use cases and I want > to share/discuss them. > > 1) Have a SeaBIOS be a UEFI application. This would benefit on UEFI platforms > without CSM. I doubt this is going to fl

Re: [coreboot] [SeaBIOS] UEFI project ideas

2016-06-07 Thread Gerd Hoffmann
On Di, 2016-06-07 at 16:35 +0200, Zoran Stojsavljevic wrote: > > Note that you can build seabios as CSM for tianocore already. > These are the opposites: SeaBIOS is CSM ON (emulates Leagcy BIOS), > while Tiano Core supposed to be CSM OFF (UEFI), Thus, SeaBIOS and > Tiano Core exclude each other (s

Re: [coreboot] Discussion about dynamic PCI MMIO size on x86

2016-06-08 Thread Gerd Hoffmann
Hi, > > There's a known failure case. > > If someone puts in multiple PCI cards that uses more than 2GB of mmio > > it'll break again. > And what will happen if you need more than 3GiB MMIO space? more than > 4GiB? ... you have to set a limit somewhere. And that can be confi- > gurable, IMO (It

Re: [coreboot] ISOLINUX gfx problems under qemu/coreboot/SeaBIOS (was: Building of payloads fails, SeaBIOS fails in qemu)

2016-10-26 Thread Gerd Hoffmann
Hi, > graphics initialization failed > Error setting up gfxboot > boot: Not sure how coreboot+seabios is configured by default. I see that too when running with coreboot native graphics. SeaBIOS has a coreboot vgabios which uses the coreboot framebuffer and provides text mode emulation u

Re: [coreboot] [RFC] Explicitly use C89 (was: Setting C99 by default)

2016-11-29 Thread Gerd Hoffmann
On Di, 2016-11-29 at 00:41 +0100, Stefan Tauner wrote: > Paul can you please - without looking it up - name two new features of > C99 compared to C89? Named initializers. That alone is reason enough to prefer c99 over c89 IMHO. cheers, Gerd -- coreboot mailing list: coreboot@coreboot.org htt

Re: [coreboot] [RFC] Explicitly use C89 (was: Setting C99 by default)

2016-11-30 Thread Gerd Hoffmann
On Di, 2016-11-29 at 22:40 +0100, Stefan Tauner wrote: > On Tue, 29 Nov 2016 09:09:48 +0100 > Gerd Hoffmann wrote: > > > On Di, 2016-11-29 at 00:41 +0100, Stefan Tauner wrote: > > > Paul can you please - without looking it up - name two new features of > > > C99

Re: [coreboot] [SeaBIOS] RFC: Changing CBMEM console to run as a persistent ring-buffer

2017-04-10 Thread Gerd Hoffmann
Hi, > The change may also cause some hiccups if you're using a newer version > of coreboot with an older version of cbmem (or SeaBIOS or whatever > else reads the console): seabios doesn't read the log, instead it'll append its own messages. Which I expect will continue to work fine, except whe

Re: [coreboot] RFC: Changing CBMEM console to run as a persistent ring-buffer

2017-04-12 Thread Gerd Hoffmann
Hi, > Right, sorry, I confused something while writing the explanation > there. Nevertheless, the SeaBIOS code will require a small adjustment > (same as the libpayload driver in the patch I linked) to continue > appending correctly after the log has rolled over, and I'll provide > that patch.

[coreboot] Re: UEFI bios menu

2020-07-09 Thread Gerd Hoffmann
On Thu, Jul 09, 2020 at 10:42:50AM +0200, Nico Huber wrote: > Hello Andrey, > > On 08.07.20 12:05, avi...@gmail.com wrote: > > Does it mean I can not use EDK II a full platform implementation with BIOS > > gui and use in coreboot ? > > if you have such a "BIOS gui", you can integrate it with the