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.

Connecting with ccs after kernel starts

Guru 20755 points

Hello,

When I connect with the ccs using the arm gel file given for the EVM, I have success as long as the kernel did not start (on u-boot for example), but after kernel starts I recieve the following message:

This message is appeared during the connect attempt from the gel file:
"Arm9_0:gel:error while executing OnTargetConnect():attempted to read unmapped virtual memory at ...".

I should also note that I have tried to disable mmu in menuconfig (systemtypes) , but then the kernel did not compile (it gives error abut dma-messages.c or something similiar)

Your help is appreciated,

Regards,

Ran

 

 

  • Hi Ran,

    In that situation, you should not be using startup GEL files. It most likely does some target initialization that is already done by the program running on the target. I would remove them from your configuration.

    Thanks

    ki

  • Hello Ki,

    Thanks for the reply.
    I then tried to run the debug script (which prints information from different registers in the OMAP about bootrom, lpsc, etc), but the script does not work well, becuase of the virtual addressing (I suppose).
    I thought that compiling the kernel with the MMU option disabled will solve this problem, but then I recieve errors in dma-mapping.c and io.c , and more.
    Is it possible to disbale the MMU in the kernel ?

    Regards,

    Ran