Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Beginner for Nios2

I have a ep1c12f ev board, download the u-boot and uClinux sourse code from www.uclinux.org .

(1) which verision gcc do I need ,the newestly patch for official gcc ?

(2) the image of u-boot or uClinux how I download the sdram for debug or How i flash it for flash?

6 Replies

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

    --- Quote Start ---

    originally posted by alephman@Oct 30 2006, 11:30 AM

    i have a ep1c12f ev board, download the u-boot and uclinux sourse code from www.uclinux.org .

    (1) which verision gcc do i need ,the newestly patch for official gcc ?

    (2) the image of u-boot or uclinux how i download the sdram for debug or how i flash it for flash?

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

    --- quote end ---

    --- Quote End ---

    Welcome, please check the Nios wiki.

    http://nioswiki.jot.com/%c2%b5clinux (http://nioswiki.jot.com/%c2%b5clinux)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by alephman@Oct 30 2006, 04:45 PM

    http://forum.niosforum.com/work2/style_emoticons/<#emo_dir#>/tongue.gif

    thanks, hippo.

    can i use ubuntu 6 on host pc?

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

    --- quote end ---

    --- Quote End ---

    It should work.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    1. Why I can&#39;t use redhat 9 for Building nios-linux?

    could i upate the gcc for redhat 9?

    2. about jffs2 &#39;s problems on uClinux 2.4.22.

    We have 2MB SST39LV1601 flash and The flash partition is mounted as a jffs2 partition. When we try to remove and copy some files to and from the filesystem which is mounted as a root filesystem it occasionally gives the following warning:

    (1) jffs2_read_inode(): No data nodes found for inode# 181.

    then, this filesystem some files can&#39;t be accessed to and giving this warning when booting.

    (2) sometimes it gives the following warning :

    JFFS2: Erase block at 0x0008b000 is not formatted. It will be erased

    .....

    Because my application needs sending and receiving data realtime,it run seems normal,but it happens some delay and crash sometimes.

    What are possible causes of that gives this warning?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    ONE question for a thread, please.

    Your question should be on the topic.

    Just "Beginner for Nios2" is not a good title.

    1. Don&#39;t mix up Nios and Nios II.

    They are almost totally different.

    You should not work on Nios, unless you are maintaining an old product.

    Yes, you can install the Nios2 binary toolchain from the wiki and develpe nios2 uclinux on Redhat 9.

    But Redhat 9 is OBSOLETE. It is not maintained.

    The some tools on Redhat 9 are old, and can not run buildroot.

    2. jffs2 on kernel 2.4.22,

    NO comment.

    Nios2 uclinux use kernel 2.6 .
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by hippo@Nov 7 2006, 01:11 AM

    one question for a thread, please.

    your question should be on the topic.

    just "beginner for nios2" is not a good title.

    1. don&#39;t mix up nios and nios ii.

    they are almost totally different.

    you should not work on nios, unless you are maintaining an old product.

    yes, you can install the nios2 binary toolchain from the wiki and develpe nios2 uclinux on redhat 9.

    but redhat 9 is obsolete. it is not maintained.

    the some tools on redhat 9 are old, and can not run buildroot.

    2. jffs2 on kernel 2.4.22,

    no comment.

    nios2 uclinux use kernel 2.6 .

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

    --- quote end ---

    --- Quote End ---

    http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif OK,thanks.

    As my title, I m a Beginner for Nios2 and

    I m maintaining an old product on arm . So ,I want to porting the product on NIOS2. About the jffs2 problems is on the old product ,I spent lots time but ben&#39;t solved.