← Back to team overview

kubuntu-council team mailing list archive

[Merge] ~xypron/ubuntu-manual-tests:visionfive2 into ubuntu-manual-tests:main

 

Heinrich Schuchardt has proposed merging ~xypron/ubuntu-manual-tests:visionfive2 into ubuntu-manual-tests:main.

Commit message:
riscv: Add testcase for StarFive VisionFive 2

Requested reviews:
  Brian Murray (brian-murray)

For more details, see:
https://code.launchpad.net/~xypron/ubuntu-manual-tests/+git/ubuntu-manual-tests/+merge/440491

riscv: correct ttyUSB device

VisonFive, Nezha D1, and LicheeRV use a single UART. When using a TTL to
USB converted this typically is shown as /dev/ttyUSB0.


riscv: Add testcase for StarFive VisionFive 2

A new testcase is added.
-- 
Your team Ubuntu Testcase Admins is subscribed to branch ubuntu-manual-tests:main.
diff --git a/testcases/image/1754_Install VisionFive b/testcases/image/1754_Install VisionFive
index 3294484..9e9efd7 100755
--- a/testcases/image/1754_Install VisionFive
+++ b/testcases/image/1754_Install VisionFive
@@ -8,7 +8,7 @@ The scope of this test is to ensure that riscv64+visionfive image boots from SD 
         <dd>Ethernet cable for networking</dd>
         <dd>FTDI adapter for serial console (pinout available here: https://rvspace.org/en/Product/VisionFive/Technical_Documents/VisionFive_Single_Board_Computer_Quick_Start_Guide)</dd>
     <dt>Connect to the serial console</dt>
-        <dd>sudo screen /dev/ttyUSB1 115200</dd>
+        <dd>sudo screen /dev/ttyUSB0 115200</dd>
     <dt>Power on the board</dt>
         <dd>You should see U-BOOT menu</dd>
         <dd>It should then boot GRUB after a delay</dd>
diff --git a/testcases/image/1755_Install Nezha b/testcases/image/1755_Install Nezha
index 9d1d5be..677d1ad 100755
--- a/testcases/image/1755_Install Nezha
+++ b/testcases/image/1755_Install Nezha
@@ -8,7 +8,7 @@ The scope of this test is to ensure that riscv64+nezha image boots from SD card 
         <dd>Ethernet cable for networking</dd>
         <dd>FTDI adapter for serial console (pinout available here: https://linuxgizmos.com/files/rvboards_nezha_detail.jpg)</dd>
     <dt>Connect to the serial console</dt>
-        <dd>sudo screen /dev/ttyUSB1 115200</dd>
+        <dd>sudo screen /dev/ttyUSB0 115200</dd>
     <dt>Power on the board</dt>
         <dd>You should see U-BOOT menu</dd>
         <dd>It should then boot GRUB after a delay</dd>
diff --git a/testcases/image/1756_Install LicheeRV b/testcases/image/1756_Install LicheeRV
index 18cf8f7..416cccb 100755
--- a/testcases/image/1756_Install LicheeRV
+++ b/testcases/image/1756_Install LicheeRV
@@ -7,7 +7,7 @@ The scope of this test is to ensure that riscv64+licheerv image boots from SD ca
     <dt>Connect serial console to the board</dt>
         <dd>FTDI adapter for serial console (pinout available here: https://popolon.org/depots/RISC-V/D1/LicheeRV/dl.sipeed.com/Lichee_RV_Dock/1_Datasheet/Sipeed%20Lichee%20RV%20DOCK%20Datasheet%20V1.0.pdf)</dd>
     <dt>Connect to the serial console</dt>
-        <dd>sudo screen /dev/ttyUSB1 115200</dd>
+        <dd>sudo screen /dev/ttyUSB0 115200</dd>
     <dt>Power on the board</dt>
         <dd>You should see U-BOOT menu</dd>
         <dd>It should then boot GRUB after a delay</dd>
diff --git a/testcases/image/1780_Install VisionFive 2 b/testcases/image/1780_Install VisionFive 2
new file mode 100755
index 0000000..640df46
--- /dev/null
+++ b/testcases/image/1780_Install VisionFive 2
@@ -0,0 +1,38 @@
+The scope of this test is to ensure that riscv64+visionfive2 image boots from SD card on StarFive VisionFive 2 board
+
+<dl>
+    <dt>Flash downloaded image onto SD card</dt>
+        <dd>You can use Gnome Disks app to restore img.xz onto the SD card</dd>
+        <dd>Alternatively you can use xz -d to decompress, and then dd to copy the image to the SD card</dd>
+    <dt>Connect networking, serial console to the board</dt>
+        <dd>Ethernet cable for networking</dd>
+        <dd>FTDI adapter for serial console (pinout available here: https://rvspace.org/en/Product/VisionFive/Technical_Documents/VisionFive_Single_Board_Computer_Quick_Start_Guide)</dd>
+    <dt>Connect to the serial console</dt>
+        <dd>sudo screen /dev/ttyUSB0 115200</dd>
+    <dt>Power on the board</dt>
+        <dd>You should see U-BOOT output</dd>
+        <dd>It should then boot GRUB after a delay</dd>
+        <dd>You should see GRUB menu</dd>
+        <dd>It should then boot the default kernel after a delay</dd>
+        <dd>After a while cloud-init will run</dd>
+	<dd>Wait for the 'Cloud-init finished' message</dd>
+        <dd>Then one will be able to login</dd>
+    <dt>Login and change password</dt>
+        <dd>Login using ubuntu for both username and password</dd>
+        <dd>Reenter ubuntu password again</dd>
+        <dd>Set new password</dd>
+        <dd>Confirm the new password</dd>
+    <dt>Perform generic testing</dt>
+        <dd>Check that apt update works</dd>
+        <dd>Run any command that is not installed, check that command-not-found recommends things to install</dd>
+        <dd>e.g. hello</dd>
+        <dd>Install a package and check that it works, e.g. hello</dd>
+    <dt>Reboot</dt>
+        <dd>The board should reboot normally</dt>
+    <dt>Poweroff</dt>
+        <dd>Console messages should reach poweroff target</dd>
+        <dd>There should be final kernel dmsg powering off</dd>
+        <dd>Manually turn power-off from the board</dd>
+</dl>
+<strong>If all actions produce the expected results listed, please <a href="results#add_result">submit</a> a 'passed' result.
+    If an action fails, or produces an unexpected result, please <a href="results#add_result">submit</a> a 'failed' result and <a href="../../buginstructions">file a bug</a>. Please be sure to include the bug number when you <a href="results#add_result">submit</a> your result.</strong>

Follow ups