From 045a679d4cb7e4a732970d66ef486e3965ae5305 Mon Sep 17 00:00:00 2001 From: Jeffrey Lee Date: Sun, 1 Sep 2019 15:02:41 +0100 Subject: [PATCH] Fix debugging via UART0 HAL_QueryPlatform was attempting debug output before the debug UART had been initialised. Since both the PL011 & MiniUART configuration depends on getting/setting firmware values, fix it by just removing the debug prints from HAL_QueryPlatform. --- s/Messaging | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/s/Messaging b/s/Messaging index cd3545c..7037abb 100644 --- a/s/Messaging +++ b/s/Messaging @@ -101,11 +101,6 @@ HAL_SendHostMessage ROUT ; HAL_QueryPlatform ROUT STMFD R13!, {r0-r6, lr} - [ HALDebug - BL HAL_DebugTXStrInline - DCB "QueryPlatform",10,0 - ALIGN - ] CPUDetect r4 MOVCC r4, #GPU_L2CnonAl ; Pi 1 has L2 cache enabled MOVCS r4, #GPU_UnCached ; Pi 2 has L2 cache disabled @@ -229,11 +224,6 @@ gbit ; MOVNE a1, #-1 STR a1, SafetyCatch 10 - [ HALDebug - BL HAL_DebugTXStrInline - DCB "QueryPlatform done",10,0 - ALIGN - ] LDMFD R13!, {r0-r6, pc} ; In: -- GitLab