Loading...
Loading...
Use when you need to print Jetson BSP info (L4T version, board configs, rootfs state) from a Linux_for_Tegra root on the host PC. This is an example skill.
npx skill4agent add nvidia/skills jetson-print-bsp-infojetson-bsp-skillsLinux_for_Tegra/Linux_for_Tegra/lsheadcatpastesedL4T_ROOTLinux_for_Tegra/L4T_ROOTflash.shnv_tegra/L4T_ROOT="${L4T_ROOT:-$PWD}"
if [ ! -f "$L4T_ROOT/flash.sh" ] || [ ! -d "$L4T_ROOT/nv_tegra" ]; then
echo "Not a Linux_for_Tegra root: '$L4T_ROOT' (missing flash.sh or nv_tegra/)"
exit 1
fi
echo "$L4T_ROOT"nv_tegra/nv_tegra_releaseapply_binaries.shhead -1 "$L4T_ROOT/nv_tegra/nv_tegra_release" 2>/dev/null \
|| head -1 "$L4T_ROOT/rootfs/etc/nv_tegra_release" 2>/dev/null \
|| echo "L4T release info not found"(cd "$L4T_ROOT" && ls *.conf 2>/dev/null) | paste -sd, -rootfs/apply_binaries.shif [ -f "$L4T_ROOT/rootfs/etc/passwd" ]; then
echo "populated"
else
echo "empty"
fiL4T root: <path>
L4T release: <release header line>
Board configs: <comma-separated list>
Rootfs: populated | emptyL4T root: $HOME/Linux_for_Tegra
L4T release: # R36 (release), REVISION: 3.0
Board configs: jetson-agx-orin-devkit.conf,jetson-orin-nano-devkit.conf
Rootfs: populatedapply_binaries.shL4T root: /tmp/Linux_for_Tegra
L4T release: # R39 (release), REVISION: 0.0
Board configs: jetson-agx-thor-devkit.conf
Rootfs: empty"... not found"L4T_ROOTflash.shnv_tegra/rootfs/etc/passwd*.confL4T_ROOT/Not a Linux_for_Tegra root: '...' (missing flash.sh or nv_tegra/)L4T_ROOTL4T_ROOTflash.shLinux_for_Tegra/L4T release info not foundnv_tegra/nv_tegra_releaserootfs/etc/nv_tegra_releaseapply_binaries.shapply_binaries.sh