Advertising

There shouldn’t be all the 0-bytes at the beginning and the ea000016 (‘b 0x64’)
should be at offset 4 (i.e. 0x804); the 0xeaffffff should have been at offset 0
(and
been overwritten with the ‘RK32’ at 0x800).
Apparently the tpl/u-boot-tpl.bin you feed into mkimage is already wrong: you
should check your ld-script, the ELF-file and the objcopy. This looks as if
some
part of the process is adding 7 words of padding. The assembly injected from
the boot0 header needs to be at the start of the binary… if it is not, then
something
has gone wrong before.
Thanks,
Philipp.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot