[ECOS] Adding SDRAM in HAL CDL for custom board

leslie egeus@rocketmail.com
Wed Dec 22 06:47:00 GMT 2004


Hello,

My board fyparmii, consist of SDRAM, SRAM and ROM with the following
memory mapping:

0x03FF8000 - 0x03FFFFFF Special Registers
0x01900000 - 0x038FFFFF SDRAM
0x01800000 - 0x0187FFFF ROM
0x00000000 - 0x0007FFFF SRAM

I am porting the Redboot for my board settings. 
I have the following mlt files:
mlt_arm_fyparmii_rom.h
mlt_arm_fyparmii_rom.ldi
mlt_arm_fyparmii_rom.mlt
mlt_arm_fyparmii_sram.h
mlt_arm_fyparmii_sram.ldi
mlt_arm_fyparmii_sram.mlt
mlt_arm_fyparmii_sdram.h
mlt_arm_fyparmii_sdram.ldi
mlt_arm_fyparmii_sdram.mlt

I understand that I will need to amend the CYGHWR_MEMORY_LAYOUT_LDI and
CYGHWR_MEMORY_LAYOUT_H of the hal_arm_fyparmii.cdl to include the above
files. But I am not sure how to add, currently my template has the
following lines:

calculate { (CYG_HAL_STARTUP == "RAM") ?
"<pkgconf/mlt_arm_fyparmii_sram.ldi>" : \
            "<pkgconf/mlt_arm_fyparmii_rom.ldi>" }

how do I add the mlt_arm_fyparmii_sdram.ldi?

Thanks.

Rgds,
Leslie


=====
LeSliE~ =O) aka egEuS 

Stranger: "Ever heard of The Planet Of The Apes?" 
Homer: "The movie or the planet?" 
Bart: "Television SHUCKZ!" 




		
__________________________________ 
Do you Yahoo!? 
Jazz up your holiday email with celebrity designs. Learn more. 
http://celebrity.mail.yahoo.com

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list