[U-Boot] [PATCH 1/7] spl: pbl: Add new SPL image for pblimage tool
Huan Wang
alison.wang at freescale.com
Fri Sep 19 07:07:05 CEST 2014
Hi, Albert,
> On Thu, 18 Sep 2014 13:47:13 +0800, Alison Wang <b18965 at freescale.com>
> wrote:
>
> > For the pblimage tool, the SPL image is splitted into 64 byte chunks,
> > and PBL needs a command for each piece. In current pblimage structure,
> > the size of the SPL image should be a fixed value. Well, for LS102xA
> > and some other ARM platforms, the size of the SPL image is changeable.
> > So a new image spl/u-boot-spl-pbl-pad.bin is built, and the size of
> it
> > is a fixed value "CONFIG_SPL_MAX_SIZE". Use it instead of
> > spl/u-boot-spl.bin for LS102xA.
> >
> > CONFIG_SPL_PBL_PAD is used to enable this function.
> >
> > Signed-off-by: Alison Wang <alison.wang at freescale.com>
> > ---
>
> There is already a CONFIG_SPL_PAD_TO (see ./README). Can you not use
> this?
>
[Alison Wang] I have already used CONFIG_SPL_PAD_TO to determine the offset to which u-boot-spl.pbl should be padded when generating u-boot-with-spl-pbl.bin. Well, I used CONFIG_SPL_MAX_SIZE to determine the size of u-boot-spl-pbl-pad.bin. u-boot-spl-pbl-pad.bin is generated by padding u-boot-spl.bin to CONFIG_SPL_MAX_SIZE.
Best Regards,
Alison Wang
More information about the U-Boot
mailing list