All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, v3, 2/3] rockchip: add support for enter to bootrom download mode
Date: Mon, 20 Nov 2017 15:07:39 +0100	[thread overview]
Message-ID: <E1eGmjb-00009D-EM@mail.theobroma-systems.com> (raw)
In-Reply-To: <1507705249-10726-1-git-send-email-andy.yan@rock-chips.com>

> Rockchip bootrom will enter download mode if it returns from
> spl/tpl with a non-zero value and couldn't find a valid image
> in the backup partition.
> This patch provide a method to instruct the system to back to
> bootrom download mode by checking the BROM_DOWNLOAD_FLAG register.
> As the bootrom download function relys on some modules such as
> interrupts, so we need to back to bootrom as early as possbile
> before the tpl/spl code override the interrupt configurations.
> 
> Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
> ---
> 
> Changes in v3:
> - rebase on Dr. Philipp's series
> 
> Changes in v2:
> - implement the back to bootrom download mode check in c,
>   thanks for Dr. Philipp Tomsich's suggestion.
> 
>  arch/arm/include/asm/arch-rockchip/boot_mode.h |  4 +++
>  arch/arm/mach-rockchip/Kconfig                 |  1 +
>  arch/arm/mach-rockchip/bootrom.c               | 47 ++++++++++++++++++++++++--
>  3 files changed, 50 insertions(+), 2 deletions(-)
> 

Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>

  parent reply	other threads:[~2017-11-20 14:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-11  6:59 [U-Boot] [PATCH v3 0/3] Most rockchip platform based boards use a key to instruct Andy Yan
2017-10-11  7:00 ` [U-Boot] [PATCH v3 1/3] rockchip: make boot_mode related codes reused across all platforms Andy Yan
2017-11-20 14:06   ` [U-Boot] [U-Boot, v3, " Philipp Tomsich
2017-11-20 14:50   ` Philipp Tomsich
2017-11-21  0:48     ` Andy Yan
2017-11-21  8:25       ` Dr. Philipp Tomsich
2017-11-21 22:32   ` Philipp Tomsich
2017-10-11  7:00 ` [U-Boot] [PATCH v3 2/3] rockchip: add support for enter to bootrom download mode Andy Yan
2017-11-20 14:06   ` [U-Boot] [U-Boot, v3, " Philipp Tomsich
2017-11-20 14:07   ` Philipp Tomsich [this message]
2017-11-21 22:32   ` Philipp Tomsich
2017-10-11  7:01 ` [U-Boot] [PATCH v3 3/3] rockchip: check download key before bootup Andy Yan
2017-11-20 14:06   ` [U-Boot] [U-Boot, v3, " Philipp Tomsich
2017-11-20 14:51   ` Philipp Tomsich
2017-11-21  1:02     ` Andy Yan
2017-11-21 12:31       ` Dr. Philipp Tomsich
2017-11-21 22:32   ` Philipp Tomsich
2017-11-17 10:09 ` [U-Boot] [PATCH v3 0/3] Most rockchip platform based boards use a key to instruct Andy Yan
2017-11-17 10:19   ` Dr. Philipp Tomsich

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=E1eGmjb-00009D-EM@mail.theobroma-systems.com \
    --to=philipp.tomsich@theobroma-systems.com \
    --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.