This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Memory layout


Hello
 I have an arm based mx31 freescale processor. Using patches from freescale, i was able to create redboot image ang with minor configuration changes it worked. Now i have a few questions.

1. The image is a romram image. Loads from nor flash and executes in ram. The ram is an sdram at physical addr 0x80000000, virt addr mapped to 0x0. I now want use a ram at a different physical address. What changes do i do?

2. What does this do

X_ARM_MMU_SECTION(0x800, 0x000,   0x80,  ARM_CACHEABLE,   ARM_BUFFERABLE,   ARM_ACCESS_PERM_RW_RW); /* SDRAM */
    X_ARM_MMU_SECTION(0x800, 0x800,   0x80,  ARM_CACHEABLE,   ARM_BUFFERABLE,   ARM_ACCESS_PERM_RW_RW); /* SDRAM */
    
Should i add the new ram physical address here? What is ARM_CACHEABLE and BUFFERABLE? Does the above write into registers of processor or is it only a table used by redboot code?

3. As a general query, is it possible to load and execute images like redboot from a PSRAM.

Thanks

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]