linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: ddegraff@licor.com (Darryl)
To: linux-arm-kernel@lists.infradead.org
Subject: debugging head.S
Date: Fri, 17 Jan 2014 07:41:21 -0600	[thread overview]
Message-ID: <52D93301.2080609@licor.com> (raw)

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

                 reply	other threads:[~2014-01-17 13:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52D93301.2080609@licor.com \
    --to=ddegraff@licor.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).