Adrien Bourmault
56c59af861
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> |
||
---|---|---|
.. | ||
d510mo | ||
d510mo_16mb | ||
d945gclf | ||
d945gclf_16mb | ||
default | ||
fam15h_rdimm | ||
fam15h_udimm | ||
g43t-am3 | ||
g43t-am3_16mb | ||
ga-g41m-es2l | ||
kcma-d8-rdimm_2mb | ||
kcma-d8-rdimm_16mb | ||
kcma-d8-udimm_2mb | ||
kcma-d8-udimm_16mb | ||
kfsn4-dre_1mb | ||
kfsn4-dre_2mb | ||
kgpe-d16-rdimm_2mb | ||
kgpe-d16-rdimm_16mb | ||
kgpe-d16-udimm_2mb | ||
kgpe-d16-udimm_16mb | ||
macbook11 | ||
macbook11_16mb | ||
macbook21 | ||
macbook21_16mb | ||
qemu-pc_2mb | ||
r400_4mb | ||
r400_8mb | ||
r400_16mb | ||
r500_4mb | ||
t60_16mb_intelgpu | ||
t60_intelgpu | ||
t400_4mb | ||
t400_8mb | ||
t400_16mb | ||
t500_4mb | ||
t500_8mb | ||
t500_16mb | ||
w500_4mb | ||
w500_8mb | ||
w500_16mb | ||
x60 | ||
x60_16mb | ||
x200_4mb | ||
x200_8mb | ||
x200_16mb | ||
x301_4mb | ||
x301_8mb | ||
x301_16mb | ||
README.debug |
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.