MYS-6ULX-IOT tutorial: how to program the OS and a introduction to the develop environment

This MYS-6ULX-IOT development board supports Yocto and Debian OS. Considering Debian has more development resources and relatively complete instructions, we choose Debian OS here.

The programming procedure:

  1. Download the image file of OS mys6ull-debian8.rootfs.sdcard from
  2. Get a 4GB SD card beforehand. When the image file of system is downloaded we shall have a .sdcard file, open it with Win32Disk Imager, then program it into the SD card.
  3. Power on the dev board. Insert the SD card to the slot, set the dip switch to 0101. Connect the serial port cable and USB power cable to the dev board, then power on the dev board.
  4. Login in the system. The user name is root and the pass word is 123456. View the system information with instruction cat/etc/issue, the system version is Debian8 as shown below, which means the OS has been programmed into the SD card successfully.

The develop environment I work on PC is Ubuntu VMS, ARMGCC compiler is needed to be installed in the Ubuntu VMS. We can check if the compiler is available with instruction arm-linux-gnueabihf-gcc–v. Ubuntu16 comes with a 5.4 version compiler as below:

We need to install a compiler if the system doesn’t come with one. The toolkit MYIR provides contains that compiler. Open the folder 03-Tools\Toolchain, there is a package named gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf.tar.xz. Copy this package into a folder of VMS and use instructions

xz -dgcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf.tar.xz

tar -xfgcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf.tar

to unpack. We would have a file named gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf after unpacking, then use instruction below to set the compiler:

export PATH= $PATH:$DEV_ROOT/\gcc-linaro-4.9-2014.11-x86_64_arm-linux-gnueabihf/bin



View the compiler version again, the information printed on the screen should be:

We can see the compiler version is 4.9.3. Then all the settings of develop environment has been completed.