DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [DistroKit] [RESEND][PATCH v1 4/6] v7a_noneon: barebox: enable of_diff command
Date: Wed, 14 Aug 2024 11:32:07 +0200	[thread overview]
Message-ID: <20240814093207.606528-5-rhi@pengutronix.de> (raw)
In-Reply-To: <20240814093207.606528-1-rhi@pengutronix.de>

From: Ahmad Fatoum <a.fatoum@pengutronix.de>

The of_diff command shows a diff over the fixups barebox would do to the
device tree when booting and is very useful to see at a glance, things
like fixed up bootsource or memory size. Enable it for all v7a_noneon boards.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 configs/platform-v7a_noneon/barebox-at91.config          | 2 +-
 configs/platform-v7a_noneon/barebox-at91.config.diff     | 1 +
 configs/platform-v7a_noneon/barebox-vexpress.config      | 2 +-
 configs/platform-v7a_noneon/barebox-vexpress.config.diff | 1 +
 4 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/configs/platform-v7a_noneon/barebox-at91.config b/configs/platform-v7a_noneon/barebox-at91.config
index 4e0c69761551..b30bdcf9d242 100644
--- a/configs/platform-v7a_noneon/barebox-at91.config
+++ b/configs/platform-v7a_noneon/barebox-at91.config
@@ -443,7 +443,7 @@ CONFIG_CMD_BAREBOX_UPDATE=y
 # CONFIG_CMD_FIRMWARELOAD is not set
 # CONFIG_CMD_KALLSYMS is not set
 # CONFIG_CMD_OF_COMPATIBLE is not set
-# CONFIG_CMD_OF_DIFF is not set
+CONFIG_CMD_OF_DIFF=y
 CONFIG_CMD_OF_DUMP=y
 CONFIG_CMD_OF_NODE=y
 CONFIG_CMD_OF_PROPERTY=y
diff --git a/configs/platform-v7a_noneon/barebox-at91.config.diff b/configs/platform-v7a_noneon/barebox-at91.config.diff
index 36e17449b38f..230e6ddd1a2e 100644
--- a/configs/platform-v7a_noneon/barebox-at91.config.diff
+++ b/configs/platform-v7a_noneon/barebox-at91.config.diff
@@ -38,6 +38,7 @@ CONFIG_CMD_AT91_BOOT_TEST=y
 CONFIG_CMD_NAND=y
 # CONFIG_CMD_NANDTEST is not set
 # CONFIG_CMD_NAND_BITFLIP is not set
+CONFIG_CMD_OF_DIFF=y
 # CONFIG_CMD_OF_FIXUP_STATUS is not set
 # CONFIG_CMD_OF_OVERLAY is not set
 # CONFIG_CMD_PARTITION is not set
diff --git a/configs/platform-v7a_noneon/barebox-vexpress.config b/configs/platform-v7a_noneon/barebox-vexpress.config
index f1cde1c36f14..1027f0356e7a 100644
--- a/configs/platform-v7a_noneon/barebox-vexpress.config
+++ b/configs/platform-v7a_noneon/barebox-vexpress.config
@@ -419,7 +419,7 @@ CONFIG_CMD_BAREBOX_UPDATE=y
 # CONFIG_CMD_FIRMWARELOAD is not set
 # CONFIG_CMD_KALLSYMS is not set
 # CONFIG_CMD_OF_COMPATIBLE is not set
-# CONFIG_CMD_OF_DIFF is not set
+CONFIG_CMD_OF_DIFF=y
 CONFIG_CMD_OF_DUMP=y
 CONFIG_CMD_OF_NODE=y
 CONFIG_CMD_OF_PROPERTY=y
diff --git a/configs/platform-v7a_noneon/barebox-vexpress.config.diff b/configs/platform-v7a_noneon/barebox-vexpress.config.diff
index dd842cf761df..5fb3e8147b88 100644
--- a/configs/platform-v7a_noneon/barebox-vexpress.config.diff
+++ b/configs/platform-v7a_noneon/barebox-vexpress.config.diff
@@ -8,6 +8,7 @@ CONFIG_ARCH_VEXPRESS=y
 # CONFIG_CFI_BUFFER_WRITE is not set
 # CONFIG_CLOCKSOURCE_BCM283X is undefined
 # CONFIG_CMD_GPIO is undefined
+CONFIG_CMD_OF_DIFF=y
 # CONFIG_CMD_SMC is undefined
 # CONFIG_CONSOLE_ACTIVATE_FIRST is not set
 CONFIG_CONSOLE_ACTIVATE_NONE=y
-- 
2.39.2




  parent reply	other threads:[~2024-08-14  9:33 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-14  9:32 [DistroKit] [RESEND][PATCH v1 0/6] v7a_noneon: barebox update Roland Hieber
2024-08-14  9:32 ` [DistroKit] [RESEND][PATCH v1 1/6] v7a_noneon: barebox: update to v2024.07.0 Roland Hieber
2024-08-14  9:32 ` [DistroKit] [RESEND][PATCH v1 2/6] v7a_noneon: barebox: don't activate all consoles by default Roland Hieber
2024-08-14  9:32 ` [DistroKit] [RESEND][PATCH v1 3/6] v7a_noneon: barebox: use ARM-optimized routines where appropriate Roland Hieber
2024-08-14  9:32 ` Roland Hieber [this message]
2024-08-14  9:32 ` [DistroKit] [RESEND][PATCH v1 5/6] v7a_noneon: generate vexpress.norimg by default Roland Hieber
2024-08-14  9:32 ` [DistroKit] [RESEND][PATCH v1 6/6] v7a_noneon: run: really constrain the forwarded SSH port to <= 64000 Roland Hieber
2024-08-14 10:03 ` [DistroKit] [RESEND][PATCH v1 0/6] v7a_noneon: barebox update Robert Schwebel

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=20240814093207.606528-5-rhi@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=distrokit@pengutronix.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