Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-60681

Boot2Qt image for Jetson TX1 does not boot by default

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.0 Beta 4
    • 5.9.0 Beta 3
    • Device Creation
    • None

    Description

      The Boot2qt image for the Jetson TX1 uses an MS-DOS boot sector:

      file ~/Qt-test/5.9/Boot2Qt/jetson-tx1/images/b2qt-embedded-qt5-image-jetson-tx1.img
      /home/kakoehne/Qt-test/5.9/Boot2Qt/jetson-tx1/images/b2qt-embedded-qt5-image-jetson-tx1.img: DOS/MBR boot sector
      

      This does not work with the boot loader I have on my Jetson TX1.

      Reformatting the sd card with a gpt partition table fixes this

      $ sudo fdisk /dev/mmcblk0
      
      Welcome to fdisk (util-linux 2.28).
      Changes will remain in memory only, until you decide to write them.
      Be careful before using the write command.
      
      
      Command (m for help): g
      Created a new GPT disklabel (GUID: 8A2869D7-D23D-47F6-913B-951656438518).
      
      Command (m for help): n
      Partition number (1-128, default 1): 
      First sector (2048-31422430, default 2048): 
      Last sector, +sectors or +size{K,M,G,T,P} (2048-31422430, default 31422430): +2800000
      
      Created a new partition 1 of type 'Linux filesystem' and of size 1.3 GiB.
      
      Command (m for help): w
      The partition table has been altered.
      Calling ioctl() to re-read partition table.
      Syncing disks.
      
      $ kpartx -a /home/kakoehne/Qt-test/5.9/Boot2Qt/jetson-tx1/images/b2qt-embedded-qt5-image-jetson-tx1.img 
      device-mapper: table ioctl on loop5 failed: No such device or address
      $ dd if=/dev/mapper/loop1p1 of=/dev/mmcblk0p1
      2797568+0 records in
      2797568+0 records out
      1432354816 bytes (1.4 GB, 1.3 GiB) copied, 201.734 s, 7.1 MB/s
      
      
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sapiippo Samuli Piippo
            kkohne Kai Köhne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes