Hi all:
How to change mpc8308 u-boot configuration to support my board,hardware such as:
DDR:H5PS1G63JFR-S5C(64Mx16), 2chips
NOR FLASH:MX29GL512F(32Mx16),1chips
NAND FLASH:none
UART:SP3232EBCH
Default configuration just support 128M DDR,8M nor flash。Start with Nand flash。But I want the board start with nor flash。
The uboot version is u-boot-2009.11-rc1。
Thanks。
You could refer to the MPC8308RDB.h using the following link:
Cross Reference: /denx/u-boot/include/configs/MPC8308RDB.h
It already has NOR Flash boot setting in the "#define CONFIG_SYS_HRCW_HIGH":
HRCWH_ROM_LOC_LOCAL_16BIT |\
HRCWH_RL_EXT_LEGACY |\
DDR changes:
#define CONFIG_SYS_DDR_SIZE 256 /* MB */
#define CONFIG_SYS_DDR_CS0_BNDS 0x0000000F
NOR Flash changes:
#define CONFIG_SYS_FLASH_BASE 0xFC000000 /* FLASH base address */
#define CONFIG_SYS_FLASH_SIZE 64 /* FLASH size is 64M */
/* 512 128KB sectors per device */
#define CONFIG_SYS_MAX_FLASH_SECT 512
NAND Flash change:
Remove NAND Flash parameters
Hi ufedor
Thank you help me!
But my board still can not boot.
Maybe "Memory Map" is incorrect.
My colleague use vxworks boot can work good, but only detect 128M DDR and 8M nor flash.
God, this web page hard to access from china.
WuHan, China, zhoumr. Thank you for your help!