7 Replies Latest reply on Apr 11, 2019 2:44 PM by jafoste4

    Ultra96 boots from AVNet's SD card but not mine

    rich_dubielzig_rbt

      I have an Ultra96 that boots to the GUI using the 16Gb SD card that came with the unit.

       

      When I create my own SD card that I've populated with my own code.  I cannot boot at all.

       

      The red "INIT_B" LED at DS7 stays lit and never switches to the green "DONE" LED at DS6.  I have a USB-to-JTAG/UART Pod for the device, but no serial traffic is detected.

       

      However, I don't believe that the board is even attempting to execute my code, because the same behavior is expressed when I copy the contents of the AVNet card's boot partition into my own card's boot partition.  In this situation I would at least expect an attempt to boot, followed by a dump of errors on the monitor due to library mismatches.

       

      Questions:

       

      1.  What is the meaning of the INIT_B and DONE LEDs?  They are not described in the Ultra96 HW User's Guide.  What software or firmware is responsible for turning on and off the LEDs?

       

      2.  Here are the results of fdisk -l run against my own SD card and the AVNet supplied card.  Does anything look wrong in the way it was formatted?

       

       

      Stock SD card:

       

      root@Ultra96:/var/run/media/mmcblk0p1# fdisk -l /dev/mmcblk0

      Disk /dev/mmcblk0: 14.9 GiB, 15931539456 bytes, 31116288 sectors

      Units: sectors of 1 * 512 = 512 bytes

      Sector size (logical/physical): 512 bytes / 512 bytes

      I/O size (minimum/optimal): 512 bytes / 512 bytes

      Disklabel type: dos

      Disk identifier: 0x32f37a38

       

       

      Device         Boot   Start      End  Sectors  Size Id Type

      /dev/mmcblk0p1 *       2048  2099199  2097152    1G  b W95 FAT32

      /dev/mmcblk0p2      2099200 16320511 14221312  6.8G 83 Linux

       

       

      My SD card:

       

      rich@rich-vbox ~/ultra96/u96_hackster/images/linux $ sudo fdisk -l /dev/sdb

      [sudo] password for rich:

      Disk /dev/sdb: 59.6 GiB, 64021856256 bytes, 125042688 sectors

      Units: sectors of 1 * 512 = 512 bytes

      Sector size (logical/physical): 512 bytes / 512 bytes

      I/O size (minimum/optimal): 512 bytes / 512 bytes

      Disklabel type: dos

      Disk identifier: 0x01f31e0a

       

       

      Device     Boot   Start       End   Sectors  Size Id Type

      /dev/sdb1  *       2048   2099199   2097152    1G  b W95 FAT32

      /dev/sdb2       2099200 125042687 122943488 58.6G 83 Linux

       

      Message was edited by: Rich Dubielzig Added fixed-width formatting to fdisk outputs