-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ubuntu
committed
Jan 29, 2024
0 parents
commit f8a1d8d
Showing
253 changed files
with
56,057 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Deploy to GitHub Pages | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
# Review gh actions docs if you want to further define triggers, paths, etc | ||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on | ||
|
||
permissions: | ||
contents: write | ||
|
||
jobs: | ||
deploy: | ||
name: Deploy to GitHub Pages | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
cache: yarn | ||
cache-dependency-path: './package-lock.json' | ||
|
||
- name: Install dependencies | ||
run: yarn install --frozen-lockfile | ||
- name: Build website | ||
run: yarn build | ||
|
||
# Popular action to deploy to GitHub Pages: | ||
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus | ||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.CI_TOKEN }} | ||
# Build output to publish to the `gh-pages` branch: | ||
publish_dir: ./build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Dependencies | ||
/node_modules | ||
|
||
# Production | ||
/build | ||
|
||
# Generated files | ||
.docusaurus | ||
.cache-loader | ||
|
||
# Misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module.exports = { | ||
presets: [require.resolve('@docusaurus/core/lib/babel/preset')], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
--- | ||
sidebar_position: 1 | ||
--- | ||
# T113s工业套件硬件简述 | ||
|
||
* 此开发板的任何问题都可以在我们的论坛交流讨论 https://forums.100ask.net/c/aw/15 | ||
|
||
## 硬件简述 | ||
|
||
东山哪吒STU开发板是一款针对于教育学习专门设计的一系列开发板,分别有 | ||
|
||
* 最小主板:只保留一些学习调试最基本接口,做到最具性价比,**仅售149**。 | ||
* 全阵脚引出的DIY底板:主要是供DIY极客爱好者使用,可以自行DIY设计。 **仅售29** | ||
* 专门的配套项目底板:针对于芯片的使用场景设计出专门的项目底板,结合课程学习使用。 **仅售149** | ||
* 配套的邮票孔封装D1s核心板:针对于企业级客户或者做产品的客户使用。 | ||
|
||
### 最小主板 | ||
如下图板载资源所示最小主板有: | ||
|
||
* 正面:TYPE-C TTL供电与调试接口,直接连接电脑USB接口即可实现 串口调试与供电二合一,无需额外的连接线。 | ||
* 正面:RJ45千兆以太网接口,主要用于网络启动系统下载内核等操作,方便调试开发。 | ||
* 正面:TYPE-C的USB OTG接口,用于烧写系统与作为OTG主从设备使用。 | ||
* 正面:引出 HDMI接口,可用于连接显示器等设备。 | ||
* 背面:TF卡接口,可用于调试与连接TF卡启动系统。 | ||
* 背面:256MB SPI NAND FLASH 芯片。 | ||
|
||
![DongshanNezhaSTU-TOP_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/DongshanNezhaSTU-TOP_001.png) | ||
|
||
|
||
### DIY全针脚底板 | ||
全针脚DIY底板,将最小主板的所有未使用引脚全都引出到底板排针上,并提供全部硬件设计资料,可以自行使用 嘉立创 设计生产,也可以直接从我们这里购买。 | ||
主要适用于喜欢DIY的同学。 | ||
|
||
下图是 **最小主板** 与 **DIY全针脚底板** 连接示意图。 | ||
|
||
![DongshanNezhaSTU-DIY_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/DongshanNezhaSTU-DIY_003.jpg) | ||
|
||
### 全功能项目底板 | ||
|
||
全功能项目底板是用于扩展 哪吒STU最小板功能而设计,拥有更丰富的功能,主要用于项目学习,网络,蓝牙,音频,显示,红外, 以及传感器模块等设备。 | ||
|
||
全功能底板的板载功能有 | ||
|
||
* XR829 WIFI蓝牙模组芯片,Bluetooth支持标准蓝牙与 低功耗蓝牙,Wifi 支持2.4G hz 无线网络通信。 | ||
* MIPI DSI屏幕显示接口:支持最高 1920x 1200分辨率,接口兼容 全志哪吒 公板,后续会有配套屏幕模块。 | ||
* IR红外接收接口:支持红外信号接收。 | ||
* 3.5MM Audio OUT:支持常见 手机的四段式 3.5MM耳机,可用于播放音乐并录制声音。 | ||
* MIC1 MIC2:使用硅敏麦克风,用于专业拾音。 | ||
* SPEAKER:专门的功放接口,用于扬声器播放声音,接口是 1.25 mmx2 PH. | ||
* USB TYPE-A HOST接口:用于连接 标准的 USB设备,比如 U盘 支持UVC的摄像头 等等设备。 | ||
* PCI-E接口:支持4G模块连接,可以进行PPPOE通信,开发板独立上网。 | ||
* 排针:将多余IO全部引出,用于扩展传感器模块等,电源兼容树莓派 接口。 | ||
|
||
![DongshanNezhaSTU-FullProject-Board_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/DongshanNezhaSTU-FullProject-Board_001.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
--- | ||
sidebar_position: 2 | ||
--- | ||
# 安装并配置开发环境 | ||
|
||
|
||
## 获取虚拟机系统 | ||
|
||
### 下载vmware虚拟机工具 | ||
|
||
使用浏览器打开网址 https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html 参考下图箭头所示,点击下载安装 Windows版本的VMware Workstation ,点击 **DOWNLOAD NOW** 即可开始下载。 | ||
|
||
![vmwareworkstation_download_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/vmwareworkstation_download_001.png) | ||
|
||
下载完成后全部使用默认配置一步步安装即可。 | ||
|
||
|
||
|
||
### 获取Ubuntu系统镜像 | ||
|
||
* 使用浏览器打开 https://www.linuxvmimages.com/images/ubuntu-1804/ 找到如下箭头所示位置,点击 **VMware Image** 下载。 | ||
|
||
![linuxvmimage_downlaod_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/linuxvmimage_downlaod_001.png) | ||
|
||
下载过程可能会持续 10 到 30 分钟,具体要依据网速而定。 | ||
|
||
|
||
|
||
## 运行虚拟机系统 | ||
|
||
1. 解压缩 虚拟机系统镜像压缩包,解压缩完成后,可以看到里面有如下两个文件,接下来,我们会使用 后缀名为 .vmx 这个 配置文件。 | ||
|
||
![ConfigHost_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/ConfigHost_003.png) | ||
|
||
2. 打开已经安装好的 vmware workstation 软件 点击左上角的 **文件** --> **打开** 找到上面的 Ubuntu_18.04.6_VM_LinuxVMImages.COM.vmx 文件,之后会弹出新的虚拟机对话框页面。 | ||
|
||
![ConfigHost_004](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/ConfigHost_004.png) | ||
|
||
3. 如下图所示为 为我们已经虚拟机的配置界面,那面我们可以 点击 红框 2 编辑虚拟机设置 里面 去调正 我们虚拟机的 内存 大小 和处理器个数,建议 最好 内存为 4GB 及以上,处理器至少4 个。 调整好以后,就可以 点击 **开启此虚拟机** 来运行此虚拟机了 | ||
|
||
![ConfigHost_005](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/ConfigHost_005.png) | ||
|
||
第一次打开会提示 一个 虚拟机已经复制的 对话框,我们这时,只需要 点击 我已复制虚拟机 就可以继续启动虚拟机系统了。 | ||
|
||
![ConfigHost_006](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/ConfigHost_006.png) | ||
|
||
等待数秒,系统就会自动启动了,启动以后 鼠标点击 **Ubuntu** 字样,就可以进入登录对话框,输入 密码 ubuntu 即可登录进入ubuntu系统内。 | ||
|
||
注意: | ||
|
||
**Ubuntu默认的用户名密码分别为 ubuntu ubuntu** | ||
|
||
**Ubuntu默认的用户名密码分别为 ubuntu ubuntu** | ||
|
||
**Ubuntu默认的用户名密码分别为 ubuntu ubuntu** | ||
|
||
**ubuntu默认需要联网,如果你的 Windows电脑已经可以访问Internet 互联网,ubuntu系统后就会自动共享 Windows电脑的网络 进行连接internet 网络。** | ||
|
||
|
||
|
||
### 配置开发环境 | ||
|
||
|
||
|
||
* 安装必要软件包, 鼠标点击进入 ubuntu界面内,键盘同时 按下 **ctrl + alt + t** 三个按键会快速唤起,终端界面,唤起成功后,在终端里面执行如下命令进行安装必要依赖包。 | ||
|
||
```bash | ||
sudo apt-get install -y sed make binutils build-essential gcc g++ bash patch gzip bzip2 perl tar cpio unzip rsync file bc wget python cvs git mercurial rsync subversion android-tools-mkbootimg vim libssl-dev android-tools-fastboot | ||
``` | ||
|
||
如果你发现你的ubuntu虚拟机 第一次启动 无法 通过 windows下复制 命令 粘贴到 ubuntu内,则需要先手敲 执行如下命令 安装一个 用于 虚拟机和 windows共享剪切板的工具包。 | ||
|
||
```bash | ||
sudo apt install open-vm-tools-desktop | ||
``` | ||
|
||
![ConfigHost_007](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/ConfigHost_007.png) | ||
|
||
安装完成后,点击右上角的 电源按钮,重启ubuntu系统,或者 直接输入 sudo reboot 命令进行重启。 | ||
|
||
这时就可以 通过windows端向ubuntu内粘贴文件,或者拷贝拷出文件了。 | ||
|
||
![ConfigHost_008](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/ConfigHost_008.png) | ||
|
||
做完这一步以后,就可以继续往下,获取源码 开始RISC-V 东山哪吒STU开发板的开发之旅了。 |
Oops, something went wrong.