Forum Discussion

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

Linux 2.6

Hello all,

well, I followed all steps of "Quick Start Quide.pdf", but at the end, when I started the nios2-console through the SDK shell, the answer was: "Linux version 2.6.5-uc0 <vgarcia@cpqd050218> <gcc version 3.3.3 <" and the console now doesn&#39;t respond.

Someone knows what is the problem?

Thanks,

Vinícius.

4 Replies

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

    Hi Vinícius,

    Could you give a little more info, what board are you using, what version of Linux Distro (1.0, 1.1, own uClinux) are you using the JTAG UART or the serial UART? What core are you using? That kind of thing.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    I&#39;m getting this same behaviour after following the Quick Start Guide.

    I&#39;m using a Stratix board (1s10) with the ethernet and USB Blaster connected (nothing else is connected except for power and LCD). I follow the instructions in the guide (upload the kernel first, filesystem second, and Nios third). I setup the kernel and filesystem *exactly* like the guide asked for. I uploaded the .sof file

    <altera>/kits/nios2/examples/verilog/niosll_stratix_1s10/linux/linux_time_limited.sof

    but I compiled the filesystem and kernel against

    <altera>\kits\nios2\examples\verilog\niosII_stratix_1s10\linux\linux_1s10.ptf

    I think the version of linux is (cut and paste from one of the readme.txt files):

    "Microtronix Nios II Linux Distribution v1.3"

    I&#39;m using Quartus II ver. 4.2 with Nios II dev. kit version 1.1

    I tested both the board and console, and both appear to be working great. I uploaded the sample Nios system in the Getting Started manual and uploaded the Hello World program from the same manual. I used the console to connect to the built-in Nios system, and I observed the different DHCP messages and interacted with the simple built-in menu. No problems at all.

    My best guess is, the kernel, filesystem and Nios are uploaded to the board correctly. The kernel must start running, because I get the same message that vgarcia observed, but perhaps the kernel halts or something?

    Thanks in advance for any help. Please let me know if you need more information.

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

    Hello,

    This issue has been resolved.

    When the Quartus II Programmer uploads the Nios core to the board, a modal dialog pops up:

    "OpenCore Plus Status"

    Click Cancel to stop using OpenCore Plus IP...

    Anyhow, if you click the Cancel button and then try to use the console, the noted behaviour occurs. If you leave the dialog open, the console and board work perfectly. Note that if you click the Cancel button later on, it still locks out console input/output.

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

    Yes, that is expected behaviour. You must have a Nios II license in order to be able to use the non-OCP (Open Core Plus) version of Nios II.

    Having an OCP version means you must remain "tethered" and keep that Quartus II popup open.

    Cheers,

    - slacker