Go to previous topic
Go to next topic
Last Post 14 Jan 2011 07:57 AM by  richard.laborde@logicpd.com
What happened to part-write imx31 LoLo command?
 2 Replies
Author Messages
ernperkins
New Member
New Member
Posts:1


--
12 Jan 2011 09:52 AM
    I inherited the following SOM setup code that worked on an older version of LoLo :

    erase /dev/nand0 B1 B256
    part-add /dev/nand0 b 1 256
    part-write /dev/nand0

    LoLo version "2.4.12-IMX31_10 0001" doesn't understand the 'part-write" command. How do I write the partition so it remains after a power cycle?

    Thanks,
    Ed Perkins
    richard.laborde@logicpd.com
    Basic Member
    Basic Member
    Posts:247


    --
    13 Jan 2011 08:31 AM
    Ed,
    Instructions for YAFFS usage in LoLo 2.4.0 and above can be found in the LoLo Command description manual http://support.logicpd.co...mand_Description.pdf

    or by reviewing the LoLo Labs - http://support.logicpd.co..._iMX31_LoLo_Labs.pdf - File Systems

    Partitions are now persistent, the part write command is no longer supported. You would mount the yaffs partition with the mount yaffs command.

    I hope that helps.
    richard.laborde@logicpd.com
    Basic Member
    Basic Member
    Posts:247


    --
    14 Jan 2011 07:57 AM
    Ed,

    I'd need to see the whole script - you could send it to the Ask A Question if you don't want it on the forum - to be able to see exactly what needs to change besides removing the part-write command.

    If you have a script running when the device boots to set up yaffs and load and execute an image, then the

    part-add ...
    mount yaffs ...

    combination should get you access to the files that are in flash.
    Thanks


    ---