From 66decf16446eeb8d3b2da93d0b0086a583bc17bf Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Thu, 4 Feb 2016 11:21:33 -0800 Subject: Documentation: x86 Enable Serial Output Document the steps necessary to enable serial output TEST=None Change-Id: Ifc0e700d7ef54fb1e28ca9bca34b94cccd3633ac Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/13444 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- Documentation/Intel/SoC/soc.html | 44 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) (limited to 'Documentation/Intel/SoC/soc.html') diff --git a/Documentation/Intel/SoC/soc.html b/Documentation/Intel/SoC/soc.html index 679e022f64..0b0615d049 100644 --- a/Documentation/Intel/SoC/soc.html +++ b/Documentation/Intel/SoC/soc.html @@ -19,6 +19,11 @@
  • Early Debug
  • Bootblock
  • TempRamInit
  • +
  • Romstage +
      +
    1. Enable Serial Output"
    2. +
    +
  • @@ -284,6 +289,45 @@ Use the following steps to debug the call to TempRamInit: +
    +

    Romstage

    + +

    Serial Output

    +

    + The following steps add the serial output support for romstage: +

    +
      +
    1. Create the romstage subdirectory
    2. +
    3. Add romstage/romstage.c +
        +
      1. Program the necessary base addresses
      2. +
      3. Disable the TCO
      4. +
      +
    4. +
    5. Add romstage/Makefile.inc +
        +
      1. Add romstage.c to romstage
      2. +
      +
    6. +
    7. Add gpio configuration support if necessary
    8. +
    9. Add the necessary .h files to support the build
    10. +
    11. Update Makefile.inc +
        +
      1. Add the romstage subdirectory
      2. +
      3. Add the gpio configuration support file to romstage
      4. +
      +
    12. +
    13. Set the necessary Kconfig values to enable serial output: +
        +
      • CONFIG_DRIVERS_UART_<driver>=y
      • +
      • CONFIG_CONSOLE_SERIAL=y
      • +
      • CONFIG_UART_FOR_CONSOLE=<port>
      • +
      • CONFIG_CONSOLE_SERIAL_115200=y
      • +
      +
    14. +
    + +

    Modified: 31 January 2016

    -- cgit v1.2.3