Skip to contentSkip to conversation

sandbox: Add a build without CMDLINE

PATCH In review Simon Glass 2 participants 3 messages Nov 2, 2024 – Nov 13, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 sandbox: Add a build without CMDLINE

Sometimes this breaks, so add a build to keep it working. Since sandbox enables a lot of options, it is a good board to use. The new config is created simply by copying the existing sandbox and turning off CMDLINE

Once we have tests for non-CMDLINE operation, this can be adjusted to run those tests.

Create a new build which will be picked up by CI. Update the maintainer entry as well.

---

Changes in v3:
- Use #include in the defconfig
- Fix 'Something' typo

Changes in v2:
- Create a new build instead of messing with CI

 MAINTAINERS                         | 1 +
 configs/sandbox_nocmdline_defconfig | 2 ++
 2 files changed, 3 insertions(+)
 create mode 100644 configs/sandbox_nocmdline_defconfig
MAINTAINERS +1 -0
index df046192ea0..c7044220452 100644
@@ -1544,6 +1544,7 @@ SANDBOX
 M:	Simon Glass <[email protected]>
 S:	Maintained
 F:	arch/sandbox/
+F:	configs/sandbox*
 F:	doc/arch/sandbox.rst
 F:	drivers/*/*sandbox*.c
 F:	include/dt-bindings/*/sandbox*.h
configs/sandbox_nocmdline_defconfig new file +2 -0
new file mode 100644
index 00000000000..03173113fd5
@@ -0,0 +1,2 @@
+#include "sandbox_defconfig"
+# CONFIG_CMDLINE is not set
Signature · 1 line
2.43.0
Reviewed-by on v3 1/1
#1 lore raw
Quoted 11 lines · Simon Glass

Sometimes this breaks, so add a build to keep it working. Since sandbox enables a lot of options, it is a good board to use. The new config is created simply by copying the existing sandbox and turning off CMDLINE

Once we have tests for non-CMDLINE operation, this can be adjusted to run those tests.

Create a new build which will be picked up by CI. Update the maintainer entry as well.

Note that a handy follow-up would be to use the "N" syntax that MAINTAINERS supports and just glob all sandbox stuff that way.

Signature · 1 line
Tom
#2 lore raw
In reply to Simon Glass
Quoted 8 lines · Simon Glass

Sometimes this breaks, so add a build to keep it working. Since sandbox enables a lot of options, it is a good board to use. The new config is created simply by copying the existing sandbox and turning off CMDLINE

Once we have tests for non-CMDLINE operation, this can be adjusted to run those tests.

[...]

Applied to u-boot/master, thanks!

Signature · 1 line
Tom