Skip to contentSkip to conversation

manual: board support: add instructions to test defconfig in the official docker

PATCH Applied Giulio Benetti 3 participants 3 messages Feb 19, 2022 – Mar 7, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 manual: board support: add instructions to test defconfig in the official docker

Sometimes new boards have not been tested with official docker so let's add instructions to do it with utils/docker-run.

---
V1->V2:
* use the available utils/docker-run
* improve explanation as suggested by Luca Ceresoli

---
 docs/manual/adding-board-support.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
docs/manual/adding-board-support.txt +8 -0
index 33ed709535..074bab7a00 100644
@@ -46,3 +46,11 @@ 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 is recommended to test it by
+building it using latest gitlab-CI docker container. To do this use
+utils/docker-run script and inside it hint:
+--------------------
+ $ make +<boardname>_defconfig+
+ $ make
+--------------------
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by on v2 1/1
#1 lore raw

Hi Giulio,

Quoted 18 lines · Giulio Benetti

Sometimes new boards have not been tested with official docker so let's add instructions to do it with utils/docker-run.

---
V1->V2:
* use the available utils/docker-run
* improve explanation as suggested by Luca Ceresoli

---
 docs/manual/adding-board-support.txt | 8 ++++++++
 1 file changed, 8 insertions(+)
docs/manual/adding-board-support.txt +0 -0
index 33ed709535..074bab7a00 100644

docs/manual/adding-board-support.txt create a directory +board/<manufacturer>+ and a subdirectory · line 52

Quoted 7 lines
docs/manual/adding-board-support.txt +4 -0
@@ -46,3 +46,11 @@ 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 is recommended to test it by
+building it using latest gitlab-CI docker container. To do this use
+utils/docker-run script and inside it hint:

Not sure the verb 'hint' is the correct one. I would expect "type" or "issue these commands" or similar.

docs/manual/adding-board-support.txt create a directory +board/<manufacturer>+ and a subdirectory · line 56

Quoted 4 lines
docs/manual/adding-board-support.txt +4 -0
+--------------------
+ $ make +<boardname>_defconfig+
+ $ make
+--------------------

With that fixed:

Signature · 5 lines
Luca
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Giulio Benetti
Quoted 5 lines · Giulio Benetti

Sometimes new boards have not been tested with official docker so let's add instructions to do it with utils/docker-run.

Applied to master with Luca's improvement, thanks.

Regards,
Arnout

Quoted 14 lines

---
V1->V2:
* use the available utils/docker-run
* improve explanation as suggested by Luca Ceresoli

---
  docs/manual/adding-board-support.txt | 8 ++++++++
  1 file changed, 8 insertions(+)
docs/manual/adding-board-support.txt +0 -0
index 33ed709535..074bab7a00 100644
@@ -46,3 +46,11 @@ create a directory +board/<manufacturer>+ and a subdirectory
  +board/<manufacturer>/<boardname>+. You can then store your patches

docs/manual/adding-board-support.txt create a directory +board/<manufacturer>+ and a subdirectory · line 56

Quoted 10 lines
docs/manual/adding-board-support.txt +8 -0
  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 is recommended to test it by
+building it using latest gitlab-CI docker container. To do this use
+utils/docker-run script and inside it hint:
+--------------------
+ $ make +<boardname>_defconfig+
+ $ make
+--------------------

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot