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.

OMAP-L138 DVSDK 4.0 - SD Card Boot Fails

Other Parts Discussed in Thread: OMAP-L138

I am trying to recreate the SD card that comes with the EVM.  I followed the directions in the Software Developer's Guide.  Everything seemed to work correctly up to the time of actually booting the board with the SD card installed.  The first time I tried to boot the SD card the kernel seems to start booting and I get Penguin on the LCD.  But, there is message that something on MMC can't be found.  After some time the LCD goes all blue and no Penguin icon.  Boot process is still hung.  Then I power down the board and try to reboot again.  This time U-Boot can't find MMC card and I get this error:

U-Boot 2009.11 (Oct 14 2010 - 20:37:11)

I2C:   ready
DRAM:  64 MB
MMC:   davinci: 0
In:    serial
Out:   serial
Err:   serial
ARM Clock : 300000000 Hz
DDR Clock : 132000000 Hz
Net:   Ethernet PHY: GENERIC @ 0x00

Hit any key to stop autoboot:  0
Card did not respond to voltage select!
** 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!
U-Boot >

Any idea what is going on?  This has happened on 2 separate OMAP-L1 EVMs.

Regards.

  • Tom,

    I don't remember seeing the above issue, but can you please try this with new SD card ?

    1) Flash the UBL in SPI as documented in SDG.

    2) Re-create SD card as documented in SDG.

    3) Make sure you have ran step 5 in SDG section "how to create SD card" to setup the environment variable.

    Thanks

    Brijesh

  • Brijesh,

    Thanks for the response.  I started with a new 4 GB SDHC card.  Is that any problem? 

    I flashed both UBL and U-Boot as documented in section Flashing boot loader using serial flash utility.

    I have followed step #4 in the procedure.  Is there any way to tell if it was completed successfully?  Here is my U-Boot environment:

     U-Boot 2009.11 (Oct 14 2010 - 20:37:11)

     I2C:   ready
     DRAM:  64 MB
     MMC:   davinci: 0
     In:    serial
     Out:   serial
     Err:   serial
     ARM Clock : 300000000 Hz
     DDR Clock : 132000000 Hz
     Net:   Ethernet PHY: GENERIC @ 0x00

     Hit any key to stop autoboot:  0
     U-Boot > printenv
     bootfile="uImage"
     ethaddr=00:08:ee:03:93:9b
     ethact=
     bootdelay=4
     baudrate=115200
     oldbootargs=console=ttyS2,115200n8 noinitrd rw mem=32M@0xc0000000 mem=64M@0xc400
     0000 root=/dev/mmcblk0p2 rootfstype=ext3 rootwait ip=off
     oldbootcmd=mmc rescan 0; fatload mmc 0 0xc0700000 uImage; bootm 0xc0700000
     bootcmd=sf probe 0; sf read 0xc0700000 0x80000 0x280000; bootm 0xc0700000
     bootargs=console=ttyS2,115200n8 noinitrd rw mem=32M@0xc0000000 root=/dev/mmcblk0
     p2 rootfstype=ext3 rootdelay=3 rootwait ip=off
     stdin=serial
     stdout=serial
     stderr=serial
     ver=U-Boot 2009.11 (Oct 14 2010 - 20:37:11)

     Environment size: 578/65532 bytes

    Bernie has been helping me, so I think everything was done correctly.  Only mod we made was that our Linux box doesn't have UART, so we needed to use USB-to-Serial converter for the connection.  This required change to minicom script (if I am understanding correctly).

    Regards.

  • I have the sam problem. I have the kernel in flash and the SDcard created with the DVSDK into the board.

     

    Uboot enviroment:

    U-Boot > printenv
    bootfile="uImage"
    ethaddr=00:08:ee:03:b0:0e
    ethact=
    setenv=bootdelay 4
    bootdelay=4
    baudrate=115200
    bootcmd=sf probe 0; sf read 0xc0700000 0x80000 0x280000; bootm 0xc0700000
    bootargs=console=ttyS2,115200n8 noinitrd rw mem=32M@0xc0000000 mem=64M@0xc4000000 root=/dev/mmcblk0p2 rootfstype=ext3 rootwait ip=of
    f
    stdin=serial
    stdout=serial
    stderr=serial
    ver=U-Boot 2009.01 (Sep 17 2009 - 17:41:56)

    Environment size: 392/65532 bytes

     

     

    and this is the boot log:

     

    U-Boot 2009.01 (Sep 17 2009 - 17:41:56)

    I2C:   ready
    DRAM:  64 MB
    In:    serial
    Out:   serial
    Err:   serial
    ARM Clock : 300000000 Hz
    DDR Clock : 150000000 Hz
    Net:   Ethernet PHY: GENERIC @ 0x00

    Hit any key to stop autoboot:  0
    8192 KiB M25P64 at 0:0 is now current device
    ## Booting kernel from Legacy Image at c0700000 ...
       Image Name:   Linux-2.6.31-rc7-davinci1-06298-
       Image Type:   ARM Linux Kernel Image (uncompressed)
       Data Size:    1422960 Bytes =  1.4 MB
       Load Address: c0008000
       Entry Point:  c0008000
       Verifying Checksum ... OK
       Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux........................................................................................... done, booting the ker
    nel.
    Linux version 2.6.31-rc7-davinci1-06298-g9f9abac (x0029463@psplinux051) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 PREEM
    PT Thu Sep 17 17:49:44 IST 2009
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    CPU: VIVT data cache, VIVT instruction cache
    Machine: DaVinci DA850/OMAP-L138 EVM
    Memory policy: ECC disabled, Data cache writeback
    DaVinci da850/omap-l138 variant 0x0
    Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 24320
    Kernel command line: console=ttyS2,115200n8 noinitrd rw mem=32M@0xc0000000 mem=64M@0xc4000000 root=/dev/mmcblk0p2 rootfstype=ext3 ro
    otwait ip=off
    PID hash table entries: 512 (order: 9, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 32MB 64MB = 96MB total
    Memory: 94392KB available (2504K code, 275K data, 96K init, 0K highmem)
    SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:245
    Console: colour dummy device 80x30
    Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    DaVinci: 144 gpio irqs
    NET: Registered protocol family 16
    bio: create slab <bio-0> at 0
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    NET: Registered protocol family 1
    McBSP:Probed McBSP1
    msgmni has been set to 184
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
    serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
    serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
    console [ttyS2] enabled
    brd: module loaded
    console [netcon0] enabled
    netconsole: network logging started
    i2c /dev entries driver
    TCP cubic registered
    NET: Registered protocol family 17
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    Clocks: disable unused emac
    Clocks: disable unused spi1
    davinci_emac_probe: using random MAC addr: ae:a6:27:46:22:37
    emac-mii: probed
    Waiting for root device /dev/mmcblk0p2...

     

    Thanks

    Joan

     

     

  • i am facing the exact same problem. I followed the steps given in software developers guide for flashing boot loaders using serial flash and then creating the SD card..

    i am getting the following in the terminal

    Booting with TI UBL
    Device OPP (300MHz, 1.2V)SD/MMC Boot failed.


    U-Boot 2010.12 (Dec 23 2011 - 11:22:43)

    I2C: ready
    DRAM: 128 MiB
    MMC: davinci: 0
    SF: Detected M25P64 with page size 256, total 8 MiB
    *** Warning - bad CRC, using default environment

    In: serial
    Out: serial
    Err: serial
    ARM Clock : 300000000 Hz
    DDR Clock : 132000000 Hz
    SF: Detected M25P64 with page size 256, total 8 MiB
    Net: Ethernet PHY: GENERIC @ 0x00
    DaVinci-EMAC
    Hit any key to stop autoboot: 0
    Card did not respond to voltage select!
    SF: Detected M25P64 with page size 256, total 8 MiB
    8192 KiB M25P64 at 0:0 is now current device
    ## Booting kernel from Legacy Image at c0700000 ...
    Image Name: Linux-2.6.31-rc7-davinci1-06298-
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1422960 Bytes = 1.4 MiB
    Load Address: c0008000
    Entry Point: c0008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux.............................................................
    .............................. done, booting the kernel.
    Linux version 2.6.31-rc7-davinci1-06298-g9f9abac (x0029463@psplinux051) (gcc ver
    sion 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 PREEMPT Thu Sep 17 17:49:44 IST 2
    009
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    CPU: VIVT data cache, VIVT instruction cache
    Machine: DaVinci DA850/OMAP-L138 EVM
    Memory policy: ECC disabled, Data cache writeback
    DaVinci da850/omap-l138 variant 0x0
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
    Kernel command line: console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=o
    ff
    PID hash table entries: 512 (order: 9, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 128MB = 128MB total
    Memory: 126804KB available (2504K code, 275K data, 96K init, 0K highmem)
    SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:245
    Console: colour dummy device 80x30
    Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    DaVinci: 144 gpio irqs
    NET: Registered protocol family 16
    bio: create slab <bio-0> at 0
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    NET: Registered protocol family 1
    McBSP:Probed McBSP1
    msgmni has been set to 247
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
    serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
    serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
    console [ttyS2] enabled
    brd: module loaded
    console [netcon0] enabled
    netconsole: network logging started
    i2c /dev entries driver
    TCP cubic registered
    NET: Registered protocol family 17
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    Clocks: disable unused emac
    Clocks: disable unused mmcsd
    Clocks: disable unused spi1
    davinci_emac_probe: using random MAC addr: 92:a6:42:4f:a9:93
    emac-mii: probed
    Waiting for root device /dev/mmcblk0p2...

    Booting with TI UBL
    Device OPP (300MHz, 1.2V)SD/MMC Boot failed.


    U-Boot 2010.12 (Dec 23 2011 - 11:22:43)

    I2C: ready
    DRAM: 128 MiB
    MMC: davinci: 0
    SF: Detected M25P64 with page size 256, total 8 MiB
    *** Warning - bad CRC, using default environment

    In: serial
    Out: serial
    Err: serial
    ARM Clock : 300000000 Hz
    DDR Clock : 132000000 Hz
    SF: Detected M25P64 with page size 256, total 8 MiB
    Net: Ethernet PHY: GENERIC @ 0x00
    DaVinci-EMAC
    Hit any key to stop autoboot: 0
    Card did not respond to voltage select!
    SF: Detected M25P64 with page size 256, total 8 MiB
    8192 KiB M25P64 at 0:0 is now current device
    ## Booting kernel from Legacy Image at c0700000 ...
    Image Name: Linux-2.6.31-rc7-davinci1-06298-
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 1422960 Bytes = 1.4 MiB
    Load Address: c0008000
    Entry Point: c0008000
    Verifying Checksum ... OK
    Loading Kernel Image ... OK
    OK

    Starting kernel ...

    Uncompressing Linux.............................................................
    .............................. done, booting the kernel.
    Linux version 2.6.31-rc7-davinci1-06298-g9f9abac (x0029463@psplinux051) (gcc ver
    sion 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 PREEMPT Thu Sep 17 17:49:44 IST 2
    009
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
    CPU: VIVT data cache, VIVT instruction cache
    Machine: DaVinci DA850/OMAP-L138 EVM
    Memory policy: ECC disabled, Data cache writeback
    DaVinci da850/omap-l138 variant 0x0
    Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
    Kernel command line: console=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootwait ip=o
    ff
    PID hash table entries: 512 (order: 9, 2048 bytes)
    Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
    Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
    Memory: 128MB = 128MB total
    Memory: 126804KB available (2504K code, 275K data, 96K init, 0K highmem)
    SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    NR_IRQS:245
    Console: colour dummy device 80x30
    Calibrating delay loop... 149.50 BogoMIPS (lpj=747520)
    Mount-cache hash table entries: 512
    CPU: Testing write buffer coherency: ok
    DaVinci: 144 gpio irqs
    NET: Registered protocol family 16
    bio: create slab <bio-0> at 0
    NET: Registered protocol family 2
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 4096 (order: 3, 32768 bytes)
    TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
    TCP: Hash tables configured (established 4096 bind 4096)
    TCP reno registered
    NET: Registered protocol family 1
    McBSP:Probed McBSP1
    msgmni has been set to 247
    io scheduler noop registered
    io scheduler anticipatory registered (default)
    Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
    serial8250.0: ttyS0 at MMIO 0x1c42000 (irq = 25) is a 16550A
    serial8250.0: ttyS1 at MMIO 0x1d0c000 (irq = 53) is a 16550A
    serial8250.0: ttyS2 at MMIO 0x1d0d000 (irq = 61) is a 16550A
    console [ttyS2] enabled
    brd: module loaded
    console [netcon0] enabled
    netconsole: network logging started
    i2c /dev entries driver
    TCP cubic registered
    NET: Registered protocol family 17
    RPC: Registered udp transport module.
    RPC: Registered tcp transport module.
    Clocks: disable unused emac
    Clocks: disable unused mmcsd
    Clocks: disable unused spi1
    davinci_emac_probe: using random MAC addr: fa:ed:00:89:a0:5b
    emac-mii: probed
    Waiting for root device /dev/mmcblk0p2...
    
    
    can anyone pls suggest any soultion
  • Guys,

        What is the DVSDK versions you are using, from the trace it looks like you are not using recent DVSDK releases.

        We have many customer successfully able to boot via SD card.

       I want to ensure what release being used.

    Thanks Regards,

    Velan