DM3xx filesystem restore procedure in DVSDK 3.10

From Texas Instruments Embedded Processors Wiki

Jump to: navigation, search
Translate this page to   

Creating and Flashing DVSDK Demo Filesystem for DM3XX Platforms

This section describes creating JFFS2 demo filesystem from DVSDK release.

Note: If you are upgrading from DVSDK 2.X and before. Please follow the instructions provided in the link Flashing_DM365_EVM_using_NAND_Writer_utilities.

In following commands please replace 3_10_X_X to actual DVSDK release number, like 3_10_00_15 and replace 3xx with 355 or 365.

 host $ wget http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_3_10/latest/exports/arago-demo-image-dm3xx-evm.tar.gz
 host $ wget http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_3_10/latest//exports/dvsdk_3_10_X_X_overlay_dm3xx.tar.gz
 host $ wget http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_3_10/latest/exports/data_dm3xx.tar.gz
host $ mkdir dm3xx_flash_image_3_10_X_X
host $ sudo tar -xzf arago-demo-image-dm3xx-evm.tar.gz -C dm3xx_flash_image_3_10_X_X
host $ sudo tar -xzf dvsdk_3_10_X_X_overlay_dm3xx.tar.gz -C dm3xx_flash_image_3_10_X_X
host $ sudo tar -xzf data_dm3xx.tar.gz -C dm3xx_flash_image_3_10_X_X/opt/dvsdk
host $ sudo mv dm3xx_flash_image_3_10_X_X/opt/dvsdk/dm3xx/web/thttpd dm3xx_flash_image_3_10_X_X/etc/init.d/thttpd
host $ sudo cp -r dm3xx_flash_image_3_10_X_X/opt/dvsdk/dm3xx/web/* dm3xx_flash_image_3_10_X_X/srv/www/
host $ sudo chmod 644 dm3xx_flash_image_3_10_X_X/srv/www/*.*
host $ sudo chmod a+x dm3xx_flash_image_3_10_X_X/srv/www/cgi-bin/*
host $ sudo chmod a+x dm3xx_flash_image_3_10_X_X/opt/dvsdk/dm3xx/dvevmdemo
host $ sudo mv dm3xx_flash_image_3_10_X_X/opt/dvsdk/dm3xx/dvevmdemo dm3xx_flash_image_3_10_X_X/etc/init.d
host $ cd dm3xx_flash_image_3_10_X_X/etc/rc5.d
host $ sudo ln -s ../init.d/dvevmdemo S99dvevmdemo
host $ cd ../..
host $ sudo tar -cf ../dm3xx_flash_image_3_10_X_X.tar .
host $ cd ..
host $ cp dm3xx_flash_image_3_10_X_X.tar <to nfs filesystem>
target$ flash_eraseall /dev/mtd4
target$ mkdir -p /mnt/nand
target$ mount /dev/mtdblock4 /mnt/nand -t jffs2
target$ cd /mnt/nand
target$ tar -xf dm3xx_flash_image_3_10_X_X.tar
E2e.jpg For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article DM3xx filesystem restore procedure in DVSDK 3.10 here.
Hyperlink blue.png Links
ARM Microcontroller MCU ARM Processor Digital Media Processor Digital Signal Processing Microcontroller MCU Multi Core Processor
Ultra Low Power DSP 8 bit Microcontroller MCU 16 bit Microcontroller MCU 32 bit Microcontroller MCU

Leave a Comment
Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox