This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

nand flashing for devkit8000,update the filesystem for devkit8000

Hii

 

I'm trying to update the filesystem for devkit8000.The image for file system is ubi.img.I am following steps given in the user manual . The problem is complete filesystem is not updated.I'm unable to get devkit8000 as login.

Plz help...

 

 

UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size:   103348224 bytes (100926 KiB, 98 MiB, 801 LEBs)
UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format:       4 (latest is 4)
UBIFS: default compressor: LZO
UBIFS: reserved for root:  0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem).
Freeing init memory: 156K
init started: BusyBox v1.9.1 (2008-10-17 18:20:44 IST)
starting pid 488, tty '': '/etc/init.d/rcS'

    System initialization...

    Hostname       : OMAP3EVM
    Filesystem     : v1.0.2

    Kernel release : Linux 2.6.28-rc9-omap1
    Kernel version : #1 Thu May 13 18:43:06 CST 2010

 Mounting /proc             : [SUCCESS]
 Mounting /sys              : [SUCCESS]
 Mounting /dev              : [SUCCESS]
 Mounting /dev/pts          : [SUCCESS]
 Enabling hot-plug          : [SUCCESS]
 Populating /dev            : [SUCCESS]
 Disabling Power mgmt       : /etc/init.d/rcS: line 82: cannot create /sys/power
/cpuidle_deepest_state: nonexistent directory
[FAILED]
... System init aborted.

Please press Enter to activate this console.

starting pid 513, tty '': '/bin/sh'

    Setting shell environment ...
    - Path
    - Aliases
    - Touchscreen

    Done!

[root@OMAP3EVM /]#

  • Can you write the complete steps here?

    And exact problem?

    As per the log, you UBIFS has been successfully mounted? And you have a shell prompt as well.

    I do  notice few errors, but they should most likely be due to differences between the filesystem and kernel configuration.

  • Hii

    My kernel got corrupted and and I'm flashing the nand according to steps given in user manual for devkit 8000

    Till the updation of kernel image every thing is fine.The problem is during updation of file system.

    These are the following steps I'm following to update the filesystem:

    mmcinit

    fatload mmc 0:1 81400000 ubi.img

    nand unlock

    nand ecc sw

    nand erase 680000 7980000

    nand write.i 81400000 680000 $(filesize)

    After successfully executing these steps I'm getting the login as

     

    UBIFS: recovery needed
    UBIFS: recovery completed
    UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    UBIFS: file system size:   103348224 bytes (100926 KiB, 98 MiB, 801 LEBs)
    UBIFS: journal size:       9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
    UBIFS: media format:       4 (latest is 4)
    UBIFS: default compressor: LZO
    UBIFS: reserved for root:  0 bytes (0 KiB)
    VFS: Mounted root (ubifs filesystem).
    Freeing init memory: 156K
    init started: BusyBox v1.9.1 (2008-10-17 18:20:44 IST)
    starting pid 488, tty '': '/etc/init.d/rcS'

        System initialization...

        Hostname       : OMAP3EVM
        Filesystem     : v1.0.2

        Kernel release : Linux 2.6.28-rc9-omap1
        Kernel version : #1 Thu May 13 18:43:06 CST 2010

     Mounting /proc             : [SUCCESS]
     Mounting /sys              : [SUCCESS]
     Mounting /dev              : [SUCCESS]
     Mounting /dev/pts          : [SUCCESS]
     Enabling hot-plug          : [SUCCESS]
     Populating /dev            : [SUCCESS]
     Disabling Power mgmt       : /etc/init.d/rcS: line 82: cannot create /sys/power
    /cpuidle_deepest_state: nonexistent directory
    [FAILED]
    ... System init aborted.

    Please press Enter to activate this console.

    starting pid 513, tty '': '/bin/sh'

        Setting shell environment ...
        - Path
        - Aliases
        - Touchscreen

        Done!

    [root@OMAP3EVM /]#

    But I need devkit loigin.It should appear as

    Tue Jan 27 19:18:00 UTC 2009
     start aging test...
    interval = 86400 second
    INIT: Entering runlevel: 5
    Starting syslogd/klogd: done
     start aging test...
    interval = 86400 second

    .-------.
    |       |                  .-.
    |   |   |-----.-----.-----.| |   .----..-----.-----.
    |       |     | __  |  ---'| '--.|  .-'|     |     |
    |   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
    '---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                    -'  |
                    '---'

    The Angstrom Distribution DevKit8000 ttyS2

    Angstrom 2008.1-test-20090127 DevKit8000 ttyS2

    DevKit8000 login:

     

    I feel that filesystem is not completely updated..Plz help..

     

  • hi,i had the same problem with you ,have you solve this problem?? if you have solved ,can you give me some suggestion?? thank you !!