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 28 Jul 2008 07:35 AM by  richard.laborde@logicpd.com
LoLo can't mount CF: "bad magic"
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

jimtrethewey



New Member


Posts:
New Member


--
25 Jul 2008 04:25 PM
    HW: LiteKit w/ i.MX31 SOM.
    LoLo: Version 2.3.5-IMX31_10 0001

    My first out-of-box experience; trying to load sample WinCE5 NK.BIN image ("imx31_sample_image_03072008").

    Only was able to "mount fatfs /cf" once, all other times have failed with "bad magic" message.

    CF cards tried:
    SanDisk 30MB CF (too small to hold sample NK.BIN, but tried it anyway)
    SanDisk 256MB CF
    Lexar 2GB CF Platinum II 80x
    SanDisk 8GB CF Extreme III (I think this one failed because it's FAT32, not FAT16)
    I am formatting these using Windows XP with a Kingston FCR-HS219/1 USB dongle.
    My only (other) available WinCE device is an HP iPAQ with SD instead of CF.

    Sample output:

    *****************************************************************

    LogicLoader

    (c) Copyright 2002-2006, Logic Product Development, Inc.
    All Rights Reserved.
    Version 2.3.5-IMX31_10 0001
    *****************************************************************

    losh> mount fatfs /cf

    *****************************************************************
    ..................

    fatfs_init: bad partition magic (40 a8)
    0x8005d588 e0 30 c0 8c c0 bc 00 7c 80 f4 40 04 40 1c e0 fc .0.....|..@.@...................
    0x8005d598 a0 00 00 b8 00 00 e0 a4 e0 1c 00 00 00 bc a0 04 ......................................
    0x8005d5a8 a0 04 80 3c 80 74 00 80 20 00 60 1c 80 c4 00 fc ...<.t.. .`.................................
    0x8005d5b8 c0 74 e0 cc 00 88 00 88 40 00 80
    0x8005d5d8 40 b8 00 00 a0 0c c0 10 40 e8 e0 e8 e0 bc 00 00 @.......@................
    0x8005d5e8 a0 00 60 b8 00 00 40 cc 00 5c 60 0c 20 c0 c0 10 ..`...@..\`. .........
    0x8005d5f8 40 74 e0 bc a0 04 e0 d0 a0 c0 00 bc e0 7c 80 3c @t...........|.<.....................
    0x8005d608 40 a8 60 c4 80 f4 e0 00 60 00 00 48 60 74 60 6c @.`.....`..H`t`l...........................
    0x8005d618 60 64 20 70 60 70 60 68 60 68 60 6c 20 74 60 60 `d p`p`h`h`l t``.................................
    0x8005d628 60 64 00 44 60 70 60 70 20 6c 60 60
    0x8005d638 20 6c 60 64 60 60 60 68 60 64 20 70 60 70 60 64 l`d```h`d p`p`d...
    0x8005d648 60 00 40 68 60 70 60 6c 60 20 60 70 60 70 60 74 `.@h`p`l`
    0x8005d658 60 6c 60 20 60 78 60 74 60 6c 00 00 00 00 00 00 `l` `x`t`l.....................
    0x8005d668 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .....................................
    0x8005d678 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...........................................
    0x8005d688 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .................................................
    0x8005d698 00 00 00 00 00 00 00 00 00 00 00 00
    0x8005d6a8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x8005d6b8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...................
    0x8005d6c8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x8005d6d8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x8005d6e8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x8005d6f8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x8005d708 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
    0x8005d718 00 00 00 00 00 00 00 00 00 00 00
    0x8005d728 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...................
    0x8005d738 00 00 00 00 00 00 00 00 a0 74 20 f4 00 00 80 00 .........t ..............
    0x8005d748 00 00 00 0c e0 d0 20 00 00 00 e0 a4 00 00 00 00 ...... ........................
    0x8005d758 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .....................................
    0x8005d768 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...........................................
    0x8005d778 00 00 00 00 00 00 00 00 00 00 00 00 00 00 40 a8 ..............@..................................
    error: mount: unable to mount (/)

    losh>

    I also get a lot of these:

    *****************************************************************

    LogicLoader

    (c) Copyright 2002-2006, Logic Product Development, Inc.
    All Rights Reserved.
    Version 2.3.5-IMX31_10 0001
    *****************************************************************

    losh> mount fatfs /cf
    pipr: 00000162; Card is busy; will not talk
    error: mount: failed to open (ATA)
    losh>

    richard.laborde@logicpd.com



    Basic Member


    Posts:247
    Basic Member


    --
    28 Jul 2008 07:35 AM
    Jim,

    If you have an 8130 you should update LoLo to 2.4.x.
    Since you have registered your kit, you can find the newest version available on the i.MX31 downloads page on our web site.
    Please also review the PCNs available there for any other recommendations with respect to your specific hardware.

    Thanks

    Richard
    You are not authorized to post a reply.