Jetson Orin Nano compilation problem

sdk:36.4.3

The compilation steps are as follows:
export CROSS_COMPILE=$PWD/../gcc/aarch64–glibc–stable-2022.08-1/bin/aarch64-buildroot-linux-gnu-
make -C kernel

export INSTALL_MOD_PATH=$PWD/../Linux_for_Tegra/rootfs/
sudo -E make install -C kernel
cp kernel/kernel-jammy-src/arch/arm64/boot/Image $PWD/../Linux_for_Tegra/kernel/Image

export CROSS_COMPILE=$PWD/../gcc/aarch64–glibc–stable-2022.08-1/bin/aarch64-buildroot-linux-gnu-
export KERNEL_HEADERS=$PWD/kernel/kernel-jammy-src
make modules
export INSTALL_MOD_PATH=$PWD/../Linux_for_Tegra/rootfs/
sudo -E make modules_install

Building the DTBs:
export CROSS_COMPILE=$PWD/../gcc/aarch64–glibc–stable-2022.08-1/bin/aarch64-buildroot-linux-gnu-
export KERNEL_HEADERS=$PWD/kernel/kernel-jammy-src
make dtbs
cp kernel-devicetree/generic-dts/dtbs/* $PWD/../Linux_for_Tegra/kernel/dtb/

After configuring the user and password, you cannot enter the system.
What is the problem? Is it something that is not compiled?

Hi,
DO you use developer kit? If yes, would suggest follow the steps and see if it works:
No data from Joystick Logitech-f710 - #10 by DaneLLL

The command sudo ./tools/l4t_update_initrd.sh was not used before, but now this command sudo ./tools/l4t _ update_initrd.sh is used to burn the firmware again, but it still does not enter the system.

export CROSS_COMPILE=$PWD/../gcc/aarch64–glibc–stable-2022.08-1/bin/aarch64-buildroot-linux-gnu-
make -C kernel

export INSTALL_MOD_PATH=$PWD/../Linux_for_Tegra/rootfs/
sudo -E make install -C kernel
cp kernel/kernel-jammy-src/arch/arm64/boot/Image $PWD/../Linux_for_Tegra/kernel/Image

export CROSS_COMPILE=$PWD/../gcc/aarch64–glibc–stable-2022.08-1/bin/aarch64-buildroot-linux-gnu-
export KERNEL_HEADERS=$PWD/kernel/kernel-jammy-src
make modules
export INSTALL_MOD_PATH=$PWD/../Linux_for_Tegra/rootfs/
sudo -E make modules_install
cd Linux_for_Tegra
sudo ./tools/l4t_update_initrd.sh

Building the DTBs:
export CROSS_COMPILE=$PWD/../gcc/aarch64–glibc–stable-2022.08-1/bin/aarch64-buildroot-linux-gnu-
export KERNEL_HEADERS=$PWD/kernel/kernel-jammy-src
make dtbs
cp kernel-devicetree/generic-dts/dtbs/* $PWD/../Linux_for_Tegra/kernel/dtb/

sudo ./tools/l4t_flash_prerequisites.sh
sudo ./apply_binaries.sh
sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c tools/kernel_flash/flash_l4t_t234_nvme.xml -p “-c bootloader/generic/cfg/flash_t234_qspi.xml” --showlogs --network usb0 jetson-orin-nano-devkit internal

Can you help me see what else to do?

Hi,
Do you use Orin Nano developer kit? We have validated the steps on developer kit. It is supposed to work if you follow the steps one by one.

I used a company-customized board, but there was nothing wrong with the board. Now it is time to upgrade the version to 36.4.3.

Do not compile, just burn it in this way, and you can enter the system after configuring the user and password.

But I feel that I have no problem compiling, just don’t know why I can’t get into the system.

Hi,
The issue should be specific to the custom board. Please try

  1. Apply the fix:
    Jetson/L4T/r36.4.x patches - eLinux.org
    [Orin] Display drivers install to the wrong path with official document instructions
  2. Create a default user
    Flashing Support — NVIDIA Jetson Linux Developer Guide

After using this sudotools/l4t_create_default_user.sh command, you can enter the desktop.

1 Like

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