From: Michal Suchanek <msuchanek@suse.de>
To: u-boot@lists.denx.de
Cc: Michal Suchanek <msuchanek@suse.de>,
Andre Przywara <osp@andrep.de>, Simon Glass <sjg@chromium.org>,
Philipp Tomsich <philipp.tomsich@vrull.eu>,
Kever Yang <kever.yang@rock-chips.com>,
Jagan Teki <jagan@amarulasolutions.com>,
Andre Przywara <andre.przywara@arm.com>,
Andy Yan <andy.yan@rock-chips.com>,
Michal Simek <michal.simek@amd.com>,
Igor Opaniuk <igor.opaniuk@foundries.io>
Subject: [PATCH 0/2] Command for entering mask rom USB download mode
Date: Sun, 3 Jul 2022 21:20:20 +0200 [thread overview]
Message-ID: <cover.1656875482.git.msuchanek@suse.de> (raw)
Hello,
many ARM SoCs have a mask rom feature that provides interface for
downloading firmware over USB.
Downstream rockchip u-boot has 'brom' or 'rbrom' command for this
purpose, and downstream sunxi u-boot provides 'efex' command. p-boot has
code for entering FEL on A64 SoC.
With this patch I am able to activate the USB downloader on a rk3399 but
the rkflashtool fails to communicate with the device. On a H2+ I can get
into the FEL mode and get flash parameters. YMMV
I don't have any great idea how to structure this so that the command
does not need platform-specific code. Is there an example of a command
that has platform-specific implementations?
Thanks
Michal
Andy Yan (1):
cmd: boot: add brom cmd to reboot to brom dnl mode
Michal Suchanek (1):
cmd: boot: add brom cmd to reboot to FEL mode
.../arm/include/asm/arch-rockchip/boot_mode.h | 1 +
arch/arm/include/asm/arch-sunxi/cpu.h | 11 ++++++
arch/arm/mach-sunxi/Kconfig | 18 ++++++++++
arch/arm/mach-sunxi/board.c | 24 +++++++++++++
cmd/boot.c | 35 +++++++++++++++++++
5 files changed, 89 insertions(+)
--
2.36.1
next reply other threads:[~2022-07-03 19:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-03 19:20 Michal Suchanek [this message]
2022-07-03 19:20 ` [PATCH 1/2] cmd: boot: add brom cmd to reboot to brom dnl mode Michal Suchanek
2022-07-03 19:20 ` [PATCH 2/2] cmd: boot: add brom cmd to reboot to FEL mode Michal Suchanek
2022-07-03 22:23 ` Andre Przywara
2022-07-04 9:33 ` Michal Suchánek
2022-07-03 22:22 ` [PATCH 0/2] Command for entering mask rom USB download mode Andre Przywara
2022-07-04 9:42 ` Michal Suchánek
2022-07-03 23:26 ` Samuel Holland
2022-07-04 10:32 ` Michal Suchánek
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=cover.1656875482.git.msuchanek@suse.de \
--to=msuchanek@suse.de \
--cc=andre.przywara@arm.com \
--cc=andy.yan@rock-chips.com \
--cc=igor.opaniuk@foundries.io \
--cc=jagan@amarulasolutions.com \
--cc=kever.yang@rock-chips.com \
--cc=michal.simek@amd.com \
--cc=osp@andrep.de \
--cc=philipp.tomsich@vrull.eu \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox