All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] manual: board support: add instructions to test defconfig in the official docker
@ 2022-02-03 23:54 Giulio Benetti
  2022-02-12 22:56 ` Luca Ceresoli
  2022-02-14  7:57 ` Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 8+ messages in thread
From: Giulio Benetti @ 2022-02-03 23:54 UTC (permalink / raw)
  To: buildroot; +Cc: Giulio Benetti, Thomas De Schampheleire

Often new boards have not been tested with official docker so let's add
instructions to do it.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 docs/manual/adding-board-support.txt | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/docs/manual/adding-board-support.txt b/docs/manual/adding-board-support.txt
index 33ed709535..f5fb3af371 100644
--- a/docs/manual/adding-board-support.txt
+++ b/docs/manual/adding-board-support.txt
@@ -46,3 +46,25 @@ create a directory +board/<manufacturer>+ and a subdirectory
 +board/<manufacturer>/<boardname>+. You can then store your patches
 and configurations in these directories, and reference them from the main
 Buildroot configuration. Refer to xref:customize[] for more details.
+
+Before submitting patches for new boards it would be better to test it
+by building it using .gitlab-ci.yml specified docker. For example at the
+time of this writing the docker is:
+$CI_REGISTRY/buildroot.org/buildroot/base:20220105.2314
+so:
+Pull the docker:
+--------------------
+ $ docker pull registry.gitlab.com/buildroot.org/buildroot/base:20220105.2314
+--------------------
+Run the docker:
+--------------------
+ $ sudo docker run -it registry.gitlab.com/buildroot.org/buildroot/base:20220105.2314 /bin/bash
+--------------------
+Inside the docker hint:
+--------------------
+ $ git clone git://git.busybox.net/buildroot
+ $ cd buildroot
+ $ make +<boardname>_defconfig+
+ $ make
+--------------------
+Wait until build finishes and eventually add host dependencies.
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-02-15  2:17 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-03 23:54 [Buildroot] [PATCH] manual: board support: add instructions to test defconfig in the official docker Giulio Benetti
2022-02-12 22:56 ` Luca Ceresoli
2022-02-13 10:39   ` Arnout Vandecappelle
2022-02-13 23:35     ` Giulio Benetti
2022-02-14 12:16       ` Luca Ceresoli
2022-02-15  0:49         ` Giulio Benetti
2022-02-15  2:17           ` Giulio Benetti
2022-02-14  7:57 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.