All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com>
To: Simon Glass <sjg@chromium.org>
Cc: "open list:ARM/Rockchip SoC support"
	<linux-rockchip@lists.infradead.org>,
	U-Boot Mailing List <u-boot@lists.denx.de>,
	linux-amarula <linux-amarula@amarulasolutions.com>,
	Akash Gajjar <akash@openedev.com>
Subject: Re: [PATCH v6 5/6] rockchip: Add Single boot image (with binman, pad_cat)
Date: Fri, 10 Jan 2020 12:42:03 +0300	[thread overview]
Message-ID: <CAJs94EYEr82dv0_Wu_Y0XY=fA1kxvBt-Cav+vuR1MUA2U3811w@mail.gmail.com> (raw)
In-Reply-To: <CAPnjgZ0u7E=KmiJodARvVFfVv+u0vdxCC1NN_2tnFNAMkp4NLw@mail.gmail.com>

пт, 10 янв. 2020 г. в 12:39, Simon Glass <sjg@chromium.org>:
>
> Hi Jagan,
>
> On Sat, 4 Jan 2020 at 21:38, Jagan Teki <jagan@amarulasolutions.com> wrote:
> >
> > All rockchip platforms support TPL or SPL-based bootloader
> > in mainline with U-Boot proper as final stage. For each
> > stage we need to burn the image on to flash with respective
> > offsets.
> >
> > This patch creates a single boot image component using
> > - binman, for arm32 rockchip platforms
> > - pad_cat, for arm64 rockchip platforms.
> >
> > This would help users to get rid of burning different
> > boot stage images.
> >
> > The new image called 'u-boot-rockchip.bin'
> > which can burn into flash like:
> >
> > ₹ sudo dd if=u-boot-rockchip.bin of=/dev/sda seek=64
>
> How about adding the initial 64 blocks into the image too, so the seek
> isn't needed?
>

It will break partition tables on the target device.

> > This would support all rockchip platforms, except rk3128
> > since it doesn't support for SPL yet.
> >
> > Cc: Kever Yang <kever.yang@rock-chips.com>
> > Cc: Matwey V. Kornilov <matwey.kornilov@gmail.com>
> > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> > Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
> > ---
> >  Makefile                          | 14 ++++++++++++--
> >  arch/arm/Kconfig                  |  1 +
> >  arch/arm/dts/rk3036-u-boot.dtsi   |  2 ++
> >  arch/arm/dts/rk3288-u-boot.dtsi   |  2 ++
> >  arch/arm/dts/rockchip-u-boot.dtsi | 21 +++++++++++++++++++++
> >  include/configs/rockchip-common.h |  3 +++
> >  6 files changed, 41 insertions(+), 2 deletions(-)
> >  create mode 100644 arch/arm/dts/rockchip-u-boot.dtsi
>
> Regards,
> Simon



-- 
With best regards,
Matwey V. Kornilov

WARNING: multiple messages have this Message-ID (diff)
From: Matwey V. Kornilov <matwey.kornilov@gmail.com>
To: u-boot@lists.denx.de
Subject: [PATCH v6 5/6] rockchip: Add Single boot image (with binman, pad_cat)
Date: Fri, 10 Jan 2020 12:42:03 +0300	[thread overview]
Message-ID: <CAJs94EYEr82dv0_Wu_Y0XY=fA1kxvBt-Cav+vuR1MUA2U3811w@mail.gmail.com> (raw)
In-Reply-To: <CAPnjgZ0u7E=KmiJodARvVFfVv+u0vdxCC1NN_2tnFNAMkp4NLw@mail.gmail.com>

пт, 10 янв. 2020 г. в 12:39, Simon Glass <sjg@chromium.org>:
>
> Hi Jagan,
>
> On Sat, 4 Jan 2020 at 21:38, Jagan Teki <jagan@amarulasolutions.com> wrote:
> >
> > All rockchip platforms support TPL or SPL-based bootloader
> > in mainline with U-Boot proper as final stage. For each
> > stage we need to burn the image on to flash with respective
> > offsets.
> >
> > This patch creates a single boot image component using
> > - binman, for arm32 rockchip platforms
> > - pad_cat, for arm64 rockchip platforms.
> >
> > This would help users to get rid of burning different
> > boot stage images.
> >
> > The new image called 'u-boot-rockchip.bin'
> > which can burn into flash like:
> >
> > ₹ sudo dd if=u-boot-rockchip.bin of=/dev/sda seek=64
>
> How about adding the initial 64 blocks into the image too, so the seek
> isn't needed?
>

It will break partition tables on the target device.

> > This would support all rockchip platforms, except rk3128
> > since it doesn't support for SPL yet.
> >
> > Cc: Kever Yang <kever.yang@rock-chips.com>
> > Cc: Matwey V. Kornilov <matwey.kornilov@gmail.com>
> > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
> > Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
> > ---
> >  Makefile                          | 14 ++++++++++++--
> >  arch/arm/Kconfig                  |  1 +
> >  arch/arm/dts/rk3036-u-boot.dtsi   |  2 ++
> >  arch/arm/dts/rk3288-u-boot.dtsi   |  2 ++
> >  arch/arm/dts/rockchip-u-boot.dtsi | 21 +++++++++++++++++++++
> >  include/configs/rockchip-common.h |  3 +++
> >  6 files changed, 41 insertions(+), 2 deletions(-)
> >  create mode 100644 arch/arm/dts/rockchip-u-boot.dtsi
>
> Regards,
> Simon



-- 
With best regards,
Matwey V. Kornilov

  reply	other threads:[~2020-01-10  9:42 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-04  8:38 [PATCH v6 0/6] rockchip: Add Binman support Jagan Teki
2020-01-04  8:38 ` Jagan Teki
     [not found] ` <20200104083806.3930-1-jagan-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>
2020-01-04  8:38   ` [PATCH v6 1/6] Makefile: Add rockchip image type Jagan Teki
2020-01-04  8:38     ` Jagan Teki
2020-01-04  8:38   ` [PATCH v6 2/6] Makefile: rockchip: Suffix platform type with tpl name Jagan Teki
2020-01-04  8:38     ` Jagan Teki
2020-01-04  8:38   ` [PATCH v6 3/6] Makefile: rockchip: Support SPL-alone mkimage Jagan Teki
2020-01-04  8:38     ` Jagan Teki
2020-01-04  8:38   ` [PATCH v6 4/6] arm: dts: rk3036: Add rk3036-u-boot.dtsi Jagan Teki
2020-01-04  8:38     ` Jagan Teki
2020-01-04  8:38   ` [PATCH v6 5/6] rockchip: Add Single boot image (with binman, pad_cat) Jagan Teki
2020-01-04  8:38     ` Jagan Teki
2020-01-07  9:47     ` [PATCH v6 5/6] rockchip: Add Single boot image (with binman, pad_cat)【请注意,邮件由linux-rockchip-bounces+kever.yang=rock-chips.com@lists.infradead.org代发】 Kever Yang
     [not found]     ` <20200104083806.3930-6-jagan-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>
2020-01-10  9:39       ` [PATCH v6 5/6] rockchip: Add Single boot image (with binman, pad_cat) Simon Glass
2020-01-10  9:39         ` Simon Glass
2020-01-10  9:42         ` Matwey V. Kornilov [this message]
2020-01-10  9:42           ` Matwey V. Kornilov
2020-01-30  2:17       ` Simon Glass
2020-01-30  2:17         ` Simon Glass
2020-01-04  8:38   ` [PATCH v6 6/6] doc: boards: Add rockchip documentation Jagan Teki
2020-01-04  8:38     ` Jagan Teki
     [not found]     ` <20200104083806.3930-7-jagan-dyjBcgdgk7Pe9wHmmfpqLFaTQe2KTcn/@public.gmane.org>
2020-01-07  8:40       ` Kever Yang
2020-01-07  8:40         ` Kever Yang
2020-01-07  9:59 ` [PATCH v6 0/6] rockchip: Add Binman support Kever Yang
2020-01-08 11:34   ` Wadim Egorov
2020-01-08 11:55     ` Jagan Teki
2020-01-09 13:59     ` Jagan Teki
2020-01-09 15:28       ` Wadim Egorov
2020-01-09 18:47         ` Jagan Teki
2020-01-10  9:39   ` Simon Glass

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJs94EYEr82dv0_Wu_Y0XY=fA1kxvBt-Cav+vuR1MUA2U3811w@mail.gmail.com' \
    --to=matwey.kornilov@gmail.com \
    --cc=akash@openedev.com \
    --cc=linux-amarula@amarulasolutions.com \
    --cc=linux-rockchip@lists.infradead.org \
    --cc=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.