From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v1 3/3] defconfig: puma-rk3399: add defconfig for the RK3399-Q7 (Puma)
Date: Fri, 31 Mar 2017 22:24:02 -0600 [thread overview]
Message-ID: <CAPnjgZ2hfnfk9kqKE4y5W6-TGXWu3M7N6iGVL1_st1XfkSoodA@mail.gmail.com> (raw)
In-Reply-To: <1490719733-33175-4-git-send-email-philipp.tomsich@theobroma-systems.com>
On 28 March 2017 at 10:48, Philipp Tomsich
<philipp.tomsich@theobroma-systems.com> wrote:
> This commit adds the baseline defconfig for the RK3399-Q7 (Puma) SoM
> (under the name 'puma-rk3399_defconfig') featuring the Rockchip RK3399
> in a Qseven compatible module.
>
> This subsumes the following changes:
> * defconfig: rk3399: migrate CONFIG_SPL_LIBCOMMON_SUPPORT/CONFIG_SPL_LIBGENERIC_SUPPORT
> * defconfig: rk3399-puma: add CONFIG_MMC_DW_ROCKCHIP
> * defconfig: rk3399-puma: disable CONFIG_SPL_OF_PLATDATA
> * defconfig: rk3399-puma: don't USE_TINY_PRINTF
> * defconfig: rk3399-puma: set up CONFIG_SYS_BOARD for the RK3399-Q7
> * defconfig: rk3399-puma: enable the multi-image loading via CONFIG_SPL_FIT
> * defconfig: rk3399-puma: SPL should be able to boot from MMC/SD card
> * defconfig: rk3399-puma: enable GMAC support
> * defconfig: rk3399-puma: enable support for SPI and Winbond SPI flash
> * defconfig: rk3399-puma: enable SPI as a boot-source in SPL
> * defconfig: rk3399-puma: disallow non-FIT images from being loaded
> * defconfig: rk3399-puma: rename to puma-rk3399
> * rockchip: config: rk3399: update defconfigs and rk3399_common
>
> For the RK3399-Q7, we want a default boot-order of SPI -> MMC -> uSD.
> This both follows how the BootROM probes devices and is a sane default
> for customers in device-personalisation (e.g. it allows for quick and
> easy factory programming of unpersonalised devices using an SD card)
> and field usage (with customer devices expected to have their firmware
> either in SPI or MMC).
>
> However, when probing multiple interfaces (according to the result
> from the board_boot_order function), we need to ensure that only valid
> FIT images are considered and disable the fallback to assuming that a
> raw (binary-only) U-Boot image is loaded (to avoid hangs/crashes from
> jumping to random content loaded from devices that are probed, but
> don't contain valid image content).
>
> By disabling the SPL_RAW_IMAGE_SUPPORT and SPL_LEGACY_IMAGE_SUPPORT
> options, we ensure that raw images (indistinguishable from random
> data) are not considered for booting.
>
> Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
>
> ---
>
> configs/evb-rk3399_defconfig | 3 ++
> configs/puma-rk3399_defconfig | 73 +++++++++++++++++++++++++++++++++++++++++
> include/configs/rk3399_common.h | 2 --
> 3 files changed, 76 insertions(+), 2 deletions(-)
> create mode 100644 configs/puma-rk3399_defconfig
Acked-by: Simon Glass <sjg@chromium.org>
next prev parent reply other threads:[~2017-04-01 4:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-28 16:48 [U-Boot] [PATCH v1 0/3] rockchip: rk3399: add RK3399-Q7 (Puma) SoM support Philipp Tomsich
2017-03-28 16:48 ` [U-Boot] [PATCH v1 1/3] arm64: rockchip: rk3399-puma: add DDR3-1333 timings Philipp Tomsich
2017-04-01 4:23 ` Simon Glass
2017-04-05 1:05 ` Simon Glass
2017-03-28 16:48 ` [U-Boot] [PATCH v1 2/3] dts: rk3399-puma: add DTS for RK3399-Q7 (Puma) SoM Philipp Tomsich
2017-04-01 4:23 ` Simon Glass
2017-04-05 1:05 ` Simon Glass
2017-03-28 16:48 ` [U-Boot] [PATCH v1 3/3] defconfig: puma-rk3399: add defconfig for the RK3399-Q7 (Puma) Philipp Tomsich
2017-04-01 4:24 ` Simon Glass [this message]
2017-04-05 1:05 ` 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=CAPnjgZ2hfnfk9kqKE4y5W6-TGXWu3M7N6iGVL1_st1XfkSoodA@mail.gmail.com \
--to=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.