Forum Discussion

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

Minimal MMU linux hangs on DE1 board

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.

23 Replies

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

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

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

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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?