Forum Discussion
15 Replies
- Altera_Forum
Honored Contributor
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) - Altera_Forum
Honored Contributor
--- 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
- Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
--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 ? - Altera_Forum
Honored Contributor
--- 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 ---
- Altera_Forum
Honored Contributor
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 . - Altera_Forum
Honored Contributor
--- 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. - Altera_Forum
Honored Contributor
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 - Altera_Forum
Honored Contributor
TO_BE_DONE