public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Kernel 2.4.19-rmk7 & Unlock Before Erase w/Strataflash K3
@ 2005-01-07  3:48 Craig A. Vanderborgh
  2005-01-07  8:33 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Craig A. Vanderborgh @ 2005-01-07  3:48 UTC (permalink / raw)
  To: u-boot

Hello, booters - and Happy New Year!

I am looking for a bit of advice on a seemingly messy problem.  Our 
PXA-255 board uses the K3-type Intel Strataflash chips, the kind you 
have to "unlock before you can erase".  If I do a "protect off all" in 
u-boot BEFORE I boot my kernel, my target board boots the kernel 
correctly, and is able to mount its JFFS2 root filesystem.  If I DON'T 
do "protect off all", the boot fails because Linux cannot write to the 
JFFS2 - because my kernel does not currently "unlock" before it tries to 
erase...

I put an "unlock before erase" fix into my u-boot port - that's why it 
works correctly.  The question is - What is the best way to deal with 
this in the Linux kernel?  Is there some "correct" and/or 
straightforward way to accomplish this??

Thanks in advance,
craig vanderborgh
voxware incorporated

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

* [U-Boot-Users] Kernel 2.4.19-rmk7 & Unlock Before Erase w/Strataflash K3
  2005-01-07  3:48 [U-Boot-Users] Kernel 2.4.19-rmk7 & Unlock Before Erase w/Strataflash K3 Craig A. Vanderborgh
@ 2005-01-07  8:33 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2005-01-07  8:33 UTC (permalink / raw)
  To: u-boot

In message <41DE067A.5050003@voxware.com> you wrote:
> 
> I put an "unlock before erase" fix into my u-boot port - that's why it 
> works correctly.  The question is - What is the best way to deal with 
> this in the Linux kernel?  Is there some "correct" and/or 
> straightforward way to accomplish this??

Yes - test a current version of the MTD code in Linux, and -  if  the
problem persists - post the problem on the MTD mailing list.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Old programmers never die, they just branch to a new address.

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

end of thread, other threads:[~2005-01-07  8:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-07  3:48 [U-Boot-Users] Kernel 2.4.19-rmk7 & Unlock Before Erase w/Strataflash K3 Craig A. Vanderborgh
2005-01-07  8:33 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox