Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

Linux with MMU hangs at 'RPC'

Altera_Forum
Honored Contributor II
1,629 Views

Built with the '20100621' . The board is DE2. 'make' is successful, and I've got the images.  

 

After 'nios2-termina', it goes: 

Linux version 2.6.35-00743-ge3b9b64-dirty (root@ubuntu) (gcc version 4.1.2)# 10 Wed Feb 2 17:18:05 CST 2011 

bootconsole [early0] enabled 

early_console initialized at 0xe1801230 

 

 

Linux/Nios II-MMU 

init_bootmem_node(?,0xd36, 0x800, 0x1000) 

free_bootmem(0xd36000, 0x2ca000) 

reserve_bootmem(0xd36000, 0x100) 

Built 1 zonelists in Zone order, mobility grouping off. Total pages: 2032 

Kernel command line:  

PID hash table entries: 32 (order: -5, 128 bytes) 

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

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

We have 4096 pages of RAM 

Memory available: 2772k/5335k RAM, 0k/0k ROM (2010k kernel code, 3324k data) 

Hierarchical RCU implementation. 

RCU-based detection of stalled CPUs is disabled. 

Verbose stalled-CPUs detection is disabled. 

NR_IRQS:32 

Calibrating delay loop... 20.94 BogoMIPS (lpj=104704) 

pid_max: default: 32768 minimum: 301 

Mount-cache hash table entries: 512 

NET: Registered protocol family 16 

init_BSP(): registering device resources 

bio: create slab <bio-0> at 0 

Switching to clocksource timer 

NET: Registered protocol family 2 

IP route cache hash table entries: 1024 (order: 0, 4096 bytes) 

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

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

TCP: Hash tables configured (established 512 bind 512) 

TCP reno registered 

UDP hash table entries: 256 (order: 0, 4096 bytes) 

UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) 

NET: Registered protocol family 1 

RPC: Registered udp transport module. 

RPC: Registered tcp transport module. 

RPC: Registered tcp NFSv4.1 backchannel transport module. 

(Forever hangs here) 

 

Being newbie to uClinux, dunno what to do.. Any ideas? Thank you!
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
787 Views

Very nice project, 

but where you find the Hardware Projetc ( .qar) for DE2? 

 

I can help you with LINUX, but I need the Hardware. 

Could you help?
0 Kudos
Altera_Forum
Honored Contributor II
787 Views

Hi, I build the DE2 project myself with MMU. 

The configuration of NIOS2 CPU with MMU is here: 

http://www.alterawiki.com/wiki/creating_a_nios_ii_design_with_an_mmu 

It is built with SOPC and the components includes: 

1. niosii cpu 

2. on-chip RAM 

3. SDRAM 

4. DM9000A 

5. JTAG-UART 

 

That's all, quite simple. But still hangs there after the 'RPC' statement :(
0 Kudos
Altera_Forum
Honored Contributor II
787 Views

Nice, 

today I'll try to build that HW. 

 

RPC is a network problem, I guess. Today I'll ask a friend about your problem 

 

Thanks for the HW tip
0 Kudos
Altera_Forum
Honored Contributor II
787 Views

That's quite simple :D There exists many guidances on Altera wiki.

0 Kudos
Altera_Forum
Honored Contributor II
787 Views

Yes, there is a lot of guidance on Alterawiki but none of them are specific for DE2 with MMU. 

So, as I told you today, I'll try to build myself the HW project (for DE2) and after that I'll post it for the community evaluation.
0 Kudos
Reply