Forum Discussion
Altera_Forum
Honored Contributor
16 years agoquestion on EPCS
Hi all,
is it possible to put root file system (jffs2) on epcs??? Therefore you can have all in epcs (sof, kernel, rootfs)... Any help will be appreciated Carlo5 Replies
- Altera_Forum
Honored Contributor
yes, it is possible.
- Altera_Forum
Honored Contributor
Hi dwersteg,
thank you very much!!! Do you have any indication about kernel configuration or main changes to do??? (Only to understand the effort)... Thank you again Carlo - Altera_Forum
Honored Contributor
you just need to ensure that there are drivers for the SPI device, i believe this is documenting on the nios wiki. you will need to map out the flash device config.c, i believe there are examples of that as well. Not much room in a spi flash though.
- Altera_Forum
Honored Contributor
Hi dwesterg,
thak you again...you are probably right...this is not the right way... How much room could be needed in your opinion...from nioswiki (2c35_cf example) I see: vmimage (http://www.nioswiki.com/@api/deki/files/466/=vmimage) 1401.9 kB rootfs.jffs2 (http://www.nioswiki.com/@api/deki/files/470/=rootfs.jffs2) 3.38 MB niosii_cycloneii_2c35_full_featured_epcs_boot.sof (http://www.nioswiki.com/@api/deki/files/502/=niosii_cycloneii_2c35_full_featured_epcs_boot.sof) 821.46 kB I don't know exactly how big is the application sw that will run on the board but...what size do you have in mind (could be ok for you)??? Carlo - Altera_Forum
Honored Contributor
Hi All,
a new question on EPCS.... I've enable SPI serial flash on linux kernel and added partitions for epcs....now I wanted to update netlist on epcs directly from Linux....it seems impossible...if I try cp/dd .img /dev/mtd4 (the device on which epcs belongs) I obtain can't open /dev/mtd4: permission denied .... I don't understant....If i try to mount jffs2 on epcs everything works well... Can someone help me to understand what is happening?? Carlo :)