My hardware: Nvidia jetson agx xavier and AGX Xavier FPD 16 link sensor interface card
Jetpack: 4.6.1
I have been trying to build the d3-jetson-bsp (v5.0.0). Here is the history of what I did:
sudo git clone https://github.com/D3Engineering/d3-jetson-bsp.git
cd d3-jetson-bsp
sudo git checkout tags/D3/RELEASE/5.0.0
sudo git submodule update --recursive --init
sudo ./bootstrap
sudo ./configure --with-system-type=xavier --with-dtb='build/deploy/boot/d3-xavier-16x-fpdlink.dtb' --with-l4t='../Linux_for_Tegra/'
sudo make linux-defconfig
sudo make ARCH=arm64 -j16
After using their script (make sync) to copy the dtb files and the compiled kernels. I can’t find the build id version on the Jetson xavier.
Also after running make linux-defconfig, I got following messages on my terminal:
grep: /home/utkarsh/d3-jetson-bsp/build/kernel/.config: No such file or directory
grep: /home/utkarsh/d3-jetson-bsp/build/kernel/.config: No such file or directory
grep: /home/utkarsh/d3-jetson-bsp/build/kernel/.config: No such file or directory
grep: /home/utkarsh/d3-jetson-bsp/build/kernel/.config: No such file or directory
The make sync command should be executed last since according to the D3 documentation it installs the kernel modules and DTBs.
Now, the problem you are having with make linux-defconfig seems to be that make is trying to use an already existing .config file, however you just might be missing it.
Can you try: sudo make menu-config instead?
This will open a config menu in your terminal, however you don’t need to do anything. Simply save and close and see if the rest of the building procedure works.
Please keep us posted.
best regards,
Andrew
Embedded Software Engineer at ProventusNova
Hi Andrew,
Thanks for your reply.
Indeed I used the make sync command at the last.
I tried to run sudo make menu-config since I couldn’t find menu-config in my Makefile. I got the following error:
sudo make linux-menuconfig
Makefile:702: ---------------- Build ID is 0967c245-2e55-4d66-abee-7f7661c9e7dd
Makefile:708: ---------------- Commit Hash is dirty source tree mercredi 16 juillet 2025, 16:25:55 (UTC+0200)
make[1]: Entering directory '/home/utkarsh/d3-jetson-bsp/l4t-submodules/kernel/kernel-4.9'
make[2]: Entering directory '/home/utkarsh/d3-jetson-bsp/build/kernel'
GEN ./Makefile
HOSTCC scripts/kconfig/mconf.o
<command-line>:0:12: fatal error: curses.h: No such file or directory
compilation terminated.
scripts/Makefile.host:118: recipe for target 'scripts/kconfig/mconf.o' failed
make[3]: *** [scripts/kconfig/mconf.o] Error 1
/home/utkarsh/d3-jetson-bsp/l4t-submodules/kernel/kernel-4.9/Makefile:576: recipe for target 'menuconfig' failed
make[2]: *** [menuconfig] Error 2
make[2]: Leaving directory '/home/utkarsh/d3-jetson-bsp/build/kernel'
Makefile:172: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/utkarsh/d3-jetson-bsp/l4t-submodules/kernel/kernel-4.9'
Makefile:852: recipe for target 'linux-menuconfig' failed
make: *** [linux-menuconfig] Error 2
Thanks for your help.
The error after running linux-defconfig (grep: /home/utkarsh/d3-jetson-bsp/build/kernel/.config: No such file or directory) is gone. I tried the following after linux-defconfig.
make ARCH=arm64 -j16
make sync
But I couldn’t find build id version on the jetson xavier. To check the kernel’s compiled-in build ID, I tried the following: cat /sys/module/build_id/version: No such file or directory
After running the command ‘make ARCH=arm64 -j16’ , I get a build ID and as a measure to make sure that the whole process has worked, it was advised on the same git page to check for the build ID under section " Update the target with the new kernel and device tree".
Although there is no direct use of Build ID, that fact that its missing might suggest that some step has gone wrong/incomplete. Also for the next step I have to install " ./linux-image-4.9.253+5.0.0-d3+_1_arm64.deb" on the jetson which is also missing.
Honestly, I am a little confused.
PS:I have manually checked the contents of folder mentioned under “make sync” in my Makefile and all the files have been copied.