MPC8572DS uboot problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC8572DS uboot problem

557 次查看
dmitrshard
Contributor II

Hello!

I'm working on bareboard project for MPC8572DS board with MPC8572E processor. I have an elf file. This elf file is working through codewarrior tap. I need to launch my elf file from u-boot, but bootelf command in u-boot does not work. Where i can find u-boot with working bootelf command or what i need to launch my elf file from u-boot.

Thanks!

标记 (1)
0 项奖励
2 回复数

481 次查看
ufedor
NXP Employee
NXP Employee

I belive that it is required to prepare the binary image and load it to the memory base address used by the ELF.

To run the code it is possible to use U-Boot "go <address>" command.

0 项奖励

481 次查看
addiyi
NXP Employee
NXP Employee

You have to recompile uboot with bootelf support (#define CONFIG_CMD_ELF). Also, check if your uboot version support this command.

Adrian

0 项奖励