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.

[参考译文] AM6548:AM6548 U-Boot Rproc 和 VxWorks / Linux

Guru**** 2538950 points
Other Parts Discussed in Thread: AM6548

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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1175248/am6548-am6548-u-boot-rproc-and-vxworks-linux

器件型号:AM6548

您好!

我正在尝试了解如何将远程固件加载到运行 VxWorks 内核的 AM6548的 R5F 内核。  

我已按照以下说明成功加载远程固件(我认为)
https://software-dl.ti.com/processor-sdk-linux/esd/AM65X/07_01_00_17/exports/docs/linux/Foundational_Components_U-Boot.html#remoteproc

但是,当我执行">rproc start 0"启动内核时,似乎不会发生任何情况。 当我启动到 VxWorks 内核时、我也看不到 MCU UART 终端中发生任何情况。  

是否有方法验证我是否已成功将代码加载到 R5F 上? 我在 IPC 示例中遇到过这种情况
文件:///C:/ti/pdk_am65xx_08_02_00_21/docs/userguide/am65xx/modules/ipc.html 加载远程固件
但它仅适用于 Linux 操作系统。  

有人知道我是否应该采用其他方法来解决这个问题吗? 以下是使用 tftpboot 成功载入固件的 U-boot 终端日志:

=> rproc init
=> rproc list
0 - Name:'r5f@41000000' type:'internal memory mapped' supports: load start stop reset
1 - Name:'r5f@41400000' type:'internal memory mapped' supports: load start stop reset
2 - Name:'pru0_0' type:'internal memory mapped' supports: load start stop
3 - Name:'rtu0_0' type:'internal memory mapped' supports: load start stop
4 - Name:'pru0_1' type:'internal memory mapped' supports: load start stop
5 - Name:'rtu0_1' type:'internal memory mapped' supports: load start stop
6 - Name:'pru1_0' type:'internal memory mapped' supports: load start stop
7 - Name:'rtu1_0' type:'internal memory mapped' supports: load start stop
8 - Name:'pru1_1' type:'internal memory mapped' supports: load start stop
9 - Name:'rtu1_1' type:'internal memory mapped' supports: load start stop
10 - Name:'pru2_0' type:'internal memory mapped' supports: load start stop
11 - Name:'rtu2_0' type:'internal memory mapped' supports: load start stop
12 - Name:'pru2_1' type:'internal memory mapped' supports: load start stop
13 - Name:'rtu2_1' type:'internal memory mapped' supports: load start stop
=> tftpboot 0x90000000 GPIO_LedBlink_TestApp_freertos_mcu1_0_release.xer5f
k3-navss-ringacc ringacc@2b800000: Ring Accelerator probed rings:286, gp-rings[96,32] sci-dev-id:195
k3-navss-ringacc ringacc@2b800000: dma-ring-reset-quirk: enabled
am65_cpsw_nuss_port ethernet@46000000port@1: K3 CPSW: rflow_id_base: 2
link up on port 1, speed 1000, full duplex
Using ethernet@46000000port@1 device
TFTP from server 192.168.20.19; our IP address is 192.168.20.20
Filename 'GPIO_LedBlink_TestApp_freertos_mcu1_0_release.xer5f'.
Load address: 0x90000000
Loading: ################################################
         7.5 MiB/s
done
Bytes transferred = 702140 (ab6bc hex)
=> rproc load 0 0x90000000 0x${filesize}
Load Remote Processor 0 with data@addr=0x90000000 702140 bytes: Success!
=> rproc start 0
=>


在执行上述命令后、我初始化 VxWorks 内核、但不会发生任何情况、即使我正在加载 GPIO 闪烁示例。 即使我引导至 Linux、似乎并未实际启动 R5F 固件。