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.
Replies: 3
Views: 3554
Hello everyone.
I'mcurrently working with CCSv6.1 and the OMAP_5432_UEVM
I'm trying to execute the following C code :
void init_distr(){ uint32 i = 0; uint32 addr = 0x0; // get max number of interrupt addr = GICD + GICD_TYPER; //0x48211004 uint32 max_interrupt = *((uint32*)addr);
The idea is very simple: I want to read the value at 0x48211004 in order to initialize the GIC & the VGIC according to the hypervisor XEN configuration.
When the code is executing in HYP mode, the application returns a Prefetch Abort, while in SPV mode it works just fine. I investigated a little and found that in HYP mode, the variable addr was allocated in 0x3Exxxxxx which according to the documentation of the OMAP, is reserved.
I'm using GNU compiler (Linaro 4.8.4) and cannot really switch to TI for porting purposes.
I am available for any questions, informations.
Best regards,
Pierre
In reply to Pierre Lucas:
-----------------------------------
Did you read the CCS Forum Guidelines & FAQ? If not, PLEASE read it. If you haven't read it in awhile, please read it again to see if any updates were made.
Having CCS problems? Check out the CCS Troubleshooting Guide
Looking for CCS Training/Documentation? Check out the CCS Resources page
Curious about the status of a bug and know the tracking ID? Track it via the public bug tracking portal
NOTE: When a bug is filed and a tracking ID is provided, the thread may then be suggested as "TI Thinks Resolved". Why? Please read the first FAQ of the CCS Forum Guidelines & FAQ
Hello Pierre,
Please take a look on following sources:
http://lists.denx.de/pipermail/u-boot/2015-January/202920.html
https://e2e.ti.com/support/omap/f/885/p/333908/1164639
https://e2e.ti.com/support/omap/f/885/p/292817/1022121
Yanko
Please click the Verify Answer button on this post if it answers your question.
Be sure to read the OMAP Application Processors Forum Guidelines and FAQ