linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: bhavin <bhavinp@einfochips.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Problems with PM826 card
Date: Thu, 04 Sep 2003 14:40:06 +0200	[thread overview]
Message-ID: <20030904124011.4A3ADC59E4@atlas.denx.de> (raw)
In-Reply-To: Your message of "Thu, 04 Sep 2003 10:25:47 +0530." <3F56C5D3.9080202@einfochips.com>


Dear Bhavin,

in message <3F56C5D3.9080202@einfochips.com> you wrote:
>
>     I am using a PM826 card with our own developed carrier extension
> board. I have build the ppcboot image. I am booting the image from flash

Please upgrade. PPCBoot is pretty old, and  a  lot  of  modifications
have been added lately. Please use a recent version of U-Boot instead
(0.4.7).

> and through serial communication SCC and I have configured the correct
> serial channel number from our card's schematics. Now, the ppcboot works
> but, when I try to write something in flash through ppcboot (either
> 'loadb' command or 'nm' command) the flash contents are not getting

Neither the "loadb" nor "nm" commands can operate directly  on  flash
memory.  please  download to RAM (or modify the RAM contents) and use
the "cp" command to write to flash.

> changed. All other functionality of ppcboot works like erase, read, etc.
> but all the functionality related to 'write to flash' is not working.

I think all these things are working fine, you are  just  using  them
wrong.

> Can any one please suggest me what could be the possible reason??

Read the documentation; see
http://www.denx.de/twiki/bin/view/DULG/Manual

> Also, I have one separate program which, I downloaded from somewhere
> which does some read/write operation to the PM826 card's flash. Through
> that program the writing is working perfect.

It's working perfectly in PPCBoot and U-Boot, too. Just remember that
the  command  to  write  to  flash  is  "cp"   (and   it's   variants
"cp.{l|w|b}").

> Has it something to do with ppcboot configuration or the addressing mode?

No, it is a user error.

Best regards,

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Software suppliers are trying to make their  software  packages  more
``user-friendly''.  .  .  .  Their best approach, so far, has been to
take all the old brochures, and stamp the words, ``user-friendly'' on
the cover.                                               - Bill Gates

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2003-09-04 12:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-04  4:55 Problems with PM826 card bhavin
2003-09-04 12:40 ` Wolfgang Denk [this message]
2003-09-04 14:10   ` bhavin
2003-09-04 14:17     ` Wolfgang Denk

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=20030904124011.4A3ADC59E4@atlas.denx.de \
    --to=wd@denx.de \
    --cc=bhavinp@einfochips.com \
    --cc=linuxppc-embedded@lists.linuxppc.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).