Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 29 Jul 2015 01:23 PM by  Greg Otto
u-boot crash
 5 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Greg Otto
New Member
New Member
Posts:6


--
28 Jul 2015 06:35 PM

     
    The DM3730 Zoom development kit is shipped with 3 compact flash disks.  The Linux Demo disk does not boot.   (Android Demo disk works fine.)   This is right out of the box, and I've searched all the documentation I can find.

     

    Here is the debug log:

     

    Texas Instruments X-Loader 1.42 BSP-dm37x-2.4-2 for dm3730logic (2013-06-18 15:59:36)
    DRAM: 256MB (MT29C4G48MAZAPAKQ5)
    Starting U-boot on MMC
    Reading boot sector
    Can't find u-boot; wait for JTAG debugger...
    X-Loader hangs 

     

    The only thing I can find is to repair the disk.   I've been trying to install VM SDK, but having difficulties.

    Is this supposed to work out of the box ??

     Please advise,

     

    bradb
    Basic Member
    Basic Member
    Posts:203


    --
    28 Jul 2015 07:26 PM
    Greg,

    Sorry to hear you are having problems.  Yes, the SD Card are supposed to work out of the box. 

    Please list the 102xxxx of the Development Kit and the 102xxxxx of the Linux SD Card in this forum post.  I will try to determine if this problem is isolated or not.

    It is easy to restore the SD Card.  Follow the steps documented in the DM37x Linux SD Card Demo Image ReadMe.

    On a Windows PC you can use the HP USB Disk Storage Format Tool instead of the Linux mkLogicFATcard.sh script.

    Here is the link for the DM37x Linux SD Card Demo Image.

    All these files are available on our DM37x Torpedo Product Webpage.

    After recreating the Linux SD Card if you have trouble loading the going back and forth between Android and Linux you might need to erase the u-boot configuration block in NAND.  Here is the command below which needs to be executed on the DM37x target while in u-boot. 

    OMAP Logic # nand erase.chip

    NAND erase.chip: device 0 whole chip
    Erasing at 0x1ffe0000 -- 100% complete.
    OK
    OMAP Logic #

    Let us know if you have any trouble getting this working.

    Thanks,

    Brad
    Greg Otto
    New Member
    New Member
    Posts:6


    --
    29 Jul 2015 12:01 PM

    Thanks, Brad, for a quick response.  

    We have purchased 2 Zoom Dev Kits from Digikey, and they both have the same issue with the Linux Demo Disks.   I booted into Logic Loader and mounted the Linux SD card using the command

    "mount fatfs /dev/sdmmc0a /sd"

    This mounts successfully, and the 5 files are present on the SD card, as described in the documentation.   Yet, LoLo complains that it cannot find u-boot.   The "U-BOOT.BIN" file is on the card.   I attempted to load it using LoLo "LOAD" command

    "load bin u-boot.bin"

    But this fails with the error message

    "error: load: file is not in Microsoft NK.bin format (u-boot.bin)"

     Please advise,

    Greg

    Greg Otto
    New Member
    New Member
    Posts:6


    --
    29 Jul 2015 12:56 PM

    The Dev Kit is # 1023989 Rev B, and the Linux SD card is # 1023978.

    I have 2 dev kits that have the same Linux problem.

    bradb
    Basic Member
    Basic Member
    Posts:203


    --
    29 Jul 2015 01:03 PM
    Greg,

    The 1023978 is the SD Card from the Linux DM37x v2.4-2 (kernel 3.0.0) release. The Linux DM37x v1.0 (kernel 2.6.32) was the last release that supported loading from Logic Loader. The error message you provided expects the NK.bin from a WinCE 6.0 build.

    I suspect if you copy the files to your host PC, reformat the SD Card with the HP USB 2.0.6 formatting tool and copy the files back (starting with the MLO file first) it will boot.

    The Linux DM37x v2.x.x releases uses X-loader (named MLO) and then u-boot instead of Logic Loader as the bootloader.

    Thanks,
    Brad
    Greg Otto
    New Member
    New Member
    Posts:6


    --
    29 Jul 2015 01:23 PM
    • Accepted Answer

    I copied the 5 files to my local drive, and re-formatted the Linux Demo SD card, with the HP USB Formatting Tool (using a Windows PC).   Then I copied the "MLO" file back to the SD card, followed by the remaining 4 files.   It now loads u-boot and Linux and runs the demo !!!  

    Everything is resolved.  Thanks for your help !

    You are not authorized to post a reply.