2008-02-20 04:12:02 question about porting u-boot-1.1.6 on BF531
jinhua zhou (CHINA)
I changed bf533-ezkit.h config as below:
#define BFIN_BOOT_MODE BF533_SPI_BOOT
#define BFIN_CPU ADSP_BF531
#define CONFIG_CLKIN_HZ 25000000
#define CONFIG_CLKIN_HALF 0
#define CONFIG_PLL_BYPASS 0
#define CONFIG_VCO_MULT 16 /*25MHz*16=400MHz*/
#define CONFIG_CCLK_DIV 2 /* 400M/2=200M */
#define CONFIG_SCLK_DIV 4 /* 400M/4=100M */
#define CONFIG_MEM_SIZE 16 /* 128, 64, 32, 16 */
#define CONFIG_MEM_ADD_WDTH 9 /* 8, 9, 10, 11 */
#define CONFIG_MEM_MT48LC8M16A2TG_7E 1
After SPI booting, I found my SDRAM didn't work properly, but the CLKOUT and /CAS /RAS signals were OK except for CLKOUT's phase shifting 180 degree, then there's nothing output from serial port.
I found the u-boot.ldr file's 10-Byte section flag and address were mapped according to BF533, and in /cpu/bf533/start.S "copy DMA reset code to Hi of L1 SRAM" or others using "defBF533_extn.h" which defined L1_ISRAM, DATA_BANKA_SRAM according to BF533, too.
Need I change other source file, such as defBF533_extn.h???
Thank you so much.
Look forward to see you reply.
2008-02-20 11:58:09 Re: question about porting u-boot-1.1.6 on BF531
Mike Frysinger (UNITED STATES)
Message: 51370 2007R1 does not support porting BF531 and such ... you should look at 2008R1