{"id":331,"date":"2023-08-01T12:42:26","date_gmt":"2023-08-01T07:12:26","guid":{"rendered":"https:\/\/hill9.org\/journal\/?p=331"},"modified":"2024-12-05T13:11:47","modified_gmt":"2024-12-05T07:41:47","slug":"risc-v-unboxing-and-setting-up-visionfive-2-developer-board","status":"publish","type":"post","link":"https:\/\/hill9.org\/journal\/2023\/08\/01\/risc-v-unboxing-and-setting-up-visionfive-2-developer-board\/","title":{"rendered":"RISC-V : Unboxing and Setting Up VisionFive 2 Developer Board"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.starfivetech.com\/en\/site\/boards\" target=\"_blank\" rel=\"noopener\" title=\"\">Starfive VisionFive 2<\/a> is a RISC-V based developer board (SBC) that was crowd-funded and released late in 2022. It uses a quad-core RISC-V CPU along with various configurations of DDR4 memory and I\/O devices. This year, besides debian, ubuntu and fedora have announced support for the board. In this post, I share my experience of unboxing and integrating one of these into my home lab.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Procuring VisionFive 2 in India<\/strong><\/h2>\n\n\n\n<p>There are now multiple online electronics stores in India that are selling VF2. My buying experience is limited to <a href=\"https:\/\/rarecomponents.com\/store\/visionfive-2-sbc-8gb-wifi?gclid=EAIaIQobChMIytHa7Py4gAMVA159Ch0mnAgXEAMYAiAAEgJptvD_BwE\" target=\"_blank\" rel=\"noopener\" title=\"\">Rare components<\/a>. I bought several of these a couple of months ago, but the costs seem to have gone up from about INR 12K to INR 14K since then.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Unboxing VisionFive 2<\/strong><\/h2>\n\n\n\n<p>The VF2 comes well-packaged for long-distance shipping. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"617\" src=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_161731-1024x617.jpg\" alt=\"\" class=\"wp-image-337\" srcset=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_161731-1024x617.jpg 1024w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_161731-300x180.jpg 300w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_161731-768x462.jpg 768w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_161731-1536x925.jpg 1536w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_161731-2048x1233.jpg 2048w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_161731-850x512.jpg 850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"808\" src=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_161948-1024x808.jpg\" alt=\"\" class=\"wp-image-338\" srcset=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_161948-1024x808.jpg 1024w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_161948-300x237.jpg 300w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_161948-768x606.jpg 768w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_161948-1536x1211.jpg 1536w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_161948-850x670.jpg 850w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_161948.jpg 1779w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"632\" src=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_174813-1024x632.jpg\" alt=\"\" class=\"wp-image-340\" srcset=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_174813-1024x632.jpg 1024w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_174813-300x185.jpg 300w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_174813-768x474.jpg 768w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_174813-1536x949.jpg 1536w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_174813-2048x1265.jpg 2048w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_174813-850x525.jpg 850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>The VisionFive 2 board<\/strong><\/h2>\n\n\n\n<p>The board I procured has a quad-core Starfive JH7110 RISC-V processor with IP from SiFive. JH7110 has 4 main cores (64-bit SiFive U74 RV64GC. 32KB D&amp;I-Cache, up to 1.5GHz), 1 monitor core (64-bit SiFive S7 RV64IMAC, 16KB I-Cache and 8KB DTIM) and 1 real-time control core (32-bit SiFive E24 RV32IMFC, 16KB I-Cache) as processing elements. It supports up to 8GB DDR4 memory (which is the configuration I procured). For I\/O, it has support for all the modern peripherals &#8211; USB3.0, M.2 NVME slot and two 1 gigabit network ports. It can be powered by a 15W USB type-C power supply. It also has a 40-pin GPIO header that supports common functions like serial port and fan power. A detailed specification for this board can be found <a href=\"https:\/\/doc-en.rvspace.org\/VisionFive2\/Product_Brief\/VisionFive_2\/specification_pb.html\" target=\"_blank\" rel=\"noopener\" title=\"\">here<\/a>. Here are some good references for the documentation on the board :<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/doc-en.rvspace.org\/Doc_Center\/visionfive_2.html\" target=\"_blank\" rel=\"noopener\" title=\"\">https:\/\/doc-en.rvspace.org\/Doc_Center\/visionfive_2.html<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.cnx-software.com\/2022\/08\/29\/starfive-jh7110-risc-v-processor-specifications\/\" target=\"_blank\" rel=\"noopener\" title=\"\">https:\/\/www.cnx-software.com\/2022\/08\/29\/starfive-jh7110-risc-v-processor-specifications\/<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/doc-en.rvspace.org\/VisionFive2\/Boot_UG\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Boot user guide<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/doc-en.rvspace.org\/VisionFive2\/SWTRM\/index.html\" target=\"_blank\" rel=\"noopener\" title=\"\">Software reference manual<\/a> <\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/starfive-tech\" target=\"_blank\" rel=\"noopener\" title=\"\">Starfive github repository<\/a><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"473\" src=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175315-1024x473.jpg\" alt=\"\" class=\"wp-image-349\" srcset=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175315-1024x473.jpg 1024w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175315-300x139.jpg 300w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175315-768x355.jpg 768w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175315-1536x710.jpg 1536w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175315-2048x946.jpg 2048w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175315-850x393.jpg 850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The M.2 NVME slot is on the back side of the board.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"692\" src=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175353-1024x692.jpg\" alt=\"\" class=\"wp-image-350\" style=\"width:840px;height:567px\" srcset=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175353-1024x692.jpg 1024w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175353-300x203.jpg 300w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175353-768x519.jpg 768w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175353-1536x1038.jpg 1536w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175353-2048x1384.jpg 2048w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175353-850x574.jpg 850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Building the VisionFive 2 box<\/strong><\/h2>\n\n\n\n<p>Given that I keep all my systems and devices in a 19&#8243; rack, I decided to put this card in a case so that it can be mounted on a tray in the rack. I used <a href=\"https:\/\/www.printables.com\/de\/model\/360115-visionfive-2-snap-together-case\" target=\"_blank\" rel=\"noopener\" title=\"\">this 3D printable case design for VF2<\/a> and successfully got it 3D printed. There are multiple versions of the same case available in this design. The design has two slap-on components &#8211; the top part and the bottom part. I am using the design with 40mm fan mounting hole and grill on the top part and slots on the bottom part with 2.5mm pegs. This combination worked fine for me. For 3D printing here in Bangalore, I used <a href=\"https:\/\/www.3ding.in\/\" target=\"_blank\" rel=\"noopener\" title=\"\">3Ding cloud printing service<\/a>. All you have to do is to upload the downloaded autocad drawings to their website along with some additional inputs like material and density and pay the estimated cost online. They were fairly prompt in printing and mailing me the printed parts. I am using PLA material with 50% density and draft quality. This is good enough for my use case.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"473\" src=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175129-1024x473.jpg\" alt=\"\" class=\"wp-image-354\" style=\"width:840px;height:388px\" srcset=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175129-1024x473.jpg 1024w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175129-300x139.jpg 300w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175129-768x355.jpg 768w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175129-1536x710.jpg 1536w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175129-2048x946.jpg 2048w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175129-850x393.jpg 850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"473\" src=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175103-1024x473.jpg\" alt=\"\" class=\"wp-image-355\" srcset=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175103-1024x473.jpg 1024w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175103-300x139.jpg 300w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175103-768x355.jpg 768w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175103-1536x710.jpg 1536w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175103-2048x946.jpg 2048w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_175103-850x393.jpg 850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>While I am using a microSDHC card for booting the board, for future experiments, I added a 500GB PCIE Gen3 NVME card to this.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"743\" src=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_202318-1024x743.jpg\" alt=\"\" class=\"wp-image-357\" srcset=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_202318-1024x743.jpg 1024w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_202318-300x218.jpg 300w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_202318-768x557.jpg 768w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_202318-1536x1114.jpg 1536w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_202318-2048x1486.jpg 2048w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/07\/20230731_202318-850x617.jpg 850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>To mount the board onto the case, I prepared the board for connecting the 5V 40mm fan (procured off the shelf from SP Road, Bangalore). These fans come with a 2.5mm pitch header which can be fitted to GPIO header pins. But the VF2 board comes with a 2mm pitch header for fan and I had planned to use this rather than the GPIO fan pins. I was able to procure some 2mm pitch connectors(JST-PH 2mm pitch) with wires from <a href=\"https:\/\/goo.gl\/maps\/n8yp4bHRaUcnyfZ76\" target=\"_blank\" rel=\"noopener\" title=\"\">Electroface Connectronics, S. P. Road<\/a> and join them to the fan wire (solder, heat shrink tube insulation) to make it work. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"473\" height=\"1024\" src=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230731_233813-473x1024.jpg\" alt=\"\" class=\"wp-image-361\" srcset=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230731_233813-473x1024.jpg 473w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230731_233813-139x300.jpg 139w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230731_233813-768x1662.jpg 768w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230731_233813-710x1536.jpg 710w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230731_233813-946x2048.jpg 946w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230731_233813-300x649.jpg 300w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230731_233813-850x1840.jpg 850w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230731_233813-scaled.jpg 1183w\" sizes=\"auto, (max-width: 473px) 100vw, 473px\" \/><\/figure>\n\n\n\n<p>The picture above shows both the 2.5mm and 2mm connectors side by side. I followed <a href=\"https:\/\/doc-en.rvspace.org\/VisionFive2\/Quick_Start_Guide\/VisionFive2_QSG\/connecting_to_a_fan.html\" target=\"_blank\" rel=\"noopener\" title=\"\">this<\/a> guide to figure out the pinout of the fan header pins. On the fan side, typically red wire indicates Vcc and it needs to be connected to the Vcc (5V) pin of the fan header. The modified fan connector with soldered 2mm connector and <a href=\"https:\/\/www.amazon.in\/gp\/product\/B0BYZ8LSCL?th=1\" target=\"_blank\" rel=\"noopener\" title=\"\">heat shrink tube insulation<\/a> looks like the following.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"473\" src=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_004311-1024x473.jpg\" alt=\"\" class=\"wp-image-365\" srcset=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_004311-1024x473.jpg 1024w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_004311-300x139.jpg 300w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_004311-768x355.jpg 768w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_004311-1536x710.jpg 1536w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_004311-2048x946.jpg 2048w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_004311-850x393.jpg 850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The fan needs to be very low profile (10mm max) to fit into this case. I fastened the fan using 3x16mm pan head nut-bolt fasteners to the top part of the VF2 case. I have had a good experience of procuring various fasteners from <a href=\"https:\/\/goo.gl\/maps\/QWHpcnstpvHsvjZS9\" target=\"_blank\" rel=\"noopener\" title=\"\">Smartlink Inc, S. P. Road, Bangalore<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"732\" src=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_014551-1024x732.jpg\" alt=\"\" class=\"wp-image-372\" srcset=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_014551-1024x732.jpg 1024w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_014551-300x214.jpg 300w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_014551-768x549.jpg 768w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_014551-1536x1098.jpg 1536w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_014551-2048x1464.jpg 2048w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_014551-850x607.jpg 850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"709\" src=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_014656-1024x709.jpg\" alt=\"\" class=\"wp-image-373\" srcset=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_014656-1024x709.jpg 1024w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_014656-300x208.jpg 300w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_014656-768x531.jpg 768w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_014656-1536x1063.jpg 1536w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_014656-2048x1417.jpg 2048w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_014656-850x588.jpg 850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The VF2 board fits into the bottom part of the case.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"473\" src=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_004942-1024x473.jpg\" alt=\"\" class=\"wp-image-374\" srcset=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_004942-1024x473.jpg 1024w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_004942-300x139.jpg 300w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_004942-768x355.jpg 768w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_004942-1536x710.jpg 1536w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_004942-2048x946.jpg 2048w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_004942-850x393.jpg 850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The fan connector can now be connected to the header and the case closed.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Serial console for Linux kernel development<\/h2>\n\n\n\n<p>Actually, not quite. What good would it be for kernel development without the serial console support ? VF2 supports serial communication and the GPIO header has the serial communication pins. So I used a USB to TTL Serial cable (see the raspberry pi posts in this journal) to connect the serial port of the VF2 to the serial console server in my home lab. Based on the <a href=\"https:\/\/doc-en.rvspace.org\/VisionFive2\/Quick_Start_Guide\/VisionFive2_QSG\/pinout_diagram%20-%20vf2.html\" target=\"_blank\" rel=\"noopener\" title=\"\">GPIO pinout<\/a>, I hooked up the jumper side of the USB TTL Serial cable (Green &#8211; RX, White &#8211; TX, Black &#8211; GND going into TX, RX and GND pins of the GPIO header respectively). [<em><strong>Update: The PL2303 based USB to TTL serial cables I used originally turned out to be unreliable. I have replaced them with <a href=\"https:\/\/robu.in\/product\/waveshare-industrial-usb-to-ttl-d-serial-cable-original-ft232rnl-chip-multi-protection-circuits-multi-systems-support-suitable-for-raspberry-pi-5-serial-port-debugging\/\" target=\"_blank\" rel=\"noopener\" title=\"\">Waveshare (original) USB to TTL serial cable with FT232RNL chip<\/a>. These cable have GND (black), Tx (Green) and Rx (Blue).<\/strong><\/em>]<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"996\" src=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_021511-1024x996.jpg\" alt=\"\" class=\"wp-image-378\" srcset=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_021511-1024x996.jpg 1024w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_021511-300x292.jpg 300w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_021511-768x747.jpg 768w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_021511-1536x1494.jpg 1536w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_021511-850x827.jpg 850w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_021511.jpg 1900w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The case design by default doesn&#8217;t accommodate the full height of the jumper connectors of the serial cable when connected to the GPIO serial communication pins. So, I had to cut about 3 mm of the plastic cladding on the jumper connector (without damaging the wire) so that the top part of the case fits snugly on to the bottom part. The final assembly (with the serial console cable) is this :<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"473\" src=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_025814-1024x473.jpg\" alt=\"\" class=\"wp-image-379\" srcset=\"https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_025814-1024x473.jpg 1024w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_025814-300x139.jpg 300w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_025814-768x355.jpg 768w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_025814-1536x710.jpg 1536w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_025814-2048x946.jpg 2048w, https:\/\/hill9.org\/journal\/wp-content\/uploads\/2023\/08\/20230801_025814-850x393.jpg 850w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>In a follow up post, I will write about the bring-up of the board with multiple distributions of Linux.<\/p>\n\n\n\n<p>Note : I will also do a follow up post on sources of components and hardware, both online and offline stores for the benefit of people who are just starting out.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Starfive VisionFive 2 is a RISC-V based developer board (SBC) that was crowd-funded and released late in 2022. It uses a quad-core RISC-V CPU along with various configurations of DDR4 memory and I\/O devices. This year, besides debian, ubuntu and fedora have announced support for the board. In this post, I share my experience of&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[7,6,3,4],"tags":[],"class_list":["post-331","post","type-post","status-publish","format-standard","hentry","category-comparch","category-homelab","category-linux","category-riscv"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/hill9.org\/journal\/wp-json\/wp\/v2\/posts\/331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hill9.org\/journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hill9.org\/journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hill9.org\/journal\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hill9.org\/journal\/wp-json\/wp\/v2\/comments?post=331"}],"version-history":[{"count":49,"href":"https:\/\/hill9.org\/journal\/wp-json\/wp\/v2\/posts\/331\/revisions"}],"predecessor-version":[{"id":630,"href":"https:\/\/hill9.org\/journal\/wp-json\/wp\/v2\/posts\/331\/revisions\/630"}],"wp:attachment":[{"href":"https:\/\/hill9.org\/journal\/wp-json\/wp\/v2\/media?parent=331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hill9.org\/journal\/wp-json\/wp\/v2\/categories?post=331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hill9.org\/journal\/wp-json\/wp\/v2\/tags?post=331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}