工具与软件:
您好!

此致、
Yang
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.
工具与软件:
您好!
此致、
Yang
您好、Yang、
在 SPL 中、不支持 OTA 和 A/B 分区。 以下是 SDK 中使用的布局。
tiboot3.bin 也称为 R5 SPL 在0x0处加载
tispl.bin 在 0x80000处加载
u-boot.img 在 0x280000处加载
因此、对于上述所有映像、B 分区没有分配空间。 这将是需要开发的自定义功能。
SPL 基于 U-Boot。 所有代码都是以下内容的一部分:
$PSDK_Linux/ board-support/ti-u-boot-2024.04+git 获取文件。
文件: configs/j721e_evm_r5_defconfig
CONFIG_SYS_SPI_U_BOOT_OFFS=0x80000
R5 SPL 就是通过这种方法计算 tispl.bin 的选择位置的
文件: configs/j721e_evm_s72_defconfig
CONFIG_SYS_SPI_U_BOOT_OFFS=0x280000
A72 SPL 通过这种方式确定在何处选择 u-boot.img。
您将必须修改 U-Boot/SPL 代码以从不同的地址选择 B 分区映像。 我们不支持将其作为 SDK 的一部分。
-基尔西
您好、
[报价 userid="572765" url="~/support/processors-group/processors/f/processors-forum/1493327/tda4vm-where-are-the-source-codes-for-spl-and-a72-spl "]问题3:是否可以调用 SDK 函数来在 SPL 初始化阶段操作 NorFlash 内容? 使用了什么函数?您尚未回答问题3。
在 SDK8.6的以下路径中:
psdkra/pdk_jacinto_08_06_00_31/packages/ti/board/oclash/board_flash.c src
Board_flashRead ()和 Board_flashWrite ()函数用于读取和写入 NorFlash。
SDK 10.0的 SPL 中是否有类似函数?
此致、
Yang
您好、
非常感谢您的答复。
我想知道 SPL 启动时加载程序地址的具体函数位置。
例如、在以下文件中:psdkra/pdk_jacinto_10_00_00_27/packages/ti/boot/sbl/sbl/isbl src ospi/sbl_ospi.c
在 SBL_OSPIBoteImage()函数中、可通过设置偏移值来选择加载程序的地址。
SPL 中此功能的函数在哪里?
此致、
Yang
您好、
[报价 userid="572765" url="~/support/processors-group/processors/f/processors-forum/1493327/tda4vm-where-are-the-source-codes-for-spl-and-a72-spl/5736653 #5736653"]您好、
问题3:是否可以调用 SDK 函数在 SPL 初始化阶段操作 NorFlash 内容? 使用了什么函数?
您尚未回答问题3。
在 SDK8.6的以下路径中:
psdkra/pdk_jacinto_08_06_00_31/packages/ti/board/oclash/board_flash.c src
Board_flashRead ()和 Board_flashWrite ()函数用于读取和写入 NorFlash。
SDK 10.0的 SPL 中是否有类似函数?
[报价]感谢您的答复。 能否找到用 SPL 读写 NorFlash 的函数?
此致、
Yang
感谢您的答复。 能否找到用 SPL 读写 NorFlash 的函数?
[报价]SPI_FLASH_READ 和 SPI_FLASH_WRITE 在以下位置定义: include/spi_flash.h
这是一个最终基于 drivers/mtd/spi/sf_probe.c 的框架
-基尔西