toshi's blog

Quartus Prime Lite on Debian9 memo

Quartus Prime Lite does not officially support Debian though...

Download 'Quartus-lite-17.0.2.602-linux.tar', expand tar file and execute setup.sh can be done on Debian9.  However, /opt/intelFPGA_lite/17.0/quartus/linux64/quartus cannot be started due to no libpng12.so.0 found.  After hours of web search, I've found it can be downlaod .deb package for Ubuntu and it worked.

https://packages.ubuntu.com/xenial/amd64/libpng12-0/download

Undefined

CUDA 9 issue: Got an error '__CUDACC_VER__ is no longer supported.' while compiling QtPlatz

I've prepared new debian 9 install on HP 640 Workstation equipped with Quadro M4000 GPU.  Install CUDA 9 RC (cuda_9.0.103_384.59_linux.run), and all dependent software for QtPlatz build.  I got an error while compiling colormap.cu as "__CUDACC_VER__ is no longer supported." message.  After few hours search, I've figured out it came from include/boost/config/compiler/nvcc.hpp.

Just dirty hack, comment out the line, then cuda compilation went through.

 

Undefined

Kernel module build on DE0-nano-SoC and/or Sodia

Copy corrensponging linux source to /usr/src, then configure kernel.

After we have .config, then 

make modules_prepare

Don't forget

DE0-nano-SoC: CAN Netowrk should be disabled

Both:  CONFIG_GPIO_ALTERA=y

 

Undefined

Debian install to Sodia board from Macnica

Debian install to Sodia board from Macnica

Undefined

Create an SD Dard Image for Debian on Sidia Macnica

Create an SD Dard Image for Debian on Sidia Macnica

prerequisition

Build linux 4.4.52 kernel and debian 8 root file system based on this page.

Extract boot loader & u-boot from sodia image file

Our goal is to make a minimum debian system on Sodia board for fast data acquisition system development.  It can be re-used for boot process files by copy from RocketBoard.org provided file.

Undefined

Quartus Prime Lite USB-Blaster install on Debian Jessie

USB Driver permissions

Edit /etc/udev/rules.d/51-usbblaster.rules as following;

# Altera USB-Blaster for Quartus FPGA Software
ACTION=="add|change", SUBSYSTEM=="usb", ATTRS{idVendor}=="09fb", ATTRS{idProduct}=="6010|6810",TAG+="uaccess"

Then run:

$ sudo udevadm control --reload

Execute jtagconfig

 $ jtagconfig
1) DE-SoC [3-1.1]
  4BA00477   SOCVHPS
  02D010DD   5CSE(BA4|MA4)/5CSXFC4C6

Trouble-shooting

Kill jtagd if already running, then run jtagd in debug mode

Undefined

CUDA 8.0 Sample Compile (on Debian 8.6)

sudo apt-get install freeglut3-dev

Goto NVIDIA_CUDA-8.0_Samples directory, run make as following; 

GLPATH=/usr/lib/x86_64-linux-gnu make
Undefined

OpenCV Install Memo

 

Undefined

NVIDIA/caffe build memo

Here is the brief memo where I've installed NVIDIA/DIGITS and Caffe

Tips

  • Make sure boost.python is built
  • Don't mix protobuf 2.x and 3.x.  It works with protobuf-3.1.0 as long as relevant modules are using 3.1.0 version consistantly.
  • Dependency.cmake under caffe/cmake directory mssing ${HDF5_HL_LIBRARIES} at line 28 that leads link error as described bellow.
  • nccl module need to be built for multi-GPU enabled.  See https://github.com/NVIDIA/nccl
Undefined

Setting up Debian Jessie desktop

This is the memo when install debian on my working machine.

Undefined

Pages

Subscribe to RSS - toshi's blog

User login