public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Gary Thomas <gthomas@cambridge.redhat.com>
To: Jeremy Lin <chienyul@yahoo.com>
Cc: ecos-discuss@sourceware.cygnus.com
Subject: RE: [ECOS] RedBoot porting problem
Date: Wed, 13 Jun 2001 13:14:00 -0000	[thread overview]
Message-ID: <XFMail.20010613141345.gthomas@cambridge.redhat.com> (raw)
In-Reply-To: <20010613185053.86839.qmail@web13908.mail.yahoo.com>

On 13-Jun-2001 Jeremy Lin wrote:
> Hi,
> I use CVS version of eCos for my target.
> Now I have a working HAL and serial driver for 
> my platform(SAMSUNG KS32C50100 based), and
> the gdb stub works fine on my board. 
> I was trying to port redboot to my platform. I
> tried to compile it by choosing template "redboot"
> and it compiled successfully; I also have a set of
> ecm files which is copied from pid platform.
> But when I load the redboot image file and run it,
> instead of redboot banner, the serial port always
> outputs a string like this "$T0a0f:00000000;0d:00000000;#f9",
> just like what I got when using gdb stub.
> Does that mean it still in gdb protocol mode? How can I get
> the redboot mode? Please give me a hint..

It means that something went wrong when you started it up.  Are
you running this from ROM or RAM?

You can get a clue by simply connecting to your board via GDB
and getting a backtrace and register info.  This may give you
an idea why it is failing.

  % arm-elf-gdb -nw redboot.elf
  (gdb) set remotebaud 38400
  (gdb) tar rem /dev/ttyS0
  (gdb) info reg
  (gdb) bt

  reply	other threads:[~2001-06-13 13:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-13 11:50 Jeremy Lin
2001-06-13 13:14 ` Gary Thomas [this message]
2001-06-14 10:52   ` Jeremy Lin
2001-06-13 13:46 ` Jonathan Larmour
2001-06-13 13:40 Narayana, Venkat A.

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=XFMail.20010613141345.gthomas@cambridge.redhat.com \
    --to=gthomas@cambridge.redhat.com \
    --cc=chienyul@yahoo.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    /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 read-only IMAP folder(s) and NNTP newsgroup(s).