Month: February 2018

Cross compile between ubuntu 16.04(x64) and raspberry pi(x64)

1. Machine’s setting up Ubuntu 16.04(x64) on the laptop Raspbian(x64) on the raspberry pi 3 2. Set up the developing environment Installing the general build tools: $ sudo apt-get install build-essential git installing the C and C++ compiler and build tools for the Pi’s ARM processor. $ sudo apt-get install g++-arm-linux-gnueabihf installs a version of …

Install CUDA-9.0, cuDNN-7.0.5, TensorFlow-1.5 on ubuntu16.04(64bit)

1. Install the CUDA-9.0 1. install NVIDIA driver # sudo apt-get update # sudo apt-get upgrade # sudo add-apt-repository ppa:graphics-drivers/ppa # sudo apt-get update​ # sudo apt-get install nvidia-390 # sudo apt-get install mesa-common-dev # sudo apt-get install freeglut3-dev # reboot 2. Install CUDA-9.0 _ Dont’t install the driver inside CUDA_ # sudo sh cuda_9.0.176_384.81_linux.run …

Knowledge about BeagleBone

1. How to flash the emmc from MicroSD Download the image from https://beagleboard.org/latest-images Write the image with “Win32 Disk Imager” To turn these images into eMMC flasher images. Edit the /boot/uEnv.txt file on the Linux partition on the microSD card and remove the ‘#’ on the line with ‘cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh’. Enabling this will cause booting the …

How to control brightness for ubuntu 16.04 after installing Nvidia Driver

I am using the Thinkpad w530 with k1000m. I can not control the brightness after installing the official driver from Nvidia. # sudo gedit /usr/share/X11/xorg.conf.d/10-nvidia-brightness.conf And copy these lines to the file Section “Device” Identifier “Device0” Driver “nvidia” VendorName “NVIDIA Corporation” BoardName “Quadro K1000M” Option “RegistryDwords” “EnableBrightnessControl=1” EndSection

How to install cuda 9.1 on RHEL 7 by rpm packages.

1. set the bios Machine w530 k1000m setting of the bios graphic card: discrete card optimums for the OS: disabled 2. disable the nux-dextop # sudo vim /etc/yum.repos.d/nux-dextop.repo​ in the script [nux-dextop] name=Nux.Ro RPMs for general desktop use baseurl=http://li.nux.ro/download/nux/dextop/el7/$basearch/ http://mirror.li.nux.ro/li.nux.ro/nux/dextop/el7/$basearch/ enabled=1 gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-nux.ro protect=0 change the  enabled=1 to enabled=0 3. Make sure EPEL repository is …