- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
How to make applications run on nios2linux by comman mount or ftpd. because the kernel is romfs, I can't mount linux host and windows xp. I can't send files to filesystem by ftpd either. Does somebody want to give a hand? My QQ is 332418170. Waiting for you!!Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome to darkstar.
You can mount over initramfs. Add a PC to run Linux, and follow this link to build tools/kernel/apps, http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo@Mar 8 2006, 04:27 PM welcome to darkstar.
you can mount over initramfs.
add a pc to run linux, and follow this link to build tools/kernel/apps,
http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174)
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13223)
--- quote end ---
--- Quote End --- Hi hippo, can you specify what do you mean by mounting over initramfs ? Warm Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The initramfs is a read/writable root fs. It is not like romfs, which is read-only.
eg, to mount jffs2 "mount -t jffs2 /dev/mtdblock0 /mnt" will mount a mtd block device (0) to dir /mnt, /mnt is the mount point, you can use other dir for it. (you can even remount root fs with switch-root, but probably you won't) eg, to mount nfs "mount -t nfs 192.168.1.2:/home /home" will mount the /home dir from nfs server 192.168.1.2 to dir /home . eg, to mount vfat on ide/cf "mount -t vfat /dev/hda1 /var/www" will mount ide part 1, which is formatted as vfat, to dir /var/www- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hippo,Thank you for your reply. I have my own problems. I am not able to install Quartus5.0 on Fedora4.0 though I download quartus5.0_for_linux form ftp.altera.com.cn. After ./install run, there is message like "the installation is not finished, please insert CD." Oh, I am confused about that. Tried several times, none succedded. And I am not familiar with Fedora. Could you help me walk through the process on windowsXP?
My QQ:332418170. Could you tell me your QQ ? http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/laugh.gif- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--updated 200603071519, add compressed boot loader
************************************************************************* NOTE : the latest buildroot and uClibc snapshot have problems, please download the attached build.zip and build0207.zip into ~/download, unzip build.zip,unzip build0207.zip, and run ./build0207 instead of ./build in step3 ************************************************************************* where should I download the attached build.zip and build0207.zip ?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by zzh@Mar 9 2006, 04:21 AM --updated 200603071519, add compressed boot loader
*************************************************************************
note : the latest buildroot and uclibc snapshot have problems,
please download the attached build.zip and build0207.zip into ~/download, unzip build.zip,unzip build0207.zip, and run ./build0207 instead of ./build in step3
*************************************************************************
where should i download the attached build.zip and build0207.zip ?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13247)
--- quote end ---
--- Quote End ---
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't have QQ.
You need two PCs, use the windows XP with quartus 5.1sp1 and nios2 5.1sp1, which is used to compile hardware and download sof/elf/flash. Another Linux PC, (does not need quartus), used to build software, (tools/kernel/apps). Run a samba server (or client) on Linux PC, so that they can share files. The zip files are at the end of post#1 in the thread. You can use the Linux distribution which you are familiar. You should use the latest release of it. And you should have gcc 3.xx .- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo@Mar 9 2006, 09:40 AM the initramfs is a read/writable root fs. it is not like romfs, which is read-only. --- Quote End --- That's an insteresting thing, but how can we get initramfs since we found only romfs after compiling the fs project.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi MFM,
We do it on Linux with buildroot tools. Jdhar and I had tried to do it on windows/cygwin but failed. That's the beginning of this story. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/smile.gif- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TO_BE_DONE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
good, so you have the buildroot/gcc/uclibc/busybox successed?
Use the mininal .config copied from the kernel.config or kernel2.config attached. Only change the console (either serial or jtag). DO NOT change any other setting. Change others only after you have a successful boot.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo@Mar 10 2006, 09:46 AM good, so you have the buildroot/gcc/uclibc/busybox successed?
use the mininal .config copied from the kernel.config or kernel2.config attached.
only change the console (either serial or jtag). do not change any other setting. change others only after you have a successful boot.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13306)
--- quote end ---
--- Quote End --- Hi hippo. After I did, It likes follow: ~/buildroot/build_nios2/staging_dir/bin has tools . ~/buildroot/toolchain_build_nios2 has binutils-2.15 ,binutils-2.15-build,uClibc etd dirs. It's hard for me to make vmlinux.On sopc builder,I made a "nios2+jtag+onchipram+cfi+ext_flash" system, and get a ptf file.During config the kernel, I did what you said (oad kernel.config and just change the serial console to jtag). But it still can't succeed. The most errors are like :undefined reference to `__udivsi3' undefined reference to `__modsi3' Please give me some advice. is it because ptf file or config problems? I trid many ways , but failed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The problem should be in library binding. Which Linux distribution did you use?
Do you have sdram on your board? you should run uclinux from it.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo@Mar 10 2006, 08:59 AM hi mfm,
we do it on linux with buildroot tools. jdhar and i had tried to do it on windows/cygwin but failed. that's the beginning of this story. http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/smile.gif
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13284)
--- quote end ---
--- Quote End --- Hi hippo, after being unable to integrate my custom application in µClinux under windows http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/dry.gif I decided to take all the stuff under Linux (I can hear someone laughing http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif ) but I was shocked when I didn't found any quartus version for linux in our laboratory http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif and found only a nios II linux version, so now I'm really in a big trouble. That's why I ask you if you can provide me with any little information on how to integrate the application in µClinux under windows I'll be infinitely gratefull. Warm Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
i have begin to wirte a file how to run the uClinux in NIOS2 in chinese. you can find it in the next website : http://www.icwin.net/showartitle.asp?art_id=8313&cat_id=52 (http://www.icwin.net/showartitle.asp?art_id=8313&cat_id=52)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page