Forum Discussion

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

The unstable-nios2mmu Linux on the NEEK hanged out during start up.

Hi Guys,

I need someone's help.

I downloaded the unstable-nios2mmu Linux which is uploaded on 11st May

2010 at Gitorious.

When I run the compiled the SOF file of neek_ocm_spi_mmu, it hunged out

during boot.The message log is as follows at that time.

Does anyone give me an advice please?

【menuconfig】

NiosII Configration ---> NiosII FPGA Configration

---> neek_ocm_spi_mmu

【log】

/cygdrive/c/bin

[NiosII EDS]$ nios2-configure-sof cycloneIII_embedded_evaluation_kit_standard.s

of

Searching for SOF file:

in .

cycloneIII_embedded_evaluation_kit_standard.sof

Info: *******************************************************************

Info: Running Quartus II Programmer

Info: Command: quartus_pgm --no_banner --mode=jtag -o p;cycloneIII_embedded_eval

uation_kit_standard.sof

Info: Using programming cable "USB-Blaster [USB-0]"

Info: Started Programmer operation at Mon May 17 13:35:00 2010

Info: Configuring device index 1

Info: Device 1 contains JTAG ID code 0x020F30DD

Info: Configuration succeeded -- 1 device(s) configured

Info: Successfully performed operation(s)

Info: Ended Programmer operation at Mon May 17 13:35:01 2010

Info: Quartus II Programmer was successful. 0 errors, 0 warnings

Info: Peak virtual memory: 60 megabytes

Info: Processing ended: Mon May 17 13:35:01 2010

Info: Elapsed time: 00:00:06

Info: Total CPU time (on all processors): 00:00:04

/cygdrive/c/bin

[NiosII EDS]$ nios2-download -g linux.initramfs.gz

Using cable "USB-Blaster [USB-0]", device 1, instance 0x00

Pausing target processor: OK

Initializing CPU cache (if present)

OK

Downloaded 3122KB in 56.1s (55.6KB/s)

Verified OK

Starting processor at address 0xC01CD238

/cygdrive/c/bin

[NiosII EDS]$ nios2-terminal

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

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

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

U-Boot 2010.03-00312-g8e95ef1-dirty (May 06 2010 - 15:09:42)

CLinux version 2.6.34-rc2 (root@ubuntu-vm) (gcc version 4.1.2)# 17 Mon May 17 13

:31:14 JST 2010

bootconsole [early0] enabled

Early printk initialized

Linux/Nios II-MMU

init_bootmem_node(?,0x326, 0x0, 0x2000)

free_bootmem(0x326000, 0x1cda000)

reserve_bootmem(0x326000, 0x400)

Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128

Kernel command line:

PID hash table entries: 128 (order: -3, 512 bytes)

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

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

We have 8192 pages of RAM

Memory available: 29248k/3220k RAM, 0k/0k ROM (1844k kernel code, 1375k data)

NR_IRQS:32

Calibrating delay loop... 49.15 BogoMIPS (lpj=245760)

Mount-cache hash table entries: 512







nios2-terminal: exiting due to ^C on host

/cygdrive/c/bin

[NiosII EDS]$

3 Replies

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

    I was debugging, linux-2.6\kernel\sched.c sched_init () is called in, context_switch () donot return from processing.

    Could I ask you advice something?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Yes, we are tracking the same problem. I guess something wrong in the inits. Please continue your debugging.

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

    Thanks for reply!

    I understand that I have come up with the same problem.

    Continue to try to debugging.