Forum Discussion

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

nios2 linux update 20100616

The nios2mmu branch is updated to v2.6.34. Thanks to the community nios2 linux development team, especially Tobias.

A new tarball nios2-linux-20100616.tar is made, and will be available for download soon.

A board layer is introduced. The location of fpga header and config.c are moved. Please check out the [Board layer] section in the wiki,

http://nioswiki.com/linux/creating_a_nios_ii_design_with_an_mmu

Cheers,

Hippo

8 Replies

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

    does this branch work on DE2-70 well?

    it seems that this release only supports 3c120 and NEEK board.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I am using ubuntu 10.04 to portting uclinux on DE2-70 board.

    After run make menuconfig and begin making uClinux, i have a problem with this situation. As illustrated in the figure below.

    how can i solve this problem?

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

    I am afraid whether this tar will support DE3?or could you give some solution to add DE3 platform in menuconfig.

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

    hi,

    can anyone write some instructions about running uclinux on de3?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    lulin and wangyipin:

    Please see this page linked in the original post:

    http://nioswiki.com/linux

    Porting Linux to any particular board involves running the sopc command listed on the wiki to create a header file and choosing the drivers for your peripherals in menuconfig. Once you have it working you can save this configuration as a new "vendor" -- this is also documented on the wiki.

    As far as I know, the distribution is moving away from shipping preconfigured headers, much less kernel/driver configurations for specific boards in the distribution.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi

    I search for this solution as well 45 minutes ago.

    Before this i have ported uclinux on the stratix II developement board.

    I took the DE3_150_DDR2_1G_1RANK reference design from the de3 system design cd and try port uclinux on that system. First problem i encounter is that the nios2-terminal hang after this display on the terminal:

    nios2-terminal: connected to hardware target using JTAG UART on cable

    nios2-terminal: "USB-Blaster [USB 4-1.2]", device 1, instance 0

    nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)

    Then i checked the system design again and found that the cpu reset vector and Exception vector are on onchip_mem

    Then I disable the onchip_mem and connect the cpu instruction master and data master to the altmemddr which is the high performance DDR2 SDRAM. Then i reconfigure the cpu reset vector and exception vector to altmemddr, regenerate and recompile the design.

    After all the configuration, the uClinux amazingly boots up. :D

    hope this helps.