Orin build: tegra_defconfig moved arm64 -> arm

Hi! We noticed that between BSP v35.2.1 and v36.3.0, location of tegra_defconfig has been changed. It moved from arch/arm64/configs (in 5.10) to arch/arm/configs in kernel-jammy-src v5.15 in BSP 36.3.0.

What’s the reason for this change? When we run

make -j"$(nproc)" ARCH=arm64 CROSS_COMPILE="${cross_compile_path}" \
        -C "${kernel_src}/" tegra_defconfig

it looks for the config in arch/arm64/configs directory, but changing ARCH to arm leads to other problems later on, e.g.

dpkg-architecture: warning: specified GNU system type arm-linux-gnueabihf does not match CC system type aarch64-buildroot-linux-gnu, try setting a correct CC environment variable
dpkg-buildpackage: info: host architecture armhf

I found these configs in the arm64 directory. Is there any documentation about those specific files?

ls -l arch/arm64/configs
total 84
-rw-r--r-- 1 filip filip 31654 paź 28 15:52 defconfig
-rw-r--r-- 1 filip filip  1242 paź 28 15:52 defconfig_debug.config
-rw-r--r-- 1 filip filip 28788 paź 28 15:52 tegra_prod_defconfig
-rw-r--r-- 1 filip filip  7922 paź 28 15:52 tegra_recovery_chain_defconfig

Please just use defconfig. The rest of files are not in use.

Rel-35 and rel-36 are major releases where the kernel versions are totally changed.

And rel-36 is using upstream driver now. Thus, we need to follow the policy of upstream Linux kernel. Lots of changes happened there.

Thank you. Can you point to more changes that we need to be aware when porting from 5.10 to 5.15 and v35.2.1 to v36.3.0?

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