[PATCH 1/3] Add support for creating barebox.img file.
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Thu Sep 20 14:31:33 EDT 2012
On 16:02 Thu 20 Sep , Teresa Gámez wrote:
> The AM335x U-boot SPL expects to load a u-boot image when booting
> from SD-Card.
>
> Based on code of Jan Luebbe <jlu at pengutronix.de>
>
> Signed-off-by: Teresa Gámez <t.gamez at phytec.de>
> ---
> .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 $< $@
ask said to Jan can not work with PBL
Best Regards,
J.
More information about the barebox
mailing list