* debugging head.S
@ 2014-01-17 13:41 Darryl
0 siblings, 0 replies; only message in thread
From: Darryl @ 2014-01-17 13:41 UTC (permalink / raw)
To: linux-arm-kernel
I am trying to build 3.12.6 for an OMAP3-based board (debug console on
UART 3)
Enabling DEBUG in
arch/arm/boot/compressed/head.S
and with
CONFIG_DEBUG_LL_INCLUDE="debug/omap2plus.S"
compiling (well, actually, assembling) gives the following (slightly
reformatted):
arch/arm/boot/compressed/head.S: Assembler messages:
arch/arm/boot/compressed/head.S:1237: Error: ARM register expected
-- `sub ,r3,r1'
arch/arm/boot/compressed/head.S:1237: Error: ARM register expected
-- `ldr r3,[,#0]'
arch/arm/boot/compressed/head.S:1237: Error: ARM register expected
-- `ldr r1,[,#4]'
arch/arm/include/debug/omap2plus.S:138: Error: ARM register
expected -- `str r3,[,#0]'
arch/arm/include/debug/omap2plus.S:138: Error: ARM register
expected -- `str r3,[,#4]'
arch/arm/include/debug/omap2plus.S:138: Error: ARM register
expected -- `str r3,[,#8]'
arch/arm/include/debug/omap2plus.S:138: Error: ARM register
expected -- `str r3,[,#0]'
arch/arm/include/debug/omap2plus.S:138: Error: ARM register
expected -- `str r3,[,#4]'
arch/arm/include/debug/omap2plus.S:138: Error: ARM register
expected -- `str r3,[,#8]'
arch/arm/include/debug/omap2plus.S:138: Error: ARM register
expected -- `ldr ,[,#8]'
arch/arm/include/debug/omap2plus.S:138: Error: shift expression
expected -- `add r3,r3,'
arch/arm/include/debug/omap2plus.S:138: Error: shift expression
expected -- `add r1,r1,'
arch/arm/boot/compressed/head.S:1255: Error: ARM register expected
-- `sub ,r3,r1'
arch/arm/boot/compressed/head.S:1255: Error: ARM register expected
-- `ldr r3,[,#0]'
arch/arm/boot/compressed/head.S:1255: Error: ARM register expected
-- `ldr r1,[,#4]'
arch/arm/include/debug/omap2plus.S:138: Error: ARM register
expected -- `str r3,[,#0]'
arch/arm/include/debug/omap2plus.S:138: Error: ARM register
expected -- `str r3,[,#4]'
arch/arm/include/debug/omap2plus.S:138: Error: ARM register
expected -- `str r3,[,#8]'
arch/arm/include/debug/omap2plus.S:138: Error: ARM register
expected -- `str r3,[,#0]'
arch/arm/include/debug/omap2plus.S:138: Error: ARM register
expected -- `str r3,[,#4]'
arch/arm/include/debug/omap2plus.S:138: Error: ARM register
expected -- `str r3,[,#8]'
arch/arm/include/debug/omap2plus.S:138: Error: ARM register
expected -- `ldr ,[,#8]'
arch/arm/include/debug/omap2plus.S:138: Error: shift expression
expected -- `add r3,r3,'
arch/arm/include/debug/omap2plus.S:138: Error: shift expression
expected -- `add r1,r1,'
It looks like the 'addruart' macro in in omap2plus.S is shorted a
parameter from the macro 'loadsp' macro in head.S, called in 'puts' and
'putc'.
Am I misusing this in some way? Any suggestions?
Darryl
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-01-17 13:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-17 13:41 debugging head.S Darryl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).