Getting Started with BSP 5.0
This section describes the necessary steps to get started with Linux software support package for SECO i.MX6 modules. It explains the i.MX6 system philosophy, configuration set up of the host PC and Network interfaces. Moreover, it gives a description on how to rebuild the bootloader, kernel and modules.This section also explains how to flash the BSP5.0 on eMMC and SD card and also gives a step by step procedure for the partial and complete back up and restore of the eMMC and SD card.
The procedure hereafter described in this document refers to i.MX6 installed on Qseven Carrier Boards development platforms provided by SECO. Please refer to the specific documentation available on http://www.seco.com for the specific platform you are using to evaluate i.MX6.
i.MX6 modules are highly versatile in terms of boot media. This section focuses on different boot medias and explains how to set up the preferred one. This versatility is achieved through a widely used bootloader, u-boot. If you would like to know more about it, please take a look at System Philosophy.
The complete list of features supported by BSP 5.0 valid for the use of i.MX6 module with the Qseven carrier boards is explained in the section SECO i.MX6 Features Guide BSP 5.0. The current BSP release doesn’t support some features yet. The features currently not supported will be added soon.
What do you Need
To run the procedure described in the following Sections, it is necessary to have:
- A host PC (or VM) installed with Ubuntu Linux Rel. 14.04, or higher, with at least 20 GB of free disk space;
- This host PC should be equipped with 2 Ethernet cards, one connected to the Internet and the other one connected to the Qseven Carrier Boards using an Ethernet crossover cable;
- An RS-232 port (or a USB to RS232 adapter) and a null modem cable. Depending on the carrier-board used, a RS-232 Transceiver board CS863 might be required (please refer to carrier’s board specific documentation at https://www.seco.com).
For setup of the Linux OS on target i.MX6 module, it is necessary to assume that the module is installed on a SECO’s Qseven Carrier Boards and all the communications occur through i.MX6’s debug serial port. Factory default for video output of QuadMo747-X/i.MX6 module is the LVDS panel.
Generally, the Qseven Carrier Boards has to be configured to operate with specific Qseven® module. Please check that actual setting of jumpers on the carrier board is compliant to what described in the manuals available for the Carrier Boards at https://www.seco.com
Preparing Your System
There are several steps that you have to perform in order to configure your Host PC.Some of the steps explained are not necessary, but we suggest you to perform all of them in order to obtain the maximum flexibility for your board.
Getting BSP 5.0
Kernel, U-Boot and Filesystem are needed in order to build your system. You can choose to continue in two different ways:
- Using SECO's Flashing Script
- Building-Up a Custom BSP 5.0
Using SECO's Flashing Script
If you would like to start in the fastest way possible, you can choose Create a Bootable SD with Precompiled Images. SECO's Flashing script automatically download and update all files needed to build-up your system. It automatically chooses and downloads the correct Kernel image, Uboot image and Filesystem according to your SECO Board's product number. The script create a Bootable SD with the default option of your board. This way is not recommended if you need to deeply customize your system.
Building Up a Custom BSP 5.0
You should choose this method if you need to deeply customize your BSP 5.0. It is possible to compile the Kernel 3.14.28 and the U-boot by yourself. If you don't want to compile both Kernel and U-Boot, you can also download the U-Boot and/or Kernel pre-compiled version from the apposite SECO's website. In order to continue, you should follow the steps described at Getting a Custom BSP 5.0 .
Creating a Bootable SD
This section gives step by step procedure in manually Creating a BSP 5.0 Bootable SD.
Using the seco_config Tool
seco_config command tool is a feature offered by SECO. It allows the user to set some board’s component at booting time. These components are:
- Amount of RAM to reserve to Kernel;
- Device to be used to perform the kernel’s boot (TFTP included) and to mount the filesystem (NFS included);
- Video display for output: the configuration of this includes the number (and type) of display to use and their resolutions;
Refer Seco_Config for a detailed description.
To perform the login to the filesystem, you can use two distinct account:
Normal user (with desktop privileges):
Flashing eMMC allows you to boot your board directly from the internal memory storage, without the use of an external SD. Booting from eMMC offers best performance than booting from SD. In-order to boot from eMMC, refer the section BSP 5.0 Flashing eMMC (please note that all the boards do not have eMMC On-board).