NVIDIA TEGRA LINUX DRIVER PACKAGE QUICK-START GUIDE The information here is intended to help you quickly get started using NVIDIA Tegra Linux Driver package (L4T). ASSUMPTIONS: - You have a Cardhu (with 1GB RAM) or Dalmore Tegra Developer Tablet. - You have a host machine that is running Linux. - Your developer tablet is cabled as follows: - (Cardhu) Debug board (connected to the back of the Cardhu without the back cover) and the necessary cables. - (Cardhu) RS232 Serial connector (connecting the debug board to your Linux host) using a null-modem cable. - USB cable connecting the Cardhu or Dalmore to your Linux host. - We will be loading the root file-system onto the internal EMMC or the target device and we will be making 8G partition. - If you would like to have network access on your target (ex: for installing additional packages), you need a USB Ethernet adapter. Any Ethernet device with an enabled kernel driver should work, the Nyko Netconnect and Linksys adapters have been shown to work, though for other devices please refer to the list of compiled-in USB-Ethernet drivers within the Tegra Linux kernel. From the target system: zcat /proc/config.gz | grep USB_NET INSTRUCTIONS: The directions below assume that ${RELEASE_NAME} and ${RELEASE_NAME_CODECS} refers to the respective package names as follows: (${BOARD} refers to either 'cardhu' or 'dalmore') Cardhu: cardhu_Tegra-Linux-R17.1.0_armhf.tbz2 Cardhu codecs: cardhu_Tegra-Linux-codecs-R17.1.0_armhf.tbz2 Dalmore: dalmore_Tegra-Linux-R17.1.0_armhf.tbz2 Dalmore codecs: dalmore_Tegra-Linux-codecs-R17.1.0_armhf.tbz2 1. Create a directory for your L4T files on your host machine. mkdir ~/linux-for-tegra-public-release cd ~/linux-for-tegra-public-release 2. Download the latest L4T release package for your developer tablet and the sample file system from https://developer.nvidia.com/linux-tegra using 'wget' or another Linux downloading tool. For the latest release R17.1.0: wget http://developer.nvidia.com/sites/default/files/akamai/mobile/files/L4T/${RELEASE_NAME} wget http://developer.download.nvidia.com/akamai/mobile/files/L4T/Tegra_Linux_Sample_Root-Filesystem_armhf.tbz2 wget http://developer.nvidia.com/sites/default/files/akamai/mobile/files/L4T/${RELEASE_NAME_CODECS} 3. Untar the files and assemble the rootfs: sudo tar -xpf ${RELEASE_NAME} cd Linux_for_Tegra/rootfs/ sudo tar xpf ../../Tegra_Linux_Sample_Root-Filesystem_armhf.tbz2 sudo tar xpf ../../${RELEASE_NAME_CODECS} cd ../ sudo ./apply_binaries.sh 4. Flash the rootfs onto the system's internal EMMC. a) Put your system into "reset recovery mode" by holding down the "FRC RCV" button and press "RESET" button once on the debug board. b) Make sure your host system is connected to target device through the USB cable. sudo ./flash.sh -S 8GiB ${BOARD} mmcblk0p1 #This will take about 30 minutes or more. 5. The target will automatically reboot upon completion of the flash. The command prompt will show up on the target boards screen. Log in as user login:ubuntu and password:ubuntu. All actions are completed unless you wish to configure the graphical desktop on your setup. You now have Linux running on your device. 6. Installing the graphical desktop on your target board: a) Connect Ethernet to target via a USB-to-Ethernet adapter. b) Use eth0 for USB Ethernet adapter: sudo dhclient eth0 c) Check to see if Internet is up and running. You should see an IP address associate with eth0. ifconfig sudo apt-get update sudo apt-get install ubuntu-desktop d) Reboot and the system will boot to the graphical desktop.