Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This document provides instructions for advanced users how Embedian offers patches and builds Debian Stretch for Buster for Embedian's SMARC-iMX8M product platform and how to install the images to bring the evaluation board up and running. 

...

 Download archive containing the build script and support files for building Debian StretchBuster

Info
iconfalse

$ cd ~/

$ git clone git@git.embedian.com:developer/smarc_mx8_debian.git -b debian_buster_mx8m

$ cd ~/smarc_mx8_debian

$ MACHINE=smarcimx8m4g ./smarc_make_debian.sh -c deploy

...


where "/dev/sdX" is the SD block device in your host system. Shunt the "TEST#" pin of your device to Ground. Insert the SD card and you will see SMARC-iMX8M booting with Debian StretchBuster. Console port is defined on SER3

...

Info
iconfalse

$ cd ~/smarc_mx8mmx8_debian_stretch/src/kernel

$ sudo make arch=arm64 mrproper

$ sudo make arch=arm64 smarcimx8m_defconfig

$ sudo make arch=arm64 menuconfig

 

Navigate the menu and select the desired kernel functionality Exit the menu and answer "Yes" when asked "Do you wish to save your new configuration?" $ sudo make ARCH=arm64 savedefconfig $ sudo cp arch/arm64/configs/smarcimx8m_defconfig arch/arm64/configs/smarcimx8m_defconfig.orig $ sudo cp .config arch/arm64/configs/smarcimx8m_defconfig Follow the instructions above to rebuild kernel and modules, repack rootfs images and recreate SD card


Video Decoding


For playing video, we can use three solutions to support it. 

a) # gplay-1.0 <video file>

b) # gst-launch-1.0 playbin uri=file://<video absolute path>

c) ( i ) if video container on .mp4 format

          gst-launch-1.0 filesrc location=<file name.mp4> typefind=true ! video/quicktime ! qtdemux ! queue max-size-time=0 ! vpudec ! queue max-size-time=0 ! kmssink force-hantrope=true sync=false &

    ( ii ) if video container on .ts format

         # gst-launch-1.0 filesrc location=<file name.ts> typefind=true ! video/mpegts ! tsdemux ! queue max-size-time=0 ! vpudec ! queue max-size-time=0 ! waylandsink


version 1.0a, 56/1312/20192020

Last updated 20192020-0506-1312