Forum Discussion

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

Linux with MMU on DE2-70

Having followed the instructions, modified some defines in nios2.h and enabled the networking support, finally got linux image for my DE2-70. Unfortunately, the kernel boot get stuck:

Linux/Nios II-MMU

init_bootmem_node(?,0x4476, 0x4000, 0x6000)

free_bootmem(0x4476000, 0x1b8a000)

reserve_bootmem(0x4476000, 0x400)

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

Kernel command line:

NR_IRQS:32

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

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

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

We have 24576 pages of RAM

Memory available: 27908k/4566k RAM, 0k/0k ROM (1450k kernel code, 3115k data)

Calibrating delay loop... 49.25 BogoMIPS (lpj=246272)

Mount-cache hash table entries: 512

net_namespace: 296 bytes

NET: Registered protocol family 16

init_BSP(): registering device resources

bio: create slab <bio-0> at 0

NET: Registered protocol family 2

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

TCP established hash table entries: 1024 (order: 1, 8192 bytes)

TCP bind hash table entries: 1024 (order: 0, 4096 bytes)

TCP: Hash tables configured (established 1024 bind 1024)

TCP reno registered

NET: Registered protocol family 1

Any ideas what else should be done to make it work?

5 Replies

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

    my linux image is just the same with yours.you mean it cannot work yet?

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

    go back to "Creating a Nios II Design with an MMU" page.if you assigned the s1 and s2 with different addresses, try a same address.

    or you can select auto-assign base addresses in SOPC Builder for why.

    good luck.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I have done this ,I didn't make the web server work for now .I want to know that did you succeed in doing this?

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

    my problem is just the same with chonger's at that time, so I found here but there was no answer.

    after that, I try auto-assign in SOPC Builder and found they have same address by default.

    so I modified and figured it out.

    maybe we have the different reason.

    sorry that can't help you.