Forum Discussion

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- 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...."....