2008-03-21 02:43:45 How to config BF533-EZKIT to 64M sdram ?
joyce jiang (CHINA)
Message: 52870
I want to config my BF533-EZKIT to 64M sdram,I did it like this:
uClinux-dist-200R3's default setting is 32MByte SDRAM version BF533-EZKIT. and the u-boot_1.1.6's default setting is 32MByte SDRAM. If you have a 64MByte SDRAM version BF533-EZKIT, edit setting-up kernel-option and u-boot_1.1.6 source.
first step setting up kernel-option
[code]
cd uClinux-dist
cd linux-2.6.x
make menuconfig
Blackfin Processor ptions --->
Board specific issues --->
(64) SDRAM Memory Size in MBytes
(10) SDRAM Memory Address Width
save and exit
[/code]
second step edit u-boot_1.1.6 source file
[code]
cd u-boot_1.1.6/include/configs
vi bf533-ezkit.h
[/code]
replace below line
[code]
#define CONFIG_MEM_SIZE 32 -> 64
#define CONFIG_MEM_ADD_WDTH 9 -> 10
[/code]
save and exit
compile u-boot_1.1.6 and write to flash memory.
but ,this method can not work correctly. I update the uclinux-image use VDSP through the tool:fill memory ,start address is 0x1000000,then I close the vdsp and reset the ezkit ,the u-boot is runing ,but when I use the command :bootm 0x1000000 ,it cann't work,and if I use the command :bootm 0x2000000,it can work ,but still not correctly:
U-Boot 1.1.6-svn (ADI-2007R1) (Mar 21 2008 - 10:17:55)
CPU: ADSP BF533 Rev.: 0.4
Board: ADI BF533 EZ-Kit Lite board
Support: http://blackfin.uclinux.org/
Clock: VCO: 594 MHz, Core: 594 MHz, System: 118 MHz
SDRAM: 64 MB
FLASH: 2.1 MB
*** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
ERROR: Can't find SMC91111 at address 20310300
I2C: ready
Hit any key to stop autoboot: 5 0
ezkit> bootm 0x1000000
## Booting image at 01000000 ...
Bad Magic Number
ezkit> bootm 0x2000000
## Booting image at 02000000 ...
Image Name: Linux-2.6.22.16-ADI-2008R1-svn
Created: 2008-03-20 10:53:39 UTC
Image Type: Blackfin Linux Kernel Image (gzip compressed)
Data Size: 6739045 Bytes = 6.4 MB
Load Address: 00001000
Entry Point: 0016a000
Verifying Checksum ... Bad Data CRC
QuoteReplyEditDelete
2008-03-21 02:54:19 Re: How to config BF533-EZKIT to 64M sdram ?
Mike Frysinger (UNITED STATES)
Message: 52871 dont use VDSP to program the flash ... use u-boot
QuoteReplyEditDelete
2008-03-27 16:17:34 Re: How to config BF533-EZKIT to 64M sdram ?
Mike Frysinger (UNITED STATES)
Message: 53172 i just tested 2008R1 and it worked fine
i made these changes to u-boot:
(and obviously updated CONFIG_MEM_SIZE to 64)
U-Boot 1.1.6-svn1167 (ADI-2008R2-pre) (Mar 27 2008 - 15:44:44)
CPU: ADSP bf533-0.3 (Detected Rev: 0.3)
Board: ADI BF533 EZ-Kit Lite board
Support: http://blackfin.uclinux.org/
Clock: VCO: 594 MHz, Core: 594 MHz, System: 118 MHz
RAM: 64 MB
Flash: 2.1 MB
In: serial
Out: serial
Err: serial
Net: SMC91111 at 0x20310300
MAC: 00:E0:22:FE:B6:74
I2C: ready
Hit any key to stop autoboot: 0
bfin>
and then all i changed was the mem size in the kernel to 64megs:
root:/> free
total used free shared buffers
Mem: 55352 9352 46000 0 0
root:/> cat /proc/cpuinfo
processor : 0
vendor_id : Analog Devices
cpu family : 0x27a5000
model name : ADSP-BF533 594(MHz CCLK) 118(MHz SCLK)
stepping : 3
cpu MHz : 594.000/118.800000
bogomips : 1183.74
Calibration : 591872000 loops
cache size : 16 KB(L1 icache) 32 KB(L1 dcache-wt) 0 KB(L2 cache)
dbank-A/B : cache/cache
icache setup : 4 Sub-banks/4 Ways, 32 Lines/Way
dcache setup : 2 Super-banks/4 Sub-banks/2 Ways, 64 Lines/Way
board name : ADDS-BF533-EZKIT
board memory : 65536 kB (0x00000000 -> 0x04000000)
kernel memory : 57336 kB (0x00001000 -> 0x037ff000)
QuoteReplyEditDelete
2008-03-31 00:00:49 Re: How to config BF533-EZKIT to 64M sdram ?
joyce jiang (CHINA)
Message: 53344
The verision you used is not the same with mine !can you tell me where to download this version's u-boot?thank you!
QuoteReplyEditDelete
2008-03-31 00:12:00 Re: How to config BF533-EZKIT to 64M sdram ?
Mike Frysinger (UNITED STATES)
Message: 53345 u-boot 2008R1 will work the same
QuoteReplyEditDelete
2008-04-20 22:41:46 Re: How to config BF533-EZKIT to 64M sdram ?
joyce jiang (CHINA)
Message: 54576 I mean that the u-boot's version is not the same ,I used the 1.1.6 ,the source code is not the same in bf533_ezkit.h,so I can't do the same as the web said
QuoteReplyEditDelete
2008-04-20 23:18:38 Re: How to config BF533-EZKIT to 64M sdram ?
Robin Getz (UNITED STATES)
Message: 54580 Joyce:
Then maybe you need to upgrade?
-Robin
QuoteReplyEditDelete
2008-04-24 03:55:45 Re: How to config BF533-EZKIT to 64M sdram ?
joyce jiang (CHINA)
Message: 54823 yes,I need to download the same version's u-boot as the http://blackfin.uclinux.org/git/?p=readonly-mirrors/u-boot.git;a=commitdiff;h=11ec7c81f2f172ab9c52c909fcf9c320821dbd9b web used,and the version I currently used is U-Boot 1.1.6-svn (ADI-2007R1) (Mar 21 2008 - 10:17:55) ,I want to download U-Boot 1.1.6-svn1167 (ADI-2008R2-pre) (Mar 27 2008 - 15:44:44),but I don't know where to download ?
QuoteReplyEditDelete
2008-04-24 04:18:22 Re: How to config BF533-EZKIT to 64M sdram ?
Mike Frysinger (UNITED STATES)
Message: 54828 you're using an old release (2007R1). use the latest release on the u-boot release page (2008R1).
QuoteReplyEditDelete
2008-04-27 23:42:15 Re: How to config BF533-EZKIT to 64M sdram ?
joyce jiang (CHINA)
Message: 55079
now I can config bf533 to 64M sdram now,but I can't use VDSP++ to have a look at the memory address that large then 32M,why?
QuoteReplyEditDelete
2008-04-27 23:51:42 Re: How to config BF533-EZKIT to 64M sdram ?
Mike Frysinger (UNITED STATES)
Message: 55080 we dont know/use/support/care about VDSP. please contact your local FAE and/or use the analog.com website for assistance: