public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* lm32 simulator configuration file question
@ 2015-04-02 22:19 Joel Sherrill
  2015-04-03  1:41 ` Mike Frysinger
  0 siblings, 1 reply; 12+ messages in thread
From: Joel Sherrill @ 2015-04-02 22:19 UTC (permalink / raw)
  To: gdb

Hi

RTEMS has a BSP for the lm32 which runs on the simulator in gdb.
Based on our wrapper scripts and READMEs, this is how the simulator
is invoked in gdb:

tar sim --hw-device lm32cpu \
  --hw-device "lm32uart/reg 0x80006000 0x100" \
  --hw-device "/lm32uart > int int0 /lm32cpu" \
  --hw-device "lm32timer/reg 0x80002000 0x80" \
  --hw-device "/lm32timer > int int1 /lm32cpu" \
  --memory-region 0x08000000,0x4000000
load

That works great. When we use lm32-rtems4.11-run, you are supposed
to provide a hw description file matching those arguments.  This is
the file we are using:

======================
lm32cpu
lm32uart/reg 0x80006000 0x100
/lm32uart > int int0 /lm32cpu
lm32timer/reg 0x80002000 0x80
/lm32timer > int int1 /lm32cpu
memory-region  0x08000000,0x4000000
======================

This is the invocation and error message:

$ lm32-rtems4.11-run --hw-file lm32_evr.conf hello/hello.exe
/lm32uart: Missing "reg" property
Quit Simulator

Based on what our notes and scripts which I thought worked at one
point indicate, that should work but I just don't see the error.

Since this is based on code in common/, can someone provide some
insight?

Thanks.

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-04-05  2:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-02 22:19 lm32 simulator configuration file question Joel Sherrill
2015-04-03  1:41 ` Mike Frysinger
2015-04-03 20:21   ` Joel Sherrill
2015-04-03 23:21     ` Mike Frysinger
2015-04-04  0:00       ` Joel Sherrill
2015-04-04  2:57         ` Mike Frysinger
2015-04-04 13:49           ` Joel Sherrill
2015-04-04 21:08             ` Mike Frysinger
2015-04-05  0:27               ` Joel Sherrill
2015-04-05  1:20                 ` Mike Frysinger
2015-04-05  1:32                   ` Joel Sherrill
2015-04-05  2:05                     ` Mike Frysinger

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 read-only IMAP folder(s) and NNTP newsgroup(s).