Frequently Asked Questions for i.MX6 Linux
From ESS-WIKI
Revision as of 10:46, 2 November 2016 by Winston.huang (talk | contribs)
Contents
Compiling
U-boot
Please refer to the following sections for details
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)
Boot Logo
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
SDcard image
To build from prebuilt image, please refer to the following sections for details.
To build from BSP, please refer to the following sections for details.
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
- one free loop device with partition support
- prewritten script, mksd-linux.sh.gz
- prewritten script tarball, mk_inand.tar.gz.
- the original sdcard (LBV3) (LBV5) (LBV6)
- 3700MB more available disk space
- E.g.
$ export LODEV=$(sudo losetup -f)
$ export MKINAND=mk_inand.tar.gz
$ export SDCARD=fsl-image-qt5-imx6qrsb4410a1.sdcard
$ export LIV=4410A1LIV6000.img
$ cp ${SDCARD} ${LIV}
$ dd if=/dev/zero of=${LIV} bs=1M seek=3700 count=0
- using the following commands to create one
$ sudo losetup ${LODEV} ${LIV}
$ cat << EOF | sudo fdisk -u ${LODEV}
d
2
n
p
2
24576
w
EOF
$ sudo e2fsck -f ${LODEV}p2
$ sudo resize2fs ${LODEV}p2
$ mkdir -p ~/mnt/p2
$ sudo mount /dev/loop0p2 ~/mnt/p2
$ sudo mkdir ~/mnt/p2/{mk_inand,image}
$ sudo cp ${SDCARD} ~/mnt/p2/image/
$ gunzip mksd-linux.sh.gz
$ sudo cp ${MKSD} ~/mnt/p2/mk_inand/
$ sudo chmod +x ~/mnt/p2/mk_inand/${MKSD}
Other Features
- see Linux Features