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.

Problem for booting up through NAND Flash File System , OMAP 35x EVM

4667.boot_log_new.txt

0435.uboot_param_new.txt

We just updated the Kernel & NAND Flash File System to the newest version afford by TI (dvsdk_3_00_02_44 & OMAP35x-PSP-SDK-02.01.03.11), we use the pre-built images and got failed when booting up .

But I can boot it up though NFS, only failed through NAND Flash File System.

I've tried different version of DVSDK & PSP, they all have the similar problem.

Any advice would help!

Thanks!

 

 

Here's part of error message is, the full boot log and env settings is included in the attachement.

------------------------------------------------------------------------



...

...

<4>Empty flash at 0x0000fffc ends at 0x00010000
Empty flash at 0x0000fffc ends at 0x00010000
<4>Empty flash at 0x0002fffc ends at 0x00030000
Empty flash at 0x0002fffc ends at 0x00030000
<4>Empty flash at 0x0004fffc ends at 0x00050000
Empty flash at 0x0004fffc ends at 0x00050000
<4>Empty flash at 0x0006ffd8 ends at 0x00070000
Empty flash at 0x0006ffd8 ends at 0x00070000
<4>Empty flash at 0x0008fffc ends at 0x00090000
Empty flash at 0x0008fffc ends at 0x00090000
<4>Empty flash at 0x000cfffc ends at 0x000d0000
Empty flash at 0x000cfffc ends at 0x000d0000
<4>Empty flash at 0x000efffc ends at 0x000f0000
Empty flash at 0x000efffc ends at 0x000f0000
<4>Empty flash at 0x0010fffc ends at 0x00110000
Empty flash at 0x0010fffc ends at 0x00110000
<4>Empty flash at 0x0012fffc ends at 0x00130000
Empty flash at 0x0012fffc ends at 0x00130000
<4>Empty flash at 0x0014fffc ends at 0x00150000
Empty flash at 0x0014fffc ends at 0x00150000
<4>Empty flash at 0x0018fffc ends at 0x00190000
Empty flash at 0x0018fffc ends at 0x00190000
<4>Empty flash at 0x001cfffc ends at 0x001d0000
Empty flash at 0x001cfffc ends at 0x001d0000
<4>Empty flash at 0x001efffc ends at 0x001f0000
Empty flash at 0x001efffc ends at 0x001f0000
<4>Empty flash at 0x0020fffc ends at 0x00210000
Empty flash at 0x0020fffc ends at 0x00210000
<4>Empty flash at 0x0022fffc ends at 0x00230000
Empty flash at 0x0022fffc ends at 0x00230000
<4>Empty flash at 0x0024fffc ends at 0x00250000
Empty flash at 0x0024fffc ends at 0x00250000
<4>Empty flash at 0x0026fffc ends at 0x00270000
Empty flash at 0x0026fffc ends at 0x00270000
<4>Empty flash at 0x0028fffc ends at 0x00290000
Empty flash at 0x0028fffc ends at 0x00290000
<4>Empty flash at 0x002afffc ends at 0x002b0000
Empty flash at 0x002afffc ends at 0x002b0000
<4>Empty flash at 0x002efffc ends at 0x002f0000
Empty flash at 0x002efffc ends at 0x002f0000
<4>Empty flash at 0x0030fffc ends at 0x00310000
Empty flash at 0x0030fffc ends at 0x00310000
<4>Empty flash at 0x0032fffc ends at 0x00330000
Empty flash at 0x0032fffc ends at 0x00330000
<4>Empty flash at 0x0034fffc ends at 0x00350000
Empty flash at 0x0034fffc ends at 0x00350000
<4>Empty flash at 0x0036fffc ends at 0x00370000
Empty flash at 0x0036fffc ends at 0x00370000
<4>Empty flash at 0x0038ffa4 ends at 0x00390000
Empty flash at 0x0038ffa4 ends at 0x00390000
<3>uncorrectable error : uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <4>mtd->read(0x400 bytes from 0x6000000) returned ECC error
<4>mtd->read(0x400 bytes from 0x6000000) returned ECC error
<3>uncorrectable error : uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error :r
<4>mtd->read(0x1fc08 bytes from 0x60003f8) returned ECC error
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06000448: 0x0040 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06000448: 0x0040 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060007e4: 0x4000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060007e4: 0x4000 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06000d18: 0x2000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06000d18: 0x2000 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06000e60: 0x0010 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06000e60: 0x0010 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060010ac: 0x0008 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060010ac: 0x0008 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06001180: 0x0001 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06001180: 0x0001 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06001540: 0x8000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06001540: 0x8000 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06001ba0: 0x0010 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06001ba0: 0x0010 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060020d0: 0x0400 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060020d0: 0x0400 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060022a0: 0x0008 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060022a0: 0x0008 instead
<5>Further such events for this erase block will not be printed
Further such events for this erase block will not be printed
<3>uncorrectable error : uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <4>mtd->read(0x400 bytesr
<4>mtd->read(0x400 bytes from 0x6020000) returned ECC error
<3>uncorrectable error : uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error :r
<4>mtd->read(0x1fc08 bytes from 0x60203f8) returned ECC error
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060207f8: 0x1000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060207f8: 0x1000 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060208a4: 0x0001 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060208a4: 0x0001 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06020bbc: 0x2000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06020bbc: 0x2000 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06020d38: 0x0001 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06020d38: 0x0001 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06020f54: 0x4000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06020f54: 0x4000 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060212b0: 0x8000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060212b0: 0x8000 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060219dc: 0x0001 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060219dc: 0x0001 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06021adc: 0x0200 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06021adc: 0x0200 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06021b00: 0x0002 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06021b00: 0x0002 instead
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06021edc: 0x0002 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06021edc: 0x0002 instead
<5>Further such events for this erase block will not be printed
Further such events for this erase block will not be printed
<3>uncorrectable error : uncorrectable error : <4>mtd->read(0x400 bytes from 0x6040000) returned ECC error
<4>mtd->read(0x400 bytes from 0x6040000) returned ECC error
<5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060402c4: 0x4000 instead
jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060402c4: 0x4000 instead
<3>uncorrectable error : uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error :?

...

...


------------------------------------------------------------------------

 

 

 

  • Xi,

     

    Post your Uboot configuration.  It would appear there is something wrong with either your ram disk image or it is not load into flash correctly, or it is not loading from flash into RAM correctly.

     

    I haven't tried the RAM with this version(yet) but I had it working with a older version a while ago.

     

    -msj

  • Hi  Xi,

    Sorry I didn't see you had already posted both of these.

    -msj

  • Are you trying to boot with a NAND Flash file system, or Ram Disk File System? 

    You need to make sure you only program the flash with either a Flash file system( rootfs.jffs2) or the ramdisk file system(ramdisk.gz) then boot using boot_fs for the jffs file system or boot_rd for the ram disk file system.  Your 6886.env-setting.txt indicates you are using the boot_rd command and the system is trying to load the ramdisk.gz image from the flash into ram, and then tries to use the ram image as the file system.  In your case the image in ram is not a valid file system.  Maybe you have the wrong image(ramdisk.gz) in the flash?  or Maybe you wanted to boot_fs and use a file system in the flash?

  • Hi msj,

    Thanks for you reply.

    Sorry for my mistake, actually I'm trying to boot with a NAND Flash File System.

    I correct the boot log & uboot envs in my first post.

    And the error in booting is also changed to :

    "

    ......

    <4>Empty flash at 0x0000fffc ends at 0x00010000
    Empty flash at 0x0000fffc ends at 0x00010000
    <4>Empty flash at 0x0002fffc ends at 0x00030000
    Empty flash at 0x0002fffc ends at 0x00030000
    <4>Empty flash at 0x0004fffc ends at 0x00050000
    Empty flash at 0x0004fffc ends at 0x00050000
    <4>Empty flash at 0x0006ffd8 ends at 0x00070000
    Empty flash at 0x0006ffd8 ends at 0x00070000
    <4>Empty flash at 0x0008fffc ends at 0x00090000
    Empty flash at 0x0008fffc ends at 0x00090000
    <4>Empty flash at 0x000cfffc ends at 0x000d0000
    Empty flash at 0x000cfffc ends at 0x000d0000
    <4>Empty flash at 0x000efffc ends at 0x000f0000
    Empty flash at 0x000efffc ends at 0x000f0000
    <4>Empty flash at 0x0010fffc ends at 0x00110000
    Empty flash at 0x0010fffc ends at 0x00110000
    <4>Empty flash at 0x0012fffc ends at 0x00130000
    Empty flash at 0x0012fffc ends at 0x00130000
    <4>Empty flash at 0x0014fffc ends at 0x00150000
    Empty flash at 0x0014fffc ends at 0x00150000
    <4>Empty flash at 0x0018fffc ends at 0x00190000
    Empty flash at 0x0018fffc ends at 0x00190000
    <4>Empty flash at 0x001cfffc ends at 0x001d0000
    Empty flash at 0x001cfffc ends at 0x001d0000
    <4>Empty flash at 0x001efffc ends at 0x001f0000
    Empty flash at 0x001efffc ends at 0x001f0000
    <4>Empty flash at 0x0020fffc ends at 0x00210000
    Empty flash at 0x0020fffc ends at 0x00210000
    <4>Empty flash at 0x0022fffc ends at 0x00230000
    Empty flash at 0x0022fffc ends at 0x00230000
    <4>Empty flash at 0x0024fffc ends at 0x00250000
    Empty flash at 0x0024fffc ends at 0x00250000
    <4>Empty flash at 0x0026fffc ends at 0x00270000
    Empty flash at 0x0026fffc ends at 0x00270000
    <4>Empty flash at 0x0028fffc ends at 0x00290000
    Empty flash at 0x0028fffc ends at 0x00290000
    <4>Empty flash at 0x002afffc ends at 0x002b0000
    Empty flash at 0x002afffc ends at 0x002b0000
    <4>Empty flash at 0x002efffc ends at 0x002f0000
    Empty flash at 0x002efffc ends at 0x002f0000
    <4>Empty flash at 0x0030fffc ends at 0x00310000
    Empty flash at 0x0030fffc ends at 0x00310000
    <4>Empty flash at 0x0032fffc ends at 0x00330000
    Empty flash at 0x0032fffc ends at 0x00330000
    <4>Empty flash at 0x0034fffc ends at 0x00350000
    Empty flash at 0x0034fffc ends at 0x00350000
    <4>Empty flash at 0x0036fffc ends at 0x00370000
    Empty flash at 0x0036fffc ends at 0x00370000
    <4>Empty flash at 0x0038ffa4 ends at 0x00390000
    Empty flash at 0x0038ffa4 ends at 0x00390000
    <3>uncorrectable error : uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <4>mtd->read(0x400 bytes from 0x6000000) returned ECC error
    <4>mtd->read(0x400 bytes from 0x6000000) returned ECC error
    <3>uncorrectable error : uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error :r
    <4>mtd->read(0x1fc08 bytes from 0x60003f8) returned ECC error
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06000448: 0x0040 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06000448: 0x0040 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060007e4: 0x4000 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060007e4: 0x4000 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06000d18: 0x2000 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06000d18: 0x2000 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06000e60: 0x0010 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06000e60: 0x0010 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060010ac: 0x0008 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060010ac: 0x0008 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06001180: 0x0001 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06001180: 0x0001 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06001540: 0x8000 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06001540: 0x8000 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06001ba0: 0x0010 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06001ba0: 0x0010 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060020d0: 0x0400 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060020d0: 0x0400 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060022a0: 0x0008 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060022a0: 0x0008 instead
    <5>Further such events for this erase block will not be printed
    Further such events for this erase block will not be printed
    <3>uncorrectable error : uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <4>mtd->read(0x400 bytesr
    <4>mtd->read(0x400 bytes from 0x6020000) returned ECC error
    <3>uncorrectable error : uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error :r
    <4>mtd->read(0x1fc08 bytes from 0x60203f8) returned ECC error
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060207f8: 0x1000 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060207f8: 0x1000 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060208a4: 0x0001 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060208a4: 0x0001 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06020bbc: 0x2000 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06020bbc: 0x2000 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06020d38: 0x0001 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06020d38: 0x0001 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06020f54: 0x4000 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06020f54: 0x4000 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060212b0: 0x8000 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060212b0: 0x8000 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060219dc: 0x0001 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060219dc: 0x0001 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06021adc: 0x0200 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06021adc: 0x0200 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06021b00: 0x0002 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06021b00: 0x0002 instead
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06021edc: 0x0002 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x06021edc: 0x0002 instead
    <5>Further such events for this erase block will not be printed
    Further such events for this erase block will not be printed
    <3>uncorrectable error : uncorrectable error : <4>mtd->read(0x400 bytes from 0x6040000) returned ECC error
    <4>mtd->read(0x400 bytes from 0x6040000) returned ECC error
    <5>jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060402c4: 0x4000 instead
    jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x060402c4: 0x4000 instead
    <3>uncorrectable error : uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <3>uncorrectable error :?

    "

  • Hi msj,

    I got it solved.

    The main error is

    "<3>uncorrectable error : uncorrectable error : <3>uncorrectable error : <3>uncorrectable error : <4>mtd->read(0x400 bytes from 0x6000000) returned ECC error"

    Normally I only use 780000 - 6000000 for NAND Flash Filesys, so  I think maybe I the rest of NAND still need to be initialized. (I'm not sure, point my mistake if I'm wrong, thanks~)

    I use "nand erase 6000000 A000000" and it works.

    Thanks you anyway :)

    Regards,

    Xi

  • Hello Xi,

     

    I'm glad you solved the issue!

     

    -msj