| 77 | #now reset the board and let it boot to NVMe |
| 78 | reset |
| 79 | }}} |
| 80 | |
| 81 | * Troubleshooting: |
| 82 | * There must be a bootable partition and a boot script. In the example here you see we have an NVME device, it has a partition that is flagged as bootable (Type=83 Boot), and has a boot.scr in its /boot directory |
| 83 | {{{ |
| 84 | u-boot=> nvme devices # show NVMe devices; should show your device |
| 85 | |
| 86 | IDE device 0: Vendor: 0x10ec Rev: 0426-D00 Prod: 60272-0005 |
| 87 | Type: Hard Disk |
| 88 | Capacity: 57241.8 MB = 55.9 GB (117231408 x 512) |
| 89 | |
| 90 | u-boot=> part list nvme 0 # show the partition table on nvme device 0 |
| 91 | |
| 92 | Partition Map for NVMe device 0 -- Partition Type: DOS |
| 93 | |
| 94 | Part Start Sector Num Sectors UUID Type |
| 95 | 1 32768 117198640 a7d49245-01 83 Boot |
| 96 | |
| 97 | u-boot=> ls nvme 0:1 /boot # list files on nvme device 0 partition 1 |
| 98 | <DIR> 4096 . |
| 99 | <DIR> 4096 .. |
| 100 | 51836 imx8mm-venice-gw73xx-0x.dtb |
| 101 | 31556096 Image |
| 102 | 11414268 kernel.itb |
| 103 | 2244 boot.scr |
| 104 | |