public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/5] db410c: config updates
Date: Mon, 24 Jul 2017 09:46:05 -0400	[thread overview]
Message-ID: <20170724134605.GR26163@bill-the-cat> (raw)
In-Reply-To: <CAF6AEGt-ZHWP_oCgmU2s5uc8NzTM+5XuzhRw3GDKDNNn-3+QJw@mail.gmail.com>

On Fri, Jul 21, 2017 at 07:08:23PM -0400, Rob Clark wrote:
> On Fri, Jul 21, 2017 at 6:20 PM, Tom Rini <trini@konsulko.com> wrote:
> > On Fri, Jul 21, 2017 at 03:10:14PM -0400, Rob Clark wrote:
> >> Signed-off-by: Rob Clark <robdclark@gmail.com>
> >> ---
> >>  arch/arm/Kconfig                  | 2 +-
> >>  configs/dragonboard410c_defconfig | 8 +++++++-
> >>  2 files changed, 8 insertions(+), 2 deletions(-)
> >>
> >> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> >> index f7b44392ac..db6a325ee1 100644
> >> --- a/arch/arm/Kconfig
> >> +++ b/arch/arm/Kconfig
> >> @@ -633,7 +633,7 @@ config ARCH_SNAPDRAGON
> >>       select DM_SERIAL
> >>       select SPMI
> >>       select OF_CONTROL
> >> -     select OF_SEPARATE
> >> +     select OF_BOARD
> >>
> >>  config ARCH_SOCFPGA
> >>       bool "Altera SOCFPGA family"
> >> diff --git a/configs/dragonboard410c_defconfig b/configs/dragonboard410c_defconfig
> >> index d992c2adda..45a121822f 100644
> >> --- a/configs/dragonboard410c_defconfig
> >> +++ b/configs/dragonboard410c_defconfig
> >> @@ -37,4 +37,10 @@ CONFIG_USB_EHCI_MSM=y
> >>  CONFIG_USB_ULPI_VIEWPORT=y
> >>  CONFIG_USB_ULPI=y
> >>  CONFIG_USB_STORAGE=y
> >> -CONFIG_OF_LIBFDT_OVERLAY=y
> >> +CONFIG_DM_VIDEO=y
> >> +# CONFIG_VIDEO_BPP8 is not set
> >> +CONFIG_VIDEO_BPP16=y
> >> +CONFIG_VIDEO_BPP32=y
> >> +CONFIG_CONSOLE_NORMAL=y
> >> +CONFIG_VIDEO_SIMPLE=y
> >> +CONFIG_OF_BOARD=y
> >
> > This doesn't look like you updated it with savedefconfig, did you?
> 
> No, probably not.. tbh this is the first time I've done a defconfig
> update (u-boot or kernel), board level stuff is a bit outside what I
> normally work on (ie. mesa and gpu/drm), so pls forgive cluelessness
> in this regard..

Ah, yeah.  It's the handy-dandy way to keep things in sync and sometimes
even avoid patch conflicts with others.

> > Also, we don't want to nuke the overlay support I assume.  Thanks!
> 
> probably not.. although it is still an open question, I think, from
> distro standpoint how to eventually pass the right fdt to kernel.  As
> it stands, the stage before u-boot patches the fdt bundled with
> u-boot.img with useful things like wifi/bt mac addresses.  But the fdt
> in u-boot.img (at least if built from u-boot tree) is highly
> insufficient to enabled all of the upstream drivers.  And requiring
> the end user to flash a new u-boot.img w/ bundled fdt as new features
> (where there is not yet any clue how dt bindings should look, like
> bus-scaling), isn't super friendly.
> 
> We might eventually want some optional board hook to let board
> specific code patch an fdt loaded from OS media by u-boot (or grub?)
> based on fields in fdt passed from previous stage to u-boot.  Maybe
> overlays are a way to do that.. idk, I still need to look into how
> they work..

Yeah, overlays are the standard DT way to deal with things like add-on
boards for 96boards/CHIP/beaglebone/etc, along with similar but
non-dev board cases.  We want to keep the 'overlay' option enabled for
Dragonboard I think :)

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170724/f124c43a/attachment.sig>

      reply	other threads:[~2017-07-24 13:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-21 19:10 [U-Boot] [PATCH 0/5] dragonboard 410c patches Rob Clark
2017-07-21 19:10 ` [U-Boot] [PATCH 1/5] Makefile: also build fdt for snapdragon Rob Clark
2017-07-21 22:18   ` Tom Rini
2017-07-21 22:57     ` Rob Clark
2017-07-24 13:41       ` Tom Rini
2017-07-21 19:10 ` [U-Boot] [PATCH 2/5] db410c: use fdt passed from lk Rob Clark
2017-07-21 19:10 ` [U-Boot] [PATCH 3/5] db410c: add reserved-memory node to dts Rob Clark
2017-07-21 19:10 ` [U-Boot] [PATCH 4/5] db410c: on aarch64 the fdtfile is in per-vendor subdirectory Rob Clark
2017-07-21 19:10 ` [U-Boot] [PATCH 5/5] db410c: config updates Rob Clark
2017-07-21 22:20   ` Tom Rini
2017-07-21 23:08     ` Rob Clark
2017-07-24 13:46       ` Tom Rini [this message]

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=20170724134605.GR26163@bill-the-cat \
    --to=trini@konsulko.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox