当前位置:网站首页>Compile u-boot source code for stm32p157 development board
Compile u-boot source code for stm32p157 development board
2022-06-30 17:04:00 【mucheni】
1 Add your own platform
Use command “cd u-boot-stm32mp-2020.01”, Get into uboot Catalog , As shown in the figure below :

Use the following command
cp configs/stm32mp15_trusted_defconfig configs/stm32mp15_itop_trusted_defconfig
Create your own default configuration file , As shown in the figure below :

Then we use the command “cd arch/arm/dts/” Enter the device tree file storage directory , You can see ST Device tree of official development board
Pieces of , Our board is also designed with reference to the official development board , So for our convenience, we directly modify the official development board
Device tree file to fit our own development board .
Use the following command , Copy the official device tree file and modify the file name , As shown in the figure below
cp stm32mp15xx-dkx.dtsi stm32mp15xx-itop.dtsi
cp stm32mp157a-dk1.dts stm32mp157a-itop.dts
cp stm32mp157a-dk1-u-boot.dtsi stm32mp157a-itop-u-boot.dtsi

Use command “vim stm32mp157a-itop.dts” Get into stm32mp157a-itop.dts file , Put... In the header file
#include "stm32mp15xx-dkx.dtsi" It is amended as follows
#include "stm32mp15xx-itop.dtsi" The modification is completed as shown in the figure below :

and take model from STMicroelectronics STM32MP157A-DK1 Discovery Board repair Change by STMicroelectronics
STM32MP157A-iTOP Discovery Board, The modification is completed as shown in the figure below :

After saving and exiting, use the following command to enter stm32mp15xx-itop.dtsi Folder
vim stm32mp15xx-itop.dtsi
As a result of official DK1 The default memory of the development board is 512MB And our memory is 1G, So we're going to memory Property values are set by
0xc0000000 0x20000000
It is amended as follows
0xc0000000 0x40000000
The modification is completed as shown in the figure below :

After saving and exiting , Use command “vim stm32mp157a-itop-u-boot.dtsi” Get into stm32mp157a-itop-u-boot.dtsi The file will be
#include "stm32mp15-ddr3-1x4Gb-1066-binG.dtsi" It is amended as follows
#include "stm32mp15-ddr3-2x4Gb-1066-binG.dtsi" The modification is completed as shown in the figure below :

After saving and exiting , Continue to use the command under the device tree “ vim Makefile” Modify the compilation configuration file , After opening, as shown in the figure below :

Use the find command to find “stm32mp157a-dk1.dtb”, Then add our own device tree file below
stm32mp157a-itop.dtb \
After adding, it is shown in the figure below :

Save and exit , So far, our own platform has been added .
边栏推荐
- nodejs学习笔记二
- Rongsheng biology rushes to the scientific innovation board: it plans to raise 1.25 billion yuan, with an annual revenue of 260million yuan
- OpenCV中LineTypes各枚举值(LINE_4 、LINE_8 、LINE_AA )的含义
- 阿里云盘分享压缩包
- List becomes vector list becomes vector list vector
- Symantec electronic sprint technology innovation board: Tan Jian, the actual controller, is an American who plans to raise 620million yuan
- 列表变成向量 列表变向量 list vector
- 【OpenCV 例程200篇】215. 基于多段线绘制近似椭圆
- restartProcessIfVisible的流程
- Simpleitk encountered an ITK only supports orthonormal direction cosines error while reading NII
猜你喜欢

数据安全合规之后,给风控团队带来了新的问题

Bc1.2 PD protocol

Half year inventory of new consumption in 2022: the industry is cold, but these nine tracks still attract gold

Etcd tutorial - Chapter 9 etcd implementation of distributed locks
![Delete duplicates in an ordered array ii[double pointers -- unified in multiple cases]](/img/e2/cadfdbe476a86cb2d72c1ae0160a4a.png)
Delete duplicates in an ordered array ii[double pointers -- unified in multiple cases]

异常类_日志框架

RT thread heap size setting

HMS Core音频编辑服务3D音频技术,助力打造沉浸式听觉盛宴

List announced - outstanding intellectual property service team in China in 2021

利用PIL进行不失真的resize
随机推荐
After 15 years of working on 21 types of hardware, where is Google?
Jsr303 and common validator implementations
Lambda expression_ Stream stream_ File class
JS ES5也可以创建常量?
HMS core audio editing service 3D audio technology helps create an immersive auditory feast
Data mining knowledge points sorting (final review version)
Several cross end development artifacts
腾讯二面:@Bean 与 @Component 用在同一个类上,会怎么样?
[activity registration] it's your turn to explore the yuan universe! I will be waiting for you in Shenzhen on July 2!
Wechat emoticons are written into the judgment, and the OK and bomb you send may become "testimony in court"
Bc1.2 PD protocol
Geo read single cell CSV expression matrix single cell column name change Seurat
simpleITK读取nii遇到ITK only supports orthonormal direction cosines的错误
POJ Project Summer
addmodule_allmerge_ams_im
数据挖掘知识点整理(期末复习版)
[BJDCTF2020]The mystery of ip|[CISCN2019 华东南赛区]Web11|SSTI注入
differential analysis between different groups nichenet for silicosis成功运行!
【JVM】一文带你了解JVM中的垃圾回收机制(GC)——内含图解
Research on helmet wearing detection algorithm