u-boot-amlogic.groups.io archive mirror
 help / color / mirror / Atom feed
From: Neil Armstrong <neil.armstrong@linaro.org>
To: Christian Hewitt <christianshewitt@gmail.com>,
	 Vyacheslav Bocharov <adeep@lexina.in>,
	 Beniamino Galvani <b.galvani@gmail.com>
Cc: u-boot-amlogic@groups.io, u-boot@lists.denx.de,
	 Neil Armstrong <neil.armstrong@linaro.org>,
	 Neil Armstrong <neil.armstrong@linaro.org>
Subject: [PATCH 0/4] ARM: meson: Add boot over DFU RAM as an USB boot step
Date: Mon, 23 Oct 2023 14:41:33 +0200	[thread overview]
Message-ID: <20231023-usb-dfu-boot-v1-0-df9d121c67c1@linaro.org> (raw)

Add boot over DFU RAM as an alternate to running script at
a fixed address like done today.

The main culprit is that it's not possible to do that
on G12A/SM1 platforms due to changes in the USB boot protocol.

With this, U-Boot will present a DFU device with a ram slot where
the Host could write a fitImage or legacy U-Boot image, then with the
detach command boot will continue trying to boot the uploaded image.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
Neil Armstrong (4):
      ARM: meson: enable FIT with LEGACY_IMAGE_FORMAT on all configs
      configs: meson64: declare addr out of EXTRA_ENV_SETTINGS
      configs: meson64: add alternate USB DFU boot target
      ARM: meson: enable USB DFU + RAM on Amlogic boards with USB Gadget

 configs/ad401_defconfig                   |  2 ++
 configs/bananapi-cm4-cm4io_defconfig      |  6 ++++
 configs/bananapi-m2-pro_defconfig         |  6 ++++
 configs/bananapi-m2s_defconfig            |  6 ++++
 configs/bananapi-m5_defconfig             |  6 ++++
 configs/beelink-gsking-x_defconfig        |  6 ++++
 configs/beelink-gt1-ultimate_defconfig    |  6 ++++
 configs/beelink-gtking_defconfig          |  6 ++++
 configs/beelink-gtkingpro_defconfig       |  6 ++++
 configs/jethub_j100_defconfig             |  6 ++++
 configs/jethub_j80_defconfig              |  6 ++++
 configs/khadas-vim2_defconfig             |  6 ++++
 configs/khadas-vim3_android_ab_defconfig  |  4 +++
 configs/khadas-vim3_android_defconfig     |  4 +++
 configs/khadas-vim3_defconfig             |  6 ++++
 configs/khadas-vim3l_android_ab_defconfig |  4 +++
 configs/khadas-vim3l_android_defconfig    |  4 +++
 configs/khadas-vim3l_defconfig            |  6 ++++
 configs/khadas-vim_defconfig              |  6 ++++
 configs/libretech-ac_defconfig            |  6 ++++
 configs/libretech-cc_defconfig            |  6 ++++
 configs/libretech-cc_v2_defconfig         |  6 ++++
 configs/libretech-s905d-pc_defconfig      |  6 ++++
 configs/libretech-s912-pc_defconfig       |  6 ++++
 configs/nanopi-k2_defconfig               |  4 +++
 configs/odroid-c2_defconfig               |  4 +++
 configs/odroid-c4_defconfig               |  6 ++++
 configs/odroid-go-ultra_defconfig         |  6 ++++
 configs/odroid-hc4_defconfig              |  6 ++++
 configs/odroid-n2_defconfig               |  6 ++++
 configs/odroid-n2l_defconfig              |  6 ++++
 configs/p200_defconfig                    |  4 +++
 configs/p201_defconfig                    |  4 +++
 configs/p212_defconfig                    |  4 +++
 configs/radxa-zero2_defconfig             |  6 ++++
 configs/radxa-zero_defconfig              |  6 ++++
 configs/s400_defconfig                    |  6 ++++
 configs/sei510_defconfig                  |  6 ++++
 configs/sei610_defconfig                  |  6 ++++
 configs/u200_defconfig                    |  6 ++++
 configs/videostrong-kii-pro_defconfig     |  4 +++
 configs/wetek-core2_defconfig             |  6 ++++
 configs/wetek-hub_defconfig               |  4 +++
 configs/wetek-play2_defconfig             |  4 +++
 include/configs/meson64.h                 | 49 ++++++++++++++++++++++++++-----
 45 files changed, 278 insertions(+), 7 deletions(-)
---
base-commit: 9a0cf3993f71043ba08c315572c54622de42d447
change-id: 20231023-usb-dfu-boot-f47849f9fb34

Best regards,
-- 
Neil Armstrong <neil.armstrong@linaro.org>



             reply	other threads:[~2023-10-23 12:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-23 12:41 Neil Armstrong [this message]
2023-10-23 12:41 ` [PATCH 1/4] ARM: meson: enable FIT with LEGACY_IMAGE_FORMAT on all configs Neil Armstrong
2023-10-23 12:41 ` [PATCH 2/4] configs: meson64: declare addr out of EXTRA_ENV_SETTINGS Neil Armstrong
2023-10-23 12:41 ` [PATCH 3/4] configs: meson64: add alternate USB DFU boot target Neil Armstrong
2023-10-23 12:41 ` [PATCH 4/4] ARM: meson: enable USB DFU + RAM on Amlogic boards with USB Gadget Neil Armstrong
2023-10-24  7:05 ` [PATCH 0/4] ARM: meson: Add boot over DFU RAM as an USB boot step Mattijs Korpershoek
2023-10-26 15:39 ` Neil Armstrong
  -- strict thread matches above, loose matches on Subject: below --
2023-10-23 13:04 Ferass El Hafidi

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=20231023-usb-dfu-boot-v1-0-df9d121c67c1@linaro.org \
    --to=neil.armstrong@linaro.org \
    --cc=adeep@lexina.in \
    --cc=b.galvani@gmail.com \
    --cc=christianshewitt@gmail.com \
    --cc=u-boot-amlogic@groups.io \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).