
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