Forum Discussion

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

Is 8MBytes memory too small to run linux???

file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot.png file:///C:/DOCUME%7E1/ADMINI%7E1/LOCALS%7E1/Temp/moz-screenshot-1.png hello,my system memory is 8MBytes

after download the file linux.initramfs.gz ,it report a fatal error:

Downloaded 2237KB in 0.5s <4474.0KB/s>

Verified Ok

Starting processor at address 0x00800000

assertion "m_state == STATE == STATE_DEBUG" failed:file "nios2debug.cpp",line 5383 [sig] nios2-gdb-server 3940 d:\Tools\altera\90\nios2eds\bin\nios2-gdb-server.exe: *** fatal error - called with threadlist_ix -1

/cygdrive/d/Tools/altera/90/nios2eds/bin/nios2-download: line 594: 3940 Hangup nios2-gdb-server --cable 'USB-Blaster' --go --tcpport none --write-pid ./nios2-download.pid ./linux.initramfs.gz.srec

why ?? Is 8MBytes memory too small to run linux???

2 Replies

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

    Moin,

    For me it looks like some problem with the JTAG cable or the USB-Blaster. Maybe the ususal suspects: cable to long, cable not enough shielding, wrong USB-Blaster supplier...

    Or something is wrong with your design, e.g. something blocks the avalon bus, when NIOS starts.

    I also had sometimes the problem, that the gdb-server didn't terminate correctly, and a second one showed this behaviour. But that was with QII-6.? Software. Don't know if this is still an issue.

    Sorry for not being more specific...

    cheers,

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

    I would imagine your fpga is not configured, and thus no debug module is present to download the image. You still need to be connected after programming if you do not have a NIOS 2 license and are using the open cores evaluation version.

    "Downloaded 2237KB in 0.5s <4474.0KB/s>"

    You can only expect about 160 K/s download speeds. So it didn't download.

    "Verified Ok" is a little puzzling. The image must have already gotten into your RAM somehow else previously to this attempt.