Skip to contentSkip to conversation

ARM: debug: uncompress debug support for omap2plus

PATCH Superseded [email protected] 3 participants 3 messages Aug 26, 2014 – Sep 3, 2014 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 ARM: debug: uncompress debug support for omap2plus

From: Sahara <[email protected]>

Since OMAP low-level debug code places data in the .data section, The symbol DEBUG_UNCOMPRESS was defined with !DEBUG_OMAP2PLUS_UART. This patch removes the part using data section in debug/omap2plus.S, so DEBUG_UNCOMPRESS is now available on OMAP system.

bone white)

---
 arch/arm/Kconfig.debug             |    3 +-
 arch/arm/include/debug/omap2plus.S |   96 ++++++++++--------------------------
 2 files changed, 27 insertions(+), 72 deletions(-)
arch/arm/Kconfig.debug +1 -2
index b11ad54..c0ad3e4 100644
@@ -1220,8 +1220,7 @@ config DEBUG_UART_8250_FLOW_CONTROL
 config DEBUG_UNCOMPRESS
 	bool
 	depends on ARCH_MULTIPLATFORM || ARCH_MSM || PLAT_SAMSUNG
-	default y if DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \
-		     (!DEBUG_TEGRA_UART || !ZBOOT_ROM)
+	default y if DEBUG_LL && (!DEBUG_TEGRA_UART || !ZBOOT_ROM)
 	help
 	  This option influences the normal decompressor output for
 	  multiplatform kernels.  Normally, multiplatform kernels disable
arch/arm/include/debug/omap2plus.S +26 -70

141 lines not on this page · raw message

Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 10 lines · On Tue, Aug 26, 2014 at 04:28:59PM +0900, kpark3469 at gmail.com wrote:

From: Sahara <[email protected]>

Since OMAP low-level debug code places data in the .data section, The symbol DEBUG_UNCOMPRESS was defined with !DEBUG_OMAP2PLUS_UART. This patch removes the part using data section in debug/omap2plus.S, so DEBUG_UNCOMPRESS is now available on OMAP system.

bone white)

You need to consider whom you are sending this to. It would be well worth including the OMAP maintainer, Tony Lindgren.

Signature · 2 lines
FTTC broadband for 0.8mile line: currently at 9.5Mbps down 400kbps up
according to speedtest.net.
#2 lore raw
Quoted 8 lines · Russell King - ARM Linux
Quoted 7 lines · On Tue, Aug 26, 2014 at 04:28:59PM +0900, kpark3469 at gmail.com wrote:

From: Sahara <[email protected]>

Since OMAP low-level debug code places data in the .data section, The symbol DEBUG_UNCOMPRESS was defined with !DEBUG_OMAP2PLUS_UART. This patch removes the part using data section in debug/omap2plus.S, so DEBUG_UNCOMPRESS is now available on OMAP system.

Quoted 6 lines
Quoted 3 lines

bone white)

You need to consider whom you are sending this to. It would be well worth including the OMAP maintainer, Tony Lindgren.

Thanks saw it and replied yesterday that we should just rip out the SoC detection and use standard 8250 debug_ll code.

Regards,

Tony