[U-Boot] [PATCH] Makefile.spl: Create u-boot-spl-rockchip.bin for rk3399

Jagan Teki jagan at amarulasolutions.com
Fri Apr 26 11:56:13 UTC 2019


Hi Simon,

On Fri, Apr 26, 2019 at 9:29 AM Simon Glass <sjg at chromium.org> wrote:
>
> Hi Jagan,
>
> On Thu, 25 Apr 2019 at 11:54, Jagan Teki <jagan at amarulasolutions.com> wrote:
> >
> > Rockchip platform would require an explicit call to mkimage for
> > creating bootable images which indeed specific to SoC family
> > along with boot devices.
> >
> > Example of creating bootable image for rk3399 family with SD
> > boot device as
> >
> > ₹ mkimage -n rk3399 -T rksd -d ./spl/u-boot-spl-dtb.bin u-boot-spl-rockchip.bin
> >
> > This patch would do the same think via Makefile.spl for rk3399.
> >
> > This would be an initial version and it can easily expand further to support
> > other families of SoC's with variety of boot stages like TPL, SPL.
> >
> > Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
> > ---
> >  arch/arm/mach-rockchip/Kconfig |  8 ++++++++
> >  doc/README.rockchip            |  3 +--
> >  scripts/Makefile.spl           | 21 +++++++++++++++++++++
> >  3 files changed, 30 insertions(+), 2 deletions(-)
>
> Can we set this up to use binman? That would also allow us to produce
> an image with padding so that we can use a simpler dd command.

Yes, ie what that I planned initially and fired some issue. will try
again and post if I succeed.

Jagan.


More information about the U-Boot mailing list