* [U-Boot-Users] Timeout by U-Boot while writing to flash
@ 2004-11-05 1:56 Devraj Mukherjee
2004-11-05 4:39 ` Paul Ruhland
0 siblings, 1 reply; 2+ messages in thread
From: Devraj Mukherjee @ 2004-11-05 1:56 UTC (permalink / raw)
To: u-boot
Hi everyone,
We finally got U-Boot up and running on our board. Many thanks to
everyone who replied to our emails. We are having trouble writing the
initial environment variables to the system.
Here is what we did, any ideas why the system would not write to the flash.
LPD7A400> setenv ethaddr 00:08:EE:00:41:60
LPD7A400> setenv serial# 1104M00080
LPD7A400> saveenv
Saving Environment to Flash...
Un-Protected 1 sectors
Erasing Flash...
tstart = 0x00000001, now = 0x0026cb0b
Timeout
Erased 1 sectors
LPD7A400>
Thanks for your time.
--
----------------------------------------------------------------------
Devraj Mukherjee, Eternity Technologies Pty. Ltd. Australia
Host: Debian (Sarge) 3.1 Kernel 2.4.27-1-686 / GCC version 3.3.5
Target: LPD7A400 (ARM9) LogicPD eval. board / ARM GCC 3.3 GlibC 2.3.2
LAMP environment specs. Apache: 2.0.52 PHP: 5 MySQL: 4.0.21
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot-Users] Timeout by U-Boot while writing to flash
2004-11-05 1:56 [U-Boot-Users] Timeout by U-Boot while writing to flash Devraj Mukherjee
@ 2004-11-05 4:39 ` Paul Ruhland
0 siblings, 0 replies; 2+ messages in thread
From: Paul Ruhland @ 2004-11-05 4:39 UTC (permalink / raw)
To: u-boot
On Thursday 04 November 2004 20:56, Devraj Mukherjee wrote:
> Hi everyone,
>
> We finally got U-Boot up and running on our board. Many thanks to
> everyone who replied to our emails. We are having trouble writing the
> initial environment variables to the system.
>
This sounds like it may be a problem with the newer board revisions vs. the
current cvs. There were changes to the cpld and the I/O buffers which set
the buffers in the wrong direction by default at boot. You have to either
enable pcmcia (both) or set a couple gpio lines.
To check your cpld revision enter the following:
LPD7A400> md.b 0x71400000 1
The only info I have is from the boards I've been able to get. A cpld
revision >= 0x34 has the buffer change. I've seen lower version numbers
mentined as have this change also but cannot confirm.
To set the gpio pins enter the following:
LPD7A400> mw 0x80000e3c 0x00000000 1
LPD7A400> mw 0x80000e38 0x00000005 1
The first command ensures portg pins are outputs (default). The second
command sets the necessary pins to set the buffers in the proper direction.
I was holding off the patch for this till I got reliable info about the the
card engine revision vs. the buffer direction change. I haven't gotten any
response yet.
--
Paul Ruhland
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-11-05 4:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-05 1:56 [U-Boot-Users] Timeout by U-Boot while writing to flash Devraj Mukherjee
2004-11-05 4:39 ` Paul Ruhland
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.