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
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
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
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
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)
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
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)
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)
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 +
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
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 ++--
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
12 matches
Mail list logo