Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

mount jffs2 error

Altera_Forum
Honored Contributor II
1,428 Views

Please see attachment

0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
605 Views

you'd better try them one by one. 

try cfi first, and disable epcs. 

 

the de2 has 4M cfi for later shippment. the de2_net has 1M cfi only. you need to update it in sopc builder and regenerate sof . you may see the thread of jay_1025, he had cfi jffs2 worked.
0 Kudos
Altera_Forum
Honored Contributor II
605 Views

I have updated the sopcbuilder to 4M cfi and regenerated it , and how can I change the files altera.c and epcs_maps.c .Thanks !! 

In Sopc Builder the cfi_flash_0 base:0x00000000 end 0x00300000 

sdram base:0x00800000 end 0x00FFFFFFF 

epca_controller base :0x00480800  

THANKS
0 Kudos
Altera_Forum
Honored Contributor II
605 Views

 

--- Quote Start ---  

originally posted by andylei@Jun 18 2006, 12:30 PM 

i have updated the sopcbuilder to 4m cfi and regenerated it , and how can i change the files altera.c and epcs_maps.c .thanks !! 

  in sopc builder the cfi_flash_0 base:0x00000000  end 0x00300000 

                              sdram      base:0x00800000 end  0x00fffffff 

                              epca_controller base :0x00480800  

thanks 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=16230) 

--- quote end ---  

 

--- Quote End ---  

 

edit altera.c 

static struct mtd_partition alteramap_partitions[] = { 

.name = "romfs/jffs2", 

.size = 0x400000, 

.offset = 0x000000, 

}; 

 

Rebuild kernel image from the start "make clean", "make linux_hwselect...."....
0 Kudos
Reply