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.

OMAPL138 - Memory Map

Other Parts Discussed in Thread: OMAP-L138, AM1808, OMAPL138

Hi,

I use a LogicPD board : TMDSEVML138 (development kit) with 128MB of DDR.

According to the document OMAP-L138_AM1808_U-Boot_Labs.pdf, the DDR's location starts @ 0xC000_0000 , ends @ 0xC7FF_FFFF (128MB).

I use C6Run in order to run application (ARM+DSP), and set the following variables:
C6RUNDSPREGIONBASEADDR_omapl138    = "0xC1C00000" #28MB
C6RUNDSPREGIONCMEMSIZE_omapl138    = "0x04800000" #72MB
C6RUNDSPREGIONCODESIZE_omapl138    = "0x01C00000" #28MB

The file "loadmodules.sh" defines the following variables:
DSP_REGION_START_ADDR="0xC1C00000"
DSP_REGION_END_ADDR="0xC8000000"

 

But the DSP_REGION_END_ADDR should be "0xC7FFFFFF" ?

 

  • Robert CHOLAY said:
    But the DSP_REGION_END_ADDR should be "0xC7FFFFFF" ?

    I assume your concern here is that the wrong value is being passed to the CMEM kernel module as the phys_end parameter.  Not to worry, as the address (inside the source of the kernel module) is aligned to a page boundary before being used to calculate the length of the region to allocate.  So 0xC7FFFFFF would also work, but it will be get changed to 0xC8000000 and then the region length will be calculated as 0xC8000000-0xC1C00000 = 0x06400000.

    Regards, Daniel