|
|
(34 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | {{DISPLAYTITLE:Yocto Linux BSP Ver.A User Guide for ROM-5722 iMX8MP Dual Lite}} <!--
| |
− | {| align="right"
| |
− | | <span class="fck_mw_magic" _fck_mw_customtag="true" _fck_mw_tagname="TOC" _fck_mw_tagtype="c">_</span>
| |
− | |}
| |
− | -->
| |
| | | |
− | = Prerequisites =
| |
− | follow [[IoTGateway/BSP/Linux/iMX8/Yocto_LBVA_User_Guide|Yocto Linux BSP Ver.A User Guide for iMX8 series]] to build a ROM-5722 image ...
| |
− |
| |
− | :[[ IoTGateway/BSP/Linux/iMX8/Yocto_LBVA_User_Guide#Get_BSP | Get_BSP ]]
| |
− | ::specify manifest file to <span style="color:#7030a0">'''imx8LBVA1021.xml</span>
| |
− |
| |
− | :[[ IoTGateway/BSP/Linux/iMX8/Yocto_LBVA_User_Guide#Build_Instructions | Build Instructions ]]
| |
− | ::<code><span style="color:#7030a0">'''MC'''</span>=imx8mprom5722a1</code>
| |
− | ::<code><span style="color:#7030a0">'''UC'''</span>=4G</code>
| |
− |
| |
− | = set u-boot-imx for iMX8MP Dual Lite =
| |
− | set development environment for u-boot-imx
| |
− | <pre>
| |
− | devtool modify u-boot-imx
| |
− | </pre>
| |
− | change current directory to build/workspace/sources/u-boot-imx
| |
− | modify arch/arm/mach-imx/imx8m/soc.c
| |
− | <pre>
| |
− | patch -p1 << END_OF_PATCH
| |
− | diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c
| |
− | index c55ea8df7d..11a442befa 100644
| |
− | --- a/arch/arm/mach-imx/imx8m/soc.c
| |
− | +++ b/arch/arm/mach-imx/imx8m/soc.c
| |
− | @@ -799,7 +799,12 @@ int disable_vpu_nodes(void *blob)
| |
− | const char *nodes_path_8mp[] = {
| |
− | "/vpu_g1@38300000",
| |
− | "/vpu_g2@38310000",
| |
− | - "/vpu_vc8000e@38320000"
| |
− | + "/vpu_vc8000e@38320000",
| |
− | + "/soc@0/blk-ctl@38330000",
| |
− | + "/soc@0/bus@30000000/gpc@303a0000/pgc/power-domain@19",
| |
− | + "/soc@0/bus@30000000/gpc@303a0000/pgc/power-domain@20",
| |
− | + "/soc@0/bus@30000000/gpc@303a0000/pgc/power-domain@21",
| |
− | + "/soc@0/bus@30000000/gpc@303a0000/pgc/power-domain@22"
| |
− | };
| |
− |
| |
− | if (is_imx8mq())
| |
− | END_OF_PATCH
| |
− | </pre>
| |
− |
| |
− | change back to the original build directory
| |
− |
| |
− | <pre>
| |
− | bitbake u-boot-imx
| |
− | </pre>
| |
− |
| |
− | == set linux-imx for iMX8MP Dual Lite ==
| |
− | set development environment for linux-imx
| |
− | <pre>
| |
− | devtool modify linux-imx
| |
− | </pre>
| |
− | change current directory to build/workspace/sources/linux-imx
| |
− | modify arch/arm64/boot/dts/freescale/imx8mp-rom5722-a1.dts
| |
− | <pre>
| |
− | patch -p1 << END_OF_PATCH
| |
− | END_OF_PATCH
| |
− | </pre>
| |
− | change back to the original build directory
| |
− | <pre>
| |
− | bitbake linux-imx
| |
− | </pre>
| |