Forum Discussion

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

Own system with uCLinux 1.3

Hello,

I got uCLinux 1.3 running on my ALTERA Stratix-10ES eva board.

I now like to define my own NIOS-II system, but don't get it running.

Unfortunately 1.3 distribution only contains a .sof & .ptf, but no complete

project source.

So I used "linux_1s10ES.ptf" as a basis for my own project.

Essentially I took the "full_featured" standard example and

changed the NIOS-II system therein, carefully obeying pin-assignments

of CF ports.

Now when booting my system it displays in the terminal .... forever

What went wrong? Many thanks in advance for hints!

regards

Hans

---

nios2-terminal: starting in terminal mode (Control-C exits)

Linux version 2.6.9-uc0 (...) (gcc version 3.4.1 (Altera Nios II 1.1 b137))# 1 Sun Mar 6 14:40:38 2005

uClinux/Nios II

Altera Nios II support © 2004 Microtronix Datacom Ltd.

Built 1 zonelists

Kernel command line: root=/dev/mtdblock0 ro

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

Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)

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

Memory available: 14396k/16384k RAM, 0k/0k ROM (1472k kernel code, 323k data)

Mount-cache hash table entries: 512 (order: 0, 4096 bytes)

NET: Registered protocol family 16

Serial: JTAG UART driver $Revision: 1.3 $

ttyJ0 at MMIO 0x80920820 (irq = 2) is a jtag_uart

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

smc_probe: 50000 Khz Nios

SMSC LAN91C111 Driver (v2.1), (Linux Kernel 2.6)

eth0: SMC91C11xFD(rev:1) at 0x80910300 IRQ:5 MEMSIZE:8192b NOWAIT:0 ADDR: 00:07:ed:0a:a5:06

smc_probe: 50000 Khz Nios

Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2

ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx

CF: ctl=1

/cygdrive/e/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/arch/nios2nommu/ke

rnel/irq.c(55): default irq handler vec=6 [0x6]

/cygdrive/e/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x/arch/nios2nommu/ke

rnel/irq.c(55): default irq handler vec=6 [0x6]

:

:

3 Replies

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

    If you don't have a compact flash component built in your core, you can disable the support of ATA/ATAPI/MFM/RLL in the kernel configuration. It can be found in kernel config->device drivers.

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

    Hi,

    you can turn on version 1.4 of nios linux, it includes all the sources you want.

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

    1. Do you mean your own system is NOT Atera Stratix-10ES eva board ?

    2. you can find the eva boards verilog sources from Nios2 install dir, eg

    altera/kits/nios2/examples/verilog/niosII_stratix_1s10_ES/standard

    3. when you build kernel, start with minimal config.