gnuboot/resources/coreboot
Adrien Bourmault 56c59af861
packages: roms_helper: boot: add support for debug configuration
When a computer does not boot at all or the result is only a deep black screen,
a very useful option can be to use a serial connector to get UART debug console
and read it, looking for any useful hint. However, enabling UART debug console
with a sufficient level of details slows down the boot process in most cases.

This commit adds the capability to build debug images, using a special
configuration file for coreboot with debug options. This is a simplistic way
that works for now, but should be improved later on.

These debug images will be generated in the bin-dbg/ directory instead
of bin/ where regular images are located.

Signed-off-by: Adrien 'neox' Bourmault <neox@gnu.org>
Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2024-12-07 13:51:20 +01:00
..
d510mo images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
d510mo_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
d945gclf images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
d945gclf_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
default coreboot: blobs.list: arm-trusted-firmware: Remove RK3399 hdcp.bin firmware. 2024-11-12 12:17:03 +01:00
fam15h_rdimm coreboot: blobs.list: fam15h: remove F12NbSmuFirmware.h 2024-11-12 12:17:09 +01:00
fam15h_udimm coreboot: blobs.list: fam15h: remove F12NbSmuFirmware.h 2024-11-12 12:17:09 +01:00
g43t-am3 images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
g43t-am3_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
ga-g41m-es2l images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
kcma-d8-rdimm_2mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
kcma-d8-rdimm_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
kcma-d8-udimm_2mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
kcma-d8-udimm_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
kfsn4-dre_1mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
kfsn4-dre_2mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
kgpe-d16-rdimm_2mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
kgpe-d16-rdimm_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
kgpe-d16-udimm_2mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
kgpe-d16-udimm_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
macbook11 images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
macbook11_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
macbook21 images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
macbook21_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
qemu-pc_2mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
r400_4mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
r400_8mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
r400_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
r500_4mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
t60_16mb_intelgpu images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
t60_intelgpu images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
t400_4mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
t400_8mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
t400_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
t500_4mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
t500_8mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
t500_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
w500_4mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
w500_8mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
w500_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
x60 images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
x60_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
x200_4mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
x200_8mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
x200_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
x301_4mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
x301_8mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
x301_16mb images: remove 'libgfxinit' from the image names. 2024-10-05 11:37:59 +02:00
README.debug packages: roms_helper: boot: add support for debug configuration 2024-12-07 13:51:20 +01:00

README.debug

GNU Boot also builds some debug images that are shipped in separate
debug archives (like gnuboot-0.1-rc3_x200_8mb_debug.tar.xz).

The debug images have the following differences with the regular
images:

- The serial port is enabled, its speed is set to 115200, and the
  Coreboot debug level is set to 7. It's possible to bring it up to 8
  without recompiling the image by modifying the cmos.default file
  inside the image. In addition POST codes are also printed on the
  serial port.

- When the computer has a Coreboot build setting for that (all
  computers but QEMU have that), memory debugging is enabled. This can
  help diagnose RAM compatibility issues to potentially fix them in
  Coreboot.