Skip to content

Instantly share code, notes, and snippets.

@jetsonhacks
Last active March 21, 2023 15:47
Show Gist options
  • Save jetsonhacks/faa0f9c2bc5b35e4a3e1 to your computer and use it in GitHub Desktop.
Save jetsonhacks/faa0f9c2bc5b35e4a3e1 to your computer and use it in GitHub Desktop.
Install Jedroid onto SD card - NVIDIA Jetson TK1
#!/bin/sh
# Install Jedroid 1.3 on SD card
# Assumes a blank Ext4 formatted SD card is in the card reader
# The SD Card is not mounted
sudo mkdir /media/ubuntu/jedroidInstall
sudo mount -t ext4 /dev/mmcblk1p1 /media/ubuntu/jedroidInstall
# Get Jedroid 1.3 from Google Drives
cd ~/Downloads
wget -O jedroid_v1.31.tar.bz2 https://googledrive.com/host/0B-lsw7HiSbj8cHJNTmF2RUV6RVE
wget -O jedroid_v1.31.tar.bz2.md5sum https://googledrive.com/host/0B-lsw7HiSbj8T2xFdjZFY0VadXM
md5sum jedroid_v1.31.tar.bz2
# Untar
mkdir ~/jedroid_workspace
tar jxvf jedroid_v1.31.tar.bz2 -C ~/jedroid_workspace
cd ~/jedroid_workspace/jedroid
# Copy Jedroid to the SD Card
sudo cp -r sdimage/* /media/ubuntu/jedroidInstall
cd /media/ubuntu/jedroidInstall/boot
# Modify Jedroid to boot from the SD card
sudo mkdir extlinux
sudo cp extlinux.conf extlinux
sudo sed -i 's/LINUX zImage/LINUX \/boot\/zImage/' extlinux/extlinux.conf
sudo sed -i 's/FDT tegra124-pm375.dtb/FDT \/boot\/tegra124-pm375.dtb/' extlinux/extlinux.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment