This won’t answer everything, but some tips:
- Kernels and kernel modules can be built directly on a Jetson (native compile) or indirectly on the Ubuntu host PC (cross compile). Official docs are about cross compile. Both create the same thing.
- Kernel source itself is independent of flashing. There are multiple ways to install kernels (integrated features) and modules (loadable features/drivers). Flash is one of them. So long as security fuses are not burned, there are also ways of doing this via file copy instead of flash.
- No
flash.sh
is related to kernel build. You configure the source, and then build it. Official docs say how to do this for cross compile. - Much of native compile and cross compile are exact matches in instructions. If you are interested in native compile, or extra information, see:
- https://forums.developer.nvidia.com/t/topic/229155/12 (more about configuration)
- https://forums.developer.nvidia.com/t/topic/193640/11 (more about kernel build and install)