Forum Discussion

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

Loading image to SDRAM under ubuntu

Hi,

I am trying to run uclinux on DE0-Nano, and i successfully generated the zImage, but iam unable to load the image into SDRAM, it showing error like

alex@alex:~$ nios2-download -g ~/uClinux/distro/nios2-linux/uClinux-dist/images/zImage

/opt/nios2eds/bin/nios2-gdb-server-wrapped: error while loading shared libraries: libjtag_client.so: cannot open shared object file: no such file or directory.

Where is the mistake?

Thanks in advance.

35 Replies

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

    My /etc/rc.local is like ,

    # !/bin/sh -e# # rc.local# # This script is executed at the end of each multiuser runlevel.# Make sure that the script will "exit 0" on success or any other# value on error.# # In order to enable or disable this script just change the execution# bits.# # By default this script does nothing.

    mount --bind /dev/bus /proc/bus

    ln -s /sys/kernel/debug/usb/devices /proc/bus/usb/devices

    /opt/quartus/bin/jtagd

    exit

    Thanks,

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

    If i run jtagconfig in root its showing error like

    command not found.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Helo sir,

    1)While rebootinng my os its showing the error

    an error occured while mounting /proc/bus/usb press s to skip or m for manual recovery.

    2.alex@alex:/$ jtagconfig

    1) usb-blaster [7-1]

    020f30dd ep3c25/ep4ce22

    2)alex@alex:/$ killall jtagd

    jtagd(1154): operation not permitted

    jtagd: no process found

    3)alex@alex:/$ nios2-download -g ~/uClinux/distro/nios2-linux/uClinux-dist/images/zImage

    there are no nios ii cpus with debug modules available which match the values

    specified. please check that your pld is correctly configured, downloading a

    new sof file if necessary.

    and another error is /opt/quartus/linux/libstdc++.s0.6: version 'glibcxx_3.4.11' not found (required by /user/lib/i386-linux-gnu/libproxy.so.1) showing when i tried to open quartus

    Where is the mistake ? kindly any help?

    Thanks,

    Alex.

    (http://www.alteraforum.com/forum/editpost.php?do=editpost&p=154758)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Did you upload an FPGA image before trying to upload the nios 2 software? If yes, where does this image come from?

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

    Thanks for ur suggestions, and also thanks to nicocornelis,because he suggested mi in correct way to download image into sdram.

    I need one help sir,

    Now i wants to work with DE2,DE4 with uclinux, kindly provide any tutorials

    Thanks,

    Alex.