在这里
http://processors.wiki.ti.com/index.php/Processor_SDK_RTOS_BOOT_AM335x/AM437x
说到:—————————————————————–
Windows中的二进制格式转换
1) To convert from .out -> .bin
TOOLCHAIN_PATH_<A8/A9>/bin/arm-none-eabi-objcopy -O binary <application>.out <application>.bin
2) To convert from .bin -> _ti.bin. tiimage.exe is provided as prebuilt binary in starterware/tools/ti_image.
tiimage.exe <Image Load Address> NONE <application>.bin <application>_ti.bin
———————————————————————————-
请问如果要从QSPI启动的话,这里的的 tiimage.exe <Image Load Address> NONE <application>.bin <application>_ti.bin 命令的Image Load Address是多少?
或者说这个命令的正确格式是什么样的?
user4941429:
Tools and Binary formats里面写到:
QSPI bootloader binary should in .bin format and Application binary should be in _ti.bin format.
Application binary似乎要转成 _ti.bin格式吧
user4941429:
如果从SD卡启动,下面的命令Image Load Address中的该是多少呢?
tiimage.exe <Image Load Address> NONE <application>.bin <application>_ti.bin
Nancy Wang:
回复 user4941429:
是的,只是不需要加入image size和Image load address
Nancy Wang:
回复 user4941429:
For bootloader Entry point is usually 0x402f0000
For the app the entry point is usually 0x80000000.
请看4.6.3.1.4。
software-dl.ti.com/…/index_Foundational_Components.html
user4941429:
回复 Nancy Wang:
我按照提示做了 arm-none-eabi-objcopy -O binary app.out app.bin tiimage.exe 0x80000000 NONE app.bin app_ti.bin
之后将app_ti.bin和bootloader_boot_mmcsd_a9host_debug_ti.bin复制到SD卡,改名为app和MLO 。插入开发板之后启动 结果任然是: StarterWare Boot Loader BOARDInit status [0x0] SoC : [AM43XX] Core : [A9] Board Detected : [IDKEVM] Base Board Revision : [UNKNOWN] Daughter Card Revision: [UNKNOWN] Copying application image from MMC/SD card to RAM Jumping to StarterWare Application… 请问这可能是什么问题呢?
user4941429:
回复 Nancy Wang:
谢谢!已经成功了