Building the kernel from kernel source jetpack 6 , jetson orin nx 16GB

Hi Team,

I have downloaded source code(BSP) and made changes in menuconfig and saved the changes in the .config file. then built the kernel and an image is created and I replaced the default image with the new image in /boot directory and then rebooted the device. now the device is not getting booted. could you please suggest me what went wrong and the procedure that i am following is correct or what.

Hello,

Thanks for visiting the NVIDIA Developer forums! Your topic will be best served in the Jetson category.

I will move this post over for visibility.

Cheers,
Tom

Hi,
We don’t observe the issue. Please check the document and ensure you execute it step-by-step:

Kernel Customization — NVIDIA Jetson Linux Developer Guide 1 documentation

By default the source code is extracted to Linux_for_Tegra/source. This path needs root permission. Please run the commands with sudo like:
Can’t receive file via Bluetooth on Jetson AGX Orin with JetPack 6 - #29 by DaneLLL

Or you may extract to the other non-root path for building kernel.

Hello, sorry for the late response.

We attempted to build a kernel image on our host PC. After making changes in the menuconfig, we successfully generated the image. We then replaced the existing image on the Jetson Orin Nano and rebooted it, but we didn’t observe any changes made in the menuconfig on the booted new kernel image. Do you have any suggestions? We want to enable V4L2 and GadgetFS.

Hi,
You may follow the steps in developer guide to re-flash the whole system.

Hi,

Yes, we are the following the steps mentioned in the link you have provided.

In our Driver Package BSP sources(public_sources.tbz2), there is no rootfs folder present. So do we need to install another package for it and where do we run the above commands?

Hi,
Please follow the steps to download and extract default system image:

Quick Start — NVIDIA Jetson Linux Developer Guide 1 documentation

Suggest ensure the default image can be flashed and the device can be booted. And then apply your self-built kernel image.

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