public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users]  Strange behavior in UPM
@ 2008-07-25 16:50 Alemao
  2008-07-25 17:33 ` Anton Vorontsov
  0 siblings, 1 reply; 4+ messages in thread
From: Alemao @ 2008-07-25 16:50 UTC (permalink / raw)
  To: u-boot

Hi all,

I have a board based on the MPC8360E-RDK, and im trying to
make NAND at local bus works with UPM. I put the scope to
see what was going wrong and I got this:


                     ___
- the waveform in LGPL1/3 (nand CLE/ALE) should be  ___|     |___
                  ___    ___
  but was        |__|


My question is: is there any regs different from those that
program the UPM (BRx, ORx) that can affect and cause this behavior?

Of course, supposing the UPM array in
u-boot/board/freescale/mpc8360erdk/nand.c is correct, that i think
it is.


Im using the same configuration located at
 u-boot/include/configs/MPC8360ERDK.h


/*
 * NAND flash on the local bus
 */
#define CONFIG_CMD_NAND      1
#define CONFIG_NAND_FSL_UPM  1
#define CFG_NAND_BASE        0x60000000
#define CFG_MAX_NAND_DEVICE  1
#define NAND_MAX_CHIPS       1
#define CONFIG_MTD_NAND_VERIFY_WRITE

#define CFG_LBLAWBAR1_PRELIM CFG_NAND_BASE  /* Window base at flash base */
#define CFG_LBLAWAR1_PRELIM 0x8000001b      /* Access window size 4K ??? */

/* Port size 8 bit, UPMA */
#define CFG_BR1_PRELIM		(CFG_NAND_BASE | 0x00000881)
#define CFG_OR1_PRELIM		0xfc000001

One detail, im using u-boot-1.1.4 and i got the codes for UPM and NAND
from u-boot-1.3.4-rc1.

Cheers,

--
Alemao

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

end of thread, other threads:[~2008-07-29 21:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-25 16:50 [U-Boot-Users] Strange behavior in UPM Alemao
2008-07-25 17:33 ` Anton Vorontsov
2008-07-29 13:22   ` Alemao
2008-07-29 21:09     ` Alemao

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