Prepare the host machine installing the following packages:
$ sudo apt-get install debootstrap qemu-user-static
Create a mounting point, mount your SDCard and start Wheezy Debian installation, (or any other version).
$ mkdir mounting $ sudo mount /dev/sdb2 mounting/ $ sudo debootstrap --foreign --arch=armhf wheezy mounting/
Enable QEMU ARM and second stage:
$ sudo cp /usr/bin/qemu-arm-static mounting/usr/bin/ $ sudo chroot mounting/ /debootstrap/debootstrap --second-stage
Add the following line in the file
T0:23:respawn:/sbin/getty -L ttymxc0 115200 vt100
eth0 configuration above in the file
auto eth0 iface eth0 inet dhcp
To enable the system to let you enter as root edit the file
changing the first line to be like the following (remove the
Unmount the partition and boot the board
$ sudo umount mounting/
If you feel like installing a X11 Windows Manager, in the imx6qsabresd:
# apt-get update # apt-get install xfce4 slim
I used an already running SDCard with
only replaced the rootfs by removing the partition content and mounting it on my
PC. This process is not listed here because the process of creating the SDCard
base is straight forward and present in several tutorials. However, if you need
help with this process, please leave a comment.
The resultant image is not yet accelerated by GPU or VPU. The process to install the needed pieces to get the hardware acceleration will be shared in a different post.