<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://ess-wiki.advantech.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=Jetson_Boot_Device</id>
		<title>Jetson Boot Device - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://ess-wiki.advantech.com.tw/wiki/index.php?action=history&amp;feed=atom&amp;title=Jetson_Boot_Device"/>
		<link rel="alternate" type="text/html" href="https://ess-wiki.advantech.com.tw/wiki/index.php?title=Jetson_Boot_Device&amp;action=history"/>
		<updated>2026-04-20T13:06:00Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.28.3</generator>

	<entry>
		<id>https://ess-wiki.advantech.com.tw/wiki/index.php?title=Jetson_Boot_Device&amp;diff=25702&amp;oldid=prev</id>
		<title>Liszt.kao at 05:17, 21 October 2022</title>
		<link rel="alternate" type="text/html" href="https://ess-wiki.advantech.com.tw/wiki/index.php?title=Jetson_Boot_Device&amp;diff=25702&amp;oldid=prev"/>
				<updated>2022-10-21T05:17:25Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 05:17, 21 October 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l103&quot; &gt;Line 103:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 103:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; APPEND ${cbootargs} quiet root=/dev/sda1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160; &amp;#160; &amp;#160; APPEND ${cbootargs} quiet root=/dev/sda1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; 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;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[:File:EPC-R7200_Boot_rootfs_from_NVME.pdf|EPC-R7200 Boot rootfs from NVME.pdf]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Liszt.kao</name></author>	</entry>

	<entry>
		<id>https://ess-wiki.advantech.com.tw/wiki/index.php?title=Jetson_Boot_Device&amp;diff=25146&amp;oldid=prev</id>
		<title>Liszt.kao: Created page with &quot; In CBoot, there is bootable menu, &lt;pre&gt;[0002.262] I&gt; Using default boot order [0002.265] I&gt; boot-dev-order&amp;nbsp;:- [0002.268] I&gt; 1.sd [0002.270] I&gt; 2.usb [0002.272] I&gt; 3.nvme...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ess-wiki.advantech.com.tw/wiki/index.php?title=Jetson_Boot_Device&amp;diff=25146&amp;oldid=prev"/>
				<updated>2022-09-07T02:28:15Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; In CBoot, there is bootable menu, &amp;lt;pre&amp;gt;[0002.262] I&amp;gt; Using default boot order [0002.265] I&amp;gt; boot-dev-order :- [0002.268] I&amp;gt; 1.sd [0002.270] I&amp;gt; 2.usb [0002.272] I&amp;gt; 3.nvme...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
In CBoot, there is bootable menu,&lt;br /&gt;
&amp;lt;pre&amp;gt;[0002.262] I&amp;gt; Using default boot order&lt;br /&gt;
[0002.265] I&amp;gt; boot-dev-order&amp;amp;nbsp;:-&lt;br /&gt;
[0002.268] I&amp;gt; 1.sd&lt;br /&gt;
[0002.270] I&amp;gt; 2.usb&lt;br /&gt;
[0002.272] I&amp;gt; 3.nvme&lt;br /&gt;
[0002.274] I&amp;gt; 4.emmc&lt;br /&gt;
[0002.276] I&amp;gt; 5.net&lt;br /&gt;
[0002.277] I&amp;gt; Hit any key to stop autoboot:     4       3       2       1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Change the boot order, you may type&lt;br /&gt;
&amp;lt;pre&amp;gt;$ setvar boot-order emmc, sd, usb, net&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&amp;lt;pre&amp;gt;$ setvar boot-order emmc&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And boot the system&lt;br /&gt;
&amp;lt;pre&amp;gt;$ boot&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, there are two of bootable devices - NVME SSD and EMMC If the NVME SSD was plugged-in, the system will always boot NVME SSD.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:medium;&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;color:#006400;&amp;quot;&amp;gt;'''Boot to Rootfs in external storage'''&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:bold;&amp;quot;&amp;gt;'''Make Rootfs'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
1.Check the external drive’s device name (e.g. NVME&amp;amp;nbsp;: /dev/nvmeXn1, U-Disk&amp;amp;nbsp;: /dev/sdX): The &amp;lt;search_keyword&amp;gt; will be NVME&amp;amp;nbsp;: nvme and U-Disk&amp;amp;nbsp;: sd&lt;br /&gt;
&amp;lt;pre&amp;gt;$ lsblk -d -p | grep &amp;lt;search_keyword&amp;gt; | cut -d\  -f 1&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that there must be two spaces after the ‑d\.&lt;br /&gt;
&lt;br /&gt;
2.Create a new GPT:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ sudo parted /dev/&amp;lt;device&amp;gt; mklabel gpt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;device&amp;gt; is the device name that your host computer assigns to the external drive. For example, if the host computer assigns the NVMe drive device name nvme0n1, the command is:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ sudo parted /dev/nvme0n1 mklabel gpt&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
3.Add the APP partition:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ sudo parted /dev/&amp;lt;device&amp;gt; mkpart APP 0GB &amp;lt;size&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;size&amp;gt; is the size of the partition. It must be at least 16 GB. It may be larger if the external drive has enough space. For example, if &amp;lt;device&amp;gt; is nvme0n1 and the partition is to contain 16 GB, enter:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ sudo parted /dev/nvme0n1 mkpart APP 0GB 16GB&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The NVME device name of the APP partition &amp;lt;DPART&amp;gt; is then &amp;lt;nvmeXn1&amp;gt;p1.&amp;lt;br/&amp;gt; The U-Disk device name of the APP partition &amp;lt;DPART&amp;gt; is then &amp;lt;sdX&amp;gt;1.&lt;br /&gt;
&lt;br /&gt;
4.Format APP as an ext4 partition and mount it.&lt;br /&gt;
&amp;lt;pre&amp;gt;$ sudo mkfs.ext4 /dev/&amp;lt;DPART&amp;gt;&lt;br /&gt;
$ sudo mount /dev/&amp;lt;DPART&amp;gt; /mnt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You may format APP as ext2 or ext3, but ext4 is strongly recommended because it is faster, more compact, and more reliable.&lt;br /&gt;
&lt;br /&gt;
5.Connect the Jetson device to a host computer and put it into recovery mode, then enter the following commands to generate the rootfs without flashing the device:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ cd Linux_for_Tegra/&lt;br /&gt;
$ sudo BOOTDEV=&amp;lt;DPART&amp;gt; ./flash.sh --no-flash &amp;lt;board&amp;gt; &amp;lt;DPART&amp;gt;&lt;br /&gt;
$ sudo mkdir tmp_system&lt;br /&gt;
$ sudo mount bootloader/system.img.raw ./tmp_system&lt;br /&gt;
$ sudo rsync -axHAWX --numeric-ids --info=progress2 --exclude=/proc ./tmp_system/ /mnt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Where &amp;lt;DPART&amp;gt; is the device name that the Jetson device will assign to APP.&lt;br /&gt;
&lt;br /&gt;
6.Unmount the external drive and disconnect it from the host computer:&lt;br /&gt;
&amp;lt;pre&amp;gt;$ sudo umount /mnt&lt;br /&gt;
$ sudo umount ./tmp_system&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
7.Plug the external drive into the target device and power on.&lt;br /&gt;
&lt;br /&gt;
reference&amp;amp;nbsp;: [https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/flashing.html#wwpID0E0VM0HA nVidia]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;font-size:bold;&amp;quot;&amp;gt;'''Set up boot menu for multi-rootfs'''&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
During system boot to u-boot, it will check the file&amp;amp;nbsp;/boot/extlinux/extlinux.conf&amp;amp;nbsp;to select one of rootfs.&amp;lt;br/&amp;gt; The following example added NVME and SD card for candidate. the default rootfs will be&amp;amp;nbsp;'''''primary'''''. You may choose one of option in console termianl or default if there was&amp;amp;nbsp;no any selection.&amp;lt;br/&amp;gt; Modify the root path to the&amp;amp;nbsp;&amp;lt;DPART&amp;gt; for every external storage&lt;br /&gt;
&amp;lt;pre&amp;gt;TIMEOUT 30&lt;br /&gt;
DEFAULT primary&lt;br /&gt;
&lt;br /&gt;
MENU TITLE L4T boot options&lt;br /&gt;
&lt;br /&gt;
LABEL primary&lt;br /&gt;
      MENU LABEL primary kernel&lt;br /&gt;
      LINUX /boot/Image&lt;br /&gt;
      INITRD /boot/initrd&lt;br /&gt;
      FDT /boot/tegra194-epcr7200.dtb&lt;br /&gt;
      APPEND ${cbootargs} quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0&lt;br /&gt;
&lt;br /&gt;
LABEL sdcard&lt;br /&gt;
      MENU LABEL Boot from SD Card&lt;br /&gt;
      LINUX /boot/Image&lt;br /&gt;
      INITRD /boot/initrd&lt;br /&gt;
      FDT /boot/tegra194-epcr7200.dtb&lt;br /&gt;
      APPEND ${cbootargs} quiet root=/dev/mmcblk1p1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0&lt;br /&gt;
&lt;br /&gt;
LABEL UIO-4040&lt;br /&gt;
      MENU LABEL Boot from UIO-4040&lt;br /&gt;
      LINUX /boot/Image&lt;br /&gt;
      INITRD /boot/initrd&lt;br /&gt;
      FDT /boot/tegra194-epcr7200.dtb&lt;br /&gt;
      APPEND ${cbootargs} quiet root=/dev/sda1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Liszt.kao</name></author>	</entry>

	</feed>