当前位置:网站首页>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 .
边栏推荐
- 《网络是怎么样连接的》读书笔记 - 汇总篇
- addmodule_allmerge_ams_im
- Rong Lianyun launched rphone based on Tongxin UOS to create a new ecology of localization contact center
- 数据挖掘知识点整理(期末复习版)
- Drug management system plus database, overnight, plus report
- Cmakelists Basics
- Niuke network: longest continuous subarray with positive product
- More dragon lizard self-developed features! Production available Anolis OS 8.6 officially released
- The meaning of linetypes enumeration values (line_4, line_8, line_aa) in opencv
- 腾讯二面:@Bean 与 @Component 用在同一个类上,会怎么样?
猜你喜欢

【微信小程序】小程序的宿主环境

Good partner for cloud skill improvement, senior brother cloud of Amazon officially opened today

BC1.2 PD协议

JS ES5也可以创建常量?

坚果云-在新电脑上同步移动硬盘的文件
![[Verilog quick start of Niuke online question series] ~ bit splitting and operation](/img/17/4b8f5607c4cba1596435233a6cf30a.png)
[Verilog quick start of Niuke online question series] ~ bit splitting and operation

Property or method “approval1“ is not defined on the instance but referenced during render

Anaconda下安装Jupyter notebook

Undistorted resize using pil

Observation cloud reached in-depth cooperation with tdengine to optimize enterprise cloud experience
随机推荐
simpleITK读取nii遇到ITK only supports orthonormal direction cosines的错误
How to connect the Internet Reading Notes - Summary
register_ Chrdev and CDEV_ init cdev_ Add usage differences
基于51单片机的计件器设计
Carry two load balancing notes and find them in the future
药品管理系统加数据库,一夜做完,加报告
POJ Project Summer
List announced - outstanding intellectual property service team in China in 2021
Design of piece counter based on 51 single chip microcomputer
CGR 21 (D,E,F)
[demo] write file circularly
Installing jupyter notebook under Anaconda
[Verilog quick start of Niuke online question series] ~ bit splitting and operation
Etcd教程 — 第八章 Etcd之Compact、Watch和Lease API
Mathematical modeling for war preparation 35 time series prediction model
Parler du télétravail
Mathematical modeling for war preparation 36 time series model 2
数据挖掘知识点整理(期末复习版)
Internet R & D efficiency practice qunar core field Devops landing practice
2022 Blue Bridge Cup group B - expense reimbursement - (linear dp| status DP)