Rebuilding nvidia-l4t-kernel-headers and nvidia-l4t-jetson-io

According to the docs here, when having a customized kernel you have to repackage 4 debians: nvidia-l4t-kernel, nvidia-l4t-kernel-dtbs, nvidia-l4t-kernel-headers and nvidia-l4t-jetson-io.

The docs pretty much mentions how to package each one of these, but it only explain how to build the nvidia-l4t-kernel and nvidia-l4t-kernel-dtbs content.

Does someone know how can I obtain the correct content to put in nvidia-l4t-kernel-headers? I tried make headers_install, but it creates a different directory structure than the ones provided by nvidia.

Same question for nvidia-l4t-jetson-io

Thanks!

Hi,

Not very sure about your question. What we provide here is the method to create deb file. It is just to provide steps for you to create deb, but not the header file itself.

Currently, this deb file is just copy the opt/ota_package/kernel-extmod-ubuntu18.04_aarch64.tar, untar and add few soft links.

Yeah exactly - I’m asking about the method to create the headers file themselves, and not the debian package.

I thought of the option you’ve mentioned of just extracting the headers tar file and repackage them, but it seems weird… I assume there was some process that created that tar file

Hi,

Confirmed we don’t provide any tool to generate kernel-extmod-ubuntu18.04_aarch64.tar. If you don’t need to modify the content in this package, then please just re-use it.