Hi,
I am new to using the using the Keystone II. My current goal is to compile and use the LLDs on the ARM cores running Linux. Particularly the QMSS LLD. I have found minimal documentation on building the MCSDK for the 66ak2h14. Most links redirect me to C66 DSP instructions...
So far on my workstation:
-I have setup the ARM Linux cross compiler and have successfully built/ran a hello world file.
-I have downloaded mcsdk 3_01_04_07.
-I have setup the Linux DevKit using arago-2015.05-cortexa15-linux-gnueabi-mcsdk-sdk-i686.sh installing in the default directory (/usr/local/arago-2015.05)
-I think I have setup the MCSDK libraries for ARM linux by configuring the armv7setupenv.sh in pdk_keystone2_3_01_04_07/packages. I don't see an A15 setup file, so I am hoping changing the config will be ok... (please correct me if this is incorrect). I updated the CROSS_TOOL_INSTALL_PATH and LINUX_DEVKIT_INSTALL_PATH.
-I then did: source armv7setupenv.sh, make clean, make as per instructions. No errors.
The libraries were created in /usr/local/arago-2015.05/sysroots/cortexa15t2hf-vfp-neon-linux-gnueabi/usr/lib as I expected.
Issue:
Upon making a simple hello world file that simply includes a couple qmss headers:
#include <stdio.h>
#include <stdint.h>
#include <ti/drv/qmss/qmss_qm.h>
int main()
{
printf("Hello World!\n");
return 0;
}
arm-linux-gcc -L /usr/local/arago-2015.05/sysroots/cortexa15t2hf-vfp-neon-linux-gnueabi/usr/lib -I /usr/local/arago-2015.05/sysroots/cortexa15t2hf-vfp-neon-linux-gnueabi/usr/include hello_qmss.c -lqmss_qm hello_qmss.c
Results in many unknown type errors such as:
/usr/local/arago-2015.05/sysroots/cortexa15t2hf-vfp-neon-linux-gnueabi/usr/include/ti/csl/cslr_cp_timer16.h:53:5: error: unknown type name ‘Uint32’
/usr/local/arago-2015.05/sysroots/cortexa15t2hf-vfp-neon-linux-gnueabi/usr/include/ti/csl/cslr_cp_timer16.h:54:5: error: unknown type name ‘Uint32’
/usr/local/arago-2015.05/sysroots/cortexa15t2hf-vfp-neon-linux-gnueabi/usr/include/ti/csl/cslr_cp_timer16.h:55:5: error: unknown type name ‘Uint32’
Any idea what could be causing this?
Are there any examples that are similar to this? Are there examples specific to running LLDs on ARM linux? Most I have seen are for the C66 DSP cores.
Thank you,
-Dan