milkv/docs/_source/hardware.rst

202 lines
4.2 KiB
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

========
Hardware
========
milkV Pioneer hardware.
CPU
---
The Pioneer CPU is a SOPHON SG2042 from SOPHGO.
`<https://en.sophgo.com/product/introduce/sg2042.html>`_
* RISC-V.
* 2GHz.
* 64 cores.
Motherboard
-----------
The motherboard is mATX standard size.
RAM
---
Ships with 128G of RAM in four slots.
128G is max RAM (?).
NVMe
----
The NVMe drive is a FORESEE XP1000F001T.
One terabyte size.
`<https://www.longsys.com/product/solid-state-drive/commercial-pcle-ssd/xp1000-pcie-ssd.html>`_
Networking
----------
There are two Realtek RTL8125 2.5G ethernet controllers on the motherboard.
The onboard ethernet uses the ``r8169`` kernel module.
The Pioneer also ships with an Intel X540-AT2 PCIe ethernet card with two
10G RJ-45 copper ports.
The Intel PCIe card uses the ``ixgbe`` kernel module.
Intel documentation:
`<https://www.intel.com/content/www/us/en/products/sku/60020/intel-ethernet-controller-x540at2/specifications.html>`_
PCIe
----
The docs say three PCIe slots, but was updated to two slots with faster PCIe.
The SOPHGO 2042 cpu can do PCIe 4.0.
The original docs for the Pioneer say PCIe 3.0, but was
later updated to PCIe 4.0 16x in one slot and 8x on
the other slot.
`<https://www.crowdsupply.com/milkv/milk-v-pioneer/updates/pioneer-motherboard-pcie-upgrades>`_
Quoting: "In collaboration with SOPHON, we have resolved a known issue:
PCIe bus not reaching Gen 4 levels.
This was a software issue and not hardware-related.
So, were pleased to announce that the Milk-V Pioneer PCIe bus software has been successfully upgraded from Gen 3 to Gen 4.
...
The bus has been upgraded from three PCIe x 8 slots to one PCIe x 16 slot plus one PCIe x 8 slot."
On my Debian system, running a kernel from SOPHGO source, ``lspci`` says the chip
is PCIe 3.0. Perhaps a firmware upgrade (?) is needed for 4.0?
``PCI bridge: ASMedia Technology Inc. ASM2824 PCIe Gen3 Packet Switch``
The manufacturer's page for the ASM2824:
`<https://www.asmedia.com.tw/product/249yq0aSx7zRFGJ9/7c5YQ79xz8urEGr1>`_
Video
-----
The Pioneer comes with a low power consumption AMD video card.
Serial Console
--------------
The Pioneer has a USB-C console available on the front by the power switch.
Plug a USB-C cable into this, and the other end into another Debian computer
and run:
.. code:: console
minicom -D /dev/ttyUSB0
The settings are 115,200, 8N1. I turned off flow control too.
USB
---
The board has USB 3.1 ports.
It is perhaps this chip:
``ASMedia Technology Inc. ASM2142/ASM3142 USB 3.1 Host Controller``
Manufacturer's page here:
`<https://www.asmedia.com.tw/product/55AYQ83xg4uy6Uj0/0C8YQ4asx4yt2JR4>`_
There is also a USB 3.0 chip (?):
``VIA Technologies, Inc. VL805/806 xHCI USB 3.0.``
`<https://www.via-labs.com/product_show.php?id=48>`_
Fans
----
The fans can perhaps be controlled via the ``.dtb``,
but this is less than ideal way to do it as it can only
be set once per boot.
Battery
-------
The motherboard battery is a CR1220.
Power Supply
------------
My Pioneer shipped with a Antec NEO ECO 550W power supply.
System Output
-------------
Output of various applications showing milkV Pioneer hardware.
``df``
^^^^^^
Output from ``df`` running the stock Fedora 38 image.
.. literalinclude:: _static/hardware/df
:language: console
``dmesg``
^^^^^^^^^
Output from ``dmesg`` running the stock Fedora 38 image.
.. literalinclude:: _static/hardware/dmesg
:language: dmesg
``fdisk``
^^^^^^^^^
Output from ``fdisk`` running the stock Fedora 38 image.
.. literalinclude:: _static/hardware/fdisk
:language: console
``free``
^^^^^^^^
Output from ``free`` running the stock Fedora 38 image.
.. literalinclude:: _static/hardware/free
:language: console
``lshw``
^^^^^^^^^
Output from ``lshw`` running Debian.
.. literalinclude:: _static/hardware/lshw
:language: console
``lscpu``
^^^^^^^^^
Output from ``lscpu`` running the stock Fedora 38 image.
.. literalinclude:: _static/hardware/lscpu
:language: console
``lspci``
^^^^^^^^^
Output from ``lspci`` running the stock Fedora 38 image.
.. literalinclude:: _static/hardware/lspci
:language: console
``lsusb``
^^^^^^^^^
Output from ``lsusb`` running the stock Fedora 38 image.
.. literalinclude:: _static/hardware/lsusb
:language: console