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.

DM365: Help with creating tar FileSystem from targetfs

Hi All,

I want to flash the nand with filsystem.

I tried using this manual:

http://processors.wiki.ti.com/index.php/GSG:_DM365_DVEVM_Additional_Procedures#Restoring_the_NAND_Flash_Using_NFS

I already flashed the nand with uImage.

but I no have the file: dm365_flash_image_#_#_#_#.tar or similar (I don't have the CDs).

Currenly, my DM365 EVM run from NFS and TFTP on ubuntu.

I want to create tar filesystem from NFS (/targetfs directory as described in the getting started manual).

Can I do this with this commands?

cd /targetfs
tar cpjf /rootfs.tar.bz2 .
If yes, How can I continue the procedure (I want that the DM365 will run from nand flash)?

Thanks!

  • I tried to run those commands:

    EVM # mkdir /mnt/nand
    EVM # flash_eraseall /dev/mtd3
    EVM # mount -t yaffs2 /dev/mtdblock3 /mnt/nand/
    And got this error:

    mount: unknown filesystem type 'yaffs2'

    Thanks!

  • Hi all,

    I success to run from nand flash.

    after I created the rootfs.tar.bz I do the following:

    EVM # mkdir /mnt/nand
    EVM # flash_eraseall /dev/mtd3
    EVM # mount -t jffs2 /dev/mtdblock3 /mnt/nand/

    Now, extract the tar.bz2 to this mount point:

     

    EVM # tar –vjxf /usr/ rootfs.tar.bz2

    EVM # cd
    EVM # umount /mnt/nand
    EVM # reboot
    
    
    Set U-boot var:
    EVM # setenv bootcmd 'nboot0x807000000 0 0x400000;bootm'
    EVM # setenv bootargs console=ttyS0,115200n8 ip=dhcp root=/dev/mtdblock3 rw rootfstype=jffs2 mem=54M  video=davincifb:vid0=OFF:vid1=OFF:osd0=720x576x16,4050K dm365_imp.oper_mode=0 davinci_capture.device_type=1 vpfe_capture.cont_bufsize=6291456 davinci_enc_mngr.ch0_output=COMPOSITE davinci_enc_mngr.ch0_mode=PAL
    
    
    EVM # savee
    boot
    
    
    Thanks!