Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

Can I update and save file when n2linux running?

hi all:

I want to update some files( for example: rework the prime IP setting in

`etc/inittab) when the nios2 uclinux is running. Then reset the DVB, the uclinux

will confing the system bases the updated inittab file.

I think to I can use these function :file_open, file_read, file_write to rework the

file of I want to rework. But the nios2 uclinux is ramfs,so the file just a allude file.

The fact file is stored in flash. Can I rework the fact file ? If can, how can I do?

Who can give me some advice? Thanks a lot.

12 Replies