Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Japanese translation #47

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 35 additions & 35 deletions i18n/ja/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@
"description": "mars info"
},
"mars.page.info10": {
"message": "Raspberry pi 3Bケースに対応",
"message": "Raspberry Pi 3Bケースに対応",
"description": "mars info"
},
"mars.tech.info": {
Expand Down Expand Up @@ -958,119 +958,119 @@
"description": "cv1800b"
},
"homepage.corporations.Documentstitle": {
"message": "Milk-V Documents",
"message": "Milk-Vドキュメント",
"description": "homepage documents"
},
"homepage.corporations.Documentswords": {
"message": "View our documentation for technical support",
"message": "テクニカルサポートのために私達のドキュメントを見る",
"description": "homepage documents"
},
"homepage.corporations.CommunityBotton": {
"message": "Milk-V Community",
"message": "Milk-Vコミュニティ",
"description": "Milk-V Community booton"
},
"homepage.corporations.WhyRVBotton": {
"message": "Why RISC-V ?",
"message": "RISC-Vを選ぶ理由",
"description": "Why RISC-V ? booton"
},
"homepage.corporations.duo": {
"message": "Dual cores up to 1GHz (optional RISC-V / ARM), up to 256MB of memory, and a 1TOPS@INT8 TPU. Capable of running both Linux and RTOS simultaneously, with rich I/O interfaces.",
"message": "最大1GHzのデュアルコア(RISC-V/ARM切り替え可)、最大256MBのメモリ、1TOPS@INT8のNPUを搭載。豊富なインターフェースでLinuxとRTOSを同時に実行可能です。",
"description": "duo description"
},
"homepage.corporations.duolearnmore": {
"message": "Learn more",
"message": "もっと見る",
"description": "duo Learn more"
},
"homepage.corporations.duobuynow": {
"message": "Buy Now",
"message": "購入",
"description": "duo buy"
},
"homepage.corporations.pioneer": {
"message": "Milk-V Pioneer is a developer motherboard based on SOPHON SG2042 in a standard mATX form factor. It is the first choice for RISC-V developers and hardware pioneers to experience the cutting edge technology of RISC-V.",
"message": "Milk-V Pioneerは、標準的なmATXフォームファクターでSOPHON SG2042をベースにした開発者向けマザーボードです。RISC-V開発者やハードウェアパイオニアがRISC-Vの最先端技術を体験するための第一選択です。",
"description": "pioneer description"
},
"homepage.corporations.pioneerlearnmore": {
"message": "Learn more",
"message": "もっと見る",
"description": "pioneer Learn more"
},
"homepage.corporations.pioneerbuynow": {
"message": "Buy Now",
"description": "pioneer buy"
},
"homepage.corporations.marscm": {
"message": "The Mars Compute Module is a System on Module (SoM) based on a the StarFive JH7110 System on Chip (SoC). ",
"message": "MarsコンピュートモジュールはStarFive JH7110 SoCを基に作られたSoMです。",
"description": "mars cm"
},
"homepage.corporations.mars": {
"message": "Milk-V Mars is a high-performance RISC-V Single Board Computer (SBC) the size of a credit card, built on the StarFive JH7110. An RJ45 Ethernet port that supports PoE (Power over Ethernet), and an M.2 E-Key slot for a WIFI/BT module. It also includes a 4-lane MIPI CSI and a 2-lane MIPI CSI, along with a 40-pin GPIO. ",
"message": "Milk-V Marsは、クレジットカードサイズの高性能RISC-Vシングルボードコンピュータ(SBC)で、StarFive JH7110を基に作られています。PoEPower over Ethernet)をサポートするRJ45イーサネットポートや、WIFI/BTモジュール用のM.2 E-Keyスロットが備わっています。また、4レーンのMIPI CSIと2レーンのMIPI CSI、さらに40ピンのGPIOも搭載しています。 ",
"description": "mars"
},
"homepage.corporations.marslearnmore": {
"message": "Learn more",
"message": "もっと見る",
"description": "mars Learn more"
},
"homepage.corporations.marsbuynow": {
"message": "Buy Now",
"message": "購入",
"description": "mars buy now"
},
"homepage.corporations.meles": {
"message": "Milk-V Meles is a credit card-sized, single-board computer (SBC) based on the TH1520. It is powered by a Quad Core RISC-V 64GCV C910, capable of running up to 1.85GHz. This SBC is packed with rich interfaces and boasts powerful computing and AI capabilities, making it an ideal RISC-V intelligent hardware platform for hobbyists, makers, engineers, teachers, and students.",
"message": "Milk-V Melesは、TH1520を基にしたクレジットカードサイズのシングルボードコンピュータ(SBC)です。クアッドコアのRISC-V 64GCV C910を搭載し、最大1.85GHzで動作します。このSBCは豊富なインターフェースを備え、強力な計算能力とAI機能を誇り、愛好家、メイカー、エンジニア、教師、学生にとって理想的なRISC-Vインテリジェントハードウェアプラットフォームです。",
"description": "meles "
},
"homepage.corporations.melesbuynow": {
"message": "Buy Now",
"message": "購入",
"description": "meles buy"
},
"homepage.corporations.meleslearnmore": {
"message": "Learn more",
"message": "もっと見る",
"description": "meles learn more"
},
"homepage.corporations.vega": {
"message": "Milk-V Vega is a compact and low-density box-style open-source 10 Gigabit network switch developed by Milk-V for the next generation of network architecture. It serves as a unified platform for various services such as broadband, voice, video, and surveillance.",
"message": "Milk-V Vegaは、次世代のネットワークアーキテクチャのためにMilk-Vが開発したコンパクトで低密度のボックス型オープンソース10ギガビットネットワークスイッチです。ブロードバンド、音声、ビデオ、監視などのさまざまなサービスを統合するプラットフォームとして機能します。",
"description": "vega "
},
"homepage.corporations.vegabuynow": {
"message": "Buy Now",
"message": "購入",
"description": "vega buy"
},
"homepage.corporations.vegalearnmore": {
"message": "Learn more",
"message": "もっと見る",
"description": "vega learn more"
},
"homepage.corporations.docslearnmore": {
"message": "Learn more",
"message": "もっと見る",
"description": "docs learn more"
},
"homepage.corporations.joinus": {
"message": "Join Us to Share More",
"message": "参加してシェアしよう",
"description": "Join Us to Share More"
},
"homepage.corporations.emailtitle_1": {
"message": "Having questions?",
"message": "質問がありますか?",
"description": "Having questions?"
},
"homepage.corporations.emailtitle_2": {
"message": "Get in touch with us to resolve!",
"message": "ご連絡ください。",
"description": "Get in touch with us to resolve!"
},
"homepage.corporations.salesdepartment": {
"message": "Sales Department",
"message": "セールス部門",
"description": "Sales Department"
},
"homepage.corporations.devdepartment": {
"message": "Development Department",
"message": "開発部門",
"description": "Development Department"
},
"homepage.corporations.customerdepartment": {
"message": "Customer Support Department",
"message": "カスタマーサポート部門",
"description": "Customer Support Department"
},
"homepage.corporations.emailto": {
"message": "This e-mail is to",
"message": "宛先",
"description": "This e-mail is to"
},
"homepage.corporations.emailmessage": {
"message": "Message",
"message": "本文",
"description": "main message"
},
"homepage.corporations.companyname": {
Expand All @@ -1086,11 +1086,11 @@
"description": "footer company address"
},
"Send": {
"message": "Send",
"message": "送信",
"description": "Send"
},
"Embracing": {
"message": "Milk-VでRISC-Vをつくる",
"message": "Milk-VでRISC-Vを迎え入れる",
"description": " "
},
"overview": {
Expand Down Expand Up @@ -1126,7 +1126,7 @@
"description": " "
},
"ChoosingUs.item3.title": {
"message": "あんしんのアフターサポート",
"message": "安心のアフターサポート",
"description": " "
},
"ChoosingUs.item1.info": {
Expand All @@ -1146,15 +1146,15 @@
"description": " "
},
"Startingfrom": {
"message": "ここから始める",
"message": "開始価格",
"description": " "
},
"manykernels": {
"message": "複数のメモリオプション",
"description": " "
},
"large": {
"message": "ほかよりももっとパワフル。",
"message": "もっとパワフル。",
"description": " "
},
"DualCore": {
Expand Down Expand Up @@ -1182,7 +1182,7 @@
"description": " "
},
"Interfaces": {
"message": "インターフェイスはRaspberry pi互換",
"message": "インターフェイスはRaspberry Pi互換",
"description": " "
},
"AUDIO": {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"label": "🍐 Duo",
"position": 1,
"link": {
"type": "generated-index",
"slug": "/duo",
"description": "Hello, I am Milk-V Duo"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"label": "🖥️ App Development",
"position": 30,
"link": {
"type": "generated-index",
"slug": "/duo/app-dev",
"description": "Application Development"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
---
sidebar_label: 'pinmux'
sidebar_position: 05
---

Note that many pin functions of the Duo series are multiplexed. When using applications (such as wiringX, pinpong) to control the functions of each pin, it is important to confirm the current state of the pin to ensure it matches the desired functionality. If it doesn't, you can use the `duo-pinmux` command to switch it to the desired function.

### The pin names for Duo and Duo256M

For Duo pin multiplexing function, please refer to: [Duo GPIO Pinout](https://milkv.io/docs/duo/getting-started/duo#duo-gpio-pinout)

For Duo256M pin multiplexing function, please refer to: [Duo256M GPIO Pinout](https://milkv.io/docs/duo/getting-started/duo256m#duo256m-gpio-pinout)

<div className='gpio_style'>

| PIN NAME | Pin# | Pin# | PIN NAME |
| -------- | :-----------------------------: | :------------------------------: | -------- |
| GP0 | <div className='green'>1</div> | <div className='red'>40</div> | VBUS |
| GP1 | <div className='green'>2</div> | <div className='red'>39</div> | VSYS |
| GND | <div className='black'>3</div> | <div className='black'>38</div> | GND |
| GP2 | <div className='green'>4</div> | <div className='orange'>37</div> | 3V3_EN |
| GP3 | <div className='green'>5</div> | <div className='red'>36</div> | 3V3(OUT) |
| GP4 | <div className='green'>6</div> | <div className='gray'>35</div> | |
| GP5 | <div className='green'>7</div> | <div className='gray'>34</div> | |
| GND | <div className='black'>8</div> | <div className='black'>33</div> | GND |
| GP6 | <div className='green'>9</div> | <div className='green'>32</div> | GP27 |
| GP7 | <div className='green'>10</div> | <div className='green'>31</div> | GP26 |
| GP8 | <div className='green'>11</div> | <div className='orange'>30</div> | RUN |
| GP9 | <div className='green'>12</div> | <div className='green'>29</div> | GP22 |
| GND | <div className='black'>13</div> | <div className='black'>28</div> | GND |
| GP10 | <div className='green'>14</div> | <div className='green'>27</div> | GP21 |
| GP11 | <div className='green'>15</div> | <div className='green'>26</div> | GP20 |
| GP12 | <div className='green'>16</div> | <div className='green'>25</div> | GP19 |
| GP13 | <div className='green'>17</div> | <div className='green'>24</div> | GP18 |
| GND | <div className='black'>18</div> | <div className='black'>23</div> | GND |
| GP14 | <div className='green'>19</div> | <div className='green'>22</div> | GP17 |
| GP15 | <div className='green'>20</div> | <div className='green'>21</div> | GP16 |
| | &nbsp; | | |
| GP25 | <div className='blue'>LED</div> | | |

</div>

### The pin names for DuoS

For DuoS pin multiplexing function, please refer to: [DuoS GPIO Pinout](https://milkv.io/docs/duo/getting-started/duos#duos-gpio-pinout)

#### Header J3

GPIO on `Header J3` use 3.3V logic levels.

<div className='gpio_style' style={{ overflow :"auto"}} >

| PIN NAME | PIN# | PIN# | PIN NAME |
|:---------|:--------------------------------:|:-------------------------------:|:---------|
| 3V3 | <div className='orange'>1</div> | <div className='red'>2</div> | VSYS(5V) |
| B20 | <div className='green'>3</div> | <div className='red'>4</div> | VSYS(5V) |
| B21 | <div className='green'>5</div> | <div className='black'>6</div> | GND |
| B18 | <div className='green'>7</div> | <div className='green'>8</div> | A16 |
| GND\* | <div className='black'>9</div> | <div className='green'>10</div> | A17 |
| B11 | <div className='green'>11</div> | <div className='green'>12</div> | B19 |
| B12 | <div className='green'>13</div> | <div className='black'>14</div> | GND |
| B22 | <div className='green'>15</div> | <div className='green'>16</div> | A20 |
| 3V3 | <div className='orange'>17</div> | <div className='green'>18</div> | A19 |
| B13 | <div className='green'>19</div> | <div className='black'>20</div> | GND |
| B14 | <div className='green'>21</div> | <div className='green'>22</div> | A18 |
| B15 | <div className='green'>23</div> | <div className='green'>24</div> | B16 |
| GND | <div className='black'>25</div> | <div className='green'>26</div> | A28 |

</div>

*GND\*: Pin 9 is a low-level GPIO in the V1.1 version of the hardware, and is GND in the V1.2 version and later.*

#### Header J4

GPIO on `Header J4` use 1.8V logic levels.

Most of the pins on this header have dedicated functions, such as MIPI DSI signals, Touch Screen signals, and audio signals. If there is no special requirement, it is not recommended to use the pins on this header as GPIO.

<div className='gpio_style' style={{ overflow :"auto"}} >

| PIN NAME | PIN# | PIN# | PIN NAME |
|----------|:-------------------------------:|:--------------------------------:|:------------|
| VSYS(5V) | <div className='red'>52</div> | <div className='blue'>51</div> | AUDIO_OUT_R |
| B1 | <div className='green'>50</div> | <div className='blue'>49</div> | AUDIO_OUT_L |
| B2 | <div className='green'>48</div> | <div className='blue'>47</div> | AUDIO_IN_R |
| B3 | <div className='green'>46</div> | <div className='blue'>45</div> | AUDIO_IN_L |
| E2 | <div className='green'>44</div> | <div className='orange'>43</div> | 3V3 |
| E1 | <div className='green'>42</div> | <div className='green'>41</div> | C18 |
| E0 | <div className='green'>40</div> | <div className='green'>39</div> | C19 |
| GND | <div className='black'>38</div> | <div className='black'>37</div> | GND |
| C20 | <div className='green'>36</div> | <div className='green'>35</div> | C16 |
| C21 | <div className='green'>34</div> | <div className='green'>33</div> | C17 |
| GND | <div className='black'>32</div> | <div className='black'>31</div> | GND |
| C14 | <div className='green'>30</div> | <div className='green'>29</div> | C12 |
| C15 | <div className='green'>28</div> | <div className='green'>27</div> | C13 |

</div>

### Pin multiplexing configuration

The following uses Duo as an example to introduce how to configure pin multiplexing.

Executing the `duo-pinmux` command directly allows you to view the usage instructions
```
[root@milkv-duo]~# duo-pinmux
pinmux for duo
duo-pinmux -p <== List all pins
duo-pinmux -l <== List all pins and its func
duo-pinmux -r pin <== Get func from pin
duo-pinmux -w pin/func <== Set func to pin
```

To check the multiplexing status of a specific pin, such as pin 1 on Duo, you need to know the name of that pin. As indicated in the diagram above, the name of pin 1 is `GP0`. To view its multiplexing status, use the command `duo-pinmux -r` followed by the pin name
```
[root@milkv-duo]~# duo-pinmux -r GP0
GP0 function:
[ ] JTAG_TDI
[ ] UART1_TX
[ ] UART2_TX
[ ] GP0
[v] IIC0_SCL
[ ] WG0_D0
[ ] DBG_10
```
You can see that the current function is `IIC0_SCL`, indicating it is configured as the SCL pin for I2C0. If you want to configure pin 1 as a GPIO, you can use the following command: `duo-pinmux -w pin_name/function`
```
duo-pinmux -w GP0/GP0
```
Now, check the multiplexing status of the pin again
```
[root@milkv-duo]~# duo-pinmux -r GP0
GP0 function:
[ ] JTAG_TDI
[ ] UART1_TX
[ ] UART2_TX
[v] GP0
[ ] IIC0_SCL
[ ] WG0_D0
[ ] DBG_10
```
You can see that it has been configured as `GP0` now

Similarly, to configure pin 1 as the TX pin for UART1, you need to execute
```
duo-pinmux -w GP0/UART1_TX
```
Check the multiplexing status
```
[root@milkv-duo]~# duo-pinmux -r GP0
GP0 function:
[ ] JTAG_TDI
[v] UART1_TX
[ ] UART2_TX
[ ] GP0
[ ] IIC0_SCL
[ ] WG0_D0
[ ] DBG_10
```
It meets the expectation
Loading
Loading