- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a stratix 1s10 with a uclinux. I'd like to create a directory (mkdir new_directory) but I don't have the permission. I think it's a question of right, but ... I don't want to create my directory in Nios IDE and download the romfs.bin ; I want to create it directly on the board. How can I do that in my board ? Regards JohnLink Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi John,
The romfs is read-only ... you'll need to switch to a r/w file system to create directories, create/modify files, change attributes, etc. You might want to consider jffs2. Regards, --Scott- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot for your answer,
But the only file I can download is romfs.bin. When I build my file-system, I don't have jffs2. How can I create this file ? Regards, John- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi John,
You'll need to enable jffs2 in the kernel configuration, then create your own jffs2 image using the mkfs.jffs2 utility. You can get the sources from: http://www.psyent.com/download (http://www.psyent.com/download) The sources at this site were ported for use under cygwin ... but you'd be doing yourself a favor (at least for the time being) to build the utility under linux -- as the cygwin version doesn't do a good job with some of the file attributes. Regards, --Scott
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page