This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM3725, In x-loader project how to allocate specified memory as a data memory

Other Parts Discussed in Thread: DM3725

hi,

 I am using DM3725 in my custom board, In that actually we implemented application code in DSP at the same time we wrote code for ARM also. But in ARM how to specify particular memory space is for data buffers or specified function can put in specific memory location where should we mention? In DSP we have .cmd file file in that we can add sections and all, In ARM x-load also we have .LDS file. I think this .lds file is nothign but .cmd file but how should we modify this .lds file??And how to reserve particular memory to particular Data buffers??? X-loader is implemented in Linux ubuntu 10.0.04.

thanks

BR

paddu

  • Hi Paddu,

    The x-loader is very early place to specify particular memory space for data buffers or or some other needs because the x-loader is a small first stage boot loader derived from the u-boot base code to be loaded into the internal static RAM which is very small (64KB).
    The better place for these memory segmentations is the Linux kernel. For your board the proper path is ../linux/arch/arm/kernel/vmlinux.lds.
    You can find an useful description of the .lds file format at:
    embeddedma.blogspot.com/.../lds-file-format-analysis.html

    BR
    Tsvetolin Shulev