MPC8572DS uboot problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MPC8572DS uboot problem

535 Views
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!

Tags (1)
0 Kudos
2 Replies

459 Views
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 Kudos

459 Views
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 Kudos