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.

Some problems with SD card on OMAP-L137

Other Parts Discussed in Thread: OMAP-L137, DA8XX

Dear All,

We have three OMAP-L137 boards. We have developed a application executed on ARM that reads data from audio interface and sends it to the DSP, then receives the processed data and play it. When we mount the file system by NFS on PC all things are good. HOWEVER, when we copy the file system to SD card  to have a standalone system and mount file system on SD card all things go wrong. The following errors happen when I run the application:

error -110 sending read/write command

end_request: I/O error, dev mmcblk0, sector 15277817

Buffer I/O error on device mmcblk0p2, logical block 1894367

Remounting file system as read only

We formatted the SD card but it did not solve the problem.

Thanks,

Jack

  • Hi Jack,

    I presume that you are facing problem while mounting fs on SD card,

    Use the following boot command in u-boot,

    setenv bootargs console=ttyS2,115200n8 noinitrd rw ip=dhcp root=/dev/mmcblk0p1 rootfstype=ext2 mem=32M

    http://processors.wiki.ti.com/index.php/GSG:_Building_Software_Components_for_OMAP-L1/AM1x#MMC.2FSD

    http://processors.wiki.ti.com/index.php/Alternate_Boot_Methods_for_OMAP-L137/DA830#From_SD.2FMMC

    Possibilities of "-110" error. (timeout)

    SD card got broken, not inserted properly, voltage problem from hw, etc.,

    Have you tried the same SD card on your PC?

    Are you using linux on OMAPL137 devices?

    If yes, follow the commands to copy file from arm fs to SD card.

    mount -t /dev/mmcbl0p1 /mnt

    mount (to check whether mounted)

    cp -rf /test_file.txt /mnt

    sync

    umount /mnt

  • Dear Sir,

    1. I presume that you are facing problem while mounting fs on SD card, Use the following boot command in u-boot,

    setenv bootargs console=ttyS2,115200n8 noinitrd rw ip=dhcp root=/dev/mmcblk0p1 rootfstype=ext2 mem=32M

    http://processors.wiki.ti.com/index.php/GSG:_Building_Software_Components_for_OMAP-L1/AM1x#MMC.2FSD

    http://processors.wiki.ti.com/index.php/Alternate_Boot_Methods_for_OMAP-L137/DA830#From_SD.2FMMC

    I have already done the above-mentioned works. The file system is mounted correctly when the Linux kernel is booted. When I run the program, after a while the errors happens.

    Possibilities of "-110" error. (timeout)

    SD card got broken, not inserted properly, voltage problem from hw, etc.,

    Have you tried the same SD card on your PC?

    Yes, I tried the SD card on my PC. Moreover, I used some another SD cards to check this possibility.  

    Are you using linux on OMAPL137 devices?

    Yes, I am using linux on OMAP-L137.

    If yes, follow the commands to copy file from arm fs to SD card.

    mount -t /dev/mmcbl0p1 /mnt

    mount (to check whether mounted)

    cp -rf /test_file.txt /mnt

    sync

    umount /mnt

    When the error occurs the system halts.

    I think it may be due to a synchronization issue. This problem make us anxious seriously. It does not seem reasonable. They should check this issue.

    Jack,

     

     

     

  • Hi,

    When I run the program, after a while the errors happens.


    You are facing the problem when you run your ARM app, Right!

    Can you please follow the procedure to check the problem before running the ARM app.

    mount (to check whether mounted already thr AUTOMOUNT)

    mount -t extX /dev/mmcbl0p1 /mnt

    mount (to check whether mounted)

    cp -rf /test_file.txt /mnt

    sync

    umount /mnt

    Could you please share your complete bootup logs(with running commands)  of both working and non-working (mount fs on SD & NFS)

  • Dear Sir,

    I run the commands you have been mentioned. The errors still occur.

    Case 1: When the file system is on SD card

    U-Boot 1.3.3 (Jun 28 2012 - 13:59:37)                                           
                                                                                    
    I2C:   ready                                                                    
    DRAM:  64 MB                                                                    
    In:    serial                                                                   
    Out:   serial                                                                   
    Err:   serial                                                                   
    ARM Clock : 300000000 Hz                                                        
    More than one PHY detected.                                                     
    Hit any key to stop autoboot:  0                                                
    4096 KiB W25Q32 at 0:0 is now current device                                    
    ## Booting kernel from Legacy Image at c0700000 ...                             
       Image Name:   Linux-2.6.18_pro500-da830_omapl1                               
       Image Type:   ARM Linux Kernel Image (uncompressed)                          
       Data Size:    1808112 Bytes =  1.7 MB                                        
       Load Address: c0008000                                                       
       Entry Point:  c0008000                                                       
       Verifying Checksum ... OK                                                    
       Loading Kernel Image ... OK                                                  
    OK                                                                              
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    Uncompressing Linux.............................................................
    Linux version 2.6.18_pro500-da830_omapl137_evm-arm_v5t_le (naser@linuxnaser) (g3
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                   
    Machine: DaVinci DA8XX EVM                                                      
    Memory policy: ECC disabled, Data cache writethrough                            
    DA830 variant 0x9                                                               
    CPU0: D VIVT write-back cache                                                   
    CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets            
    CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets            
    Built 1 zonelists.  Total pages: 8192                                           
    Kernel command line: console=ttyUSB0,115200n8 noinitrd rw ip=none root=/dev/mmcM
    PID hash table entries: 256 (order: 8, 1024 bytes)                              
    Clock event device timer0_0 configured with caps set: 07                        
    Console: colour dummy device 80x30                                              
    Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)                   
    Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)                     
    Memory: 32MB = 32MB total                                                       
    Memory: 28508KB available (3100K code, 634K data, 176K init)                    
    Security Framework v1.0.0 initialized                                           
    Capability LSM initialized                                                      
    Mount-cache hash table entries: 512                                             
    CPU: Testing write buffer coherency: ok                                         
    NET: Registered protocol family 16                                              
    DaVinci: 128 gpio irqs                                                          
    Generic PHY: Registered new driver                                              
    usbcore: registered new driver usbfs                                            
    usbcore: registered new driver hub                                              
    NET: Registered protocol family 2                                               
    IP route cache hash table entries: 256 (order: -2, 1024 bytes)                  
    TCP established hash table entries: 1024 (order: 0, 4096 bytes)                 
    TCP bind hash table entries: 512 (order: -1, 2048 bytes)                        
    TCP: Hash tables configured (established 1024 bind 512)                         
    TCP reno registered                                                             
    NetWinder Floating Point Emulator V0.97 (double precision)                      
    VFS: Disk quotas dquot_6.5.1                                                    
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)                      
    squashfs: version 3.1 (2006/08/19) Phillip Lougher                              
    JFFS version 1.0, (C) 1999, 2000  Axis Communications AB                        
    JFFS2 version 2.2. (NAND) (SUMMARY)  (C) 2001-2006 Red Hat, Inc.                
    yaffs Aug 11 2013 13:26:52 Installing.                                          
    SGI XFS with no debug enabled                                                   
    Initializing Cryptographic API                                                  
    io scheduler noop registered                                                    
    io scheduler anticipatory registered (default)                                  
    LTT : ltt-facilities init                                                       
    LTT : ltt-facility-core init in kernel                                          
    DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec                           
    Serial: 8250/16550 driver $Revision: 1.90 $ 3 ports, IRQ sharing disabled       
    serial8250.0: ttyS0 at MMIO map 0x1c42000 mem 0xfec42000 (irq = 25) is a 16550A
    serial8250.0: ttyS1 at MMIO map 0x1c20400 mem 0xfed0c000 (irq = 53) is a 16550A
    serial8250.0: ttyS2 at MMIO map 0x1d0d000 mem 0xfed0d000 (irq = 61) is a 16550A
    RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize           
    Davinci EMAC MII Bus: probed                                                    
    MAC address is 00:0e:99:03:19:6a                                                
    TI DaVinci EMAC Linux version updated 4.0                                       
    i2c /dev entries driver                                                         
    Creating 3 MTD partitions on "Windbond spi nand flash":                         
    0x00000000-0x00040000 : "U-Boot"                                                
    0x00040000-0x00044000 : "U-Boot Environment"                                    
    0x00044000-0x00400000 : "Linux"                                                 
    dm_spi.0: davinci SPI Controller driver at 0xc285c000 (irq = 20) use_dma=1      
    dm_spi.1: davinci SPI Controller driver at 0xc285e000 (irq = 56) use_dma=1      
    ohci ohci.0: DA8xx OHCI                                                         
    ohci ohci.0: new USB bus registered, assigned bus number 1                      
    Waiting for USB PHY clock good...                                               
    ohci ohci.0: irq 59, io mem 0x01e25000                                          
    usb usb1: configuration #1 chosen from 1 choice                                 
    hub 1-0:1.0: USB hub found                                                      
    hub 1-0:1.0: 1 port detected                                                    
    usbcore: registered new driver libusual                                         
    musb_hdrc: version 6.0, cppi4.1-dma, host, debug=0                              
    Waiting for USB PHY clock good...                                               
    musb_hdrc: USB Host mode controller at c2860000 using DMA, IRQ 58               
    musb_hdrc musb_hdrc: MUSB HDRC host driver                                      
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2              
    usb usb2: configuration #1 chosen from 1 choice                                 
    hub 2-0:1.0: USB hub found                                                      
    hub 2-0:1.0: 1 port detected                                                    
    mice: PS/2 mouse device common for all mice                                     
    rtc-da8xx rtc-da8xx.0: rtc intf: proc                                           
    rtc-da8xx rtc-da8xx.0: rtc intf: dev (254:0)                                    
    rtc-da8xx rtc-da8xx.0: rtc core: registered rtc-da8xx as rtc0                   
    rtc-da8xx rtc-da8xx.0: TI DA8xx Real Time Clock driver.                         
    davinci-mmc davinci-mmc.0: Supporting 8-bit mode                                
    davinci-mmc davinci-mmc.0: Supporting 4-bit mode                                
    davinci-mmc davinci-mmc.0: Using DMA mode                                       
    Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50.
    ASoC version 0.13.1                                                             
    AIC3X Audio Codec 0.2                                                           
    asoc: aic3x <-> davinci-i2s mapping ok                                          
    ALSA device list:                                                               
      #0: DA8XX EVM (aic3x)                                                         
    IPv4 over IPv4 tunneling driver                                                 
    TCP bic registered                                                              
    NET: Registered protocol family 1                                               
    NET: Registered protocol family 17                                              
    rtc-da8xx rtc-da8xx.0: setting the system clock to 2014-03-13 15:25:48 (1394724)
    Time: timer0_1 clocksource has been installed.                                  
    Clock event device timer0_0 configured with caps set: 08                        
    Switched to high resolution mode on CPU 0                                       
    mmcblk0: mmc0:aaaa SU02G 1931264KiB                                             
     mmcblk0: p1                                                                    
    EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended           
    VFS: Mounted root (ext2 filesystem).                                            
    Freeing init memory: 176K                                                       
    INIT: version 2.86 booting                                                      
    Starting the hotplug events dispatcher: udevd.                                  
    Synthesizing the initial hotplug events...done.                                 
    Waiting for /dev to be fully populated...done.                                  
    Activating swap...done.                                                         
    Remounting root filesystem...done.                                              
    Calculating module dependencies                                                 
    WARNING: Couldn't open directory /lib/modules/2.6.18_pro500-da830_omapl137_evm-y
    FATAL: Could not open /lib/modules/2.6.18_pro500-da830_omapl137_evm-arm_v5t_le/y
    Loading modules:                                                                
    Checking all file systems: fsck                                                 
    fsck 1.40 (29-Jun-2007)                                                         
    Mounting local filesystems: mount nothing was mounted                           
    Setting up networking ....                                                      
    /etc/network/options is deprecated.                                             
    Setting up IP spoofing protection: rp_filter done.                              
    Disabling IPv4 packet forwarding: done.                                         
    Disabling TCP/IP Explicit Congestion Notification: done.                        
    Starting network interfaces: done.                                              
    Starting hotplug subsystem:                                                     
       pci                                                                          
       pci      [success]                                                           
       usb                                                                          
       usb      [success]                                                           
       isapnp                                                                       
       isapnp   [success]                                                           
       ide                                                                          
       ide      [success]                                                           
       input                                                                        
       input    [success]                                                           
       scsi                                                                         
       scsi     [success]                                                           
    done.                                                                           
    Starting portmap daemon....                                                     
    Cleaning: /tmp /var/lock /var/run find: ./sshd.pid: Input/output error          
    done.                                                                           
    Updating /etc/motd...done.                                                      
    INIT: Entering runlevel: 3                                                      
    Starting system log daemon: syslogd klogd.                                      
    Starting NFS common utilities: statd.                                           
    Starting internet superserver: inetd.                                           
    Starting OpenBSD Secure Shell server: sshd/etc/init.d/init-functions: line 74: r
    .                                                                               
                                                                                    
    MontaVista(R) Linux(R) Professional Edition 5.0.0 (0801921)                     
                                                                                    
    (none) login: root                                                              
    Last login: Thu Mar 13 15:16:19 2014 on console                                 
    Linux (none) 2.6.18_pro500-da830_omapl137_evm-arm_v5t_le #1 PREEMPT Sun Aug 11 x
                                                                                    
    Welcome to MontaVista(R) Linux(R) Professional Edition 5.0.0 (0801921).         
                                                                                    
    root@(none):~# cd /opt/DSPLinkExample/HF_Simulator                              
    root@(none):/opt/DSPLinkExample/HF_Simulator# ./loaddsplink.sh                  
    dsplinkk: no version for "struct_module" found: kernel tainted.                 
    DSPLINK Module (1.61.03) created on Date: Aug 11 2013 Time: 13:31:32            
    toot@(none):/opt/DSPLinkExample/HF_Simulator# ./HF_Simulator_GPP HF_Simulator.out

    Attach to DSP                                                                   

    program is running


    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171247
    end_request: I/O error, dev mmcblk0, sector 3171255                                                                                                         
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171263                             
    end_request: I/O error, dev mmcblk0, sector 3171271                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171279                             
    end_request: I/O error, dev mmcblk0, sector 3171287                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171295                             
    end_request: I/O error, dev mmcblk0, sector 3171303                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 1441927                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 2318911                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 2319183                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171311                             
    end_request: I/O error, dev mmcblk0, sector 3171319                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171327                             
    end_request: I/O error, dev mmcblk0, sector 3171335                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171343                             
    end_request: I/O error, dev mmcblk0, sector 3171351                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171359                             
    end_request: I/O error, dev mmcblk0, sector 3171367                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171375                             
    end_request: I/O error, dev mmcblk0, sector 3171383                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171391                             
    end_request: I/O error, dev mmcblk0, sector 3171399                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171407                             
    end_request: I/O error, dev mmcblk0, sector 3171415                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171423                             
    end_request: I/O error, dev mmcblk0, sector 3171431                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171439                             
    end_request: I/O error, dev mmcblk0, sector 3171447                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171455                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171335                             
    mmcblk0: error 1 sending read/write command                                     
    end_request: I/O error, dev mmcblk0, sector 3171335                             

    Case 2: When the file system is mounted by NFS

    U-Boot 1.3.3 (Jun 28 2012 - 13:59:37)                                           
                                                                                    
    I2C:   ready                                                                    
    DRAM:  64 MB                                                                    
    In:    serial                                                                   
    Out:   serial                                                                   
    Err:   serial                                                                   
    ARM Clock : 300000000 Hz                                                        
    More than one PHY detected.                                                     
    Hit any key to stop autoboot:  0                                                
    U-Boot > setenv bootargs console=ttyUSB0,115200n8 noinitrd rw ip=dhcp root=/devM
    U-Boot > boot                                                                   
    4096 KiB W25Q32 at 0:0 is now current device                                    
    ## Booting kernel from Legacy Image at c0700000 ...                             
       Image Name:   Linux-2.6.18_pro500-da830_omapl1                               
       Image Type:   ARM Linux Kernel Image (uncompressed)                          
       Data Size:    1808112 Bytes =  1.7 MB                                        
       Load Address: c0008000                                                       
       Entry Point:  c0008000                                                       
       Verifying Checksum ... OK                                                    
       Loading Kernel Image ... OK                                                  
    OK                                                                              
                                                                                    
    Starting kernel ...                                                             
                                                                                    
    Uncompressing Linux.............................................................
    Linux version 2.6.18_pro500-da830_omapl137_evm-arm_v5t_le (naser@linuxnaser) (g3
    CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177                   
    Machine: DaVinci DA8XX EVM                                                      
    Memory policy: ECC disabled, Data cache writethrough                            
    DA830 variant 0x9                                                               
    CPU0: D VIVT write-back cache                                                   
    CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets            
    CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets            
    Built 1 zonelists.  Total pages: 8192                                           
    Kernel command line: console=ttyUSB0,115200n8 noinitrd rw ip=dhcp root=/dev/nfsM
    PID hash table entries: 256 (order: 8, 1024 bytes)                              
    Clock event device timer0_0 configured with caps set: 07                        
    Console: colour dummy device 80x30                                              
    Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)                   
    Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)                     
    Memory: 32MB = 32MB total                                                       
    Memory: 28508KB available (3100K code, 634K data, 176K init)                    
    Security Framework v1.0.0 initialized                                           
    Capability LSM initialized                                                      
    Mount-cache hash table entries: 512                                             
    CPU: Testing write buffer coherency: ok                                         
    NET: Registered protocol family 16                                              
    DaVinci: 128 gpio irqs                                                          
    Generic PHY: Registered new driver                                              
    usbcore: registered new driver usbfs                                            
    usbcore: registered new driver hub                                              
    NET: Registered protocol family 2                                               
    IP route cache hash table entries: 256 (order: -2, 1024 bytes)                  
    TCP established hash table entries: 1024 (order: 0, 4096 bytes)                 
    TCP bind hash table entries: 512 (order: -1, 2048 bytes)                        
    TCP: Hash tables configured (established 1024 bind 512)                         
    TCP reno registered                                                             
    NetWinder Floating Point Emulator V0.97 (double precision)                      
    VFS: Disk quotas dquot_6.5.1                                                    
    Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)                      
    squashfs: version 3.1 (2006/08/19) Phillip Lougher                              
    JFFS version 1.0, (C) 1999, 2000  Axis Communications AB                        
    JFFS2 version 2.2. (NAND) (SUMMARY)  (C) 2001-2006 Red Hat, Inc.                
    yaffs Aug 11 2013 13:26:52 Installing.                                          
    SGI XFS with no debug enabled                                                   
    Initializing Cryptographic API                                                  
    io scheduler noop registered                                                    
    io scheduler anticipatory registered (default)                                  
    LTT : ltt-facilities init                                                       
    LTT : ltt-facility-core init in kernel                                          
    DAVINCI-WDT: DaVinci Watchdog Timer: heartbeat 60 sec                           
    Serial: 8250/16550 driver $Revision: 1.90 $ 3 ports, IRQ sharing disabled       
    serial8250.0: ttyS0 at MMIO map 0x1c42000 mem 0xfec42000 (irq = 25) is a 16550A
    serial8250.0: ttyS1 at MMIO map 0x1c20400 mem 0xfed0c000 (irq = 53) is a 16550A
    serial8250.0: ttyS2 at MMIO map 0x1d0d000 mem 0xfed0d000 (irq = 61) is a 16550A
    RAMDISK driver initialized: 1 RAM disks of 32768K size 1024 blocksize           
    Davinci EMAC MII Bus: probed                                                    
    MAC address is 00:0e:99:03:19:6a                                                
    TI DaVinci EMAC Linux version updated 4.0                                       
    i2c /dev entries driver                                                         
    Creating 3 MTD partitions on "Windbond spi nand flash":                         
    0x00000000-0x00040000 : "U-Boot"                                                
    0x00040000-0x00044000 : "U-Boot Environment"                                    
    0x00044000-0x00400000 : "Linux"                                                 
    dm_spi.0: davinci SPI Controller driver at 0xc285c000 (irq = 20) use_dma=1      
    dm_spi.1: davinci SPI Controller driver at 0xc285e000 (irq = 56) use_dma=1      
    ohci ohci.0: DA8xx OHCI                                                         
    ohci ohci.0: new USB bus registered, assigned bus number 1                      
    Waiting for USB PHY clock good...                                               
    ohci ohci.0: irq 59, io mem 0x01e25000                                          
    usb usb1: configuration #1 chosen from 1 choice                                 
    hub 1-0:1.0: USB hub found                                                      
    hub 1-0:1.0: 1 port detected                                                    
    usbcore: registered new driver libusual                                         
    musb_hdrc: version 6.0, cppi4.1-dma, host, debug=0                              
    Waiting for USB PHY clock good...                                               
    musb_hdrc: USB Host mode controller at c2860000 using DMA, IRQ 58               
    musb_hdrc musb_hdrc: MUSB HDRC host driver                                      
    musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2              
    usb usb2: configuration #1 chosen from 1 choice                                 
    hub 2-0:1.0: USB hub found                                                      
    hub 2-0:1.0: 1 port detected                                                    
    mice: PS/2 mouse device common for all mice                                     
    rtc-da8xx rtc-da8xx.0: rtc intf: proc                                           
    rtc-da8xx rtc-da8xx.0: rtc intf: dev (254:0)                                    
    rtc-da8xx rtc-da8xx.0: rtc core: registered rtc-da8xx as rtc0                   
    rtc-da8xx rtc-da8xx.0: TI DA8xx Real Time Clock driver.                         
    davinci-mmc davinci-mmc.0: Supporting 8-bit mode                                
    davinci-mmc davinci-mmc.0: Supporting 4-bit mode                                
    davinci-mmc davinci-mmc.0: Using DMA mode                                       
    Advanced Linux Sound Architecture Driver Version 1.0.12rc1 (Thu Jun 22 13:55:50.
    ASoC version 0.13.1                                                             
    AIC3X Audio Codec 0.2                                                           
    asoc: aic3x <-> davinci-i2s mapping ok                                          
    ALSA device list:                                                               
      #0: DA8XX EVM (aic3x)                                                         
    IPv4 over IPv4 tunneling driver                                                 
    TCP bic registered                                                              
    NET: Registered protocol family 1                                               
    NET: Registered protocol family 17                                              
    rtc-da8xx rtc-da8xx.0: setting the system clock to 2014-03-13 15:13:35 (1394723)
    Time: timer0_1 clocksource has been installed.                                  
    Clock event device timer0_0 configured with caps set: 08                        
    Switched to high resolution mode on CPU 0                                       
    Sending DHCP requests ...... timed out!                                         
    EMAC: TX Complete: Starting queue                                               
    IP-Config: Retrying forever (NFS root)...                                       
    Sending DHCP requests .., OK                                                    
    IP-Config: Got DHCP answer from 0.0.0.0, my address is 172.16.3.104             
    IP-Config: Gateway not on directly connected network.                           
    Looking up port of RPC 100003/2 on 172.16.3.101                                 
    Looking up port of RPC 100005/1 on 172.16.3.101                                 
    VFS: Mounted root (nfs filesystem).                                             
    Freeing init memory: 176K                                                       
    INIT: version 2.86 booting                                                      
    Starting the hotplug events dispatcher: udevd.                                  
    Synthesizing the initial hotplug events...done.                                 
    Waiting for /dev to be fully populated...done.                                  
    Activating swap...done.                                                         
    Remounting root filesystem...done.                                              
    Calculating module dependencies                                                 
    Loading modules:                                                                
    Checking all file systems: fsck                                                 
    fsck 1.40 (29-Jun-2007)                                                         
    Mounting local filesystems: mount nothing was mounted                           
    umount.nfs: /dev/root: not found or not mounted                                 
    Setting up networking ....                                                      
    /etc/network/options is deprecated.                                             
    Setting up IP spoofing protection: rp_filter done.                              
    Disabling IPv4 packet forwarding: done.                                         
    Disabling TCP/IP Explicit Congestion Notification: done.                        
    Starting network interfaces: done.                                              
    Starting hotplug subsystem:                                                     
       pci                                                                          
       pci      [success]                                                           
       usb                                                                          
       usb      [success]                                                           
       isapnp                                                                       
       isapnp   [success]                                                           
       ide                                                                          
       ide      [success]                                                           
       input                                                                        
       input    [success]                                                           
       scsi                                                                         
       scsi     [success]                                                           
    done.                                                                           
    Starting portmap daemon....                                                     
    Cleaning: /tmp /var/lock /var/run done.                                         
    Updating /etc/motd...done.                                                      
    INIT: Entering runlevel: 3                                                      
    Starting system log daemon: syslogdNET: Registered protocol family 10           
    6WIND/LSIIT IPv6 multicast forwarding 0.1 plus PIM-SM/SSM with *BSD API         
    lo: Disabled Privacy Extensions                                                 
    IPv6 over IPv4 tunneling driver                                                 
    Mobile IPv6                                                                     
     klogd.                                                                         
    Starting NFS common utilities: statd.                                           
    Starting internet superserver: inetd.                                           
    Starting OpenBSD Secure Shell server: sshd/var/empty/sshd must be owned by root.
     failed (255: ).                                                                
    numid=1,iface=MIXER,name='PCM Playback Volume'                                  
      ; type=INTEGER,access=rw---,values=2,min=0,max=127,step=0                     
      : values=127,127                                                              
    dsplinkk: no version for "struct_module" found: kernel tainted.                 
    DSPLINK Module (1.61.03) created on Date: Aug 11 2013 Time: 13:31:32            
     toot@(none):/opt/DSPLinkExample/HF_Simulator# ./HF_Simulator_GPP HF_Simulator.out

    Attach to DSP

    program is running

    Detach from DSP   

  • Hi,

    In future, Please attach your bootup logs and not simple text paste.

    dsplinkk: no version for "struct_module" found: kernel tainted.                 
    DSPLINK Module (1.61.03) created on Date: Aug 11 2013 Time: 13:31:32            
     toot@(none):/opt/DSPLinkExample/HF_Simulator# ./HF_Simulator_GPP HF_Simulator.out

    Attach to DSP

    program is running

    Detach from DSP 

    Is the DSP code from TI or own code which you are running thr syslink?

    If  any TI example projects used,  provide the package & version details.

    If own, Do you have any SD/MMC support/stuffs in your DSP code?

    What are you trying to do with your DSP code?

    I suspect that your DSP code doing some init on SD/MMC,

    1) Boot your board with NFS,

    2) Try to access the contents of your SD card like copying the files from SD card to filesystem, deleting the contents from SD card in back ground job(copying or deleting the file size should be big)

    3) Now runt the DSP code.

    Ex:

    1) Booted the board with NFS

    2)

    target # mount -t ext3 /dev/mmcbl0p2 /mnt

    target #cp -rf /test_file.mp4 /mnt &    ("&" symbol will do the job in background)

     

    test_file.mp4 size is around 50MB

    3) Run the DSP code

     toot@(none):/opt/DSPLinkExample/HF_Simulator# ./HF_Simulator_GPP HF_Simulator.out

     

    Please provide the results.

  • I found the problem. In DSP, we used LED. To work with LEDs you should initiate i2c. I think a conflict was happened. When I remove the code all things were good..

    Thanks,

    Jack

  • HI,

    Thanks for your update.