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.

build uImage with SGX driver on AM3354

Guru 16800 points

Hello,

I want to build uImage with SGX driver (SGX Kernel Modules).
Now I build u-boot.img and uImage by the default settings (tisdk_am335x-evm_defconfig) with EZSDK (v06.00) for AM335x.
However, the SGX Kernel Modules are not built in.

So, I tried the following procedure.
http://processors.wiki.ti.com/index.php/Graphics_SDK_Quick_installation_and_user_guide

However, the information is targeting for NFS, but I want to build SGX Kernel Modules into uImage.
Could teach me how to build uImage with SGX Kernel Modules?

Best Regards.

Nomoto

  • Hi,

    This isn't provided as an option for the Graphics SDK, so you'll have to do it yourself.

    You need to read about built-in kernel drivers. In short, you need to do the following:

    1. Copy your driver source code directory under <linux_kernel_src>/drivers.
    2. Edit the Makefile to add the line:
    obj-y += your_driver_dir
    3. Edit the Makefile in your driver directory to add the line:
    obj-y := your_driver.o

    You can also search the web for tutorials/guides on this. This is a good reading.

    Best regards,
    Miroslav