Skip to main content

Posts

Showing posts from September, 2018

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