I am having problems building the graphics SDK.
make output follows.
I am not sure if I need to be using the CodeSorcery toolchain (per the instructions) or if I can use the linux-devkit GCC toolchain supplied with the v5. PSP. I was able to build and run the kernel with the linux-devkit toolchain, but I went back and built it, apparently successfully, with the CodeSorcery toolchain to make sure that the kernel config stuff was set up right for the graphics build.
A little googling and I found that:
"The removal of the ioctl field happened a lot later, in 2.6.36"
V5 PSP is kernel 2.6.37.
So it looks like the graphics SDK in the latest SDK isn't compatible with the kernel in it?
Is there a newer graphics SDK I should download?
Thanks.
Graphics_SDK_4_00_00_01:echo $PATH
/home/user/codesorcery/arm-2009q1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
Graphics_SDK_4_00_00_01:make OMAPES=3.x
building the sgx kernel modules...
make[1]: Entering directory `/home/user/Graphics_SDK_4_00_00_01/GFX_Linux_KM'
make -C /home/user/ti-sdk-am3517-evm-05.02.00.00/psp/linux-2.6.37-psp04.02.00.07/ M=`pwd` clean
make[2]: Entering directory `/home/user/ti-sdk-am3517-evm-05.02.00.00/psp/linux-2.6.37-psp04.02.00.07'
CLEAN /home/user/Graphics_SDK_4_00_00_01/GFX_Linux_KM/.tmp_versions
make[2]: Leaving directory `/home/user/ti-sdk-am3517-evm-05.02.00.00/psp/linux-2.6.37-psp04.02.00.07'
make[1]: Leaving directory `/home/user/Graphics_SDK_4_00_00_01/GFX_Linux_KM'
make[1]: Entering directory `/home/user/Graphics_SDK_4_00_00_01/GFX_Linux_KM'
make -C /home/user/ti-sdk-am3517-evm-05.02.00.00/psp/linux-2.6.37-psp04.02.00.07/ M=`pwd`
make[2]: Entering directory `/home/user/ti-sdk-am3517-evm-05.02.00.00/psp/linux-2.6.37-psp04.02.00.07'
LD /home/user/Graphics_SDK_4_00_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/built-in.o
CC [M] /home/user/Graphics_SDK_4_00_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o
/home/user/Graphics_SDK_4_00_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:124: error: unknown field 'ioctl' specified in initializer
/home/user/Graphics_SDK_4_00_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:124: warning: initialization from incompatible pointer type
/home/user/Graphics_SDK_4_00_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c: In function 'bc_cat_init':
/home/user/Graphics_SDK_4_00_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.c:495: error: implicit declaration of function 'omap_rev_lt_3_0'
make[4]: *** [/home/user/Graphics_SDK_4_00_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o] Error 1
make[3]: *** [/home/user/Graphics_SDK_4_00_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti] Error 2
make[2]: *** [_module_/home/user/Graphics_SDK_4_00_00_01/GFX_Linux_KM] Error 2
make[2]: Leaving directory `/home/user/ti-sdk-am3517-evm-05.02.00.00/psp/linux-2.6.37-psp04.02.00.07'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/user/Graphics_SDK_4_00_00_01/GFX_Linux_KM'
make: *** [buildkernel] Error 2
Graphics_SDK_4_00_00_01: