I have flashed linux kernel version 4.9 (L4T 32.4.4) Ubuntu 18.04 , in my Jetson NX SOM module carrier board.
- I have created a driver file “gpio-ls1-led.c”
- And made changes in all the required file like MAKEFILE , Kconfig,tegra_defconfig,created a dtsi file and included it in main (tegra194-p3668-all-p3509-0000.dts) file. Even my compilation and build is successful.
$ file gpio-ls1-led.ko
gpio-ls1-led.ko: ELF 64-bit LSB relocatable, ARM aarch64, version 1 (SYSV), BuildID[sha1]=0443c6a1aafdc00a92c45feaf51800058a56a178, with debug_info, not stripped
$ modinfo gpio-ls1-led.ko
vermagic: 4.9.140 SMP preempt mod_unload modversions aarch64
But once i prepare the SD card image and flash it into the board, i could not find the gpio-ls1-led.ko in my Target board.
what could be the possible reason