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.

sd filesystem

hi

i  m trying to use sd cards filesystem but not succeded here are my boot args on dm365 using dvsdk 4

here are my bootargs

bootargs=console=ttyS0,115200n8 davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=NTSC  davinci_display.cont2_bufsize=3145728 vpfe_capture.cont_bufoffset=3145728 vpfe_capture.cont_bufsize=3145728 video=davincifb:osd1=0x0x8:osd0=720x480x16,1350K@0,0 dm365_imp.oper_mode=0  vpfe_capture.interface=1 root=/dev/mmcblk0p2 rw rootwait ip=off 

this is bootloaders output

loading kernel..............

...............................

.................................

Waiting for root device /dev/mmcblk0p2...
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new high speed SD card at address 9db4
mmcblk0: mmc0:9db4 SD02G 1.87 GiB
 mmcblk0: p1 p2
List of all partitions:
1f00          262144 mtdblock0 (driver?)
b300         1966080 mmcblk0 driver: mmcblk
  b301           40162 mmcblk0p1
  b302         1911735 mmcblk0p2
No filesystem could mount root, tried:  vfat msdos
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
davinci_interrupt 368: VBUS error workaround (delay coming)
davinci_interrupt 368: VBUS error workaround (delay coming)
davinci_interrupt 368: VBUS error workaround (delay coming)

please sort the problem out

kailash



  • Could you double check if there is file system in this SD card partition 2?

    Regards,

    Yan

  • Hi Kailash,

    Go through these

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/t/7597.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/t/127057.aspx

    Regards

    AnilKumar

    Please mark this Forum post as answered via the Verify Answer button below if it helps answer your question.  Thanks!

  • yan

    yes i ve checked it and like to send u the output of on ubuntu

    dm365@dm365-desktop:~$ df
    Filesystem           1K-blocks      Used Available Use% Mounted on
    /dev/sda1             37026376  27413704   7731840  79% /
    none                    504824       272    504552   1% /dev
    none                    509048      1224    507824   1% /dev/shm
    none                    509048       216    508832   1% /var/run
    none                    509048         0    509048   0% /var/lock
    none                    509048         0    509048   0% /lib/init/rw
    /dev/sdb2              1881684    356428   1429672  20% /media/rootfs
    /dev/sdb1                39528      4061     35468  11% /media/boot

    boot contains

    these 2 files

    /media/boot/uEnv.txt
    /media/boot/uImage

    and rootfs contains filesystem

    /media/rootfs/bin
    /media/rootfs/dev
    /media/rootfs/etc
    /media/rootfs/lib
    /media/rootfs/lost+found
    /media/rootfs/proc
    /media/rootfs/root
    /media/rootfs/sbin
    /media/rootfs/sys
    /media/rootfs/tmp
    /media/rootfs/usr
    /media/rootfs/var

    and while booting the board itself shows found two partitions on mmcblk0 p1 and p2

    i m attaching the uEnv.txt file for further clarification

    0654.uEnv.txt

    thanxx

    kailash

  • FYI,

    http://processors.wiki.ti.com/index.php/DM3xx_SD_card_boot_and_flashing_program

    Regards

    AnilKumar

    Please mark this Forum post as answered via the Verify Answer button below if it helps answer your question.  Thanks!

  • thanku to all for ur help

    i ve solved the problem with new sd card and old sd also working after formatting it 2 3 times

    but now i m facing a real big problem

    loading the co processor modules is giving error with sd

    here is log from booting throug nand as nfs on server 192.168.72.136

    Loading coprocessors modules...                                                                                                               
      Loading cmem from 0x86f00000 to 0x87e00000                                                                                                  
    CMEMK module: built on Feb 29 2012 at 12:34:50                                                                                                
      Reference Linux version 2.6.32                                                                                                              
      File /home/dm365/ti-dvsdk_dm365-evm_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c                     
    allocated heap buffer 0xcb000000 of size 0xf00000                                                                                             
    heap fallback enabled - will try heap if pool buffer is not available                                                                         
    CMEM Range Overlaps Kernel Physical - allowing overlap                                                                                        
    CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x86300000)                                                                           
    cmemk initialized                                                                                                                             
    EDMAK module: built on Feb 29 2012 at 12:34:58                                                                                                
      Reference Linux version 2.6.32                                                                                                              
      File /home/dm365/ti-dvsdk_dm365-evm_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/edma/src/module/edmak.c                     
    IRQK module: built on Feb 29 2012 at 12:34:55                                                                                                 
      Reference Linux version 2.6.32                                                                                                              
      File /home/dm365/ti-dvsdk_dm365-evm_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/irq/src/module/irqk.c                       
    irqk initialized                                                                                                                              
    Starting Dropbear SSH server: dropbear.                                                                                                       
                                                                                                                                                  
    Please press Enter to activate this console.

    now this is log while booting filesystem on sd card

    Loading coprocessors modules...                                                                                                               
    Error while running '/etc/rc.d/S90coprocessors'.                                                                                              
    Starting Dropbear SSH server: dropbear.                                                                                                       
                                                                                                                                                  
    Please press Enter to activate this console.     

    pls tell the possible problem

    kailash

  • Hi,

    You modified the configuration of your kernel and didn't rebuild the DVSDK modules.

    Do the following steps on the root of the SDK:

    `make env`

    make -C proprietary/dvsdk--4_02_00_06 clean build install

    And reload the filesystem on the board.

    Regards,

    --Prabhakar Lad