Kernel make execution creates hardware folder on my desktop

Is it correct that you now have these new directories?

  • /home/bsp/Desktop/hardware
  • /home/bsp/Desktop/hardware/nvidia

I can’t guarantee this is the match, but I am suspicious of one very very long log line at the end (all related lines seem to be from device tree compile):

cp -u arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-p3737-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-as-p3701-0004-p3737-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-as-p3767-0004-p3737-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-as-p3767-0003-p3737-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-as-p3767-0003-p3737-0000-dsi-innolux-a1-cphy.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-as-p3767-0003-p3737-0000-dsi-innolux-c1-dphy.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-as-p3767-0003-p3737-0000-dsi-innolux-c1-dsc-dphy.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-as-p3767-0003-p3737-0000-dsi-tianma-a-dphy.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-as-p3767-0003-p3737-0000-dsi-tianma-b-dphy.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-as-p3767-0000-p3737-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-as-p3767-0001-p3737-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-as-pxxxx-p3737-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0000-p3737-0000-kexec.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-0004-p3737-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/mandalore/kernel-dts/tegra234-p3701-0002-p3711-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/prometheus/kernel-dts/tegra234-p3701-0000-p3740-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/prometheus/kernel-dts/tegra234-p3701-0002-p3740-0002.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/prometheus/kernel-dts/tegra234-p3701-0002-p3740-0002-b01.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/prometheus/kernel-dts/tegra234-p3701-0002-p3740-0002-safety.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-p3509-a02.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-as-p3767-0001-p3509-a02.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-as-p3767-0003-p3509-a02.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-as-p3767-0004-p3509-a02.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0001-p3509-a02.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0003-p3509-a02.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0004-p3509-a02.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-p3768-0000-a0.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-as-p3767-0001-p3768-0000-a0.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-as-p3767-0003-p3768-0000-a0.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-as-p3767-0004-p3768-0000-a0.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0001-p3768-0000-a0.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0003-p3768-0000-a0.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0004-p3768-0000-a0.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen-industrial/kernel-dts/tegra194-p2888-0008-e3366-1199.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen-industrial/kernel-dts/tegra194-p2888-0008-p2822-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen-industrial/kernel-dts/tegra194-p2888-0008-p2822-0000-maxn.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen-industrial/kernel-dts/tegra194-p2888-0008-p2822-0000-noecc.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen-industrial/kernel-dts/tegra194-p2888-0008-p2822-0000-safety.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-all-p3509-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-0000-p3509-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-0001-p3509-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0001-p2822-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0001-p2822-0000-imx274-hdmi.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0001-p2822-0000-imx185_v1.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0001-p2822-0000-maxn.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0001-e3366-1199.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0006-e3366-1199.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-as-0006-p2822-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-as-p3668-p2822-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/mccoy/kernel-dts/tegra194-p2888-0004-e3900-0000.dtb arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-audio-codec-rt5658.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-audio-codec-rt5640.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-audio-codec-rt5658-40pin.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-0000-p3701-0000-adafruit-sph0645lm4h.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-0000-p3701-0000-adafruit-uda1334a.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-0000-p3701-0000-csi.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-0000-p3701-0000-fe-pi-audio.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-0000-p3701-0000-hdr40.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-0000-p3701-0000-m2ke.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-0000-p3701-0000-respeaker-4-mic-array.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-0000-p3701-0000-respeaker-4-mic-lin-array.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-camera-dual-imx274-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-camera-e3331-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-camera-e3333-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-camera-imx185-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-camera-imx390-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-camera-hawk-owl-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3701-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/concord/kernel-dts/tegra234-p3737-camera-dual-hawk-ar0234-e3653-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/prometheus/kernel-dts/tegra234-p3740-overlay-pcie.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/prometheus/kernel-dts/tegra234-p3740-camera-hawk-owl-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/prometheus/kernel-dts/tegra234-p3740-camera-p3785-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-p3509-a02-adafruit-sph0645lm4h.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-p3509-a02-adafruit-uda1334a.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-p3509-a02-csi.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-p3509-a02-fe-pi-audio.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-p3509-a02-hdr40.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-p3509-a02-m2ke.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-p3509-a02-respeaker-4-mic-array.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-p3509-a02-respeaker-4-mic-lin-array.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-0000-p3768-0000-csi.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-camera-imx477-imx219.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-camera-imx477-dual.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-camera-imx219-dual.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-camera-p3768-imx477-imx219.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-camera-p3768-imx219-dual.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-camera-p3768-imx477-dual.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-camera-p3768-imx477-dual-4lane.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t23x/p3768/kernel-dts/tegra234-p3767-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen-industrial/kernel-dts/tegra194-p2888-0008-p2822-0000-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-all-p3509-0000-hdr40.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-all-p3509-0000-adafruit-sph0645lm4h.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-all-p3509-0000-adafruit-uda1334a.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-all-p3509-0000-fe-pi-audio.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-all-p3509-0000-respeaker-4-mic-array.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-all-p3509-0000-respeaker-4-mic-lin-array.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-all-p3509-0000-m2ke.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-all-p3509-0000-camera-imx477-imx219.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-all-p3509-0000-camera-imx477-dual.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-all-p3509-0000-camera-imx219-dual.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/jakku/kernel-dts/tegra194-p3668-p3509-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0001-p2822-0000-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0001-p2822-0000-hdr40.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0001-p2822-0000-adafruit-sph0645lm4h.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0001-p2822-0000-adafruit-uda1334a.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0001-p2822-0000-fe-pi-audio.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0001-p2822-0000-respeaker-4-mic-array.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0001-p2822-0000-respeaker-4-mic-lin-array.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0001-p2822-0000-m2ke.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0001-p2822-0000-csi.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2888-0005-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2822-camera-dual-imx274-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2822-camera-e3326-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2822-camera-e3331-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2822-camera-e3333-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2822-camera-imx185-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2822-camera-imx390-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2822-camera-e2832-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/galen/kernel-dts/tegra194-p2822-camera-eCAM130A_CUXVR-overlay.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/mccoy/kernel-dts/tegra194-p2888-0004-e3900-0000-hdr40.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/mccoy/kernel-dts/tegra194-p2888-0004-e3900-0000-adafruit-sph0645lm4h.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/mccoy/kernel-dts/tegra194-p2888-0004-e3900-0000-adafruit-uda1334a.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/mccoy/kernel-dts/tegra194-p2888-0004-e3900-0000-fe-pi-audio.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/mccoy/kernel-dts/tegra194-p2888-0004-e3900-0000-respeaker-4-mic-array.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/mccoy/kernel-dts/tegra194-p2888-0004-e3900-0000-respeaker-4-mic-lin-array.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/mccoy/kernel-dts/tegra194-p2888-0004-e3900-0000-csi.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/mccoy/kernel-dts/tegra194-p2888-0004-e3900-0000-dual-imx274.dtbo arch/arm64/boot/dts/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/_ddot_/hardware/nvidia/platform/t19x/mccoy/kernel-dts/tegra194-p2888-0004-e3900-0000-imx274.dtbo arch/arm64/boot/dts/nvidia/

(this is line 352 in the log)

What was your exact build target which produced the last part of the log? I’m thinking you were perhaps the build command did not specify a target and thus build tried everything. Was this the command?
make ARCH=arm64 O=$WORKSPACE_PATH/Out -j16 --output-sync=target

I just realized that the above command lacks a target. One would normally build these (in order):

  • tegra_defconfig
  • menuconfig (or nconfig; this is only if you are editing the default).
  • Image (the actual kernel; this propagates configuration as well)
  • If you did not build Image, then modules_prepare.
  • modules
  • If you are building device tree, then dtbs.

yes its correct.
Following is the tree -d output on the desktop hardware dir:
desktop_hardware.log (812 Bytes)

I used the commands you sent above:

(Just fixed the KERNEL_PATH variable name)

I usually use:
make ARCH=arm64 O=$WORKSPACE_PATH/Out -j16 --output-sync=target
from my understanding it build all including modules and dtbs, hence there is no need to call their build explicitly.

What do you see from:

cd $WORKSPACE_PATH
cd Out
pwd

It seems like one of the possibilities (and there are very few) is that “$WORKSPACE_PATH/Out” is not what it seems to be. From what I can tell this is not a problem if “$WORKSPACE_PATH/Out” is there before build starts, and if permissions exist. Otherwise, I think it is an artifact of building everything at once instead of each component one step at a time.

I will recommend to delete the “Desktop/hardware/”, and build as you did before, but instead of this:
make ARCH=arm64 O=$WORKSPACE_PATH/Out -j16 --output-sync=target

Just do this and stop and examine again:
make ARCH=arm64 O=$WORKSPACE_PATH/Out -j16 --output-sync=target Image

If the component appears, go ahead and stop and post the log. You could do this to log Image build:
make ARCH=arm64 O=$WORKSPACE_PATH/Out -j16 --output-sync=target 2>&1 | tee log_image.txt

If this does not produce the extraneous “~/Desktop/hardware/” subdirectory, then go on to each of these steps, and check after each step:

  • make ARCH=arm64 O=$WORKSPACE_PATH/Out -j16 --output-sync=target modules
  • make ARCH=arm64 O=$WORKSPACE_PATH/Out -j16 --output-sync=target dtbs
    (you can always append " 2>&1 | tee log_something.txt" if you need to log)

I can confirm it happens only after executing:

make ARCH=arm64 O=$WORKSPACE_PATH/Out -j16 --output-sync=target dtbs

and not before.

build_log:
build_log.txt (546.1 KB)

I see this:

bsp@bsp-host:~/Desktop/Workspace_5_1_1/Out$ pwd
/home/bsp/Desktop/Workspace_5_1_1/Out

You’ve verified that permissions and existence of directories are valid and that there is no reason why the build should descend into a wrong directory unless the build itself is doing it (directory exists, user can operate there).

I was actually having problems with the “--output-sync” while trying to replicate. Can you try this again using your same procedure, but not using “--output-sync”? I know it shouldn’t make a difference, but it might be the problem. Start by clearing your “O=...somewhere...” content, and any of the strange directories. --output-sync might be unrelated, but I want to eliminate this first and see if you still get the extraneous directories.

How you want me to verify? (I execute the build script with sudo so I have any permission I need)

I apologize but didn’t understand what you mean. I can omit the --output-sync from the command.
What do you mean by:

The command will be:

make ARCH=arm64 O=$WORKSPACE_PATH/Out -j16 dtbs
?

Thanks

I’m saying you don’t need further verification for the issue. This is already tested. However, you should not execute any build script for a kernel with sudo. The original source code content should be owned by root and not writable by anyone else. When you use the “O=...somewhere...”, the “...somewhere...” is owned by you, a regular user. All output to that location should succeed without sudo, and no output should go anywhere else. This is not mandatory, but it is a safety mechanism to keep the original source code unmodified.

Within the actual source code, without using any “O=...somewhere...”, you can run this to make sure it is unmodified:
sudo make mrproper

After that 100% of all build commands are just from your regular user. If root owns the source tree, then you won’t have the danger of a configuration going to the actual original source code.

For this, consider you have a number of commands you are running that have “--output-sync=target”. Just don’t use that. Example:

# Instead of this:
make ARCH=arm64 O=$WORKSPACE_PATH/Out -j16 --output-sync=target Image

# Do this:
make ARCH=arm64 O=$WORKSPACE_PATH/Out -j16 Image

(and don’t use sudo)

For the above, most of the time you will have a temporary output location listed. This is the “O=” parameter. From your commands I see you are using:
O=$WORKSPACE_PATH/Out

What is “$WORKSPACE_PATH”? This would tell you what I mean by “...somewhere...”, a path:
echo $WORKSPACE_PATH/Out

The “Out/” part of that path can be recursively deleted, and then recreated since it is a temporary output location. You could save the “.config” file first, but this is how you would be certain you are starting in a clean location (assumes you’ve set up WORKSPACE_OUT):

cd $WORKSPACE_PATH
# The "." below is important, don't skip it:
cp Out/.config .
rm -Rf Out
mkdir Out
cp .config ./Out/

You should be able to perform that previous example as a regular user, without sudo. However, if you compiled with sudo, then you’ll need sudo in the “rm -Rf Out” part. Be very careful to verify you really are at the $WORKSPACE_OUT location before you run that recursive delete (the “-r” of rm is recursive, and the “-rf” is forced recursive; this is dangerous in the wrong location). Note that if you have set up WORKSPACE_OUT under sudo, then you probably need to set it up instead as your regular user. If you set up an environment variable as root (using sudo), then that environment won’t be visible to the regular user; if you set up an environment as a regular user ((without* using sudo), then that environment won’t be available under sudo.

The above just game me a thought: If you set up your $WORKSPACE_PATH as a regular user, and then compiled as root (with sudo), then you’d lose that environment and it would explain why output went to your Desktop/ instead.

Unless you are building the device tree target you won’t build dtbs. Some notes:

  • The source code is probably at a “kernel-5.10/” subdirectory. That’s the “top” of the source. There is a Makefile at that location. You should set that location and every subdirectory as owned by root, but if you unpacked it with sudo, then it is already owned by root. I’ll refer to that location as $TOP. If you cd $TOP, then “ls -l”, you should see everything is owned by root.
  • The temporary output location is “$WORKSPACE_PATH/Out”. Aside from the .config file, you should recursively delete the subdirectory “Out/”, and then recreate it without sudo:
    cd $WORKSPACE_PATH
    cp ./Out/.config .
    sudo rm -Rf ./Out
    mkdir Out

From $TOP, not using sudo, verify the environment is what you think it should be:

# Make sure you are at the source code as a regular user, no sudo:
pwd

# Is this a cross compile? If yes:
export ARCH=arm64
# (note that you can also use "ARCH=arm64" in the build command, but it is easier
# to set it once before build...but ONLY if cross compiling)

# Is this a cross compile? If yes:
export CROSS_COMPILE=/usr/bin/aarch64-linux-gnu-
# (setting this might need pointing at a different cross compiler, but this example
# is typical; you would not set this if natively compiling directly on the Jetson)

# Clean it up (only needed once):
sudo make mrproper

# Make sure the temporary location is correct:
echo $WORKSPACE_PATH

# Make sure the output location exists:
ls $WORKSPACE_PATH/Out

# If you have kept your `.config`, and if it is in the correct place, you should
# see it with:
ls -l $WORKSPACE_PATH/Out/.config

# I am assuming from here that this is a cross compile, and that you have exported
# `CROSS_COMPILE` and `ARCH` as your regular user. I assume $TOP is the
# location of the source code tree. Because the above exported "ARCH=arm64",
# which should not happen for native build, I will assume you don't need to
# repeat "ARCH=arm64" on each cross compile command line.

# If you do not have the prior "$WORKSPACE_PATH/Out/.config", then:
make O=$WORKSPACE_PATH/Out tegra_defconfig

# Now you can edit config if you don't want the default:
make O=$WORKSPACE_PATH/Out nconfig
# (be sure to set CONFIG_LOCALVERSION correctly)

# In what follows the "-j 16" implies you are using 16 CPU cores. This can be skipped,
# or changed to whatever number you want.

# If you are building the main kernel:
make O=$WORKSPACE_PATH/Out -j 16 Image

# If you have built Image, then you don't need to propagate the configuration for
# other build targets. However, if you are going straight to modules without
# building Image, then you would do this:
make O=$WORKSPACE_PATH/Out -j 16 modules_prepare

# This would build modules:
make O=$WORKSPACE_PATH/Out -j 16 modules

# Most people don't need to build device tree, but if you do:
make O=$WORKSPACE_PATH/Out -j 16 dtbs

# The rest of the commands are for neatly copying what you need from the build. The
# actual build is complete.

Note that in the above every command used O=$WORKSPACE_PATH/Out, except for mrproper. Only mrproper used sudo. Only the source code is owned by root. All temporary or result output is in $WORKSPACE_PATH/Out, which is owned by your regular user. No command had “--output-sync=target”, but that is just for testing; the commands could have this, but I’m trying to reduce this down to less complicated build until we figure out what is going wrong. I’m thinking the use of sudo might be related to what went wrong, so this is why I’m giving those very exact build steps.

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