You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
note I am using "personal" not "business" which means I use quay.io/kairos/auroraboot:v0.6.4 below
The Error happens at # >>>>>>>>>>>>>>> ERRORS OUT in the script below.
#!/bin/bash############################################################# Run this script on a host computer, to flash the Nvidia Jetson## ./install.sh############################################################ Trap errors and print line number and commandset -euo pipefail
trap'echo "❌ Error on line $LINENO: $BASH_COMMAND"; exit 1' ERR
DL_DIR=./.cache
mkdir -p "${DL_DIR}"############################################################ Download Jetpack SDK and prepare itcd"${DL_DIR}"
wget https://developer.nvidia.com/downloads/embedded/l4t/r36_release_v4.3/release/Jetson_Linux_r36.4.3_aarch64.tbz2 -O "tegra.bz2"&& \
tar xvf "tegra.bz2"&& \
cd"Linux_for_Tegra"# Drop extlinuxecho""> ./bootloader/extlinux.conf
IMAGE=quay.io/kairos/ubuntu:22.04-core-arm64-nvidia-jetson-agx-orin-master
docker run -ti --rm -v $PWD/rootfs:/rootfs quay.io/luet/base util unpack "$IMAGE" /rootfs
sudo rm rootfs/boot/initrd
sudo mkdir -p rootfs/boot/extlinux/
sudo touch rootfs/boot/extlinux/extlinux.conf
############################################################# >>>>>>>>>>>>>>> ERRORS OUT# mv: cannot stat '/tmp/arm-builder.YSWRKAwJZU/tmpefi/EFI/BOOT/*pf2': No such file or directory# https://github.com/kairos-io/AuroraBoot/blob/main/image-assets/prepare_nvidia_orin_images.sh#L43
IMAGE=quay.io/kairos/ubuntu:22.04-core-arm64-nvidia-jetson-agx-orin-master
docker run --privileged \
-e container_image=$IMAGE \
-e STATE_SIZE="25500" \
-e RECOVERY_SIZE="21000" \
-e DEFAULT_ACTIVE_SIZE="7000" \
-v $PWD/bootloader:/bootloader --entrypoint /prepare_nvidia_orin_images.sh -ti --rm quay.io/kairos/auroraboot:v0.6.4
wget 'https://kairos.io/examples/images/flash_t234_qspi_sdmmc.xml' -O ./bootloader/generic/cfg/flash_t234_qspi_sdmmc.xml
stat -c %s bootloader/efi.img
stat -c %s bootloader/recovery_partition.img
stat -c %s bootloader/state_partition.img
stat -c %s bootloader/oem.img
stat -c %s bootloader/persistent.img
############################################################printf"***************************************************################[STEP 1]: Adjust configs as needed- look at the file./bootloader/generic/cfg/flash_t234_qspi_sdmmc.xml- reference docs as neededhttps://kairos.io/docs/installation/nvidia_agx_orin/https://kairos.io/examples/images/flash_t234_qspi_sdmmc.xml################[STEP 2]: Test connection from your laptop to the Jetson board$ lsusbBus 003 Device 029: ID 0955:7020 NVIDIA Corp. L4T (Linux for Tegra) running on Tegra################[STEP 3]: Put the Jetson board into recovery mode (and wait 60 seconds)$ ssh <username>@192.168.55.1$ sudo reboot --force forced-recovery################[STEP 4]: Flash the jetson board from YOUR LAPTOP$ cd ${DL_DIR}$ sudo ./flash.sh jetson-agx-orin-devkit internal"
@SuperElectron mh that's weird but maybe there is a bug as we moved some grub settings across packages.
@SuperElectron can you try to edit the jetson nano script to cp -rf /arm/raw/grubartifacts/grub2/*.pf2 $WORKDIR/tmpefi/EFI/BOOT/fonts instead of mv $WORKDIR/tmpefi/EFI/BOOT/*pf2 $WORKDIR/tmpefi/EFI/BOOT/fonts , re-build the auroraboot image and report back ? Thanks!
ISSUE
I run the installation instruction for kairos on a Nvidia Jetson Orin Nano Super and it fails.
This is where the error comes from:
And I traced the error back to this script:
Script to Replicate the Issue
I have created a script from the docs
quay.io/kairos/auroraboot:v0.6.4
belowThe Error happens at
# >>>>>>>>>>>>>>> ERRORS OUT
in the script below.Details about host computer and Jetson
Host computer
Jetson Orin Nano Super
I am happy to help with a little bit of direction, if needed.
The text was updated successfully, but these errors were encountered: