Skip to main content

Posts

Accessing USB device Through terminal

Identify usb device with lsblk. In this case, the usb is sda1. We first need to mount this into /media $ sudo mkdir /media/usb $ sudo mount /dev/sda1 /media/usb After that, we can now access the contents of the usb device through /media/usb You can check it by doing: $ ls /media/usb

Installing Qt Cross Compilation Toolchain for Beaglebone Black

This is the guide that I went through to successfully set the environment. If you get stuck on something, feel free to have a look at the references in the bottom most. These are the steps that worked for me so I hope it helps. Just making sure of the dependencies sudo apt-get update sudo apt-get upgrade sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 libstdc++6:i386 ia32-libs Assuming that you can get access to the root Set up Cross compiler Download and install wget -c https://releases.linaro.org/components/toolchain/binaries/6.4-2018.05/arm-linux-gnueabihf/gcc-linaro-6.4.1-2018.05-x86_64_arm-linux-gnueabihf.tar.xz tar xf gcc-linaro-6.4.1-2018.05-x86_64_arm-linux-gnueabihf.tar.xz export CC=`pwd`/gcc-linaro-6.4.1-2018.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- Test installation ${CC}gcc --version Download qt source #do this in a directory that is not in your root filesystem, i.e. ~ git clone git://code.qt.io...

Setting Up Altera CPLD Development in Linux!

Here is a simple guide to setup your Linux machine to develop Altera's CPLD. Install 32 bit libraries: $ sudo dpkg --add-architecture i386 $ sudo apt-get update $ sudo apt-get install libxft2:i386 libxext6:i386 libncurses5:i386 Download Whole software from altera website. ( Version 15.1) Download IDE, ModelSim , and device here: Altera Download Link Make sure to include your desired CPLD board software in the download. Get the usb blaster working by setting up the permissions by following Intel's Instruction Page . This should get you started with everything.

Generating a PDF file from several images in Linux!

So you wanna build a PDF from pages you have scanned or images you have gathered? Here is the simplest way to do it through the amazing terminal! First, open the terminal and install the imagemagick software: $ sudo apt-get install imagemagick Next, freaking generate the PDF with this simple command! $ convert image1.jpg image2.png image3.bmp output.pdf And there you go!