configs: am335x_boneblack: add example debug uart configuration
PATCH 1/1 configs: am335x_boneblack: add example debug uart configuration
To make it simpler to enable the debug uart on boneblack add debug uart configuration as an example in the defconfig but with CONFIG_DEBUG_UART disabled. Which allows a user to simple enable it when needing easily without figuring out the right values for memory base/clock and shift.
---
configs/am335x_boneblack_defconfig | 5 +++++ 1 file changed, 5 insertions(+)
configs/am335x_boneblack_defconfig +5 -0
@@ -48,3 +48,8 @@ CONFIG_USBNET_HOST_ADDR="de:ad:be:af:00:00" CONFIG_LZO=y CONFIG_OF_LIBFDT=y CONFIG_OF_LIBFDT_OVERLAY=y +# CONFIG_DEBUG_UART is not set +CONFIG_DEBUG_UART_NS16550=y +CONFIG_DEBUG_UART_BASE=0x44e09000 +CONFIG_DEBUG_UART_CLOCK=48000000 +CONFIG_DEBUG_UART_SHIFT=2
Signature · 1 line
2.17.0
PATCH 1/1 configs: am335x_boneblack: add example debug uart configuration
Quoted 17 lines · Sjoerd Simons
To make it simpler to enable the debug uart on boneblack add debug uart configuration as an example in the defconfig but with
CONFIG_DEBUG_UARTdisabled. Which allows a user to simple enable it when needing easily without figuring out the right values for memory base/clock and shift.Signed-off-by Sjoerd Simons <[email protected]>---
configs/am335x_boneblack_defconfig | 5 +++++ 1 file changed, 5 insertions(+)configs/am335x_boneblack_defconfig +0
-0
configs/am335x_boneblack_defconfig CONFIG_USBNET_HOST_ADDR="de:ad:be:af:00:00" · line 55
Quoted 8 lines
configs/am335x_boneblack_defconfig +5
-0@@ -48,3 +48,8 @@ CONFIG_USBNET_HOST_ADDR="de:ad:be:af:00:00" CONFIG_LZO=y CONFIG_OF_LIBFDT=y CONFIG_OF_LIBFDT_OVERLAY=y +# CONFIG_DEBUG_UART is not set +CONFIG_DEBUG_UART_NS16550=y +CONFIG_DEBUG_UART_BASE=0x44e09000 +CONFIG_DEBUG_UART_CLOCK=48000000 +CONFIG_DEBUG_UART_SHIFT=2
This will get overwritten by the next defconfig re-sync.
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180412/3534761b/attachment.sig>