OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 3991|回复: 19

正点原子stm32mp157开发板linux5.15移植带optee

[复制链接]

3

主题

36

帖子

0

精华

初级会员

Rank: 2

积分
150
金钱
150
注册时间
2020-6-11
在线时间
55 小时
发表于 2022-10-1 13:37:42 | 显示全部楼层 |阅读模式
本帖最后由 1203385078 于 2022-10-18 10:44 编辑

正点原子stm32mp157开发板linux5.15移植带optee
stm32官网下载以下文件:
en.FLASH-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.tar.xz
en.SDK-x86_64-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.tar.xz
en.SOURCES-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.tar.xz

解压en.FLASH-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.tar.xz文件,可以看到stm32官方对分区的定义:
屏幕截图 2022-10-01 111626.png

解压en.SOURCES-stm32mp1-openstlinux-5.10-dunfell-mp1-21-11-17_tar.xz文件会得到源码文件。
解压安装en.SDK-x86_64-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.tar.xz可以得到一些必要的工具,比如fiptool-stm32mpfiptool

注意:如果不安装使用en.SDK-x86_64-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.tar.xz,使用gcc-arm-10.2-2020.11-x86_64-arm-none-linux-gnueabihf.tar.xz等arm-none-linux-gnueabihf编译,需要更改tfa、uboot等Makefile.sdk文件的编译器指定,这个正点原子的移植文档有说明,不做赘述。

本教程参考stm32官方wiki编译自定义设备树教程

解压源码后,我复制了一份到另一个目录,并使用git管理,方便查看修改记录,目录结构如下:
屏幕截图 2022-10-01 112234.png


1. Tf-a
准备源码:
tar xf tf-a-stm32mp-v2.6-stm32mp1-r1-r0.tar.xz
cd tf-a-stm32mp-v2.6-stm32mp1-r1
for p in `ls -1 ../*.patch`; do patch -p1 < $p; done

准备设备树:
cp stm32mp157d-ed1.dts stm32mp157d-stm32.dts
cp stm32mp15xx-edx.dtsi stm32mp157d-stm32.dtsi
cp stm32mp157d-ed1-fw-config.dts stm32mp157d-stm32-fw-config.dts

按照正点原子的教程修改tfa设备树,修改完成后,
再修改一个宏定义:
tf-a-stm32mp-v2.6-stm32mp1-r1-r0/tf-a-stm32mp-v2.6-stm32mp1-r1/plat/st/stm32mp1/stm32mp1_def.h 中的
#define PLAT_NB_FIXED_REGS                U(1)
改为
#define PLAT_NB_FIXED_REGS                U(12)
这里12是随便写的,只要大于你的设备树电源regulator-fixed的个数就行。
执行以下命令编译:
cd tf-a-stm32mp-v2.6-stm32mp1-r1
export FIP_DEPLOYDIR_ROOT=$PWD/../../FIP_artifacts
make -f ../Makefile.sdk TF_A_DEVICETREE=stm32mp157d-stm32 TF_A_CONFIG="optee emmc nand nor sdcard uart usb" DEPLOYDIR=$FIP_DEPLOYDIR_ROOT/arm-trusted-firmware stm32 metadata

注意:编译指令参数比官方多了一个metadata,是用来生成metadata.bin,要继续修改ubootoptee才能编译,直接编译会提示缺少一些文件,先跳过此处编译。
屏幕截图 2022-10-01 113636.png

2. Uboot
准备源码:
tar xf u-boot-stm32mp-v2021.10-stm32mp1-r1-r0.tar.xz
cd u-boot-stm32mp-v2021.10-stm32mp1-r1
for p in `ls -1 ../*.patch`; do patch -p1 < $p; done

按照正点原子的教程修改设备树,修改完成后编译:
cd u-boot-stm32mp-v2021.10-stm32mp1-r1

export FIP_DEPLOYDIR_ROOT=$PWD/../../FIP_artifacts

make -f ../Makefile.sdk UBOOT_CONFIG=trusted UBOOT_DEFCONFIG=stm32mp15_defconfig UBOOT_BINARY=u-boot.dtb FIP_CONFIG="optee" DEVICETREE="stm32mp157d-stm32" all

注意:请先等optee修改完成再编译。
3. Optee
解压文件:
tar xf optee-os-stm32mp-3.16.0-stm32mp1-r1-r0.tar.xz
cd optee-os-stm32mp-3.16.0-stm32mp1-r1
tar xfz ../fonts.tar.gz
for p in `ls -1 ../*.patch`; do patch -p1 < $p; done

修改设备树可以按照tfa修改。

补充:在optee-os-stm32mp-3.16.0-stm32mp1-r1-r0/optee-os-stm32mp-3.16.0-stm32mp1-r1/core/drivers/regulator/regulator_fixed.c 文件中 19 行改成:
#define FIXED_REGULATOR_NAME_LEN        32
这个看名称是电源节点名称长度,默认的长度16不够,改成32,这个数值没什么特别的,你可以改成其他的。


编译:
cd optee-os-stm32mp-3.16.0-stm32mp1-r1
export FIP_DEPLOYDIR_ROOT=$PWD/../../FIP_artifacts
make -f ../Makefile.sdk CFG_EMBED_DTB_SOURCE_FILE=stm32mp157d-stm32 OPTEE_DRAMSIZE=0x40000000 DEPLOYDIR=$FIP_DEPLOYDIR_ROOT/optee optee

说明:官方OPTEE_DRAMSIZE给的是0x20000000,我们的板子是1Gdram,所以应该写0x40000000。
可以编译tfaubootoptee了,注意这些是有顺序的,应该先编译optee,再tfa,最后uboot



4. Kernel
准备源码:
tar xfJ linux-5.15.24.tar.xz
cd linux-5.15.24
for p in `ls -1 ../*.patch`; do patch -p1 < $p; done
make ARCH=arm multi_v7_defconfig fragment*.config

for f in `ls -1 ../fragment*.config`; do scripts/kconfig/merge_config.sh -m -r .config $f; done
yes '' | make ARCH=arm oldconfig

按照正点原子的教程修改内核设备树,修改完成后添加设备树到makefile文件,编译:

cd linux-5.15.24
make ARCH=arm -j4 uImage vmlinux dtbs LOADADDR=0xC2000040
make ARCH=arm -j4 modules


5. 烧写
en.FLASH-stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15.tar.xz中找到FlashLayout_emmc_stm32mp157d-ev1-optee.tsv文件,修改内容如下:
#Opt        Id        Name        Type        IP        Offset        Binary
-        0x01        fsbl-boot        Binary        none        0x0        arm-trusted-firmware/tf-a-stm32mp157d-stm32-usb.stm32
-        0x03        fip-boot        FIP        none        0x0        fip/fip-stm32mp157d-stm32-optee.bin
P        0x04        fsbl1        Binary        mmc1        boot1        arm-trusted-firmware/tf-a-stm32mp157d-stm32-emmc.stm32
P        0x05        fsbl2        Binary        mmc1        boot2        arm-trusted-firmware/tf-a-stm32mp157d-stm32-emmc.stm32
P        0x06        metadata1        Binary        mmc1        0x00080000        arm-trusted-firmware/metadata.bin
P        0x07        metadata2        Binary        mmc1        0x00100000        arm-trusted-firmware/metadata.bin
P        0x08        fip-a        FIP        mmc1        0x00180000        fip/fip-stm32mp157d-stm32-optee.bin
PED        0x09        fip-b        FIP        mmc1        0x00580000        none
PED        0x0A        u-boot-env        Binary        mmc1        0x00980000        none
P        0x10        bootfs        System        mmc1        0x00A00000        boot/bootfs.ext4
P        0x11        rootfs        FileSystem        mmc1        0x04A00000        rootfs.ext4


文件系统rootfs可以用以前编译好的buildroot文件系统,内核文件按照正点原子的教程制作bootfstfaubootoptee编译后烧录的文件位置如下,由export FIP_DEPLOYDIR_ROOT=$PWD/../../FIP_artifacts指定:
屏幕截图 2022-10-01 132033.png


Uboot设置启动参数:
mmc:
setenv bootcmd 'ext4load mmc 1:6 c2000000 uImage;ext4load mmc 1:6 c4000000 stm32mp157d-stm32.dtb;bootm c2000000 - c4000000'
setenv bootargs 'console=tty1 console=ttySTM0,115200 root=/dev/mmcblk2p7 rootwait rw'

保存:
saveenv

启动:
uboot默认取消了boot指令,直接按复位即可

RGB屏幕依然无法正常显示,/sys/class/drm/ 目录下没有设备,但是触摸是可以的,HDMI接口可正常工作。

大致流程就是这样,可以对比stm32官方的wiki,一步一步的理解,设备树等文件如下:
code.zip (32.1 KB, 下载次数: 26)
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

0

主题

4

帖子

0

精华

新手入门

积分
6
金钱
6
注册时间
2022-10-4
在线时间
0 小时
发表于 2022-10-4 10:47:22 | 显示全部楼层
我也是移植的SDK 4.01, 移植完tfa2.6 和uboot后  发现打印的是:
U-Boot 2021.10-stm32mp-r1 (Oct 02 2022 - 23:52:43 +0800)

CPU: STM32MP157DAA Rev.Z
Model: STM32MP157D mk board bootloader
Board: stm32mp1 in trusted - stm32image mode (st,stm32mp157d-ed1)
DRAM:  1 GiB
Clocks:
- MPU : 650 MHz
- MCU : 208.878 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz

cpu为什么工作在650M,设备树里没有pll1的配置,应该是有一个默认配置,怎么在不改设备树的情况下恢复800M?
回复 支持 1 反对 0

使用道具 举报

3

主题

36

帖子

0

精华

初级会员

Rank: 2

积分
150
金钱
150
注册时间
2020-6-11
在线时间
55 小时
 楼主| 发表于 2022-10-8 15:22:48 | 显示全部楼层
mkankj 发表于 2022-10-7 13:00
我查询到了,由于pll0是专门给cortexA7提供时钟的,所以比较关键,在tfa里,这部分是自动生成的,根据电 ...

直接改tfa里的不太行,optee会做校验判定,改了就直接panic了,内核查询不到主频信息
回复 支持 1 反对 0

使用道具 举报

3

主题

36

帖子

0

精华

初级会员

Rank: 2

积分
150
金钱
150
注册时间
2020-6-11
在线时间
55 小时
 楼主| 发表于 2022-10-4 16:48:29 | 显示全部楼层
本帖最后由 1203385078 于 2022-10-4 18:07 编辑
mkankj 发表于 2022-10-4 10:47
我也是移植的SDK 4.01, 移植完tfa2.6 和uboot后  发现打印的是:
U-Boot 2021.10-stm32mp-r1 (Oct 02 2022 ...

我找了一下,在tfa设备树 tf-a-stm32mp-v2.6-stm32mp1-r1/fdts/stm32mp15-bl2.dtsi 有这个节点定义:
屏幕截图 2022-10-04 175647.png

tf-a-stm32mp-v2.6-stm32mp1-r1/plat/st/stm32mp1/platform.mk 文件编译指定:
屏幕截图 2022-10-04 175740.png

可以看到注释是写着配置650M主频,你可以尝试修改参数试试给它调到800M.
回复 支持 反对

使用道具 举报

0

主题

4

帖子

0

精华

新手入门

积分
6
金钱
6
注册时间
2022-10-4
在线时间
0 小时
发表于 2022-10-7 13:00:40 | 显示全部楼层
1203385078 发表于 2022-10-4 16:48
我找了一下,在tfa设备树 tf-a-stm32mp-v2.6-stm32mp1-r1/fdts/stm32mp15-bl2.dtsi 有这个节点定义:

...

我查询到了,由于pll0是专门给cortexA7提供时钟的,所以比较关键,在tfa里,这部分是自动生成的,根据电压来适配一个稳定的时钟。但是也是可以指定时钟的。
我专门阅读了芯片手册,研究了pll,虽然给设备树添加了pll1的节点,但是运行起来还是650M。不知道哪儿还需要设置。在kernel的设备树中,我找到了时钟800M的设置,但愿在起了内核后能恢复成800,要不然太亏了还不如买157a、c系列呢
回复 支持 反对

使用道具 举报

19

主题

136

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1056
金钱
1056
注册时间
2020-6-4
在线时间
95 小时
发表于 2022-10-13 09:01:56 | 显示全部楼层
1203385078 发表于 2022-10-8 15:22
直接改tfa里的不太行,optee会做校验判定,改了就直接panic了,内核查询不到主频信息

厉害,给你点个赞
回复 支持 反对

使用道具 举报

2

主题

37

帖子

0

精华

初级会员

Rank: 2

积分
170
金钱
170
注册时间
2017-8-17
在线时间
38 小时
发表于 2022-10-17 12:06:04 | 显示全部楼层
你好,我是分别编译的TF-A,optee,uboot的,使用的是:
make CROSS_COMPILE=arm-none-linux-gnueabihf- PLAT=stm32mp1 ARCH=aarch32 ARM_ARCH_MAJOR=7 DTB_FILE_NAME。。。。
这种类似的命令,最后合成fip。
但是出现下面的错误: QQ拼音截图未命名.png

不太清楚怎么造成的?
回复 支持 反对

使用道具 举报

3

主题

36

帖子

0

精华

初级会员

Rank: 2

积分
150
金钱
150
注册时间
2020-6-11
在线时间
55 小时
 楼主| 发表于 2022-10-18 10:22:36 | 显示全部楼层
aaa2742 发表于 2022-10-17 12:06
你好,我是分别编译的TF-A,optee,uboot的,使用的是:
make CROSS_COMPILE=arm-none-linux-gnueabihf- P ...

你是不是按照这个教程做的 http://www.openedv.com/thread-337865-1-1.html ,这个是不带optee的,编译的指令都不一样的
屏幕截图 2022-10-18 101634.png

还有其他的编译选项需要,你可以仔细看看makefile.sdk文件,看看还需要哪些



屏幕截图 2022-10-18 101237.png
回复 支持 反对

使用道具 举报

2

主题

37

帖子

0

精华

初级会员

Rank: 2

积分
170
金钱
170
注册时间
2017-8-17
在线时间
38 小时
发表于 2022-10-19 11:51:37 | 显示全部楼层
1203385078 发表于 2022-10-18 10:22
你是不是按照这个教程做的 http://www.openedv.com/thread-337865-1-1.html ,这个是不带optee的,编译的 ...

fip打成的包是在tf-a,optee,u-boot,哪个阶段生成的?看你写的帖子是编译u-boot阶段,但是我按照你的操作没有生成fip
回复 支持 反对

使用道具 举报

3

主题

36

帖子

0

精华

初级会员

Rank: 2

积分
150
金钱
150
注册时间
2020-6-11
在线时间
55 小时
 楼主| 发表于 2022-10-26 10:36:40 | 显示全部楼层
本帖最后由 1203385078 于 2022-10-26 10:54 编辑
aaa2742 发表于 2022-10-19 11:51
fip打成的包是在tf-a,optee,u-boot,哪个阶段生成的?看你写的帖子是编译u-boot阶段,但是我按照你的操 ...
  1. <blockquote>pp@ubuntu-sp:~/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0$ ./inituboot.sh
复制代码
uboot 编译过程日志,fip是在编译uboot的时候生成:
pp@ubuntu-sp:~/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0$ ./inituboot.sh
patching file arch/arm/Kconfig
patching file arch/arm/mach-stm32mp/Kconfig
patching file arch/arm/mach-stm32mp/Kconfig.13x
patching file arch/arm/mach-stm32mp/Kconfig.15x
patching file arch/arm/mach-stm32mp/Makefile
patching file arch/arm/mach-stm32mp/bsec.c
patching file arch/arm/mach-stm32mp/cmd_stm32key.c
patching file arch/arm/mach-stm32mp/cmd_stm32prog/Kconfig
patching file arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c
patching file arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c
patching file arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h
patching file arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.c
patching file arch/arm/mach-stm32mp/config.mk
patching file arch/arm/mach-stm32mp/cpu.c
patching file arch/arm/mach-stm32mp/fdt.c
patching file arch/arm/mach-stm32mp/include/mach/bsec.h
patching file arch/arm/mach-stm32mp/include/mach/gpio.h
patching file arch/arm/mach-stm32mp/include/mach/stm32.h
patching file arch/arm/mach-stm32mp/include/mach/stm32mp1_smc.h
patching file arch/arm/mach-stm32mp/include/mach/sys_proto.h
patching file arch/arm/mach-stm32mp/pwr_regulator.c
patching file arch/arm/mach-stm32mp/spl.c
patching file arch/arm/mach-stm32mp/stm32mp13x.c
patching file arch/arm/mach-stm32mp/stm32mp15x.c
patching file board/st/common/Kconfig
patching file board/st/common/Makefile
patching file board/st/common/cmd_stboard.c
patching file board/st/common/stm32mp_dfu.c
patching file board/st/common/stusb160x.c
patching file board/st/common/stusb160x.h
patching file board/st/stm32f429-discovery/stm32f429-discovery.c
patching file board/st/stm32f429-evaluation/stm32f429-evaluation.c
patching file board/st/stm32f469-discovery/stm32f469-discovery.c
patching file board/st/stm32f746-disco/stm32f746-disco.c
patching file board/st/stm32h743-disco/stm32h743-disco.c
patching file board/st/stm32h743-eval/stm32h743-eval.c
patching file board/st/stm32h750-art-pi/stm32h750-art-pi.c
patching file board/st/stm32mp1/Kconfig
patching file board/st/stm32mp1/MAINTAINERS
patching file board/st/stm32mp1/stm32mp1.c
patching file CONTRIBUTING.md
patching file MAINTAINERS
patching file Makefile
patching file SECURITY.md
patching file arch/arm/cpu/armv7/stv0991/timer.c
patching file arch/arm/include/asm/arch-stm32f4/gpio.h
patching file arch/arm/include/asm/arch-stm32f7/gpio.h
patching file arch/arm/include/asm/arch-stm32h7/gpio.h
patching file arch/arm/include/asm/arch-stv0991/stv0991_gpt.h
patching file arch/sandbox/dts/test.dts
patching file arch/sandbox/include/asm/scmi_test.h
patching file board/congatec/cgtqmx8/spl.c
patching file board/dhelectronics/dh_stm32mp1/Kconfig
patching file board/dhelectronics/dh_stm32mp1/MAINTAINERS
patching file board/dhelectronics/dh_stm32mp1/Makefile
patching file board/dhelectronics/dh_stm32mp1/board.c
patching file board/engicam/stm32mp1/Kconfig
patching file board/engicam/stm32mp1/stm32mp1.c
patching file board/raspberrypi/rpi/rpi.c
patching file cmd/bind.c
patching file cmd/clk.c
patching file cmd/onenand.c
patching file common/Kconfig
patching file common/Makefile
patching file common/fdt_simplefb.c (renamed from common/lcd_simplefb.c)
patching file common/usb_hub.c
patching file configs/dh_imx6_defconfig
patching file configs/kp_imx6q_tpc_defconfig
patching file configs/mx53ppd_defconfig
patching file configs/rpi_0_w_defconfig
patching file configs/rpi_2_defconfig
patching file configs/rpi_3_32b_defconfig
patching file configs/rpi_3_b_plus_defconfig
patching file configs/rpi_3_defconfig
patching file configs/rpi_4_32b_defconfig
patching file configs/rpi_4_defconfig
patching file configs/rpi_arm64_defconfig
patching file configs/rpi_defconfig
patching file configs/sandbox_defconfig
patching file configs/stih410-b2260_defconfig
patching file configs/stv0991_defconfig
patching file doc/board/st/stm32mp1.rst
patching file doc/device-tree-bindings/arm/arm,scmi.txt
patching file doc/device-tree-bindings/memory-controllers/st,stm32mp1-ddr.txt
patching file drivers/adc/stm32-adc-core.c
patching file drivers/adc/stm32-adc.c
patching file drivers/clk/Kconfig
patching file drivers/clk/Makefile
patching file drivers/clk/clk-composite.c
patching file drivers/clk/clk-divider.c
patching file drivers/clk/clk-fixed-factor.c
patching file drivers/clk/clk-gate.c
patching file drivers/clk/clk-mux.c
patching file drivers/clk/clk-stm32-core.c
patching file drivers/clk/clk-stm32-core.h
patching file drivers/clk/clk-stm32mp13.c
patching file drivers/clk/clk-uclass.c
patching file drivers/clk/clk.c
patching file drivers/clk/clk_fixed_factor.c
patching file drivers/clk/clk_fixed_rate.c
patching file drivers/clk/clk_scmi.c
patching file drivers/clk/clk_stm32mp1.c
patching file drivers/clk/stm32mp13_rcc.h
patching file drivers/core/device.c
patching file drivers/core/lists.c
patching file drivers/core/root.c
patching file drivers/demo/demo-uclass.c
patching file drivers/dfu/dfu_mtd.c
patching file drivers/firmware/scmi/Kconfig
patching file drivers/firmware/scmi/Makefile
patching file drivers/firmware/scmi/mailbox_agent.c
patching file drivers/firmware/scmi/optee_agent.c
patching file drivers/firmware/scmi/sandbox-scmi_agent.c
patching file drivers/firmware/scmi/sandbox-scmi_devices.c
patching file drivers/firmware/scmi/scmi_agent-uclass.c
patching file drivers/firmware/scmi/smccc_agent.c
patching file drivers/gpio/stm32_gpio.c
patching file drivers/gpio/stm32_gpio_priv.h (renamed from arch/arm/include/asm/arch-stm32/gpio.h)
patching file drivers/i2c/stm32f7_i2c.c
patching file drivers/misc/imx8/scu.c
patching file drivers/misc/stm32_rcc.c
patching file drivers/mmc/mmc_write.c
patching file drivers/mmc/stm32_sdmmc2.c
patching file drivers/mtd/Kconfig
patching file drivers/mtd/altera_qspi.c
patching file drivers/mtd/cfi_mtd.c
patching file drivers/mtd/mtdconcat.c
patching file drivers/mtd/mtdcore.c
patching file drivers/mtd/mtdpart.c
patching file drivers/mtd/nand/raw/nand_base.c
patching file drivers/mtd/nand/raw/stm32_fmc2_nand.c
patching file drivers/mtd/onenand/onenand_base.c
patching file drivers/mtd/spi/sf_mtd.c
patching file drivers/mtd/spi/spi-nor-core.c
patching file drivers/mtd/ubi/io.c
patching file drivers/net/dwc_eth_qos.c
patching file drivers/phy/phy-stm32-usbphyc.c
patching file drivers/pinctrl/Kconfig
patching file drivers/pinctrl/Makefile
patching file drivers/pinctrl/pinctrl-mcp23017.c
patching file drivers/pinctrl/pinctrl-stmfx.c
patching file drivers/pinctrl/pinctrl_stm32.c
patching file drivers/power/regulator/scmi_regulator.c
patching file drivers/power/regulator/stm32-vrefbuf.c
patching file drivers/ram/stm32mp1/Makefile
patching file drivers/ram/stm32mp1/stm32mp1_ddr.c
patching file drivers/ram/stm32mp1/stm32mp1_ddr.h
patching file drivers/ram/stm32mp1/stm32mp1_ddr_regs.h
patching file drivers/ram/stm32mp1/stm32mp1_interactive.c
patching file drivers/ram/stm32mp1/stm32mp1_ram.c
patching file drivers/ram/stm32mp1/stm32mp1_tests.h
patching file drivers/ram/stm32mp1/stm32mp1_tuning.c
patching file drivers/reboot-mode/reboot-mode-uclass.c
patching file drivers/remoteproc/Kconfig
patching file drivers/remoteproc/Makefile
patching file drivers/remoteproc/rproc-optee.c
patching file drivers/remoteproc/rproc-uclass.c
patching file drivers/remoteproc/stm32_copro.c
patching file drivers/reset/reset-scmi.c
patching file drivers/rng/Kconfig
patching file drivers/rng/Makefile
patching file drivers/rng/optee_rng.c
patching file drivers/rng/stm32mp1_rng.c
patching file drivers/serial/serial-uclass.c
patching file drivers/spi/spi-uclass.c
patching file drivers/spi/stm32_qspi.c
patching file drivers/spi/stm32_spi.c
patching file drivers/tee/optee/core.c
patching file drivers/tee/optee/optee_msg.h
patching file drivers/timer/timer-uclass.c
patching file drivers/usb/Kconfig
patching file drivers/usb/gadget/dwc2_udc_otg.c
patching file drivers/usb/gadget/f_dfu.c
patching file drivers/usb/gadget/gadget_chips.h
patching file drivers/usb/host/usb-sandbox.c
patching file drivers/usb/typec/Kconfig
patching file drivers/usb/typec/Makefile
patching file drivers/usb/typec/typec-stusb160x.c
patching file drivers/usb/typec/typec-uclass.c
patching file drivers/usb/typec/ucsi/Kconfig
patching file drivers/usb/typec/ucsi/Makefile
patching file drivers/usb/typec/ucsi/ucsi-stm32g0.c
patching file drivers/usb/typec/ucsi/ucsi-uclass.c
patching file drivers/video/Kconfig
patching file drivers/video/Makefile
patching file drivers/video/dw_mipi_dsi.c
patching file drivers/video/rocktech-hx8394.c
patching file drivers/video/stm32/stm32_dsi.c
patching file drivers/video/stm32/stm32_ltdc.c
patching file drivers/video/video-uclass.c
patching file env/mmc.c
patching file env/onenand.c
patching file fs/yaffs2/yaffs_mtdif.c
patching file include/configs/dh_imx6.h
patching file include/configs/dh_stm32mp1.h
patching file include/configs/kp_imx6q_tpc.h
patching file include/configs/mx53ppd.h
patching file include/configs/pm9263.h
patching file include/configs/rpi.h
patching file include/configs/stih410-b2260.h
patching file include/configs/stm32f429-discovery.h
patching file include/configs/stm32f429-evaluation.h
patching file include/configs/stm32f469-discovery.h
patching file include/configs/stm32f746-disco.h
patching file include/configs/stm32h743-disco.h
patching file include/configs/stm32h743-eval.h
patching file include/configs/stm32h750-art-pi.h
patching file include/configs/stm32mp13_common.h
patching file include/configs/stm32mp13_st_common.h
patching file include/configs/stm32mp15_common.h (renamed from include/configs/stm32mp1.h)
patching file include/configs/stm32mp15_dh_dhsom.h
patching file include/configs/stm32mp15_st_common.h
patching file include/dm/lists.h
patching file include/dm/pinctrl.h
patching file include/dm/uclass-id.h
patching file include/dt-bindings/clock/stm32mp1-clks.h
patching file include/dt-bindings/clock/stm32mp13-clks.h
patching file include/dt-bindings/pinctrl/stm32-pinfunc.h
patching file include/dt-bindings/reset/stm32mp1-resets.h
patching file include/dt-bindings/reset/stm32mp13-resets.h
patching file include/dt-bindings/rtc/rtc-stm32.h
patching file include/dt-bindings/soc/stm32-hdp.h
patching file include/dt-bindings/soc/stm32mp13-hdp.h
patching file include/fdt_simplefb.h
patching file include/fdtdec.h
patching file include/linux/mtd/mtd.h
patching file include/nand.h
patching file include/netdev.h
patching file include/rproc_optee.h
patching file include/scmi_agent.h
patching file include/scmi_protocols.h
patching file include/spi_flash.h
patching file include/tee.h
patching file include/typec.h
patching file include/ucsi.h
patching file include/video.h
patching file lib/uuid.c
patching file scripts/config_whitelist.txt
patching file test/cmd/pinmux.c
patching file test/dm/nop.c
patching file test/dm/ofnode.c
patching file test/dm/pci.c
patching file test/dm/scmi.c
patching file test/dm/test-fdt.c
patching file test/py/tests/test_bind.py
patching file test/py/tests/test_log.py
patching file test/py/tests/test_pinmux.py
patching file arch/arm/dts/Makefile
patching file arch/arm/dts/stm32429i-eval-u-boot.dtsi
patching file arch/arm/dts/stm32746g-eval-u-boot.dtsi
patching file arch/arm/dts/stm32f429-disco-u-boot.dtsi
patching file arch/arm/dts/stm32f469-disco-u-boot.dtsi
patching file arch/arm/dts/stm32f7-u-boot.dtsi
patching file arch/arm/dts/stm32f746-disco-u-boot.dtsi
patching file arch/arm/dts/stm32f746.dtsi
patching file arch/arm/dts/stm32f769-disco-u-boot.dtsi
patching file arch/arm/dts/stm32h743.dtsi
patching file arch/arm/dts/stm32mp13-pinctrl.dtsi
patching file arch/arm/dts/stm32mp13-u-boot.dtsi
patching file arch/arm/dts/stm32mp131.dtsi
patching file arch/arm/dts/stm32mp133.dtsi
patching file arch/arm/dts/stm32mp135.dtsi
patching file arch/arm/dts/stm32mp135d-dk-u-boot.dtsi
patching file arch/arm/dts/stm32mp135d-dk.dts
patching file arch/arm/dts/stm32mp135f-dk-u-boot.dtsi
patching file arch/arm/dts/stm32mp135f-dk.dts
patching file arch/arm/dts/stm32mp13xa.dtsi
patching file arch/arm/dts/stm32mp13xc.dtsi
patching file arch/arm/dts/stm32mp13xd.dtsi
patching file arch/arm/dts/stm32mp13xf.dtsi
patching file arch/arm/dts/stm32mp15-ddr.dtsi
patching file arch/arm/dts/stm32mp15-ddr3-1x4Gb-1066-binG.dtsi
patching file arch/arm/dts/stm32mp15-ddr3-2x4Gb-1066-binG.dtsi
patching file arch/arm/dts/stm32mp15-ddr3-dhsom-2x1Gb-1066-binG.dtsi
patching file arch/arm/dts/stm32mp15-ddr3-dhsom-2x2Gb-1066-binG.dtsi
patching file arch/arm/dts/stm32mp15-ddr3-dhsom-2x4Gb-1066-binG.dtsi
patching file arch/arm/dts/stm32mp15-ddr3-icore-1x4Gb-1066-binG.dtsi
patching file arch/arm/dts/stm32mp15-m4-srm-pinctrl.dtsi
patching file arch/arm/dts/stm32mp15-m4-srm.dtsi
patching file arch/arm/dts/stm32mp15-no-scmi.dtsi
patching file arch/arm/dts/stm32mp15-pinctrl.dtsi
patching file arch/arm/dts/stm32mp15-u-boot.dtsi
patching file arch/arm/dts/stm32mp151.dtsi
patching file arch/arm/dts/stm32mp153.dtsi
patching file arch/arm/dts/stm32mp157.dtsi
patching file arch/arm/dts/stm32mp157a-dk1-u-boot.dtsi
patching file arch/arm/dts/stm32mp157a-dk1.dts
patching file arch/arm/dts/stm32mp157a-ed1-u-boot.dtsi
patching file arch/arm/dts/stm32mp157a-ed1.dts
patching file arch/arm/dts/stm32mp157a-ev1-u-boot.dtsi
patching file arch/arm/dts/stm32mp157a-ev1.dts
patching file arch/arm/dts/stm32mp157a-icore-stm32mp1-u-boot.dtsi
patching file arch/arm/dts/stm32mp157a-microgea-stm32mp1-u-boot.dtsi
patching file arch/arm/dts/stm32mp157c-dk2.dts
patching file arch/arm/dts/stm32mp157c-ed1-u-boot.dtsi
patching file arch/arm/dts/stm32mp157c-ed1.dts
patching file arch/arm/dts/stm32mp157c-ev1-u-boot.dtsi
patching file arch/arm/dts/stm32mp157c-ev1.dts
patching file arch/arm/dts/stm32mp157c-odyssey-som-u-boot.dtsi
patching file arch/arm/dts/stm32mp157d-dk1-u-boot.dtsi
patching file arch/arm/dts/stm32mp157d-dk1.dts
patching file arch/arm/dts/stm32mp157d-ed1-u-boot.dtsi
patching file arch/arm/dts/stm32mp157d-ed1.dts
patching file arch/arm/dts/stm32mp157d-ev1-u-boot.dtsi
patching file arch/arm/dts/stm32mp157d-ev1.dts
patching file arch/arm/dts/stm32mp157f-dk2-u-boot.dtsi
patching file arch/arm/dts/stm32mp157f-dk2.dts
patching file arch/arm/dts/stm32mp157f-ed1-u-boot.dtsi
patching file arch/arm/dts/stm32mp157f-ed1.dts
patching file arch/arm/dts/stm32mp157f-ev1-u-boot.dtsi
patching file arch/arm/dts/stm32mp157f-ev1.dts
patching file arch/arm/dts/stm32mp15xa.dtsi
patching file arch/arm/dts/stm32mp15xc.dtsi
patching file arch/arm/dts/stm32mp15xd.dtsi
patching file arch/arm/dts/stm32mp15xf.dtsi
patching file arch/arm/dts/stm32mp15xx-dhcom-u-boot.dtsi
patching file arch/arm/dts/stm32mp15xx-dhcor-avenger96-u-boot.dtsi
patching file arch/arm/dts/stm32mp15xx-dhcor-u-boot.dtsi
patching file arch/arm/dts/stm32mp15xx-dkx.dtsi
patching file arch/arm/dts/stm32mp15xx-edx.dtsi
patching file arch/arm/dts/stm32mp15xx-evx.dtsi
patching file configs/stm32f429-discovery_defconfig
patching file configs/stm32f429-evaluation_defconfig
patching file configs/stm32f469-discovery_defconfig
patching file configs/stm32f746-disco_defconfig
patching file configs/stm32f769-disco_defconfig
patching file configs/stm32mp13_defconfig
patching file configs/stm32mp15-icore-stm32mp1-ctouch2_defconfig
patching file configs/stm32mp15-icore-stm32mp1-edimm2.2_defconfig
patching file configs/stm32mp15-microgea-stm32mp1-microdev2-of7_defconfig
patching file configs/stm32mp15-microgea-stm32mp1-microdev2_defconfig
patching file configs/stm32mp15_basic_defconfig
patching file configs/stm32mp15_defconfig
patching file configs/stm32mp15_dhcom_basic_defconfig
patching file configs/stm32mp15_dhcor_basic_defconfig
patching file configs/stm32mp15_trusted_defconfig
patching file arch/arm/dts/Makefile
pp@ubuntu-sp:~/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0$ ./builduboot.sh
/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../Makefile.sdk:135: 警告:覆盖关于目标“configure-stm32mp15_defconfig-trusted”的配方
/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../Makefile.sdk:135: 警告:忽略关于目标“configure-stm32mp15_defconfig-trusted”的旧配方
/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../Makefile.sdk:135: 警告:覆盖关于目标“configure-stm32mp13_defconfig-trusted”的配方
/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../Makefile.sdk:135: 警告:忽略关于目标“configure-stm32mp13_defconfig-trusted”的旧配方
/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../Makefile.sdk:138: 警告:覆盖关于目标“uboot-stm32mp15_defconfig-trusted”的配方
/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../Makefile.sdk:138: 警告:忽略关于目标“uboot-stm32mp15_defconfig-trusted”的旧配方
/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../Makefile.sdk:138: 警告:覆盖关于目标“uboot-stm32mp13_defconfig-trusted”的配方
/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../Makefile.sdk:138: 警告:忽略关于目标“uboot-stm32mp13_defconfig-trusted”的旧配方
/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../Makefile.sdk:142: 警告:覆盖关于目标“deploy-stm32mp15_defconfig-trusted”的配方
/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../Makefile.sdk:142: 警告:忽略关于目标“deploy-stm32mp15_defconfig-trusted”的旧配方
/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../Makefile.sdk:142: 警告:覆盖关于目标“deploy-stm32mp13_defconfig-trusted”的配方
/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../Makefile.sdk:142: 警告:忽略关于目标“deploy-stm32mp13_defconfig-trusted”的旧配方
Removing /home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../build/trusted ...
Removing /home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../build/trusted ...
Removing /home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../deploy ...

make -C /home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1 O=/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../build/stm32mp15_defconfig stm32mp15_defconfig
make[1]: 进入目录“/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1”
make[2]: 进入目录“/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/build/stm32mp15_defconfig”
  HOSTCC  scripts/basic/fixdep
  GEN     Makefile
  HOSTCC  scripts/kconfig/conf.o
  YACC    scripts/kconfig/zconf.tab.c
  LEX     scripts/kconfig/zconf.lex.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
make[2]: 离开目录“/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/build/stm32mp15_defconfig”
make[1]: 离开目录“/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1”
make[1]: 进入目录“/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1”
make[2]: 进入目录“/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/build/stm32mp15_defconfig”
  GEN     Makefile
scripts/kconfig/conf  --syncconfig Kconfig
  UPD     include/config.h
  CFG     u-boot.cfg
  GEN     include/autoconf.mk
  GEN     include/autoconf.mk.dep
  UPD     include/config/uboot.release
  Using /home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1 as source for U-Boot
  GEN     Makefile
  UPD     include/generated/version_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
  UPD     include/generated/dt.h
  CC      lib/asm-offsets.s
  UPD     include/generated/generic-asm-offsets.h
  CC      arch/arm/lib/asm-offsets.s
  UPD     include/generated/asm-offsets.h
  SHIPPED scripts/dtc/pylibfdt/libfdt.i
  PYMOD   rebuild
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/checks.o
  HOSTCC  scripts/dtc/util.o
  LEX     scripts/dtc/dtc-lexer.lex.c
  YACC    scripts/dtc/dtc-parser.tab.h
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  YACC    scripts/dtc/dtc-parser.tab.c
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTLD  scripts/dtc/dtc
  HOSTCC  tools/envcrc.o
  WRAP    tools/lib/crc32.c
  HOSTCC  tools/lib/crc32.o
  WRAP    tools/env/embedded.c
  HOSTCC  tools/env/embedded.o
  WRAP    tools/lib/sha1.c
  HOSTCC  tools/lib/sha1.o
  HOSTLD  tools/envcrc
  HOSTCC  tools/gen_eth_addr
  HOSTCC  tools/gen_ethaddr_crc.o
  WRAP    tools/lib/crc8.c
  HOSTCC  tools/lib/crc8.o
  HOSTLD  tools/gen_ethaddr_crc
  HOSTCC  tools/img2srec
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/os_support.o
  HOSTLD  tools/mkenvimage
  HOSTCC  tools/aisimage.o
  HOSTCC  tools/atmelimage.o
  HOSTCC  tools/fit_common.o
  HOSTCC  tools/fit_image.o
  HOSTCC  tools/image-host.o
  WRAP    tools/common/image-fit.c
  HOSTCC  tools/common/image-fit.o
  HOSTCC  tools/image-sig-host.o
  WRAP    tools/common/image-fit-sig.c
  HOSTCC  tools/common/image-fit-sig.o
  WRAP    tools/common/image-cipher.c
  HOSTCC  tools/common/image-cipher.o
  WRAP    tools/common/fdt_region.c
  HOSTCC  tools/common/fdt_region.o
  WRAP    tools/common/bootm.c
  HOSTCC  tools/common/bootm.o
  HOSTCC  tools/default_image.o
  WRAP    tools/lib/fdtdec_common.c
  HOSTCC  tools/lib/fdtdec_common.o
  WRAP    tools/lib/fdtdec.c
  HOSTCC  tools/lib/fdtdec.o
  WRAP    tools/common/image.c
  HOSTCC  tools/common/image.o
  HOSTCC  tools/imagetool.o
  HOSTCC  tools/imximage.o
  HOSTCC  tools/imx8image.o
  HOSTCC  tools/imx8mimage.o
  HOSTCC  tools/kwbimage.o
  WRAP    tools/lib/md5.c
  HOSTCC  tools/lib/md5.o
  HOSTCC  tools/lpc32xximage.o
  HOSTCC  tools/mxsimage.o
  HOSTCC  tools/omapimage.o
  HOSTCC  tools/pblimage.o
  HOSTCC  tools/pbl_crc32.o
  HOSTCC  tools/vybridimage.o
  HOSTCC  tools/stm32image.o
  WRAP    tools/lib/rc4.c
  HOSTCC  tools/lib/rc4.o
  HOSTCC  tools/rkcommon.o
  HOSTCC  tools/rkimage.o
  HOSTCC  tools/rksd.o
  HOSTCC  tools/rkspi.o
  HOSTCC  tools/socfpgaimage.o
  HOSTCC  tools/sunxi_egon.o
  WRAP    tools/lib/crc16.c
  HOSTCC  tools/lib/crc16.o
  WRAP    tools/lib/hash-checksum.c
  HOSTCC  tools/lib/hash-checksum.o
  WRAP    tools/lib/sha256.c
  HOSTCC  tools/lib/sha256.o
  WRAP    tools/lib/sha512.c
  HOSTCC  tools/lib/sha512.o
  WRAP    tools/common/hash.c
  HOSTCC  tools/common/hash.o
  HOSTCC  tools/ublimage.o
  HOSTCC  tools/zynqimage.o
  HOSTCC  tools/zynqmpimage.o
  HOSTCC  tools/zynqmpbif.o
  WRAP    tools/lib/fdt-libcrypto.c
  HOSTCC  tools/lib/fdt-libcrypto.o
  HOSTCC  tools/libfdt/fdt.o
  HOSTCC  tools/libfdt/fdt_ro.o
  HOSTCC  tools/libfdt/fdt_wip.o
  HOSTCC  tools/libfdt/fdt_sw.o
  HOSTCC  tools/libfdt/fdt_rw.o
  HOSTCC  tools/libfdt/fdt_strerror.o
  HOSTCC  tools/libfdt/fdt_empty_tree.o
  HOSTCC  tools/libfdt/fdt_addresses.o
  HOSTCC  tools/libfdt/fdt_overlay.o
  HOSTCC  tools/gpimage.o
  HOSTCC  tools/gpimage-common.o
  HOSTCC  tools/mtk_image.o
  WRAP    tools/lib/ecdsa/ecdsa-libcrypto.c
  HOSTCC  tools/lib/ecdsa/ecdsa-libcrypto.o
  WRAP    tools/lib/rsa/rsa-sign.c
  HOSTCC  tools/lib/rsa/rsa-sign.o
  WRAP    tools/lib/rsa/rsa-verify.c
  HOSTCC  tools/lib/rsa/rsa-verify.o
  WRAP    tools/lib/rsa/rsa-mod-exp.c
  HOSTCC  tools/lib/rsa/rsa-mod-exp.o
  WRAP    tools/lib/aes/aes-encrypt.c
  HOSTCC  tools/lib/aes/aes-encrypt.o
  WRAP    tools/lib/aes/aes-decrypt.c
  HOSTCC  tools/lib/aes/aes-decrypt.o
  HOSTCC  tools/dumpimage.o
  HOSTLD  tools/dumpimage
  HOSTCC  tools/mkimage.o
  HOSTLD  tools/mkimage
  HOSTCC  tools/fit_info.o
  HOSTLD  tools/fit_info
  HOSTCC  tools/fit_check_sign.o
  HOSTLD  tools/fit_check_sign
  HOSTCC  tools/proftool
  HOSTCC  tools/fdtgrep.o
  HOSTLD  tools/fdtgrep
  HOSTCC  tools/spl_size_limit
  AR      arch/arm/cpu/built-in.o
  CC      arch/arm/cpu/armv7/cache_v7.o
  AS      arch/arm/cpu/armv7/cache_v7_asm.o
  CC      arch/arm/cpu/armv7/cpu.o
  CC      arch/arm/cpu/armv7/cp15.o
  CC      arch/arm/cpu/armv7/syslib.o
  AS      arch/arm/cpu/armv7/sctlr.o
  AS      arch/arm/cpu/armv7/lowlevel_init.o
  AS      arch/arm/cpu/armv7/smccc-call.o
  CC      arch/arm/cpu/armv7/arch_timer.o
  AR      arch/arm/cpu/armv7/built-in.o
  AS      arch/arm/cpu/armv7/start.o
  AS      arch/arm/lib/vectors.o
  AS      arch/arm/lib/crt0.o
  AS      arch/arm/lib/setjmp.o
  AS      arch/arm/lib/relocate.o
  CC      arch/arm/lib/bootm-fdt.o
  CC      arch/arm/lib/bootm.o
  CC      arch/arm/lib/zimage.o
  AS      arch/arm/lib/memset.o
  AS      arch/arm/lib/memcpy.o
  CC      arch/arm/lib/bdinfo.o
  CC      arch/arm/lib/sections.o
  CC      arch/arm/lib/stack.o
  CC      arch/arm/lib/interrupts.o
  CC      arch/arm/lib/cache.o
  CC      arch/arm/lib/cache-cp15.o
  CC      arch/arm/lib/psci-dt.o
  AR      arch/arm/lib/built-in.o
  AS      arch/arm/lib/ashldi3.o
  AS      arch/arm/lib/ashrdi3.o
  CC      arch/arm/lib/div0.o
  AS      arch/arm/lib/div64.o
  AS      arch/arm/lib/lib1funcs.o
  AS      arch/arm/lib/lshrdi3.o
  AS      arch/arm/lib/muldi3.o
  AS      arch/arm/lib/uldivmod.o
  AR      arch/arm/lib/lib.a
  CC      arch/arm/lib/eabi_compat.o
  AS      arch/arm/lib/crt0_arm_efi.o
  CC      arch/arm/lib/reloc_arm_efi.o
  CC      arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.o
  CC      arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.o
  CC      arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.o
  CC      arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_usb.o
  AR      arch/arm/mach-stm32mp/cmd_stm32prog/built-in.o
  CC      arch/arm/mach-stm32mp/cpu.o
  CC      arch/arm/mach-stm32mp/dram_init.o
  CC      arch/arm/mach-stm32mp/syscon.o
  CC      arch/arm/mach-stm32mp/bsec.o
  CC      arch/arm/mach-stm32mp/stm32mp15x.o
  CC      arch/arm/mach-stm32mp/cmd_stm32key.o
  CC      arch/arm/mach-stm32mp/boot_params.o
  CC      arch/arm/mach-stm32mp/pwr_regulator.o
  CC      arch/arm/mach-stm32mp/fdt.o
  AR      arch/arm/mach-stm32mp/built-in.o
  CC      board/st/common/cmd_stboard.o
  CC      board/st/common/stpmic1.o
  CC      board/st/common/stm32mp_mtdparts.o
  CC      board/st/common/stm32mp_dfu.o
  AR      board/st/common/built-in.o
  CC      board/st/stm32mp1/stm32mp1.o
  AR      board/st/stm32mp1/built-in.o
  AR      cmd/arm/built-in.o
  CC      cmd/boot.o
  CC      cmd/bootm.o
  CC      cmd/help.o
  CC      cmd/panic.o
  CC      cmd/version.o
  CC      cmd/adc.o
  CC      cmd/blk_common.o
  CC      cmd/source.o
  CC      cmd/bdinfo.o
  CC      cmd/blkcache.o
  CC      cmd/bmp.o
  CC      cmd/bootefi.o
  CC      cmd/bootstage.o
  CC      cmd/bootz.o
  CC      cmd/cache.o
  CC      cmd/clk.o
  CC      cmd/cls.o
  CC      cmd/console.o
  CC      cmd/date.o
  CC      cmd/dm.o
  CC      cmd/adtimg.o
  CC      cmd/echo.o
  CC      cmd/efidebug.o
  CC      cmd/elf.o
  CC      cmd/exit.o
  CC      cmd/ext4.o
  CC      cmd/ext2.o
  CC      cmd/fat.o
  CC      cmd/fdt.o
  CC      cmd/flash.o
  CC      cmd/fs.o
  CC      cmd/fuse.o
  CC      cmd/gpio.o
  CC      cmd/i2c.o
  CC      cmd/itest.o
  CC      cmd/led.o
  CC      cmd/load.o
  CC      cmd/log.o
  CC      cmd/mem.o
  CC      cmd/mii.o
  CC      cmd/mdio.o
  CC      cmd/sleep.o
  CC      cmd/mmc.o
  CC      cmd/mtd.o
  CC      cmd/mtdparts.o
  CC      cmd/legacy-mtd-utils.o
  CC      cmd/nand.o
  CC      cmd/net.o
  CC      cmd/nvedit_efi.o
  CC      cmd/part.o
  CC      cmd/pinmux.o
  CC      cmd/pxe.o
  CC      cmd/pxe_utils.o
  CC      cmd/remoteproc.o
  CC      cmd/rng.o
  CC      cmd/sf.o
  CC      cmd/setexpr.o
  CC      cmd/spi.o
  CC      cmd/sysboot.o
  CC      cmd/time.o
  CC      cmd/timer.o
  CC      cmd/test.o
  CC      cmd/ubi.o
  CC      cmd/ubifs.o
  CC      cmd/unzip.o
  CC      cmd/usb.o
  CC      cmd/disk.o
  CC      cmd/fastboot.o
  CC      cmd/usb_mass_storage.o
  CC      cmd/ximg.o
  CC      cmd/dfu.o
  CC      cmd/gpt.o
  CC      cmd/pmic.o
  CC      cmd/regulator.o
  CC      cmd/nvedit.o
  AR      cmd/built-in.o
  CC      common/init/board_init.o
  AR      common/init/built-in.o
  CC      common/main.o
  CC      common/exports.o
  CC      common/cli_hush.o
  CC      common/autoboot.o
  CC      common/board_f.o
  CC      common/board_r.o
  CC      common/board_info.o
  CC      common/bootm.o
  CC      common/bootm_os.o
  CC      common/fdt_simplefb.o
  CC      common/fdt_support.o
  CC      common/miiphyutil.o
  CC      common/usb.o
  CC      common/usb_hub.o
  CC      common/usb_storage.o
  CC      common/iomux.o
  CC      common/splash.o
  CC      common/menu.o
  CC      common/cli_readline.o
  CC      common/cli_simple.o
  CC      common/bootstage.o
  CC      common/console.o
  CC      common/dlmalloc.o
  CC      common/malloc_simple.o
  CC      common/image.o
  CC      common/hash.o
  CC      common/image-android.o
  CC      common/image-android-dt.o
  CC      common/image-fdt.o
  CC      common/image-fit.o
  CC      common/memsize.o
  CC      common/stdio.o
  CC      common/cli.o
  CC      common/dfu.o
  CC      common/command.o
  CC      common/log.o
  CC      common/log_console.o
  CC      common/s_record.o
  CC      common/xyzModem.o
  AR      common/built-in.o
  CC      disk/part.o
  CC      disk/part_dos.o
  CC      disk/part_iso.o
  CC      disk/part_efi.o
  AR      disk/built-in.o
  CC      drivers/adc/adc-uclass.o
  CC      drivers/adc/stm32-adc.o
  CC      drivers/adc/stm32-adc-core.o
  AR      drivers/adc/built-in.o
  AR      drivers/ata/built-in.o
  AR      drivers/axi/built-in.o
  CC      drivers/block/blk-uclass.o
  CC      drivers/block/blkcache.o
  AR      drivers/block/built-in.o
  AR      drivers/bus/built-in.o
  AR      drivers/cache/built-in.o
  AR      drivers/clk/analogbits/built-in.o
  AR      drivers/clk/imx/built-in.o
  AR      drivers/clk/tegra/built-in.o
  AR      drivers/clk/ti/built-in.o
  CC      drivers/clk/clk-uclass.o
  CC      drivers/clk/clk_fixed_rate.o
  CC      drivers/clk/clk_fixed_factor.o
  CC      drivers/clk/clk_scmi.o
  CC      drivers/clk/clk_stm32mp1.o
  AR      drivers/clk/built-in.o
  CC      drivers/core/device.o
  CC      drivers/core/fdtaddr.o
  CC      drivers/core/lists.o
  CC      drivers/core/root.o
  CC      drivers/core/uclass.o
  CC      drivers/core/util.o
  CC      drivers/core/device-remove.o
  CC      drivers/core/simple-bus.o
  CC      drivers/core/dump.o
  CC      drivers/core/regmap.o
  CC      drivers/core/syscon-uclass.o
  CC      drivers/core/of_access.o
  CC      drivers/core/of_addr.o
  CC      drivers/core/read.o
  CC      drivers/core/of_extra.o
  CC      drivers/core/ofnode.o
  CC      drivers/core/read_extra.o
  AR      drivers/core/built-in.o
  CC      drivers/crypto/fsl/sec.o
  AR      drivers/crypto/fsl/built-in.o
  AR      drivers/crypto/rsa_mod_exp/built-in.o
  AR      drivers/crypto/built-in.o
  CC      drivers/dfu/dfu.o
  CC      drivers/dfu/dfu_mmc.o
  CC      drivers/dfu/dfu_mtd.o
  CC      drivers/dfu/dfu_ram.o
  CC      drivers/dfu/dfu_virt.o
  AR      drivers/dfu/built-in.o
  CC      drivers/fastboot/fb_common.o
  CC      drivers/fastboot/fb_getvar.o
  CC      drivers/fastboot/fb_command.o
  CC      drivers/fastboot/fb_mmc.o
  AR      drivers/fastboot/built-in.o
  CC      drivers/firmware/scmi/scmi_agent-uclass.o
  CC      drivers/firmware/scmi/smt.o
  CC      drivers/firmware/scmi/smccc_agent.o
  CC      drivers/firmware/scmi/optee_agent.o
  AR      drivers/firmware/scmi/built-in.o
  CC      drivers/firmware/firmware-uclass.o
  CC      drivers/firmware/psci.o
  AR      drivers/firmware/built-in.o
  CC      drivers/hwspinlock/hwspinlock-uclass.o
  CC      drivers/hwspinlock/stm32_hwspinlock.o
  AR      drivers/hwspinlock/built-in.o
  CC      drivers/i2c/i2c-uclass.o
  CC      drivers/i2c/stm32f7_i2c.o
  AR      drivers/i2c/built-in.o
  CC      drivers/input/key_matrix.o
  AR      drivers/input/built-in.o
  CC      drivers/led/led-uclass.o
  CC      drivers/led/led_gpio.o
  AR      drivers/led/built-in.o
  AR      drivers/mailbox/built-in.o
  CC      drivers/memory/stm32-fmc2-ebi.o
  AR      drivers/memory/built-in.o
  CC      drivers/misc/misc-uclass.o
  CC      drivers/misc/stm32mp_fuse.o
  CC      drivers/misc/stm32_rcc.o
  AR      drivers/misc/built-in.o
  CC      drivers/mmc/mmc.o
  CC      drivers/mmc/mmc-uclass.o
  CC      drivers/mmc/mmc_write.o
  CC      drivers/mmc/mmc_boot.o
  CC      drivers/mmc/stm32_sdmmc2.o
  AR      drivers/mmc/built-in.o
  CC      drivers/mtd/nand/raw/nand.o
  CC      drivers/mtd/nand/raw/nand_bbt.o
  CC      drivers/mtd/nand/raw/nand_ids.o
  CC      drivers/mtd/nand/raw/nand_util.o
  CC      drivers/mtd/nand/raw/nand_ecc.o
  CC      drivers/mtd/nand/raw/nand_base.o
  CC      drivers/mtd/nand/raw/nand_timings.o
  CC      drivers/mtd/nand/raw/stm32_fmc2_nand.o
  AR      drivers/mtd/nand/raw/built-in.o
  CC      drivers/mtd/nand/spi/core.o
  CC      drivers/mtd/nand/spi/gigadevice.o
  CC      drivers/mtd/nand/spi/macronix.o
  CC      drivers/mtd/nand/spi/micron.o
  CC      drivers/mtd/nand/spi/toshiba.o
  CC      drivers/mtd/nand/spi/winbond.o
  AR      drivers/mtd/nand/spi/spinand.o
  AR      drivers/mtd/nand/spi/built-in.o
  CC      drivers/mtd/nand/core.o
  CC      drivers/mtd/nand/bbt.o
  AR      drivers/mtd/nand/nandcore.o
  AR      drivers/mtd/nand/built-in.o
  AR      drivers/mtd/onenand/built-in.o
  CC      drivers/mtd/spi/sf-uclass.o
  CC      drivers/mtd/spi/sf_probe.o
  CC      drivers/mtd/spi/spi-nor-ids.o
  CC      drivers/mtd/spi/spi-nor-core.o
  AR      drivers/mtd/spi/spi-nor.o
  CC      drivers/mtd/spi/sf_mtd.o
  AR      drivers/mtd/spi/built-in.o
  CC      drivers/mtd/ubi/attach.o
  CC      drivers/mtd/ubi/build.o
  CC      drivers/mtd/ubi/vtbl.o
  CC      drivers/mtd/ubi/vmt.o
  CC      drivers/mtd/ubi/upd.o
  CC      drivers/mtd/ubi/kapi.o
  CC      drivers/mtd/ubi/eba.o
  CC      drivers/mtd/ubi/io.o
  CC      drivers/mtd/ubi/wl.o
  CC      drivers/mtd/ubi/crc32.o
  CC      drivers/mtd/ubi/misc.o
  CC      drivers/mtd/ubi/debug.o
  AR      drivers/mtd/ubi/built-in.o
  CC      drivers/mtd/mtdcore.o
  CC      drivers/mtd/mtd_uboot.o
  CC      drivers/mtd/mtd-uclass.o
  CC      drivers/mtd/mtdpart.o
  AR      drivers/mtd/mtd.o
  AR      drivers/mtd/built-in.o
  AR      drivers/phy/allwinner/built-in.o
  AR      drivers/phy/cadence/built-in.o
  AR      drivers/phy/marvell/built-in.o
  AR      drivers/phy/rockchip/built-in.o
  AR      drivers/phy/socionext/built-in.o
  AR      drivers/phy/ti/built-in.o
  CC      drivers/phy/phy-uclass.o
  CC      drivers/phy/phy-stm32-usbphyc.o
  AR      drivers/phy/built-in.o
  AR      drivers/pinctrl/broadcom/built-in.o
  AR      drivers/pinctrl/nxp/built-in.o
  CC      drivers/pinctrl/pinctrl-uclass.o
  CC      drivers/pinctrl/pinctrl-generic.o
  CC      drivers/pinctrl/pinctrl_stm32.o
  CC      drivers/pinctrl/pinctrl-stmfx.o
  AR      drivers/pinctrl/built-in.o
  AR      drivers/pwm/built-in.o
  CC      drivers/ram/stm32mp1/stm32mp1_ram.o
  CC      drivers/ram/stm32mp1/stm32mp1_ddr.o
  AR      drivers/ram/stm32mp1/built-in.o
  CC      drivers/ram/ram-uclass.o
  AR      drivers/ram/built-in.o
  CC      drivers/remoteproc/rproc-uclass.o
  CC      drivers/remoteproc/rproc-elf-loader.o
  CC      drivers/remoteproc/rproc-optee.o
  CC      drivers/remoteproc/stm32_copro.o
  AR      drivers/remoteproc/built-in.o
  CC      drivers/reset/reset-uclass.o
  CC      drivers/reset/stm32-reset.o
  CC      drivers/reset/reset-scmi.o
  AR      drivers/reset/built-in.o
  CC      drivers/rng/rng-uclass.o
  CC      drivers/rng/optee_rng.o
  CC      drivers/rng/stm32mp1_rng.o
  AR      drivers/rng/built-in.o
  CC      drivers/rtc/rtc-uclass.o
  CC      drivers/rtc/stm32_rtc.o
  AR      drivers/rtc/built-in.o
  AR      drivers/scsi/built-in.o
  AR      drivers/smem/built-in.o
  AR      drivers/soc/built-in.o
  AR      drivers/sound/built-in.o
  AR      drivers/spmi/built-in.o
  CC      drivers/sysreset/sysreset-uclass.o
  CC      drivers/sysreset/sysreset_psci.o
  AR      drivers/sysreset/built-in.o
  CC      drivers/tee/broadcom/chimp_optee.o
  AR      drivers/tee/broadcom/built-in.o
  CC      drivers/tee/optee/core.o
  CC      drivers/tee/optee/supplicant.o
  CC      drivers/tee/optee/i2c.o
  AR      drivers/tee/optee/built-in.o
  CC      drivers/tee/tee-uclass.o
  AR      drivers/tee/built-in.o
  AR      drivers/thermal/built-in.o
  AR      drivers/ufs/built-in.o
  CC      drivers/video/bridge/video-bridge-uclass.o
  AR      drivers/video/bridge/built-in.o
  CC      drivers/video/stm32/stm32_ltdc.o
  CC      drivers/video/stm32/stm32_dsi.o
  AR      drivers/video/stm32/built-in.o
  AR      drivers/video/sunxi/built-in.o
  AR      drivers/video/ti/built-in.o
  CC      drivers/video/backlight-uclass.o
  CC      drivers/video/backlight_gpio.o
  CC      drivers/video/console_normal.o
  CC      drivers/video/dsi-host-uclass.o
  CC      drivers/video/video-uclass.o
  CC      drivers/video/vidconsole-uclass.o
  CC      drivers/video/video_bmp.o
  CC      drivers/video/panel-uclass.o
  CC      drivers/video/simple_panel.o
  CC      drivers/video/dw_mipi_dsi.o
  CC      drivers/video/orisetech_otm8009a.o
  CC      drivers/video/raydium-rm68200.o
  CC      drivers/video/rocktech-hx8394.o
  CC      drivers/video/mipi_dsi.o
  AR      drivers/video/built-in.o
  CC      drivers/watchdog/wdt-uclass.o
  CC      drivers/watchdog/stm32mp_wdt.o
  AR      drivers/watchdog/built-in.o
  AR      drivers/built-in.o
  AR      drivers/dma/ti/built-in.o
  AR      drivers/dma/built-in.o
  CC      drivers/gpio/gpio-uclass.o
  CC      drivers/gpio/stm32_gpio.o
  AR      drivers/gpio/built-in.o
  AR      drivers/net/mscc_eswitch/built-in.o
  AR      drivers/net/qe/built-in.o
  AR      drivers/net/ti/built-in.o
  CC      drivers/net/eth-phy-uclass.o
  CC      drivers/net/dwc_eth_qos.o
  AR      drivers/net/built-in.o
  CC      drivers/net/phy/phy.o
  CC      drivers/net/phy/realtek.o
  AR      drivers/net/phy/built-in.o
  AR      drivers/power/built-in.o
  AR      drivers/power/battery/built-in.o
  AR      drivers/power/domain/built-in.o
  AR      drivers/power/fuel_gauge/built-in.o
  AR      drivers/power/mfd/built-in.o
  CC      drivers/power/pmic/pmic-uclass.o
  CC      drivers/power/pmic/stpmic1.o
  AR      drivers/power/pmic/built-in.o
  CC      drivers/power/regulator/regulator-uclass.o
  CC      drivers/power/regulator/regulator_common.o
  CC      drivers/power/regulator/fixed.o
  CC      drivers/power/regulator/gpio-regulator.o
  CC      drivers/power/regulator/stm32-vrefbuf.o
  CC      drivers/power/regulator/stpmic1.o
  AR      drivers/power/regulator/built-in.o
  CC      drivers/serial/serial-uclass.o
  CC      drivers/serial/serial_stm32.o
  AR      drivers/serial/built-in.o
  CC      drivers/spi/spi-uclass.o
  CC      drivers/spi/spi-mem.o
  CC      drivers/spi/stm32_qspi.o
  CC      drivers/spi/stm32_spi.o
  AR      drivers/spi/built-in.o
  AR      drivers/usb/cdns3/built-in.o
  CC      drivers/usb/common/common.o
  AR      drivers/usb/common/built-in.o
  AR      drivers/usb/dwc3/built-in.o
  AR      drivers/usb/emul/built-in.o
  AR      drivers/usb/eth/built-in.o
  CC      drivers/usb/gadget/epautoconf.o
  CC      drivers/usb/gadget/config.o
  CC      drivers/usb/gadget/usbstring.o
  CC      drivers/usb/gadget/dwc2_udc_otg.o
  CC      drivers/usb/gadget/g_dnl.o
  CC      drivers/usb/gadget/f_dfu.o
  CC      drivers/usb/gadget/f_mass_storage.o
  CC      drivers/usb/gadget/f_fastboot.o
  AR      drivers/usb/gadget/built-in.o
  CC      drivers/usb/gadget/udc/udc-core.o
  CC      drivers/usb/gadget/udc/udc-uclass.o
  AR      drivers/usb/gadget/udc/built-in.o
  CC      drivers/usb/host/usb-uclass.o
  CC      drivers/usb/host/ehci-hcd.o
  CC      drivers/usb/host/ehci-generic.o
  AR      drivers/usb/host/built-in.o
  AR      drivers/usb/mtu3/built-in.o
  AR      drivers/usb/musb-new/built-in.o
  AR      drivers/usb/musb/built-in.o
  AR      drivers/usb/phy/built-in.o
  CC      drivers/usb/typec/typec-uclass.o
  CC      drivers/usb/typec/typec-stusb160x.o
  AR      drivers/usb/typec/built-in.o
  AR      drivers/usb/ulpi/built-in.o
  CC      env/common.o
  CC      env/env.o
  CC      env/attr.o
  CC      env/flags.o
  CC      env/callback.o
  CC      env/ubi.o
  CC      env/nowhere.o
  CC      env/mmc.o
  CC      env/sf.o
  AR      env/built-in.o
  CC      fs/ext4/ext4fs.o
  CC      fs/ext4/ext4_common.o
  CC      fs/ext4/dev.o
  CC      fs/ext4/ext4_write.o
  CC      fs/ext4/ext4_journal.o
  CC      fs/ext4/crc16.o
  AR      fs/ext4/built-in.o
  CC      fs/fat/fat_write.o
  AR      fs/fat/built-in.o
  CC      fs/ubifs/ubifs.o
  CC      fs/ubifs/io.o
  CC      fs/ubifs/super.o
  CC      fs/ubifs/sb.o
  CC      fs/ubifs/master.o
  CC      fs/ubifs/lpt.o
  CC      fs/ubifs/lpt_commit.o
  CC      fs/ubifs/scan.o
  CC      fs/ubifs/lprops.o
  CC      fs/ubifs/tnc.o
  CC      fs/ubifs/tnc_misc.o
  CC      fs/ubifs/debug.o
  CC      fs/ubifs/crc16.o
  CC      fs/ubifs/budget.o
  CC      fs/ubifs/log.o
  CC      fs/ubifs/orphan.o
  CC      fs/ubifs/recovery.o
  CC      fs/ubifs/replay.o
  CC      fs/ubifs/gc.o
  AR      fs/ubifs/built-in.o
  CC      fs/fs.o
  CC      fs/fs_internal.o
  AR      fs/built-in.o
  AR      lib/crypto/built-in.o
  CC      lib/efi_driver/efi_uclass.o
  CC      lib/efi_driver/efi_block_device.o
  AR      lib/efi_driver/built-in.o
  CC      lib/efi_loader/efi_bootmgr.o
  CC      lib/efi_loader/efi_boottime.o
  CC      lib/efi_loader/efi_helper.o
  CC      lib/efi_loader/efi_console.o
  CC      lib/efi_loader/efi_device_path.o
  CC      lib/efi_loader/efi_device_path_to_text.o
  CC      lib/efi_loader/efi_device_path_utilities.o
  CC      lib/efi_loader/efi_dt_fixup.o
  CC      lib/efi_loader/efi_file.o
  CC      lib/efi_loader/efi_hii.o
  CC      lib/efi_loader/efi_image_loader.o
  CC      lib/efi_loader/efi_load_options.o
  CC      lib/efi_loader/efi_memory.o
  CC      lib/efi_loader/efi_root_node.o
  CC      lib/efi_loader/efi_runtime.o
  CC      lib/efi_loader/efi_setup.o
  CC      lib/efi_loader/efi_string.o
  CC      lib/efi_loader/efi_unicode_collation.o
  CC      lib/efi_loader/efi_var_common.o
  CC      lib/efi_loader/efi_var_mem.o
  CC      lib/efi_loader/efi_var_file.o
  CC      lib/efi_loader/efi_variable.o
  CC      lib/efi_loader/efi_watchdog.o
  CC      lib/efi_loader/efi_gop.o
  CC      lib/efi_loader/efi_disk.o
  CC      lib/efi_loader/efi_net.o
  CC      lib/efi_loader/efi_smbios.o
  CC      lib/efi_loader/efi_rng.o
  CC      lib/efi_loader/efi_load_initrd.o
  AR      lib/efi_loader/built-in.o
  CC      lib/efi_loader/helloworld.o
  AS      lib/efi_loader/efi_crt0.o
  CC      lib/efi_loader/efi_reloc.o
  CC      lib/efi_loader/efi_freestanding.o
  LD      lib/efi_loader/helloworld_efi.so
  OBJCOPY lib/efi_loader/helloworld.efi
  CC      lib/libfdt/fdt.o
  CC      lib/libfdt/fdt_ro.o
  CC      lib/libfdt/fdt_wip.o
  CC      lib/libfdt/fdt_strerror.o
  CC      lib/libfdt/fdt_sw.o
  CC      lib/libfdt/fdt_rw.o
  CC      lib/libfdt/fdt_empty_tree.o
  CC      lib/libfdt/fdt_addresses.o
  CC      lib/libfdt/fdt_overlay.o
  AR      lib/libfdt/built-in.o
  CC      lib/lzo/lzo1x_decompress.o
  AR      lib/lzo/built-in.o
  CC      lib/optee/optee.o
  AR      lib/optee/built-in.o
  CC      lib/zlib/zlib.o
  AR      lib/zlib/built-in.o
  CC      lib/of_live.o
  CC      lib/charset.o
  CC      lib/crc8.o
  CC      lib/crc16.o
  CC      lib/errno_str.o
  CC      lib/fdtdec_common.o
  CC      lib/smbios.o
  CC      lib/image-sparse.o
  CC      lib/ldiv.o
  CC      lib/net_utils.o
  CC      lib/rc4.o
  CC      lib/rbtree.o
  CC      lib/list_sort.o
  CC      lib/md5.o
  CC      lib/hash-checksum.o
  CC      lib/sha1.o
  CC      lib/sha256.o
  CC      lib/gunzip.o
  CC      lib/fdtdec.o
  CC      lib/qsort.o
  CC      lib/hashtable.o
  CC      lib/errno.o
  CC      lib/display_options.o
  CC      lib/crc32.o
  CC      lib/ctype.o
  CC      lib/div64.o
  CC      lib/hang.o
  CC      lib/linux_compat.o
  CC      lib/linux_string.o
  CC      lib/lmb.o
  CC      lib/membuff.o
  CC      lib/slre.o
  CC      lib/string.o
  CC      lib/tables_csum.o
  CC      lib/time.o
  CC      lib/hexdump.o
  CC      lib/getopt.o
  CC      lib/uuid.o
  CC      lib/rand.o
  CC      lib/panic.o
  CC      lib/vsprintf.o
  CC      lib/strto.o
  CC      lib/date.o
  CC      lib/rtc-lib.o
  CC      lib/elf.o
  AR      lib/built-in.o
  CC      net/arp.o
  CC      net/bootp.o
  CC      net/eth-uclass.o
  CC      net/eth_common.o
  CC      net/net.o
  CC      net/nfs.o
  CC      net/ping.o
  CC      net/tftp.o
  AR      net/built-in.o
  LDS     u-boot.lds
  LD      u-boot
  OBJCOPY u-boot.srec
  OBJCOPY u-boot-nodtb.bin
  DTC     arch/arm/dts/stm32mp157d-stm32.dtb
  DTC     arch/arm/dts/stm32mp157a-avenger96.dtb
  DTC     arch/arm/dts/stm32mp157a-dk1.dtb
  DTC     arch/arm/dts/stm32mp157a-ed1.dtb
  DTC     arch/arm/dts/stm32mp157a-ev1.dtb
  DTC     arch/arm/dts/stm32mp157a-icore-stm32mp1-ctouch2.dtb
  DTC     arch/arm/dts/stm32mp157a-icore-stm32mp1-edimm2.2.dtb
  DTC     arch/arm/dts/stm32mp157a-microgea-stm32mp1-microdev2.0.dtb
  DTC     arch/arm/dts/stm32mp157a-microgea-stm32mp1-microdev2.0-of7.dtb
  DTC     arch/arm/dts/stm32mp157c-dk2.dtb
  DTC     arch/arm/dts/stm32mp157c-ed1.dtb
  DTC     arch/arm/dts/stm32mp157c-ev1.dtb
  DTC     arch/arm/dts/stm32mp157c-odyssey.dtb
  DTC     arch/arm/dts/stm32mp15xx-dhcom-drc02.dtb
  DTC     arch/arm/dts/stm32mp157d-dk1.dtb
  DTC     arch/arm/dts/stm32mp157d-ed1.dtb
  DTC     arch/arm/dts/stm32mp157d-ev1.dtb
  DTC     arch/arm/dts/stm32mp157f-dk2.dtb
  DTC     arch/arm/dts/stm32mp157f-ed1.dtb
  DTC     arch/arm/dts/stm32mp157f-ev1.dtb
  DTC     arch/arm/dts/stm32mp15xx-dhcom-pdk2.dtb
  DTC     arch/arm/dts/stm32mp15xx-dhcom-picoitx.dtb
  DTC     arch/arm/dts/stm32mp15xx-dhcor-avenger96.dtb
  SHIPPED dts/dt.dtb
  CAT     u-boot-dtb.bin
  COPY    u-boot.bin
  SYM     u-boot.sym
  COPY    u-boot.dtb
  CFGCHK  u-boot.cfg
  BINMAN  all
make[2]: 离开目录“/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/build/stm32mp15_defconfig”
make[1]: 离开目录“/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1”
FIP_DEPLOYDIR_UBOOT=/home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../deploy FIP_DEVICETREE="stm32mp157d-stm32" fiptool-stm32mp

fiptool-stm32mp config:
  optee:
    bl32 config value: optee
    devicetree config: stm32mp157d-stm32

  FIP_DEPLOYDIR_FIP   : /home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../../FIP_artifacts/fip
  FIP_DEPLOYDIR_TFA   : /home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../../FIP_artifacts/arm-trusted-firmware/bl32
  FIP_DEPLOYDIR_FWCONF: /home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../../FIP_artifacts/arm-trusted-firmware/fwconfig
  FIP_DEPLOYDIR_OPTEE : /home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../../FIP_artifacts/optee
  FIP_DEPLOYDIR_UBOOT : /home/pp/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0/u-boot-stm32mp-v2021.10-stm32mp1-r1/../deploy

[fiptool] Create fip-stm32mp157d-stm32-optee.bin fip binary into 'FIP_DEPLOYDIR_FIP' folder...
[fiptool] Done
pp@ubuntu-sp:~/stm32/source/arm-ostl-linux-gnueabi/u-boot-stm32mp-v2021.10-stm32mp1-r1-r0$

编译optee生成文件:
屏幕截图 2022-10-26 100726.png
然后编译tfa生成文件:
屏幕截图 2022-10-26 101111.png
最后uboot生成文件:
屏幕截图 2022-10-26 101532.png

整个流程并没有少些关键的步骤

分区文件:
#Opt        Id        Name        Type        IP        Offset        Binary
-        0x01        fsbl-boot        Binary        none        0x0        arm-trusted-firmware/tf-a-stm32mp157d-stm32-usb.stm32
-        0x03        fip-boot        FIP        none        0x0        fip/fip-stm32mp157d-stm32-optee.bin
P        0x04        fsbl1        Binary        mmc1        boot1        arm-trusted-firmware/tf-a-stm32mp157d-stm32-emmc.stm32
P        0x05        fsbl2        Binary        mmc1        boot2        arm-trusted-firmware/tf-a-stm32mp157d-stm32-emmc.stm32
P        0x06        metadata1        Binary        mmc1        0x00080000        arm-trusted-firmware/metadata.bin
P        0x07        metadata2        Binary        mmc1        0x00100000        arm-trusted-firmware/metadata.bin
P        0x08        fip-a        FIP        mmc1        0x00180000        fip/fip-stm32mp157d-stm32-optee.bin
PED        0x09        fip-b        FIP        mmc1        0x00580000        none
PED        0x0A        u-boot-env        Binary        mmc1        0x00980000        none
P        0x10        bootfs        System        mmc1        0x00A00000        boot/bootfs.ext4
P        0x11        rootfs        FileSystem        mmc1        0x04A00000        rootfs.ext4

除去内核,文件系统,都有生成




回复 支持 反对

使用道具 举报

0

主题

1

帖子

0

精华

初级会员

Rank: 2

积分
58
金钱
58
注册时间
2020-5-10
在线时间
17 小时
发表于 2022-11-16 22:38:30 | 显示全部楼层
mkankj 发表于 2022-10-7 13:00
我查询到了,由于pll0是专门给cortexA7提供时钟的,所以比较关键,在tfa里,这部分是自动生成的,根据电 ...

你好,想问下你在后续的设置中把主频问题修复了吗,我最近也遇到了这个问题,想问一下怎么修改。
回复 支持 反对

使用道具 举报

3

主题

36

帖子

0

精华

初级会员

Rank: 2

积分
150
金钱
150
注册时间
2020-6-11
在线时间
55 小时
 楼主| 发表于 2022-11-18 16:13:08 | 显示全部楼层
Xuanx 发表于 2022-11-16 22:38
你好,想问下你在后续的设置中把主频问题修复了吗,我最近也遇到了这个问题,想问一下怎么修改。

没去搞那个了
回复 支持 反对

使用道具 举报

0

主题

4

帖子

0

精华

新手入门

积分
16
金钱
16
注册时间
2023-8-10
在线时间
4 小时
发表于 2023-8-10 22:54:35 | 显示全部楼层
麻烦请教一下,编译optee-os的时候,有遇到如下错误吗?
Traceback (most recent call last):
  File "scripts/pem_to_pub_c.py", line 71, in <module>
    main()
  File "scripts/pem_to_pub_c.py", line 24, in main
    from cryptography.hazmat.backends import default_backend
ModuleNotFoundError: No module named 'cryptography'
我发现,我的ubuntu环境,有安装cryptography
bin$ pip install cryptography
Requirement already satisfied: cryptography in /usr/lib/python3/dist-packages (2.8)
回复 支持 反对

使用道具 举报

0

主题

4

帖子

0

精华

新手入门

积分
16
金钱
16
注册时间
2023-8-10
在线时间
4 小时
发表于 2023-8-11 22:26:47 | 显示全部楼层
问题已经解决,交叉编译工具链,版本不匹配。
回复 支持 反对

使用道具 举报

0

主题

4

帖子

0

精华

新手入门

积分
16
金钱
16
注册时间
2023-8-10
在线时间
4 小时
发表于 2023-8-16 21:23:49 | 显示全部楼层
楼主,能把调试后的源码上传一下么?我这边,不能正常烧录镜像了。烧录的时候,发现可以启动optee-os
回复 支持 反对

使用道具 举报

3

主题

36

帖子

0

精华

初级会员

Rank: 2

积分
150
金钱
150
注册时间
2020-6-11
在线时间
55 小时
 楼主| 发表于 2023-8-21 20:54:04 | 显示全部楼层
龚梓施 发表于 2023-8-16 21:23
楼主,能把调试后的源码上传一下么?我这边,不能正常烧录镜像了。烧录的时候,发现可以启动optee-os

https://gitee.com/qq1203385078/stm32mp157_source.git

放这里了,等我传完
回复 支持 反对

使用道具 举报

0

主题

4

帖子

0

精华

新手入门

积分
16
金钱
16
注册时间
2023-8-10
在线时间
4 小时
发表于 2023-8-26 08:53:04 | 显示全部楼层
感谢。
回复 支持 反对

使用道具 举报

6

主题

12

帖子

0

精华

新手上路

积分
42
金钱
42
注册时间
2020-6-7
在线时间
14 小时
发表于 2023-12-15 18:02:20 | 显示全部楼层
linux内核用6.1的版本, TF-A 跟 UBOOT用老的   能不能用啊?
回复 支持 反对

使用道具 举报

3

主题

36

帖子

0

精华

初级会员

Rank: 2

积分
150
金钱
150
注册时间
2020-6-11
在线时间
55 小时
 楼主| 发表于 2024-3-27 11:36:12 | 显示全部楼层
liming1989 发表于 2023-12-15 18:02
linux内核用6.1的版本, TF-A 跟 UBOOT用老的   能不能用啊?

这个没试过,可以试试看看,最好用配套的一起,除了设备树有差别的,其他地方也会有
回复 支持 反对

使用道具 举报

0

主题

2

帖子

0

精华

新手上路

积分
31
金钱
31
注册时间
2019-8-7
在线时间
9 小时
发表于 2024-8-26 22:48:36 | 显示全部楼层
en.FLASH-stm32mp1-openstlinux-5.15在哪下载啊,我再wiki里没有找到
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-11-22 05:43

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表