public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Pieter <phenning@vastech.co.za>
To: u-boot@lists.denx.de
Subject: [U-Boot] Problem erasing Flash in U-boot 2008.10
Date: Fri, 23 Jan 2009 09:23:07 +0200	[thread overview]
Message-ID: <4979705B.2060006@vastech.co.za> (raw)
In-Reply-To: <4978E416.7080207@ge.com>

I am also not able to erase my flash in U-Boot  2008.10 (nor Flash) .
All flash operations worked correctly in U-boot 1.2 .
I am using The CFI driver and the output of flinfo in both U-boot 1.2
and U-Boot 2008 are the same:

    Bank # 1: CFI conformant FLASH (32 x 16)  Size: 128 MB in 512 Sectors
      AMD Standard command set, Manufacturer ID: 0x01, Device ID: 0x7E2301
      Erase timeout: 16384 ms, write timeout: 2 ms
      Buffer write timeout: 5 ms, buffer size: 32 bytes

The flash is not locked, I did try using the command protect off all
before erasing a sector, with no result. I am Unable to write to flash
manually using uboot commands ( mw, mm , or copy). I have placed the
console output of my copy attempt below ( DEBUG is defined)

    UBoot=> md ff000000             
    ff000000: ffffffff ffffffff ffffffff ffffffff    ................
    ff000010: ffffffff ffffffff ffffffff ffffffff    ................
    UBoot=> cp.b fa000000 ff000000 10
    Copy to Flash... fwc addr ff001554 cmd aa 00aa00aa 32bit x 16 bit
    fwc addr ff000aa8 cmd 55 00550055 32bit x 16 bit
    fwc addr ff001554 cmd a0 00a000a0 32bit x 16 bit
    flash_is_busy: 0

Can Anyone pls help?
thanks pieter

  reply	other threads:[~2009-01-23  7:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-22 15:08 [U-Boot] Custom MPC8548 boot using FDT problem Pieter
2009-01-22 21:24 ` Jerry Van Baren
2009-01-23  7:23   ` Pieter [this message]
2009-01-23  8:37   ` [U-Boot] Custom MPC8548 boot using FDT problem (more info) Pieter
2009-01-23 12:35     ` Jerry Van Baren
2009-01-23 14:21       ` Pieter

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=4979705B.2060006@vastech.co.za \
    --to=phenning@vastech.co.za \
    --cc=u-boot@lists.denx.de \
    /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