I am currently reading the documentation on Building the NVIDIA Out-of-Tree Modules for Kernel Customization and was wondering how to update the initramfs directly on the Jetson Orin Nano Developer Kit target.
I tried compiling the source code directly on the Jetson Orin Nano without setting the CROSS_COMPILE environment variable. However, the compilation failed, citing that the OpenSSL library was not found, even though openssl is installed.
I don’t know about your specific case. My notes from yesterday are a mess, that last path on the page is for building dtbs. I did build the kernel and dtb, might have been some other stuff that is not in the notes.
Also assumed it was the bootlin toolchain that is approved since that is on the download list.
x86_64-binfmt-P: Could not open '/lib64/ld-linux-x86-64.so.2': No such file or directory
Cross-compilation is only necessary when using an x86-64 host computer to compile for an arm64 target.
The reason I’m asking this question is that I want to build and update the customized kernel, out-of-tree modules, and DTBs directly on the Jetson without flashing from the host OS. Flashing the entire OS is inconvenient and time-consuming for me.
I know how to directly update the customized kernel image and the DTBs, but I’m unsure about updating out-of-tree modules. I’m very interested in learning how to do that.
If you figure out how to get those 3 files from the pinmux spreadsheet to install/load please ping me and post. I have spent almost a week on this and it all runs into a dead end. All I get is use the pinmux spreadsheet, well then what…
The pinmux spreadsheet is used to create DTSI files, and I know how to generate them. What I want to know is how to update the compiled DTB and DTBO files directly, without flashing from the host OS.