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 using DM365 EVM



Hi all,

I just got a DM365 EVM but I do not have the SD card for it, so I re-created a SD card following the SDG document inside the DVSDK tarball,

but when I tried to boot my EVM using this SD card, I got the following error message, any one can help? Thanks.

___________________________________________________

Net:   Ethernet PHY: GENERIC @ 0x00

DaVinci-EMAC

Hit any key to stop autoboot:  0

[ ST0 ERROR 80]

[ ST0 ERROR 80]

[ ST0 ERROR 8]

** Can't read from device 0 **

 

** Unable to use mmc 0:1 for fatload **

Wrong Image Format for bootm command

ERROR: can't get kernel image!

_____________________________________________

Best Regards,

Suxuemin

  • Pl check bootargs, based on SD/MMC setup, you need to change bootargs accordingly.

  • Thanks. The parameters of U-Boot is as follows. Could you please help me check if someting is wrong?

    As I know, 'bootargs' is passed to kernel by U-Boot, and U-Boot does not depend on it to do things.

    It seems that U-Boot can not fatload kernel from SD card.

    And I saw others use 'mmcinit' command but it's not available in my U-Boot, is this the problem?

    ________________________________________________________________

    DM36x EVM # print

    baudrate=115200

    bootargs=console=ttyS0,115200n8 rw mem=54M video=davincifb:vid0=OFF:vid1=OFF:osd

    0=720x576x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=4 vpfe_capt

    ure.cont_bufsize=6291456 davinci_enc_mngr.ch0_output=COMPONENT davinci_enc_mngr.

    ch0_mode=480P-60 root=/dev/mmcblk0p2 rootwait ip=off

    bootcmd=mmc rescan 0; fatload mmc 0 0x80700000 uImage; bootm 0x80700000

    bootdelay=3

    bootfile="uImage"

    ethact=DaVinci-EMAC

    ethaddr=00:0e:99:02:cb:d7

    ipaddr=192.168.1.100

    netmask=255.255.255.0

    serverip=192.168.1.101

    stderr=serial

    stdin=serial

    stdout=serial

    ver=U-Boot 2010.12-rc2 (Mar 24 2011 - 19:27:17)

    ________________________________________________________________

  • Once u-boot comes up, you might want to try mmc commands to find out about SD/MMC card.

  • I tried this command:

    DM365 EVM # mmc part 0

    [ ST0 ERROR 80]

    [ ST0 ERROR 80]

    [ ST0 ERROR 8]

    ## Unknown partition table

    It seems that U-Boot can not recognize the partition table.

    But the SD card is created successfully following the instructions in SDG, and looks fine on my Ubuntu PC.

  • Can you recheck you rbootmode pin settings so that SD boot is enabled.  Also be sure that the SD card is inserted into slot on the topside of the EVM

    You should see similar output:

    DM365 EVM # DM36x initialization passed!
    TI UBL Version: 1.50
    Booting Catalog Boot Loader
    BootMode = SD/MMC
    Starting SDMMC Copy...
       DONE
    Jumping to entry point at 0x81080000.


    U-Boot 2010.12-rc2 (Jan 12 2011 - 19:44:22)

    Cores: ARM 297 MHz
    DDR:   243 MHz
    I2C:   ready
    DRAM:  128 MiB
    NAND:  2048 MiB
    MMC:   davinci: 0, davinci: 1
    Net:   Ethernet PHY: GENERIC @ 0x00
    DaVinci-EMAC
    Hit any key to stop autoboot:  0

  • Following is the output message when booting. It seems that bootmode is correctly set.

    _____________________________________________

    DM36x initialization passed!
    TI UBL Version: 1.50
    Booting Catalog Boot Loader
    BootMode = SD/MMC
    Starting SDMMC Copy...
       DONE
    Jumping to entry point at 0x81080000.



    U-Boot 2010.12-rc2 (Mar 24 2011 - 19:27:17)

    Cores: ARM 297 MHz
    DDR:   243 MHz
    I2C:   ready
    DRAM:  128 MiB
    NAND:  2048 MiB
    MMC:   davinci: 0, davinci: 1
    Bad block table found at page 524224, version 0x01
    Bad block table found at page 1048512, version 0x01
    Bad block table found at page 524160, version 0x01
    Bad block table found at page 1048448, version 0x01
    nand_read_bbt: Bad block at 0x000000300000
    nand_read_bbt: Bad block at 0x000000360000
    nand_read_bbt: Bad block at 0x000000380000
    nand_read_bbt: Bad block at 0x000000400000
    nand_read_bbt: Bad block at 0x000000420000
    nand_read_bbt: Bad block at 0x000000440000
    nand_read_bbt: Bad block at 0x000000460000
    nand_read_bbt: Bad block at 0x000000480000
    nand_read_bbt: Bad block at 0x0000004a0000
    nand_read_bbt: Bad block at 0x0000004c0000
    nand_read_bbt: Bad block at 0x0000004e0000
    nand_read_bbt: Bad block at 0x000000500000
    nand_read_bbt: Bad block at 0x000000520000
    nand_read_bbt: Bad block at 0x000000540000
    nand_read_bbt: Bad block at 0x000000560000
    nand_read_bbt: Bad block at 0x000000580000
    nand_read_bbt: Bad block at 0x0000005a0000
    nand_read_bbt: Bad block at 0x0000005c0000
    nand_read_bbt: Bad block at 0x0000005e0000
    nand_read_bbt: Bad block at 0x000000b20000
    nand_read_bbt: Bad block at 0x000001500000
    nand_read_bbt: Bad block at 0x000001600000
    nand_read_bbt: Bad block at 0x000001640000
    nand_read_bbt: Bad block at 0x000001680000
    nand_read_bbt: Bad block at 0x000001860000
    nand_read_bbt: Bad block at 0x000001980000
    nand_read_bbt: Bad block at 0x0000019c0000
    nand_read_bbt: Bad block at 0x000001b20000
    nand_read_bbt: Bad block at 0x000001c60000
    nand_read_bbt: Bad block at 0x000001c80000
    nand_read_bbt: Bad block at 0x000001ca0000
    nand_read_bbt: Bad block at 0x000001cc0000
    nand_read_bbt: Bad block at 0x000001ce0000
    nand_read_bbt: Bad block at 0x000001d00000
    nand_read_bbt: Bad block at 0x000001d20000
    nand_read_bbt: Bad block at 0x000006920000
    nand_read_bbt: Bad block at 0x000006940000
    nand_read_bbt: Bad block at 0x000006960000
    nand_read_bbt: Bad block at 0x000006980000
    nand_read_bbt: Bad block at 0x000006bc0000
    nand_read_bbt: Bad block at 0x000006c80000
    nand_read_bbt: Bad block at 0x000006ca0000
    nand_read_bbt: Bad block at 0x000006cc0000
    nand_read_bbt: Bad block at 0x000006ce0000
    nand_read_bbt: Bad block at 0x000006e00000
    nand_read_bbt: Bad block at 0x000007020000
    nand_read_bbt: Bad block at 0x0000070a0000
    nand_read_bbt: Bad block at 0x0000072c0000
    nand_read_bbt: Bad block at 0x0000074c0000
    nand_read_bbt: Bad block at 0x000007f20000
    nand_read_bbt: Bad block at 0x0000083e0000
    nand_read_bbt: Bad block at 0x000008a20000
    nand_read_bbt: Bad block at 0x0000090c0000
    nand_read_bbt: Bad block at 0x000009260000
    nand_read_bbt: Bad block at 0x00000a0e0000
    nand_read_bbt: Bad block at 0x00000ac40000
    nand_read_bbt: Bad block at 0x00000b8a0000
    nand_read_bbt: Bad block at 0x00000b980000
    nand_read_bbt: Bad block at 0x00000b9a0000
    nand_read_bbt: Bad block at 0x00000b9c0000
    nand_read_bbt: Bad block at 0x00000b9e0000
    nand_read_bbt: Bad block at 0x00000ba00000
    nand_read_bbt: Bad block at 0x00000bf60000
    nand_read_bbt: Bad block at 0x00000c000000
    nand_read_bbt: Bad block at 0x00000c040000
    nand_read_bbt: Bad block at 0x00000c060000
    nand_read_bbt: Bad block at 0x00000c080000
    nand_read_bbt: Bad block at 0x00000c160000
    nand_read_bbt: Bad block at 0x00000c1e0000
    nand_read_bbt: Bad block at 0x00000c280000
    nand_read_bbt: Bad block at 0x00000c2c0000
    nand_read_bbt: Bad block at 0x00000c660000
    nand_read_bbt: Bad block at 0x00000c680000
    nand_read_bbt: Bad block at 0x00000c6a0000
    nand_read_bbt: Bad block at 0x00000c6c0000
    nand_read_bbt: Bad block at 0x00000c740000
    nand_read_bbt: Bad block at 0x00000d6a0000
    nand_read_bbt: Bad block at 0x00000db80000
    nand_read_bbt: Bad block at 0x00000e040000
    nand_read_bbt: Bad block at 0x00000e4a0000
    nand_read_bbt: Bad block at 0x00000e4e0000
    nand_read_bbt: Bad block at 0x00002fe40000
    nand_read_bbt: Bad block at 0x0000337e0000
    nand_read_bbt: Bad block at 0x00003ea40000
    nand_read_bbt: Bad block at 0x000040fa0000
    nand_read_bbt: Bad block at 0x00004d420000
    nand_read_bbt: Bad block at 0x00004e960000
    nand_read_bbt: Bad block at 0x000053140000
    nand_read_bbt: Bad block at 0x000072520000
    nand_read_bbt: Bad block at 0x000073800000
    nand_read_bbt: Bad block at 0x000074d00000
    nand_read_bbt: Bad block at 0x000078f20000
    nand_read_bbt: Bad block at 0x0000796e0000
    nand_read_bbt: Bad block at 0x00007b200000
    nand_read_bbt: Bad block at 0x00007ca00000
    Net:   Ethernet PHY: GENERIC @ 0x00
    DaVinci-EMAC
    Hit any key to stop autoboot:  0
    [ ST0 ERROR 80]
    [ ST0 ERROR 80]
    [ ST0 ERROR 8]
    ** Can't read from device 0 **

    ** Unable to use mmc 0:1 for fatload **

    Wrong Image Format for bootm command
    ERROR: can't get kernel image!
    DM36x EVM # mmc part 0
    ## Unknown partition table

    DM36x EVM # mmc rescan 0
    DM36x EVM # mmc part 0
    ## Unknown partition table
    DM36x EVM #