Go to previous topic
Go to next topic
Last Post 30 Mar 2008 03:11 PM by  bvmagaldi
how to create
 1 Replies
Author Messages
norbertg
New Member
New Member
Posts:


--
28 Mar 2008 04:44 AM
    hello

    i want to create 2 partitions in NAND flash:
    2MB YAFFS
    62MB JFFS2
    i have now the second one but when i try to make the YAFFS partition i got this:
    *****************************************************************

    LogicLoader

    (c) Copyright 2002-2006, Logic Product Development, Inc.
    All Rights Reserved.
    Version 2.4.0RC1-IMX27_10 0001
    *****************************************************************

    losh> erase B0 B128 /dev/nand0
    erasing nand: 100%
    erased '/dev/nand0' start=0x0: len=0x80 bytes/blocks
    erase succeded
    losh> add-yaffs boot nand B0 B128
    add-yaffs: inserted: start B0 - len B128
    losh> mount yaffs /boot
    error: mount: wrong number of arguments
    losh> help mount
    usage:
    mount <fstype> <device> <mpoint>
    fstype can be fatfs, yaffs, emu

    mount filesystem of type <fstype> on device <device> at <mpoint>

    example: mount fatfs /dev/ata0 /cf
    mount emu /dev/flash0A /e1
    mount yaffs /e1 /yp
    losh> mount yaffs /dev/nand0 /boot
    **>> yaffs: 128 0 unknown pageStatus 0x18
    **>> yaffs: 128 1 unknown pageStatus 0x93
    **>> yaffs: 130 0 unknown pageStatus 0x18
    **>> yaffs: 130 1 unknown pageStatus 0x93
    **>>ecc error fix performed on chunk 4164:0
    **>>ecc error fix performed on chunk 4164:1
    **>>Block 130 marked for retirement
    .....

    how should i do it?
    and why mount cmd is different from manual?

    Norb.
    bvmagaldi
    New Member
    New Member
    Posts:


    --
    30 Mar 2008 03:11 PM
    Hi

    Take a look at viewtopic.php?f=29&t=1222 thread.
    It works for me.

    Bruno V Magaldi
    --
    LabDev


    ---