DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Johannes Zink <j.zink@pengutronix.de>
To: distrokit@pengutronix.de
Cc: jzi@pengutronix.de
Subject: [DistroKit] [PATCH 0/3] Auto-Enable Android Fastboot Gadget for some boards
Date: Fri, 24 Mar 2023 19:28:42 +0100	[thread overview]
Message-ID: <20230324182845.500894-1-j.zink@pengutronix.de> (raw)

Hi,

this series configures the barebox default environment for the Radxa ROCK 3A,
AM335x Boards and STM32MP1 Boards for automatically starting an Android
Fastboot [1] and ACM USB gadget.

Android Fastboot can be used to flash the SD-Card or eMMC of the
respective boards or to load kernel, dtb and initramfs to RAM over USB.

Android Fastboot is particularly useful for loading images and development
in situations, where network boot is not a viable option.
The ACM gadget mirrors the barebox serial console over USB, which is
useful when no serial port over UART is available.

Best regards
Johannes

Johannes Zink (3):
  v8a: rock3a: autostart usb fastboot and ACM gadget on rock3a
  v7a: am335x: autostart usb fastboot and ACM gadget on AM335x boards
  v7a: stm32mp1: autostart usb fastboot and ACM gadget on AM335x boards

 .../barebox-am335x-defaultenv/nv/fastboot.bbu |  1 +
 .../nv/fastboot.partitions                    |  1 +
 .../nv/usbgadget.acm                          |  1 +
 .../nv/usbgadget.autostart                    |  1 +
 .../nv/fastboot.bbu                           |  1 +
 .../nv/fastboot.partitions                    |  1 +
 .../nv/global.usbgadget.autostart             |  1 +
 configs/platform-v7a/barebox-stm32mp.config   |  2 +-
 .../platform-v7a/barebox-stm32mp.config.diff  |  1 -
 .../barebox-rock3a-defaultenv/boot/net        | 28 +++++++++++++++++++
 .../barebox-rock3a-defaultenv/init/bootsource |  1 -
 .../barebox-rock3a-defaultenv/nv/fastboot.bbu |  1 +
 .../nv/fastboot.partitions                    |  1 +
 .../nv/usbgadget.acm                          |  1 +
 .../nv/usbgadget.autostart                    |  1 +
 15 files changed, 40 insertions(+), 3 deletions(-)
 create mode 100644 configs/platform-v7a/barebox-am335x-defaultenv/nv/fastboot.bbu
 create mode 100644 configs/platform-v7a/barebox-am335x-defaultenv/nv/fastboot.partitions
 create mode 100644 configs/platform-v7a/barebox-am335x-defaultenv/nv/usbgadget.acm
 create mode 100644 configs/platform-v7a/barebox-am335x-defaultenv/nv/usbgadget.autostart
 create mode 100644 configs/platform-v7a/barebox-stm32mp-defaultenv/nv/fastboot.bbu
 create mode 100644 configs/platform-v7a/barebox-stm32mp-defaultenv/nv/fastboot.partitions
 create mode 100644 configs/platform-v7a/barebox-stm32mp-defaultenv/nv/global.usbgadget.autostart
 create mode 100644 configs/platform-v8a/barebox-rock3a-defaultenv/boot/net
 create mode 100644 configs/platform-v8a/barebox-rock3a-defaultenv/nv/fastboot.bbu
 create mode 100644 configs/platform-v8a/barebox-rock3a-defaultenv/nv/fastboot.partitions
 create mode 100644 configs/platform-v8a/barebox-rock3a-defaultenv/nv/usbgadget.acm
 create mode 100644 configs/platform-v8a/barebox-rock3a-defaultenv/nv/usbgadget.autostart

--
2.30.2




             reply	other threads:[~2023-03-24 18:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-24 18:28 Johannes Zink [this message]
2023-03-24 18:28 ` [DistroKit] [PATCH 1/3] v8a: rock3a: autostart usb fastboot and ACM gadget on ROCK 3A Johannes Zink
2023-03-24 18:42   ` Ahmad Fatoum
2023-03-24 18:28 ` [DistroKit] [PATCH 2/3] v7a: am335x: autostart usb fastboot and ACM gadget on AM335x boards Johannes Zink
2023-03-24 18:28 ` [DistroKit] [PATCH 3/3] v7a: stm32mp1: " Johannes Zink
2023-03-24 18:42   ` Ahmad Fatoum

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=20230324182845.500894-1-j.zink@pengutronix.de \
    --to=j.zink@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=jzi@pengutronix.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