On 12/7/2012 4:14 PM, Stefan Roese wrote:
On 12/07/2012 10:47 AM, Vipin Kumar wrote:
On 12/6/2012 5:38 PM, Stefan Roese wrote:
On 12/06/2012 10:29 AM, Vipin Kumar wrote:
Signed-off-by: Vipin Kumar<vipin.ku...@st.com>
Is this new build target really needed? Please take a look at the
recently added/renamed targets (e.g. u-boot-with-spl.bin or u-boot-img.bin).
Hmm, this is an mkimage version of spl binary. This mkimage header is
detected by the BootROM in spear devices for loading and booting the SPL
binary
Yes, I remember this from the SPEAr600. I introduced a new build target
for this: u-boot.spr. Take a look at the commit:
Yes, I remember
94aebe6cc3111c7c9e3cd1311cc9793d01cc3ded
Makefile: Add u-boot.spr build target (SPEAr)
On x600 (SPEAr600) U-Boot is appended to U-Boot SPL. Both images are
created using mkimage (crc etc), so that the ROM bootloader can check
its integrity. Padding needs to be done to the SPL image (with
mkimage header) and not the binary. Otherwise the resulting image
which is loaded/copied by the ROM bootloader to SRAM doesn't fit.
The resulting image containing both U-Boot images is called u-boot.spr.
Or does your patch "only" introduce the mkimage SPL image version?
Yes, it introduces only mkimage SPL image version. This is necessary for
a few booting options where we absolutely require a different SPL binary
with an mkimage header
Then please consolidate this with the u-boot.spr build target.
You mean u-boot.spr can use this u-boot-spl.img. Yes, I will do that in v2
Thanks,
Stefan
.
Vipin
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot