STM32mp1 dk1

Hi,

I have Stm32dk1 board , is it anyone know how to setup cross compilor to build LKM ??
if anyway to compiler driver from board it self ??

Thanks
Fayas K

Have you looked through the Getting Started Guide?

yes, that is for image creation right ?? i just wants to create hello.ko and need to load on stm board .

Hi @fayasvengad , you can do it either way.

Build your custom kernel module against the “./KERNEL/” directory using the same cross compiler you used to build the linux image.

Or build your linux kernel module on the board after your up and running…

Regards,

1 Like