Boot Linux on nVidia Tegra2 from SDCARD

# prepare directory
mkdir ~/tegra
cd ~/tegra
 
# download
wget http://developer.download.nvidia.com/tegra/files/linux_for_tegra_os_pack_rel_10.7.2_20100810.run.zip
 
# extract
unzip linux_for_tegra_os_pack_rel_*.run.zip 
bash linux_for_tegra_os_pack_*.run
# answer yes
cd linux4tegra
export L4TROOT=${PWD}
 
# prepare fs
./unpack_targetfs.sh
./apply_l4t.sh
 
# partitionize sdcard
sudo umount /dev/mmcblk0p1
sudo fdisk /dev/mmcblk0 < fdisk_helper.txt
 
# format sdcard
sudo mkfs.ext3 /dev/mmcblk0p1
 
# mount sdcard
sudo mount /dev/mmcblk0p1 /mnt
 
# copy data to sdcard
sudo cp -rfp _out/targetfs/* /mnt
 
# configure network
cat <<EOF>> /mnt/etc/network/interfaces
auto usb0
iface usb0 inet dhcp
EOF
 
# umount sdcard
sudo umount /mnt
 
# flash
./flash_l4t.sh sdmmc crt
# press ENTER
# connect USB cable
# power on dev kit
# hold recovery
# press reboot
# relese recovery
# press ENTER
# press reboot
 
# login
user: ubuntu
password: ubuntu
 
# addons
sudo apt-get install -y wget ssh