DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [DistroKit] [PATCH 3/5] v7a: barebox: clean up defaultenvs
Date: Mon, 26 Apr 2021 08:05:24 +0200	[thread overview]
Message-ID: <20210426060526.32029-3-rhi@pengutronix.de> (raw)
In-Reply-To: <20210426060526.32029-1-rhi@pengutronix.de>

* The 9p bootsource is only available for qemu-vexpress
* The bootstate entries were never evaluated because the system0 and
  system1 partitions were never set up on any boards

Remove all unneeded variables to keep the defaultenvs lean.

Fixes: ef189b9c3e0c9e3fed89 (2017-07-03, "platform-v7a: rpi2: create own rpi2 barebox defaultenv")
Fixes: 785275ccb99d60da8abb (2017-07-03, "platform-v72: mx6: create own mx6 barebox defaultenv")
Fixes: 26f5cf36862014ee9975 (2017-07-03, "platform-v7a: am335x: create own barebox defaultenv")
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 configs/platform-v7a/barebox-am335x-defaultenv/boot/9p | 10 ----------
 configs/platform-v7a/barebox-mx6-defaultenv/boot/9p    | 10 ----------
 configs/platform-v7a/barebox-rpi2-defaultenv/boot/9p   | 10 ----------
 .../nv/bootstate.system0.priority                      |  1 -
 .../nv/bootstate.system1.priority                      |  1 -
 5 files changed, 32 deletions(-)
 delete mode 100644 configs/platform-v7a/barebox-am335x-defaultenv/boot/9p
 delete mode 100644 configs/platform-v7a/barebox-mx6-defaultenv/boot/9p
 delete mode 100644 configs/platform-v7a/barebox-rpi2-defaultenv/boot/9p
 delete mode 100644 configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootstate.system0.priority
 delete mode 100644 configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootstate.system1.priority

diff --git a/configs/platform-v7a/barebox-am335x-defaultenv/boot/9p b/configs/platform-v7a/barebox-am335x-defaultenv/boot/9p
deleted file mode 100644
index 264ffeca3e69..000000000000
--- a/configs/platform-v7a/barebox-am335x-defaultenv/boot/9p
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-addpart /dev/nor0 "8M@32M(kernel)"
-addpart /dev/nor0 "512k@40M(dtb)"
-global.bootm.image="/dev/nor0.kernel"
-global.bootm.oftree="/dev/nor0.dtb"
-
-global linux.bootargs.base="console=ttyAMA0,115200 loglevel=5 ptxdist-devel"
-
-global linux.bootargs.root="root=/dev/root rootfstype=9p rootflags=trans=virtio"
\ No newline at end of file
diff --git a/configs/platform-v7a/barebox-mx6-defaultenv/boot/9p b/configs/platform-v7a/barebox-mx6-defaultenv/boot/9p
deleted file mode 100644
index 264ffeca3e69..000000000000
--- a/configs/platform-v7a/barebox-mx6-defaultenv/boot/9p
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-addpart /dev/nor0 "8M@32M(kernel)"
-addpart /dev/nor0 "512k@40M(dtb)"
-global.bootm.image="/dev/nor0.kernel"
-global.bootm.oftree="/dev/nor0.dtb"
-
-global linux.bootargs.base="console=ttyAMA0,115200 loglevel=5 ptxdist-devel"
-
-global linux.bootargs.root="root=/dev/root rootfstype=9p rootflags=trans=virtio"
\ No newline at end of file
diff --git a/configs/platform-v7a/barebox-rpi2-defaultenv/boot/9p b/configs/platform-v7a/barebox-rpi2-defaultenv/boot/9p
deleted file mode 100644
index 264ffeca3e69..000000000000
--- a/configs/platform-v7a/barebox-rpi2-defaultenv/boot/9p
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-
-addpart /dev/nor0 "8M@32M(kernel)"
-addpart /dev/nor0 "512k@40M(dtb)"
-global.bootm.image="/dev/nor0.kernel"
-global.bootm.oftree="/dev/nor0.dtb"
-
-global linux.bootargs.base="console=ttyAMA0,115200 loglevel=5 ptxdist-devel"
-
-global linux.bootargs.root="root=/dev/root rootfstype=9p rootflags=trans=virtio"
\ No newline at end of file
diff --git a/configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootstate.system0.priority b/configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootstate.system0.priority
deleted file mode 100644
index f599e28b8ab0..000000000000
--- a/configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootstate.system0.priority
+++ /dev/null
@@ -1 +0,0 @@
-10
diff --git a/configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootstate.system1.priority b/configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootstate.system1.priority
deleted file mode 100644
index 209e3ef4b624..000000000000
--- a/configs/platform-v7a/barebox-rpi2-defaultenv/nv/bootstate.system1.priority
+++ /dev/null
@@ -1 +0,0 @@
-20
-- 
2.29.2


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de


  parent reply	other threads:[~2021-04-26  6:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-26  6:05 [DistroKit] [PATCH 1/5] v7a: image-vexpress: convert hex numbers to human-readable sizes Roland Hieber
2021-04-26  6:05 ` [DistroKit] [PATCH 2/5] v7a: images: remove redundant size specifications Roland Hieber
2021-04-26  6:35   ` Robert Schwebel
2021-04-26  6:05 ` Roland Hieber [this message]
2021-04-26  6:36   ` [DistroKit] [PATCH 3/5] v7a: barebox: clean up defaultenvs Robert Schwebel
2021-04-26  6:05 ` [DistroKit] [PATCH 4/5] v7a: run: remove telnet port forwarding Roland Hieber
2021-04-26  6:36   ` Robert Schwebel
2021-04-26  6:05 ` [DistroKit] [PATCH 5/5] v7a: run: randomise the SSH forwarding port Roland Hieber
2021-04-26  6:33   ` Michael Olbrich
2021-04-26  8:30     ` Roland Hieber
2021-04-26  8:35       ` [DistroKit] [PATCH v2] " Roland Hieber
2021-04-26  9:02         ` Robert Schwebel
2021-04-26  9:03           ` Robert Schwebel
2021-04-26 10:07   ` [DistroKit] [PATCH v3] v7a: run: make the SSH forwarding port multiprocess-compatible Roland Hieber
2021-04-26 10:09     ` Robert Schwebel
2021-04-26  6:35 ` [DistroKit] [PATCH 1/5] v7a: image-vexpress: convert hex numbers to human-readable sizes 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=20210426060526.32029-3-rhi@pengutronix.de \
    --to=rhi@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