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.

How to load Application to NAND

Hello,

We created our own application. That application we want to load to DM355EVM flash.

At present we are working through NFS boot, we want to do through NAND flash boot.

Where we want to load our application. Our application should run by default while after power on,

how we can make it. Plz help me 

 

Bala...

  • Bala,

    There are many good articles on our wiki site that should help you with this task; in particular I would recommend

    http://tiexpressdsp.com/index.php?title=XDAIS_sample_algorithm

    and since you application will be part of a file-system,

    http://tiexpressdsp.com/index.php?title=Filesystem_in_NOR_or_NAND

     

  • Thanks for replay.

    I didn’t get any idea from this. Actually, like your DVEVM demo program, I want run my own application on EVM board by default with NAND flash file system.

    Plz give some ideas and guide me.

    Bala.

  • Bala,

    This is a task which requires the system developer (you in this case) to make decisions that can influence the process of completing this task.  For example,

    1) You need to decide which file system type you will support, the most common type for NAND is YAFFS2; will this work for you? 

    2) You need to have a working file system to which you can add your application to.  We provide two, the one you NFS mount (quite large and may not fit in NAND flash) and a ramdisk (smaller and usually a better starting point); however, in the final product, you probrably want to optimize your file-system for your particular application using a tool like DevRocket (much easier than command line rpm).  Again, as a system designer, you know your system best and need to come up with a file-system that includes everything you need.  Do you have this already in a form that will fit into your NAND flash?  If not, this is a whole other topic ...

    Once you know which fil-system type you want to support and have all your file-system (includes your app) all ready to go, then the article I recommended earlier (http://tiexpressdsp.com/index.php?title=Filesystem_in_NOR_or_NAND ) should make much more sense; it details the steps necessary to burn the file-system into flash as well as offering a few details on flash technology and file-system types.

    I hope this helps.

  • Maybe this is too specific/simplistic, but if you want to run something when the system boots you can put a script in /etc/init.d, adding the command in there will allow you to run when you power on the board much like the variety of services that are already starting on boot.