public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Prabhat Shrivastav" <shrivastavp@myw.ltindia.com>
To: <nickg@ecoscentric.com>
Cc: <ecos-discuss@ecos.sourceware.org>
Subject: Re: [ECOS] How to load redboot_ROM in to flash
Date: Tue, 31 Aug 2004 14:01:00 -0000	[thread overview]
Message-ID: <s134cdd5.005@EMAIL> (raw)

Dear Nick

Thanks for your valuable suggestion.

This is my redboot banner.

RedBoot(tm) bootstrap and debug environment [RAM]
Non-certified release, version v2_0 - built 13:12:33, Aug 27 2004

Platform: SE77X9 (SH 7729)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x8c020000-0x8e000000, [0x8c047278-0x8dfd1000] available
FLASH: 0x80000000 - 0x80400000, 32 blocks of 0x00020000 bytes each.
RedBoot>

And my redboot_RAM is reside at 0x8c020000 SIZE : 0x20000 ,so I had selected the  RAM
address 0x8c080000 for redboot_ROM.bin .But as you said ,I had tested with mfill command 
at 0x8c080000, its failed.
It gives message : ** command abort - illegal memory access?
I am unable to get this why this memory has blocked . May this is blocked or reserved for
some other purpose.

One more thing: Even though if try to load the redoot_ROM.bin file to 0x8c047278 or 
%[FREEMEMELO] with "load -r -b 0x8c047278 -m xmodem" command I an unable to load
 into RAM .But if I use mfill at 0x8c047278 I able to fill the memory.
Please suggest me to solve this 
Thanx in advance

Regards
Prabhat Shrivastav


>>> Nick Garnett <nickg@ecoscentric.com> 08/31/04 03:39PM >>>
"Prabhat Shrivastav" <shrivastavp@myw.ltindia.com> writes:

> Dear Nick
> 
> Thanks for your direction.But  I had used load with -r  option,
> RAM add :  0x8c080000
> Below is the detail ,might give some clue.
> 
> RedBoot> dump -b 0x8c080000
> 8C080000: 00 04 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
> 8C080010: 00 00 44 00 00 00 00 00  00 00 00 00 00 00 00 00  |..D.............|
> RedBoot> load -r -b 0x8c080000 -m xmodem
> CCCCCCCCCCCCCCCCCCCCCRaw file loaded 0x8c080000-0x8c07ffff, assumed entry at 0x8
> c080000
> xyzModem - CRC mode, 0(SOH)/0(STX)/0(CAN) packets, 20 retries
> RedBoot> dump -b 0x8c080000
> 8C080000: 00 04 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
> 8C080010: 00 00 44 00 00 00 00 00  00 00 00 00 00 00 00 00  |..D.............|
> 
> And if i used "ymodem" then this will gives time out.
> Please guide me in order to solve this.
> 

Are you sure that the memory at 0x8c080000 is RAM? Can you set it from
the RedBoot prompt using the mfill command? The number of C's seems
suspicious, you should be able to start sending the file quicker than
that. The loaded range is also suspicious, it looks like you have
loaded -1 bytes. Does the binary file actually contain anything?


-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts



--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

             reply	other threads:[~2004-08-31 13:41 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-31 14:01 Prabhat Shrivastav [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-09-02  5:44 Prabhat Shrivastav
2004-09-02 10:47 ` Nick Garnett
     [not found] <s131f4ee.076@EMAIL>
2004-08-31 10:16 ` Nick Garnett
2004-08-31  8:49 Prabhat Shrivastav
2004-08-31 10:06 ` Jörn Seger
2004-08-30  0:50 Prabhat Shrivastav
     [not found] <s12f93ed.095@EMAIL>
2004-08-29  9:52 ` Nick Garnett
2004-08-27 17:29 Prabhat Shrivastav
2004-08-26  8:28 Prabhat Shrivastav
2004-08-26  9:14 ` Nick Garnett
2004-08-25 12:48 Prabhat Shrivastav
2004-08-25 12:48 Prabhat Shrivastav

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=s134cdd5.005@EMAIL \
    --to=shrivastavp@myw.ltindia.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    --cc=nickg@ecoscentric.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).