Jetson Xavier NXをUSBメモリから起動する方法 (※JetPack4.5.1)

# はじめに

Jetson NanoでSDカードのルートファイルシステムをUSBメモリへコピーしてUSBメモリから起動する方法を書きました。

https://qiita.com/kitazaki/items/cb87be80a760184513dc

Jetson Xavier NX でも同じことができないか、という問い合わせを受けましたので、まずはJetson Xavier NXでUSBメモリから起動できるかどうか確認しました。
2021年2月25日にリリースされたJetPack 4.5.1で、USBドライブから起動することを確認しました。

![スクリーンショット 2021-06-08 22.44.47.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/72479/95a2dbc4-87db-65eb-d17b-ebec7714f74c.png)

Jetson Xavier NXで、既存で使用しているSDカードの中身をNVMe SSD ドライブへコピー(クローン)してNVMe SSD ドライブから起動できるかどうか確認したところ、JetPack4.5.1ではできませんでした。
ロードマップを確認したところ、JetPack4.6でサポートされる予定のようです。

https://developer.nvidia.com/embedded/develop/roadmap

# 手順

## 1. SDカードから起動

通常とおりJetPack 4.5.1のSDカードイメージをダウンロードしてSDカードへ書き込みます。
書き込みにはEtcher、または、Raspberry Pi Imagerを使用しました。
書き込みが完了したらJetson Xavier NXへSDカードを挿して起動します。
起動が完了したらセットアップを完了して再起動します。

## 2. 初回起動後の再起動

JetPack 4.5.1の初回起動時にブートローダーがアップデートされたことが表示されますので、もう一度再起動します。
これでUSBドライブから起動することができるようになります。

![bootloader.jpg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/72479/bf4e594d-bf50-e8fe-84f0-2d019fe184f6.jpeg)

## 3. USBメモリへSDカードイメージを書き込む

JetPack 4.5.1のSDカードイメージをUSBメモリへ書き込みます。
Etcher、または、Raspberry Pi Imagerで書き込み対象にUSBデバイスを選択すればOKです。
書き込みが完了したらJetson Xavier NXへUSBメモリを挿します。

## 4. USBメモリをマウントする

USBメモリは/dev/sda1デバイスとして認識されますので、/mntディレクトリへマウントします。

```bash
$ sudo mount /dev/sda1 /mnt
```

## 5. extlinux.confファイルを変更する

SDカードイメージはSDカードから起動することを前提としていますので、USBメモリから起動するように変更するためにextlinux.confファイルを編集します。

```bash
$ cd /mnt/boot/extlinux
$ sudo cp extlinux.conf extlinux.conf_org
$ sudo vi extlinux.conf
```

10行目のroot=の値を/dev/mmcblk0p1 (SDカード)から/dev/sda1 (USBメモリ)に変更します。

```bash:diff
$ diff extlinux.conf extlinux.conf_org
10c10
<       APPEND ${cbootargs} quiet root=/dev/sda1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 
---
>       APPEND ${cbootargs} quiet root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyTCU0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0
```

## 6. USBメモリから起動する

Jetson Xavier NX の電源を落とし、SDカードを抜いて電源を入れると、USBメモリから起動します。

## USBメモリから起動した時のコンソールログ

Jetson Xavier NX のシリアルポートに接続して、コンソール画面でブートシーケンスを確認します。

<details>
<summary>コンソールログ</summary>
<div>

```console:U-Boot
[0000.024] W> RATCHET: MB1 binary ratchet value 4 is too large than ratchet level 2 from HW fuses.
[0000.033] I> MB1 (prd-version: 1.5.1.6-t194-41334769-1740dd39)
[0000.038] I> Boot-mode: Coldboot
[0000.041] I> Chip revision : A02P
[0000.044] I> Bootrom patch version : 15 (correctly patched)
[0000.049] I> ATE fuse revision : 0x200
[0000.053] I> Ram repair fuse : 0x0
[0000.056] I> Ram Code : 0x0
[0000.058] I> rst_source : 0x0
[0000.061] I> rst_level : 0x0
[0000.065] I> Boot-device: QSPI
[0000.067] I> Qspi flash params source = brbct
[0000.071] I> Qspi using bpmp-dma
[0000.074] I> Qspi clock source : pllp
[0000.078] I> QSPI Flash Size = 32 MB
[0000.081] I> Qspi initialized successfully
[0000.085] I> Active Boot chain : 1
[0000.088] I> Boot-device: QSPI
[0000.091] I> Qspi flash params source = brbct
[0000.097] W> MB1_PLATFORM_CONFIG: device prod data is empty in MB1 BCT.
[0000.105] I> Temperature = 33000
[0000.108] W> Skipping boost for clk: BPMP_CPU_NIC
[0000.112] W> Skipping boost for clk: BPMP_APB
[0000.116] W> Skipping boost for clk: AXI_CBB
[0000.120] W> Skipping boost for clk: AON_CPU_NIC
[0000.124] W> Skipping boost for clk: CAN1
[0000.128] W> Skipping boost for clk: CAN2
[0000.132] I> Boot-device: QSPI
[0000.135] I> Boot-device: QSPI
[0000.138] I> Qspi flash params source = mb1bct
[0000.142] I> Qspi using bpmp-dma
[0000.145] I> Qspi clock source : pllc_out0
[0000.149] I> Qspi reinitialized
[0000.152] I> Qspi flash params source = mb1bct
[0000.157] I> ECC region[0]: Start:0x0, End:0x0
[0000.161] I> ECC region[1]: Start:0x0, End:0x0
[0000.165] I> ECC region[2]: Start:0x0, End:0x0
[0000.170] I> ECC region[3]: Start:0x0, End:0x0
[0000.174] I> ECC region[4]: Start:0x0, End:0x0
[0000.178] I> Non-ECC region[0]: Start:0x80000000, End:0x100000000
[0000.184] I> Non-ECC region[1]: Start:0x0, End:0x0
[0000.188] I> Non-ECC region[2]: Start:0x0, End:0x0
[0000.192] I> Non-ECC region[3]: Start:0x0, End:0x0
[0000.197] I> Non-ECC region[4]: Start:0x0, End:0x0
[0000.202] E> FAILED: Thermal config
[0000.210] E> FAILED: MEMIO rail config
[0000.220] I> Boot-device: QSPI
[0000.223] I> Qspi flash params source = mb1bct
[0000.232] I> Qspi flash params source = mb1bct
[0000.243] I> Qspi flash params source = mb1bct
[0000.310] I> Qspi flash params source = mb1bct
[0000.318] I> Qspi flash params source = mb1bct
[0000.347] I> Qspi flash params source = mb1bct
[0000.359] I> MB1 done

????main enter
SPE VERSION #: R01.00.14 Created: Sep 19 2018 @ 11:03:21
HW Function test
Start Scheduler.
in late init
??
[0000.367] I> Welcome to MB2(TBoot-BPMP) (version: 00.00.2018.32-mobile-feba5943)
[0000.368] I> DMA Heap @ [0x526fa000 - 0x52ffa000]
[0000.368] I> Default Heap @ [0xd486400 - 0xd48a400]
[0000.369] E> DEVICE_PROD: Invalid value data = 70020000, size = 0.
[0000.375] W> device prod register failed
[0000.379] I> Boot-device: QSPI
[0000.381] I> Boot_device: QSPI_FLASH instance: 0
[0000.387] I> QSPI Flash Size = 32 MB
[0000.392] I> Qspi initialized successfully
[0000.393] I> qspi flash-0 params source = boot args
[0000.398] E> Failed: Unknown device 6
[0000.405] I> Found 47 partitions in QSPI_FLASH (instance 0)
[0000.408] I> Active Boot chain : 1
[0000.411] I> parsing oem signed section of bpmp-fw header done
[0000.416] I> bpmp-fw binary init read from storage
[0000.421] I> oem authentication of bpmp-fw header done
[0000.435] I> bpmp-fw binary done read from storage
[0000.435] I> bpmp-fw: Authentication init Done
[0000.436] I> parsing oem signed section of cpubl header done
[0000.440] I> cpubl binary init read from storage
[0000.444] I> bpmp-fw: Authentication Finalize Done
[0000.449] I> oem authentication of cpubl header done
[0000.457] I> cpubl binary done read from storage
[0000.458] I> cpubl: Authentication init Done
[0000.463] I> parsing oem signed section of rce header done
[0000.468] I> rce binary init read from storage
[0000.472] I> Relocating BR-BCT
[0000.475] I> cpubl: Authentication Finalize Done
[0000.480] I> oem authentication of rce header done
[0000.484] I> rce binary done read from storage
[0000.488] I> rce: Authentication init Done
[0000.493] I> parsing oem signed section of ape header done
[0000.498] I> ape binary init read from storage
[0000.502] I> rce: Authentication Finalize Done
[0000.506] I> oem authentication of ape header done
[0000.511] I> ape binary done read from storage
[0000.515] I> ape: Authentication init Done
[0000.520] I> parsing oem signed section of tos header done
[0000.525] I> tos binary init read from storage
[0000.529] I> ape: Authentication Finalize Done
[0000.534] I> oem authentication of tos header done
[0000.540] I> tos binary done read from storage
[0000.542] I> tos: Authentication init Done
[0000.546] I> parsing oem signed section of bpmp-fw-dtb header done
[0000.552] I> bpmp-fw-dtb binary init read from storage
[0000.557] I> tos: Authentication Finalize Done
[0000.563] I> oem authentication of bpmp-fw-dtb header done
[0000.567] I> bpmp-fw-dtb binary done read from storage
[0000.572] I> bpmp-fw-dtb: Authentication init Done
[0000.577] I> parsing oem signed section of cpubl-dtb header done
[0000.582] I> cpubl-dtb binary init read from storage
[0000.587] I> bpmp-fw-dtb: Authentication Finalize Done
[0000.633] I> oem authentication of cpubl-dtb header done
[0000.634] I> cpubl-dtb binary done read from storage
[0000.634] I> cpubl-dtb: Authentication init Done
[0000.635] I> parsing oem signed section of eks header done
[0000.636] I> eks binary init read from storage
[0000.637] I> cpubl-dtb: Authentication Finalize Done
[0000.637] I> oem authentication of eks header done
[0000.642] I> eks binary done read from storage
[0000.646] I> eks: Authentication init Done
[0000.650] I> eks: Authentication Finalize Done
[0000.654] I> EKB detected (length: 0x410) @ VA:0x52705400
??NOTICE:  BL31: v1.3(release):5b49e7f80
NOTICE:  BL31: Built : 08:38:54, Feb 19 2021
ipc-unittest-main: 1519: Welcome to IPC unittest!!!
ipc-unittest-main: 1531: waiting forever
ipc-unittest-srv: 329: Init unittest services!!!
hwkey-agent: 40: hwkey-agent is running!!
hwkey-agent: 197: key_mgnt_processing .......
hwkey-agent: 189: Setting EKB key 0 to slot 14
hwkey-agent: 167: Init hweky-agent services!!
luks-srv: 40: luks-srv is running!!
luks-srv: 157: Init luks-srv IPC services!!
platform_bootstrap_epilog: trusty bootstrap complete
??

welcome to lk
calling constructors
initializing heap
creating bootstrap completion thread
top of bootstrap2()
initializing platform
bpmp: platform_init
tag is e73a758761f0c6d24a1e69a2ac6b5035
tag_show initialized
dt initialized
mail initialized
chipid initialized
fuse initialized
sku initialized
speedo initialized
ec_get_ec_list: found 45 ecs
ec initialized
ec_mrq initialized
vmon_populate_monitors: found 3 monitors
vmon initialized
adc initialized
fmon_populate_monitors: found 73 monitors
fmon initialized
fmon_mrq initialized
reset initialized
nvhs initialized
391 clocks registered
clk_mrq_init: mrq handler registered
clk initialized
nvlink initialized
io_dpd initialized
io_dpd initialized
thermal initialized
i2c5 controller initialized
initialized i2c mrq handling
i2c initialized
regulator initialized
avfs_clk_platform_init: bad clk id in clock@cluster1_avfs
avfs_clk_platform initialized
soctherm initialized
aotag initialized
powergate initialized
dvs initialized
pm initialized
pg_late initialized
strap initialized
tag initialized
emc initialized
clk_dt initialized
avfs_ccplex_platform initialized
tj_max: dt node not found
tj_init initialized
uphy_mrq_init: mrq handler registered
uphy_dt initialized
uphy initialized
safereg_init: period 80 ms
ec_late initialized
??
??mrq initialized
??[0000.994] I> Welcome to Cboot
??WARNING: no registered clock for FMON_NAFLL_CLUSTER1 (id 281)
fmon_post initialized
??[0000.995] I> Cboot Version: t194-9efcbc4f
[0000.997] I> CPU-BL Params @ 0xf2820000
[0001.001] I>  0) Base:0x00000000 Size:0x00000000
[0001.005] I>  1) Base:0xf1100000 Size:0x00100000
??clk_set_parent failed for clk i2c2, parent pll_aon (-22)
clk_set_parent failed for clk i2c8, parent pll_aon (-22)
clk_dt_late initialized
machine_check initialized
pm_post initialized
dbells initialized
avfs_clk_platform_post initialized
dmce initialized
cvc initialized
ccplex_avfs_hw_init: nafll_cluster0: not monitored
ccplex_avfs_hw_init: nafll_cluster2: not monitored
ccplex_avfs_hw_init: nafll_cluster3: not monitored
avfs_clk_mach_post initialized
regulator_post initialized
rm initialized
sc7_diag initialized
thermal_test initialized
serial_late initialized
clk_post initialized
clk_dt_post initialized
mc_reg initialized
pg_post initialized
dyn_modules initialized
sku_debugfs initialized
speedo_debugfs initialized
adc_debugfs initialized
Failed to register PTO counter for id 281
Failed to register PTO counter for id 281
Failed to register PTO counter for id 281
Failed to register PTO counter for id 281
clk_debugfs initialized
emc_debugfs initialized
dvs_debugfs initialized
fmon_debugfs_init_one: no clock debugfs node to attach FMON_NAFLL_CLUSTER1
fmon_debugfs initialized
vmon_debugfs initialized
pg_debugfs initialized
profile_fs initialized
debugfs_cons initialized
mail_fs initialized
profile initialized
cvc_debugfs initialized
dmce_debugfs initialized
ec_debugfs initialized
rm_rail_debugfs_init: /rm/vdd_cpu: failed
rm_rail_debugfs_init: /rm/vdd_cpu: failed
rm_debugfs initialized
soctherm_debug initialized
gr_reader initialized
mods initialized
dt_fs initialized
debugfs_mrq initialized
debug_mrq initialized
debug_safereg initialized
initializing target
calling apps_init()
starting app shell
entering main console loop
] ??[0001.009] I>  2) Base:0xf2000000 Size:0x00200000
[0001.164] I>  3) Base:0xf1200000 Size:0x00200000
[0001.168] I>  4) Base:0xf1000000 Size:0x00100000
[0001.173] I>  5) Base:0xf0f00000 Size:0x00100000
[0001.177] I>  6) Base:0xf3800000 Size:0x00400000
[0001.181] I>  7) Base:0xf1c00000 Size:0x00400000
[0001.186] I>  8) Base:0xf0e00000 Size:0x00100000
[0001.190] I>  9) Base:0xf0d00000 Size:0x00100000
[0001.195] I> 10) Base:0xf3000000 Size:0x00800000
[0001.199] I> 11) Base:0x40000000 Size:0x00040000
[0001.204] I> 12) Base:0xf0c00000 Size:0x00100000
[0001.208] I> 13) Base:0x40046000 Size:0x00002000
[0001.213] I> 14) Base:0x40048000 Size:0x00002000
[0001.217] I> 15) Base:0xac000000 Size:0x00004000
[0001.222] I> 16) Base:0x4004a000 Size:0x00002000
[0001.226] I> 17) Base:0xf0b00000 Size:0x00100000
[0001.231] I> 18) Base:0x4004c000 Size:0x00002000
[0001.235] I> 19) Base:0xf2200000 Size:0x00600000
[0001.239] I> 20) Base:0x4004e000 Size:0x00002000
[0001.244] I> 21) Base:0xf0ad0000 Size:0x0000c000
[0001.248] I> 22) Base:0x00000000 Size:0x00000000
[0001.253] I> 23) Base:0xf0ae0000 Size:0x00020000
[0001.257] I> 24) Base:0xf6000000 Size:0x02000000
[0001.262] I> 25) Base:0x40050000 Size:0x00002000
[0001.266] I> 26) Base:0x40040000 Size:0x00006000
[0001.271] I> 27) Base:0xf1800000 Size:0x00400000
[0001.275] I> 28) Base:0xf4c00000 Size:0x01400000
[0001.280] I> 29) Base:0xf1400000 Size:0x00400000
[0001.284] I> 30) Base:0x00000000 Size:0x00000000
[0001.289] I> 31) Base:0x00000000 Size:0x00000000
[0001.293] I> 32) Base:0xf8000000 Size:0x08000000
[0001.297] I> 33) Base:0x00000000 Size:0x00000000
[0001.302] I> 34) Base:0xf3c00000 Size:0x01000000
[0001.306] I> 35) Base:0xab000000 Size:0x01000000
[0001.311] I> 36) Base:0xa0000000 Size:0x0b000000
[0001.315] I> 37) Base:0xf2800000 Size:0x00800000
[0001.320] I> 38) Base:0x80000000 Size:0x20000000
[0001.324] I> 39) Base:0xb0000000 Size:0x08000000
[0001.329] I> 40) Base:0x00000000 Size:0x00000000
[0001.333] I> 41) Base:0x00000000 Size:0x00000000
[0001.338] I> 42) Base:0x00000000 Size:0x00000000
[0001.342] I> 43) Base:0x00000000 Size:0x00000000
[0001.347] I> 44) Base:0x00000000 Size:0x00000000
[0001.351] I> 45) Base:0x00000000 Size:0x00000000
[0001.355] GIC-SPI Target CPU: 0
[0001.358] Interrupts Init done
[0001.361] calling constructors
[0001.364] initializing heap
[0001.367] I> Heap: [0xa06945e8 ... 0xab000000]
[0001.371] initializing threads
[0001.374] initializing timers
[0001.377] creating bootstrap completion thread
[0001.381] top of bootstrap2()
[0001.384] CPU: MIDR: 0x4E0F0040, MPIDR: 0x80000000
[0001.389] initializing platform
[0001.392] E> DEVICE_PROD: Invalid value data = 0, size = 0.
[0001.397] W> device prod register failed
[0001.401] I> Bl_dtb @0xaaf00000
[0001.406] W> "plugin-manager" doesn't exist, creating
[0001.409] W> "ids" doesn't exist, creating
[0001.413] W> "connection" doesn't exist, creating
[0001.417] W> "configs" doesn't exist, creating
[0001.429] I> Find /i2c@3160000's alias i2c0
[0001.429] I> Reading eeprom i2c=0 address=0x50
[0001.455] I> Device at /i2c@3160000:0x50
[0001.455] I> Reading eeprom i2c=0 address=0x57
[0001.480] I> Device at /i2c@3160000:0x57
[0001.482] I> Find /i2c@c240000's alias i2c1
[0001.482] I> Reading eeprom i2c=1 address=0x50
[0001.484] E> I2C: slave not found in slaves.
[0001.484] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0001.485] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.485] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via instance 1.
[0001.494] E> eeprom: Retry to read I2C slave device.
[0001.499] E> I2C: slave not found in slaves.
[0001.503] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0001.511] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.516] E> I2C_DEV: Could not read 256 registers of size 1 from slave 0xa0 at 0x00000000 via instance 1.
[0001.526] E> eeprom: Failed to read I2C slave device
[0001.531] I> Eeprom read failed 0x3526070d
[0001.534] I> create_pm_ids: id: 3668-0000-200-H, len: 15
[0001.540] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0001.551] I> create_pm_ids: id: 3509-0000-100-F, len: 15
[0001.556] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0001.567] I> Adding plugin-manager/ids/3668-0000-200=/i2c@3160000:module@0x50
[0001.574] W> "i2c@3160000" doesn't exist, creating
[0001.579] W> "module@0x50" doesn't exist, creating
[0001.583] I> Adding plugin-manager/ids/3509-0000-100=/i2c@3160000:module@0x57
[0001.590] W> "module@0x57" doesn't exist, creating
[0001.597] I> Adding plugin-manager/cvm
[0001.599] W> "chip-id" doesn't exist, creating
[0001.603] I> Adding plugin-manager/chip-id/A02P
[0001.607] I> Plugin-manager override starting
[0001.612] I> node /plugin-manager/fragment-pcie-c5-rp matches
[0001.621] I> node /plugin-manager/fragement-tegra-wdt-en matches
[0001.627] I> node /plugin-manager/fragement-tegra-sdhci-emmc-dis matches
[0001.634] I> Disable plugin-manager status in FDT
[0001.635] I> Plugin-manager override finished successfully
[0001.639] I> gpio framework initialized
[0001.644] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio' driver
[0001.651] I> tegrabl_gpio_driver_register: register 'nvidia,tegra194-gpio-aon' driver
[0001.658] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x46
[0001.665] W> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
[0001.673] W> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
[0001.680] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0001.686] I> tegrabl_tca9539_init: i2c bus: 1, slave addr: 0x44
[0001.693] W> fetch_driver_phandle_from_dt: failed to get node with compatible ti,tca9539
[0001.701] W> fetch_driver_phandle_from_dt: failed to get node with compatible nxp,tca9539
[0001.707] W> tegrabl_tca9539_init: failed to fetch phandle from dt
[0001.715] I> fixed regulator driver initialized
[0001.723] I> register 'maxim' power off handle
[0001.724] I> virtual i2c enabled
[0001.725] I> registered 'maxim,max20024' pmic
[0001.730] I> tegrabl_gpio_driver_register: register 'max20024-gpio' driver
[0001.736] I> Boot-device: QSPI
[0001.739] I> Boot_device: QSPI_FLASH instance: 0
[0001.744] I> QSPI source rate = 204000 Khz
[0001.747] I> Requested rate for QSPI clock = 34000 Khz
[0001.753] I> BPMP-set rate for QSPI clk = 34000 Khz
[0001.757] I> QSPI Flash Size = 32 MB
[0001.765] I> Qspi initialized successfully
[0001.765] I> qspi flash-0 params source = boot args
[0001.769] I> create_pm_ids: id: 3668-0000-200-H, len: 15
[0001.774] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0001.785] I> create_pm_ids: id: 3509-0000-100-F, len: 15
[0001.791] I> config: mem-type:00,power-config:00,misc-config:00,modem-config:00,touch-config:00,display-config:00,, len: 93
[0001.802] I> No sdcard
[0001.804] I> -0 params source = 
[0001.808] I> Found 47 partitions in QSPI_FLASH (instance 0)
[0001.819] I> regulator 'vdd-hdmi-5v0' already enabled
[0001.822] I> regulator 'vdd-hdmi-5v0' already enabled
[0001.822] I> hdmi cable connected
[0001.826] W> set volts not configured for 'vdd-1v0'
[0001.831] W> set volts not configured for 'vdd-1v8-hs'
[0001.837] E> invalid display type
[0001.839] E> cannot find any other nvdisp nodes
[0001.845] E> I2C: slave not found in slaves.
[0001.847] E> I2C: Could not write 0 bytes to slave: 0x00a0 with repeat start true.
[0001.854] E> I2C_DEV: Failed to send register address 0x00000000.
[0001.860] E> I2C_DEV: Could not read 128 registers of size 1 from slave 0xa0 at 0x00000000 via instance 3.
[0001.869] E> could not read edid
[0001.876] I> hdmi_enable, starting HDMI initialisation
[0001.882] I> hdmi_enable, HDMI initialisation complete
[0001.891] I> Load in CBoot Boot Options partition and parse it
[0001.892] E> Error -9 when finding node with path /boot-configuration
[0001.895] E> tegrabl_cbo_parse_info: "boot-configuration" not found in CBO file.
[0001.902] I> Using default boot order
[0001.905] I> boot-dev-order :-
[0001.908] I> 1.sd
[0001.910] I> 2.usb
[0001.912] I> 3.nvme
[0001.914] I> 4.emmc
[0001.916] I> 5.net
[0001.917] I> Hit any key to stop autoboot:	4	3	2	1
[0003.925] initializing target
[0003.925] calling apps_init()
[0003.926] starting app kernel_boot_app
[0003.932] I> found decompressor handler: lz4-legacy
[0003.932] I> decompressing BMP blob ...
[0003.935] I> Kernel type = Normal
[0003.936] I> Loading kernel-bootctrl from partition
[0003.936] E> Cannot find partition kernel-bootctrl
[0003.936] E> Cannot open partition kernel-bootctrl
[0003.937] W> tegrabl_get_kernel_bootctrl: failed to read primary bootctrl data
[0003.942] I> Loading kernel-bootctrl_b from partition
[0003.947] E> Cannot find partition kernel-bootctrl_b
[0003.951] E> Cannot open partition kernel-bootctrl_b
[0003.956] W> tegrabl_get_kernel_bootctrl: failed to read recovery bootctrl data
[0003.963] W> tegrabl_get_kernel_bootctrl: use default dummy boot control data
[0003.970] I> ########## SD (0) boot ##########
[0003.975] I> No sdcard
[0003.977] I> -0 params source = 
[0003.980] E> Blockdev open: exit error
[0003.983] E> SD boot failed, err: 724238353
[0003.987] I> ########## USB (0) boot ##########
[0004.004] I> USB Firmware Version: 60.06 release
[0004.059] I> regulator of usb2-0 already enabled
[0004.063] I> regulator of usb2-1 already enabled
[0004.068] I> regulator of usb2-2 already enabled
[0005.134] I> USB 2.0 port 2 new high-speed USB device detected
[0005.136] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa0ea2800, cmd_ring.dma = 0xa0ea2840
[0005.236] I> Start to enumerate device
[0005.238] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa0ea2800, cmd_ring.dma = 0xa0ea2840
[0005.247] I> 
[0005.247] I> Enumerated USB Device 0bda:5489
[0005.247] I> 
[0005.249] I> Hub:
[0005.249] I> 	Downstream ports        : 4
[0005.250] I> 	Power switching         : Ganged
[0005.250] I> 	Compound device         : No
[0005.250] I> 	Over-current protection : Global
[0005.251] I> 	Hub avg delay           : 4 ns
[0005.254] I> Set interface = 1 (alt setting)
[0005.259] I> Enable hub ports
[0005.268] I> Device detected on port 3
[0005.673] I> Device detected on port 1
[0006.282] I> Reset port 1
[0006.337] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa0ea2800, cmd_ring.dma = 0xa0ea2840
[0006.438] I> Start to enumerate device
[0006.439] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa0ea2800, cmd_ring.dma = 0xa0ea2840
[0006.444] W> WARNING: event and command not matching, cmd_trb_ptr = 0xa0ea2800, cmd_ring.dma = 0xa0ea2840
[0006.446] I> 
[0006.446] I> Enumerated USB Device 090c:3267
[0006.446] I> 
[0006.447] I> Max LUN = 0
[0006.621] I> Vendor Identification   :  USB     
[0006.622] I> Product Identification  :  Flash Disk      
[0006.622] I> Product Revision Level  :  1100
[0006.627] I> READ CAPACITY - last LBA = 31129600, 15200MB
[0006.628] I> -0 params source = 
[0006.634] I> Found 11 partitions in USB_MS (instance 0)
[0006.635] I> Look for boot partition
[0006.635] I> Fallback: assuming 0th partition is boot partition
[0006.636] I> Detect filesystem
[0006.651] I> Loading extlinux.conf ...
[0006.652] I> rootfs path: /usb/boot/extlinux/extlinux.conf
[0006.674] I> L4T boot options
[0006.674] I> [1]: "primary kernel"
[0006.674] I> Enter choice: 
[0009.676] I> Continuing with default option: 1
[0009.676] I> Loading kernel sig file from rootfs ...
[0009.676] I> rootfs path: /usb/boot/Image.sig
[0009.689] I> Loading kernel binary from rootfs ...
[0009.689] I> rootfs path: /usb/boot/Image
[0011.846] I> overload load_size to 34338824 (from 34338832)
[0011.868] I> Validate kernel ...
[0011.869] I> T19x: Authenticate kernel (bin_type: 37), max size 0x5000000
[0012.181] I> Encryption fuse is not ON
[0012.198] I> No kernel-dtb binary path
[0012.198] I> A/B: bin_type (38) slot 1
[0012.198] I> Loading kernel-dtb_b from partition
[0012.199] I> Loading partition kernel-dtb_b at 0x91000000 from device(0x5)
[0012.229] I> Validate kernel-dtb ...
[0012.230] I> T19x: Authenticate kernel-dtb (bin_type: 38), max size 0x400000
[0012.232] I> Encryption fuse is not ON
[0012.233] I> Loading ramdisk from rootfs ...
[0012.233] I> Loading initrd sig file from rootfs ...
[0012.234] I> rootfs path: /usb/boot/initrd.sig
[0012.243] I> Loading initrd binary from rootfs ...
[0012.244] I> rootfs path: /usb/boot/initrd
[0012.704] I> overload load_size to 7236840 (from 7236848)
[0012.707] I> Validate initrd ...
[0012.707] I> T19x: Authenticate initrd (bin_type: 49), max size 0x4000000
[0012.773] I> Encryption fuse is not ON
[0012.787] I> Kernel hdr @0xa4ac0000
[0012.787] I> Kernel dtb @0x90000000
[0012.787] I> decompressor handler not found
[0012.787] I> Copying kernel image (34338824 bytes) from 0xa4ac0000 to 0x80080000 ... [0012.798] I> Done
[0012.799] I> Updated bpmp info to DTB
[0012.800] I> Ramdisk: Base: 0x92000000; Size: 0x6e6ce8
[0012.800] I> Updated initrd info to DTB
[0012.800] W> WARN: Fail to override "console=none" in commandline
[0012.801] I> Active rootfs suffix: 
[0012.803] E> tegrabl_linuxboot_add_disp_param, du 1 failed to get display params
[0012.810] E> tegrabl_linuxboot_add_disp_param, du 1 failed to get display params
[0012.818] I> Active slot suffix: _b
[0012.821] I> add_boot_slot_suffix: slot_suffix = _b
[0012.826] I> Linux Cmdline: console=ttyTCU0,115200 video=tegrafb no_console_suspend=1 earlycon=tegra_comb_uart,mmio32,0x0c168000 gpt rootfs.slot_suffix= tegra_fbmem=0x800000@0xa069f000 lut_mem=0x2008@0xa069a000 usbcore.old_scheme_first=1 tegraid=19.1.2.0.0 maxcpus=6 boot.slot_suffix=_b boot.ratchetvalues=0.4.2 vpr_resize sdhci_tegra.en_boot_part_access=1 
[0012.857] I> Updated bootarg info to DTB
[0012.861] W> MAC addr invalid!
[0012.864] E> Failed to get WIFI MAC address
[0012.868] W> MAC addr invalid!
[0012.871] E> Failed to get Bluetooth MAC address
[0012.875] I> eeprom_get_mac_addr: MAC (type: 2): 48:b0:2d:07:76:91
[0012.882] W> "plugin-manager" doesn't exist, creating
[0012.886] I> Adding /chosen/plugin-manager/cvm
[0012.890] W> "chip-id" doesn't exist, creating
[0012.895] I> Adding /chosen/plugin-manager/chip-id
[0012.899] W> "configs" doesn't exist, creating
[0012.903] I> Adding /chosen/plugin-manager/configs
[0012.908] W> "ids" doesn't exist, creating
[0012.912] I> Adding /chosen/plugin-manager/ids
[0012.917] W> "odm-data" doesn't exist, creating
[0012.921] I> Adding /chosen/plugin-manager/odm-data
[0012.928] W> "memory" doesn't exist, creating
[0012.930] I> [0] START: 0x80000000, END: 0xac000000
[0012.934] I> [1] START: 0xac004000, END: 0xf0ad0000
[0012.939] I> [2] START: 0xf0adc000, END: 0xf0ae0000
[0012.944] I> dram_block larger than 80000000
[0012.948] I> [3] START: 0x100000000, END: 0x280000000
[0012.953] I> added [base:0x80000000, size:0x2c000000] to /memory
[0012.959] I> added [base:0xac200000, size:0x44800000] to /memory
[0012.965] I> added [base:0x100000000, size:0x180000000] to /memory
[0012.971] I> Updated memory info to DTB
[0012.974] E> add_disp_param: failed to get display params for du=1
[0012.981] W> "reset" doesn't exist, creating
[0012.985] I> Adding ecid(00000001645df4441800000018010140) to DT
[0012.990] I> NVG: Logical CPU: 0; MPIDR: 0x80000000
[0012.995] I> NVG: Logical CPU: 1; MPIDR: 0x80000001
[0013.000] I> NVG: Logical CPU: 2; MPIDR: 0x80000100
[0013.004] I> NVG: Logical CPU: 3; MPIDR: 0x80000101
[0013.009] I> NVG: Logical CPU: 4; MPIDR: 0x80000200
[0013.014] I> NVG: Logical CPU: 5; MPIDR: 0x80000201
[0013.019] I> Deleted cpu@6 node in DT
[0013.022] I> Deleted cpu@7 node in DT
[0013.026] I> Deleted cluster3 node in FDT
[0013.030] I> Update arm-pmu in FDT
[0013.033] I> - update property: interrupts
[0013.037] I> - update property: interrupt-affinity
[0013.042] W> "misc-data" doesn't exist, creating
[0013.046] I> Boot-device: QSPI
[0013.049] W> Unknown boot device
[0013.052] I> Add storage-qspi to plugin-manager/misc-data
[0013.057] W> Unknown storage device
[0013.061] I> Add serial number:1421520055193 as DT property
[0013.067] I> Plugin-manager override starting
[0013.070] I> node /plugin-manager/fragment-pcie-c5-rp matches
[0013.077] I> node /plugin-manager/fragement-tegra-wdt-en matches
[0013.083] I> node /plugin-manager/fragement-tegra-sdhci-emmc-dis matches
[0013.090] I> Disable plugin-manager status in FDT
[0013.092] I> Plugin-manager override finished successfully
[0013.098] I> tegrabl_load_kernel_and_dtb: Done
[0013.102] I> QSPI: erasing sectors from 176 - 176
[0013.107] I> QSPI: recoverying tail blocks from 22536 - 22656
[0013.691] I> QSPI: erasing sectors from 177 - 177
[0013.691] I> QSPI: recoverying tail blocks from 22664 - 22784
[0014.295] I> Kernel EP: 0x80080000, DTB: 0x90000000
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.201-tegra (buildbrain@mobile-u64-5285-d7000) (gcc version 7.3.1 20180425 [linaro-7.3-2018.05 revision d29120a424ecfbc167ef90065c0eeb7f91977701] (Linaro GCC 7.3-2018.05) ) #1 SMP PREEMPT Fri Feb 19 08:42:04 PST 2021
[    0.000000] Boot CPU: AArch64 Processor [4e0f0040]
[    0.000000] OF: fdt:memory scan node memory, reg size 48,
[    0.000000] OF: fdt: - 80000000 ,  2c000000
[    0.000000] OF: fdt: - ac200000 ,  44800000
[    0.000000] OF: fdt: - 100000000 ,  180000000
[    0.000000] earlycon: tegra_comb_uart0 at MMIO32 0x000000000c168000 (options '')
[    0.000000] bootconsole [tegra_comb_uart0] enabled
[    0.000000] Found tegra_fbmem: 00800000@a069f000
[    0.000000] Found lut_mem: 00002008@a069a000
??WARNING: pll_d2 has no dyn ramp
??[    2.162620] imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
[    2.163120] imx219 9-0010: board setup failed
[    2.187075] imx219 10-0010: imx219_board_setup: error during i2c read probe (-121)
[    2.187451] imx219 10-0010: board setup failed
??WARNING: at platform/drivers/pg/pg-gpu-t194.c:185
WARNING: at platform/drivers/pg/pg-gpu-t194.c:185
??[    4.701925] cgroup: cgroup2: unknown option "nsdelegate"
??WARNING: at platform/drivers/pg/pg-gpu-t194.c:185
WARNING: at platform/drivers/pg/pg-gpu-t194.c:185
??[    6.214507] using random self ethernet address
[    6.214666] using random host ethernet address
[    6.472428] random: crng init done
[    6.472564] random: 7 urandom warning(s) missed due to ratelimiting
[   10.582899] using random self ethernet address
[   10.583056] using random host ethernet address

Ubuntu 18.04.5 LTS jetson-desktop ttyTCU0

jetson-desktop login:
```

</div></details>