Connecting to Orin with SSH after initrd flash

Hi, I have Jetson AGX Orin 64GB Developer Kit. I wonder if I have option after headless setup to define username, hostname and password to connect from host device to flashed Orin with SSH.

I’m using these commands

    wget https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v4.1/release/jetson_linux_r35.4.1_aarch64.tbz2
    wget https://developer.nvidia.com/downloads/embedded/l4t/r35_release_v4.1/release/tegra_linux_sample-root-filesystem_r35.4.1_aarch64.tbz2
    tar xf jetson_linux_r35.4.1_aarch64.tbz2
    sudo tar xpf tegra_linux_sample-root-filesystem_r35.4.1_aarch64.tbz2 -C Linux_for_Tegra/rootfs/
    cd Linux_for_Tegra/
    sudo ./apply_binaries.sh
    sudo ./tools/l4t_flash_prerequisites.sh
    sudo ./tools/kernel_flash/l4t_initrd_flash.sh --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_nvme.xml --external-only --showlogs jetson-agx-orin-devkit external

It says


Reboot target
Run command: sync; nohup reboot &>/dev/null & exit on root@fe80::1%usb0
SSH is not ready
Reboot failed.
Cleaning up...

I can attach Orin to display and set username, hostname, password btw.

Dump the full log. Don’t crop it yourself.

We have a script called

 tools/l4t_create_default_user.sh

that can be used after

 sudo ./tools/l4t_flash_prerequisites.sh

to create username, hostname, password before flashing. BTW, you should add --network usb0 to your flash command

    sudo ./tools/kernel_flash/l4t_initrd_flash.sh --network usb0 --external-device nvme0n1p1 -c ./tools/kernel_flash/flash_l4t_nvme.xml --external-only --showlogs jetson-agx-orin-devkit external
1 Like