How to fast develop kernels in jetson nano with no emmc?

emmc is very helpful for flashing a new kernel very fast. However, mine does not have it. Is there a way to recompile the kernel over and over without having to take the micro sd in and out?

You can compile natively on the Nano, and then simply copy the kernel Image file (it is best if you test with an alternate file name and a custom entry in “/boot/extlinux/extlinux.conf” first before switching to just that kernel). Or you can cross-compile on a host PC, and then simply use “scp” to copy the Image file to the right location. A few variations of what you would do depends on whether you are simply adding module-based changes, or if it includes changes directly to the Image. It gets even simpler if just adding modules. More details on what kind of work flow you want would help, and what kind of kernel changes (module versus non-module, so on).

1 Like

hello me0bssl,

note, there’re two ways for loading kernel image, (1) via LNX kernel partition, and (2) via file system.
for example,
please check /boot/extlinux/extlinux.conf, if you’re having LINUX entry, the following kernel binary will being loaded via file system, it’s by default to load the kernel image via /boot/Image.
thanks

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.