Hello Maurizio and Patrick,

after the make command, under 
devboard-R2_01/target/cris-axis-linux-gnu/...  there is the complete 
tree representing the file system that will be written on the fox on 
flashing the fimage.

If you need to just add a file or two you can just copy the files there 
in the chosen location and then issue the command:
"make images" that will regenerate just the fimage without recompiling. 
In this way your files will be inside the fimage (even in the read only 
partition).

The logic behind the fimage creation is described here by Axis:
http://developer.axis.com/wiki/doku.php?id=axis:software_distribution_design

The mechanism to insert files and applications so that they will be 
inserted automatically by the SDK when in the fimage during make is 
shown here:
http://developer.axis.com/wiki/doku.php?id=axis:apps_howto

If you need to copy just files and not applications in automatic mode, 
you have to:
go to devboard-R2_01
issue the command: " . init_env"
cd apps
mkdir mydir
cd mydir
issue the command: "make cris-axi-linux-gnu"
copy in "mydir" your desired files
copy inside "mydir" a Makefile who instruct the make command to process 
a "make install" section that will just copy your files in the right 
target location (see how other applications under "/apps" do the make 
install section to copy their final files in the right target directories)

Then generate a file named "post" inside devboard-R2_01/configure-files/
inside this file put the line:
sub apps/mydir

now go to devboard-R2_01 and issue:
./configure
make

configure will regenerate the main Makefile so to process your special 
Makefile under mydir and make will copy your files in the right directories.

Look in the target/cris-axis-linux-gnu if your files have been correctly 
placed.
Now you can flash your image to the Fox.

Feel free to ask if you need more assistance.

Best regards,

Roberto Asquini



> Hi partick,
> I read you post and I wonder if you solved your problem.
> I have the same too.
>
> Maurizio
>
> --- In [email protected] <mailto:foxboard%40yahoogroups.com>, 
> "extra_pix_el" <[EMAIL PROTECTED]> wrote:
> >
> > hi,
> >
> > i can't seem to get the logic behind the creation of the fimage's
> > filesystem. is there some representation of the "future" filesystem on
> > the fox in the sdk?
> >
> > let's say i want to place some files (shell- / python-scripts) into
> > the filesystem of the fox, but they should be in the fimage.
> > I assume applications in the sdk apps folder get automatically placed,
> > and the rules for that are in the Makefile? But how to proceed with
> > arbitrary files that are not compiled?
> >
> > thank you,
> >
> > patrick
> >
>
>  


-- 
Roberto Asquini
Acme Systems srl
[EMAIL PROTECTED]
http://www.acmesystems.it

Reply via email to