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.

[参考译文] SK-AM62P-LP:Falcon 模式问题

Guru**** 2457760 points
Other Parts Discussed in Thread: UNIFLASH

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1482093/sk-am62p-lp-falcon-mode-issue

器件型号:SK-AM62P-LP
主题中讨论的其他器件:UNIFLASH

工具与软件:

您好!
我在这个板上工作、我正在尝试测试 falcon 模式、但我面临一些问题。
我们的要求是 HMI 小于4S、因此我想 Falcon 模式是唯一的选择。

我使用了以下 SDK 版本:
MCU:SDK 10.00.00.14
TI SDK:TI-PROCESSOR-SDK-LINUX-RT-am62pxx-EVM-10.00.07.04

到目前为止我所做的工作:

然后运行 CD MCU SDK:
使-s 全部配置文件=释放

cd linux appimage 文件夹、然后运行:
make -s BOARD=am62px-SK ALL Falcon_mode=1

在我更改 config.mak 中的以下行之前:
#处理器 SDK Linux 安装路径
psdk_linux_path=$(tools_path)/ti-processor-sdk-linux-rt-am62pxx-evm-10.00.07.04
#Path for prebuit images in Processor SDK Linux
PSDK_Linux_prebuild_images?=$(PSDK_Linux_path)/board-support/prebuilt-images/am62pxx-evm

为 HSMAppimageGen 编写 CD 并运行:
make -s BOARD=am62px-SK ALL

修改了 default_sbl_ospi_linux_falcon_hs_fs.cfg、并将 Linux 映像名称从 linux.fallcon.appimage.hs_fs 更改为 linux.appimage.hs_fs

将引导引脚更改为 UART、并启动 UART uniflash py 以回复到 default_sbl_ospi_linux_fallcon_hs_fs。
将引脚切换为 xSPI 引导

这是输出、电路板保持在 BL31

 Serial  Port opened
[BOOTLOADER_PROFILE] Boot Media       : FLASH
[BOOTLOADER_PROFILE] Boot Media Clock : 166.667 MHz
[BOOTLOADER_PROFILE] Boot Image Size  : 218 KB
[BOOTLOADER_PROFILE] Cores present    :
wkup-r5f0-0
[BOOTLOADER PROFILE] System_init                      :      38399us
[BOOTLOADER PROFILE] App_waitForMcuPbist              :          3us
[BOOTLOADER PROFILE] Board_init                       :          0us
[BOOTLOADER PROFILE] Drivers_open                     :         90us
[BOOTLOADER PROFILE] SBL Drivers_open                 :        132us
[BOOTLOADER PROFILE] Board_driversOpen                :         10us
[BOOTLOADER PROFILE] SBL Board_driversOpen            :       1285us
[BOOTLOADER PROFILE] App_loadSelfcoreImage            :       4441us
[BOOTLOADER_PROFILE] SBL Total Time Taken             :      44363us

Image loading done, switching to application ...
Starting 2nd stage bootloader
[BOOTLOADER_PROFILE] Boot Media       : FLASH
[BOOTLOADER_PROFILE] Boot Media Clock : 166.667 MHz
[BOOTLOADER_PROFILE] Boot Image Size  : 16420 KB
[BOOTLOADER_PROFILE] Cores present    :
hsm-m4f0-0
mcu-r5f0-0
a530-0
[BOOTLOADER PROFILE] System_init                      :       2279us
[BOOTLOADER PROFILE] Board_init                       :          3us
[BOOTLOADER PROFILE] FreeRtosTask Create              :        301us
[BOOTLOADER PROFILE] SBL Drivers_open                 :        835us
[BOOTLOADER PROFILE] SBL Board_driversOpen            :        133us
[BOOTLOADER PROFILE] App_loadImages                   :       3667us
[BOOTLOADER PROFILE] App_loadMCUImages                :       4196us
[BOOTLOADER PROFILE] App_loadLinuxImages              :     145293us
[BOOTLOADER_PROFILE] SBL Total Time Taken             :     156710us

Image loading done, switching to application ...
Starting linux and RTOS/Baremetal applications
NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
NOTICE:  BL31: Built : 16:09:05, Feb  9 2024





然后、我尝试清理 linuxapppimage 并在没有 falcon 标志的情况下运行 make、然后使用再次刷新
default_sbl_ospi_linux_hs_fs.cfg
这次电路板以 xSPI 引导模式正常启动。

 Serial  Port opened
[BOOTLOADER_PROFILE] Boot Media       : FLASH 
[BOOTLOADER_PROFILE] Boot Media Clock : 166.667 MHz 
[BOOTLOADER_PROFILE] Boot Image Size  : 218 KB 
[BOOTLOADER_PROFILE] Cores present    : 
wkup-r5f0-0
[BOOTLOADER PROFILE] System_init                      :      38366us 
[BOOTLOADER PROFILE] App_waitForMcuPbist              :          2us 
[BOOTLOADER PROFILE] Board_init                       :          0us 
[BOOTLOADER PROFILE] Drivers_open                     :         90us 
[BOOTLOADER PROFILE] SBL Drivers_open                 :        133us 
[BOOTLOADER PROFILE] Board_driversOpen                :          9us 
[BOOTLOADER PROFILE] SBL Board_driversOpen            :       1301us 
[BOOTLOADER PROFILE] App_loadSelfcoreImage            :       4441us 
[BOOTLOADER_PROFILE] SBL Total Time Taken             :      44346us 

Image loading done, switching to application ...
Starting 2nd stage bootloader
ion: v10.00.08
Starting Sciserver..... PASSED
[IPC RPMSG ECHO] Version: REL.MCUSDK.K3.10.00.00.14+ (Mar  4 2025 08:43:05):  
[BOOTLOADER_PROFILE] Boot Media       : FLASH 
[BOOTLOADER_PROFILE] Boot Media Clock : 166.667 MHz 
[BOOTLOADER_PROFILE] Boot Image Size  : 934 KB 
[BOOTLOADER_PROFILE] Cores present    : 
hsm-m4f0-0
mcu-r5f0-0
a530-0
[BOOTLOADER PROFILE] System_init                      :       2272us 
[BOOTLOADER PROFILE] Board_init                       :          2us 
[BOOTLOADER PROFILE] FreeRtosTask Create              :        300us 
[BOOTLOADER PROFILE] SBL Drivers_open                 :        850us 
[BOOTLOADER PROFILE] SBL Board_driversOpen            :        133us 
[BOOTLOADER PROFILE] App_loadImages                   :       3661us 
[BOOTLOADER PROFILE] App_loadMCUImages                :       4195us 
[BOOTLOADER PROFILE] App_loadLinuxImages              :      14014us 
[BOOTLOADER_PROFILE] SBL Total Time Taken             :      25431us 

Image loading done, switching to application ...
Starting linux and RTOS/Baremetal applications
NOTICE:  BL31: v2.10.0(release):v2.10.0-367-g00f1ec6b87-dirty
NOTICE:  BL31: Built : 16:09:05, Feb  9 2024

U-Boot SPL 2024.04-ti-gfda88f8bcea3 (Jul 26 2024 - 11:00:12 +0000)
SYSFW ABI: 4.0 (firmware rev 0x000a '10.0.8--v10.00.08 (Fiery Fox)')
SPL initial stack usage: 1904 bytes
Trying to boot from SPI
Authentication passed
Authentication passed


U-Boot 2024.04-ti-gfda88f8bcea3 (Jul 26 2024 - 11:00:12 +0000)

SoC:   AM62PX SR1.0 HS-FS
Model: Texas Instruments AM62P5 SK
DRAM:  2 GiB (effective 8 GiB)
Core:  85 devices, 31 uclasses, devicetree: separate
MMC:   mmc@fa10000: 0, mmc@fa00000: 1
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@8000000port@1
Warning: ethernet@8000000port@2 (eth1) using random MAC address - 9a:ee:ef:75:5b:b9
, eth1: ethernet@8000000port@2
Hit any key to stop autoboot




除了上面的问题、您是否在程序中添加了 eMMC 模式的 falcon 模式? 如果没有、是否有可能获得有关如何集成的指导?

谢谢

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

    您好!

    [quote userid="642009" url="~/support/processors-group/processors/f/processors-forum/1482093/sk-am62p-lp-falcon-mode-issue 这是输出、主板卡在 BL31

    对于 Falcon 引导、请在 Linux 内核存储库中应用以下补丁:

    diff --git a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
    index 4b8e7964c..3fbfca6e9 100644
    --- a/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
    +++ b/arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
    @@ -38,6 +38,7 @@ chosen {
     		ranges;
     
     		stdout-path = &main_uart0;
    +		bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000 root=/dev/mmcblk1p2 rw rootfstype=ext4 rootwait";
     
     		framebuffer0: framebuffer@0 {
     			compatible = "simple-framebuffer";

    在正常的 U-Boot 流程中、U-Boot 本身为 Linux 内核提供引导参数属性。 由于 Falcon 引导没有 U-Boot、因此需要在 DTS 本身中提供 bootargs 属性。

    此致、

    Prashant

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

    感谢它的工作