ST官方基于完美体育·(中国)手机网页版STM32MP135开发板培训课程(一)
文章来源: 发布日期:2023.7.27 浏览次数:635 次 |
-
TFA源码
$> cd tf-a-stm32mp-v2.6-stm32mp-r2-r0
$> tar xf tf-a-stm32mp-v2.6-stm32mp-r2-r0.tar.xz
$> cd tf-a-stm32mp-v2.6-stm32mp-r2
$> for p in `ls -1 ../*.patch`; do patch -p1 < $p; done
-
OP-TEE源码
$> cd optee-os-stm32mp-3.16.0-stm32mp-r2-r0
$> tar xf optee-os-stm32mp-3.16.0-stm32mp-r2-r0.tar.xz
$> cd optee-os-stm32mp-3.16.0-stm32mp-r2
$> tar xf ../fonts.tar.gz
$> for p in `ls -1 ../*.patch`; do patch -p1 < $p; done
-
U-Boot源码
cd u-boot-stm32mp-v2021.10-stm32mp-r2-r0 >
> tar xf u-boot-stm32mp-v2021.10-stm32mp-r2-r0.tar.xz
cd u-boot-stm32mp-v2021.10-stm32mp-r2 >
for p in `ls -1 ../*.patch`; do patch -p1 < $p; done >
-
Kernel源码
cd linux-stm32mp-5.15.67-stm32mp-r2-r0 >
> tar xf linux-5.15.67.tar.xz
cd linux-5.15.67 >
for p in `ls -1 ../*.patch`; do patch -p1 < $p; done >
1.2 SDK安装
1.3 STM32CubeProgrammer安装
2.原理框图
3. STM32CubeMX项目创建
-
TFA:
PC $> cd <tf-a-stm32mp-v2.6-stm32mp-r2_path>
PC $> ln -s /local/home/xxx/Desktop/STM32CubeMX/myir_bring_up/DeviceTree/myir_bring_up/tf-a/* fdts/
-
OP-TEE:
PC $> cd <optee-os-stm32mp-3.16.0-stm32mp-r2_path>
PC $> ln -s /local/home/xxx/Desktop/STM32CubeMX/myir_bring_up/DeviceTree/myir_bring_up/optee-os/* core/arch/arm/dts/
-
U-Boot:
PC $> cd <u-boot-stm32mp-v2021.10-stm32mp-r2_path>
PC $> ln -s /local/home/xxx/Desktop/STM32CubeMX/myir_bring_up/DeviceTree/myir_bring_up/u-boot/* arch/arm/dts/
培训资料未完,请关注下一期文章。