Skip to contentSkip to conversation

gitlab: Fixes to get StarFive VisionFive2 into the sjg lab

PATCH In review Simon Glass 3 participants 5 messages Dec 16, 2024 – Jan 25, 2025

lore
Share & tools
lore
#0 lore raw

v2 cover gitlab: Fixes to get StarFive VisionFive2 into the sjg lab

This board fought valiantly against attempts to add it to my lab. After several hours of debugging, I found problems in the Labgrid integration (not included here), test.py and buildman

This series fixes these and the board now seems to be reliable enough.

Note that the board fails test_dm_compat

Changes in v2:
- Rename the board to vf2
- Add a comment about what the board is

Simon Glass (1):
gitlab: Add a StarFive VisionFive2 to the sjg lab

 .gitlab-ci.yml | 6 ++++++
 1 file changed, 6 insertions(+)
Signature · 1 line
2.34.1
#1 lore raw

PATCH v2 1/1 gitlab: Add a StarFive VisionFive2 to the sjg lab

I have one of these boards loaded with Ubuntu 24.10 (64-bit). Add an entry for it so that it can be used for testing.

---

Changes in v2:
- Rename the board to vf2
- Add a comment about what the board is

 .gitlab-ci.yml | 6 ++++++
 1 file changed, 6 insertions(+)
.gitlab-ci.yml +6 -0
index ffcf8532944..a17c1b0a366 100644
@@ -696,3 +696,9 @@ rpi:
   variables:
     ROLE: rpi
   <<: *lab_dfn
+
+# StarFive VisionFive 2
+vf2:
+  variables:
+    ROLE: vf2
+  <<: *lab_dfn
Signature · 1 line
2.34.1
Acked-by on v2 1/1
#2 lore raw

Re: [PATCH v2 1/1] gitlab: Add a StarFive VisionFive2 to the sjg lab

Am 17. Dezember 2024 00:38:53 MEZ schrieb Simon Glass <[email protected]>:

Quoted 4 lines

I have one of these boards loaded with Ubuntu 24.10 (64-bit). Add an entry for it so that it can be used for testing.

.gitlab-ci.yml supports an include statement.
Maybe it would make sense to move the lab definitions for lab_dfn into an include.

Such a file could be conditionally included:

include:
- local: 'lab_dfn.yml'
rules:
- if: '$LAB == "dfn"'

Cf. https://docs.gitlab.com/ee/ci/yaml/index.html

For the current patch

Quoted 23 lines

---

Changes in v2:
- Rename the board to vf2
- Add a comment about what the board is

.gitlab-ci.yml | 6 ++++++

1 file changed, 6 insertions(+)
.gitlab-ci.yml +6 -0
index ffcf8532944..a17c1b0a366 100644
@@ -696,3 +696,9 @@ rpi:
  variables:
    ROLE: rpi
  <<: *lab_dfn
+
+# StarFive VisionFive 2
+vf2:
+  variables:
+    ROLE: vf2
+  <<: *lab_dfn
#3 lore raw

Re: [PATCH v2 1/1] gitlab: Add a StarFive VisionFive2 to the sjg lab

Hi Heinrich,

Quoted 10 lines · Heinrich Schuchardt

Am 17. Dezember 2024 00:38:53 MEZ schrieb Simon Glass <[email protected]>:

Quoted 4 lines

I have one of these boards loaded with Ubuntu 24.10 (64-bit). Add an entry for it so that it can be used for testing.

.gitlab-ci.yml supports an include statement.
Maybe it would make sense to move the lab definitions for lab_dfn into an include.

Quoted 9 lines

Such a file could be conditionally included:

include:
- local: 'lab_dfn.yml'
rules:
- if: '$LAB == "dfn"'

Cf. https://docs.gitlab.com/ee/ci/yaml/index.html

Yes, it would be a bit cleaner to have an include file, but it should not be conditional. Tom is missing a patch.

Quoted 5 lines

For the current patch

Thanks

Quoted 11 lines
Quoted 11 lines

---

Changes in v2:
- Rename the board to vf2
- Add a comment about what the board is

.gitlab-ci.yml | 6 ++++++

1 file changed, 6 insertions(+)
Quoted 15 lines
Quoted 5 lines
.gitlab-ci.yml +0 -0
index ffcf8532944..a17c1b0a366 100644

.gitlab-ci.yml rpi: · line 704

Quoted 9 lines
.gitlab-ci.yml +6 -0
@@ -696,3 +696,9 @@ rpi:
  variables:
    ROLE: rpi
  <<: *lab_dfn
+
+# StarFive VisionFive 2
+vf2:
+  variables:
+    ROLE: vf2
+  <<: *lab_dfn

Regards,
Simon

#4 lore raw

Re: (subset) [PATCH v2 0/1] gitlab: Fixes to get StarFive VisionFive2 into the sjg lab

In reply to Simon Glass
Quoted 9 lines · Simon Glass

This board fought valiantly against attempts to add it to my lab. After several hours of debugging, I found problems in the Labgrid integration (not included here), test.py and buildman

This series fixes these and the board now seems to be reliable enough.

Note that the board fails test_dm_compat

[...]

Applied to u-boot/master, thanks!

Signature · 1 line
Tom