Forum Discussion

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

Error when download the linux image

can somebody tell me how to resolve it?

[NiosII EDS]$ nios2-download -g linux.initramfs.gz

Exception: STATUS_ACCESS_VIOLATION at eip=00428ADE

eax=00DA0214 ebx=00DA01C0 ecx=00DA01C0 edx=00000000 esi=00000000 edi=00000000

ebp=0022C758 esp=0022C720 program=c:\altera\81\nios2eds\bin\nios2-gnutools\H-i68

6-pc-cygwin\bin\nios2-elf-objcopy.exe, pid 4836, thread main

cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023

Stack trace:

Frame Function Args

0022C758 00428ADE (00DA0214, 00000000, 00000001, 00000000)

0022C778 004205C3 (00DA01C0, 00000000, 43470000, 00DA2274)

0022C808 0043C352 (00DA01C0, 00DA09C0, 00000000, 00DA0290)

0022C828 0043535F (00DA01C0, 00DA09C0, 00000000, 61102A6F)

0022C898 0043BA61 (00DA01C0, 00000013, 00000001, 00000000)

0022C9E8 00438711 (00DA01C0, 00000000, 00000000, 00000000)

0022CA28 00423AF8 (00DA01C0, 00000001, 0022CA7C, 61022E25)

0022CAF8 00403A15 (00000000, 611B95B4, 004671D0, 00464180)

0022CCB8 00405429 (00000005, 611B9504, 00DA0090, 00000000)

0022CD68 61006108 (00000000, 0022CDA0, 61005450, 0022CDA0)

61005450 61004356 (0000009C, A02404C7, E8611151, FFFFFF48)

57E58955 EC815356 (00000000, 00000000, 00000000, 00000000)

End of stack trace

/cygdrive/c/altera/81/nios2eds/bin/nios2-download: line 492: 4836 Segmentation

fault (core dumped) nios2-elf-objcopy $elffile -O srec $srecfile

./linux.initramfs.gz.srec: Unable to open input file

rm: cannot remove `./linux.initramfs.gz.srec': No such file or directory

3 Replies

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

    I got the same error.

    I copied the gz file to windows, and downloaded from windows environment.

    At least, it worked for me.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    what do you mean the "windows environment"?

    what did you download the file with?

    I downloaded the file with "nios II 8.1 command shell"

    It was in windows environment already.

    can you tell me something else in detail?

    --- Quote Start ---

    I got the same error.

    I copied the gz file to windows, and downloaded from windows environment.

    At least, it worked for me.

    --- Quote End ---

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

    Ooops,

    Sorry, it seems like you were on Windows...

    I saw same error on Linux, so I copied gz to Windows.