From 53c5ee8652118ba57e7196dd3c6e92be449a4c23 Mon Sep 17 00:00:00 2001 From: <> Date: Thu, 20 Apr 2023 04:06:42 +0000 Subject: [PATCH] Deployed 3b951d7 with MkDocs version: 1.4.2 --- 404.html | 97 +++ index.html | 99 +++ riscv64/visionfive2/visionfive2/index.html | 724 +++++++++++++++++++++ search/search_index.json | 2 +- sitemap.xml | 7 +- sitemap.xml.gz | Bin 206 -> 232 bytes 6 files changed, 927 insertions(+), 2 deletions(-) create mode 100644 riscv64/visionfive2/visionfive2/index.html diff --git a/404.html b/404.html index 06a569b..8289a18 100644 --- a/404.html +++ b/404.html @@ -238,6 +238,103 @@ + + + + + + + + + + +
  • + + + + + + + + + + + + + + + + + +
  • + + + diff --git a/index.html b/index.html index 94526cb..f9bb400 100644 --- a/index.html +++ b/index.html @@ -14,6 +14,8 @@ + + @@ -314,6 +316,103 @@ + + + + + + + + + + +
  • + + + + + + + + + + + + + + + + + +
  • + + + diff --git a/riscv64/visionfive2/visionfive2/index.html b/riscv64/visionfive2/visionfive2/index.html new file mode 100644 index 0000000..cb7bb6e --- /dev/null +++ b/riscv64/visionfive2/visionfive2/index.html @@ -0,0 +1,724 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + VisionFive 2 - SIG/AltArch Wiki + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + Skip to content + + +
    +
    + +
    + + + + + + +
    + + +
    + +
    + + + + + + +
    +
    + + + +
    +
    +
    + + + + + + +
    +
    +
    + + + + +
    +
    + + + + + + + + + + + + +

    The VisionFive 2 SBC's Wiki

    +

    The VisionFive 2 SBC is the second generation of SBC in the VisionFive SBC lineup. This lineup of SBCs contains SoCs with the CPUs that use the RISC-V open computing ISA.

    +

    This Wiki contains the necessary information a user needs to know before using Rocky Linux on the VisionFive 2 SBC.

    +

    Technical guide

    +

    Hardware specifications

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    ItemDescription
    Processor/SoCStarFive JH6110 (rv64gc with up-to 1.5GHz max freq)
    MemoryLPDDR4: 2GB/4GB/8GB
    StorageSD card slot
    SPI flash for u-boot
    Video OutputHDMI 2.0
    MIPI-DSI
    MultimediaCamera with MIPI CSI (up-to 2160p@30fps)
    Decoding: H.264 & H.265 at 2160p@60fps Encoding: H.264 & H.265 at 1080p@30fps JPEG Encoder and Decoder
    1/4-pole stereo audio
    Connectivity2x RJ45 Gigabit Ethernet (some models have 1x 100Mbit instead)
    4x USB 3.0 (some models have 2x USB 2.0)
    M.2 M-Key NVMe drive slot
    Power inUSB-C port: Qualcomm Quick Charge 3.0 compatible
    GPIO power in: 5V/3A
    PoE ("pin compatible with RPi PoE HAT")
    GPIO40-pin GPIO header
    Dimensions100mm x 72mm
    Button(s)Hardware reset button
    OtherDebug pin headers
    +

    Software status/information

    +

    At the time of writing this Wiki, the software support is still being upstreamed by the hardware vendor. More details about their upstreaming efforts and the merge status of each component can be viewed at rvspace.org.

    +

    Relevant software repositories:

    +

    Following are the necessary arch/board specific software repositories. These are here for curious tinkerers and Rocky Linux maintainers. Suffice to say, as a normal user, you are not expected to touch/compile any of these items 😉

    +
    Fully upstreamed
    + +
    Downstream forks (upstream WIP)
    + +

    Installation

    +

    To install Rocky Linux on the VisionFive 2 SBC, there is one pre-requisite that needs to be satisfied. That is to update the board firmware to v2.11.5.

    +

    Editor's note: StarFive (the hardware vendor) is almost done sending in mainlining patches for u-boot and we should be able to switch to upstream u-boot soon. Our u-boot package for the VisionFive 2 should automatically update the board firmware to whatever version we support. But the following section is present nonetheless, for the users who have an outdated firmware than what we (Rocky Linux) have a minimum spec bar for.

    +

    Pre-requisite: Update board firmware

    +
      +
    1. Download the following files:
    2. +
    3. sdcard.img (this image is from release v2.8.0)
    4. +
    5. u-boot-spl.bin.normal.out
    6. +
    7. +

      visionfive2_fw_payload.img

      +
    8. +
    9. +

      sudo dd if=sdcard.img conv=sync status=progress bs=1M of=/dev/sdX

      +
    10. +
    11. +

      mkdir temp-dir

      +
    12. +
    13. +

      sudo mount /dev/sdX4 temp-dir

      +
    14. +
    15. +

      sudo cp u-boot-spl.bin.normal.out visionfive2_fw_payload.img temp-dir/root/

      +
    16. +
    17. +

      sudo sync; sudo sync; sudo sync; sudo sync;

      +
    18. +
    19. +

      sudo umount temp-dir

      +
    20. +
    21. +

      Eject the SD card from your computer, insert it in your VisionFive 2 and power it up. The green LED should start blinking to indicate successful board power-up.

      +
    22. +
    23. +

      Plug the network cable in the Ethernet port that is next to the HDMI port. (The other port has DHCP-related issues with early firmware.)

      +
    24. +
    25. +

      ssh root@<IP_ADDRESS> (passwd: starfive)

      +
    26. +
    27. +

      Run the command cat /proc/mtd and you should have the following output: +

      dev: size erasesize name
      +mtd0: 00020000 00001000 "spl"
      +mtd1: 00300000 00001000 "uboot"
      +mtd2: 00100000 00001000 "data"
      +

      +
    28. +
    29. +

      If and only if the partition information given above matches with yours, update the spl and uboot partitions using the following commands: +

      flashcp -v u-boot-spl.bin.normal.out /dev/mtd0
      +flashcp -v visionfive2_fw_payload.img /dev/mtd1
      +

      +
    30. +
    +

    The board firmware has now been updated!

    +

    Current things that are WIP

    +

    A Rocky Linux image 😝

    + +
    +
    + + + Last update: + April 20, 2023 + + + +
    + + + + + + +
    +
    + + +
    + + + +
    + + + +
    +
    +
    +
    + + + + + + + + + \ No newline at end of file diff --git a/search/search_index.json b/search/search_index.json index 44b1ae5..90a4685 100644 --- a/search/search_index.json +++ b/search/search_index.json @@ -1 +1 @@ -{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"SIG/AltArch Wiki","text":""},{"location":"#links","title":"Links","text":""},{"location":"#responsibilities","title":"Responsibilities","text":""},{"location":"#meetings-communications","title":"Meetings / Communications","text":""},{"location":"#members","title":"Members","text":""},{"location":"#project-layout","title":"Project layout","text":"
    mkdocs.yml    # The configuration file.\ndocs/\n    index.md  # The documentation homepage.\n    ...       # Other markdown pages, images and other files.\n
    "}]} \ No newline at end of file +{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"SIG/AltArch Wiki","text":""},{"location":"#links","title":"Links","text":""},{"location":"#responsibilities","title":"Responsibilities","text":""},{"location":"#meetings-communications","title":"Meetings / Communications","text":""},{"location":"#members","title":"Members","text":""},{"location":"#project-layout","title":"Project layout","text":"
    mkdocs.yml    # The configuration file.\ndocs/\n    index.md  # The documentation homepage.\n    ...       # Other markdown pages, images and other files.\n
    "},{"location":"riscv64/visionfive2/visionfive2/","title":"The VisionFive 2 SBC's Wiki","text":"

    The VisionFive 2 SBC is the second generation of SBC in the VisionFive SBC lineup. This lineup of SBCs contains SoCs with the CPUs that use the RISC-V open computing ISA.

    This Wiki contains the necessary information a user needs to know before using Rocky Linux on the VisionFive 2 SBC.

    ","tags":["riscv","starfive","visionfive"]},{"location":"riscv64/visionfive2/visionfive2/#technical-guide","title":"Technical guide","text":"","tags":["riscv","starfive","visionfive"]},{"location":"riscv64/visionfive2/visionfive2/#hardware-specifications","title":"Hardware specifications","text":"Item Description Processor/SoC StarFive JH6110 (rv64gc with up-to 1.5GHz max freq) Memory LPDDR4: 2GB/4GB/8GB Storage SD card slot SPI flash for u-boot Video Output HDMI 2.0 MIPI-DSI Multimedia Camera with MIPI CSI (up-to 2160p@30fps) Decoding: H.264 & H.265 at 2160p@60fps Encoding: H.264 & H.265 at 1080p@30fps JPEG Encoder and Decoder 1/4-pole stereo audio Connectivity 2x RJ45 Gigabit Ethernet (some models have 1x 100Mbit instead) 4x USB 3.0 (some models have 2x USB 2.0) M.2 M-Key NVMe drive slot Power in USB-C port: Qualcomm Quick Charge 3.0 compatible GPIO power in: 5V/3A PoE (\"pin compatible with RPi PoE HAT\") GPIO 40-pin GPIO header Dimensions 100mm x 72mm Button(s) Hardware reset button Other Debug pin headers","tags":["riscv","starfive","visionfive"]},{"location":"riscv64/visionfive2/visionfive2/#software-statusinformation","title":"Software status/information","text":"

    At the time of writing this Wiki, the software support is still being upstreamed by the hardware vendor. More details about their upstreaming efforts and the merge status of each component can be viewed at rvspace.org.

    ","tags":["riscv","starfive","visionfive"]},{"location":"riscv64/visionfive2/visionfive2/#relevant-software-repositories","title":"Relevant software repositories:","text":"

    Following are the necessary arch/board specific software repositories. These are here for curious tinkerers and Rocky Linux maintainers. Suffice to say, as a normal user, you are not expected to touch/compile any of these items

    ","tags":["riscv","starfive","visionfive"]},{"location":"riscv64/visionfive2/visionfive2/#fully-upstreamed","title":"Fully upstreamed","text":"","tags":["riscv","starfive","visionfive"]},{"location":"riscv64/visionfive2/visionfive2/#downstream-forks-upstream-wip","title":"Downstream forks (upstream WIP)","text":"","tags":["riscv","starfive","visionfive"]},{"location":"riscv64/visionfive2/visionfive2/#installation","title":"Installation","text":"

    To install Rocky Linux on the VisionFive 2 SBC, there is one pre-requisite that needs to be satisfied. That is to update the board firmware to v2.11.5.

    Editor's note: StarFive (the hardware vendor) is almost done sending in mainlining patches for u-boot and we should be able to switch to upstream u-boot soon. Our u-boot package for the VisionFive 2 should automatically update the board firmware to whatever version we support. But the following section is present nonetheless, for the users who have an outdated firmware than what we (Rocky Linux) have a minimum spec bar for.

    ","tags":["riscv","starfive","visionfive"]},{"location":"riscv64/visionfive2/visionfive2/#pre-requisite-update-board-firmware","title":"Pre-requisite: Update board firmware","text":"
    1. Download the following files:
    2. sdcard.img (this image is from release v2.8.0)
    3. u-boot-spl.bin.normal.out
    4. visionfive2_fw_payload.img

    5. sudo dd if=sdcard.img conv=sync status=progress bs=1M of=/dev/sdX

    6. mkdir temp-dir

    7. sudo mount /dev/sdX4 temp-dir

    8. sudo cp u-boot-spl.bin.normal.out visionfive2_fw_payload.img temp-dir/root/

    9. sudo sync; sudo sync; sudo sync; sudo sync;

    10. sudo umount temp-dir

    11. Eject the SD card from your computer, insert it in your VisionFive 2 and power it up. The green LED should start blinking to indicate successful board power-up.

    12. Plug the network cable in the Ethernet port that is next to the HDMI port. (The other port has DHCP-related issues with early firmware.)

    13. ssh root@<IP_ADDRESS> (passwd: starfive)

    14. Run the command cat /proc/mtd and you should have the following output:

      dev: size erasesize name\nmtd0: 00020000 00001000 \"spl\"\nmtd1: 00300000 00001000 \"uboot\"\nmtd2: 00100000 00001000 \"data\"\n

    15. If and only if the partition information given above matches with yours, update the spl and uboot partitions using the following commands:

      flashcp -v u-boot-spl.bin.normal.out /dev/mtd0\nflashcp -v visionfive2_fw_payload.img /dev/mtd1\n

    The board firmware has now been updated!

    ","tags":["riscv","starfive","visionfive"]},{"location":"riscv64/visionfive2/visionfive2/#current-things-that-are-wip","title":"Current things that are WIP","text":"

    A Rocky Linux image

    ","tags":["riscv","starfive","visionfive"]}]} \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index ea19687..0acc7e9 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -2,7 +2,12 @@ https://sig-altarch.rocky.page/ - 2023-04-10 + 2023-04-20 + daily + + + https://sig-altarch.rocky.page/riscv64/visionfive2/visionfive2/ + 2023-04-20 daily \ No newline at end of file diff --git a/sitemap.xml.gz b/sitemap.xml.gz index 88e463f93a52d81c5d891fadaed1051f17ebd211..54b0d093751fb45f0327523d6f24aa6f34e6f190 100644 GIT binary patch literal 232 zcmV0euyz`1G_r{?h1gkXMcmX^h zN<$iLnv^)S@Ox4~tL_yEUpyX-MZ=EX!9nl6~lO<)O&|ZbcdQ+3r@lbBbUM%=E zI@GDiVvjXxQ|f;J#&M)*lkQ}XG(-ca+B_hi152X*6({MDrbqsSAy$ShXtIx~y21yt$c7wbC1Xj`|`RY2BT}jCqBDzce4@ iiWb$dS;Jtbo1N{TtAF_Gxt}e6Lp%VRX%^yYRX(evdzPZU zf7qz30Rc0#zEPNm*vT#5?kL~Wniu4+tuWoIV9hO=hwPN|9|0@n7Y3FzODkW=FO|Tj Il?4F+0ECQI>;M1&