Jonathan Juniman
04/30/2008 1:43 PM
post7512
|
OK, before, the line in my build file said:
[virtual=ppcbe,elf +compress]
So I would let it build an Elf file, then convert to S-record with mkrec. For some reason, mkrec prepended two bytes of
garbage 0x90 0x90 to the start of the Elf image. But no matter. I could get the entry point out of the Elf header, then
boot it by copying from flashaddr+2 to RAM, and jumping to the known entry point. This works.
So now I changed the build file to:
[virtual=ppcbe,raw +compress]
When I run it through mkrec, it still prepends 0x90 0x90 to the image. I TFTPed it to the board and tried it both ways:
copying from flashaddr+2 to RAM (to strip the garbage bytes), and copying from flashaddr to RAM (to leave the garbage
bytes). The image won't boot either way.
Do I need some tech support help on this one?
|
|
|