Forum Discussion

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

Does Nios II Linux v1.4 support EP2c35?

Does Nios II Linux v1.4 support EP2c35?

thank you!

27 Replies

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

    The Microtronix Linux Plugin only works with Nios 5.0 IDE if you use 5.1 then you get the error message that the programmer has been updated.

    You can use 5.1 but you must upload the Kernel and Filesystem from the commandline.

    Use these commands in the nios2-terminal:

    >>We currently do not support Nios II Linux with Quartus II v5.1

    >>In the interim, the kernel and filesystem projects can be uploaded manually >>from the command line using the following procedure:

    >>Upload the .sof file for your hardware design first, then run the following >>commands.

    [SOPC Builder]$ cd $ECLIPSE_WORKSPACE/<project>/build

    [SOPC Builder]$ nios2-elf-objcopy -O binary vmlinux vmlinux.bin

    [SOPC Builder]$ bin2flash --location=0x0 --input=vmlinux.bin --output=vmlinux.flash

    [SOPC Builder]$ nios2-flash-programmer --base=0x800000 vmlinux.flash
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    to nacide:

    if i run the linux on ram,not download into flash,will it work?

    if it can do,what i should do?

    thank you!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    when i run linux on DE2,it happaens:

    Linux version 2.6.11-uc0 (ty@ty024) (gcc version 3.4.1 (Altera Nios II 5.1 b73))

    # 2 Thu Apr 27 20:24:19 2006

    on

    .4.1 (AlteNios II

    I 5.1 b73))# 2 Thpport © 2004 Microtronix Datacom Ltd.

    s ilt 1 zonelists

    I support ©d line: root=/dev/mtdblock0 ro

    BuD hash table entries: 64 (order: 6, 1024 bytes)

    tdblock0 ro

    PIsh table entries: 2048 (order: 1, 8192 bytes)

    Dentry cache hatable entries: 1024 (order: 0, 4096 bytes)

    )

    Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)

    288k data)

    ble: 6372k/8192k RAM, 0k/0k ROM (1412k kernel code, 288k data)

    Registered protocol family 16

    512 (order: 0, 4096 bytes)

    NET: Registered protocol family 16

    000ial: JTAG UART driver $Revision: 1.4 $

    ttyJ0 at MMIO 0x81004cheduler anticipatory registered scheduler noop registered

    io sededuler anticipatory registered

    io scheduler deadline registered

    io scheduler cfq registered

    ksize

    driver initialized: 16 RAM disks of 4096K size 1024 blocksize

    tera NDK flash (AMD): Found 1 x16 devices at 0x0 in 8-bit bankps: 1

    Fujitsu Extended Query Table at 0x0040

    number of CFI chips: 1

    cfi_cmdset_0002: Disabling erase-susing not available

    code brokenness.

    cmdlinepart partition parsing not available

    RedBoot partition parsing not available

    Usin"Altera NDK flash (AMD)":

    nition

    Creating 4 MTD partitions on "Altera NDK flash (AMD)":

    s2" extends beyond the end of device "Altera NDK flash (AMD)" -- size truncated

    to 0x200000

    device "Altera NDK flash (AMD)" --nel"

    truncated to 0x200000

    0x00000000-0x00200000 : "loader/kernel"

    er configuration" is out of reach -- disabled

    td: partition "User configuration" is out of reach -- disabled

    fe configuration" is out of reach -- disabled

    td: partition "safe configuration" is out of reach -- disabled

    NET: Registered protocol family 2

    ished hash table entries: 512 (order: 0, 4096 bytes)

    TCP establash table entries: 512 (order: -1, 2048 bytes)

    tes)

    TCP bind h configured (established 512 bind 512)

    bytes)

    TCP: Hash tables family 1

    (established 512 bind 512)

    NET: Registered protocol family 1

    NET: Registered protocol family 17

    ios II 5.1 b73))# 2 Thu Apr 27 20:24:19 2006

    on

    .4.1 (AlteNios II

    I 5.1 b73))# 2 Thpport © 2004 Microtronix Datacom Ltd.

    suilt 1 zonelists

    I support © line: root=/dev/mtdblock0 ro

    BID hash table entries: 128 (order: 7, 2048 bytes)

    dblock0 ro

    Phash table entries: 4096 (order: 2, 16384 bytes)

    Dentry cache sh table entries: 2048 (order: 1, 8192 bytes)

    )

    Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)

    288k data)

    ble: 6360k/8192k RAM, 0k/0k ROM (1412k kernel code, 288k data)

    el panic - not syncing: Can&#39;t create rootfs

    , 4096 bytes)

    Kernel panic - not syncing: Can&#39;t create rootfs

    does it mean to the linux work?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    when i build the linux on EP2C35 on my FC4(vmware)

    these errors occur:

    arch/nios2nommu/boot/Makefile:29: &#35686;&#21578;&#65306;&#35206;&#30422;&#20851;&#20110;&#30446;&#26631;“arch/nios2nommu/boot/zImage”&#30340;&#21629;&#20196;

    arch/nios2nommu/boot/Makefile:12: &#35686;&#21578;&#65306;&#24573;&#30053;&#20851;&#20110;&#30446;&#26631;“arch/nios2nommu/boot/zImage”&#30340;&#26087;&#21629;&#20196;

    arch/nios2nommu/boot/Makefile:33: &#35686;&#21578;&#65306;&#35206;&#30422;&#20851;&#20110;&#30446;&#26631;“arch/nios2nommu/boot/compressed/vmlinux”&#30340;&#21629;&#20196;

    arch/nios2nommu/boot/Makefile:16: &#35686;&#21578;&#65306;&#24573;&#30053;&#20851;&#20110;&#30446;&#26631;“arch/nios2nommu/boot/compressed/vmlinux”&#30340;&#26087;&#21629;&#20196;

    arch/nios2nommu/boot/compressed/Makefile:58: &#35686;&#21578;&#65306;&#35206;&#30422;&#20851;&#20110;&#30446;&#26631;“arch/nios2nommu/boot/compressed/vmlinux”&#30340;&#21629;&#20196;

    arch/nios2nommu/boot/compressed/Makefile:22: &#35686;&#21578;&#65306;&#24573;&#30053;&#20851;&#20110;&#30446;&#26631;“arch/nios2nommu/boot/compressed/vmlinux”&#30340;&#26087;&#21629; &#20196;

    arch/nios2nommu/boot/compressed/Makefile:62: &#35686;&#21578;&#65306;&#35206;&#30422;&#20851;&#20110;&#30446;&#26631;“arch/nios2nommu/boot/compressed/vmlinux.bin”&#30340; &#21629;&#20196;

    arch/nios2nommu/boot/compressed/Makefile:26: &#35686;&#21578;&#65306;&#24573;&#30053;&#20851;&#20110;&#30446;&#26631;“arch/nios2nommu/boot/compressed/vmlinux.bin”&#30340; &#26087;&#21629;&#20196;

    arch/nios2nommu/boot/compressed/Makefile:65: &#35686;&#21578;&#65306;&#35206;&#30422;&#20851;&#20110;&#30446;&#26631;“arch/nios2nommu/boot/compressed/vmlinux.bin.gz”&#30340;&#21629;&#20196;

    arch/nios2nommu/boot/compressed/Makefile:29: &#35686;&#21578;&#65306;&#24573;&#30053;&#20851;&#20110;&#30446;&#26631;“arch/nios2nommu/boot/compressed/vmlinux.bin.gz”&#30340;&#26087;&#21629;&#20196;

    arch/nios2nommu/boot/compressed/Makefile:72: &#35686;&#21578;&#65306;&#35206;&#30422;&#20851;&#20110;&#30446;&#26631;“arch/nios2nommu/boot/compressed/piggy.o”&#30340;&#21629;&#20196;

    arch/nios2nommu/boot/compressed/Makefile:36: &#35686;&#21578;&#65306;&#24573;&#30053;&#20851;&#20110;&#30446;&#26631;“arch/nios2nommu/boot/compressed/piggy.o”&#30340;&#26087;&#21629; &#20196;

    AS arch/nios2nommu/boot/compressed/head.o

    arch/nios2nommu/boot/compressed/head.S: Assembler messages:

    arch/nios2nommu/boot/compressed/head.S:111: Error: symbol `_start&#39; is already defined

    arch/nios2nommu/boot/compressed/head.S:117: Error: symbol `text_init&#39; is already defined

    arch/nios2nommu/boot/compressed/head.S:126: Error: symbol `data_init&#39; is already defined

    arch/nios2nommu/boot/compressed/head.S:146: Error: symbol `flush_cache&#39; is already defined

    arch/nios2nommu/boot/compressed/head.S:151: Error: symbol `data_flush&#39; is already defined

    arch/nios2nommu/boot/compressed/head.S:158: Error: symbol `text_flush&#39; is already defined

    arch/nios2nommu/boot/compressed/head.S:169: Error: symbol `fake_headers_as_bzImage&#39; is already defined

    make[2]: *** [arch/nios2nommu/boot/compressed/head.o] &#38169;&#35823; 1

    make[1]: *** [arch/nios2nommu/boot/compressed/vmlinux] &#38169;&#35823; 2

    why?

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

    to hippo

    remove the old kernel tree ?you mean the linux-2.6.x tree?

    could you tell me how i change it exactly ?

    thank you !
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by iriver@Jun 4 2006, 10:44 AM

    to hippo

    remove the old kernel tree ?you mean the linux-2.6.x tree?

    could you tell me how i change it exactly ?

    thank you !

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

    --- quote end ---

    --- Quote End ---

    Please follow the new wiki, it is easier.