[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] Put a custom file in the image
Jonathan Jung wrote:
> I've actually tried this. I put a couple of SSL certificate files in
> romfs/etc/config/, then ran make image again. The messages shows the
> files being packed into the image, but when I uploaded it to the board,
> the files weren't there.
You got unlucky there - if you are using flatfsd (which by default all
mb-uclinux targets do), then /etc/config is actually a mount point for a
ram-based filesystem. Search ucdot.org for the whole story about flatfsd.
Basically, you should copy your files into romfs//etc/default, and
you'll find them in your filesystem on the board. Then, on thje board,
copy the files you want into /etc/config, and get their contents
correct. Run "flatfsd -s" to save them to flash, they'll magically be
there next time you boot.
microblaze-uclinux mailing list
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/