Re: [PATCH 1/3] Add support for creating barebox.img file.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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 $< $@
ask said to Jan can not work with PBL

Best Regards,
J.

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux