I see, thanks for the clarification. I set the KERNEL_INSTALL_DIR to:
KERNEL_INSTALL_DIR=/home/laurens/ti-sdk-am335x-evm/board-support/board-port-labs/sitara-board-port-linux
It then said it could'nt find the generated/ directory, I forgot I build the kernel in a separate directory with the O= option in make:
/home/laurens/ti-sdk-am335x-evm/board-support/board-port-labs/sitara-board-port-linux/am335x_evm/
But when I set the KERNEL_INSTALL_DIR to this directory, it still gave the error:
/home/laurens/Graphics_SDK_4_10_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c:134:27: fatal error: omapfb/omapfb.h: No such file or directory
I then recompiled the kernel in the sitara-board-port-linux directory, without the "O=" option in make, and then it compiled fine. My question is : Why is this? Why can't I point the KERNEL_INSTALL_DIR to the kernel sources in the seperate directory am335x_evm?
Many thanks for the help.
The modules compiled fine now but when I run the 335x-demo script it still gives errors. I logged my output here in 3 stages:
(Please visit the site to view this file)
I logged when I ran the 335x-demo script, I logged when I rebooted the board after I ran the demo script. In the second log I noticed it still couldn't find some module so I logged when I tried to insert it manually but I think this gives the same error when booting up.
Guessing from the output. It seems it can't find a SGX Functional Clock? I logged the gfx_check.sh script too:
(Please visit the site to view this file)
This was after I manually loaded bufferclass module so it lists in the kernel modules now but normally it isn't loaded.