Example: biology

i.MX BSP Porting Guide - NXP

BSP Porting GuideDocument Number: IMXBSPPGRev. , 05 BSP Porting Guide , Rev. , 05/20182 NXP SemiconductorsContentsSection numberTitlePageChapter 2 Porting to build and load Kernel in standalone to build and load Kernel in Yocto 3 Porting to build U-Boot in standalone to build and load U-Boot in Yocto the custom board the DCD table for DDR with the modified U-Boot .. new driver initialization code to board customization at system the printed board JTAG tool for printf for 4 Configuring IOMUX for setting IOMUX controller IOMUX in the Device Tree - BSP Porting Guide , Rev.

• i.MX Graphics User's Guide (IMXGRAPHICUG) - Describes the graphics features. • i.MX BSP Porting Guide (IMXXBSPPG) - Contains the instructions on porting the BSP to a new board. • i.MX VPU Application Programming Interface Linux® Reference Manual (IMXVPUAPI) - Provides the reference information on the VPU API.

Tags:

  Guide, Provide, Porting, Mx bsp porting guide

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of i.MX BSP Porting Guide - NXP

1 BSP Porting GuideDocument Number: IMXBSPPGRev. , 05 BSP Porting Guide , Rev. , 05/20182 NXP SemiconductorsContentsSection numberTitlePageChapter 2 Porting to build and load Kernel in standalone to build and load Kernel in Yocto 3 Porting to build U-Boot in standalone to build and load U-Boot in Yocto the custom board the DCD table for DDR with the modified U-Boot .. new driver initialization code to board customization at system the printed board JTAG tool for printf for 4 Configuring IOMUX for setting IOMUX controller IOMUX in the Device Tree - BSP Porting Guide , Rev.

2 , 05/2018 NXP Semiconductors3 Section numberTitlePageChapter 5 Registering a new UART 6 Adding support for 7 Configuring the SPI NOR Flash Memory Technology Device (MTD) NOR SPI NOR on the Linux the SPI interface 8 Connecting an LVDS Panel to an 6 Quad/Solo/Dual/DualLite Reference an LVDS panel to the 6 Dual/6 Quad/6 DualLite reference an LVDS parallel display LVDS 9 Supporting the 6 Quad/Solo/Dual/DualLite Camera Censor with software .. 6 Dual/6 Quad/6 Solo/6 DualLite CSI interfaces the CSI unit in test support for a new CMOS camera a camera sensor entry in BSP Porting Guide , Rev.

3 , 05/20184 NXP SemiconductorsSection the camera sensor a compilation flag for the new the I2C and testing the camera reference interfaces supported by the 6 Dual/6 Quad/6 6 Dual/6 Quad/6 Solo/6 DualLite CSI parallel data mode 10 Porting Audio Codecs to a Custom Porting the reference BSP to a custom board (audio codec is the same as in the reference design).. the reference BSP to a custom board (audio codec is different from the reference design)..53 Chapter 11 Porting the Ethernet Controller controller 12 Porting USB Host1 and USB overview for 6 Dual/6 Quad/6 Solo/6 DualLite/6 overview for 6 overview for 13 Revision BSP Porting Guide , Rev.

4 , 05/2018 NXP BSP Porting Guide , Rev. , 05/20186 NXP SemiconductorsChapter document provides an overview on how to develop a custom solution from BSP release. This document describes how to customize kernel changes, U-Boot,memory, and various configurations for a custom hardware solution using an release includes the following references and additional information. Linux Release Notes (IMXLXRN) - Provides the release information. Linux User's Guide (IMXLUG) - Contains the information on installing U-Boot and Linux OS and using features. Yocto Project User's Guide (IMXLXYOCTOUG) - Contains the instructionsfor setting up and building Linux OS in the Yocto Project.

5 Reference Manual (IMXLXRM) - Contains the information on Linux driversfor Graphics User's Guide (IMXGRAPHICUG) - Describes the graphics features. BSP Porting Guide (IMXXBSPPG) - Contains the instructions on Porting theBSP to a new board. VPU Application Programming Interface Linux Reference Manual(IMXVPUAPI) - Provides the reference information on the VPU quick start guides contain basic information on the board and setting it up. They areon the NXP website. SABRE Platform Quick Start Guide (IMX6 QSDPQSG) SABRE Board Quick Start Guide (IMX6 QSDBQSG) 6 UltraLite EVK Quick Start Guide (IMX6 ULTRALITEQSG) 6 ULL EVK Quick Start Guide (IMX6 ULLQSG) BSP Porting Guide , Rev.

6 , 05/2018 NXP Semiconductors7 SABRE Automotive Infotainment Quick Start Guide (IMX6 SABREINFOQSG) 6 SoloLite Evaluation Kit Quick Start Guide (IMX6 SLEVKQSG) 7 Dual SABRE-SD Quick Start Guide (SABRESDBIMX7 DUALQSG) 8 MQuad Evaluation Kit Quick Start Guide (IMX8 MQUADEVKQSG)Documentation is available online at 6 information is at SABRE information is at 6 SoloLite EVK information is at 6 UltraLite information is at 6 ULL information is at 7 Dual information is at 7 ULP information is at 8 information is at BSP Porting Guide , Rev.

7 , 05/20188 NXP SemiconductorsChapter 2 Porting overviewThis chapter explains how to download, build and load the kernel both in astandalone environment and through Yocto to build and load Kernel in standalone environmentTo build Kernel in a standalone environment, first, generate a development SDK, whichincludes the tools, toolchain, and small rootfs to compile against to put on the Generate an SDK from the Yocto Project build environment with the followingcommand. To set up the Yocto Project build environment, follow the steps in Yocto Project User's Guide (IMXLXYOCTOUG). In the following command,set Target-Machine to the machine you are building for.

8 The populate_sdk generatesa script file that sets up a standalone environment without Yocto Project. This SDKshould be updated for each release to pick up the latest headers, toolchain, and toolsfrom the current MACHINE=Target-Machine bitbake core-image-minimal -c populate_sdk2. From the build directory, the bitbake was run in, copy the .sh file in tmp/deploy/sdkto the host machine to build on and execute the script to install the SDK. The defaultlocation is in /opt but can be placed anywhere on the host the host machine, these are the steps to build Kernel:1. On the host machine, set the environment with the following command beforebuilding for 8 SoC.

9 $ source CROSS_COMPILE=source/opt/fsl-imx- $ export ARCH= BSP Porting Guide , Rev. , 05/2018 NXP Semiconductors92. On the host machine, set the environment with the following command beforebuilding for 6 or 7 SoC.$ source CROSS_COMPILE=/opt/fsl-imx- $ export ARCH=arm3. To build the kernel in the standalone environment, execute the following source by cloning with:$ git clone -b $ cd linux-imx $ make defconfig // For 8 $ make imx_v7_defconfig // For 6 and 7 $ make By default, U-Boot loads kernel image and device tree blob from the first FATpartition. Users can copy their images to this partition.

10 Alternatively, users can flashimages to the RAW address for U-Boot flash the kernel generated from the build, execute the following commands:$ sudo dd if=<zImageName> of=/dev/sd<partition> bs=512 seek=2048 conv=fsync && syncTo flash the device trees generated from the build, execute the following commands:$ sudo dd if=<DevicetreeName>.dtb of=/dev/sd<partition> bs=512 seek=20480 conv=fsyncNOTEFor 8 QuadMax and 8 QuadXPlus, the kernel imageand DTB need to be flashed after the first 6 MB of the SD to build and load Kernel in Yocto ProjectTo integrate kernel changes in Yocto Project, perform the following steps:1.


Related search queries