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++
12612 Discussions

Minimal MMU linux hangs on DE1 board

Altera_Forum
Honored Contributor II
2,120 Views

Hi all, when trying to build my first MMU linux on a DE1 board system hangs just after nios2-terminal with: 

 

 

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

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

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

 

Linux version 2.6.34-00692-g5bc7853-dirty (root@mcesarpc4114c.sec.upm.es) (gcc version 4.1.2)# 62 Wed Jun 23 19:31:26 CEST 2010 

bootconsole [early0] enabled 

 

 

and that's all. The system is a bare minimum one comprising only: 

  • linux_cpu (JTAG_debug at 0x07ff_f800) 

  • linux_timer_1ms (0x0840_0000, IRQ 11) 

  • fast_tlb_miss_ram_1k (0x07ff_f400, both slaves) 

  • cfi_flash (thru tsb_cpu_cfi, 0x0000_0000, 4MB) 

  • sdram (0x1000_0000, 8MB) 

  • jtag_uart (0x0840_0020, IRQ 1)
all working at 100 MHz, except for the sdram running at 50 (this is the CII_Starter_SD_Card_Audio DE1 example without SRAM, LEDs & PIOs). I've followed steps reported in the wiki, used the sopc-create-header-files script, disabled GPIO, DMA, LEDs with make menuconfig, ... 

 

Can anybody help me? 

 

Thanks & regards.
0 Kudos
23 Replies
Altera_Forum
Honored Contributor II
151 Views

Sorry i forgot to tell, i am using DE2-115 Development and education board.

0 Kudos
Altera_Forum
Honored Contributor II
151 Views

Hi, I am using device tree to compile the kernel. After i load the image kernel starts booting but stops at 

 

Switching to clocksource timer 

msgmni has been set to 249 

turn off boot console early0 

 

after that no prints.. 

 

In the kernel menuconfig i have enabled force default kernel bootargs and 

i have given bootargs as "debug console=ttyJ0,115200". 

 

What could be the problem ?? Need help 

 

Thanks , 

Tejeshwar
0 Kudos
Altera_Forum
Honored Contributor II
151 Views

Hi 

 

I have the same problem as mcesar had. He had (1175k kernel code, 3048k data) in his kernel booting debug. This is similar to my situation. (1872k kernel code, 4012k data). How to make data smaller?
0 Kudos
Reply