The AM335x U-boot SPL expects to load a u-boot image when booting from SD-Card. Based on code of Jan Luebbe <jlu@xxxxxxxxxxxxxx> Signed-off-by: Teresa Gámez <t.gamez@xxxxxxxxx> --- .gitignore | 1 + Makefile | 5 +++++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 4154c73..d147992 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,7 @@ cross_compile barebox barebox.S barebox.bin +barebox.img barebox.srec barebox.netx barebox.s5p diff --git a/Makefile b/Makefile index c6264d3..3c3cde4 100644 --- a/Makefile +++ b/Makefile @@ -680,6 +680,11 @@ ifndef CONFIG_PBL_IMAGE $(call cmd,check_file_size,$(CONFIG_BAREBOX_MAX_IMAGE_SIZE)) endif +barebox.img: barebox.bin + $(srctree)/scripts/mkimage -A $(ARCH) -T firmware -C none \ + -O barebox -a $(CONFIG_TEXT_BASE) -e $(CONFIG_TEXT_BASE) \ + -n "barebox $(KERNELRELEASE)" -d $< $@ + ifdef CONFIG_X86 barebox.S: barebox ifdef CONFIG_X86_HDBOOT -- 1.7.0.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox