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

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

 



Hi Simon,

On Fri, Apr 26, 2019 at 9:29 AM Simon Glass <sjg@xxxxxxxxxxxx> wrote:
>
> Hi Jagan,
>
> On Thu, 25 Apr 2019 at 11:54, Jagan Teki <jagan@xxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx>
> > ---
> >  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.

_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/linux-rockchip




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux