public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Simon Glass <sjg@chromium.org>
Cc: "Ilias Apalodimas" <ilias.apalodimas@linaro.org>,
	"Patrick Delaunay" <patrick.delaunay@foss.st.com>,
	"Patrice Chotard" <patrice.chotard@foss.st.com>,
	"Liviu Dudau" <liviu.dudau@foss.arm.com>,
	"Thomas Fitzsimmons" <fitzsim@fitzsim.org>,
	"Matthias Brugger" <mbrugger@suse.com>,
	"Michal Simek" <monstr@monstr.eu>, "Pali Rohár" <pali@kernel.org>,
	"Marek Behún" <marek.behun@nic.cz>,
	"Bin Meng" <bmeng.cn@gmail.com>,
	"Heinrich Schuchardt" <xypron.glpk@gmx.de>,
	"Stefan Roese" <sr@denx.de>, "Tim Harvey" <tharvey@gateworks.com>,
	"Harald Seiler" <hws@denx.de>,
	"Sughosh Ganu" <sughosh.ganu@linaro.org>,
	"Priyanka Jain" <priyanka.jain@nxp.com>,
	"Vladimir Oltean" <vladimir.oltean@nxp.com>,
	"Andre Przywara" <andre.przywara@arm.com>,
	"Ramon Fried" <rfried.dev@gmail.com>,
	"Nicolas Saenz Julienne" <nsaenzjulienne@suse.de>,
	"Peter Robinson" <pbrobinson@gmail.com>,
	"Ivan T. Ivanov" <iivanov@suse.de>,
	"Marek Szyprowski" <m.szyprowski@samsung.com>,
	"Zong Li" <zong.li@sifive.com>,
	"Leo Yu-Chi Liang" <ycliang@andestech.com>,
	"Sean Anderson" <seanga2@gmail.com>,
	"Rick Chen" <rick@andestech.com>,
	"Green Wan" <green.wan@sifive.com>,
	"T Karthik Reddy" <t.karthik.reddy@xilinx.com>,
	"Ashok Reddy Soma" <ashok.reddy.soma@xilinx.com>,
	"Rasmus Villemoes" <rasmus.villemoes@prevas.dk>,
	"Alper Nebi Yasak" <alpernebiyasak@gmail.com>,
	"AKASHI Takahiro" <takahiro.akashi@linaro.org>,
	"Wasim Khan" <wasim.khan@nxp.com>,
	"Alexandru Gagniuc" <mr.nuke.me@gmail.com>,
	"Nandor Han" <nandor.han@vaisala.com>,
	"Pratyush Yadav" <p.yadav@ti.com>,
	"Steffen Jaeckel" <jaeckel-floss@eyet-services.de>,
	"Heiko Schocher" <hs@denx.de>,
	"Asherah Connor" <ashe@kivikakk.ee>,
	"U-Boot Mailing List" <u-boot@lists.denx.de>,
	"U-Boot STM32" <uboot-stm32@st-md-mailman.stormreply.com>
Subject: Re: [PATCH v4] sandbox: Remove OF_HOSTFILE
Date: Tue, 19 Oct 2021 10:17:33 -0400	[thread overview]
Message-ID: <20211019141733.GD7964@bill-the-cat> (raw)
In-Reply-To: <CAPnjgZ3TOc7aEBWx0JDy3L=b1C-u39A6gnFFjqT5U1L9H4dDug@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3471 bytes --]

On Tue, Oct 19, 2021 at 08:03:07AM -0600, Simon Glass wrote:
> Hi Ilias,
> 
> On Tue, 19 Oct 2021 at 07:07, Ilias Apalodimas
> <ilias.apalodimas@linaro.org> wrote:
> >
> > OF_HOSTFILE is used on sandbox configs only.  Although it's pretty
> > unique and not causing any confusions,  we are better of having simpler
> > config options for the DTB.
> >
> > So let's replace that with the existing OF_BOARD.  U-Boot would then
> > have only three config options for the DTB origin.
> > - OF_SEPARATE, build separately from U-Boot
> > - OF_BOARD, board specific way of providing the DTB
> > - OF_EMBED embedded in the u-boot binary(should not be used in production
> >
> > Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
> > ---
> > Note that this must be applied on top of
> > https://lore.kernel.org/u-boot/20211011210016.135929-1-ilias.apalodimas@linaro.org/
> > changes since v3:
> > - fix xilinx platforms based on xilinx_zynq_virt_defconfig
> > changes since v2:
> > - Rebased on top of the updated OF_BOARD patchset
> > Changes since v1:
> > - Added internal error value on board_fdt_blob_setup().  Arguably
> >   we can just check against NULL and simplify this even more if we
> >   don't care about the errno
> > - OF_BOARD is now default for sandbox builds
> >  Makefile                                    |  6 ++---
> >  arch/arm/mach-stm32mp/boot_params.c         |  3 ++-
> >  arch/sandbox/cpu/cpu.c                      | 27 +++++++++++++--------
> >  arch/sandbox/include/asm/u-boot-sandbox.h   |  8 ------
> >  board/AndesTech/ax25-ae350/ax25-ae350.c     |  2 ++
> >  board/Marvell/octeontx/board-fdt.c          |  3 ++-
> >  board/Marvell/octeontx2/board-fdt.c         |  3 ++-
> >  board/Marvell/octeontx2/board.c             |  3 ++-
> >  board/armltd/vexpress64/vexpress64.c        |  7 ++++--
> >  board/broadcom/bcmstb/bcmstb.c              |  3 ++-
> >  board/emulation/qemu-arm/qemu-arm.c         |  3 ++-
> >  board/emulation/qemu-ppce500/qemu-ppce500.c |  3 ++-
> >  board/emulation/qemu-riscv/qemu-riscv.c     |  3 ++-
> >  board/highbank/highbank.c                   |  3 ++-
> >  board/raspberrypi/rpi/rpi.c                 |  8 ++++--
> >  board/sifive/unleashed/unleashed.c          |  3 ++-
> >  board/sifive/unmatched/unmatched.c          |  3 ++-
> >  board/socrates/socrates.c                   |  4 ++-
> >  board/xen/xenguest_arm64/xenguest_arm64.c   |  7 ++++--
> >  board/xilinx/common/board.c                 |  3 ++-
> >  configs/sandbox64_defconfig                 |  1 -
> >  configs/sandbox_defconfig                   |  1 -
> >  configs/sandbox_flattree_defconfig          |  1 -
> >  configs/sandbox_noinst_defconfig            |  1 -
> >  configs/sandbox_spl_defconfig               |  1 -
> >  configs/tools-only_defconfig                |  1 -
> >  doc/develop/devicetree/control.rst          |  7 +++---
> >  dts/Kconfig                                 | 10 +-------
> >  include/fdtdec.h                            |  4 ++-
> >  lib/fdtdec.c                                | 14 +++++------
> >  scripts/Makefile.spl                        |  4 +--
> >  31 files changed, 81 insertions(+), 69 deletions(-)
> >
> 
> For some reason this still does not apply for me on -master. Can you
> please confirm the hash you are using?

The hunk for scripts/Makefile.spl still fails (it failed on v3 as well),
but is easily fixed-up, fwiw.

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

  reply	other threads:[~2021-10-19 14:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-19 13:07 [PATCH v4] sandbox: Remove OF_HOSTFILE Ilias Apalodimas
2021-10-19 14:03 ` Simon Glass
2021-10-19 14:17   ` Tom Rini [this message]
2021-10-19 15:30     ` Ilias Apalodimas
2021-10-19 15:36       ` Tom Rini
2021-10-19 15:38         ` Ilias Apalodimas
2021-10-19 15:52           ` Simon Glass
2021-10-19 15:31     ` Simon Glass
2021-10-25 21:17 ` Tom Rini
2021-10-26  5:57   ` Ilias Apalodimas

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=20211019141733.GD7964@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=alpernebiyasak@gmail.com \
    --cc=andre.przywara@arm.com \
    --cc=ashe@kivikakk.ee \
    --cc=ashok.reddy.soma@xilinx.com \
    --cc=bmeng.cn@gmail.com \
    --cc=fitzsim@fitzsim.org \
    --cc=green.wan@sifive.com \
    --cc=hs@denx.de \
    --cc=hws@denx.de \
    --cc=iivanov@suse.de \
    --cc=ilias.apalodimas@linaro.org \
    --cc=jaeckel-floss@eyet-services.de \
    --cc=liviu.dudau@foss.arm.com \
    --cc=m.szyprowski@samsung.com \
    --cc=marek.behun@nic.cz \
    --cc=mbrugger@suse.com \
    --cc=monstr@monstr.eu \
    --cc=mr.nuke.me@gmail.com \
    --cc=nandor.han@vaisala.com \
    --cc=nsaenzjulienne@suse.de \
    --cc=p.yadav@ti.com \
    --cc=pali@kernel.org \
    --cc=patrice.chotard@foss.st.com \
    --cc=patrick.delaunay@foss.st.com \
    --cc=pbrobinson@gmail.com \
    --cc=priyanka.jain@nxp.com \
    --cc=rasmus.villemoes@prevas.dk \
    --cc=rfried.dev@gmail.com \
    --cc=rick@andestech.com \
    --cc=seanga2@gmail.com \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=sughosh.ganu@linaro.org \
    --cc=t.karthik.reddy@xilinx.com \
    --cc=takahiro.akashi@linaro.org \
    --cc=tharvey@gateworks.com \
    --cc=u-boot@lists.denx.de \
    --cc=uboot-stm32@st-md-mailman.stormreply.com \
    --cc=vladimir.oltean@nxp.com \
    --cc=wasim.khan@nxp.com \
    --cc=xypron.glpk@gmx.de \
    --cc=ycliang@andestech.com \
    --cc=zong.li@sifive.com \
    /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