https://elinux.org/index.php?title=Boot_from_sd&feed=atom&action=historyBoot from sd - Revision history2024-03-19T08:49:19ZRevision history for this page on the wikiMediaWiki 1.31.0https://elinux.org/index.php?title=Boot_from_sd&diff=447271&oldid=prevAastal at 03:40, 1 August 20172017-08-01T03:40:50Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 03:40, 1 August 2017</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1" >Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>== <del class="diffchange diffchange-inline">Boot from SD card </del>==</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>== <ins class="diffchange diffchange-inline">Introduction </ins>==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Here's tutorial to copy the root file system to SD card, and booting from the SD card.<br></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* Here's tutorial to copy the root file system to SD card, and booting from the SD card.<br></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* If the root file system will be on an SD card, execute the below script to flash the device  -  mentioned at [http://developer2.download.nvidia.com/embedded/L4T/r28_Release_v1.0/Docs/Jetson_TX1_and_TX2_Developer_Kits_User_Guide.pdf?1UNK2sf8XQbR2DAlcDPEVGiPtbo492VFKsSGUfhiZK-QBWz1QAI_QfnpGfmfC9rVClEoGUhYF14_luGn-TDjRZxzR-C9-pMO-UrmTTNO_pxc2NA9LL3FXPuk6umzhHAfD5VA1JA-dYIgtwahOL4ZNned3MGdW0FXepg6-jHIUAx4oMRQt4_3Y2DfhKSlSS8TFPQ Jetson TX1 and TX2 developer kits user guide]</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>* If the root file system will be on an SD card, execute the below script to flash the device  -  mentioned at [http://developer2.download.nvidia.com/embedded/L4T/r28_Release_v1.0/Docs/Jetson_TX1_and_TX2_Developer_Kits_User_Guide.pdf?1UNK2sf8XQbR2DAlcDPEVGiPtbo492VFKsSGUfhiZK-QBWz1QAI_QfnpGfmfC9rVClEoGUhYF14_luGn-TDjRZxzR-C9-pMO-UrmTTNO_pxc2NA9LL3FXPuk6umzhHAfD5VA1JA-dYIgtwahOL4ZNned3MGdW0FXepg6-jHIUAx4oMRQt4_3Y2DfhKSlSS8TFPQ Jetson TX1 and TX2 developer kits user guide]</div></td></tr>
</table>Aastalhttps://elinux.org/index.php?title=Boot_from_sd&diff=447266&oldid=prevAastal: draft of boot from sd wiki page2017-08-01T03:39:21Z<p>draft of boot from sd wiki page</p>
<p><b>New page</b></p><div>== Boot from SD card ==<br />
* Here's tutorial to copy the root file system to SD card, and booting from the SD card.<br><br />
* If the root file system will be on an SD card, execute the below script to flash the device - mentioned at [http://developer2.download.nvidia.com/embedded/L4T/r28_Release_v1.0/Docs/Jetson_TX1_and_TX2_Developer_Kits_User_Guide.pdf?1UNK2sf8XQbR2DAlcDPEVGiPtbo492VFKsSGUfhiZK-QBWz1QAI_QfnpGfmfC9rVClEoGUhYF14_luGn-TDjRZxzR-C9-pMO-UrmTTNO_pxc2NA9LL3FXPuk6umzhHAfD5VA1JA-dYIgtwahOL4ZNned3MGdW0FXepg6-jHIUAx4oMRQt4_3Y2DfhKSlSS8TFPQ Jetson TX1 and TX2 developer kits user guide]<br />
sudo ./flash.sh <platform name> mmcblk1p1 <br />
<br />
== Pick a device to place your rootfs ==<br />
*Use these procedures to copy the file system to the Tegra device.<br />
# If you are using the internal EMMC, skip ahead to Flashing the Bootloader and Kernel.<br />
# If you prefer to use an external storage device for the root filesystem, use the following procedure to copy the file system to an external storage device.<br />
:*: Plug your rootfs device into the host system, If your device is not formatted as Ext4, enter the following command to format it with an Ext4 file system:<br />
$ sudo mkfs.ext4 /dev/sd<port><device_number><br />
Where:<br />
<port> is the port to which your device is mounted.<br />
<device_number> is the device number of the device attached to the port. You can use the dmesg command to determine the port.<br />
:*: If needed, mount your device with the following command:<br />
sudo mount /dev/sdX1 <mntpoint><br />
Where <mntpoint> is the mount point on the host system for your rootfs device.<br />
:*: Copy the file system. If LDK_ROOTFS_DIR is set, execute these commands:<br />
$ cd ${LDK_ROOTFS_DIR}<br />
$ sudo cp -a * <mntpoint> && sync<br />
:*: If it is not set, copy the rootfs directory that is included in the release by executing the following commands:<br />
$ cd <your_L4T_root>/Linux_for_Tegra/rootfs<br />
$ sudo cp -a * <mntpoint> && sync<br />
:*: After copying the content to the external disk or device, unmount the disk and connect it to the target Tegra device.<br />
:*: unplug SD card and plug-in SD card in TX2<br />
:*: modify exlinux.conf in sdcard and boot up the device<br />
change /dev/mmcblk0p1 to /dev/mmcblk1p1 (/boot/extlinux/extlinux.conf)<br />
:*: Device is booting using /dev/mmcblk1p1</div>Aastal