Hello, I recently tried to get Tumbleweed running on the VisionFive2 according to https://en.opensuse.org/HCL:VisionFive2 and https://www.youtube.com/watch?v=qrly2gV-wMA with no luck. Flashed the openSUSE-Tumbleweed-RISC-V-JeOS-starfivevisionfive2.riscv64-2023.10.11-Build21.81.raw.xz file to a SD Card and booted the device - The RGPIO bins are in the correct configuration only to discover ... Nothing. Admittedly I haven't attached a UART terminal adapter, but assumed that or the HDMI output shows something or the device would appear on the network. It didn't either, so I assume the image simply won't work, or I am doing something fundamentally wrong. Has anyone had any luck in getting Tumbleweed running on a VisionFive2 already? Best, phoenix
Hi Felix!
On Wed, 20 Dec 2023 08:53:27 +0100
Felix Niederwanger
Hello,
I recently tried to get Tumbleweed running on the VisionFive2 according to https://en.opensuse.org/HCL:VisionFive2 and https://www.youtube.com/watch?v=qrly2gV-wMA with no luck.
Flashed the openSUSE-Tumbleweed-RISC-V-JeOS-starfivevisionfive2.riscv64-2023.10.11-Build21.81.raw.xz file to a SD Card and booted the device - The RGPIO bins are in the Well, are you sure? ;)
correct configuration only to discover ... Nothing.
Admittedly I haven't attached a UART terminal adapter, but assumed that or the HDMI output shows something or the device would appear on the network. It didn't either, so I assume the image simply won't work, or I am doing something fundamentally wrong.
Yes, video output is the current WiP, UART is the way to go for now. The 40-pin GPIO is RasPi-compatible in that respect...
Has anyone had any luck in getting Tumbleweed running on a VisionFive2 already?
I'm currently having probs with my SD card or the connector, so I'm not sure, but in principle, by now the VF2 should even run with an unmodified TW kernel. Just make sure you boot using the latest U-Boot Andreas Schwab has crafted in that project and use the serial and you should be fine. (The image you mention above has the right U-Boot). The RGPIO DIP switches pull their respective signal LOW(!) against a pull-up resistor, so "ON" means zero. HTH, Torsten
Hello Torsten! Thanks for the input. Quick question - did your device have network working? Your reply suggests that UART is the only way to interact with the system, as HDMI is not working, but mine also doesn't show up on my network that's why I'm asking. See also the reply below! On 12/21/23 17:23, Torsten Duwe wrote:
Hi Felix!
On Wed, 20 Dec 2023 08:53:27 +0100 Felix Niederwanger
wrote: Hello,
I recently tried to get Tumbleweed running on the VisionFive2 according to https://en.opensuse.org/HCL:VisionFive2 and https://www.youtube.com/watch?v=qrly2gV-wMA with no luck.
Flashed the openSUSE-Tumbleweed-RISC-V-JeOS-starfivevisionfive2.riscv64-2023.10.11-Build21.81.raw.xz file to a SD Card and booted the device - The RGPIO bins are in the Well, are you sure? ;)
It works with the Debian image from the SD-Card, so I assume they are right.
correct configuration only to discover ... Nothing.
Admittedly I haven't attached a UART terminal adapter, but assumed that or the HDMI output shows something or the device would appear on the network. It didn't either, so I assume the image simply won't work, or I am doing something fundamentally wrong.
Yes, video output is the current WiP, UART is the way to go for now. The 40-pin GPIO is RasPi-compatible in that respect...
Did you manage to get the Network running? I don't see the VisionFive2 on my home network appearing as well.
Has anyone had any luck in getting Tumbleweed running on a VisionFive2 already?
I'm currently having probs with my SD card or the connector, so I'm not sure, but in principle, by now the VF2 should even run with an unmodified TW kernel. Just make sure you boot using the latest U-Boot Andreas Schwab has crafted in that project and use the serial and you should be fine. (The image you mention above has the right U-Boot).
The RGPIO DIP switches pull their respective signal LOW(!) against a pull-up resistor, so "ON" means zero.
Yes, that was confusing and you rightfully point out to check this setting again and again. I now am fairly confident I have it right because I can boot Debian, but this is indeed a trap.
HTH, Torsten
Best, phoenix
On Fri, 22 Dec 2023 10:50:57 +0100
Felix Niederwanger
Hello Torsten!
Thanks for the input. Quick question - did your device have network working?
Yes. But I have a HW rev v1.3B (the current one), where the default DT matches the GbE interfaces. Andreas had to struggle with his early v1.2A which has 1 GbE and one 10/100, _both_ set up slightly differently from the 1.3B. But the latest U-Boot (2024.01-rcX) is supposed to handle this now, finally.
It works with the Debian image from the SD-Card, so I assume they are right.
Caution! IIRC my board came with an old U-Boot in the QSPI, which perfectly ran the old downstream debian I tried. The DT it provides is far outdated and will *not* work with a recent upstream kernel!
The RGPIO DIP switches pull their respective signal LOW(!) against a pull-up resistor, so "ON" means zero.
Yes, that was confusing and you rightfully point out to check this setting again and again. I now am fairly confident I have it right because I can boot Debian, but this is indeed a trap.
IIRC the downstream debian also supported a heartbeat-LED? Anyway, please do yourself a favour and attach a TTL UART! Pins 6, 8, and 10 on the 40-pin are GND, TX and RX. https://doc-en.rvspace.org/VisionFive2/40-Pin_GPIO_Header_UG/VisionFive2_40p... 115200Bd and we don't have to speculate any longer. Torsten
Hey people, just as a follow up, after several failed attempts I managed to get Tumbleweed running in the last months. Key takeaway: One needs to update the boot images. Once that is done, the board should boot the provided Tumbleweed images, assuming that they work. I needed three builds before it booted due to an annoying kernel panic in two builds. Build openSUSE-Tumbleweed-RISC-V-JeOS-starfivevisionfive2.riscv64-2024.01.16-Build23.10.raw.xz finally did the job. I've updated https://en.opensuse.org/VisionFive2:Tips to incorporate my lessons learned - hope that some geekos might find it useful :-) One thing still bothers me though: The image contains the 'openSUSE-Tumbleweed-Update' repository which points to a non-existing URL (404): Retrieving repository 'openSUSE-Tumbleweed-Update' metadata ....[error] Repository 'openSUSE-Tumbleweed-Update' is invalid. [repo-update|http://download.opensuse.org/ports/riscv/update/tumbleweed/] Valid metadata not found at specified URL History: - [repo-update|http://download.opensuse.org/ports/riscv/update/tumbleweed/] Repository type can't be determined. Is this intentional and the content is not provided or should this repository perhaps not be there? Best, phoenix On 12/22/23 12:36, Torsten Duwe wrote:
On Fri, 22 Dec 2023 10:50:57 +0100 Felix Niederwanger
wrote: Hello Torsten!
Thanks for the input. Quick question - did your device have network working?
Yes. But I have a HW rev v1.3B (the current one), where the default DT matches the GbE interfaces. Andreas had to struggle with his early v1.2A which has 1 GbE and one 10/100, _both_ set up slightly differently from the 1.3B. But the latest U-Boot (2024.01-rcX) is supposed to handle this now, finally.
It works with the Debian image from the SD-Card, so I assume they are right.
Caution! IIRC my board came with an old U-Boot in the QSPI, which perfectly ran the old downstream debian I tried. The DT it provides is far outdated and will *not* work with a recent upstream kernel!
The RGPIO DIP switches pull their respective signal LOW(!) against a pull-up resistor, so "ON" means zero.
Yes, that was confusing and you rightfully point out to check this setting again and again. I now am fairly confident I have it right because I can boot Debian, but this is indeed a trap.
IIRC the downstream debian also supported a heartbeat-LED?
Anyway, please do yourself a favour and attach a TTL UART! Pins 6, 8, and 10 on the 40-pin are GND, TX and RX.
https://doc-en.rvspace.org/VisionFive2/40-Pin_GPIO_Header_UG/VisionFive2_40p...
115200Bd and we don't have to speculate any longer.
Torsten
participants (2)
-
Felix Niederwanger
-
Torsten Duwe