If using A603, follow this guide to flash the os:

https://wiki.seeedstudio.com/reComputer_A603_Flash_System/

You can download all components in one go, however, i would download each component separately to ensure that they all download properly.

Full download script:

# Install Cuda
sudo apt update -y
sudo apt install cuda-toolkit-12-6 -y
echo 'export PATH=/usr/local/cuda/bin:$PATH' >> ~/.bashrc
echo 'export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH' >> ~/.bashrc
sudo apt install libcudnn9-cuda-12 libcudnn9-dev-cuda-12 -y

# ROS Installation

locale  # check for UTF-8

sudo apt update && sudo apt install locales
sudo locale-gen en_US en_US.UTF-8
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
export LANG=en_US.UTF-8

locale  # verify settings
sudo apt install software-properties-common
sudo add-apt-repository -y universe
sudo apt update && sudo apt install curl -y
sudo curl -sSL <https://raw.githubusercontent.com/ros/rosdistro/master/ros.key> -o /usr/share/keyrings/ros-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] <http://packages.ros.org/ros2/ubuntu> $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
sudo apt update -y
sudo apt upgrade -y
sudo apt install ros-humble-desktop -y
sudo apt install ros-dev-tools -y
echo "source /opt/ros/humble/setup.bash" >> ~/.bashrc && source ~/.bashrc

sudo rosdep init
rosdep update

# Install micro-ROS agent
# Create a workspace and download the micro-ROS tools
mkdir -p mrg/microros_ws
cd mrg/microros_ws
git clone -b $ROS_DISTRO <https://github.com/micro-ROS/micro_ros_setup.git> src/micro_ros_setup

# Update dependencies using rosdep
sudo apt update -y && rosdep update
rosdep install --from-paths src --ignore-src -y

# Install pip
sudo apt-get install python3-pip -y

# Build micro-ROS tools and source them
colcon build
source install/local_setup.bash

# Download micro-ROS-Agent packages
ros2 run micro_ros_setup create_agent_ws.sh

# Build step
ros2 run micro_ros_setup build_agent.sh
source install/local_setup.bash

# Setup code
cd ..
mkdir -p sub_ws/src
cd mrg/sub_ws/src
# Pontus
git clone <https://github.com/gt-marine-robotics-group/Pontus.git>
# stereo image proc
git clone <https://github.com/gt-marine-robotics-group/pontus_ros_stereo_image_proc>
# DVL driver
git clone <https://github.com/gt-marine-robotics-group/dvl-a50> --recursive
git clone <https://github.com/paagutie/dvl_msgs>
cd ..
rosdep install --from-paths src --ignore-src -r -y

# Setup Bag of Tricks + Tmux
cd ..
git clone <https://github.com/gt-marine-robotics-group/bag-of-tricks.git>
sudo apt install tmux -y && sudo apt install tmuxp -y
touch ~/.tmux.conf
echo -e "set -g mouse on\\nset -g default-terminal \\"screen-256color\\"" > ~/.tmux.conf

# Install Ultralytics (yolo)
sudo apt update -y
sudo apt install python3-pip -y
pip install -U pip
pip install ultralytics[export]
sudo reboot
# Continue
pip install <https://github.com/ultralytics/assets/releases/download/v0.0.0/torch-2.5.0a0+872d972e41.nv24.08-cp310-cp310-linux_aarch64.whl>
pip install <https://github.com/ultralytics/assets/releases/download/v0.0.0/torchvision-0.20.0a0+afc54f7-cp310-cp310-linux_aarch64.whl>
wget <https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/arm64/cuda-keyring_1.1-1_all.deb>
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt-get update -y
sudo apt-get -y install libcusparselt0 libcusparselt-dev
pip install <https://github.com/ultralytics/assets/releases/download/v0.0.0/onnxruntime_gpu-1.20.0-cp310-cp310-linux_aarch64.whl>
pip install numpy==1.23.5

# Build OpenCV from source
sudo apt install cmake cmake-data build-essential -y
mkdir opencv_build
cd opencv_build
git clone <https://github.com/opencv/opencv>
git clone <https://github.com/opencv/opencv_contrib.git>
cd opencv
mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release \\
      -D CMAKE_INSTALL_PREFIX=/usr/local \\
      -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules \\
      -D ENABLE_FAST_MATH=ON \\
      -D CUDA_FAST_MATH=ON \\
      -D WITH_CUBLAS=ON \\
      -D WITH_TBB=ON \\
      -D WITH_V4L=ON \\
      -D WITH_QT=OFF \\
      -D WITH_OPENGL=OFF \\
      -D OPENCV_DNN_CUDA=OFF \\
      -D CUDA_ARCH_BIN=8.7 \\
      -D CUDA_ARCH_PTX="" \\
      -D CMAKE_CXX_STANDARD=17 \\
      -D CMAKE_CUDA_STANDARD=17 \\
      -D CMAKE_CUDA_FLAGS="--std=c++17" \\
      -D CUDA_NVCC_FLAGS="--std=c++17" \\
      -D WITH_CUDA=ON \\
      -D WITH_CUDNN=ON \\
      -D WITH_OPENCL=OFF \\
      -D BUILD_opencv_cudacodec=OFF \\
      -D BUILD_opencv_dnn=ON \\
      -D OPENCV_ENABLE_NONFREE=OFF \\
      -D WITH_HALIDE=OFF \\
      -D WITH_VULKAN=OFF \\
      ..

make -j$(nproc)
sudo make install
sudo ldconfig