This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM62A7:SoC 系统启动时间超过20秒。

Guru**** 2331430 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1510026/am62a7-soc-system-startup-time-is-more-than-20s

器件型号:AM62A7

工具/软件:

这是 EVM 板中的启动时间。
1.U-boot  5s (使用  串行 NAND 引导模式 )、带 SOC 型 hs-FS
2. Linux 内核  13s.  

3.用户空间: 5s.

4、应用程序: 3s.

总计:26秒

您能和我分享一下如何缩短系统启动时间吗?

客户接受系统应在3秒内从通电状态显示视频。   

我已尝试通过此操作缩短启动时间":
1. 将软件刷写到 NAND 闪存(包括 tispl.bin. u-boot.img uboot3.bin )中 、并将自动引导延迟时间删除为0。 是否可以在 u-boot 中实施任何其他操作来缩短启动时间
 2. linux 内核:有没有我可以用内核做的任何例子。  处理。 我使用.config 文件进行检查并删除相同的设置。 但不是太多的时间节省这种酸. 配置文件是否有任何示例? 或者在内核中删除哪种 dts。

3、使用空格。 我不知道如何减少使用空间的时间。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Meng:

    您可以在使用 SBL 引导流程时实现快速引导。  

    请按照以下链接中提供的说明实现快速启动。

    https://software-dl.ti.com/processor-sdk-linux/esd/AM62AX/10_01_00/exports/docs/linux/How_to_Guides/Target/How_to_boot_quickly.html

    此外、您可以使用以下线程作为参考、以实现在 SPL (程序加载程序)引导流程中启用的 Falcon 模式。 这适用于 AM62x SoC、但您应该能够对 AM62A 进行类似的更改。  

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1506904/am625sip-falcon-boot-on-sdk-10

    希望这有所帮助。

    此致、

    Suren

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好 Suren Porwar:

    我正在使用名为"ti-processor-sdk-linux-edgeai-am62a-evm-10_00_00_08-linux-x86-Install.bin"的 SDK、


    我 PC 中的 SDK 未使用"k3-am62x-sk-common.dtsi"、tispl.it和您在链接中提到的其他文件。

    我查看了指南。 Falcon 模式将使用 MCU 应用程序。 但此 SDK 没有使用 MCU。

    6.1.11.2.1中的文件。 次级引导加载程序(SBL)在此 SDK 中提及所有内容均未退出。

    您能帮助检查一下吗? 非常感谢

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Meng:

    如果您不使用 MCU 或 SBL、请仅参阅提供的第二个 Suren 链接。

    k3-am62x-sk-common.dtsi 适用于器件 AM62x、这是参考链接中使用的内容。 由于您使用 AM62Ax 器件、因此请对文件 k3-am62a7-sk.dts 进行类似的修改。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Bin:

    我正在查看修补程序表单 https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1423375/am625-how-to-setup-u-boot-falcon-boot-by-sdk-09_00_00_03 

    但是发现删除的行和修改的行已经删除或修改了 am62a 10.1

    diff --git a/common/spl/Kconfig b/common/spl/Kconfig
    index c2cc646f..3dcdfb9c 100644
    --- a/common/spl/Kconfig
    +++ b/common/spl/Kconfig
    @@ -693,7 +693,7 @@ config SPL_FS_FAT
     config SPL_FS_LOAD_PAYLOAD_NAME
     	string "File to load for U-Boot from the filesystem"
     	depends on SPL_FS_EXT4 || SPL_FS_FAT || SPL_FS_SQUASHFS || SPL_SEMIHOSTING
    -	default "tispl-falcon.bin" if SYS_K3_SPL_ATF
    +	default "tispl.bin" if SYS_K3_SPL_ATF
     	default "u-boot.itb" if SPL_LOAD_FIT
     	default "u-boot.img"
     	help
    diff --git a/configs/am62x_evm_r5_defconfig b/configs/am62x_evm_r5_defconfig
    index 94579d22..93076bc3 100644
    --- a/configs/am62x_evm_r5_defconfig
    +++ b/configs/am62x_evm_r5_defconfig
    @@ -1,7 +1,6 @@
     CONFIG_ARM=y
     CONFIG_ARCH_K3=y
     CONFIG_TI_SECURE_DEVICE=y
    -CONFIG_SYS_TEXT_BASE=0x83000000
     CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x200000
     CONFIG_SYS_MALLOC_F_LEN=0x9000
     CONFIG_SPL_LIBCOMMON_SUPPORT=y
    @@ -24,7 +23,7 @@ CONFIG_DM_RESET=y
     CONFIG_SPL_MMC=y
     CONFIG_SPL_SERIAL=y
     CONFIG_SPL_DRIVERS_MISC=y
    -CONFIG_SPL_STACK_R_ADDR=0x89000000
    +CONFIG_SPL_STACK_R_ADDR=0x82000000
     CONFIG_SPL_SYS_MALLOC_F_LEN=0x7000
     CONFIG_SPL_SIZE_LIMIT=0x3A7F0
     CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK=0x3500
    @@ -33,7 +32,7 @@ CONFIG_SPL_LIBDISK_SUPPORT=y
     CONFIG_SPL_SPI_FLASH_SUPPORT=y
     CONFIG_SPL_SPI=y
     CONFIG_SPL_LOAD_FIT=y
    -CONFIG_SPL_LOAD_FIT_ADDRESS=0x84000000
    +CONFIG_SPL_LOAD_FIT_ADDRESS=0x80080000
     CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
     # CONFIG_DISPLAY_CPUINFO is not set
     CONFIG_SPL_SIZE_LIMIT_SUBTRACT_GD=y
    diff --git a/include/configs/am62x_evm.h b/include/configs/am62x_evm.h
    index 5a51bf42..ff369e90 100644
    --- a/include/configs/am62x_evm.h
    +++ b/include/configs/am62x_evm.h
    @@ -38,8 +38,4 @@
     #define CFG_SYS_NAND_ECCBYTES        14
     /*-- end NAND config --*/
     
    -#ifdef CONFIG_SYS_K3_SPL_ATF
    -#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "tispl-falcon.bin"
    -#endif
    -
     #endif /* __CONFIG_AM625_EVM_H */
    diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h
    index db209cab..dbbeff34 100644
    --- a/include/configs/ti_armv7_common.h
    +++ b/include/configs/ti_armv7_common.h
    @@ -31,21 +31,6 @@
      * blob before loading the ramdisk, as DTBO location is only used as a temporary
      * storage, and can be re-used after 'fdt apply' command is done.
      */
    -#if defined(CONFIG_CPU_V7R) && defined(CONFIG_SOC_K3_AM625)
    -#define DEFAULT_LINUX_BOOT_ENV \
    -        "loadaddr=0x84000000\0" \
    -        "kernel_addr_r=0x84000000\0" \
    -        "fdtaddr=0x88000000\0" \
    -        "dtboaddr=0x89000000\0" \
    -        "fdt_addr_r=0x88000000\0" \
    -        "fdtoverlay_addr_r=0x89000000\0" \
    -        "rdaddr=0x88080000\0" \
    -        "ramdisk_addr_r=0x88080000\0" \
    -        "scriptaddr=0x80000000\0" \
    -        "pxefile_addr_r=0x80100000\0" \
    -        "bootm_size=0x10000000\0" \
    -        "boot_fdt=try\0"
    -#else
     #define DEFAULT_LINUX_BOOT_ENV \
     	"loadaddr=0x82000000\0" \
     	"kernel_addr_r=0x82000000\0" \
    @@ -59,7 +44,6 @@
     	"pxefile_addr_r=0x80100000\0" \
     	"bootm_size=0x10000000\0" \
     	"boot_fdt=try\0"
    -#endif
     
     #define DEFAULT_FIT_TI_ARGS \
     	"boot_fit=0\0" \

    和 am62a 10.1 uboot 没有文件"scripts/tispl-linux-falcon.sh"、如补丁中所示:

    diff --git a/scripts/tispl-linux-falcon.sh b/scripts/tispl-linux-falcon.sh
    deleted file mode 100755
    index af2ede93..00000000
    --- a/scripts/tispl-linux-falcon.sh
    +++ /dev/null
    @@ -1,103 +0,0 @@
    -#!/bin/sh
    -# SPDX-License-Identifier: GPL-2.0+
    -#
    -# script to generate FIT image source for K3 Family boards with ATF, OPTEE,
    -# Device Manager, Linux Kernel, and device tree (given on the command line)
    -# to support a direct R5 SPL -> Linux Kernel boot flow.
    -#
    -# Inspired from toolsk3_fit_atf.sh
    -#
    -# Copyright (C) 2023 Texas Instruments Incorporated - http://www.ti.com/
    -#	Andreas Dannenberg <dannenberg@ti.com>
    -#
    -# usage: $0 <kernel_name> <dt_name>
    -
    -[ -z "$ATF" ] && ATF="bl31.bin"
    -
    -if [ ! -f $ATF ]; then
    -	echo "WARNING ATF file $ATF NOT found, resulting binary is non-functional" >&2
    -	ATF=/dev/null
    -fi
    -
    -[ -z "$TEE" ] && TEE="bl32.bin"
    -
    -if [ ! -f $TEE ]; then
    -	echo "WARNING OPTEE file $TEE NOT found, resulting might be non-functional" >&2
    -	TEE=/dev/null
    -fi
    -
    -[ -z "$DM" ] && DM="dm.bin"
    -
    -if [ ! -e $DM ]; then
    -	echo "WARNING DM file $DM NOT found, resulting might be non-functional" >&2
    -	DM=/dev/null
    -fi
    -
    -cat << __ITS_EOF
    -/dts-v1/;
    -
    -/ {
    -	description = "Configuration to load ATF and SPL";
    -	#address-cells = <1>;
    -
    -	images {
    -		atf {
    -			description = "ARM Trusted Firmware";
    -			data = /incbin/("$ATF");
    -			type = "firmware";
    -			arch = "arm64";
    -			compression = "none";
    -			os = "arm-trusted-firmware";
    -			load = <0x9e780000>;		/* This load/entry address pair is for use with AM62Ax */
    -			entry = <0x9e780000>;
    -		};
    -		tee {
    -			description = "OPTEE";
    -			data = /incbin/("$TEE");
    -			type = "tee";
    -			arch = "arm64";
    -			compression = "none";
    -			os = "tee";
    -			load = <0x9e800000>;		/* Needs to match BL32_BASE in ATF */
    -			entry = <0x9e800000>;
    -		};
    -		dm {
    -			description = "DM binary";
    -			data = /incbin/("$DM");
    -			type = "firmware";
    -			arch = "arm32";
    -			compression = "none";
    -			os = "DM";
    -			load = <0x89000000>;
    -			entry = <0x89000000>;
    -		};
    -		kernel {
    -			description = "Linux Kernel (64-bit)";
    -			data = /incbin/("$1");
    -			type = "standalone";
    -			os = "linux";
    -			arch = "arm64";
    -			compression = "none";
    -			load = <0x80080000>;		/* Needs to match PRELOADED_BL33_BASE in ATF */
    -			entry = <0x80080000>;
    -		};
    -		fdt {
    -			description = "$(basename $2 .dtb)";
    -			data = /incbin/("$2");
    -			type = "flat_dt";
    -			arch = "arm";
    -			compression = "none";
    -			load = <0x82000000>;		/* Needs to match K3_HW_CONFIG_BASE in ATF */
    -		};
    -	};
    -	configurations {
    -		default = "$(basename $2 .dtb)";
    -
    -		$(basename $2 .dtb) {
    -			description = "$(basename $2 .dtb)";
    -			firmware = "atf";
    -			loadables = "tee", "dm", "kernel", "fdt";
    -		};
    -	};
    -};
    -__ITS_EOF
    \ No newline at end of file
    

    从9.x 到10.x 似乎有很多修改 您能否提供在 am62a SDK 10.01上启用 falcon 模型的最新补丁和步骤?  

    此致、

    Adam

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Bin:

    此外、我 现在无法在 ti-processor-sdk-linux-edgeai-am62a-evm-10_01_00_05/board-support/ti-linux-kernel-6.6.58+git-ti/arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi 中找到"bootargs"。  

    此致、

    Adam

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Adam:

    您需要在 u-boot 中复制脚本/tispl-linux-falcon.sh 的内容。 尽管修补程序是反向的、但您需要在安装程序中创建此文件并尝试。

    此致、

    Suren

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Adam:

    主要还有两件事要做以进一步优化启动时间。

    1.禁用控制台的内核日志。

       [ 2025年05月19日19:47:00][   0.000000]内核命令行:console=ttyS2115200n8 earlycon=ns16550a、mmio32、0x02800000 root=/dev/mmt

    请删除 earlycon= 从内核命令行、然后添加" LogLevel=0 "。

    2.优化 rootfs 中的 systemd。

    日志显示 rootfs systemd 在引导时需要大约4秒。 可以优化此 rootfs 以减少启动时间。 客户应分析 systemd 中不需要的内容、并将其从 rootfs 中删除。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    此外、您会看到 身份验证大约需要1.5秒。 我可以使用该器件做什么?

    [2025-05-20 16:43:19.677] Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This wills
    [2025-05-20 16:43:20.685] Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This wills
    [2025-05-20 16:43:21.053] Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This wills
    [2025-05-20 16:43:21.085] Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This wills
    [2025-05-20 16:43:21.101] Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This wills
    

    此致、

    Adam

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Adam、

    soc

    没有此类文件。

    如何删除 Tiny FS 中的启动脚本?

    [/报价]

    这些 rc*.d/*文件应在 SDK 中的超小型 rootfs 中。

    soc 另外、您还可以看到 身份验证大约需要1.5秒。 我可以使用此器件做什么?

    我相信 Suren 已经为几位客户提供了有关 FS 设备上的 falcon 引导的支持、但他本周正在出差、我们会在他回来后就此发表评论。

    i 还尝试了 systemctl stop 来禁用所有服务。 但仍有已禁用服务的日志。

    日志显示许多服务未被禁用。

    那么 我尝试了 initramfs 并且没有缩短启动时间。

    您是否在超小型 rootfs 中优化了 systemd 服务?

    您可以继续禁用这些不必要的服务、或者如果客户项目可以使用这些服务、则可以移动到 sysvinit 引导脚本。

    SDK8.6中提供的超小型 rootfs 使用 sysvinit 而不是 systemd。

    [/quote]
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你(们)好

    Gong Ping 说:
    ] soc 日志显示许多服务未被禁用。

    请检查以下日志:

    [2025-05-20 17:30:37.814] am62axx-evm login: root
    [2025-05-20 17:30:47.878] root@am62axx-evm:~# systemctl  --type=service --state=enabled
    [2025-05-20 17:31:08.164]   UNIT LOAD ACTIVE SUB DESCRIPTION
    [2025-05-20 17:31:08.180] 
    [2025-05-20 17:31:08.180] 0 loaded units listed.
    root@am62axx-evm:~# systemctl   --state=enabled
    [2025-05-20 17:31:25.939]   UNIT LOAD ACTIVE SUB DESCRIPTION
    [2025-05-20 17:31:25.955] 
    [2025-05-20 17:31:25.955] 0 loaded units listed.
    [2025-05-20 17:31:25.955] root@am62axx-evm:~# 

    我不知道为什么这些服务仍然存在。

    Gong Ping 说:
    这些 rc*.d/*文件应位于 soc 的超小型 rootfs 中。

    请检查以下内容。 文件夹"output"来自 untar Tiny 文件系统

    ht@ht-OMEN:~/ti-processor-sdk-linux-edgeai-am62a-evm-10_01_00_05/filesystem/output/etc$ ls
    bash_completion.d     depmod.d     host.conf    ld.so.conf      nsswitch.conf  resolv.conf          shells    timestamp
    busybox.links.nosuid  environment  hostname     login.defs      os-release     resolv-conf.systemd  skel      tmpfiles.d
    busybox.links.suid    ethertypes   hosts        machine-id      pam.d          rpc                  ssl       udev
    credstore             fstab        inetd.conf   modprobe.d      passwd         securetty            subgid    udhcpc.d
    credstore.encrypted   group        issue        modules-load.d  profile        security             subuid    version
    dbus-1                grub.d       issue.net    motd            profile.d      services             sysctl.d  xattr.conf
    default               gshadow      ld.so.cache  mtab            protocols      shadow               systemd   xdg
    ht@ht-OMEN:~/ti-processor-sdk-linux-edgeai-am62a-evm-10_01_00_05/filesystem/output/etc$ find -name "*rc*"
    ./skel/.bashrc
    

    此致、

    Adam

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    嗨、Bin

    我们对 systemd 服务的了解有限,在如何禁用某些服务以及可以禁用哪些服务方面,我们需要您的帮助。 时间紧迫。

    此致、

    Adam

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Adam、

    为了优化内核映像大小、必须检查 kernel .config 文件以查看启用了哪些选项但不需要这些选项、然后将其禁用。

    我没有关于优化 systemd 服务的说明,你必须研究 systemd 是如何工作的,并禁用未使用的服务。 几年前我在 Linux 快速引导上工作时只使用了 sysvinit、但我没有在 rootfs 中使用 systemd。

    您可能还希望应用下面附加的 U-Boot 补丁、以跳过映像加载过程中的 memcpy ()。 它也应该节省一些时间。

    e2e.ti.com/.../6557.0001_2D00_spl_5F00_fit_2D00_skip_2D00_memcpy_2D00_to_2D00_save_2D00_loading_2D00_time.patch

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Bin:

    由于我使用的是 falcon 引导模式、因此会跳过 uboot。  

    在启动过程中、我注意到在映像大小为15MB 的 TISPL 中、加载映像的速度对于内核映像来说太慢。  

    [2025-05-21 18:01:24.680] board_fit_image_post_process: matched image for ID 3
    [2025-05-21 18:01:25.448] board_fit_image_post_process: processing image: addr=80080000, size=15813120, os=linux

    启用更多日志后、我发现 MMC 配置为 HS 模式、速度太慢

    [2025-05-23 13:08:00.717] sd card: widths [4, 1] modes [0, 2] 
    [2025-05-23 13:08:00.717] host: widths [4, 1] modes [0, 2, 3, 5, 6, 7, 8, 9] 
    [2025-05-23 13:08:00.733] selecting mode 2 (freq : 50 MHz)
    [2025-05-23 13:08:00.733] clock is enabled (50000000Hz)
    

    然后、为添加 UHS 或 HS200支持、我在 configs/am62ax_evm_r5_defconfig 中添加两行

    CONFIG_MMC_IO_VOLTAGE=y
    CONFIG_MMC_UHS_support=y
     
    但引导失败、原因是:
    2025年05月23日13:18:18.021] U-Boot SPL 2024.04-ti-00002-g085d7dff-dirty (2025年5月23日- 13:17:33 +0800)
    [SYSFW 2025年05月23日 ABI:4.0 (固件版本0x000a '10.1.8--v10.01.08 (Fiery Fox)')
    [ctrl 13:18:18.053]读取2025年05月23日 数据-1时出错
    [PI 13:18:18.053]读取2025年05月23日 数据时出错
    [PHY 13:18:18.069]读取2025年05月23日 数据-1时出错
    [DRAM_CLASS 2025年05月23日13:18:18.069]无法识别的 DRAM_CLASS 无法初始化频率!
    [DDR 13:18:18.069] k3_ddrss 存储器-控制器@f300000:2025年05月23日 clk 初始化失败:-22
    [DRAM 13:18:18.069] 2025年05月23日 初始化失败:-22
    在 tiboot3引导周期中、是否有任何将 MMC 设置为 HS200的示例?
     
    此致、
    Adam
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    你(们)好

    更新快速启动的当前状态:

    [2025-05-23 15:22:21.199] U-Boot SPL 2024.04-ti-00002-g085d7dff-dirty (May 23 2025 - 14:53:25 +0800)
    [2025-05-23 15:22:21.215] SYSFW ABI: 4.0 (firmware rev 0x000a '10.1.8--v10.01.08 (Fiery Fox)')
    [2025-05-23 15:22:21.279] SPL initial stack usage: 13568 bytes
    [2025-05-23 15:22:21.279] Trying to boot from MMC2
    [2025-05-23 15:22:21.407] image_size 585200 
    [2025-05-23 15:22:21.407] Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will
     fail on Security Enforcing(HS-SE) devices
    [2025-05-23 15:22:22.127] image_size 15008256 
    [2025-05-23 15:22:22.127] Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will
     fail on Security Enforcing(HS-SE) devices
    [2025-05-23 15:22:22.398] image_size 61316 
    [2025-05-23 15:22:22.398] Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will
     fail on Security Enforcing(HS-SE) devices
    [2025-05-23 15:22:22.446] image_size 52944 
    [2025-05-23 15:22:22.447] Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will
     fail on Security Enforcing(HS-SE) devices
    [2025-05-23 15:22:22.462] image_size 478600 
    [2025-05-23 15:22:22.463] Warning: Did not detect image signing certificate. Skipping authentication to prevent boot failure. This will
     fail on Security Enforcing(HS-SE) devices
    [2025-05-23 15:22:22.478] Starting ATF on ARM64 core...
    [2025-05-23 15:22:22.478] 
    [2025-05-23 15:22:22.494] NOTICE:  BL31: v2.11.0(release):v2.11.0-906-g58b25570c9-dirty
    [2025-05-23 15:22:22.494] NOTICE:  BL31: Built : 04:20:32, Nov  1 2024
    [2025-05-23 15:22:22.510] [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
    [2025-05-23 15:22:22.527] [    0.000000] Linux version 6.6.58-ti-g54ea007dfe79-dirty (ht@ht-OMEN) (aarch64-oe-linux-gcc (GCC) 13.3.0, G
    NU ld (GNU Binutils) 2.42.0.20240723) #13 SMP PREEMPT Thu May 22 17:55:16 CST 2025
    [2025-05-23 15:22:22.542] [    0.000000] KASLR disabled due to lack of seed
    [2025-05-23 15:22:22.542] [    0.000000] Machine model: Texas Instruments AM62A7 SK
    [2025-05-23 15:22:22.558] [    0.000000] earlycon: ns16550a0 at MMIO32 0x0000000002800000 (options '')
    [2025-05-23 15:22:22.558] [    0.000000] printk: bootconsole [ns16550a0] enabled
    [2025-05-23 15:22:23.263] Hello world!!!!!!
    

    引导至自定义脚本(Hello world!!!) 需要2.1秒  

    使用 Falcon 引导模式、将 Linux 映像大小缩减至14.31Mb

    主要消耗是在 tiboot3加载内核映像(700ms)和内核引导(700ms)中。

    此致、

    Adam

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    Adam、

    取得了巨大进展。

    [引述 userid="7730" url="~/support/processors-group/processors/f/processors-forum/1510026/am62a7-user-system-startup-time-is-mode-20s/5832323#5832323"] soc

    您可能还希望应用下面附加的 U-Boot 补丁、以跳过映像加载过程中的 memcpy ()。 它也应该节省一些时间。

    6557.0001-spl_fit-skip-memcpy-to-save-loading-time-patch

    [/报价]

    您是否应用了此补丁? 我不记得确切的数字,但我认为它应该节省至少几百毫秒内核映像加载时间。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    尊敬的 Meng:

    由于您创建了另一个线程来跟踪 v4l2和摄像头、您仍然需要此处的支持吗? 我将关闭此主题、并继续讨论以下主题:

    https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1519349/am62a7-q1-linux-kernel-service-and-driver-failure-v4l2

    此致、

    Suren

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    好的。 感谢您的帮助