Forum Discussion

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

error while downloading Zimage

i followed all the steps in

www.nioswiki.com/operatingsystems/installuclinux

www.nioswiki.com/operatingsystems/uclinux/uclinuxdist

and have a zimage which I am trying to download following

www.nioswiki.com/operatingsystems/tryoutuclinux

I get the following error

Using cable "USB-Blaster [USB 2-1.2]", device 1, instance 0x00

Pausing target processor: OK

Initializing CPU cache (if present)

OK

Downloaded 1272KB in 7.7s (165.1KB/s)

Verifying 02001800 <0%>

[b]Verify Failed between Address 0X20001800 and 0X2004265

Leaving target processor paused

I am using Time-limited sof . I am using unlicensed version of Quartus and NIOS II EDS

Thanks

Rohini

5 Replies

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

    Your sof file and your ptf file do not match. They should be from the same project

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

    Which Dev board are you using?

    make sure you follow http://www.nioswiki.com/operatingsystems/u...t/linuxhwselect (http://www.nioswiki.com/operatingsystems/uclinux/uclinuxdist/linuxhwselect) to select a device to execute kernel from

    From the www.nioswiki.com/operatingsystems/uclinux/uclinuxdist when you do the step

    # you must give the absolute path to ptf, no spaces allowed in the path.

    make vendor_hwselect sysptf=/path_to_your_hardware_project/your_system.ptf make sure you use your project ptf file then when you open a nios2 command shell

    1) step 1. Configure the FPGA,

    nios2-configure-sof your_project.sof

    2) nios2-download -g zImage

    3) nios2-terminal

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

    yeah I am using DE2 board . I followed the Hwselect step. then on on the command shell i followed these steps. Also i used a zImage(not of my project) from somewhere else and I downloaded it .There were no errors during verification but Yes it didnt run. Because the SOF version and zImage version did not match.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    well get the ptf from where you got the zImage and assign that in Hwselect, then get the sof from there too and download that before using the zImage