All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot-Users] Locked block in StrataFlash
@ 2005-11-30 15:41 llandre
  2005-11-30 15:49 ` Daniel Stenberg
  0 siblings, 1 reply; 2+ messages in thread
From: llandre @ 2005-11-30 15:41 UTC (permalink / raw)
  To: u-boot

Hi all,

I experienced a problem with strataflash driver on ARM920T-based custom 
hardware. The driver has been derived from 
board/esd/cpcpi440/strataflash.c. When issuing a saveenv command, U-Boot 
randomly can't erase the block because it is locked (environment is in 
flash). We verified with JTAG debugger that status register and it 
confirmed the locked state. To unlock the block we issued manually the 
necessary commands. The function flash_real_protect is never invoked (I 
verified with JTAG debugger that it is never executed, too).
Anybody experienced similar problems?


-- 
llandre

DAVE Electronics System House - R&D Department
web:   http://www.dave-tech.it
email: r&d2 at dave-tech.it

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

* [U-Boot-Users] Locked block in StrataFlash
  2005-11-30 15:41 [U-Boot-Users] Locked block in StrataFlash llandre
@ 2005-11-30 15:49 ` Daniel Stenberg
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Stenberg @ 2005-11-30 15:49 UTC (permalink / raw)
  To: u-boot

On Wed, 30 Nov 2005, llandre wrote:

> I experienced a problem with strataflash driver on ARM920T-based custom 
> hardware. The driver has been derived from board/esd/cpcpi440/strataflash.c. 
> When issuing a saveenv command, U-Boot randomly can't erase the block 
> because it is locked (environment is in flash). We verified with JTAG 
> debugger that status register and it confirmed the locked state. To unlock 
> the block we issued manually the necessary commands. The function 
> flash_real_protect is never invoked (I verified with JTAG debugger that it 
> is never executed, too). Anybody experienced similar problems?

I'm using an ARM920T as well (AT91RM9200 to be exact) and an Intel Strata 
flash, and since it speaks CFI I used drivers/cfi_flash.c with success.

-- 
          -=- Daniel Stenberg -=- http://daniel.haxx.se -=-
   ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol

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

end of thread, other threads:[~2005-11-30 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-30 15:41 [U-Boot-Users] Locked block in StrataFlash llandre
2005-11-30 15:49 ` Daniel Stenberg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.