Difference between revisions of "IoTGateway/BSP/Linux/iMX6/FAQ"

From ESS-WIKI
Jump to: navigation, search
Line 53: Line 53:
 
The LIV disk image of SD card is used to boot target device up and to install the entire system to on-baord eMMC.
 
The LIV disk image of SD card is used to boot target device up and to install the entire system to on-baord eMMC.
  
*getting original sdcard <sub>([[IoTGateway/BSP/Linux/iMX6/Yocto_LBV3_User_Guide#To_build_sdcard_image|LBV3]]) ([[IoTGateway/BSP/Linux/iMX6/Yocto_LBV5_User_Guide#To_build_sdcard_image|LBV5]]) ([[IoTGateway/BSP/Linux/iMX6/Yocto_LBV6_User_Guide#To_build_sdcard_image|LBV6]])</sub> ready
+
*Prerequisites
::ex. the original sdcard is fsl-image-qt5-imx6qrsb4410a1.sdcard.
+
*#one free loop device
 +
*#the original sdcard <sub>([[IoTGateway/BSP/Linux/iMX6/Yocto_LBV3_User_Guide#To_build_sdcard_image|LBV3]]) ([[IoTGateway/BSP/Linux/iMX6/Yocto_LBV5_User_Guide#To_build_sdcard_image|LBV5]]) ([[IoTGateway/BSP/Linux/iMX6/Yocto_LBV6_User_Guide#To_build_sdcard_image|LBV6]])</sub>
 +
 
 +
::E.g.
 +
<div style="margin-left: 4em"><syntaxhighlight lang="bash">
 +
$ export LODEV=$(sudo losetup -f)
 +
$ export SDCARD=fsl-image-qt5-imx6qrsb4410a1.sdcard
 +
</syntaxhighlight></div>
 +
 
  
 
*using the following commands to create one
 
*using the following commands to create one
 
 
<div style="margin-left: 3em"><syntaxhighlight lang="bash">
 
<div style="margin-left: 3em"><syntaxhighlight lang="bash">
 +
$ export LODEV=$(sudo losetup -f)
 
  $ export SDCARD=fsl-image-qt5-imx6qrsb4410a1.sdcard
 
  $ export SDCARD=fsl-image-qt5-imx6qrsb4410a1.sdcard
 
  $ export LIV=4410A1LIV6000.img
 
  $ export LIV=4410A1LIV6000.img

Revision as of 07:31, 2 November 2016


Compiling

U-boot

Please refer to the following sections for details

  • Getting Started / Build Instructions / To build u-boot (LBV3) (LBV5) (LBV6)
  • Customization / Building & updating u-boot manually (LBV3) (LBV5) (LBV6)

Kernel

Please refer to the following sections for details

  • Getting Started / Build Instructions / To build linux kernel (LBV3) (LBV5) (LBV6)
  • Customization / Building & updating kernel/modules/dtb manually (LBV3) (LBV5) (LBV6)

U-boot

Kernel

In Yocto Project, it is called "boot splashscreen", please refer to the each BSP's corresponding official Yocto website (list as below) for details

  • Yocto Project Reference Manual / Other Tips. (LBV3) (LBV5) (LBV6)

SDcard image

To build from prebuilt image, please refer to the following sections for details.

  • Getting Started / Introducing BSP / Prebuilt image (LBV3) (LBV5) (LBV6)

To build from BSP, please refer to the following sections for details.

  • Getting Started / Build Instructions / To build sdcard image (LBV3) (LBV5) (LBV6)

How To Stress Test On a Linux

Perform the command as below:

stress -c 4 -i 4  -d 1 --hdd-bytes 512


How To create one LIV disk image of SD card

The LIV disk image of SD card is used to boot target device up and to install the entire system to on-baord eMMC.

  • Prerequisites
    1. one free loop device
    2. the original sdcard (LBV3) (LBV5) (LBV6)
E.g.
 $ export LODEV=$(sudo losetup -f)
 $ export SDCARD=fsl-image-qt5-imx6qrsb4410a1.sdcard


  • using the following commands to create one
 $ export LODEV=$(sudo losetup -f)
 $ export SDCARD=fsl-image-qt5-imx6qrsb4410a1.sdcard
 $ export LIV=4410A1LIV6000.img
 $ cp ${SDCARD} ${LIV}

Other Features