[coreboot] Add ACPI PLD to new GFX (igpu) devices for Brya models

2023-08-17 Thread Won Chung via coreboot
Hi, I am sending this to the coreboot mailing list to ask for a review. Recently, we added DRIVERS_GFX_GENERIC to BOARD_GOOGLE_BASEBOARD_BRYA in the following patch. https://review.coreboot.org/c/coreboot/+/76873 I have a series of follow up patches to add new GFX devices with custom PLD fields

[coreboot] [PATCH v2 00/20] x86: efi: Fixes and improvements for coreboot

2023-08-17 Thread Simon Glass
This little series fixes various bugs and annoyances in coreboot and coreboot64. With this both coreboot and coreboot64 start up and work reasonably well on Brya (x86 Chromebook) and U-Boot can boot common Linux distros. - Make coreboot64 debug UART start reliably - Avoid the long USB-init delay

[coreboot] [PATCH v2 20/20] x86: doc: coreboot: Mention 64-bit Linux distros

2023-08-17 Thread Simon Glass
Add a little more detail as to why coreboot64 is preferred for booting Linux distros. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch doc/board/coreboot/coreboot.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/board/coreboot/coreboot.rst

[coreboot] [PATCH v2 16/20] x86: coreboot: Record the position of the SMBIOS tables

2023-08-17 Thread Simon Glass
Make a note of where coreboot installed the SMBIOS tables so that we can pass this on to EFI. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch arch/x86/lib/coreboot/cb_sysinfo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/lib/coreboot/cb_sysinfo.c

[coreboot] [PATCH v2 10/20] x86: coreboot: Enable VIDEO_COPY

2023-08-17 Thread Simon Glass
At least on modern machines the write-back mechanism for the frame buffer is quite slow when scrolling, since it must read the entire frame buffer and write it back. Enable the VIDEO_COPY feature to resolve this problem. Signed-off-by: Simon Glass --- (no changes since v1)

[coreboot] [PATCH v2 09/20] x86: coreboot: Align options between coreboot and coreboot64

2023-08-17 Thread Simon Glass
These two builds are similar but have some different options for not good reason. Line them up to be as similar as possible. Signed-off-by: Simon Glass --- Changes in v2: - Update the malloc size too configs/coreboot64_defconfig | 7 +++ configs/coreboot_defconfig | 9 - 2 files

[coreboot] [PATCH v2 08/20] x86: coreboot: Drop USB init on startup

2023-08-17 Thread Simon Glass
This is very annoying as it is quite slow on many machines. Also, U-Boot has an existing 'preboot' mechanism to enable this feature if desired. Drop this code so that it is possible to choose whether to init USB or not. Signed-off-by: Simon Glass --- (no changes since v1)

[coreboot] [PATCH v2 07/20] x86: coreboot: Enable CONFIG_SYS_NS16550_MEM32

2023-08-17 Thread Simon Glass
The debug UART on modern machines uses a 32-bit wide transfer. Without this, setting debug output causes a hang or no output. It is not obvious (when enabling CONFIG_DEBUG_UART) that this is needed. Enable 32-bit access to avoid this trap. Signed-off-by: Simon Glass --- (no changes since v1)

[coreboot] [PATCH v2 06/20] x86: coreboot: Look for DBG2 UART in SPL too

2023-08-17 Thread Simon Glass
If coreboot does not set up sysinfo for the UART, SPL currently hangs. Use the DBG2 teechnique there as well. This allows coreboot64 to boot from coreboot even if the console info is missing from sysinfo Signed-off-by: Simon Glass --- (no changes since v1) configs/coreboot64_defconfig | 1 +

[coreboot] [PATCH v2 03/20] x86: coreboot: Rearrange arch_cpu_init()

2023-08-17 Thread Simon Glass
Init errors in SPL are currently ignored by this function. Change the code to init the CPU, reporting an error if something is wrong. After that, look for the coreboot table. Signed-off-by: Simon Glass --- (no changes since v1) arch/x86/cpu/coreboot/coreboot.c | 12 +--- 1 file

[coreboot] [PATCH v2 02/20] x86: coreboot: Enable standard boot

2023-08-17 Thread Simon Glass
Enable bootstd options and provide instructions on how to boot a linux distro using coreboot. Signed-off-by: Simon Glass --- (no changes since v1) configs/coreboot64_defconfig| 14 ++ configs/coreboot_defconfig | 1 + doc/board/coreboot/coreboot.rst | 16 ++--

[coreboot] [PATCH v2 01/20] x86: coreboot: Add IDE and SATA

2023-08-17 Thread Simon Glass
Add these options to permit access to more disk types. Add some documentation as well. Signed-off-by: Simon Glass --- (no changes since v1) configs/coreboot64_defconfig| 1 + configs/coreboot_defconfig | 9 + doc/board/coreboot/coreboot.rst | 20 3