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 23 Apr 2013 02:24 PM by  tamotsu
LITB 2.3-2 Flashtool, random NAND error
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
tamotsu
New Member
New Member
Posts:3


--
11 Apr 2013 11:26 AM
    Hi,

    Can anybody tell me a bit more about these items found in the LTIB 2.3-2 Release Notes?

    --) [DM37LINUX-737] Fixed random NAND bit errors

    I always feel like NAND on the SOM has is not reliable, but does this "fix" improve the reliability?


    --) [DM37LINUX-788] Created flashtool utility to program X-Loader from Linux

    What is the name of this tool? Is it "flashtool"? How can I use it?
    I selected "flashtool ---->" in LTIB's "Package list" but I got the following message when building LTIB:

    Processing: flashtool
    =======================
    can't find spec file for flashtool
    traceback:
    main::build_rpm:878
    main::f_buildrpms:1274
    main:632


    Is there a place I can look up the details of these items? You have item# numbers, so you must have bug tracking database somewhere.

    Thanks,
    tamotsu
    jemiah.a@logicpd.com
    New Member
    New Member
    Posts:10


    --
    15 Apr 2013 02:07 PM
    Hi Tamotsu,
    It looks like the spec file was missing from the release. Sorry about that. This will be addressed in the next release. In the mean time please download and apply the following patch:
    https://s3.amazonaws.com/LogicPDTDG/flashtool.patch

    Apply this in the LTIB dir:
    .../logic/Logic_BSPs/Linux_3.0/REL-ltib-DM3730-2.3-2

    and then rebuild. The tool will be automatically added to the file system:

    DM-37x# flashtool
    Must supply mtd device name
    Must supply length if not writing
    Must set either -w or -e.
    Must supply start offset

    flashtool - erase/write MTD NAND flash

    Usage:
    flashtool [OPTIONS] mtd-device [image-file]

    mtd-device Target MTD partition in mtdX or /dev/mtdX format
    image-file Source data if writing
    OPTIONS:
    -d, --debug Enable debug
    -w, --write Write image-file
    -e, --erase Erase blocks; with -w, erase-before-write
    -s, --start x Offset from partition start, in bytes
    -l, --length x In bytes, else input file length is used
    --failbad Fail if any bad block is found
    --maxoff x Do not go above this absolute offset
    --legacy Write legacy infix OOB layout
    --dm365-rbl Write DM365 RBL compatible OOB layout
    --hamming Write OMAP Hamming OOB layout
    --ubi UBI writing: per block, skip trailing all-FF pages
    -q, --quiet

    DM-37x#
    tamotsu
    New Member
    New Member
    Posts:3


    --
    23 Apr 2013 02:24 PM
    Thanks, this patch worked.
    You are not authorized to post a reply.