Changes between Version 3 and Version 4 of venice/bootloader


Ignore:
Timestamp:
04/19/2024 10:34:41 PM (3 weeks ago)
Author:
Ryan Erbstoesser
Comment:

add troubleshooting section for nvme

Legend:

Unmodified
Added
Removed
Modified
  • venice/bootloader

    v3 v4  
    6060
    6161If you wish to select a different boot device priority you can adjust boot_targets. For example:
    62  * boot from NVMe (nvme dev 0)
     62 * Boot from NVMe (nvme dev 0)
    6363{{{#!bash
    6464# flash your disk image to the NVMe device
     
    7575setenv boot_targets nvme0
    7676saveenv
     77#now reset the board and let it boot to NVMe
     78reset
     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{{{
     84u-boot=> nvme devices # show NVMe devices; should show your device
     85
     86IDE 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
     90u-boot=> part list nvme 0 # show the partition table on nvme device 0
     91
     92Partition Map for NVMe device 0  --   Partition Type: DOS
     93
     94Part    Start Sector    Num Sectors     UUID            Type
     95  1     32768           117198640       a7d49245-01     83 Boot
     96
     97u-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
    77105}}}
    78106 * boot from microSD (mmc dev 1)