diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100755 index 0000000..00152c1 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b2d6de3 --- /dev/null +++ b/.gitignore @@ -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* diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 0000000..e00595d --- /dev/null +++ b/babel.config.js @@ -0,0 +1,3 @@ +module.exports = { + presets: [require.resolve('@docusaurus/core/lib/babel/preset')], +}; diff --git a/docs/D1h-DualDisplay/01-BoardIntroduction.md b/docs/D1h-DualDisplay/01-BoardIntroduction.md new file mode 100644 index 0000000..423f810 --- /dev/null +++ b/docs/D1h-DualDisplay/01-BoardIntroduction.md @@ -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) diff --git a/docs/D1h-DualDisplay/06-ConfigHostEnv.md b/docs/D1h-DualDisplay/06-ConfigHostEnv.md new file mode 100644 index 0000000..15f91d8 --- /dev/null +++ b/docs/D1h-DualDisplay/06-ConfigHostEnv.md @@ -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开发板的开发之旅了。 diff --git a/docs/D1h-DualDisplay/part1/03-1_FlashSystem.md b/docs/D1h-DualDisplay/part1/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D1h-DualDisplay/part1/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D1h-DualDisplay/part1/03-2_SomeQustion.md b/docs/D1h-DualDisplay/part1/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D1h-DualDisplay/part1/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D1h-DualDisplay/part1/03-QuickStart.md b/docs/D1h-DualDisplay/part1/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D1h-DualDisplay/part1/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D1h-DualDisplay/part1/04-StudyPath.md b/docs/D1h-DualDisplay/part1/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D1h-DualDisplay/part1/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D1h-DualDisplay/part1/_category_.json b/docs/D1h-DualDisplay/part1/_category_.json new file mode 100644 index 0000000..ae53f3e --- /dev/null +++ b/docs/D1h-DualDisplay/part1/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "快速启动", + "position": 1, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D1h-DualDisplay/part2/03-1_FlashSystem.md b/docs/D1h-DualDisplay/part2/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D1h-DualDisplay/part2/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D1h-DualDisplay/part2/03-2_SomeQustion.md b/docs/D1h-DualDisplay/part2/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D1h-DualDisplay/part2/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D1h-DualDisplay/part2/03-QuickStart.md b/docs/D1h-DualDisplay/part2/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D1h-DualDisplay/part2/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D1h-DualDisplay/part2/04-StudyPath.md b/docs/D1h-DualDisplay/part2/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D1h-DualDisplay/part2/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D1h-DualDisplay/part2/_category_.json b/docs/D1h-DualDisplay/part2/_category_.json new file mode 100644 index 0000000..fd58a6c --- /dev/null +++ b/docs/D1h-DualDisplay/part2/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "默认系统开发", + "position": 3, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D1h-DualDisplay/part3/03-1_FlashSystem.md b/docs/D1h-DualDisplay/part3/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D1h-DualDisplay/part3/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D1h-DualDisplay/part3/03-2_SomeQustion.md b/docs/D1h-DualDisplay/part3/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D1h-DualDisplay/part3/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D1h-DualDisplay/part3/03-QuickStart.md b/docs/D1h-DualDisplay/part3/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D1h-DualDisplay/part3/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D1h-DualDisplay/part3/04-StudyPath.md b/docs/D1h-DualDisplay/part3/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D1h-DualDisplay/part3/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D1h-DualDisplay/part3/_category_.json b/docs/D1h-DualDisplay/part3/_category_.json new file mode 100644 index 0000000..abfaa56 --- /dev/null +++ b/docs/D1h-DualDisplay/part3/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "SysterKit开发", + "position": 5, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D1h-DualDisplay/part4/03-1_FlashSystem.md b/docs/D1h-DualDisplay/part4/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D1h-DualDisplay/part4/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D1h-DualDisplay/part4/03-2_SomeQustion.md b/docs/D1h-DualDisplay/part4/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D1h-DualDisplay/part4/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D1h-DualDisplay/part4/03-QuickStart.md b/docs/D1h-DualDisplay/part4/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D1h-DualDisplay/part4/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D1h-DualDisplay/part4/04-StudyPath.md b/docs/D1h-DualDisplay/part4/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D1h-DualDisplay/part4/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D1h-DualDisplay/part4/_category_.json b/docs/D1h-DualDisplay/part4/_category_.json new file mode 100644 index 0000000..2c85ccd --- /dev/null +++ b/docs/D1h-DualDisplay/part4/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "主线Buildroot开发", + "position": 6, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D1h-DualDisplay/part5/03-1_FlashSystem.md b/docs/D1h-DualDisplay/part5/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D1h-DualDisplay/part5/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D1h-DualDisplay/part5/03-2_SomeQustion.md b/docs/D1h-DualDisplay/part5/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D1h-DualDisplay/part5/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D1h-DualDisplay/part5/03-QuickStart.md b/docs/D1h-DualDisplay/part5/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D1h-DualDisplay/part5/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D1h-DualDisplay/part5/04-StudyPath.md b/docs/D1h-DualDisplay/part5/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D1h-DualDisplay/part5/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D1h-DualDisplay/part5/_category_.json b/docs/D1h-DualDisplay/part5/_category_.json new file mode 100644 index 0000000..a502239 --- /dev/null +++ b/docs/D1h-DualDisplay/part5/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "主线Openwrt开发", + "position": 7, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D1h-DualDisplay/part6/03-1_FlashSystem.md b/docs/D1h-DualDisplay/part6/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D1h-DualDisplay/part6/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D1h-DualDisplay/part6/03-2_SomeQustion.md b/docs/D1h-DualDisplay/part6/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D1h-DualDisplay/part6/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D1h-DualDisplay/part6/03-QuickStart.md b/docs/D1h-DualDisplay/part6/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D1h-DualDisplay/part6/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D1h-DualDisplay/part6/04-StudyPath.md b/docs/D1h-DualDisplay/part6/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D1h-DualDisplay/part6/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D1h-DualDisplay/part6/_category_.json b/docs/D1h-DualDisplay/part6/_category_.json new file mode 100644 index 0000000..7beb0fc --- /dev/null +++ b/docs/D1h-DualDisplay/part6/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "Tina-SDK开发", + "position":8, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D1s-CVBS/01-BoardIntroduction.md b/docs/D1s-CVBS/01-BoardIntroduction.md new file mode 100644 index 0000000..423f810 --- /dev/null +++ b/docs/D1s-CVBS/01-BoardIntroduction.md @@ -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) diff --git a/docs/D1s-CVBS/06-ConfigHostEnv.md b/docs/D1s-CVBS/06-ConfigHostEnv.md new file mode 100644 index 0000000..15f91d8 --- /dev/null +++ b/docs/D1s-CVBS/06-ConfigHostEnv.md @@ -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开发板的开发之旅了。 diff --git a/docs/D1s-CVBS/part1/03-1_FlashSystem.md b/docs/D1s-CVBS/part1/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D1s-CVBS/part1/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D1s-CVBS/part1/03-2_SomeQustion.md b/docs/D1s-CVBS/part1/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D1s-CVBS/part1/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D1s-CVBS/part1/03-QuickStart.md b/docs/D1s-CVBS/part1/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D1s-CVBS/part1/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D1s-CVBS/part1/04-StudyPath.md b/docs/D1s-CVBS/part1/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D1s-CVBS/part1/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D1s-CVBS/part1/_category_.json b/docs/D1s-CVBS/part1/_category_.json new file mode 100644 index 0000000..ae53f3e --- /dev/null +++ b/docs/D1s-CVBS/part1/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "快速启动", + "position": 1, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D1s-CVBS/part2/03-1_FlashSystem.md b/docs/D1s-CVBS/part2/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D1s-CVBS/part2/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D1s-CVBS/part2/03-2_SomeQustion.md b/docs/D1s-CVBS/part2/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D1s-CVBS/part2/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D1s-CVBS/part2/03-QuickStart.md b/docs/D1s-CVBS/part2/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D1s-CVBS/part2/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D1s-CVBS/part2/04-StudyPath.md b/docs/D1s-CVBS/part2/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D1s-CVBS/part2/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D1s-CVBS/part2/_category_.json b/docs/D1s-CVBS/part2/_category_.json new file mode 100644 index 0000000..fd58a6c --- /dev/null +++ b/docs/D1s-CVBS/part2/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "默认系统开发", + "position": 3, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D1s-CVBS/part3/03-1_FlashSystem.md b/docs/D1s-CVBS/part3/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D1s-CVBS/part3/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D1s-CVBS/part3/03-2_SomeQustion.md b/docs/D1s-CVBS/part3/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D1s-CVBS/part3/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D1s-CVBS/part3/03-QuickStart.md b/docs/D1s-CVBS/part3/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D1s-CVBS/part3/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D1s-CVBS/part3/04-StudyPath.md b/docs/D1s-CVBS/part3/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D1s-CVBS/part3/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D1s-CVBS/part3/_category_.json b/docs/D1s-CVBS/part3/_category_.json new file mode 100644 index 0000000..abfaa56 --- /dev/null +++ b/docs/D1s-CVBS/part3/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "SysterKit开发", + "position": 5, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D1s-CVBS/part4/03-1_FlashSystem.md b/docs/D1s-CVBS/part4/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D1s-CVBS/part4/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D1s-CVBS/part4/03-2_SomeQustion.md b/docs/D1s-CVBS/part4/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D1s-CVBS/part4/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D1s-CVBS/part4/03-QuickStart.md b/docs/D1s-CVBS/part4/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D1s-CVBS/part4/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D1s-CVBS/part4/04-StudyPath.md b/docs/D1s-CVBS/part4/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D1s-CVBS/part4/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D1s-CVBS/part4/_category_.json b/docs/D1s-CVBS/part4/_category_.json new file mode 100644 index 0000000..2c85ccd --- /dev/null +++ b/docs/D1s-CVBS/part4/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "主线Buildroot开发", + "position": 6, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D1s-CVBS/part5/03-1_FlashSystem.md b/docs/D1s-CVBS/part5/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D1s-CVBS/part5/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D1s-CVBS/part5/03-2_SomeQustion.md b/docs/D1s-CVBS/part5/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D1s-CVBS/part5/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D1s-CVBS/part5/03-QuickStart.md b/docs/D1s-CVBS/part5/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D1s-CVBS/part5/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D1s-CVBS/part5/04-StudyPath.md b/docs/D1s-CVBS/part5/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D1s-CVBS/part5/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D1s-CVBS/part5/_category_.json b/docs/D1s-CVBS/part5/_category_.json new file mode 100644 index 0000000..a502239 --- /dev/null +++ b/docs/D1s-CVBS/part5/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "主线Openwrt开发", + "position": 7, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D1s-CVBS/part6/03-1_FlashSystem.md b/docs/D1s-CVBS/part6/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D1s-CVBS/part6/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D1s-CVBS/part6/03-2_SomeQustion.md b/docs/D1s-CVBS/part6/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D1s-CVBS/part6/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D1s-CVBS/part6/03-QuickStart.md b/docs/D1s-CVBS/part6/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D1s-CVBS/part6/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D1s-CVBS/part6/04-StudyPath.md b/docs/D1s-CVBS/part6/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D1s-CVBS/part6/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D1s-CVBS/part6/_category_.json b/docs/D1s-CVBS/part6/_category_.json new file mode 100644 index 0000000..7beb0fc --- /dev/null +++ b/docs/D1s-CVBS/part6/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "Tina-SDK开发", + "position":8, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D213-DevKit/01-BoardIntroduction.md b/docs/D213-DevKit/01-BoardIntroduction.md new file mode 100644 index 0000000..423f810 --- /dev/null +++ b/docs/D213-DevKit/01-BoardIntroduction.md @@ -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) diff --git a/docs/D213-DevKit/06-ConfigHostEnv.md b/docs/D213-DevKit/06-ConfigHostEnv.md new file mode 100644 index 0000000..15f91d8 --- /dev/null +++ b/docs/D213-DevKit/06-ConfigHostEnv.md @@ -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开发板的开发之旅了。 diff --git a/docs/D213-DevKit/part1/03-1_FlashSystem.md b/docs/D213-DevKit/part1/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D213-DevKit/part1/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D213-DevKit/part1/03-2_SomeQustion.md b/docs/D213-DevKit/part1/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D213-DevKit/part1/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D213-DevKit/part1/03-QuickStart.md b/docs/D213-DevKit/part1/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D213-DevKit/part1/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D213-DevKit/part1/04-StudyPath.md b/docs/D213-DevKit/part1/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D213-DevKit/part1/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D213-DevKit/part1/_category_.json b/docs/D213-DevKit/part1/_category_.json new file mode 100644 index 0000000..ae53f3e --- /dev/null +++ b/docs/D213-DevKit/part1/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "快速启动", + "position": 1, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D213-DevKit/part2/03-1_FlashSystem.md b/docs/D213-DevKit/part2/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D213-DevKit/part2/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D213-DevKit/part2/03-2_SomeQustion.md b/docs/D213-DevKit/part2/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D213-DevKit/part2/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D213-DevKit/part2/03-QuickStart.md b/docs/D213-DevKit/part2/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D213-DevKit/part2/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D213-DevKit/part2/04-StudyPath.md b/docs/D213-DevKit/part2/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D213-DevKit/part2/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D213-DevKit/part2/_category_.json b/docs/D213-DevKit/part2/_category_.json new file mode 100644 index 0000000..fd58a6c --- /dev/null +++ b/docs/D213-DevKit/part2/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "默认系统开发", + "position": 3, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D213-DevKit/part3/03-1_FlashSystem.md b/docs/D213-DevKit/part3/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D213-DevKit/part3/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D213-DevKit/part3/03-2_SomeQustion.md b/docs/D213-DevKit/part3/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D213-DevKit/part3/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D213-DevKit/part3/03-QuickStart.md b/docs/D213-DevKit/part3/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D213-DevKit/part3/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D213-DevKit/part3/04-StudyPath.md b/docs/D213-DevKit/part3/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D213-DevKit/part3/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D213-DevKit/part3/_category_.json b/docs/D213-DevKit/part3/_category_.json new file mode 100644 index 0000000..abfaa56 --- /dev/null +++ b/docs/D213-DevKit/part3/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "SysterKit开发", + "position": 5, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D213-DevKit/part4/03-1_FlashSystem.md b/docs/D213-DevKit/part4/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D213-DevKit/part4/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D213-DevKit/part4/03-2_SomeQustion.md b/docs/D213-DevKit/part4/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D213-DevKit/part4/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D213-DevKit/part4/03-QuickStart.md b/docs/D213-DevKit/part4/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D213-DevKit/part4/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D213-DevKit/part4/04-StudyPath.md b/docs/D213-DevKit/part4/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D213-DevKit/part4/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D213-DevKit/part4/_category_.json b/docs/D213-DevKit/part4/_category_.json new file mode 100644 index 0000000..2c85ccd --- /dev/null +++ b/docs/D213-DevKit/part4/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "主线Buildroot开发", + "position": 6, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D213-DevKit/part5/03-1_FlashSystem.md b/docs/D213-DevKit/part5/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D213-DevKit/part5/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D213-DevKit/part5/03-2_SomeQustion.md b/docs/D213-DevKit/part5/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D213-DevKit/part5/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D213-DevKit/part5/03-QuickStart.md b/docs/D213-DevKit/part5/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D213-DevKit/part5/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D213-DevKit/part5/04-StudyPath.md b/docs/D213-DevKit/part5/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D213-DevKit/part5/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D213-DevKit/part5/_category_.json b/docs/D213-DevKit/part5/_category_.json new file mode 100644 index 0000000..a502239 --- /dev/null +++ b/docs/D213-DevKit/part5/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "主线Openwrt开发", + "position": 7, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/D213-DevKit/part6/03-1_FlashSystem.md b/docs/D213-DevKit/part6/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/D213-DevKit/part6/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/D213-DevKit/part6/03-2_SomeQustion.md b/docs/D213-DevKit/part6/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/D213-DevKit/part6/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/D213-DevKit/part6/03-QuickStart.md b/docs/D213-DevKit/part6/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/D213-DevKit/part6/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/D213-DevKit/part6/04-StudyPath.md b/docs/D213-DevKit/part6/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/D213-DevKit/part6/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/D213-DevKit/part6/_category_.json b/docs/D213-DevKit/part6/_category_.json new file mode 100644 index 0000000..7beb0fc --- /dev/null +++ b/docs/D213-DevKit/part6/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "Tina-SDK开发", + "position":8, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/MP135-DevKit/01-BoardIntroduction.md b/docs/MP135-DevKit/01-BoardIntroduction.md new file mode 100644 index 0000000..423f810 --- /dev/null +++ b/docs/MP135-DevKit/01-BoardIntroduction.md @@ -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) diff --git a/docs/MP135-DevKit/06-ConfigHostEnv.md b/docs/MP135-DevKit/06-ConfigHostEnv.md new file mode 100644 index 0000000..15f91d8 --- /dev/null +++ b/docs/MP135-DevKit/06-ConfigHostEnv.md @@ -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开发板的开发之旅了。 diff --git a/docs/MP135-DevKit/part1/03-1_FlashSystem.md b/docs/MP135-DevKit/part1/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/MP135-DevKit/part1/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/MP135-DevKit/part1/03-2_SomeQustion.md b/docs/MP135-DevKit/part1/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/MP135-DevKit/part1/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/MP135-DevKit/part1/03-QuickStart.md b/docs/MP135-DevKit/part1/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/MP135-DevKit/part1/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/MP135-DevKit/part1/04-StudyPath.md b/docs/MP135-DevKit/part1/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/MP135-DevKit/part1/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/MP135-DevKit/part1/_category_.json b/docs/MP135-DevKit/part1/_category_.json new file mode 100644 index 0000000..ae53f3e --- /dev/null +++ b/docs/MP135-DevKit/part1/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "快速启动", + "position": 1, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/MP135-DevKit/part2/03-1_FlashSystem.md b/docs/MP135-DevKit/part2/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/MP135-DevKit/part2/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/MP135-DevKit/part2/03-2_SomeQustion.md b/docs/MP135-DevKit/part2/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/MP135-DevKit/part2/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/MP135-DevKit/part2/03-QuickStart.md b/docs/MP135-DevKit/part2/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/MP135-DevKit/part2/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/MP135-DevKit/part2/04-StudyPath.md b/docs/MP135-DevKit/part2/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/MP135-DevKit/part2/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/MP135-DevKit/part2/_category_.json b/docs/MP135-DevKit/part2/_category_.json new file mode 100644 index 0000000..fd58a6c --- /dev/null +++ b/docs/MP135-DevKit/part2/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "默认系统开发", + "position": 3, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/MP135-DevKit/part3/03-1_FlashSystem.md b/docs/MP135-DevKit/part3/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/MP135-DevKit/part3/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/MP135-DevKit/part3/03-2_SomeQustion.md b/docs/MP135-DevKit/part3/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/MP135-DevKit/part3/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/MP135-DevKit/part3/03-QuickStart.md b/docs/MP135-DevKit/part3/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/MP135-DevKit/part3/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/MP135-DevKit/part3/04-StudyPath.md b/docs/MP135-DevKit/part3/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/MP135-DevKit/part3/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/MP135-DevKit/part3/_category_.json b/docs/MP135-DevKit/part3/_category_.json new file mode 100644 index 0000000..abfaa56 --- /dev/null +++ b/docs/MP135-DevKit/part3/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "SysterKit开发", + "position": 5, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/MP135-DevKit/part4/03-1_FlashSystem.md b/docs/MP135-DevKit/part4/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/MP135-DevKit/part4/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/MP135-DevKit/part4/03-2_SomeQustion.md b/docs/MP135-DevKit/part4/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/MP135-DevKit/part4/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/MP135-DevKit/part4/03-QuickStart.md b/docs/MP135-DevKit/part4/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/MP135-DevKit/part4/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/MP135-DevKit/part4/04-StudyPath.md b/docs/MP135-DevKit/part4/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/MP135-DevKit/part4/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/MP135-DevKit/part4/_category_.json b/docs/MP135-DevKit/part4/_category_.json new file mode 100644 index 0000000..2c85ccd --- /dev/null +++ b/docs/MP135-DevKit/part4/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "主线Buildroot开发", + "position": 6, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/MP135-DevKit/part5/03-1_FlashSystem.md b/docs/MP135-DevKit/part5/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/MP135-DevKit/part5/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/MP135-DevKit/part5/03-2_SomeQustion.md b/docs/MP135-DevKit/part5/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/MP135-DevKit/part5/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/MP135-DevKit/part5/03-QuickStart.md b/docs/MP135-DevKit/part5/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/MP135-DevKit/part5/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/MP135-DevKit/part5/04-StudyPath.md b/docs/MP135-DevKit/part5/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/MP135-DevKit/part5/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/MP135-DevKit/part5/_category_.json b/docs/MP135-DevKit/part5/_category_.json new file mode 100644 index 0000000..a502239 --- /dev/null +++ b/docs/MP135-DevKit/part5/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "主线Openwrt开发", + "position": 7, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/MP135-DevKit/part6/03-1_FlashSystem.md b/docs/MP135-DevKit/part6/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/MP135-DevKit/part6/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/MP135-DevKit/part6/03-2_SomeQustion.md b/docs/MP135-DevKit/part6/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/MP135-DevKit/part6/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/MP135-DevKit/part6/03-QuickStart.md b/docs/MP135-DevKit/part6/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/MP135-DevKit/part6/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/MP135-DevKit/part6/04-StudyPath.md b/docs/MP135-DevKit/part6/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/MP135-DevKit/part6/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/MP135-DevKit/part6/_category_.json b/docs/MP135-DevKit/part6/_category_.json new file mode 100644 index 0000000..7beb0fc --- /dev/null +++ b/docs/MP135-DevKit/part6/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "Tina-SDK开发", + "position":8, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/T113i-Industrial/01-BoardIntroduction.md b/docs/T113i-Industrial/01-BoardIntroduction.md new file mode 100644 index 0000000..423f810 --- /dev/null +++ b/docs/T113i-Industrial/01-BoardIntroduction.md @@ -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) diff --git a/docs/T113i-Industrial/06-ConfigHostEnv.md b/docs/T113i-Industrial/06-ConfigHostEnv.md new file mode 100644 index 0000000..15f91d8 --- /dev/null +++ b/docs/T113i-Industrial/06-ConfigHostEnv.md @@ -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开发板的开发之旅了。 diff --git a/docs/T113i-Industrial/part1/03-1_FlashSystem.md b/docs/T113i-Industrial/part1/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/T113i-Industrial/part1/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/T113i-Industrial/part1/03-2_SomeQustion.md b/docs/T113i-Industrial/part1/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/T113i-Industrial/part1/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/T113i-Industrial/part1/03-QuickStart.md b/docs/T113i-Industrial/part1/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/T113i-Industrial/part1/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/T113i-Industrial/part1/04-StudyPath.md b/docs/T113i-Industrial/part1/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/T113i-Industrial/part1/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/T113i-Industrial/part1/_category_.json b/docs/T113i-Industrial/part1/_category_.json new file mode 100644 index 0000000..ae53f3e --- /dev/null +++ b/docs/T113i-Industrial/part1/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "快速启动", + "position": 1, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/T113i-Industrial/part2/03-1_FlashSystem.md b/docs/T113i-Industrial/part2/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/T113i-Industrial/part2/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/T113i-Industrial/part2/03-2_SomeQustion.md b/docs/T113i-Industrial/part2/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/T113i-Industrial/part2/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/T113i-Industrial/part2/03-QuickStart.md b/docs/T113i-Industrial/part2/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/T113i-Industrial/part2/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/T113i-Industrial/part2/04-StudyPath.md b/docs/T113i-Industrial/part2/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/T113i-Industrial/part2/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/T113i-Industrial/part2/_category_.json b/docs/T113i-Industrial/part2/_category_.json new file mode 100644 index 0000000..fd58a6c --- /dev/null +++ b/docs/T113i-Industrial/part2/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "默认系统开发", + "position": 3, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/T113i-Industrial/part3/03-1_FlashSystem.md b/docs/T113i-Industrial/part3/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/T113i-Industrial/part3/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/T113i-Industrial/part3/03-2_SomeQustion.md b/docs/T113i-Industrial/part3/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/T113i-Industrial/part3/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/T113i-Industrial/part3/03-QuickStart.md b/docs/T113i-Industrial/part3/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/T113i-Industrial/part3/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/T113i-Industrial/part3/04-StudyPath.md b/docs/T113i-Industrial/part3/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/T113i-Industrial/part3/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/T113i-Industrial/part3/_category_.json b/docs/T113i-Industrial/part3/_category_.json new file mode 100644 index 0000000..abfaa56 --- /dev/null +++ b/docs/T113i-Industrial/part3/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "SysterKit开发", + "position": 5, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/T113i-Industrial/part4/03-1_FlashSystem.md b/docs/T113i-Industrial/part4/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/T113i-Industrial/part4/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/T113i-Industrial/part4/03-2_SomeQustion.md b/docs/T113i-Industrial/part4/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/T113i-Industrial/part4/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/T113i-Industrial/part4/03-QuickStart.md b/docs/T113i-Industrial/part4/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/T113i-Industrial/part4/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/T113i-Industrial/part4/04-StudyPath.md b/docs/T113i-Industrial/part4/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/T113i-Industrial/part4/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/T113i-Industrial/part4/_category_.json b/docs/T113i-Industrial/part4/_category_.json new file mode 100644 index 0000000..2c85ccd --- /dev/null +++ b/docs/T113i-Industrial/part4/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "主线Buildroot开发", + "position": 6, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/T113i-Industrial/part5/03-1_FlashSystem.md b/docs/T113i-Industrial/part5/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/T113i-Industrial/part5/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/T113i-Industrial/part5/03-2_SomeQustion.md b/docs/T113i-Industrial/part5/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/T113i-Industrial/part5/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/T113i-Industrial/part5/03-QuickStart.md b/docs/T113i-Industrial/part5/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/T113i-Industrial/part5/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/T113i-Industrial/part5/04-StudyPath.md b/docs/T113i-Industrial/part5/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/T113i-Industrial/part5/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/T113i-Industrial/part5/_category_.json b/docs/T113i-Industrial/part5/_category_.json new file mode 100644 index 0000000..a502239 --- /dev/null +++ b/docs/T113i-Industrial/part5/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "主线Openwrt开发", + "position": 7, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/T113i-Industrial/part6/03-1_FlashSystem.md b/docs/T113i-Industrial/part6/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/T113i-Industrial/part6/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/T113i-Industrial/part6/03-2_SomeQustion.md b/docs/T113i-Industrial/part6/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/T113i-Industrial/part6/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/T113i-Industrial/part6/03-QuickStart.md b/docs/T113i-Industrial/part6/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/T113i-Industrial/part6/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/T113i-Industrial/part6/04-StudyPath.md b/docs/T113i-Industrial/part6/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/T113i-Industrial/part6/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/T113i-Industrial/part6/_category_.json b/docs/T113i-Industrial/part6/_category_.json new file mode 100644 index 0000000..7beb0fc --- /dev/null +++ b/docs/T113i-Industrial/part6/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "Tina-SDK开发", + "position":8, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/T113s3-Industrial/01-BoardIntroduction.md b/docs/T113s3-Industrial/01-BoardIntroduction.md new file mode 100644 index 0000000..234e8b3 --- /dev/null +++ b/docs/T113s3-Industrial/01-BoardIntroduction.md @@ -0,0 +1,30 @@ +--- +sidebar_position: 1 +--- + +# T113s工业套件简述 +:::tip +* T113开发交流QQ群:120575746 +::: +* 此开发板的任何问题都可以在我们的论坛交流讨论 https://forums.100ask.net/c/aw/ + +## 硬件简述 + +100ASK_T113s3-Industrial-DevKit 是百问网设计的一款专门针对于工业控制场景设计的开发套件, +核心板主控使用全志T113s3 内置内置128MB DDR3 核心板板载 128MB SPI NANDFlash适用于工业级接口最大化复用其功能,所有信号引出,我们底板针对于工业场景进行了专门的设计,板载双路RS485 双路CAN 支持RGB显示+I2C触摸 支持TF卡启动,板载USB OTG烧录口,板载usb转串口电路,无需专门购买转换线,支持耳机 音频输入输出, 拥有 4个 用户按键,板载 两个 系统 复位 FEL烧录模式按键,将USB1专门引出至TypeA接口,另外多余的信号,全部引出至兼容树莓派信号定义的2.54排针位置,方便自己DIY链接模块功能! + +![T113s3-Industrial_Pinout](https://photos.100ask.net/dongshanpi/T113s3-Industrial/T113s3-Industrial_Pinout.jpg) + +### T113s3芯片 +主芯片参数简述:T113-S3 是一款先进的应用处理器,专为汽车和工业控制市场而设计。 它集成了双核CortexTM-A7 CPU和单核HiFi4 DSP,提供高效的计算能力。 T113-S3 支持 H.265、H.264、MPEG-1/2/4、JPEG、VC1 等全格式解码。 独立的硬件编码器可以编码为 JPEG 或 MJPEG。 集成多个 ADC/DAC 和 I2S/PCM/DMIC/OWA 音频接口,可提供完美的语音交互解决方案。 T113-S3具有丰富的连接性,方便产品扩展,如USB、SDIO、EMAC、TWI、UART、SPI、PWM、GPADC、IR TX&RX等。 + +![](https://www.100ask.net/100ASK_T113-PRO_Introduce.assets/image-20220613143156712.png) + +## 配套模块 +### 7寸RGB显示屏 + +* 韦东山个人店购买地址: https://item.taobao.com/item.htm?&id=611156659477 + +### RS485转USB模块 + +### USB转CAN模块 diff --git a/docs/T113s3-Industrial/02-SupportingResources.md b/docs/T113s3-Industrial/02-SupportingResources.md new file mode 100644 index 0000000..0b27119 --- /dev/null +++ b/docs/T113s3-Industrial/02-SupportingResources.md @@ -0,0 +1,41 @@ +--- +sidebar_position: 2 +--- + +# 源码工具文档手册 + +## 手册文档工具 +TinaSDK开发文档:https://tina.100ask.net/ +开发板使用文档:https://allwinner-docs.100ask.net/ + +教程示例 + +一板懂百板通:https://www.bilibili.com/video/BV1Nx4y1w7AF/?spm_id_from=333.999.0.0 +T113 LVGLUI开发:https://www.bilibili.com/video/BV1a94y1X7gP/?spm_id_from=333.999.0.0 + +### 硬件文件 +📙T113s3-Industrial核心板部分原理图:https://dl.100ask.net/Hardware/MPU/T113s3-Industrial/DshanLite_RV-A_V1.2.pdf +📙T113s3-Industrial开发板底板原理图: https://dl.100ask.net/Hardware/MPU/T113s3-Industrial/T113-S3_Industrial-DevKit_V11.pdf +📙T113s3 V1.2核心板 AD封装库: https://dl.100ask.net/Hardware/MPU/T113s3-Industrial/T113s3_Core-PCB-AD_PackageLibrary.zip + +### 芯片手册 +📙T113-S3芯片规格书: http://dl.100ask.net/Hardware/MPU/100ask_t113-pro/t113-s3_brief.pdf +📙T113-S3芯片数据手册: http://dl.100ask.net/Hardware/MPU/100ask_t113-pro/T113-s3_datasheet_v1.6.pdf +📙T113-S3芯片CPU开发手册: https://www.100ask.net/hard/parameter/100ASK_T113-PRO_Introduce + +## SDK源码及示例 + +### SyterKit系统源码 + +### 主线Linux系统源码 + +### Buildroot系统源码 + +源码仓库位置:https://github.com/DongshanPI/buildroot_100ask_t113-pro + + +### Tina-SDK源码 + +Tina-SDKV2.0源码网盘链接:https://pan.baidu.com/s/13uKlqDXImmMl9cgKc41tZg?pwd=qcw7 + +T113-Pro开发板扩展补丁: https://github.com/DongshanPI/100ASK_T113-Pro_TinaSDK \ No newline at end of file diff --git a/docs/T113s3-Industrial/06-ConfigHostEnv.md b/docs/T113s3-Industrial/06-ConfigHostEnv.md new file mode 100644 index 0000000..0cedfff --- /dev/null +++ b/docs/T113s3-Industrial/06-ConfigHostEnv.md @@ -0,0 +1,85 @@ +--- +sidebar_position: 5 +--- +# 安装并配置开发环境 + + +## 获取虚拟机系统 + +### 下载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开发板的开发之旅了。 diff --git a/docs/T113s3-Industrial/part1/03-1_FlashSystem.md b/docs/T113s3-Industrial/part1/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/T113s3-Industrial/part1/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/T113s3-Industrial/part1/03-2_SomeQustion.md b/docs/T113s3-Industrial/part1/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/T113s3-Industrial/part1/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/T113s3-Industrial/part1/03-QuickStart.md b/docs/T113s3-Industrial/part1/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/T113s3-Industrial/part1/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/T113s3-Industrial/part1/04-StudyPath.md b/docs/T113s3-Industrial/part1/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/T113s3-Industrial/part1/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/T113s3-Industrial/part1/_category_.json b/docs/T113s3-Industrial/part1/_category_.json new file mode 100644 index 0000000..773d4c2 --- /dev/null +++ b/docs/T113s3-Industrial/part1/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "快速启动", + "position": 3, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/T113s3-Industrial/part2/03-1_FlashSystem.md b/docs/T113s3-Industrial/part2/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/T113s3-Industrial/part2/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/T113s3-Industrial/part2/03-2_SomeQustion.md b/docs/T113s3-Industrial/part2/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/T113s3-Industrial/part2/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/T113s3-Industrial/part2/03-QuickStart.md b/docs/T113s3-Industrial/part2/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/T113s3-Industrial/part2/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/T113s3-Industrial/part2/04-StudyPath.md b/docs/T113s3-Industrial/part2/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/T113s3-Industrial/part2/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/T113s3-Industrial/part2/_category_.json b/docs/T113s3-Industrial/part2/_category_.json new file mode 100644 index 0000000..fd58a6c --- /dev/null +++ b/docs/T113s3-Industrial/part2/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "默认系统开发", + "position": 3, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/T113s3-Industrial/part3/03-1_FlashSystem.md b/docs/T113s3-Industrial/part3/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/T113s3-Industrial/part3/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/T113s3-Industrial/part3/03-2_SomeQustion.md b/docs/T113s3-Industrial/part3/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/T113s3-Industrial/part3/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/T113s3-Industrial/part3/03-QuickStart.md b/docs/T113s3-Industrial/part3/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/T113s3-Industrial/part3/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/T113s3-Industrial/part3/04-StudyPath.md b/docs/T113s3-Industrial/part3/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/T113s3-Industrial/part3/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/T113s3-Industrial/part3/_category_.json b/docs/T113s3-Industrial/part3/_category_.json new file mode 100644 index 0000000..abfaa56 --- /dev/null +++ b/docs/T113s3-Industrial/part3/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "SysterKit开发", + "position": 5, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/T113s3-Industrial/part4/03-1_FlashSystem.md b/docs/T113s3-Industrial/part4/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/T113s3-Industrial/part4/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/T113s3-Industrial/part4/03-2_SomeQustion.md b/docs/T113s3-Industrial/part4/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/T113s3-Industrial/part4/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/T113s3-Industrial/part4/03-QuickStart.md b/docs/T113s3-Industrial/part4/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/T113s3-Industrial/part4/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/T113s3-Industrial/part4/04-StudyPath.md b/docs/T113s3-Industrial/part4/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/T113s3-Industrial/part4/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/T113s3-Industrial/part4/_category_.json b/docs/T113s3-Industrial/part4/_category_.json new file mode 100644 index 0000000..2c85ccd --- /dev/null +++ b/docs/T113s3-Industrial/part4/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "主线Buildroot开发", + "position": 6, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/T113s3-Industrial/part5/03-1_FlashSystem.md b/docs/T113s3-Industrial/part5/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/T113s3-Industrial/part5/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/T113s3-Industrial/part5/03-2_SomeQustion.md b/docs/T113s3-Industrial/part5/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/T113s3-Industrial/part5/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/T113s3-Industrial/part5/03-QuickStart.md b/docs/T113s3-Industrial/part5/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/T113s3-Industrial/part5/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/T113s3-Industrial/part5/04-StudyPath.md b/docs/T113s3-Industrial/part5/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/T113s3-Industrial/part5/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/T113s3-Industrial/part5/_category_.json b/docs/T113s3-Industrial/part5/_category_.json new file mode 100644 index 0000000..a502239 --- /dev/null +++ b/docs/T113s3-Industrial/part5/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "主线Openwrt开发", + "position": 7, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/T113s3-Industrial/part6/03-1_FlashSystem.md b/docs/T113s3-Industrial/part6/03-1_FlashSystem.md new file mode 100644 index 0000000..3632234 --- /dev/null +++ b/docs/T113s3-Industrial/part6/03-1_FlashSystem.md @@ -0,0 +1,615 @@ +--- +sidebar_position: 2 +--- +# 快速开始使用 + +## 烧写固件至SPINor +### 准备工作 +* 硬件:DongshanPI-D1s主板 x1 +* 硬件:TypeC线 X2 +* 软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) +* 软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) +* 软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) + +### 连接开发板 +参考下图所示, + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + +将两个TypeC线分别连至DongshanPI-D1s开发板 `黑色仔细序号 3.OTG烧录接口 ` `黑色字体序号 4.调试&串口接口` Typec线另一端 连接至 电脑USB接口,连接成功后, + +可以先获取软件 `全志线刷工具` `SPI Nor系统镜像` `全志USB烧录驱动`安装包 进行解压缩操作。 + +### 安装usb驱动 +在我们连接好开发板以后,先按住 DongshanPI-D1s开发板 `黑色序号为 2.烧录模式按键` 也称为**FEL** 烧写模式按键,之后按一下 `黑色序号为 5.系统复位按键`也称 **RESET** 复位键,就可以自动进入烧写模式。 + +这时我们可以看到电脑设备管理器 **通用串行总线控制器** 部分弹出一个 未知设备 ,这个时候我们就需要把我们提前下载好的 **全志USB烧录驱动** 进行修改,然后将解压缩过的 **全志USB烧录驱动** 压缩包,解压缩,可以看到里面有这么几个文件。 + +```bash +InstallUSBDrv.exe +drvinstaller_IA64.exe +drvinstaller_X86.exe +UsbDriver/ +drvinstaller_X64.exe +install.bat +``` + +对于wind7系统的同学,只需要以管理员 打开 `install.bat` 脚本,等待安装,在弹出的 是否安装驱动的对话框里面,点击安装即可。 + +对于wind10/wind11系统的同学,需要在设备管理器里面进行手动安装驱动。 + +如下图所示,在第一次插入OTG设备,进入烧写模式设备管理器会弹出一个未知设备。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_001.png) + +接下来鼠标右键点击这个未知设备,在弹出的对话框里, 点击浏览我计算机以查找驱动程序软件。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_002.png) + +之后在弹出新的对话框里,点击浏览找到我们之前下载好的 usb烧录驱动文件夹内,找到 `UsbDriver/` 这个目录,并进入,之后点击确定即可。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_007.png) + +注意进入到 `UsbDriver/` 文件夹,然后点击确定,如下图所示。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_003.png) + +此时,我们继续点击 **下一页** 按钮,这时系统就会提示安装一个驱动程序。 + +在弹出的对话框里,我们点击 始终安装此驱动程序软件 等待安装完成。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_004.png) + +安装完成后,会提示,Windows已成功更新你的驱动程序。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_005.png) + + +最后我们可以看到,设备管理器 里面的未知设备 变成了一个 `USB Device(VID_1f3a_efe8)`的设备,这时就表明设备驱动已经安装成功。 + +![Windows_FlashDevice_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Windows_FlashDevice_006.png) + + +### 运行软件烧写 +将下载下来的全志线刷工具 **AllwinnertechPhoeniSuit** 解压缩,同时将**SPI Nor系统镜像**下载下来也进行解压缩。 + +解压后,得到一个 **tina_d1s-nezha_nor_uart0_nor.img** 镜像,是用于烧录到SPI NAND镜像得。另一个是**AllwinnertechPhoeniSuit**文件夹。 + +首先我们进入到 **AllwinnertechPhoeniSuit\AllwinnertechPhoeniSuitRelease20201225** 目录下 找到 **PhoenixSuit.exe** 双击运行。 + +打开软件后 软件主界面如下图所示 + +![PhoenixSuit_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_001.png) + + +​ 接下来 我们需要切换到 **一键刷机**窗口,如下图所示,点击红框标号1,在弹出的新窗口内,我们点击 红框2 **浏览** 找到我们刚才解压过的 SPI Nor 最小系统镜像 **tina_d1s-nezha_nor_uart0_nor.img** ,选中镜像后,点击红框3 **全盘擦除升级** ,最后点击红框4 **立即升级**。 + +​ 点击完成后,不需要理会 弹出的信息,这时 我们拿起已经连接好的开发板,先按住 **FEL** 烧写模式按键,之后按一下 **RESET** 系统复位键,就可以自动进入烧写模式并开始烧写。 + +![PhoenixSuit_002](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_002.png) + + +​ 烧写时会提示烧写进度条,烧写完成后 开发板会自己重启。 + +![PhoenixSuit_003](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/PhoenixSuit_003.png) + + +### 启动系统 + +一般情况下,烧写成功后 都会自动重启 启动系统,此时我们进入到 串口终端,可以看到它的启动信息,等所有启动信息加载完成,输入 root 用户名即可登录烧写好的系统内。 + + + +## 烧写固件至TF卡 + +### 准备工作 +* 硬件: DongshanPI-D1s主板 x1 +* 硬件:USB Type-C线 x2 +* 硬件:TF卡读卡器 x1 +* 硬件:8GB以上的 Micro TF卡 x1 +* 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +* 软件:SDcard格式化工具:[SDCardFormatter5](https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe) +* 软件:TinaTF卡最小系统镜像:[tina_d1s-nezha_sd_uart0](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_sd_uart0.zip) + + +### 运行烧写软件烧写 + +首先需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具,然后获取到TF卡系统镜像文件**tina_d1s-nezha_sd_uart0.zip**,获取到以后,先安装 **SDcard专用格式化 SDCardFormatter5** 这个工具,同时可以解压 一下TF卡系统的镜像文件 **tina_d1s-nezha_sd_uart0.zip**,可以得到一个 **tina_d1s-nezha_sd_uart0.img**文件,这个文件就是我们要烧写的镜像。 同时解压缩 **Tina系统TF卡烧录工具 PhoenixCard-V2.8**,解压完成后,进入到烧写工具目录内,双击运行 `PhoenixCard.exe`烧录工具。 + +![DongshanPI-D1s-V2TopFuction](https://photos.100ask.net/dongshanpi-docs/d1s/DongshanPI-D1s-V2TopFuction.png) + + +步骤一: 将TF卡插进读卡器内,同时将读卡器插到电脑USB接口,使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![SDCardFormat_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + + +步骤二:格式化完成后,使用**PhoenixCard.exe**工具来烧录镜像,参考下图步骤,找到自己的TF卡盘符,点击 `左上角红框1` 固件,选择已经解压过的 `tina_d1s-nezha_sd_uart0.img` 镜像,然后点击 `红框2 启动卡`,最后点击`红框3 烧录` 等待烧录完成即可。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_001.png) + +如下图为烧录成功示意图。 + +![PhoenixCard_Config_002](https://photos.100ask.net/dongshanpi-docs/d1s/PhoenixCard_Config_002.png) + + +烧录完成以后,就可以弹出TF卡,并将其插到开发板正面 `黑色字体序号 11.TF卡卡槽`位置处,此时可以使用 杜邦线 连接 `PE2 PE3 GND`使用串口进行登录,也可以使用 adb shell 直接连接 ADB进行登录访问。 + +**注意:D1s因TF卡和CKlink引脚存在复用关系,需将拨码开关 `SW1` 拨至数字方向,才可以支持TF卡启动** + +### 启动系统 + +如下启动信息 为 使用杜邦线 将PE2 PE3 GND连接至 CKlink接口旁 RX TX GND 引脚通孔显示。 +``` shell +[71]HELLO! BOOT0 is starting! +[74]BOOT0 commit : 88480af +[77]set pll start +[79]periph0 has been enabled +[81]set pll end +[83][pmu]: bus read error +[85]board init ok +[87]ZQ value = 0x2f +[89]get_pmu_exist() = -1 +[91]ddr_efuse_type: 0xa +[94]trefi:7.8ms +[96][AUTO DEBUG] single rank and full DQ! +[100]ddr_efuse_type: 0xa +[102]trefi:7.8ms +[104][AUTO DEBUG] rank 0 row = 13 +[107][AUTO DEBUG] rank 0 bank = 4 +[110][AUTO DEBUG] rank 0 page size = 2 KB +[114]DRAM BOOT DRIVE INFO: V0.33 +[117]DRAM CLK = 528 MHz +[119]DRAM Type = 2 (2:DDR2,3:DDR3) +[123]DRAMC read ODT off. +[125]DRAM ODT off. +[127]ddr_efuse_type: 0xa +[130]DRAM SIZE =64 M +[132]dram_tpr4:0x0 +[133]PLL_DDR_CTRL_REG:0xf8002b00 +[136]DRAM_CLK_REG:0xc0000000 +[139][TIMING DEBUG] MR2= 0x0 +[144]DRAM simple test OK. +[146]dram size =64 +[148]card no is 0 +[149]sdcard 0 line count 4 +[152][mmc]: mmc driver ver 2021-04-2 16:45 +[161][mmc]: Wrong media type 0x0 +[164][mmc]: ***Try SD card 0*** +[173][mmc]: HSSDR52/SDR25 4 bit +[176][mmc]: 50000000 Hz +[178][mmc]: 30448 MB +[180][mmc]: ***SD/MMC 0 init OK!!!*** +[230]Loading boot-pkg Succeed(index=0). +[234]Entry_name = opensbi +[237]Entry_name = u-boot +[240]Entry_name = dtb +[243]mmc not para +▒245]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.254]DRAM: 64 MiB +[00.256]Relocation Offset is: 01ee7000 +[00.261]secure enable bit: 0 +[00.263]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.270]flash init start +[00.272]workmode = 0,storage type = 1 +[00.275][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 +[00.281][mmc]: get sdc_type fail and use default host:tm1. +[00.287][mmc]: can't find node "mmc0",will add new node +[00.292][mmc]: fdt err returned +[00.296][mmc]: Using default timing para +[00.299][mmc]: SUNXI SDMMC Controller Version:0x50310 +[00.317][mmc]: card_caps:0x3000000a +[00.320][mmc]: host_caps:0x3000003f +[00.324]sunxi flash init ok +[00.327]line:703 init_clocks +[00.330]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.347]drv_disp_init finish +[00.349]boot_gui_init:start +[00.352]set disp.dev2_output_type fail. using defval=0 +[00.379]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 1 ms (52.7 KiB/s) +[00.561]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 3 ms (12.2 MiB/s) +[00.582]Loading Environment from SUNXI_FLASH... OK +[00.602]out of usb burn from boot: not need burn key +[00.606][mmc]: memalign dst_align is NULL! +read first [00.612]LCD open finish +backup failed in fun sunxi_flash_mmc_secread line 358 +[00.619][mmc]: memalign dst_align is NULL! +read first backup failed in fun sunxi_flash_mmc_secread line 358 +[00.628]unknown error happen in item 0 read +[00.632]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mmcblk0p5 +[00.646]update part info +[00.649]update bootcmd +[00.652]change working_fdt 0x42aa6da0 to 0x42a86da0 +disable nand error: FDT_ERR_BADPATH +No reserved memory region found in source FDT +[00.682]update dts +noncached_alloc(): addr = 0x42efb080 +noncached_alloc(): addr = 0x42efb0c0 +noncached_alloc(): addr = 0x42efb100 +noncached_alloc(): addr = 0x42efb940 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.702]Board Net Initialization Failed +[00.706]No ethernet found. +Hit any key to stop autoboot: 0 +[02.017]no vendor_boot partition is found +Android's image name: d1s-nezha_sd +Detect comp none +[02.035] +Starting kernel ... + +[02.038][mmc]: MMC Device 2 not found +[02.041][mmc]: mmc 2 not find, so not exit +** 6 printk messages dropped ** + node 0: [mem 0x0000000040000000-0x0000000043ffffff] +Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] +On node 0 totalpages: 16384 + DMA32 zone: 224 pages used for memmap + DMA32 zone: 0 pages reserved + DMA32 zone: 16384 pages, LIFO batch:3 +elf_hwcap is 0x20112d +pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +pcpu-alloc: [0] 0 +Built 1 zonelists, mobility grouping on. Total pages: 16160 +Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_ +Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +Sorting __ex_table... +mem auto-init: stack:off, heap alloc:off, heap free:off +Memory: 53012K/65536K available (4486K kernel code, 402K rwdata, 1712K rodata, 144K init, 230K bss, 12524K reserved, 0K cma-reserved) +SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +rcu: Preemptible hierarchical RCU implementation. + Tasks RCU enabled. +rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +plic: mapped 200 interrupts with 1 handlers for 2 contexts. +riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +riscv_timer_clockevent depends on broadcast, but no broadcast function available +clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +pid_max: default: 32768 minimum: 301 +Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +ASID allocator initialised with 65536 entries +rcu: Hierarchical SRCU implementation. +devtmpfs: initialized +random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +futex hash table entries: 256 (order: 0, 6144 bytes, linear) +pinctrl core: initialized pinctrl subsystem +NET: Registered protocol family 16 +DMA: preallocated 256 KiB pool for atomic allocations +cpuidle: using governor menu +rtc_ccu: sunxi ccu init OK +clock: sunxi ccu init OK +clock: sunxi ccu init OK +iommu: Default domain type: Translated +sunxi iommu: irq = 4 +SCSI subsystem initialized +usbcore: registered new interface driver usbfs +usbcore: registered new interface driver hub +usbcore: registered new device driver usb +videodev: Linux video capture interface: v2.00 +Advanced Linux Sound Architecture Driver Initialized. +Bluetooth: Core ver 2.22 +NET: Registered protocol family 31 +Bluetooth: HCI device and connection manager initialized +Bluetooth: HCI socket layer initialized +Bluetooth: L2CAP socket layer initialized +pwm module init! +g2d 5410000.g2d: Adding to iommu group 0 +G2D: rcq version initialized.major:252 +clocksource: Switched to clocksource riscv_clocksource +sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +NET: Registered protocol family 2 +tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +TCP: Hash tables configured (established 512 bind 512) +UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +NET: Registered protocol family 1 +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +spi spi0: spi0 supply spi not found, using dummy regulator +sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +sunxi_spi_resource_get()2189 - Failed to get sample mode +sunxi_spi_resource_get()2194 - Failed to get sample delay +sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 +sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +workingset: timestamp_bits=62 max_order=14 bucket_order=0 +squashfs: version 4.0 (2009/01/31) Phillip Lougher +ntfs: driver 2.1.32 [Flags: R/W]. +io scheduler mq-deadline registered +io scheduler kyber registered +[DISP]disp_module_init +disp 5000000.disp: Adding to iommu group 0 +[DISP] disp_init,line:2386: +smooth display screen:0 type:1 mode:4 +display_fb_request,fb_id:0 +Freeing logo buffer memory: 4000K +disp_al_manager_apply ouput_type:1 +[DISP] lcd_clk_config,line:732: +disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) + clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[DISP]disp_module_init finish +sunxi_sid_init()551 - insmod ok +pwm-regulator: supplied by regulator-dummy +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +uart uart0: get regulator failed +uart uart0: uart0 supply uart not found, using dummy regulator +uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +printk: console [ttyS0] enabled +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +uart uart1: get regulator failed +uart uart1: uart1 supply uart not found, using dummy regulator +uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +misc dump reg init +sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ADDR_MGT] addr_mgt_probe: success. +sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 +sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 +random: fast init done +random: crng init done +sunxi-spinand-phy: read id failed : -110 +spi-nand: probe of spi0.0 failed with error -110 +ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +sunxi-ehci: EHCI SUNXI driver +get ehci1-controller wakeup-source is fail. +sunxi ehci1-controller don't init wakeup source +[sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006c0870, 0x:ffffffd004075000, irq_no:31 +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +hub 1-0:1.0: USB hub found +hub 1-0:1.0: 1 port detected +ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +sunxi-ohci: OHCI SUNXI driver +get ohci1-controller wakeup-source is fail. +sunxi ohci1-controller don't init wakeup source +[sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006c0c38 +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +hub 2-0:1.0: USB hub found +hub 2-0:1.0: 1 port detected +sunxi-rtc 7090000.rtc: registered as rtc0 +sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:07:25 UTC (7645) +sunxi-rtc 7090000.rtc: sunxi rtc probed +i2c /dev entries driver +IR NEC protocol handler initialized +uvcvideo: Unable to create debugfs directory +usbcore: registered new interface driver uvcvideo +USB Video Class driver (1.1.1) +sunxi cedar version 1.1 +sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +VE: install start!!! + +VE: cedar-ve the get irq is 6 + +VE: install end!!! + +VE: sunxi_cedar_probe +Bluetooth: HCI UART driver ver 2.3 +Bluetooth: HCI UART protocol H4 registered +Bluetooth: HCI UART protocol BCSP registered +Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[XR_BT_LPM] bluesleep_probe: wakeup source is disabled! + +[XR_BT_LPM] bluesleep_probe: uart_index(1) +sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4020000.sdmmc: No vmmc regulator found +sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4020000.sdmmc: detmode:gpio polling +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +sunxi-mmc 4021000.sdmmc: No vmmc regulator found +sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +sunxi-mmc 4021000.sdmmc: detmode:manually by software +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +ashmem: initialized +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +exFAT: Version 1.3.0 +[AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 + +mmc0: host does not support reading read-only switch, assuming write-enable +[AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +[AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[SNDCODEC][sunxi_card_init][583]:card init finished +sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +sunxi-mmc 4020000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B +mmc0: new high speed SDHC card at address 5048 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +mmcblk0: mmc0:5048 SD32G 29.7 GiB +[SNDCODEC][sunxi_card_dev_probe][836]:register card finished +NET: Registered protocol family 10 +Segment Routing with IPv6 +NET: Registered protocol family 17 + mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 +sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +sunxi-i2c sunxi-i2c2: probe success +sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +get ehci0-controller wakeup-source is fail. +sunxi ehci0-controller don't init wakeup source +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +[sunxi-ehci0]: Not init ehci0 +get ohci0-controller wakeup-source is fail. +sunxi ohci0-controller don't init wakeup source +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +[sunxi-ohci0]: Not init ohci0 +clk: Not disabling unused clocks +ALSA device list: + #0: audiocodec +platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +cfg80211: failed to load regulatory.db +alloc_fd: slot 0 not NULL! +VFS: Mounted root (squashfs filesystem) readonly on device 179:5. +devtmpfs: mounted +Freeing unused kernel memory: 144K +This architecture does not have kernel memory protection. +Run /pseudo_init as init process +mount: mounting none on /dev failed: Device or resource busy +mount: mounting /dev/by-name/rootfs_data on /overlay failed: No such device +Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... +/pseudo_init: line 395: mkfs.ext4: not found +can't run '/etc/preinit': No such file or directory +mount: mounting proc on /proc failed: Device or resource busy +mount: mounting tmpfs on /run failed: No such file or directory +[SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +hostname: can't open '/etc/hostname': No such file or directory +------run rc.preboot file----- +/etc/init.d/rcS: line 136: mkfs.ext4: not found +------run rc.modules file----- +usbcore: registered new interface driver usb-storage +sunxi_gpadc_init,2151, success +sunxi_gpadc_setup: get channel scan data failed +input: sunxi-gpadc0 as /devices/virtual/input/input1 +insmod: can't insert '/lib/modules/5.4.61/xr829.ko': No such file or directory +Successfully initialized wpa_supplicant +Could not read interface wlan0 flags: No such device +nl80211: Driver does not support authentication/association or connect commands +nl80211: deinit ifname=wlan0 disabled_11b_rates=0 +Could not read interface wlan0 flags: No such device +wlan0: Failed to initialize driver interface +------run rc.final file----- + +insmod_host_driver + +[ehci0-controller]: sunxi_usb_enable_ehci +[sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0, 0x:ffffffd0040fd000, irq_no:2e +sunxi-ehci 4101000.ehci0-controller: 4101000.ehci0-controller supply hci not found, using dummy regulator +sunxi-ehci 4101000.ehci0-controller: EHCI Host Controller +sunxi-ehci 4101000.ehci0-controller: new USB bus registered, assigned bus number 3 +sunxi-ehci 4101000.ehci0-controller: irq 46, io mem 0x04101000 +sunxi-ehci 4101000.ehci0-controller: USB 2.0 started, EHCI 1.00 +device_chose finished 139! +hub 3-0:1.0: USB hub found +hub 3-0:1.0: 1 port detected +[ohci0-controller]: sunxi_usb_enable_ohci +[sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: 4101400.ohci0-controller supply hci not found, using dummy regulator +sunxi-ohci 4101400.ohci0-controller: OHCI Host Controller +sunxi-ohci 4101400.ohci0-controller: new USB bus registered, assigned bus number 4 +sunxi-ohci 4101400.ohci0-controller: irq 47, io mem 0x04101400 +file system registered +hub 4-0:1.0: USB hub found +hub 4-0:1.0: 1 port detected +host_chose finished! +configfs-gadget 4100000.udc-controller: failed to start g1: -19 +sh: write error: No such device + +rmmod_host_driver + +[ehci0-controller]: sunxi_usb_disable_ehci +[sunxi-ehci0]: remove, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006c00e0 +nice: can't execute '/usr/bin/story_ota_bin': No such file or directory +read descriptors +read strings +sunxi-ehci 4101000.ehci0-controller: remove, state 4 +usb usb3: USB disconnect, device number 1 +sunxi-ehci 4101000.ehci0-controller: USB bus 3 deregistered +[ohci0-controller]: sunxi_usb_disable_ohci +[sunxi-ohci0]: remove, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006c04a8 +sunxi-ohci 4101400.ohci0-controller: remove, state 4 +usb usb4: USB disconnect, device number 1 +sunxi-ohci 4101400.ohci0-controller: USB bus 4 deregistered + +insmod_device_driver + +sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +device_chose finished! +numid=30,iface=MIXER,name='Headphone Switch' + ; type=BOOLEAN,access=rw------,values=1 + : values=on + + +BusyBox v1.27.2 () built-in shell (ash) + +------run profile file----- + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + --------------------------sunxi_set_cur_vol_work()397 WARN: get power supply failed +-------------------- + Tina Linux (Neptune, 61CC0487) + ---------------------------------------------- +root@TinaLinux:/# android_work: sent uevent USB_STATE=CONNECTED +sunxi_set_cur_vol_work()397 WARN: get power supply failed +sunxi_vbus_det_work()3356 WARN: get power supply failed +android_work: sent uevent USB_STATE=DISCONNECTED +android_work: sent uevent USB_STATE=CONNECTED +configfs-gadget gadget: high-speed config #1: c +android_work: sent uevent USB_STATE=CONFIGURED + +``` + + + +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + diff --git a/docs/T113s3-Industrial/part6/03-2_SomeQustion.md b/docs/T113s3-Industrial/part6/03-2_SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/T113s3-Industrial/part6/03-2_SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/T113s3-Industrial/part6/03-QuickStart.md b/docs/T113s3-Industrial/part6/03-QuickStart.md new file mode 100644 index 0000000..93585ff --- /dev/null +++ b/docs/T113s3-Industrial/part6/03-QuickStart.md @@ -0,0 +1,534 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +**注意:开发板板载了 SPI-NorFLASH 发货前都会把Tina-Linux 系统提前烧录至 SPINor内,对于使用TF卡启动的同学 请单独看后续章节 `更新系统` 单独烧录系统至TF卡并启动。** + +因开发板板载了CKLINK,且TF卡引脚和CKLINK冲突导致无法同时使用,需要通过拨码开关 `SW1` 来切换启动功能,由于我们的裸机/RTOS课程会用到CKLINK进行调试和输出功能,硬件默认把 PF2 PF4作为了UART0,但是当您使用DongshanPI-D1s运行Linux系统时,Linux系统默认的UART0为PE2 PE3 这时需要参考下图通过2.54mm规格的杜邦线连接右侧J2 排针的 PE2 PE3 GND 连接至 开发板 `黑色序号 5.调试与UART功能 `旁边的 **RX TX GND** 三个圆孔内,需要直接用公头杜邦线穿过圆孔。 + +![Dongshanpi-d1s_pe2pe3uart_001](https://photos.100ask.net/dongshanpi-docs/d1s/Dongshanpi-d1s_pe2pe3uart_002.png) + +如果你不想使用杜邦线这种方式,可以优先使用下面的 **使用ADB登录系统** 方式进行登录系统 + +## windows下使用 ADB登录系统 +### 连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 安装windows板ADB +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 打开cmd连接开发板 +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell + +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` +ADB 也可以作为文件传输使用,例如: +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** + + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +noncached_alloc(): addr = 0x42ebb200 +noncached_alloc(): addr = 0x42ebb240 +noncached_alloc(): addr = 0x42ebb280 +noncached_alloc(): addr = 0x42ebbac0 +geth_sys_init:634: get node 'gmac0' error +geth_sys_init fail! +[00.530]Board Net Initialization Failed +[00.533]No ethernet found. +Hit any key to stop autoboot: 0 +[01.686]no vendor_boot partition is found +Android's image name: d1s-nezha_nor +Detect comp none +[01.704] +Starting kernel ... + +** 9 printk messages dropped ** +[ 0.000000] On node 0 totalpages: 16384 +[ 0.000000] DMA32 zone: 224 pages used for memmap +[ 0.000000] DMA32 zone: 0 pages reserved +[ 0.000000] DMA32 zone: 16384 pages, LIFO batch:3 +[ 0.000000] elf_hwcap is 0x20112d +[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 +[ 0.000000] pcpu-alloc: [0] 0 +[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16160 +[ 0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock5 rootfstype=squashfs init=/sbin/init partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6 cma=8M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun20iw1p1 boot_type=3 androidboot.boot_type=3 gpt=1 uboot_message=2018.05-g24521d6(02/11/2022-08:52:39) mbr_offset=1556480 disp_reserve=4096000,0x000000004 +[ 0.000000] Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) +[ 0.000000] Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) +[ 0.000000] Sorting __ex_table... +[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off +[ 0.000000] Memory: 44932K/65536K available (4353K kernel code, 404K rwdata, 1736K rodata, 144K init, 229K bss, 12412K reserved, 8192K cma-reserved) +[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 +[ 0.000000] rcu: Preemptible hierarchical RCU implementation. +[ 0.000000] Tasks RCU enabled. +[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. +[ 0.000000] NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 +[ 0.000000] plic: mapped 200 interrupts with 1 handlers for 2 contexts. +[ 0.000000] riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] +[ 0.000000] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns +[ 0.000006] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns +[ 0.000026] riscv_timer_clockevent depends on broadcast, but no broadcast function available +[ 0.000375] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns +[ 0.001012] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) +[ 0.001032] pid_max: default: 32768 minimum: 301 +[ 0.001214] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.001232] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.003389] ASID allocator initialised with 65536 entries +[ 0.003591] rcu: Hierarchical SRCU implementation. +[ 0.004352] devtmpfs: initialized +[ 0.020017] random: get_random_u32 called from bucket_table_alloc.isra.27+0xfe/0x120 with crng_init=0 +[ 0.021117] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns +[ 0.021148] futex hash table entries: 256 (order: 0, 6144 bytes, linear) +[ 0.021756] pinctrl core: initialized pinctrl subsystem +[ 0.023320] NET: Registered protocol family 16 +[ 0.025492] DMA: preallocated 256 KiB pool for atomic allocations +[ 0.026044] cpuidle: using governor menu +[ 0.074053] rtc_ccu: sunxi ccu init OK +[ 0.082956] clock: sunxi ccu init OK +[ 0.084024] clock: sunxi ccu init OK +[ 0.126116] iommu: Default domain type: Translated +[ 0.126314] sunxi iommu: irq = 4 +[ 0.127641] SCSI subsystem initialized +[ 0.127857] usbcore: registered new interface driver usbfs +[ 0.127972] usbcore: registered new interface driver hub +[ 0.128097] usbcore: registered new device driver usb +[ 0.128239] videodev: Linux video capture interface: v2.00 +[ 0.129274] Advanced Linux Sound Architecture Driver Initialized. +[ 0.130018] Bluetooth: Core ver 2.22 +[ 0.130111] NET: Registered protocol family 31 +[ 0.130122] Bluetooth: HCI device and connection manager initialized +[ 0.130146] Bluetooth: HCI socket layer initialized +[ 0.130164] Bluetooth: ▒A▒socket layer initialized +[ 0.130206] Bluetooth: SCO socket layer initialized +[ 0.130489] pwm module init! +[ 0.132410] g2d 5410000.g2d: Adding to iommu group 0 +[ 0.132978] G2D: rcq version initialized.major:252 +[ 0.133921] clocksource: Switched to clocksource riscv_clocksource +[ 0.149198] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver +[ 0.152820] NET: Registered protocol family 2 +[ 0.153764] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) +[ 0.153818] TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153838] TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) +[ 0.153853] TCP: Hash tables configured (established 512 bind 512) +[ 0.154134] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154180] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) +[ 0.154478] NET: Registered protocol family 1 +[ 0.155843] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator +[ 0.156478] spi spi0: spi0 supply spi not found, using dummy regulator +[ 0.156806] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE +[ 0.156874] sunxi_spi_resource_get()2189 - Failed to get sample mode +[ 0.156884] sunxi_spi_resource_get()2194 - Failed to get sample delay +[ 0.156893] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 +[ 0.157022] sunxi_spi_clk_init()2240 - [spi0] mclk 80000000 +[ 0.157876] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 +[ 0.160241] workingset: timestamp_bits=62 max_order=14 bucket_order=0 +[ 0.167662] squashfs: version 4.0 (2009/01/31) Phillip Lougher +[ 0.167917] ntfs: driver 2.1.32 [Flags: R/W]. +[ 0.168281] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. +[ 0.189248] io scheduler mq-deadline registered +[ 0.189265] io scheduler kyber registered +[ 0.190529] [DISP]disp_module_init +[ 0.191182] disp 5000000.disp: Adding to iommu group 0 +[ 0.191838] [DISP] disp_init,line:2386: +[ 0.191844] smooth display screen:0 type:1 mode:4 +[ 0.234898] display_fb_request,fb_id:0 +[ 0.278054] Freeing logo buffer memory: 4000K +[ 0.278577] disp_al_manager_apply ouput_type:1 +[ 0.278710] [DISP] lcd_clk_config,line:732: +[ 0.278724] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) +[ 0.278724] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) +[ 0.279046] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator +[ 0.279905] [DISP]disp_module_init finish +[ 0.280877] sunxi_sid_init()551 - insmod ok +[ 0.281502] pwm-regulator: supplied by regulator-dummy +[ 0.283365] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator +[ 0.283900] uart uart0: get regulator failed +[ 0.283996] uart uart0: uart0 supply uart not found, using dummy regulator +[ 0.284411] uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI +[ 0.284441] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n +[ 1.008841] printk: console [ttyS0] enabled +[ 1.014546] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator +[ 1.026112] uart uart1: get regulator failed +[ 1.030889] uart uart1: uart1 supply uart not found, using dummy regulator +[ 1.039026] uart1: ttyS1 at MMIO 0x2500400 (irq = 19, base_baud = 1500000) is a SUNXI +[ 1.049155] misc dump reg init +[ 1.053653] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 +[ 1.061001] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed +[ 1.068336] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed +[ 1.075806] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) +[ 1.082308] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. +[ 1.089275] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=137 assert=1 +[ 1.097209] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 +[ 1.105358] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled +[ 1.113084] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. +[ 1.119888] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=133 assert=0 +[ 1.128096] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 +[ 1.135878] [ADDR_MGT] addr_mgt_probe: success. +[ 1.142271] spi-nor spi0.0: w25q128 (16384 Kbytes) +[ 1.150219] 7 sunxipart partitions found on MTD device spi0.0 +[ 1.156761] Creating 7 MTD partitions on "spi0.0": +[ 1.162111] 0x000000000000-0x000000180000 : "uboot" +[ 1.174910] 0x000000180000-0x0000001a0000 : "boot-resource" +[ 1.194894] 0x0000001a0000-0x0000001c0000 : "env" +[ 1.214859] 0x0000001c0000-0x0000001e0000 : "env-redund" +[ 1.234825] 0x0000001e0000-0x000000960000 : "boot" +[ 1.254839] 0x000000960000-0x000000e60000 : "rootfs" +[ 1.274882] 0x000000e60000-0x000001000000 : "UDISK" +[ 1.295094] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver +[ 1.302406] sunxi-ehci: EHCI SUNXI driver +[ 1.307584] get ehci1-controller wakeup-source is fail. +[ 1.313516] sunxi ehci1-controller don't init wakeup source +[ 1.319843] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006a5968, 0x:ffffffd004075000, irq_no:31 +[ 1.333440] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator +[ 1.346016] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator +[ 1.358354] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller +[ 1.365653] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 +[ 1.375584] sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 +[ 1.403980] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 +[ 1.412967] hub 1-0:1.0: USB hub found +[ 1.417344] hub 1-0:1.0: 1 port detected +[ 1.422706] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver +[ 1.429725] sunxi-ohci: OHCI SUNXI driver +[ 1.434948] get ohci1-controller wakeup-source is fail. +[ 1.440916] sunxi ohci1-controller don't init wakeup source +[ 1.447262] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006a5d30 +[ 1.457705] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator +[ 1.470355] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator +[ 1.482691] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller +[ 1.489976] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 +[ 1.499896] sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 +[ 1.579129] hub 2-0:1.0: USB hub found +[ 1.583375] hub 2-0:1.0: 1 port detected +[ 1.590973] sunxi-rtc 7090000.rtc: registered as rtc0 +[ 1.596865] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:04:44 UTC (7484) +[ 1.606081] sunxi-rtc 7090000.rtc: sunxi rtc probed +[ 1.612051] i2c /dev entries driver +[ 1.616055] IR NEC protocol handler initialized +[ 1.624271] usbcore: registered new interface driver uvcvideo +[ 1.630710] USB Video Class driver (1.1.1) +[ 1.635323] sunxi cedar version 1.1 +[ 1.639546] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 +[ 1.645914] VE: install start!!! +[ 1.645914] +[ 1.651455] VE: cedar-ve the get irq is 6 +[ 1.651455] +[ 1.657869] VE: ve_debug_proc_info:(____ptrval____), data:(____ptrval____), lock:(____ptrval____) +[ 1.657869] +[ 1.669509] VE: install end!!! +[ 1.669509] +[ 1.674642] VE: sunxi_cedar_probe +[ 1.678617] Bluetooth: HCI UART driver ver 2.3 +[ 1.683571] Bluetooth: HCI UART protocol H4 registered +[ 1.689347] Bluetooth: HCI UART protocol BCSP registered +[ 1.695514] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 +[ 1.702813] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 +[ 1.709312] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 +[ 1.715883] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! +[ 1.715883] +[ 1.724595] [XR_BT_LPM] bluesleep_probe: uart_index(1) +[ 1.733393] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.743488] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.749717] sunxi-mmc 4020000.sdmmc: No vmmc regulator found +[ 1.756106] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found +[ 1.762506] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found +[ 1.768940] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found +[ 1.775504] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found +[ 1.782001] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found +[ 1.788570] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found +[ 1.795653] sunxi-mmc 4020000.sdmmc: Got CD GPIO +[ 1.801151] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail +[ 1.807911] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.819057] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator +[ 1.839264] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.863788] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 1.874947] sunxi-mmc 4020000.sdmmc: detmode:gpio irq +[ 1.881360] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) +[ 1.891565] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 +[ 1.897828] sunxi-mmc 4021000.sdmmc: No vmmc regulator found +[ 1.904224] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found +[ 1.910624] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found +[ 1.917058] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found +[ 1.923580] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found +[ 1.930113] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found +[ 1.936671] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found +[ 1.943200] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed +[ 1.952830] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 1.963988] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 1.984144] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.008376] sunxi-mmc 4021000.sdmmc: detmode:manually by software +[ 2.016052] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.023246] ashmem: initialized +[ 2.026772] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 2.033685] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.050339] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1 +[ 2.050339] +[ 2.067665] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 +[ 2.079194] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished +[ 2.087466] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 2.100621] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! +[ 2.110578] [SNDCODEC][sunxi_card_init][583]:card init finished +[ 2.118102] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.125696] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.133257] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.140740] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok +[ 2.150542] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 2.157349] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 2.170213] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 +[ 2.182642] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished +[ 2.192438] NET: Registered protocol family 10 +[ 2.199198] Segment Routing with IPv6 +[ 2.203505] NET: Registered protocol family 17 +[ 2.208780] Bluetooth: RFCOMM TTY layer initialized +[ 2.214457] Bluetooth: RFCOMM socket layer initialized +[ 2.220251] Bluetooth: RFCOMM ver 1.11 +[ 2.254092] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator +[ 2.269939] sunxi-i2c sunxi-i2c2: probe success +[ 2.277215] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator +[ 2.291717] get ehci0-controller wakeup-source is fail. +[ 2.297794] sunxi ehci0-controller don't init wakeup source +[ 2.304082] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006a51d8, 0x:ffffffd0040fd000, irq_no:2e +[ 2.317660] [sunxi-ehci0]: Not init ehci0 +[ 2.322699] get ohci0-controller wakeup-source is fail. +[ 2.328758] sunxi ohci0-controller don't init wakeup source +[ 2.335012] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006a55a0 +[ 2.345455] [sunxi-ohci0]: Not init ohci0 +[ 2.354475] clk: Not disabling unused clocks +[ 2.359279] ALSA device list: +[ 2.362581] #0: audiocodec +[ 2.367078] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 +[ 2.376830] cfg80211: failed to load regulatory.db +[ 2.382241] alloc_fd: slot 0 not NULL! +[ 2.391463] VFS: Mounted root (squashfs filesystem) readonly on device 31:5. +[ 2.407785] devtmpfs: mounted +[ 2.411302] Freeing unused kernel memory: 144K +[ 2.416354] This architecture does not have kernel memory protection. +[ 2.423565] Run /sbin/init as init process +[ 2.437570] random: fast init done +[ 2.833256] [SNDCODEC][sunxi_check_hs_detect_status][191]:plugin --> switch:1 +[ 3.444188] +[ 3.444188] insmod_device_driver +[ 3.444188] +[ 3.451429] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator +[ 3.469630] device_chose finished 139! +[ 3.606030] init: Console is alive +[ 3.610285] init: - preinit - +/dev/by-name/UDISK already format by jffs2 +[ 5.339399] mount_root: mounting /dev/root +[ 5.344741] mount_root: loading kmods from internal overlay +[ 5.491810] random: crng init done +[ 5.765812] block: attempting to load /etc/config/fstab +[ 5.807607] block: check_filesystem: jffs2 is not supported +[ 5.838954] jffs2: notice: (91) jffs2_build_xattr_subsystem: complete building xattr subsystem, 10 of xdatum (0 unchecked, 3 orphan) and 12 of xref (3 dead, 0 orphan) found. +[ 5.860743] block: extroot: UUID match (root: bc2f88ab-06eba037-7590c3e8-6fa728e7, overlay: bc2f88ab-06eba037-7590c3e8-6fa728e7) +[ 5.882754] overlayfs: upper fs does not support tmpfile. +[ 5.894649] mount_root: switched to extroot +[ 5.919200] procd: - early - +[ 6.166648] procd: - ubus - +[ 6.170648] procd (1): /proc/100/oom_adj is deprecated, please use /proc/100/oom_score_adj instead. +[ 6.476406] procd: - init - +Please press Enter to activate this console. +[ 8.502814] file system registered +[ 8.785556] configfs-gadget 4100000.udc-controller: failed to start g1: -19 +[ 9.204177] read descriptors +[ 9.207403] read strings +[ 9.366159] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.452309] android_work: sent uevent USB_STATE=CONNECTED +[ 9.750396] sunxi_set_cur_vol_work()397 WARN: get power supply failed +[ 9.844049] sunxi_vbus_det_work()3356 WARN: get power supply failed +[ 9.874070] android_work: sent uevent USB_STATE=DISCONNECTED +[ 9.884058] android_work: sent uevent USB_STATE=CONNECTED +[ 9.890766] configfs-gadget gadget: high-speed config #1: c +[ 9.904247] android_work: sent uevent USB_STATE=CONFIGURED +[ 10.998925] ======== XRADIO WIFI OPEN ======== +[ 11.004696] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 +[ 11.011460] [XRADIO] Allocated hw_priv @ 0000000093cf579f +[ 11.024060] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 +[ 11.050057] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success +[ 11.260453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.271601] [XRADIO] Detect SDIO card 1 +[ 11.284074] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 11.304205] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.329295] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.336962] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 11.347857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.377223] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 11.396443] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.403978] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.411576] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.419230] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 11.426072] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +[ 13.364108] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success +[ 13.471353] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.482458] [XRADIO] Remove SDIO card 1 +[ 13.494072] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator +[ 13.503664] [SBUS_ERR] sdio probe timeout! +[ 13.508321] [XRADIO_ERR] sbus_sdio_init failed +[ 13.514634] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.526581] xradio_core_init failed (-110)! +[ 13.557678] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.565382] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! +[ 13.572229] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.587126] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B +[ 13.600976] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.608589] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.616646] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.624186] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! +[ 13.630916] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B +kmodloader done + +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** \ No newline at end of file diff --git a/docs/T113s3-Industrial/part6/04-StudyPath.md b/docs/T113s3-Industrial/part6/04-StudyPath.md new file mode 100644 index 0000000..a57fbd0 --- /dev/null +++ b/docs/T113s3-Industrial/part6/04-StudyPath.md @@ -0,0 +1,48 @@ +--- +sidebar_position: 4 +--- + +# 学习路线 + +## 基础情况 + +### 纯小白同学不懂Linux +* 学习操作使用ubuntu系统: https://www.bilibili.com/video/BV1dU4y1D7fz +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG +* 学习Linux C编程: 参考小甲鱼课程 +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + +### 懂一点Linux概念 + +* 学习Git工具: https://www.bilibili.com/video/BV1CL4y1A7YG + +* 学习嵌入式Linux 基本知识 : https://www.bilibili.com/video/BV1VN4y137Tf + + + + +### 熟悉嵌入式Linux开发 + +* 学习Tina-SDK开发 +* 学习Linux驱动开发 +* 学习专题课程(比如RISC-V架构专题) + + + +## 工作岗位 + +### 嵌入式Linux 应用开发 + +初级 高级 + +### 嵌入式Linux驱动开发 + +初级 中级 高级 + + + +### 嵌入式系统开发 + +嵌入式Linux系统优化工程师 \ No newline at end of file diff --git a/docs/T113s3-Industrial/part6/_category_.json b/docs/T113s3-Industrial/part6/_category_.json new file mode 100644 index 0000000..7beb0fc --- /dev/null +++ b/docs/T113s3-Industrial/part6/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "Tina-SDK开发", + "position":8, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/TinyVision.zip b/docs/TinyVision.zip new file mode 100644 index 0000000..846497c Binary files /dev/null and b/docs/TinyVision.zip differ diff --git a/docs/TinyVision/01-BoardIntroduction.md b/docs/TinyVision/01-BoardIntroduction.md new file mode 100644 index 0000000..399ed27 --- /dev/null +++ b/docs/TinyVision/01-BoardIntroduction.md @@ -0,0 +1,75 @@ +--- +sidebar_position: 1 +--- +# TinyVision套件简述 + +:::tip +* TinyVision开发交流QQ群:821628986 +::: + +- TinyVision是适用于 Linux主板、IPC、服务器、路由器等的终极一体化解决方案。 TinyVision 采用先进的 Allwinner V851se 或 V851s3 处理器,以紧凑的外形提供卓越的性能和多功能性。 +- TinyVision 的 Cortex-A7 内核运行频率高达 1200MHz,RISC-V E907GC@600MHz,可在保持能源效率的同时提供强大的处理能力。 集成的0.5Tops@int8 NPU可为各种应用提供高效的AI推理。 +- TinyVision 配备 64M DDR2 (V851se) 或 128M DDR3L (V851s3) 内置内存选项,确保流畅、无缝的操作。 TF 卡插槽支持 UHS-SDR104,为您的数据需求提供可扩展的存储空间。 此外,板载 SD NAND 和 USB&UART Combo 接口提供便捷的连接选项。 +- 通过 TinyVision 对 2 通道 MIPI CSI 输入的支持,增强您基于视觉的应用程序,从而实现高级相机功能的无缝集成。 独立的 ISP 可实现高分辨率图像处理,支持高达 2560 x 1440 的分辨率。 +- 借助 TinyVision 的 H.264/H.265 解码功能(分辨率高达 4096x4096)享受身临其境的视频体验。 使用 H.264/H.265 编码器捕捉和编码令人惊叹的时刻,支持高达 3840x2160@20fps 的分辨率。 借助在线视频编码支持,您可以轻松共享和流式传输您的内容。 +- 为了提供可靠的实时操作系统支持,TinyVision 利用基于 RT-Thread + RTOS-HAL 的 RISC-V E907 RTOS 的强大功能,确保最佳性能和稳定性。 +- 无论您喜欢 Linux 环境还是实时控制,TinyVision 都能满足您的需求。 它支持 OpenWrt 23.05、Buildroot 和 Mainline Linux 6.7 等 GNU/Linux 版本,满足不同的软件需求。 +- 对于实时控制爱好者来说,基于 RT-Thread + RTOS-HAL 的 RISC-V E907 RTOS 支持可提供快速可靠的性能。 +- TinyVision 是一款紧凑而强大的解决方案,适用于您的 Linux 主板、IPC、服务器、路由器等,释放无限可能。 体验无与伦比的性能、增强的功能和无缝集成。 选择 TinyVision 并改变您的创新方式。 + + +![TinyVision_Pinout](https://photos.100ask.net/dongshanpi/TinyVision/TinyVision-Pinout.jpg) + +## V851芯片介绍 +### 功能特性 + +- Based on Allwinner V851se / V851s3 +- Cortex-A7 Core up to 1200MHz +- RISC-V E907GC@600MHz +- 0.5Tops@int8 NPU +- Built in 64M DDR2 (V851se) / 128M DDR3L (V851s3) memory +- One TF Card Slot, Support UHS-SDR104 +- On board SD NAND +- On board USB&UART Combo +- Supports one 2-lane MIPI CSI inputs +- Supports 1 individual ISP, with maximum resolution of 2560 x 1440 +- H.264/H.265 decoding at 4096x4096 +- H.264/H.265 encoder supports 3840x2160@20fps +- Online Video encode +- RISC-V E907 RTOS Support, Based on RT-Thread + RTOS-HAL + +### 芯片框图 +![TinyVision_Pinout](https://photos.100ask.net/dongshanpi/TinyVision/image-20231118143708175.png) + +### 不同型号芯片的区别 + +| 芯片型号 | 内存 | 内置网络PHY | 显示接口 | +| -------- | ---------- | ----------- | ----------------------------------------------- | +| V851s | 64M DDR2 | 无 | 2-lane MIPI + RGB + MIPI DBI TypeC, 1280x720@60 | +| V851se | 64M DDR2 | 10/100M | MIPI DBI TypeC, 320x240@30 | +| V851s3 | 128M DDR3L | 无 | 2-lane MIPI + RGB + MIPI DBI TypeC, 1280x720@60 | +| V851s4 | 256M DDR3L | 无 | 2-lane MIPI + RGB + MIPI DBI TypeC, 1280x720@60 | + + +## 配套模块 + +### TypeC-SBUUart + +待上架,以及下周上架 + + +### SPI显示屏 +待上架 预计下周上架 + +### WIFI模块 + +待上架,预计春节年后 + +### GC2053摄像头 + +* GC2053摄像头: https://item.taobao.com/item.htm?&id=736796459015 + + +### 百兆RJ45头 + +* RJ45 百兆线(选择4P转水晶头 50CM): https://item.taobao.com/item.htm?&id=626832235333 \ No newline at end of file diff --git a/docs/TinyVision/02-SupportingResources.md b/docs/TinyVision/02-SupportingResources.md new file mode 100644 index 0000000..fd24a05 --- /dev/null +++ b/docs/TinyVision/02-SupportingResources.md @@ -0,0 +1,209 @@ +--- +sidebar_position: 2 +--- + +# 源码工具文档手册 + +## SDK源码及示例 + +### Tina-SDK系统 + +- 此套构建系统基于全志单核 Arm Cortex-A7 SoC,搭载了 RISC-V 内核的V851s 芯片,适配了Tina 5.0主线版本,是专为智能 IP 摄像机设计的,支持人体检测和穿越报警等功能。 + +![](https://photos.100ask.net/Tina-Sdk/OpenRemoved_Tina_Linux_System_software_development_Guide-3-1.jpg) + +* TinaSDK 文件MD5校验值 ac0b5f723207247aae32572d88a48c3c 获取文件后,请通过 md5 工具校验压缩包一致性。 + +```bash + md5sum tina-v851.tar.gz ac0b5f723207247aae32572d88a48c3c + ubuntu@ubuntu1804:~/tina-v851$ tree -L 1 +. +├── build +├── config +├── Config.in -> config/top_config.in +├── device +├── dl +├── docs +├── external +├── lichee +├── Makefile -> build/top_main.mk +├── package +├── prebuilt +├── rules.mk -> build/rules.mk +├── scripts +├── target +├── toolchain +└── tools + +13 directories, 3 files + +``` + +* SDK 下载解压操作步骤请参考 Tina-SDK开发章节内容。 +* TinaSDK开发参考文档站点 https://tina.100ask.net/ + * 第一部分介绍了Tina-SDK源码的使用方式,包含源码目录功能,编译打包等命令。 + * 第二部分介绍了Bootloader相关的内容,主要包含uboot相关的使用说明。 + * 第三部分介绍了Linux所有的设备驱动开发的详细说明。 + * 第四部分介绍了Linux驱动之上的各类组件包库等的开发说明。 + * 第五部分介绍了Linux系统的相关操作,主要包含存储支持 打包 调试 优化等 + * 第六部分支持了一些应用demo示例,如LVGL GST等常用且较为丰富的综合项目 + +### SyterKit系统 + +* SyterKit源码位置: https://github.com/YuzukiHD/SyterKit + +SyterKit 是一个纯裸机框架,用于 TinyVision 或者其他 v851se/v851s/v851s3/v853 等芯片的开发板,SyterKit 使用 CMake 作为构建系统构建,支持多种应用与多种外设驱动。同时 SyterKit 也具有启动引导的功能,可以替代 U-Boot 实现快速启动(标准 Linux6.7 主线启动时间 1.02s,相较于传统 U-Boot 启动快 3s)。 + +目前已经支持如下功能 + +| 名称 | 功能 | 路径 | +| --------------- | ------------------------------------------------------------ | --------------------- | +| hello world | 最小程序示例,打印 Hello World | `app/hello_world` | +| init dram | 初始化串行端口和 DRAM | `app/init_dram` | +| read chip efuse | 读取芯片 efuse 信息 | `app/read_chip_efuse` | +| read chipsid | 读取芯片的唯一 ID | `app/read_chipsid` | +| load e907 | 读取 e907 核心固件,启动 e907 核心,并使用 V851s 作为大型 RISC-V 微控制器(E907 @ 600 MHz,64MB 内存) | `app/load_e907` | +| syter boot | 替代 U-Boot 的引导函数,为 Linux 启用快速系统启动 | `app/syter_boot` | +| syter amp | 读取 e907 核心固件,启动 e907 核心,加载内核,并在 e907 和 a7 系统上同时运行 Linux,系统是异构集成运行的 | `app/syter_amp` | +| fdt parser | 读取设备树二进制文件并解析打印输出 | `app/fdt_parser` | +| fdt cli | 使用支持 uboot fdt 命令的 CLI 读取设备树二进制文件 | `app/fdt_cli` | +| syter bootargs | 替代 U-Boot 引导,为 Linux 启用快速系统启动,支持在 CLI 中更改启动参数 | `app/syter_bootargs` | +| cli test | 测试基本 CLI 功能 | `app/cli_test` | + +### Linux Kernel + +基于Linus主线LinuxKernel 支持 tinyvision单板及驱动模块,支持多个内核版本,不同的内核版本支持的功能特性也不同,可以通过下述列表查看。 + +* 源码所在位置 https://github.com/YuzukiHD/TinyVision/tree/main/kernel/ + +| Kernel Version | Target ON | Core | Path | +| ------------------ | --------------------------------------- | -------------- | ------------------- | +| 4.9.191 | CV, Camera, NPU, MP, Video Encode, RTSP | Cortex-A7 Core | `kernel\linux-4.9` | +| 5.15.138 | IoT, NPU, Router | Cortex-A7 Core | `kernel\linux-5.15` | +| 6.1.62 | IoT | Cortex-A7 Core | `kernel\linux-6.1` | +| Mainline Linux 6.7 | Mainline | Cortex-A7 Core | `kernel\linux-6.7` | + + +### RTOS Kernel +| Kernel Version | Target ON | Core | Path | +| ------------------ | --------------------------------------- | -------------- | ------------------- | +| RT-Thread | Real-Time Control, Fast | RISC-V E907 | `kernel\rtos` | +| SyterKit | Baremetal ASM Code | Cortex-A7 Core | `kernel\SyterKit` | + + + +### Openwrt系统 + +TinyVision自带百兆网口接口+摄像头接口支持,支持 Current stable series: OpenWrt 23.05 系统,可以做一个 轻量级的IPC摄像头,里面运行主线系统,选择合适的内核版本 一键 编译生成系统镜像。 + +* openwrt-23.05源码: https://github.com/YuzukiHD/OpenWrt/tree/openwrt-23.05 +* OpenWrt-23.05目录结构,OpenWrt-23.05.tar.gz 压缩包 md5值 2b10a86405aa4d045bc2134e98d3f6d8 请确保压缩包文件一致性。 + +``` bash +ubuntu@ubuntu1804:~/$ md5sum OpenWrt-23.05.tar.gz +ubuntu@ubuntu1804:~/$ tree -L 1 +. +├── bin +├── BSDmakefile +├── build_dir +├── config +├── Config.in +├── COPYING +├── dl +├── feeds +├── feeds.conf.default +├── include +├── key-build +├── key-build.pub +├── key-build.ucert +├── key-build.ucert.revoke +├── LICENSES +├── Makefile +├── package +├── README.md +├── rules.mk +├── scripts +├── staging_dir +├── target +├── tmp +├── toolchain +└── tools + +14 directories, 11 files + +``` + + + +### Buildroot系统 + +buildroot系统是一套基于Makefile管理的构建系统框架 + +* buildroot-2023.2: https://github.com/DongshanPI/buildroot-external-tinyvision + +``` ba +ubuntu@ubuntu1804:~/buildroot-2023.02.8$ tree -L 1 +. +├── arch +├── board +├── boot +├── CHANGES +├── Config.in +├── Config.in.legacy +├── configs +├── COPYING +├── defconfig +├── DEVELOPERS +├── dl +├── docs +├── fs +├── linux +├── Makefile +├── Makefile.legacy +├── output +├── package +├── README +├── support +├── system +├── toolchain +└── utils + +15 directories, 9 files +ubuntu@ubuntu1804:~/buildroot-2023.02.8$ +``` + +## 手册文档工具 +### TinyVision 相关文档手册 +- 电路原理图:https://github.com/YuzukiHD/TinyVision/tree/main/docs/hardware/TinyVision/schematic +- 3D 结构:https://github.com/YuzukiHD/TinyVision/tree/main/docs/hardware/TinyVision/3d +- BOM:https://github.com/YuzukiHD/TinyVision/tree/main/docs/hardware/TinyVision/bom +- Gerber:https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision/gerber/Gerber_PCB1_2023-11-13.zip +- V851 简述:https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision/datasheet/V851S_Brief_CN_V1.0.pdf +- V851se 手册:https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision/datasheet/V851SX_Datasheet_V1.2.pdf +- V851se 引脚定义:https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision/datasheet/V851SE_PINOUT_V1.0.xlsx +- V851 原厂参考设计:https://github.com/YuzukiHD/TinyVision/tree/main/docs/hardware/TinyVision/datasheet/ReferenceDesign +- 主电源芯片:https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision/datasheet/MPS-MP2122.pdf +- 3V3 电源芯片:https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision/datasheet/Aerosemi-MT3520B.pdf +- CSI 接口电源 LDO:https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision/datasheet/JSCJ-CJ6211BxxF.pdf +- SDNAND 存储芯片:https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision/datasheet/CS-SEMI-CSNP1GCR01-BOW.pdf +- TF 卡槽:https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision/datasheet/MUP-M617-2.pdf + +### TinyVision WIFI 相关手册文档 + +- 电路原理图:https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision-WIFI/schematic/SCH_TinyVision-WIFI_2023-11-18.pdf +- 3D 结构:https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision-WIFI/3d/3D_PCB4_2023-11-18.zip +- Gerber:https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision-WIFI/gerber/Gerber_PCB4_2023-11-18.zip +- XR829 芯片简述:https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision-WIFI/datasheet/XR829_Brief.pdf +- XR829 芯片手册:https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision-WIFI/datasheet/XR829_Datasheet.pdf + +### TinyVision开发相关工具 + +- 线刷工具[Windows/Linux]:https://github.com/YuzukiHD/TinyVision/blob/main/docs/tools/AllwinnertechPhoeniSuitRelease20230905.zip +- ISP 调试工具[Windows]:https://github.com/YuzukiHD/TinyVision/blob/main/docs/tools/TigerISPv4.2.2.7z +- WIFI 性能测试工具[Linux/Android]:https://github.com/YuzukiHD/TinyVision/blob/main/docs/tools/xradio_wlan_rf_test_tools_v2.0.9-p1.zip +- BT 性能测试工具[Linux]:https://github.com/YuzukiHD/TinyVision/blob/main/docs/tools/xradio_bt_rf_test_tools_v1.2.2.zip +- WIFI 晶振频偏发射功率修改工具[Windows]:https://github.com/YuzukiHD/TinyVision/blob/main/docs/tools/xradio_sdd_editor_ex_v2.7.210115a-p1.zip +![TinyVision_Pinout](https://photos.100ask.net/dongshanpi/TinyVision/image-20231118144837348.png) +![TinyVision_Pinout](https://photos.100ask.net/dongshanpi/TinyVision/image-20231118145056447.png) +![TinyVision_Pinout](https://photos.100ask.net/dongshanpi/TinyVision/image-20231118145333944.png) + diff --git a/docs/TinyVision/06-ConfigHostEnv.md b/docs/TinyVision/06-ConfigHostEnv.md new file mode 100644 index 0000000..6cfd60c --- /dev/null +++ b/docs/TinyVision/06-ConfigHostEnv.md @@ -0,0 +1,83 @@ +--- +sidebar_position: 4 +--- +# 安装并配置开发环境 + + +## 获取虚拟机系统 + +### 下载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) + +做完这一步以后,就可以继续往下,进行开发了。 diff --git a/docs/TinyVision/09-TinyVision_BuildDebian.md b/docs/TinyVision/09-TinyVision_BuildDebian.md new file mode 100644 index 0000000..b7170fd --- /dev/null +++ b/docs/TinyVision/09-TinyVision_BuildDebian.md @@ -0,0 +1,482 @@ +--- +sidebar_position: 9 +--- + +# TinyVision 手动构建 Linux 6.1 + Debian 12 镜像 + +## 构建 SyterKit 作为 Bootloader + +SyterKit 是一个纯裸机框架,用于 TinyVision 或者其他 v851se/v851s/v851s3/v853 等芯片的开发板,SyterKit 使用 CMake 作为构建系统构建,支持多种应用与多种外设驱动。同时 SyterKit 也具有启动引导的功能,可以替代 U-Boot 实现快速启动 + +### 获取 SyterKit 源码 + +SyterKit 源码位于GitHub,可以前往下载。 + +```shell +git clone https://github.com/YuzukiHD/SyterKit.git +``` + +### 从零构建 SyterKit + +构建 SyterKit 非常简单,只需要在 Linux 操作系统中安装配置环境即可编译。SyterKit 需要的软件包有: + +- `gcc-arm-none-eabi` +- `CMake` + +对于常用的 Ubuntu 系统,可以通过如下命令安装 + +```shell +sudo apt-get update +sudo apt-get install gcc-arm-none-eabi cmake build-essential -y +``` + +然后新建一个文件夹存放编译的输出文件,并且进入这个文件夹 + +```shell +mkdir build +cd build +``` + +然后运行命令编译 SyterKit + +```shell +cmake .. +make +``` + +![f6cd8396-6b9e-4171-a32f-b6e908fa1fb9-image.png](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/1702729920306-f6cd8396-6b9e-4171-a32f-b6e908fa1fb9-image.png) + +编译后的可执行文件位于 `build/app` 中,这里包括 SyterKit 的多种APP可供使用。 + +![ecd7330e-1281-4296-9de7-0433e12fef2f-image.png](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/1702729933404-ecd7330e-1281-4296-9de7-0433e12fef2f-image.png) + +这里我们使用的是 `syter_boot` 作为启动引导。进入 syter_boot 文件夹,可以看到这些文件 + +![d631adb8-9d69-4f38-99f4-f080a3d04cc4-image.png](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/1702729955121-d631adb8-9d69-4f38-99f4-f080a3d04cc4-image.png) + +由于 TinyVision 是 TF 卡启动,所以我们需要用到 `syter_boot_bin_card.bin` + +![0bee1188-3372-4a0a-94c3-5ae19322eab3-image.png](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/1702729964449-0bee1188-3372-4a0a-94c3-5ae19322eab3-image.png) + +## 编译 Linux-6.1 内核 + +由于 Debian 12 配套的内核是 Linux 6.1 LTS,所以这里我们选择构建 Linux 6.1 版本内核。 + +### 搭建编译环境 + +安装一些必要的安装包 + +```plaintext +sudo apt-get update && sudo apt-get install -y gcc-arm-none-eabi gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf build-essential libncurses5-dev zlib1g-dev gawk flex bison quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lsof +``` + +### 获取内核源码 + +内核源码托管在 Github 上,可以直接获取到,这里使用 `--depth=1` 指定 git 深度为 1 加速下载。 + +```plaintext +git clone http://github.com/YuzukiHD/TinyVision --depth=1 +``` + +然后进入内核文件夹 + +```plaintext +cd kernel/linux-6.1 +``` + +### 配置内核选项 + +应用 defconfig + +```plaintext +CROSS_COMPILE=arm-linux-gnueabihf- make ARCH=arm tinyvision_defconfig +``` + +进入 `menuconfig` 配置选项 + +```plaintext +CROSS_COMPILE=arm-linux-gnueabihf- make ARCH=arm menuconfig +``` + +进入 `General Setup ->`,选中 `Control Group Support` + +![image-20231221104449523](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231221104449523.png) + +![image-20231221122711591](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231221122711591.png) + +前往 `File Systems` 找到 `FUSE (Filesystem in Userspace) support` + +![image-20231221104607368](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231221104607368.png) + +前往 `File Systems` 找到 `Inotify support for userspace` + +![image-20231221122848948](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231221122848948.png) + +编译内核 + +```plaintext +CROSS_COMPILE=arm-linux-gnueabihf- make ARCH=arm +``` + +## 使用 debootstrap 构建 debian rootfs + +### 准备环境,依赖 + +下载安装依赖环境 + +```plaintext +sudo apt install debootstrap qemu qemu-user-static qemu-system qemu-utils qemu-system-misc binfmt-support dpkg-cross debian-ports-archive-keyring --no-install-recommends +``` + +生成目标镜像,配置环境,这里我们生成一个 1024M 的镜像文件用于存放 rootfs + +```shell +dd if=/dev/zero of=rootfs.img bs=1M count=1024 +mkdir rootfs +mkfs.ext4 rootfs.img +sudo mount rootfs.img rootfs +``` + +### 开始构建基础 rootfs + +这里我们选择最新的 debian12 (bookwarm) 作为目标镜像,使用清华源来构建,输出到目标目录 rootfs_data 文件夹中。新版本的 debootstrap 只需要运行一次即可完成两次 stage 的操作,相较于老版本方便许多。 + +```shell +sudo debootstrap --arch=armhf bookworm rootfs_data https://mirrors.tuna.tsinghua.edu.cn/debian/ +``` + +![image-20231221093653561](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231221093653561.png) + +看到 `I: Base system installed successfully.` 就是构建完成了 + +![image-20231221094602269](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231221094602269.png) + +等待构建完成后,使用chroot进入到目录,这里编写一个挂载脚本方便挂载使用,新建文件 `ch-mount.sh` 并写入以下内容: + +```bash +#!/bin/bash + +function mnt() { + echo "MOUNTING" + sudo mount -t proc /proc ${2}proc + sudo mount -t sysfs /sys ${2}sys + sudo mount -o bind /dev ${2}dev + sudo mount -o bind /dev/pts ${2}dev/pts + sudo chroot ${2} +} + +function umnt() { + echo "UNMOUNTING" + sudo umount ${2}proc + sudo umount ${2}sys + sudo umount ${2}dev/pts + sudo umount ${2}dev + +} + +if [ "$1" == "-m" ] && [ -n "$2" ] ; +then + mnt $1 $2 +elif [ "$1" == "-u" ] && [ -n "$2" ]; +then + umnt $1 $2 +else + echo "" + echo "Either 1'st, 2'nd or both parameters were missing" + echo "" + echo "1'st parameter can be one of these: -m(mount) OR -u(umount)" + echo "2'nd parameter is the full path of rootfs directory(with trailing '/')" + echo "" + echo "For example: ch-mount -m /media/sdcard/" + echo "" + echo 1st parameter : ${1} + echo 2nd parameter : ${2} +fi +``` + +然后赋予脚本执行的权限 + +```shell +chmod 777 ch-mount.sh +``` + +- 使用 `./ch-mount.sh -m rootfs_data` 挂载 +- 使用 `./ch-mount.sh -u rootfs_data` 卸载 + +执行挂载,可以看到进入了 debian 的 rootfs + +![image-20231221094725953](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231221094725953.png) + +配置系统字符集,选择 en_US 作为默认字符集 + +```shell +export LC_ALL=en_US.UTF-8 +apt-get install locales +dpkg-reconfigure locales +``` + +选择一个就可以 + +![image-20231221095332517](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231221095332517.png) + +直接 OK 下一步 + +![image-20231221095409399](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231221095409399.png) + +安装 Linux 基础工具 + +```plaintext +apt install sudo ssh openssh-server net-tools ethtool wireless-tools network-manager iputils-ping rsyslog alsa-utils bash-completion gnupg busybox kmod wget git curl --no-install-recommends +``` + +安装编译工具 + +```bash +apt install build-essential +``` + +安装 Linux nerd 工具 + +```plaintext +apt install vim nano neofetch +``` + +设置本机入口 ip 地址 + +```plaintext +cat < /etc/hosts +127.0.0.1 localhost +127.0.1.1 $HOST +::1 localhost ip6-localhost ip6-loopback +ff02::1 ip6-allnodes +ff02::2 ip6-allrouters +EOF +``` + +配置网卡 + +```plaintext +mkdir -p /etc/network +cat >/etc/network/interfaces </etc/resolv.conf </etc/fstab < +/dev/mmcblk0p1 /boot vfat defaults 0 0 +/dev/mmcblk0p2 / ext4 defaults,noatime 0 1 +EOF +``` + +配置 root 密码 + +```plaintext +passwd +``` + +配置主机名 + +```plaintext +echo TinyVision > /etc/hostname +``` + +退出 chroot + +```plaintext +exit +``` + +取消挂载 chroot + +```plaintext +./ch-mount.sh -u rootfs_data/ +``` + +### 拷贝 rootfs 到镜像中 + +```plaintext +sudo cp -raf rootfs_data/* rootfs +``` + +取消挂载 + +```plaintext +sudo umount rootfs +``` + +至此 debian rootfs 就制作好了。 + +## 打包固件 + +编译完成 bootloader,内核,rootfs 后,还需要打包固件成为可以 dd 写入的固件,这里我们使用 genimage 工具来生成构建。 + +# 生成刷机镜像 + +编译内核后,可以在文件夹 `arch/arm/boot/dts/allwinner` 生成`sun8i-v851se-tinyvision.dtb` ,在文件夹`arch/arm/boot` 生成 `zImage` ,把他们拷贝出来。 + +![33140ec9-fd56-4cef-9250-ffa210b74178.png](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/1702731217300-33140ec9-fd56-4cef-9250-ffa210b74178.png) + +然后将 `sun8i-v851se-tinyvision.dtb` 改名为 `sunxi.dtb` ,这个设备树名称是定义在 SyterKit 源码中的,如果之前修改了 SyterKit 的源码需要修改到对应的名称,SyterKit 会去读取这个设备树。 + +然后编写一个 `config.txt` 作为配置文件 + +```plaintext +[configs] +bootargs=root=/dev/mmcblk0p2 earlyprintk=sunxi-uart,0x02500000 loglevel=2 initcall_debug=0 rootwait console=ttyS0 init=/sbin/init +mac_addr=4a:13:e4:f9:79:75 +bootdelay=3 +``` + +### 安装 GENIMAGE + +这里我们使用 genimage 作为打包工具 + +```plaintext +sudo apt-get install libconfuse-dev #安装genimage依赖库 +sudo apt-get install genext2fs # 制作镜像时genimage将会用到 +git clone https://github.com/pengutronix/genimage.git +cd genimage +./autogen.sh # 配置生成configure +./configure # 配置生成makefile +make +sudo make install +``` + +编译后运行试一试,这里正常 + +![8dd643b9-5f40-4b9e-a355-457fd80d8c5b.png](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/1702731225454-8dd643b9-5f40-4b9e-a355-457fd80d8c5b.png) + +### 使用 GENIMAGE 打包固件 + +编写 genimage.cfg 作为打包的配置 + +```cfg +image boot.vfat { + vfat { + files = { + "zImage", + "sunxi.dtb", + "config.txt" + } + } + size = 32M +} + +image sdcard.img { + hdimage {} + + partition boot0 { + in-partition-table = "no" + image = "syter_boot_bin_card.bin" + offset = 8K + } + + partition boot0-gpt { + in-partition-table = "no" + image = "syter_boot_bin_card.bin" + offset = 128K + } + + partition kernel { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } + + partition rootfs { + partition-type = 0x83 + bootable = "true" + image = "rootfs.img" + } +} +``` + +由于genimage的脚本比较复杂,所以编写一个 `genimage.sh` 作为简易使用的工具 + +```sh +#!/usr/bin/env bash + +die() { + cat <&2 +Error: $@ + +Usage: ${0} -c GENIMAGE_CONFIG_FILE +EOF + exit 1 +} + +# Parse arguments and put into argument list of the script +opts="$(getopt -n "${0##*/}" -o c: -- "$@")" || exit $? +eval set -- "$opts" + +GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" + +while true ; do + case "$1" in + -c) + GENIMAGE_CFG="${2}"; + shift 2 ;; + --) # Discard all non-option parameters + shift 1; + break ;; + *) + die "unknown option '${1}'" ;; + esac +done + +[ -n "${GENIMAGE_CFG}" ] || die "Missing argument" + +# Pass an empty rootpath. genimage makes a full copy of the given rootpath to +# ${GENIMAGE_TMP}/root so passing TARGET_DIR would be a waste of time and disk +# space. We don't rely on genimage to build the rootfs image, just to insert a +# pre-built one in the disk image. + +trap 'rm -rf "${ROOTPATH_TMP}"' EXIT +ROOTPATH_TMP="$(mktemp -d)" +GENIMAGE_TMP="$(mktemp -d)" +rm -rf "${GENIMAGE_TMP}" + +genimage \ + --rootpath "${ROOTPATH_TMP}" \ + --tmppath "${GENIMAGE_TMP}" \ + --inputpath "${BINARIES_DIR}" \ + --outputpath "${BINARIES_DIR}" \ + --config "${GENIMAGE_CFG}" +``` + +准备完成,文件如下所示 + +![8986491d-003b-479e-9ef0-01f3c93ca43c.png](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/1702731236382-8986491d-003b-479e-9ef0-01f3c93ca43c.png) + +运行命令进行打包 + +```plaintext +chmod 777 genimage.sh +./genimage.sh -c genimage.cfg +``` + +![1ad6cdd4-59b6-4089-a5f4-2aac0e3538ef.png](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/1702731309228-1ad6cdd4-59b6-4089-a5f4-2aac0e3538ef.png) + +打包完成,可以找到 `sdcard.img` + +使用软件烧录固件到TF卡上 + +![d06e037d-102f-46cc-80c1-49b47f72b8b1.png](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/1702731317182-d06e037d-102f-46cc-80c1-49b47f72b8b1.png) + diff --git a/docs/TinyVision/10-TinyVision_SysterKitBuringKernel.md b/docs/TinyVision/10-TinyVision_SysterKitBuringKernel.md new file mode 100644 index 0000000..a506c34 --- /dev/null +++ b/docs/TinyVision/10-TinyVision_SysterKitBuringKernel.md @@ -0,0 +1,385 @@ +--- +sidebar_position: 10 +--- + + +# TinyVision 使用 SyterKit 启动 Linux 6.7 主线内核 + +# SyterKit + +SyterKit 是一个纯裸机框架,用于 TinyVision 或者其他 v851se/v851s/v851s3/v853 等芯片的开发板,SyterKit 使用 CMake 作为构建系统构建,支持多种应用与多种外设驱动。同时 SyterKit 也具有启动引导的功能,可以替代 U-Boot 实现快速启动 + +## 获取 SyterKit 源码 + +SyterKit 源码位于GitHub,可以前往下载。 + +```shell +git clone https://github.com/YuzukiHD/SyterKit.git +``` + +## 从零构建 SyterKit + +构建 SyterKit 非常简单,只需要在 Linux 操作系统中安装配置环境即可编译。SyterKit 需要的软件包有: + +- `gcc-arm-none-eabi` +- `CMake` + +对于常用的 Ubuntu 系统,可以通过如下命令安装 + +```shell +sudo apt-get update +sudo apt-get install gcc-arm-none-eabi cmake build-essential -y +``` + +然后新建一个文件夹存放编译的输出文件,并且进入这个文件夹 + +```shell +mkdir build +cd build +``` + +然后运行命令编译 SyterKit + +```shell +cmake .. +make +``` + +![image-20231216174136154](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216174136154.png) + +编译后的可执行文件位于 `build/app` 中,这里包括 SyterKit 的多种APP可供使用。 + +![image-20231216173846369](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216173846369.png) + +这里我们使用的是 `syter_boot` 作为启动引导。进入 syter_boot 文件夹,可以看到这些文件 + +![image-20231216174210790](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216174210790.png) + +由于 TinyVision 是 TF 卡启动,所以我们需要用到 `syter_boot_bin_card.bin` + +![image-20231216174311727](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216174311727.png) + +# 移植 Linux 6.7 主线 + +有了启动引导,接下来是移植 Linux 6.7 主线,前往 https://kernel.org/ 找到 Linux 6.7,选择 `tarball` 下载 + +![image-20231216174444070](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216174444070.png) + +下载后解压缩 + +```shell +tar xvf linux-6.7-rc5.tar.gz +``` + +进入 linux 6.7 目录,开始移植相关驱动。 + +## 搭建 Kernel 相关环境 + +Kernel 编译需要一些软件包,需要提前安装。 + +```plaintext +sudo apt-get update && sudo apt-get install -y gcc-arm-none-eabi gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf build-essential libncurses5-dev zlib1g-dev gawk flex bison quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lsof +``` + +安装完成后可以尝试编译一下,看看能不能编译通过,先应用配置文件 + +```plaintext +CROSS_COMPILE=arm-linux-gnueabihf- make ARCH=arm sunxi_defconfig +``` + +![image-20231216181640653](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216181640653.png) + +然后尝试编译 + +```plaintext +CROSS_COMPILE=arm-linux-gnueabihf- make ARCH=arm +``` + +可以用 `-j32` 来加速编译,`32` 指的是使用32线程编译,一般cpu有几个核心就设置几线程 + +```plaintext +CROSS_COMPILE=arm-linux-gnueabihf- make ARCH=arm -j32 +``` + +正常编译 + +![image-20231216183011911](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216183011911.png) + +## 移植 clk 驱动 + +这里提供已经适配修改后的驱动:https://github.com/YuzukiHD/TinyVision/tree/main/kernel/linux-6.7-driver 可以直接使用。 + +也可以参考 https://github.com/YuzukiHD/TinyVision/tree/main/kernel/bsp/drivers/clk 中的驱动移植。 + +进入文件夹 `include/dt-bindings/clock/` 新建文件 `sun8i-v851se-ccu.h` ,将 CLK 填入 + +![image-20231216182350741](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216182350741.png) + +进入 `include/dt-bindings/reset` 新建文件 `sun8i-v851se-ccu.h` 将 RST 填入 + +![image-20231216182941392](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216182941392.png) + +进入 `drivers/clk/sunxi-ng` 找到 `sunxi-ng` clk 驱动,复制文件`ccu-sun20i-d1.c` 和 `ccu-sun20i-d1.h` 文件并改名为 `ccu-sun8i-v851se.c` ,`ccu-sun8i-v851se.h` 作为模板。 + +![image-20231216180413415](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216180413415.png) + +将文件中的 `SUN20I_D1` 改为 `SUN8I_V851SE` + +![image-20231216180653502](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216180653502.png) + +打开芯片数据手册[V851SX_Datasheet_V1.2.pdf](https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision/datasheet/V851SX_Datasheet_V1.2.pdf),找到 CCU 章节 + +![image-20231216180748419](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216180748419.png) + +对照手册编写驱动文件适配 V851se 平台。 + +然后找到 `drivers/clk/sunxi-ng/Kconfig` 文件,增加刚才编写的驱动的 Kconfig 说明 + +![image-20231216181118674](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216181118674.png) + +```plaintext +config SUN8I_V851SE_CCU + tristate "Support for the Allwinner V851se CCU" + default y + depends on MACH_SUN8I || COMPILE_TEST +``` + +同时打开 `drivers/clk/sunxi-ng/Makefile` + +![image-20231216181248375](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216181248375.png) + +```plaintext +obj-$(CONFIG_SUN8I_V851SE_CCU) += sun8i-v851se-ccu.o + +sun8i-v851se-ccu-y += ccu-sun8i-v851se.o +``` + +来检查一下是否移植成功,先查看 `menuconfig`,找到 `Device Drivers > Common Clock Framework`,查看是否有 V851se 平台选项出现 + +```plaintext +CROSS_COMPILE=arm-linux-gnueabihf- make ARCH=arm menuconfig +``` + +![image-20231216183207387](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216183207387.png) + +编译测试,有几处未使用的变量的警告,无视即可。 + +```plaintext +CROSS_COMPILE=arm-linux-gnueabihf- make ARCH=arm +``` + +![image-20231216183406918](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216183406918.png) + +正常编译成功 + +## 移植 pinctrl 驱动 + +这里提供已经适配修改后的驱动:https://github.com/YuzukiHD/TinyVision/tree/main/kernel/linux-6.7-driver 可以直接使用。 + +前往`drivers/pinctrl/sunxi/` 新建文件 `pinctrl-sun8i-v851se.c` + +![image-20231216183716548](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216183716548.png) + +打开 [V851SE_PINOUT_V1.0.xlsx](https://github.com/YuzukiHD/TinyVision/blob/main/docs/hardware/TinyVision/datasheet/V851SE_PINOUT_V1.0.xlsx) 对照填入PIN的值与功能。 + +![image-20231216183825726](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216183825726.png) + +同样的,修改 `drivers/pinctrl/sunxi/Kconfig` 增加选项 + +![image-20231216184038601](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216184038601.png) + +修改 `drivers/pinctrl/sunxi/Makefile` 增加路径 + +![image-20231216184126988](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216184126988.png) + +来检查一下是否移植成功,先查看 `menuconfig`,找到 `> Device Drivers > Pin controllers`,查看是否有 V851se 平台选项出现 + +```plaintext +CROSS_COMPILE=arm-linux-gnueabihf- make ARCH=arm menuconfig +``` + +![image-20231216184259987](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216184259987.png) + +编译测试,编译通过 + +```plaintext +CROSS_COMPILE=arm-linux-gnueabihf- make ARCH=arm +``` + +![image-20231216184649676](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216184649676.png) + +## 编写设备树 + +这里提供已经适配修改后的驱动:https://github.com/YuzukiHD/TinyVision/tree/main/kernel/linux-6.7-driver/dts 可以直接使用。 + +![image-20231216185413254](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216185413254.png) + +这部分直接给结果了,把上面适配的设备树放到`/home/yuzuki/WorkSpace/aa/linux-6.7-rc5/arch/arm/boot/dts/allwinner/` ,修改 `/home/yuzuki/WorkSpace/aa/linux-6.7-rc5/arch/arm/boot/dts/allwinner/Makefile` + +![image-20231216185113539](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216185113539.png) + +```plaintext +sun8i-v851se-tinyvision.dtb +``` + +![image-20231216185530270](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216185530270.png) + +# 生成刷机镜像 + +编译内核后,可以在文件夹 `arch/arm/boot/dts/allwinner` 生成`sun8i-v851se-tinyvision.dtb` ,在文件夹`arch/arm/boot` 生成 `zImage` ,把他们拷贝出来。 + +![image-20231216191248458](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216191248458.png) + +然后将 `sun8i-v851se-tinyvision.dtb` 改名为 `sunxi.dtb` ,这个设备树名称是定义在 SyterKit 源码中的,如果之前修改了 SyterKit 的源码需要修改到对应的名称,SyterKit 会去读取这个设备树。 + +然后编写一个 `config.txt` 作为配置文件 + +```plaintext +[configs] +bootargs=cma=4M root=/dev/mmcblk0p2 init=/sbin/init console=ttyS0,115200 earlyprintk=sunxi-uart,0x02500000 rootwait clk_ignore_unused +mac_addr=4a:13:e4:f9:79:75 +bootdelay=3 +``` + +### 安装 genimage + +这里我们使用 genimage 作为打包工具 + +```plaintext +sudo apt-get install libconfuse-dev #安装genimage依赖库 +sudo apt-get install genext2fs # 制作镜像时genimage将会用到 +git clone https://github.com/pengutronix/genimage.git +cd genimage +./autogen.sh # 配置生成configure +./configure # 配置生成makefile +make +sudo make install +``` + +编译后运行试一试,这里正常 + +![image-20231216192512837](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216192512837.png) + +### 使用 genimage 打包固件 + +编写 genimage.cfg 作为打包的配置 + +```cfg +image boot.vfat { + vfat { + files = { + "zImage", + "sunxi.dtb", + "config.txt" + } + } + size = 8M +} + +image sdcard.img { + hdimage {} + + partition boot0 { + in-partition-table = "no" + image = "syter_boot_bin_card.bin" + offset = 8K + } + + partition boot0-gpt { + in-partition-table = "no" + image = "syter_boot_bin_card.bin" + offset = 128K + } + + partition kernel { + partition-type = 0xC + bootable = "true" + image = "boot.vfat" + } +} +``` + +由于genimage的脚本比较复杂,所以编写一个 `genimage.sh` 作为简易使用的工具 + +```sh +#!/usr/bin/env bash + +die() { + cat <&2 +Error: $@ + +Usage: ${0} -c GENIMAGE_CONFIG_FILE +EOF + exit 1 +} + +# Parse arguments and put into argument list of the script +opts="$(getopt -n "${0##*/}" -o c: -- "$@")" || exit $? +eval set -- "$opts" + +GENIMAGE_TMP="${BUILD_DIR}/genimage.tmp" + +while true ; do + case "$1" in + -c) + GENIMAGE_CFG="${2}"; + shift 2 ;; + --) # Discard all non-option parameters + shift 1; + break ;; + *) + die "unknown option '${1}'" ;; + esac +done + +[ -n "${GENIMAGE_CFG}" ] || die "Missing argument" + +# Pass an empty rootpath. genimage makes a full copy of the given rootpath to +# ${GENIMAGE_TMP}/root so passing TARGET_DIR would be a waste of time and disk +# space. We don't rely on genimage to build the rootfs image, just to insert a +# pre-built one in the disk image. + +trap 'rm -rf "${ROOTPATH_TMP}"' EXIT +ROOTPATH_TMP="$(mktemp -d)" +GENIMAGE_TMP="$(mktemp -d)" +rm -rf "${GENIMAGE_TMP}" + +genimage \ + --rootpath "${ROOTPATH_TMP}" \ + --tmppath "${GENIMAGE_TMP}" \ + --inputpath "${BINARIES_DIR}" \ + --outputpath "${BINARIES_DIR}" \ + --config "${GENIMAGE_CFG}" +``` + +准备完成,文件如下所示 + +![image-20231216192612594](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216192612594.png) + +运行命令进行打包 + +```plaintext +chmod 777 genimage.sh +./genimage.sh -c genimage.cfg +``` + +![image-20231216192702018](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216192702018.png) + +打包完成,可以找到 `sdcard.img` + +![image-20231216192757467](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216192757467.png) + +使用软件烧录固件到TF卡上 + +![image-20231216192825808](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216192825808.png) + +# 测试 + +插卡,上电,成功启动系统 + +![image-20231216193758046](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216193758046.png) + +可以看到 Linux 版本是 6.7.0 + +![image-20231216193814799](https://photos.100ask.net/dongshanpi/TinyVision/yuzukihd/image-20231216193814799.png) + diff --git a/docs/TinyVision/part1/01-QuickStart.md b/docs/TinyVision/part1/01-QuickStart.md new file mode 100644 index 0000000..e89df7e --- /dev/null +++ b/docs/TinyVision/part1/01-QuickStart.md @@ -0,0 +1,243 @@ +--- +sidebar_position: 1 +--- + +# 启动开发板 + +## 制作系统启动镜像 + +### 硬件要求 + +当您购买了一套全新的TinyVision异构视觉AI开发套件,包装盒内会有: + +1.TinyVision开发板 + +您还需要额外的: + +1.microSD卡(建议最低8GB) x1 + +2.TypeC-SUB调试器 x1 https://item.taobao.com/item.htm?id=761016078439& + +3.40Gbps数据线 x1 https://item.taobao.com/item.htm?id=761016078439& + +4.type-C数据线 x2 https://item.taobao.com/item.htm?id=761016078439& + +5.USB读卡器 x1 + +> 注意:使用时还需要一台正常工作且能连接互联网的PC电脑。 + +### 系统选择 + +TinyVision V851se支持多种不同的系统,有主线,有原厂BSP,有RTOS等等,在首次启动,您需要选择一个合适的系统,这里我们以兼容性最好,功能最全的Tina-SDK系统镜像为例, 首先通过百度网盘获取 链接:https://pan.baidu.com/s/1Mp504XnUsTz5Mnf15pexNg?pwd=mof1 或者进入QQ群 821628986 看群文件,获取到 文件 `tina_v851se-tinyvision_uart0.img` 保存至电脑。之后进行烧写操作。 + +更多的系统选择可以访问: https://dongshanpi.100ask.net/docs/TinyVision/part2/03-1_FlashSystem 页面. + +### 烧写系统 + +- 硬件:TinyVision主板 x1 +- 硬件:TypeC-SUB x1 +- 硬件:TF卡读卡器 x1 +- 硬件:8GB以上的 Micro TF卡 x1 +- 软件:Tina系统TF卡烧录工具: [PhoenixCard-V2.8](https://gitlab.com/dongshanpi/tools/-/raw/main/PhoenixCard-V2.8.zip) +- 软件:TinaTF卡最小系统镜像:`tina_v851se-tinyvision_uart0.img` + +烧录过程请参考下述步骤: + +1. 打开 已经下载好的 凤凰卡 烧录工具 PhoenixCard-V2.8 运行起来,点击 **固件** +2. 在弹出的对话框内,找到我们已经下载好的Tina系统镜像,按照 序号 2 、3 依次选择。 +3. 选择好固件后,点击 序号 4 选择为 启动卡,之后 点击 序号 5 烧卡进行烧录。 +4. 烧录完成后,如下蓝框 序号6 log提示,会提示 烧写完成,此时 拔下 TF卡即可进行后续启动步骤。 + +![image-20231221122848948](https://photos.100ask.net/dongshanpi/TinyVision/TinaSDKFlash.jpg) + +### 插卡启动 + +在开发板启动前需要先将SD卡接入开发板,如下图所示: + +![image-20240110120118215](https://photos.100ask.net/dongshanpi/TinyVision/image-20240110120118215.png) + + +​使用40Gbps数据线连接TinyVision开发板和TypeC-SUB调试器,如下图所示: + +![image-20240110141348166](https://photos.100ask.net/dongshanpi/TinyVision/image-20240110141348166.png) + +​ 使用两条Type-C连接TypeC UART调试器和电脑端,连接完成后即可启动系统. + +## 使用串口登录系统 +### 1. 连接串口线 +将配套的TypeC线一段连接至开发板的串口/供电接口,另一端连接至电脑USB接口,连接成功后板载的红色电源灯会亮起。 +默认情况下系统会自动安装串口设备驱动,如果没有自动安装,可以使用驱动精灵来自动安装。 +* 对于Windows系统 +此时Windows设备管理器 在 端口(COM和LPT) 处会多出一个串口设备,一般是以 `USB-Enhanced-SERIAL CH9102`开头,您需要留意一下后面的具体COM编号,用于后续连接使用。 + +![QuickStart-01](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-01.png) + +如上图,COM号是96,我们接下来连接所使用的串口号就是96。 + +* 对于Linux系统 +可以查看是否多出一个/dev/tty 设备,一般情况设备节点为 /dev/ttyACM0 。 + +![QuickStart-02](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-02.png) + +### 2. 打开串口控制台 +#### 2.1 获取串口工具 +使用Putty或者MobaXterm等串口工具来开发板设备。 + +* 其中putty工具可以访问页面 https://www.chiark.greenend.org.uk/~sgtatham/putty/ 来获取。 +* MobaXterm可以通过访问页面 https://mobaxterm.mobatek.net/ 获取 (推荐使用)。 + +#### 2.2 使用putty登录串口 + +![QuickStart-04](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/QuickStart-04.png) + +#### 2.3 使用Mobaxterm登录串口 +打开MobaXterm,点击左上角的“Session”,在弹出的界面选中“Serial”,如下图所示选择端口号(前面设备管理器显示的端口号COM21)、波特率(Speed 115200)、流控(Flow Control: none),最后点击“OK”即可。步骤如下图所示。 +**注意:流控(Flow Control)一定要选择none,否则你将无法在MobaXterm中向串口输入数据** + +![Mobaxterm_serial_set_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/Mobaxterm_serial_set_001.png) + + +### 3. 进入系统shell +使用串口工具成功打开串口后,可以直接按下 Enter 键 进入shell,当然您也可以按下板子上的 `Reset`复位键,来查看完整的系统信息。 + +``` bash +[34]HELLO! BOOT0 is starting! +[37]BOOT0 commit : 88480af +[40]set pll start +[42]periph0 has been enabled +[44]set pll end +[46][pmu]: bus read error +[48]board init ok +[50]ZQ value = 0x2f +[52]get_pmu_exist() = -1 +[54]DRAM BOOT DRIVE INFO: V0.33 +[57]DRAM CLK = 528 MHz +[59]DRAM Type = 2 (2:DDR2,3:DDR3) +[62]DRAMC read ODT off. +[65]DRAM ODT off. +[67]ddr_efuse_type: 0xa +[69]DRAM SIZE =64 M +[71]dram_tpr4:0x0 +[73]PLL_DDR_CTRL_REG:0xf8002b00 +[76]DRAM_CLK_REG:0xc0000000 +[78][TIMING DEBUG] MR2= 0x0 +[83]DRAM simple test OK. +[85]dram size =64 +[87]spinor id is: ef 40 18, read cmd: 6b +[90]Succeed in reading toc file head. +[94]The size of toc is 100000. +[139]Entry_name = opensbi +[142]Entry_name = u-boot +[146]Entry_name = dtb +▒149]Jump to second Boot. + +U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology + +[00.158]DRAM: 64 MiB +[00.160]Relocation Offset is: 01ee7000 +[00.165]secure enable bit: 0 +[00.167]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz +[00.174]flash init start +[00.176]workmode = 0,storage type = 3 +individual lock is enable +[00.185]spi sunxi_slave->max_hz:100000000 +SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB +[00.195]sunxi flash init ok +[00.198]line:703 init_clocks +[00.201]drv_disp_init +request pwm success, pwm7:pwm7:0x2000c00. +[00.218]drv_disp_init finish +[00.220]boot_gui_init:start +[00.223]set disp.dev2_output_type fail. using defval=0 +[00.250]boot_gui_init:finish +partno erro : can't find partition bootloader +54 bytes read in 0 ms +[00.259]bmp_name=bootlogo.bmp size 38454 +38454 bytes read in 1 ms (36.7 MiB/s) +[00.434]Loading Environment from SUNXI_FLASH... OK +[00.448]out of usb burn from boot: not need burn key +[00.453]get secure storage map err +partno erro : can't find partition private +root_partition is rootfs +set root to /dev/mtdblock5 +[00.464]update part info +[00.467]update bootcmd +[00.469]change working_fdt 0x42aa6da0 to 0x42a86da0 +No reserved memory region found in source FDT +FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL +sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1 +[00.494]LCD open finish +[00.510]update dts +``` +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** +**系统默认会自己登录 没有用户名 没有密码。** + + + +## windows下使用 ADB登录系统 + +### 1.连接OTG线 + +将开发板配套的两根typec线,一根 直接连接至 开发板 `黑色字体序号 3.OTG烧录接口` 另一头连接至电脑的USB接口,开发板默认有系统,接通otg电源线就会通电并直接启动。 + +### 2. 安装windows板ADB + +点击链接下载Windows版ADB工具 [adb-tools](https://gitlab.com/dongshanpi/tools/-/raw/main/ADB.7z) +下载完成后解压,可以看到如下目录, + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir.png) + +然后 我们单独 拷贝 上一层的 **platform-tools** 文件夹到任意 目录,拷贝完成后,记住这个 目录位置,我们接下来要把这个 路径添加至 Windows系统环境变量里。 + +![adb-tools-dir](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-dir-001.png) + +我这里是把它单独拷贝到了 D盘,我的目录是 `D:\platform-tools` 接下来 我需要把它单独添加到Windows系统环境变量里面才可以在任意位置使用adb命令。 + +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_001.png) + +添加到 Windows系统环境变量里面 +![adb-tools-windows_config_001](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_002.png) + +### 3.打开cmd连接开发板 + +打开CMD Windows 命令提示符方式有两种 +方式1:直接在Windows10/11搜索对话框中输入 cmd 在弹出的软件中点击 `命令提示符` +方式2:同时按下 wind + r 键,输入 cmd 命令,按下确认 就可以自动打开 `命令提示符` + +![adb-tools-windows_config_003](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_003.png) + +打开命令提示符,输出 adb命令可以直接看到我们的adb已经配置成功 + +![adb-tools-windows_config_004](https://photos.100ask.net/dongshanpi-docs/d1s/adb-tools-windows_config_004.png) + +连接好开发板的 OTG 并将其连接至电脑上,然后 输入 adb shell就可以自动登录系统 + +``` shell +C:\System> adb shell +* daemon not running. starting it now on port 5037 * +* daemon started successfully * + + _____ _ __ _ +|_ _||_| ___ _ _ | | |_| ___ _ _ _ _ + | | _ | || | | |__ | || || | ||_'_| + | | | || | || _ | |_____||_||_|_||___||_,_| + |_| |_||_|_||_|_| Tina is Based on OpenWrt! + ---------------------------------------------- + Tina Linux + ---------------------------------------------- +root@TinaLinux:/# + +``` + +ADB 也可以作为文件传输使用,例如: + +``` shell +C:\System> adb push badapple.mp4 /mnt/UDISK # 将 badapple.mp4 上传到开发板 /mnt/UDISK 目录内 +``` + +``` shell +C:\System> adb pull /mnt/UDISK/badapple.mp4 # 将 /mnt/UDISK/badapple.mp4 下拉到当前目录内 +``` + +**注意: 此方法目前只适用于 使用全志Tina-SDK 构建出来的系统。** \ No newline at end of file diff --git a/docs/TinyVision/part1/02-SomeQustion.md b/docs/TinyVision/part1/02-SomeQustion.md new file mode 100644 index 0000000..f9a95bf --- /dev/null +++ b/docs/TinyVision/part1/02-SomeQustion.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 常见问题 diff --git a/docs/TinyVision/part1/03-QuickStart.assets/image-20240110120118215.png b/docs/TinyVision/part1/03-QuickStart.assets/image-20240110120118215.png new file mode 100644 index 0000000..16059c4 Binary files /dev/null and b/docs/TinyVision/part1/03-QuickStart.assets/image-20240110120118215.png differ diff --git a/docs/TinyVision/part1/03-QuickStart.assets/image-20240110141348166.png b/docs/TinyVision/part1/03-QuickStart.assets/image-20240110141348166.png new file mode 100644 index 0000000..f9db146 Binary files /dev/null and b/docs/TinyVision/part1/03-QuickStart.assets/image-20240110141348166.png differ diff --git a/docs/TinyVision/part1/03-QuickStart.assets/image-20240110143238336-1705305821791-3.png b/docs/TinyVision/part1/03-QuickStart.assets/image-20240110143238336-1705305821791-3.png new file mode 100644 index 0000000..b4f4780 Binary files /dev/null and b/docs/TinyVision/part1/03-QuickStart.assets/image-20240110143238336-1705305821791-3.png differ diff --git a/docs/TinyVision/part1/_category_.json b/docs/TinyVision/part1/_category_.json new file mode 100644 index 0000000..cb4a178 --- /dev/null +++ b/docs/TinyVision/part1/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "快速启动使用", + "position": 3, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/TinyVision/part2/03-1_FlashSystem.md b/docs/TinyVision/part2/03-1_FlashSystem.md new file mode 100644 index 0000000..2b779a1 --- /dev/null +++ b/docs/TinyVision/part2/03-1_FlashSystem.md @@ -0,0 +1,102 @@ +--- +sidebar_position: 2 +--- +# 选择合适系统 + +## 原厂SDK系统 +- 硬件兼容性 ⭐⭐⭐⭐⭐ +- 软件功能完善度 ⭐⭐⭐⭐⭐ +- 开发使用难度 ⭐⭐⭐⭐⭐ +- 烧写工具 全志自家烧录器。 +### TinaSDK-4.0 + +#### TF卡系统镜像 + +- tina_v851se-tinyvision_uart0.img + + - 默认TinaSDK编译出来 + + - 支持ADB + + - 和默认SDK兼容性最好 + + + +- tina-4.0_cameratest_tina_v851se-tinyvision_uart0.zip + + - 支持GC2053摄像头 + + + +- tina-4.0_test_tina_v851se-tinyvision_uart0.zip + + - 默认SDK镜像 + + +## 主线Linux系统 + +- TF卡读卡器 x1 +- 8GB以上的 micro TF卡 x1 +- win32diskimage工具 : https://gitlab.com/dongshanpi/tools/-/raw/main/win32diskimager-1.0.0-install.exe +- SDcard专用格式化工具:https://gitlab.com/dongshanpi/tools/-/raw/main/SDCardFormatter5.0.1Setup.exe +- Etcher烧写工具下载:https://etcher.balena.io/#download-etcher + + +* 使用Win32Diskimage烧录 +需要下载 **win32diskimage SDcard专用格式化** 这两个烧写TF卡的工具。 + +- 使用SD CatFormat格式化TF卡,注意备份卡内数据。参考下图所示,点击刷新找到TF卡,然后点击 Format 在弹出的 对话框 点击 **是(Yes)**等待格式完成即可。 + +![](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/SDCardFormat_001.png) + +- 格式化完成后,使用**Win32diskimage**工具来烧录镜像,参考下属步骤,找到自己的TF卡盘符,然后点击2 箭头 文件夹的符号 找到 刚才解压的 TF卡镜像文件 **dongshannezhastu-sdcard.img** 最后 点击 写入,等待写入完成即可。 + +![](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/wind32diskimage_001.png) + +完成以后,就可以弹出TF卡,并将其插到 东山哪吒STU 最小板背面的TF卡槽位置处,此时连接 串口线 并使用 串口工具打开串口设备,按下开发板的 **RESET**复位按键就可以重启进入TF卡系统内了。 + + + +* 使用 etcher https://etcher.balena.io/ 工具直接烧写系统镜像。 + +1.以管理员身份运行 etcher 烧写工具 + +2.选择需要烧写的系统镜像文件 + +3.选择 目标磁盘,找到TF卡设备 + +4. 点击烧录,等待烧录成功 + +![](https://photos.100ask.net/dongshanpi/TinyVision/Etcher_Flash.jpg) + + +### Debian12 + +- tinyvision_debian12_sdcard.img + - 支持 debian 12发行版系统 + +### Buildroot-2023 + +- tinyvision_sdcard.img + - 使用Linux kernel 5.15构建 + - 配套 buildroot 2023版本 + - 使用 syster启动 + +### OpenWrt-23.5 + +- openwrt-yuzukihd-v851se-yuzuki_tinyvision-ext4-sysupgrade.img + - 使用Linux kernel 6.x构建 + - 支持WOL + - 支持LUCI配置 + - 支持百兆网卡等 + +## SysterKit裸系统 + +### SysterBoot + +### SysterSPILCD + +## 其他OS +### RT-Thread + +### Freertos diff --git a/docs/TinyVision/part2/_category_.json b/docs/TinyVision/part2/_category_.json new file mode 100644 index 0000000..9b4c4b0 --- /dev/null +++ b/docs/TinyVision/part2/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "自定义系统开发", + "position": 5, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/TinyVision/part3/07-TinaSDK_DevelopmentGuide.md b/docs/TinyVision/part3/07-TinaSDK_DevelopmentGuide.md new file mode 100644 index 0000000..7dbc616 --- /dev/null +++ b/docs/TinyVision/part3/07-TinaSDK_DevelopmentGuide.md @@ -0,0 +1,136 @@ +# 使用Tina-SDK编译构建系统 + +## 简介 + +* 此套构建系统基于全志单核 Arm Cortex-A7 SoC,搭载了 RISC-V E907 内核的V851se 芯片,适配了Tina 5.0主线版本,是专为智能 IP 摄像机设计的,支持人体检测和穿越报警等功能。 + +## 获取sdk源码 + +开始之前我们需要先获取 提前准备好 tina-v851se.tar.gz 压缩包,压缩包分为国内国外两个存放位置,如下所示,大小大概5.2G,下载完成后,拷贝到提前配置好Host开发环境的ubuntu系统内,然后使用 tar -xvf tina-v851se.tar.gz 命令进行解压缩。 + +- BaiduYun: 链接:https://pan.baidu.com/s/1oIqGjCCtvUe0_k_kgXkusw?pwd=0kdr 提取码:0kdr + +解压缩命令 + +```bash +tar -xzvf tina-v851se.tar.gz +``` + +解压完成后,可以看到多出来一个 tina-v851的文件夹 + +```bash +book@100ask:~$ cd tina-v851/ +book@100ask:~/tina-v851$ ls +build device external out rules.mk tmp +config dl lichee package scripts toolchain +Config.in docs Makefile prebuilt target tools +``` + +由于默认的sdk并未支持此开发板,所以我们需要支持此开发板的配置 单独拷贝增加到tina-v851 sdk内,首先clone此开发板补丁仓库,然后单独覆盖。 + +```bash +book@100ask:~$ git clone https://github.com/DongshanPI/TinyVision-v851se_TinaSDK +book@100ask:~$ cp -rfvd TinyVision-v851se_TinaSDK/* tina-v851/ +``` + +## 安装必要依赖包 + +### ubuntu-18.04 + +运行环境配置: 此系统基于ubuntu18.04进行验证,在之前的基础之上还需要安装以下必要依赖 + +```shell + sudo apt-get install build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lib32z1 lib32z1-dev lib32stdc++6 libstdc++6 u-boot-tools -y +``` + +安装完成后,执行如下命令进行开始编译操作。 + +## 最小系统编译烧写 +### 编译SD卡最小系统镜像 + +建立编译环境 + +```bash +book@100ask:~/tina-v851$ source build/envsetup.sh +Setup env done! Please run lunch next. +``` + +选择编译的开发板,输入lunch + +```shell +book@100ask:~/tina-v851$ lunch + +You're building on Linux + +Lunch menu... pick a combo: + 1. v851se_tinyvision-tina + +Which would you like?: 1 #此时可以输入1,选择tinyvision开发板 +============================================ +TINA_BUILD_TOP=/home/book/tina-v851 +TINA_TARGET_ARCH=arm +TARGET_PRODUCT=v851se_tinyvision +TARGET_PLATFORM=v851se +TARGET_BOARD=v851se-tinyvision +TARGET_PLAN=tinyvision +TARGET_BUILD_VARIANT=tina +TARGET_BUILD_TYPE=release +TARGET_KERNEL_VERSION=4.9 +TARGET_UBOOT=u-boot-2018 +TARGET_CHIP=sun8iw21p1 +============================================ +no buildserver to clean +[1] 3357 +``` + +选择完成后,输入make开始编译 + +```shell +book@100ask:~/tina-v851$ make +===This's tina environment.=== +find: ‘/home/book/tina-v851/lichee/brandy-2.0/spl’: No such file or directory +v851se_tinyvision v851se v851se-tinyvision +build_boot platform:sun8iw21p1 o_option:spl-pub +grep: /home/book/tina-v851/lichee/brandy-2.0/spl/Makefile: No such file or directory +Prepare toolchain ... +--------build for mode:all board:v851se------------------- +platform set to sun8iw21p1 +make -C /home/book/tina-v851/lichee/brandy-2.0/spl-pub/fes fes + CHK /home/book/tina-v851/lichee/brandy-2.0/spl-pub/include/config.h + UPD /home/book/tina-v851/lichee/brandy-2.0/spl-pub/include/config.h + CHK /home/book/tina-v851/lichee/brandy-2.0/spl-pub/autoconf.mk + UPD /home/book/tina-v851/lichee/brandy-2.0/spl-pub/autoconf.mk +make -C /home/book/tina-v851/lichee/brandy-2.0/spl-pub/arch/arm/cpu/armv7/ +make -C /home/book/tina-v851/lichee/brandy-2.0/spl-pub/fes/main/ +... +``` + +等待编译完成,此部分编译时间由电脑CPU等决定,第一次编译系统的时间比较长,请耐心等待。等待输出编译Tina OK即编译成功。 + + + +编译完成后,输入pack,可以直接将刚刚编译完成的系统打包生成可烧写到板载SD卡上的镜像 + +``` shell +book@100ask:~/tina-v851$ pack +... +ragon execute image.cfg SUCCESS ! +----------image is for nand/emmc---------- +----------image is at---------- + +/home/ubuntu/Downloads/tina-v851/out/v851se-tinyvision/tina_v851se-tinyvision_uart0.img + +pack finish +``` + +等待打包完成,打包完成后可以根据上面的输出信息提示的目录下找到 tina_v851se-tinyvision_uart0.img镜像,将此镜像文件拷贝到Windows电脑中。 + +### 烧写SD卡最小系统镜像 + +编译完成后会在tina-v851/out/v851se-tinyvision/目录下输出 tina_v851se-tinyvision_uart0.img 文件,将文件拷贝到Windows系统下使用 使用 全志官方的 PhoenixCard 进行烧写。 +详细烧写步骤请,请参考左侧 **快速启动** 页面。 + + + + + diff --git a/docs/TinyVision/part3/08-TinaSDK_BuildBootloader.md b/docs/TinyVision/part3/08-TinaSDK_BuildBootloader.md new file mode 100644 index 0000000..65dafb6 --- /dev/null +++ b/docs/TinyVision/part3/08-TinaSDK_BuildBootloader.md @@ -0,0 +1,31 @@ +# 使用Tina-SDK编译构建Bootloader + +* 柚木PI-蜥蜴开发板,Bootloader由4部分组成, 第一部分是 boot0 阶段,用于初始化CPU DDR UART 时钟等一些必要外设和引脚分配,之后进入第二部分,第二部分是 optee uboot board.dtb 这三部分组成,为一个 boot_package.fex 文件。 +* 所以Bootloader的整体的启动流程是,boot0-->optee-->u-boot-->board.dtb。 +* Bootloader在内核运行之前运行,可以初始化硬件设备、建立内存空间映 射图,从而将系统的软硬件环境带到一个合适状态,为最终调用 linux 内核准备好正确的环境。 + +## 单独编译打包第一部分 + + +## 单独编译打包第二部分 +## 单独编译打包第三部分 + +### 单独编译 uboot + +* 单独编译 uboot阶段 +``` shell +book@100ask:~/tina-v851$ source build/envsetup.sh +book@100ask:~/tina-v851$ lunch +book@100ask:~/tina-v851$ muboot +``` + +编译uboot,编译完成后自动更新uboot binary到TinaSDK/target/allwinner/$(BOARD)-common/bin/ + +### 单独编译 board.dtb + +```shell +book@100ask:~/tina-v851$ mboot +``` + + + diff --git a/docs/TinyVision/part3/09-TinaSDK_BuildLinuxKernel.md b/docs/TinyVision/part3/09-TinaSDK_BuildLinuxKernel.md new file mode 100644 index 0000000..a94f1d3 --- /dev/null +++ b/docs/TinyVision/part3/09-TinaSDK_BuildLinuxKernel.md @@ -0,0 +1,18 @@ +# 使用Tina-SDK编译打包Linux Kernel +### 编译各个部分 + +* 修改内核配置 +``` shell +book@100ask:~/tina-v851$ croot +book@100ask:~/tina-v851$ make kernel_menuconfig +``` + +![YuzukiHD-Lizard-09_menuconfig](https://photos.100ask.net/dongshanpi-docs/YuzukiHD-Lizard/YuzukiHD-Lizard-09_menuconfig.png) + +可以在上图的界面内修改内核配置。 + +* 编译打包后会在out/v851s-perf1里面生成最终的镜像 +``` shell +book@100ask:~/tina-v851$ make +book@100ask:~/tina-v851$ pack +``` diff --git a/docs/TinyVision/part3/10-TinaSDK_BuildRootfs.md b/docs/TinyVision/part3/10-TinaSDK_BuildRootfs.md new file mode 100644 index 0000000..566d1fa --- /dev/null +++ b/docs/TinyVision/part3/10-TinaSDK_BuildRootfs.md @@ -0,0 +1,21 @@ +# 使用Tina-SDK编译构建rootfs + +Tina默认情况是编译打包完成在tina-v851/out/v851se-tinyvision/会生成对应的 tina_v851se-tinyvision_uart0.img + +## 单独编译配置BusyBox + +tina默认是BusyBox + +``` shell +book@100ask:~/tina-v851$ make +book@100ask:~/tina-v851$ pack +``` + + + +### 清理无效缓存 重新打包 + +``` shell +make clean +``` + diff --git a/docs/TinyVision/part3/12-1_TinaSDK_SupportWifiBluetooth.md b/docs/TinyVision/part3/12-1_TinaSDK_SupportWifiBluetooth.md new file mode 100644 index 0000000..9b3eb8e --- /dev/null +++ b/docs/TinyVision/part3/12-1_TinaSDK_SupportWifiBluetooth.md @@ -0,0 +1,104 @@ +# 使用Tina-SDK支持启动WiFi + +## Wifi配网 + +1.启动WiFi + +``` +root@TinaLinux:~# ifconfig wlan0 up +[ 1311.470054] ieee80211_do_open: vif_type=2, p2p=0, ch=3, addr=08:f9:56:88:5c:46 +[ 1311.478327] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0, addr=08:f9:56:88:5c:46 +[ 1311.491819] [AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined. +[ 1311.510396] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready +root@TinaLinux:~# ifconfig -a +lo Link encap:Local Loopback + inet addr:127.0.0.1 Mask:255.0.0.0 + inet6 addr: ::1/128 Scope:Host + UP LOOPBACK RUNNING MTU:65536 Metric:1 + RX packets:0 errors:0 dropped:0 overruns:0 frame:0 + TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 + collisions:0 txqueuelen:1 + RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) + +p2p0 Link encap:Ethernet HWaddr 08:F9:56:88:5C:47 + BROADCAST MULTICAST MTU:1500 Metric:1 + RX packets:0 errors:0 dropped:0 overruns:0 frame:0 + TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 + collisions:0 txqueuelen:1000 + RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) + +sit0 Link encap:IPv6-in-IPv4 + NOARP MTU:1480 Metric:1 + RX packets:0 errors:0 dropped:0 overruns:0 frame:0 + TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 + collisions:0 txqueuelen:1 + RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) + +wlan0 Link encap:Ethernet HWaddr 08:F9:56:88:5C:46 + UP BROADCAST MULTICAST MTU:1500 Metric:1 + RX packets:0 errors:0 dropped:0 overruns:0 frame:0 + TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 + collisions:0 txqueuelen:1000 + RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) +``` + +2.开发板如下图所示接入天线 + +![YuzukiHD-Lizard-12-1-wifi](https://photos.100ask.net/dongshanpi-docs/YuzukiHD-Lizard/YuzukiHD-Lizard-12-1-wifi.png) + +3.扫描WiFi + +``` +root@TinaLinux:/# iw wlan0 scan | grep "SSID" + SSID: Programmers +``` + +4.填写WiFi密码 + +``` +root@TinaLinux:/# vim /etc/wpa_supplicant.conf +``` + +```shell +ctrl_interface=/var/log/wpa_supplicant +update_config=1 + +network={ + ssid="WiFi名" + psk="密码" +} + +示例: +ctrl_interface=/var/log/wpa_supplicant +update_config=1 + +network={ + ssid="test" + psk="12345678" +} +``` + +5.连接网络 + +连接前需要创建socket通信的目录 + +``` +root@TinaLinux:/# mkdir -p /var/log/wpa_supplicant +root@TinaLinux:/# wpa_supplicant -B -c /etc/wpa_supplicant.conf -i wlan0 +Successfully initialized wpa_supplicant +root@TinaLinux:/# udhcpc -i wlan0 +udhcpc: started, v1.27.2 +udhcpc: sending discover +udhcpc: sending select for 192.168.137.174 +udhcpc: lease of 192.168.137.174 obtained, lease time 604800 +udhcpc: ifconfig wlan0 192.168.137.174 netmask 255.255.255.0 broadcast + +udhcpc: setting default routers: 192.168.137.1 +root@TinaLinux:/# ping www.100ask.net +PING www.100ask.net (118.25.119.100): 56 data bytes +64 bytes from 118.25.119.100: seq=0 ttl=50 time=50.877 ms +64 bytes from 118.25.119.100: seq=1 ttl=50 time=90.278 ms +64 bytes from 118.25.119.100: seq=2 ttl=50 time=72.428 ms +``` + + + diff --git a/docs/TinyVision/part3/13-1_TinaSDK_SupportMIPICamera.md b/docs/TinyVision/part3/13-1_TinaSDK_SupportMIPICamera.md new file mode 100644 index 0000000..516ba65 --- /dev/null +++ b/docs/TinyVision/part3/13-1_TinaSDK_SupportMIPICamera.md @@ -0,0 +1,277 @@ +# 使用Tina-SDK支持MIPI摄像头 + +使用Tina-SDK生成的镜像已经默认装载了GC2053的MIPI摄像头驱动,可以通过如下命令查看 + +``` +root@TinaLinux:/# lsmod +Module Size Used by +vin_v4l2 156643 0 +gc2053_mipi 8567 0 +vin_io 21042 2 vin_v4l2,gc2053_mipi +videobuf2_v4l2 9304 1 vin_v4l2 +videobuf2_dma_contig 8734 1 vin_v4l2 +videobuf2_memops 948 1 videobuf2_dma_contig +videobuf2_core 21976 2 vin_v4l2,videobuf2_v4l2 +xradio_wlan 598 0 +xradio_core 430533 1 xradio_wlan +xradio_mac 221572 1 xradio_core +``` + + + +**断电**后,如下图所示将GC2053的MIPI摄像头连接到开发板上。注意一定需要断电后才能连接,否则会将摄像头烧坏。 + +![YuzukiHD-Lizard-13-1-camera.png](https://photos.100ask.net/dongshanpi-docs/YuzukiHD-Lizard/YuzukiHD-Lizard-13-1-camera.png) + + + +## 使用camerademo测试MIPI摄像头驱动 + +获取camerademo的帮助,用户可以根据自己的需求选择对应参数 + +``` +root@TinaLinux:/# camerademo -h +[CAMERA]********************************************************** +[CAMERA]* * +[CAMERA]* this is camera test. * +[CAMERA]* * +[CAMERA]********************************************************** +[CAMERA]******************** camerademo help ********************* +[CAMERA] This program is a test camera. +[CAMERA] It will query the sensor to support the resolution, output format and test frame rate. +[CAMERA] At the same time you can modify the data to save the path and get the number of photos. +[CAMERA] When the last parameter is debug, the output will be more detailed information +[CAMERA] There are eight ways to run: +[CAMERA] 1.camerademo --- use the default parameters. +[CAMERA] 2.camerademo debug --- use the default parameters and output debug information. +[CAMERA] 3.camerademo setting --- can choose the resolution and data format. +[CAMERA] 4.camerademo setting debug --- setting and output debug information. +[CAMERA] 5.camerademo NV21 640 480 30 bmp /tmp 5 --- param input mode,can save bmp or yuv. +[CAMERA] 6.camerademo NV21 640 480 30 bmp /tmp 5 debug --- output debug information. +[CAMERA] 7.camerademo NV21 640 480 30 bmp /tmp 5 Num --- /dev/videoNum param input mode,can save bmp or yuv. +[CAMERA] 8.camerademo NV21 640 480 30 bmp /tmp 5 Num debug --- /dev/videoNum output debug information. +[CAMERA] 8.camerademo NV21 640 480 30 bmp /tmp 5 Num 1 --- 1/2: chose memory: V4L2_MEMORY_MMAP/USERPTR +[CAMERA]********************************************************** +``` + +使用debug确定摄像头支持的参数配置 + +``` +root@TinaLinux:/# camerademo debug +[CAMERA]********************************************************** +[CAMERA]* * +[CAMERA]* this is camera test. * +[CAMERA]* * +[CAMERA]********************************************************** +[CAMERA]********************************************************** +[CAMERA] open /dev/video0! +[CAMERA]********************************************************** +[CAMERA_DEBUG] Querey device capabilities succeed +[CAMERA_DEBUG] cap.driver=sunxi-vin +[CAMERA_DEBUG] cap.card=sunxi-vin +[CAMERA_DEBUG] cap.bus_info= +[CAMERA_DEBUG] cap.version=0x00010000 +[CAMERA_DEBUG] cap.capabilities=0x85201000 +[CAMERA]********************************************************** +[CAMERA] The path to data saving is /tmp. +[CAMERA] The number of captured photos is 5. +[CAMERA] save bmp format +[CAMERA_DEBUG]******************[ 63.469141] [VIN_ERR]vin is not support this pixelformat +********************************[ 63.476141] [VIN_ERR]vin is not support this pixelformat +******** +[CAMERA_DEBUG] enumera[ 63.484878] [VIN_ERR]vin is not support this pixelformat +te image formats +[CAMERA_DEBUG][ 63.493711] [VIN_ERR]vin is not support this pixelformat + format index = 0, name = YUV422[ 63.502495] [VIN_ERR]vin is not support this pixelformat +P +[CAMERA_DEBUG] format index =[ 63.511287] [VIN_ERR]vin is not support this pixelformat + 1, name = NV16 +[CAMERA_DEBUG] [ 63.519961] [VIN_ERR]vin is not support this pixelformat +format index = 2, name = NV61 +[[ 63.528991] [VIN_ERR]vin is not support this pixelformat +CAMERA_DEBUG] format index = 3, [ 63.537520] [VIN_ERR]vin is not support this pixelformat +name = YUV420 +[CAMERA_DEBUG] fo[ 63.546341] [VIN_ERR]vin is not support this pixelformat +rmat index = 4, name = YVU420 +[[ 63.555148] [VIN_ERR]vin is not support this pixelformat +CAMERA_DEBUG] format index = 5, [ 63.564044] [VIN_ERR]vin is not support this pixelformat +name = NV12 +[CAMERA_DEBUG] format index = 6, name = NV21 +[CAMERA_DEBUG] format index = 7, name = BGGR8 +[CAMERA_DEBUG] format index = 8, name = GBRG8 +[CAMERA_DEBUG] format index = 9, name = GRBG8 +[CAMERA_DEBUG] format index = 10, name = RGGB8 +[CAMERA_DEBUG] format index = 11, name = BGGR10 +[CAMERA_DEBUG] format index = 12, name = GBRG10 +[CAMERA_DEBUG] format index = 13, name = GRBG10 +[CAMERA_DEBUG] format index = 14, name = RGGB10 +[CAMERA_DEBUG] format index = 15, name = BGGR12 +[CAMERA_DEBUG] format index = 16, name = GBRG12 +[CAMERA_DEBUG] format index = 17, name = GRBG12 +[CAMERA_DEBUG] format index = 18, name = RGGB12 +[CAMERA_DEBUG] format index = 19, name = YUYV +[CAMERA_DEBUG] format index = 20, name = UYVY +[CAMERA_DEBUG] format index = 21, name = VYUY +[CAMERA_DEBUG] format index = 22, name = YVYU +[CAMERA_DEBUG] format index = 23, name = YUYV +[CAMERA_DEBUG] format index = 24, name = UYVY +[CAMERA_DEBUG] format index = 25, name = VYUY +[CAMERA_DEBUG] format index = 26, name = YVYU +[CAMERA_DEBUG] format index = 27, name = UYVY +[CAMERA_DEBUG] format index = 28, name = VYUY +[CAMERA_DEBUG] format index = 29, name = YVYU +[CAMERA_DEBUG] format index = 30, name = YUYV +[CAMERA_DEBUG]********************************************************* +[CAMERA_DEBUG] The sensor supports the following formats : +[CAMERA_DEBUG] Index 0 : YUV422P. +[CAMERA_DEBUG] Index 1 : NV16. +[CAMERA_DEBUG] Index 2 : NV61. +[CAMERA_DEBUG] Index 3 : YUV420. +[CAMERA_DEBUG] Index 4 : YVU420. +[CAMERA_DEBUG] Index 5 : NV12. +[CAMERA_DEBUG] Index 6 : NV21. +[CAMERA_DEBUG] Index 7 : BGGR8. +[CAMERA_DEBUG] Index 8 : GBRG8. +[CAMERA_DEBUG] Index 9 : GRBG8. +[CAMERA_DEBUG] Index 10 : RGGB8. +[CAMERA_DEBUG] Index 11 : BGGR10. +[CAMERA_DEBUG] Index 12 : GBRG10. +[CAMERA_DEBUG] Index 13 : GRBG10. +[CAMERA_DEBUG] Index 14 : RGGB10. +[CAMERA_DEBUG] Index 15 : BGGR12. +[CAMERA_DEBUG] Index 16 : GBRG12. +[CAMERA_DEBUG] Index 17 : GRBG12. +[CAMERA_DEBUG] Index 18 : RGGB12. +[CAMERA_DEBUG] Index 19 : YUYV. +[CAMERA_DEBUG] Index 20 : UYVY. +[CAMERA_DEBUG] Index 21 : VYUY. +[CAMERA_DEBUG] Index 22 : YVYU. +[CAMERA_DEBUG] Index 23 : YUYV. +[CAMERA_DEBUG] Index 24 : UYVY. +[CAMERA_DEBUG] Index 25 : VYUY. +[CAMERA_DEBUG] Index 26 : YVYU. +[CAMERA_DEBUG] Index 27 : UYVY. +[CAMERA_DEBUG] Index 28 : VYUY. +[CAMERA_DEBUG] Index 29 : YVYU. +[CAMERA_DEBUG] Index 30 : YUYV. +[CAMERA_DEBUG]********************************************************** +[CAMERA_DEBUG] The YUV422P supports the following resolutions: +[CAMERA_DEBUG] Index 0 : 1920 * 1088 +[CAMERA_DEBUG] Index 1 : 1920 * 1088 +[CAMERA_DEBUG] Index 2 : 1920 * 1088 +[CAMERA_DEBUG]********************************************************** +[CAMERA_DEBUG] The NV16 supports the following resolutions: +[CAMERA_DEBUG] Index 0 : 1920 * 1088 +[CAMERA_DEBUG] Index 1 : 1920 * 1088 +[CAMERA_DEBUG] Index 2 : 1920 * 1088 +[CAMERA_DEBUG]********************************************************** +[CAMERA_DEBUG] The NV61 supports the following resolutions: +[CAMERA_DEBUG] Index 0 : 1920 * 1088 +[CAMERA_DEBUG] Index 1 : 1920 * 1088 +[CAMERA_DEBUG] Index 2 : 1920 * 1088 +[CAMERA_DEBUG]********************************************************** +[CAMERA_DEBUG] The YUV420 supports the following resolutions: +[CAMERA_DEBUG] Index 0 : 1920 * 1088 +[CAMERA_DEBUG] Index 1 : 1920 * 1088 +[CAMERA_DEBUG] Index 2 : 1920 * 1088 +[CAMERA_DEBUG]********************************************************** +[CAMERA_DEBUG] The YVU420 supports the following resolutions: +[CAMERA_DEBUG] Index 0 : 1920 * 1088 +[CAMERA_DEBUG] Index 1 : 1920 * 1088 +[CAMERA_DEBUG] Index 2 : 1920 * 1088 +[CAMERA_DEBUG]********************************************************** +[CAMERA_DEBUG] The NV12 supports the following resolutions: +[CAMERA_DEBUG] Index 0 : 1920 * 1088 +[CAMERA_DEBUG] Index 1 : 1920 * 1088 +[CAMERA_DEBUG] Index 2 : 1920 * 1088 +[CAMERA_DEBUG]********************************************************** +[CAMERA_DEBUG] The NV21 supports the following resolutions: +[CAMERA_DEBUG] Index 0 : 1920 * 1088 +[CAMERA_DEBUG] Index 1 : 1920 * 1088 +[CAMERA_DEBUG] Index 2 : 1920 * 1088 +[CAMERA_DEBUG]********************************************************** +``` + +挂载TF卡分区 + +``` +root@TinaLinux:/# df -h +Filesystem Size Used Available Use% Mounted on +/dev/root 16.8M 16.8M 0 100% /rom +devtmpfs 26.0M 0 26.0M 0% /dev +tmpfs 27.2M 0 27.2M 0% /tmp +/dev/by-name/rootfs_data + 43.5M 136.0K 41.1M 0% /overlay +overlayfs:/overlay 43.5M 136.0K 41.1M 0% / +tmpfs 27.2M 0 27.2M 0% /run +/dev/ubi0_6 29.9M 24.0K 28.3M 0% /mnt/UDISK +/dev/mmcblk0p1 3.7G 128.0K 3.7G 0% /mnt/extsd +root@TinaLinux:/# mount /dev/mmcblk0p1 /mnt/ +``` + + + +使用GC2053所支持的参数拍摄五张照片,并存放到TF卡分区/mnt目录下 + +``` +root@TinaLinux:/# camerademo NV21 1920 1088 30 bmp /mnt 5 +[CAMERA]********************************************************** +[CAMERA]* * +[CAMERA]* this is camera test. * +[CAMERA]* * +[CAMERA]********************************************************** +[CAMERA]********************************************************** +[CAMERA] open /dev/video0! +[CAMERA]********************************************************** +[CAMERA]********************************************************** +[CAMERA] The path to data saving is /mnt. +[CAMERA] The number of captured photos is 5. +[CAMERA] save bmp format +[ 81.016864] [VIN_ERR]vin is not support this pixelformat +[ 81.023161] [VIN_ERR]vin is not support this pixelformat +[ 81.029406] [VIN_ERR]vin is not support this pixelformat +[ 81.035712] [VIN_ERR]vin is not support this pixelformat +[ 81.041841] [VIN_ERR]vin is not support this pixelformat +[ 81.048112] [VIN_ERR]vin is not support this pixelformat +[ 81.054244] [VIN_ERR]vin is not support this pixelformat +[ 81.060641] [VIN_ERR]vin is not support this pixelformat +[ 81.066969] [VIN_ERR]vin is not support this pixelformat +[ 81.073229] [VIN_ERR]vin is not support this pixelformat +[ 81.079441] [VIN_ERR]vin is not support this pixelformat +[ 81.085738] [VIN_ERR]vin is not support this pixelformat +[CAMERA]********************************************************** +[CAMERA] Using format parameters NV21. +[CAMERA] camera pixelformat: NV21 +[CAMERA] Resolution size : 1920 * 1088 +[CAMERA] The photo save path is /mnt. +[CAMERA] The number of photos taken is 5. +begin ion_alloc_open +pid: 992, g_alloc_context = 0xb6f28f70 +[CAMERA] Camera capture framerate is 20/1 +[CAMERA] VIDIOC_S_FMT succeed +[CAMERA] fmt.type = 9 +[CAMERA] fmt.fmt.pix_mp.width = 1920 +[CAMERA] fmt.fmt.pix_mp.height = 1088 +[CAMERA] fmt.fmt.pix_mp.pixelformat = NV21 +[CAMERA] fmt.fmt.pix_mp.field = 1 +[CAMERA] stream on succeed +[CAMERA] camera0 capture num is [0] +[CAMERA_PROMPT] the time interval from the start to the first frame is 178 ms +[CAMERA] camera0 capture num is [1] +[CAMERA] camera0 capture num is [2] +[CAMERA] camera0 capture num is [3] +[CAMERA] camera0 capture num is [4] +[CAMERA] Capture thread finish +[CAMERA] close /dev/video0 +ion_alloc_close +pid: 992, release g_alloc_context = 0xb6f28f70 +``` + +拍摄完成后,使用下面命令卸载分区,取下TF卡,使用读卡器即可在电脑端查看使用MIPI摄像头拍摄的照片 + +``` +root@TinaLinux:/# umount /mnt/ +``` + + + diff --git a/docs/TinyVision/part3/_category_.json b/docs/TinyVision/part3/_category_.json new file mode 100644 index 0000000..29fe5e6 --- /dev/null +++ b/docs/TinyVision/part3/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "Tina-SDK开发", + "position": 5, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/TinyVision/part4/01-QuickStart.md b/docs/TinyVision/part4/01-QuickStart.md new file mode 100644 index 0000000..b36fda9 --- /dev/null +++ b/docs/TinyVision/part4/01-QuickStart.md @@ -0,0 +1,46 @@ +--- +sidebar_position: 2 +--- + +# 获取并编译buildroot +## 获取源码 +- BaiduYUN 链接:https://pan.baidu.com/s/19QFDR_ssy6SJeRMzm5lVDw?pwd=b4nh 提取码:b4nh +- Github仓库: https://github.com/DongshanPI/buildroot-external-tinyvision + + +## 解压配置 + +``` shell +ubuntu@ubuntu1804:~$ cd buildroot-2023.02.8/ +ubuntu@ubuntu1804:~/buildroot-2023.02.8$ ls +arch boot Config.in configs DEVELOPERS docs linux Makefile.legacy package support toolchain +board CHANGES Config.in.legacy COPYING dl fs Makefile output README system utils +ubuntu@ubuntu1804:~/buildroot-2023.02.8$ ls configs/tinyvision_defconfig +configs/tinyvision_defconfig +ubuntu@ubuntu1804:~/buildroot-2023.02.8$ +``` + +## 编译 + +``` shell +ubuntu@ubuntu1804:~/buildroot-2023.02.8$ make tinyvision_defconfig +# +# configuration written to /home/ubuntu/buildroot-2023.02.8/.config +# +ubuntu@ubuntu1804:~/buildroot-2023.02.8$ make +/usr/bin/make -j1 O=/home/ubuntu/buildroot-2023.02.8/output HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig + +``` + +注意: 不要使用 make clean命令 清理仓库。 + +## 烧写 + +``` shell +ubuntu@ubuntu1804:~/buildroot-2023.02.8$ ls output/images/ +boot.vfat rootfs.ext4 sun8i-v851se-tinyvision.dtb sunxi.dtb tinyvision_sdcard.img +rootfs.ext2 rootfs.tar sun8i-v851s-tinyvision.dtb syter_boot_bin.bin zImage +ubuntu@ubuntu1804:~/buildroot-2023.02.8$ +``` + +系统编译完成后,镜像输出在 `output/images/` 目录下,名称为 `tinyvision_sdcard.img` 使用 dd if 命令 完整写入sd卡设备,或者 使用 wind32diskimage工具。 或者使用 balenaEtcher 等 进行烧录。 \ No newline at end of file diff --git a/docs/TinyVision/part4/_category_.json b/docs/TinyVision/part4/_category_.json new file mode 100644 index 0000000..2c85ccd --- /dev/null +++ b/docs/TinyVision/part4/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "主线Buildroot开发", + "position": 6, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/TinyVision/part5/01-QuickStart.md b/docs/TinyVision/part5/01-QuickStart.md new file mode 100644 index 0000000..a5fc559 --- /dev/null +++ b/docs/TinyVision/part5/01-QuickStart.md @@ -0,0 +1,96 @@ +--- +sidebar_position: 1 +--- + +# 获取并编译openwrt + + +* 源码存放在百度网盘: https://pan.baidu.com/s/1a0uS7kqXiEdKFFgIJ3HF5g?pwd=qm83 提取码:qm83 +* git仓库位置 https://github.com/YuzukiHD/OpenWrt/ + +## 编译 + +获取镜像后,进行解压缩,建议使用百度网盘版本,因为网络问题,可能导致某些软件包无法正常下载,编译报错。 + +解压压缩包后,执行 make menuconfig 进入到配置界面, +```shell +ubuntu@ubuntu1804:~/OpenWrt$ make menuconfig + +``` +参考下图红框所示,三个选项选中 为 TinyVision开发板,保证一模一样。 +![image-20231216174136154](https://photos.100ask.net/dongshanpi/TinyVision/Openwrt-config.jpg) +选中完成后,保存退出,继续执行make 命令即可开始编译。 + +```shell +ubuntu@ubuntu1804:~/OpenWrt$ make + +``` +如果你不想使用压缩包,而是从头获取源码,需要在 make menuconfig选中开发板之前 执行 ` ./scripts/feeds update -a ` 命令检查远端仓库和本地仓库的差异进行更新,之后执行 `./scripts/feeds install -a` 来安装远端更新。 + +```shell +ubuntu@ubuntu1804:~/OpenWrt$ ./scripts/feeds update -a +Updating feed 'packages' from 'https://github.com/openwrt/packages.git;openwrt-23.05' ... +remote: Enumerating objects: 101, done. +remote: Counting objects: 100% (101/101), done. +remote: Compressing objects: 100% (44/44), done. +remote: Total 68 (delta 44), reused 45 (delta 21), pack-reused 0 +Unpacking objects: 100% (68/68), done. +From https://github.com/openwrt/packages + 421e2c75a..d26bbd792 openwrt-23.05 -> origin/openwrt-23.05 +Updating 421e2c75a..d26bbd792 +Fast-forward + admin/btop/Makefile | 7 ++++--- + lang/rust/Makefile | 4 ++-- + lang/rust/patches/0001-Update-xz2-and-use-it-static.patch | 14 +++++++------- + lang/rust/patches/0002-rustc-bootstrap-cache.patch | 10 +++++----- + lang/rust/patches/0003-bump-libc-deps-to-0.2.146.patch | 28 ---------------------------- + lang/rust/rust-values.mk | 6 ++++++ + net/adblock-fast/Makefile | 2 +- + net/adblock-fast/files/etc/init.d/adblock-fast | 2 +- + net/dnsproxy/Makefile | 4 ++-- + net/sing-box/Makefile | 9 ++------- + net/travelmate/Makefile | 2 +- + net/travelmate/files/travelmate.sh | 12 +++++++++++- + net/uspot/Makefile | 10 ++++++---- + net/v2ray-geodata/Makefile | 12 ++++++------ + net/v2raya/Makefile | 6 +++--- + 15 files changed, 57 insertions(+), 71 deletions(-) +Updating feed 'luci' from 'https://github.com/openwrt/luci.git;openwrt-23.05' ... +remote: Enumerating objects: 49, done. +remote: Counting objects: 100% (49/49), done. +remote: Compressing objects: 100% (18/18), done. +remote: Total 31 (delta 12), reused 25 (delta 6), pack-reused 0 +Unpacking objects: 100% (31/31), done. +From https://github.com/openwrt/luci + 11a1a43..fa4b280 openwrt-23.05 -> origin/openwrt-23.05 +Updating 11a1a43..fa4b280 +Fast-forward + applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js | 3 +++ + applications/luci-app-https-dns-proxy/Makefile | 2 +- + applications/luci-app-https-dns-proxy/htdocs/luci-static/resources/view/https-dns-proxy/overview.js | 8 ++++---- + themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css | 13 +++++++++++++ + 4 files changed, 21 insertions(+), 5 deletions(-) +Updating feed 'routing' from 'https://github.com/openwrt/routing.git;openwrt-23.05' ... +Already up to date. +Updating feed 'telephony' from 'https://github.com/openwrt/telephony.git;openwrt-23.05' ... +Already up to date. +Create index file './feeds/packages.index' +Collecting package info: done +Create index file './feeds/luci.index' +Collecting package info: done +Create index file './feeds/routing.index' +Create index file './feeds/telephony.index' +ubuntu@ubuntu1804:~/Downloads/TinyVision/OpenWrt$ ./scripts/feeds install -a +Installing all packages from feed packages. +Installing all packages from feed luci. +Installing all packages from feed routing. +Installing all packages from feed telephony. +ubuntu@ubuntu1804:~/OpenWrt$ + +``` + + + +## 烧写镜像 + +系统编译完成后,镜像输出在 build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/linux-yuzukihd_v851se/tmp/ 目录下,名称为 `openwrt-yuzukihd-v851se-yuzuki_tinyvision-squashfs-sysupgrade.img.gz` 需要先使用 tar -xvf 进行解压缩,之后 使用 dd if 命令 完整写入sd卡设备,或者 使用 wind32diskimage工具。 或者使用 balenaEtcher 等 进行烧录。 \ No newline at end of file diff --git a/docs/TinyVision/part5/_category_.json b/docs/TinyVision/part5/_category_.json new file mode 100644 index 0000000..a502239 --- /dev/null +++ b/docs/TinyVision/part5/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "主线Openwrt开发", + "position": 7, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/TinyVision/part6/01-Helloword.md b/docs/TinyVision/part6/01-Helloword.md new file mode 100644 index 0000000..a825fe3 --- /dev/null +++ b/docs/TinyVision/part6/01-Helloword.md @@ -0,0 +1,5 @@ +--- +sidebar_position: 2 +--- +# Hello Word示例 + diff --git a/docs/TinyVision/part6/02-Initdram.md b/docs/TinyVision/part6/02-Initdram.md new file mode 100644 index 0000000..56e62b4 --- /dev/null +++ b/docs/TinyVision/part6/02-Initdram.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# Init DRAM示例 diff --git a/docs/TinyVision/part6/03-syter_amp.md b/docs/TinyVision/part6/03-syter_amp.md new file mode 100644 index 0000000..02f98f3 --- /dev/null +++ b/docs/TinyVision/part6/03-syter_amp.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# Syter AMP示例 diff --git a/docs/TinyVision/part6/04-read_chip_efuse.md b/docs/TinyVision/part6/04-read_chip_efuse.md new file mode 100644 index 0000000..b03c963 --- /dev/null +++ b/docs/TinyVision/part6/04-read_chip_efuse.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# read chip efuse示例 diff --git a/docs/TinyVision/part6/05-read_chipsid.md b/docs/TinyVision/part6/05-read_chipsid.md new file mode 100644 index 0000000..bdcf937 --- /dev/null +++ b/docs/TinyVision/part6/05-read_chipsid.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# read chips id示例 diff --git a/docs/TinyVision/part6/06-I2c-Test.md b/docs/TinyVision/part6/06-I2c-Test.md new file mode 100644 index 0000000..21cb393 --- /dev/null +++ b/docs/TinyVision/part6/06-I2c-Test.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# I2c协议测试 diff --git a/docs/TinyVision/part6/07-I2c-Oled.md b/docs/TinyVision/part6/07-I2c-Oled.md new file mode 100644 index 0000000..c0f7a96 --- /dev/null +++ b/docs/TinyVision/part6/07-I2c-Oled.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# I2c OLED屏示例 diff --git a/docs/TinyVision/part6/08-Spi-Lcd.md b/docs/TinyVision/part6/08-Spi-Lcd.md new file mode 100644 index 0000000..f7ad70e --- /dev/null +++ b/docs/TinyVision/part6/08-Spi-Lcd.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# SPI LCD屏示例 \ No newline at end of file diff --git a/docs/TinyVision/part6/09-Load-E907.md b/docs/TinyVision/part6/09-Load-E907.md new file mode 100644 index 0000000..1be4485 --- /dev/null +++ b/docs/TinyVision/part6/09-Load-E907.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# 运行E907小核 diff --git a/docs/TinyVision/part6/10-SyterBoot-Spi.md b/docs/TinyVision/part6/10-SyterBoot-Spi.md new file mode 100644 index 0000000..ec214b0 --- /dev/null +++ b/docs/TinyVision/part6/10-SyterBoot-Spi.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# SPI启动 diff --git a/docs/TinyVision/part6/12-SyterBoot.md b/docs/TinyVision/part6/12-SyterBoot.md new file mode 100644 index 0000000..832e3eb --- /dev/null +++ b/docs/TinyVision/part6/12-SyterBoot.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# Syter启动系统 diff --git a/docs/TinyVision/part6/13-Cli_test.md b/docs/TinyVision/part6/13-Cli_test.md new file mode 100644 index 0000000..786f194 --- /dev/null +++ b/docs/TinyVision/part6/13-Cli_test.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# CLI命令行 diff --git a/docs/TinyVision/part6/14-Fdt_cli.md b/docs/TinyVision/part6/14-Fdt_cli.md new file mode 100644 index 0000000..11d030a --- /dev/null +++ b/docs/TinyVision/part6/14-Fdt_cli.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# CLI使用FDT diff --git a/docs/TinyVision/part6/15-SyterBootargs.md b/docs/TinyVision/part6/15-SyterBootargs.md new file mode 100644 index 0000000..fdb23f2 --- /dev/null +++ b/docs/TinyVision/part6/15-SyterBootargs.md @@ -0,0 +1,4 @@ +--- +sidebar_position: 3 +--- +# Syter修改Bootargs diff --git a/docs/TinyVision/part6/_category_.json b/docs/TinyVision/part6/_category_.json new file mode 100644 index 0000000..bb7f889 --- /dev/null +++ b/docs/TinyVision/part6/_category_.json @@ -0,0 +1,8 @@ +{ + "label": "SysterKit开发", + "position":8, + "link": { + "type": "generated-index", + "description": "5 minutes to learn the most important Docusaurus concepts." + } +} diff --git a/docs/intro.md b/docs/intro.md new file mode 100644 index 0000000..8d4224e --- /dev/null +++ b/docs/intro.md @@ -0,0 +1,8 @@ +--- +sidebar_position: 1 +--- + +# DongshanPI + + **从DongshanPI开启您的嵌入式之旅**. + diff --git a/docusaurus.config.js b/docusaurus.config.js new file mode 100644 index 0000000..88a52db --- /dev/null +++ b/docusaurus.config.js @@ -0,0 +1,212 @@ +// @ts-check +// `@type` JSDoc annotations allow editor autocompletion and type checking +// (when paired with `@ts-check`). +// There are various equivalent ways to declare your Docusaurus config. +// See: https://docusaurus.io/docs/api/docusaurus-config + +import {themes as prismThemes} from 'prism-react-renderer'; + +/** @type {import('@docusaurus/types').Config} */ +const config = { + title: '东山Π', + tagline: 'DshanPI Linux Boards Docs.', + favicon: 'img/favicon.ico', + + // Set the production url of your site here + url: 'https://dongshanpi.100ask.net', + // Set the // pathname under which your site is served + // For GitHub pages deployment, it is often '//' + baseUrl: '/', + + // GitHub pages deployment config. + // If you aren't using GitHub pages, you don't need these. + organizationName: '100askTeam', // Usually your GitHub org/user name. + projectName: 'linuxboard-docs', // Usually your repo name. + + onBrokenLinks: 'warn', + onBrokenMarkdownLinks: 'warn', + + // Even if you don't use internationalization, you can use this field to set + // useful metadata like html lang. For example, if your site is Chinese, you + // may want to replace "en" with "zh-Hans". + i18n: { + defaultLocale: 'zh-Hans', + locales: ['zh-Hans', 'en'], + }, + + presets: [ + [ + 'classic', + /** @type {import('@docusaurus/preset-classic').Options} */ + ({ + docs: { + sidebarPath: './sidebars.js', + // Please change this to your repo. + // Remove this to remove the "edit this page" links. + editUrl: + 'https://github.com/100askTeam/linuxboard-docs/tree/main/', + }, + blog: { + showReadingTime: true, + // Please change this to your repo. + // Remove this to remove the "edit this page" links. + editUrl: + 'https://github.com/100askTeam/linuxboard-docs/tree/main/', + }, + theme: { + customCss: './src/css/custom.css', + }, + }), + ], + ], + + themeConfig: + /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ + ({ + // Replace with your project's social card + image: 'img/docusaurus-social-card.jpg', + navbar: { + title: '东山Π', + logo: { + alt: '东山PI', + src: 'img/logo.svg', + }, + items: [ + { + type: 'docSidebar', + sidebarId: 't113s3Sidebar', + position: 'left', + label: 'T113s3-Industrial', + }, + { + type: 'docSidebar', + sidebarId: 'v851seSidebar', + position: 'left', + label: 'TinyVision', + }, + { + type: 'docSidebar', + sidebarId: 'd1hdSidebar', + position: 'left', + label: 'D1h-DualDisplay', + }, + { + type: 'docSidebar', + sidebarId: 'd213dkSidebar', + position: 'left', + label: 'D213-DevKit', + }, + { + type: 'docSidebar', + sidebarId: 'mp135dkSidebar', + position: 'left', + label: 'MP135-DevKit', + }, + { + type: 'docSidebar', + sidebarId: 'd1scvbsSidebar', + position: 'left', + label: 'D1s-CVBS', + }, + { + type: 'docSidebar', + sidebarId: 't113iSidebar', + position: 'left', + label: 'T113i-Industrial', + }, + { + type: 'localeDropdown', + position: 'right', + }, + { + href: 'https://github.com/100askTeam/linuxboard-docs', + label: 'GitHub', + position: 'right', + }, + ], + }, + footer: { + style: 'dark', + links: [ + { + title: 'Docs', + items: [ + { + label: 'DongshanPI', + href: 'https://dongshanpi.com', + }, + { + label: 'Canaan-Docs', + href: 'https://canaan-docs.100ask.net/', + }, + { + label: 'Renesas-Docs', + href: 'https://renesas-docs.100ask.net/', + }, + { + label: 'RTOS', + href: 'https://rtos.100ask.net/', + }, + { + label: 'TinaSDK-Docs', + href: 'https://tina.100ask.net/', + }, + { + label: 'Allwinner-Docs', + href: 'https://allwinner-docs.100ask.net/', + }, + { + label: 'R128-Docs', + href: 'https://aw-r128.100ask.net/', + }, + ], + }, + { + title: 'Community', + items: [ + { + label: 'BiliBili', + href: 'https://space.bilibili.com/275908810', + }, + { + label: 'Stack Overflow', + href: 'https://forums.100ask.net', + }, + { + label: 'VideoCenter', + href: 'https://video.100ask.net/', + }, + { + label: 'Twitter', + href: 'https://twitter.com/dongshanpi', + }, + ], + }, + { + title: 'More', + items: [ + { + label: 'Coding', + href: 'https://weidongshan.coding.net/public/', + }, + { + label: 'GitHub', + href: 'https://github.com/100askTeam', + }, + { + label: 'Gitee', + href: 'https://gitee.com/weidongshan', + }, + ], + }, + ], + copyright: `Copyright © ${new Date().getFullYear()} 100askTeam, Inc. Built with Docusaurus.`, + }, + prism: { + theme: prismThemes.github, + darkTheme: prismThemes.dracula, + }, + }), +}; + +export default config; diff --git a/package.json b/package.json new file mode 100644 index 0000000..e381230 --- /dev/null +++ b/package.json @@ -0,0 +1,44 @@ +{ + "name": "my-website", + "version": "0.0.0", + "private": true, + "scripts": { + "docusaurus": "docusaurus", + "start": "docusaurus start", + "build": "docusaurus build", + "swizzle": "docusaurus swizzle", + "deploy": "docusaurus deploy", + "clear": "docusaurus clear", + "serve": "docusaurus serve", + "write-translations": "docusaurus write-translations", + "write-heading-ids": "docusaurus write-heading-ids" + }, + "dependencies": { + "@docusaurus/core": "3.0.1", + "@docusaurus/preset-classic": "3.0.1", + "@mdx-js/react": "^3.0.0", + "clsx": "^2.0.0", + "prism-react-renderer": "^2.3.0", + "react": "^18.0.0", + "react-dom": "^18.0.0" + }, + "devDependencies": { + "@docusaurus/module-type-aliases": "3.0.1", + "@docusaurus/types": "3.0.1" + }, + "browserslist": { + "production": [ + ">0.5%", + "not dead", + "not op_mini all" + ], + "development": [ + "last 3 chrome version", + "last 3 firefox version", + "last 5 safari version" + ] + }, + "engines": { + "node": ">=18.0" + } +} diff --git a/sidebars.js b/sidebars.js new file mode 100644 index 0000000..ffd775d --- /dev/null +++ b/sidebars.js @@ -0,0 +1,27 @@ +/** + * Creating a sidebar enables you to: + - create an ordered group of docs + - render a sidebar for each doc of that group + - provide next/previous navigation + + The sidebars can be generated from the filesystem, or explicitly defined here. + + Create as many sidebars as you want. + */ + +// @ts-check + +/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ +const sidebars = { + // By default, Docusaurus generates a sidebar from the docs folder structure + t113s3Sidebar: [{type: 'autogenerated', dirName: 'T113s3-Industrial'}], + v851seSidebar: [{type: 'autogenerated', dirName: 'TinyVision'}], + d1hdSidebar: [{type: 'autogenerated', dirName: 'D1h-DualDisplay'}], + d213dkSidebar: [{type: 'autogenerated', dirName: 'D213-DevKit'}], + mp135dkSidebar: [{type: 'autogenerated', dirName: 'MP135-DevKit'}], + d1scvbsSidebar: [{type: 'autogenerated', dirName: 'D1s-CVBS'}], + t113iSidebar: [{type: 'autogenerated', dirName: 'T113i-Industrial'}], + +}; + +export default sidebars; diff --git a/src/components/HomepageFeatures/index.js b/src/components/HomepageFeatures/index.js new file mode 100644 index 0000000..6800aee --- /dev/null +++ b/src/components/HomepageFeatures/index.js @@ -0,0 +1,61 @@ +import clsx from 'clsx'; +import Heading from '@theme/Heading'; +import styles from './styles.module.css'; + +const FeatureList = [ + { + title: '全开源', + Svg: require('@site/static/img/undraw_docusaurus_mountain.svg').default, + description: ( + <> + 在线文档更倾向于入门,对于深入部分我们会根据SOC特性设计专门对应的底板出相关的深入课程. + + ), + }, + { + title: '低价格', + Svg: require('@site/static/img/undraw_docusaurus_tree.svg').default, + description: ( + <> + 东山Pi系列开发是深圳百问网公司为想学习嵌入式Linux开发同学专门设计定做的低价超高性价比开发板. + + ), + }, + { + title: '多文档', + Svg: require('@site/static/img/undraw_docusaurus_react.svg').default, + description: ( + <> + 丰富的源码使用文档,帮助您更快的上手使用. + + ), + }, +]; + +function Feature({Svg, title, description}) { + return ( +
+
+ +
+
+ {title} +

{description}

+
+
+ ); +} + +export default function HomepageFeatures() { + return ( +
+
+
+ {FeatureList.map((props, idx) => ( + + ))} +
+
+
+ ); +} diff --git a/src/components/HomepageFeatures/styles.module.css b/src/components/HomepageFeatures/styles.module.css new file mode 100644 index 0000000..b248eb2 --- /dev/null +++ b/src/components/HomepageFeatures/styles.module.css @@ -0,0 +1,11 @@ +.features { + display: flex; + align-items: center; + padding: 2rem 0; + width: 100%; +} + +.featureSvg { + height: 200px; + width: 200px; +} diff --git a/src/css/custom.css b/src/css/custom.css new file mode 100644 index 0000000..2bc6a4c --- /dev/null +++ b/src/css/custom.css @@ -0,0 +1,30 @@ +/** + * Any CSS included here will be global. The classic template + * bundles Infima by default. Infima is a CSS framework designed to + * work well for content-centric websites. + */ + +/* You can override the default Infima variables here. */ +:root { + --ifm-color-primary: #2e8555; + --ifm-color-primary-dark: #29784c; + --ifm-color-primary-darker: #277148; + --ifm-color-primary-darkest: #205d3b; + --ifm-color-primary-light: #33925d; + --ifm-color-primary-lighter: #359962; + --ifm-color-primary-lightest: #3cad6e; + --ifm-code-font-size: 95%; + --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1); +} + +/* For readability concerns, you should choose a lighter palette in dark mode. */ +[data-theme='dark'] { + --ifm-color-primary: #25c2a0; + --ifm-color-primary-dark: #21af90; + --ifm-color-primary-darker: #1fa588; + --ifm-color-primary-darkest: #1a8870; + --ifm-color-primary-light: #29d5b0; + --ifm-color-primary-lighter: #32d8b4; + --ifm-color-primary-lightest: #4fddbf; + --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3); +} diff --git a/src/pages/index.js b/src/pages/index.js new file mode 100644 index 0000000..de1b66e --- /dev/null +++ b/src/pages/index.js @@ -0,0 +1,43 @@ +import clsx from 'clsx'; +import Link from '@docusaurus/Link'; +import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; +import Layout from '@theme/Layout'; +import HomepageFeatures from '@site/src/components/HomepageFeatures'; + +import Heading from '@theme/Heading'; +import styles from './index.module.css'; + +function HomepageHeader() { + const {siteConfig} = useDocusaurusContext(); + return ( +
+
+ + {siteConfig.title} + +

{siteConfig.tagline}

+
+ + 开启您的嵌入式开发之旅 🚆 + +
+
+
+ ); +} + +export default function Home() { + const {siteConfig} = useDocusaurusContext(); + return ( + + +
+ +
+
+ ); +} diff --git a/src/pages/index.module.css b/src/pages/index.module.css new file mode 100644 index 0000000..9f71a5d --- /dev/null +++ b/src/pages/index.module.css @@ -0,0 +1,23 @@ +/** + * CSS files with the .module.css suffix will be treated as CSS modules + * and scoped locally. + */ + +.heroBanner { + padding: 4rem 0; + text-align: center; + position: relative; + overflow: hidden; +} + +@media screen and (max-width: 996px) { + .heroBanner { + padding: 2rem; + } +} + +.buttons { + display: flex; + align-items: center; + justify-content: center; +} diff --git a/src/pages/markdown-page.md b/src/pages/markdown-page.md new file mode 100644 index 0000000..9756c5b --- /dev/null +++ b/src/pages/markdown-page.md @@ -0,0 +1,7 @@ +--- +title: Markdown page example +--- + +# Markdown page example + +You don't need React to write simple standalone pages. diff --git a/static/.nojekyll b/static/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/static/img/favicon.ico b/static/img/favicon.ico new file mode 100644 index 0000000..6eec5ff Binary files /dev/null and b/static/img/favicon.ico differ diff --git a/static/img/logo.svg b/static/img/logo.svg new file mode 100644 index 0000000..acc1673 --- /dev/null +++ b/static/img/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/static/img/undraw_docusaurus_mountain.svg b/static/img/undraw_docusaurus_mountain.svg new file mode 100644 index 0000000..af961c4 --- /dev/null +++ b/static/img/undraw_docusaurus_mountain.svg @@ -0,0 +1,171 @@ + + Easy to Use + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/img/undraw_docusaurus_react.svg b/static/img/undraw_docusaurus_react.svg new file mode 100644 index 0000000..94b5cf0 --- /dev/null +++ b/static/img/undraw_docusaurus_react.svg @@ -0,0 +1,170 @@ + + Powered by React + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/img/undraw_docusaurus_tree.svg b/static/img/undraw_docusaurus_tree.svg new file mode 100644 index 0000000..d9161d3 --- /dev/null +++ b/static/img/undraw_docusaurus_tree.svg @@ -0,0 +1,40 @@ + + Focus on What Matters + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..8c7945c --- /dev/null +++ b/yarn.lock @@ -0,0 +1,8355 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@algolia/autocomplete-core@1.9.3": + version "1.9.3" + resolved "https://registry.npmmirror.com/@algolia/autocomplete-core/-/autocomplete-core-1.9.3.tgz#1d56482a768c33aae0868c8533049e02e8961be7" + integrity sha512-009HdfugtGCdC4JdXUbVJClA0q0zh24yyePn+KUGk3rP7j8FEe/m5Yo/z65gn6nP/cM39PxpzqKrL7A6fP6PPw== + dependencies: + "@algolia/autocomplete-plugin-algolia-insights" "1.9.3" + "@algolia/autocomplete-shared" "1.9.3" + +"@algolia/autocomplete-plugin-algolia-insights@1.9.3": + version "1.9.3" + resolved "https://registry.npmmirror.com/@algolia/autocomplete-plugin-algolia-insights/-/autocomplete-plugin-algolia-insights-1.9.3.tgz#9b7f8641052c8ead6d66c1623d444cbe19dde587" + integrity sha512-a/yTUkcO/Vyy+JffmAnTWbr4/90cLzw+CC3bRbhnULr/EM0fGNvM13oQQ14f2moLMcVDyAx/leczLlAOovhSZg== + dependencies: + "@algolia/autocomplete-shared" "1.9.3" + +"@algolia/autocomplete-preset-algolia@1.9.3": + version "1.9.3" + resolved "https://registry.npmmirror.com/@algolia/autocomplete-preset-algolia/-/autocomplete-preset-algolia-1.9.3.tgz#64cca4a4304cfcad2cf730e83067e0c1b2f485da" + integrity sha512-d4qlt6YmrLMYy95n5TB52wtNDr6EgAIPH81dvvvW8UmuWRgxEtY0NJiPwl/h95JtG2vmRM804M0DSwMCNZlzRA== + dependencies: + "@algolia/autocomplete-shared" "1.9.3" + +"@algolia/autocomplete-shared@1.9.3": + version "1.9.3" + resolved "https://registry.npmmirror.com/@algolia/autocomplete-shared/-/autocomplete-shared-1.9.3.tgz#2e22e830d36f0a9cf2c0ccd3c7f6d59435b77dfa" + integrity sha512-Wnm9E4Ye6Rl6sTTqjoymD+l8DjSTHsHboVRYrKgEt8Q7UHm9nYbqhN/i0fhUYA3OAEH7WA8x3jfpnmJm3rKvaQ== + +"@algolia/cache-browser-local-storage@4.22.0": + version "4.22.0" + resolved "https://registry.npmmirror.com/@algolia/cache-browser-local-storage/-/cache-browser-local-storage-4.22.0.tgz#548e3f9524988bbe0c14b7fc7b2a66335520eeb7" + integrity sha512-uZ1uZMLDZb4qODLfTSNHxSi4fH9RdrQf7DXEzW01dS8XK7QFtFh29N5NGKa9S+Yudf1vUMIF+/RiL4i/J0pWlQ== + dependencies: + "@algolia/cache-common" "4.22.0" + +"@algolia/cache-common@4.22.0": + version "4.22.0" + resolved "https://registry.npmmirror.com/@algolia/cache-common/-/cache-common-4.22.0.tgz#83d6111caac74a71bebe5fc050a3b64f3e45d037" + integrity sha512-TPwUMlIGPN16eW67qamNQUmxNiGHg/WBqWcrOoCddhqNTqGDPVqmgfaM85LPbt24t3r1z0zEz/tdsmuq3Q6oaA== + +"@algolia/cache-in-memory@4.22.0": + version "4.22.0" + resolved "https://registry.npmmirror.com/@algolia/cache-in-memory/-/cache-in-memory-4.22.0.tgz#ff86b08d8c80a9402f39e5c64cef2ba8299bbe1d" + integrity sha512-kf4Cio9NpPjzp1+uXQgL4jsMDeck7MP89BYThSvXSjf2A6qV/0KeqQf90TL2ECS02ovLOBXkk98P7qVarM+zGA== + dependencies: + "@algolia/cache-common" "4.22.0" + +"@algolia/client-account@4.22.0": + version "4.22.0" + resolved "https://registry.npmmirror.com/@algolia/client-account/-/client-account-4.22.0.tgz#d7fa001dc062dca446f0620281fc0cec7c850487" + integrity sha512-Bjb5UXpWmJT+yGWiqAJL0prkENyEZTBzdC+N1vBuHjwIJcjLMjPB6j1hNBRbT12Lmwi55uzqeMIKS69w+0aPzA== + dependencies: + "@algolia/client-common" "4.22.0" + "@algolia/client-search" "4.22.0" + "@algolia/transporter" "4.22.0" + +"@algolia/client-analytics@4.22.0": + version "4.22.0" + resolved "https://registry.npmmirror.com/@algolia/client-analytics/-/client-analytics-4.22.0.tgz#ea10e73d649aa1b9a1a25a786300d241fd4ad0d1" + integrity sha512-os2K+kHUcwwRa4ArFl5p/3YbF9lN3TLOPkbXXXxOvDpqFh62n9IRZuzfxpHxMPKAQS3Et1s0BkKavnNP02E9Hg== + dependencies: + "@algolia/client-common" "4.22.0" + "@algolia/client-search" "4.22.0" + "@algolia/requester-common" "4.22.0" + "@algolia/transporter" "4.22.0" + +"@algolia/client-common@4.22.0": + version "4.22.0" + resolved "https://registry.npmmirror.com/@algolia/client-common/-/client-common-4.22.0.tgz#4bf298acec78fa988a5b829748e6c488b8a6b570" + integrity sha512-BlbkF4qXVWuwTmYxVWvqtatCR3lzXwxx628p1wj1Q7QP2+LsTmGt1DiUYRuy9jG7iMsnlExby6kRMOOlbhv2Ag== + dependencies: + "@algolia/requester-common" "4.22.0" + "@algolia/transporter" "4.22.0" + +"@algolia/client-personalization@4.22.0": + version "4.22.0" + resolved "https://registry.npmmirror.com/@algolia/client-personalization/-/client-personalization-4.22.0.tgz#210c7d196b3c31da45e16db6ed98a7594fcf5e1c" + integrity sha512-pEOftCxeBdG5pL97WngOBi9w5Vxr5KCV2j2D+xMVZH8MuU/JX7CglDSDDb0ffQWYqcUN+40Ry+xtXEYaGXTGow== + dependencies: + "@algolia/client-common" "4.22.0" + "@algolia/requester-common" "4.22.0" + "@algolia/transporter" "4.22.0" + +"@algolia/client-search@4.22.0": + version "4.22.0" + resolved "https://registry.npmmirror.com/@algolia/client-search/-/client-search-4.22.0.tgz#1113332cf973ce69067b741a17e8f798d71e07db" + integrity sha512-bn4qQiIdRPBGCwsNuuqB8rdHhGKKWIij9OqidM1UkQxnSG8yzxHdb7CujM30pvp5EnV7jTqDZRbxacbjYVW20Q== + dependencies: + "@algolia/client-common" "4.22.0" + "@algolia/requester-common" "4.22.0" + "@algolia/transporter" "4.22.0" + +"@algolia/events@^4.0.1": + version "4.0.1" + resolved "https://registry.npmmirror.com/@algolia/events/-/events-4.0.1.tgz#fd39e7477e7bc703d7f893b556f676c032af3950" + integrity sha512-FQzvOCgoFXAbf5Y6mYozw2aj5KCJoA3m4heImceldzPSMbdyS4atVjJzXKMsfX3wnZTFYwkkt8/z8UesLHlSBQ== + +"@algolia/logger-common@4.22.0": + version "4.22.0" + resolved "https://registry.npmmirror.com/@algolia/logger-common/-/logger-common-4.22.0.tgz#f9498729ca5b0e9c0bd1b8dd729edd91ddd02b5c" + integrity sha512-HMUQTID0ucxNCXs5d1eBJ5q/HuKg8rFVE/vOiLaM4Abfeq1YnTtGV3+rFEhOPWhRQxNDd+YHa4q864IMc0zHpQ== + +"@algolia/logger-console@4.22.0": + version "4.22.0" + resolved "https://registry.npmmirror.com/@algolia/logger-console/-/logger-console-4.22.0.tgz#52e62b98fc01b40d6677b0ddf656b342e89f13c2" + integrity sha512-7JKb6hgcY64H7CRm3u6DRAiiEVXMvCJV5gRE672QFOUgDxo4aiDpfU61g6Uzy8NKjlEzHMmgG4e2fklELmPXhQ== + dependencies: + "@algolia/logger-common" "4.22.0" + +"@algolia/requester-browser-xhr@4.22.0": + version "4.22.0" + resolved "https://registry.npmmirror.com/@algolia/requester-browser-xhr/-/requester-browser-xhr-4.22.0.tgz#ca16e4c6860458477a00b440a407c81591f14b8a" + integrity sha512-BHfv1h7P9/SyvcDJDaRuIwDu2yrDLlXlYmjvaLZTtPw6Ok/ZVhBR55JqW832XN/Fsl6k3LjdkYHHR7xnsa5Wvg== + dependencies: + "@algolia/requester-common" "4.22.0" + +"@algolia/requester-common@4.22.0": + version "4.22.0" + resolved "https://registry.npmmirror.com/@algolia/requester-common/-/requester-common-4.22.0.tgz#d7a8283f5b77550eeab353c571a6566adf552fa7" + integrity sha512-Y9cEH/cKjIIZgzvI1aI0ARdtR/xRrOR13g5psCxkdhpgRN0Vcorx+zePhmAa4jdQNqexpxtkUdcKYugBzMZJgQ== + +"@algolia/requester-node-http@4.22.0": + version "4.22.0" + resolved "https://registry.npmmirror.com/@algolia/requester-node-http/-/requester-node-http-4.22.0.tgz#41d5e7d5dc7adb930e7fe8dcd9d39bfc378cc5f5" + integrity sha512-8xHoGpxVhz3u2MYIieHIB6MsnX+vfd5PS4REgglejJ6lPigftRhTdBCToe6zbwq4p0anZXjjPDvNWMlgK2+xYA== + dependencies: + "@algolia/requester-common" "4.22.0" + +"@algolia/transporter@4.22.0": + version "4.22.0" + resolved "https://registry.npmmirror.com/@algolia/transporter/-/transporter-4.22.0.tgz#733385f6457408228d2a4d7a4fe4e2b1599a5d33" + integrity sha512-ieO1k8x2o77GNvOoC+vAkFKppydQSVfbjM3YrSjLmgywiBejPTvU1R1nEvG59JIIUvtSLrZsLGPkd6vL14zopA== + dependencies: + "@algolia/cache-common" "4.22.0" + "@algolia/logger-common" "4.22.0" + "@algolia/requester-common" "4.22.0" + +"@ampproject/remapping@^2.2.0": + version "2.2.1" + resolved "https://registry.npmmirror.com/@ampproject/remapping/-/remapping-2.2.1.tgz#99e8e11851128b8702cd57c33684f1d0f260b630" + integrity sha512-lFMjJTrFL3j7L9yBxwYfCq2k6qqwHyzuUl/XBnif78PWTJYyL/dfowQHWE3sp6U6ZzqWiiIZnpTMO96zhkjwtg== + dependencies: + "@jridgewell/gen-mapping" "^0.3.0" + "@jridgewell/trace-mapping" "^0.3.9" + +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.16.0", "@babel/code-frame@^7.22.13", "@babel/code-frame@^7.23.5", "@babel/code-frame@^7.8.3": + version "7.23.5" + resolved "https://registry.npmmirror.com/@babel/code-frame/-/code-frame-7.23.5.tgz#9009b69a8c602293476ad598ff53e4562e15c244" + integrity sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA== + dependencies: + "@babel/highlight" "^7.23.4" + chalk "^2.4.2" + +"@babel/compat-data@^7.22.6", "@babel/compat-data@^7.23.3", "@babel/compat-data@^7.23.5": + version "7.23.5" + resolved "https://registry.npmmirror.com/@babel/compat-data/-/compat-data-7.23.5.tgz#ffb878728bb6bdcb6f4510aa51b1be9afb8cfd98" + integrity sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw== + +"@babel/core@^7.19.6", "@babel/core@^7.23.3": + version "7.23.6" + resolved "https://registry.npmmirror.com/@babel/core/-/core-7.23.6.tgz#8be77cd77c55baadcc1eae1c33df90ab6d2151d4" + integrity sha512-FxpRyGjrMJXh7X3wGLGhNDCRiwpWEF74sKjTLDJSG5Kyvow3QZaG0Adbqzi9ZrVjTWpsX+2cxWXD71NMg93kdw== + dependencies: + "@ampproject/remapping" "^2.2.0" + "@babel/code-frame" "^7.23.5" + "@babel/generator" "^7.23.6" + "@babel/helper-compilation-targets" "^7.23.6" + "@babel/helper-module-transforms" "^7.23.3" + "@babel/helpers" "^7.23.6" + "@babel/parser" "^7.23.6" + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.23.6" + "@babel/types" "^7.23.6" + convert-source-map "^2.0.0" + debug "^4.1.0" + gensync "^1.0.0-beta.2" + json5 "^2.2.3" + semver "^6.3.1" + +"@babel/generator@^7.23.3", "@babel/generator@^7.23.6": + version "7.23.6" + resolved "https://registry.npmmirror.com/@babel/generator/-/generator-7.23.6.tgz#9e1fca4811c77a10580d17d26b57b036133f3c2e" + integrity sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw== + dependencies: + "@babel/types" "^7.23.6" + "@jridgewell/gen-mapping" "^0.3.2" + "@jridgewell/trace-mapping" "^0.3.17" + jsesc "^2.5.1" + +"@babel/helper-annotate-as-pure@^7.22.5": + version "7.22.5" + resolved "https://registry.npmmirror.com/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.22.5.tgz#e7f06737b197d580a01edf75d97e2c8be99d3882" + integrity sha512-LvBTxu8bQSQkcyKOU+a1btnNFQ1dMAd0R6PyW3arXes06F6QLWLIrd681bxRPIXlrMGR3XYnW9JyML7dP3qgxg== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-builder-binary-assignment-operator-visitor@^7.22.15": + version "7.22.15" + resolved "https://registry.npmmirror.com/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.22.15.tgz#5426b109cf3ad47b91120f8328d8ab1be8b0b956" + integrity sha512-QkBXwGgaoC2GtGZRoma6kv7Szfv06khvhFav67ZExau2RaXzy8MpHSMO2PNoP2XtmQphJQRHFfg77Bq731Yizw== + dependencies: + "@babel/types" "^7.22.15" + +"@babel/helper-compilation-targets@^7.22.15", "@babel/helper-compilation-targets@^7.22.6", "@babel/helper-compilation-targets@^7.23.6": + version "7.23.6" + resolved "https://registry.npmmirror.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz#4d79069b16cbcf1461289eccfbbd81501ae39991" + integrity sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ== + dependencies: + "@babel/compat-data" "^7.23.5" + "@babel/helper-validator-option" "^7.23.5" + browserslist "^4.22.2" + lru-cache "^5.1.1" + semver "^6.3.1" + +"@babel/helper-create-class-features-plugin@^7.22.15", "@babel/helper-create-class-features-plugin@^7.23.6": + version "7.23.6" + resolved "https://registry.npmmirror.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.23.6.tgz#b04d915ce92ce363666f816a884cdcfc9be04953" + integrity sha512-cBXU1vZni/CpGF29iTu4YRbOZt3Wat6zCoMDxRF1MayiEc4URxOj31tT65HUM0CRpMowA3HCJaAOVOUnMf96cw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-function-name" "^7.23.0" + "@babel/helper-member-expression-to-functions" "^7.23.0" + "@babel/helper-optimise-call-expression" "^7.22.5" + "@babel/helper-replace-supers" "^7.22.20" + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + semver "^6.3.1" + +"@babel/helper-create-regexp-features-plugin@^7.18.6", "@babel/helper-create-regexp-features-plugin@^7.22.15", "@babel/helper-create-regexp-features-plugin@^7.22.5": + version "7.22.15" + resolved "https://registry.npmmirror.com/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.22.15.tgz#5ee90093914ea09639b01c711db0d6775e558be1" + integrity sha512-29FkPLFjn4TPEa3RE7GpW+qbE8tlsu3jntNYNfcGsc49LphF1PQIiD+vMZ1z1xVOKt+93khA9tc2JBs3kBjA7w== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + regexpu-core "^5.3.1" + semver "^6.3.1" + +"@babel/helper-define-polyfill-provider@^0.4.4": + version "0.4.4" + resolved "https://registry.npmmirror.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.4.tgz#64df615451cb30e94b59a9696022cffac9a10088" + integrity sha512-QcJMILQCu2jm5TFPGA3lCpJJTeEP+mqeXooG/NZbg/h5FTFi6V0+99ahlRsW8/kRLyb24LZVCCiclDedhLKcBA== + dependencies: + "@babel/helper-compilation-targets" "^7.22.6" + "@babel/helper-plugin-utils" "^7.22.5" + debug "^4.1.1" + lodash.debounce "^4.0.8" + resolve "^1.14.2" + +"@babel/helper-environment-visitor@^7.22.20": + version "7.22.20" + resolved "https://registry.npmmirror.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.22.20.tgz#96159db61d34a29dba454c959f5ae4a649ba9167" + integrity sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA== + +"@babel/helper-function-name@^7.22.5", "@babel/helper-function-name@^7.23.0": + version "7.23.0" + resolved "https://registry.npmmirror.com/@babel/helper-function-name/-/helper-function-name-7.23.0.tgz#1f9a3cdbd5b2698a670c30d2735f9af95ed52759" + integrity sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw== + dependencies: + "@babel/template" "^7.22.15" + "@babel/types" "^7.23.0" + +"@babel/helper-hoist-variables@^7.22.5": + version "7.22.5" + resolved "https://registry.npmmirror.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.22.5.tgz#c01a007dac05c085914e8fb652b339db50d823bb" + integrity sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-member-expression-to-functions@^7.22.15", "@babel/helper-member-expression-to-functions@^7.23.0": + version "7.23.0" + resolved "https://registry.npmmirror.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.23.0.tgz#9263e88cc5e41d39ec18c9a3e0eced59a3e7d366" + integrity sha512-6gfrPwh7OuT6gZyJZvd6WbTfrqAo7vm4xCzAXOusKqq/vWdKXphTpj5klHKNmRUU6/QRGlBsyU9mAIPaWHlqJA== + dependencies: + "@babel/types" "^7.23.0" + +"@babel/helper-module-imports@^7.22.15": + version "7.22.15" + resolved "https://registry.npmmirror.com/@babel/helper-module-imports/-/helper-module-imports-7.22.15.tgz#16146307acdc40cc00c3b2c647713076464bdbf0" + integrity sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w== + dependencies: + "@babel/types" "^7.22.15" + +"@babel/helper-module-transforms@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/helper-module-transforms/-/helper-module-transforms-7.23.3.tgz#d7d12c3c5d30af5b3c0fcab2a6d5217773e2d0f1" + integrity sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ== + dependencies: + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-module-imports" "^7.22.15" + "@babel/helper-simple-access" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/helper-validator-identifier" "^7.22.20" + +"@babel/helper-optimise-call-expression@^7.22.5": + version "7.22.5" + resolved "https://registry.npmmirror.com/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.22.5.tgz#f21531a9ccbff644fdd156b4077c16ff0c3f609e" + integrity sha512-HBwaojN0xFRx4yIvpwGqxiV2tUfl7401jlok564NgB9EHS1y6QT17FmKWm4ztqjeVdXLuC4fSvHc5ePpQjoTbw== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-plugin-utils@^7.0.0", "@babel/helper-plugin-utils@^7.10.4", "@babel/helper-plugin-utils@^7.12.13", "@babel/helper-plugin-utils@^7.14.5", "@babel/helper-plugin-utils@^7.18.6", "@babel/helper-plugin-utils@^7.22.5", "@babel/helper-plugin-utils@^7.8.0", "@babel/helper-plugin-utils@^7.8.3": + version "7.22.5" + resolved "https://registry.npmmirror.com/@babel/helper-plugin-utils/-/helper-plugin-utils-7.22.5.tgz#dd7ee3735e8a313b9f7b05a773d892e88e6d7295" + integrity sha512-uLls06UVKgFG9QD4OeFYLEGteMIAa5kpTPcFL28yuCIIzsf6ZyKZMllKVOCZFhiZ5ptnwX4mtKdWCBE/uT4amg== + +"@babel/helper-remap-async-to-generator@^7.22.20": + version "7.22.20" + resolved "https://registry.npmmirror.com/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.22.20.tgz#7b68e1cb4fa964d2996fd063723fb48eca8498e0" + integrity sha512-pBGyV4uBqOns+0UvhsTO8qgl8hO89PmiDYv+/COyp1aeMcmfrfruz+/nCMFiYyFF/Knn0yfrC85ZzNFjembFTw== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-wrap-function" "^7.22.20" + +"@babel/helper-replace-supers@^7.22.20": + version "7.22.20" + resolved "https://registry.npmmirror.com/@babel/helper-replace-supers/-/helper-replace-supers-7.22.20.tgz#e37d367123ca98fe455a9887734ed2e16eb7a793" + integrity sha512-qsW0In3dbwQUbK8kejJ4R7IHVGwHJlV6lpG6UA7a9hSa2YEiAib+N1T2kr6PEeUT+Fl7najmSOS6SmAwCHK6Tw== + dependencies: + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-member-expression-to-functions" "^7.22.15" + "@babel/helper-optimise-call-expression" "^7.22.5" + +"@babel/helper-simple-access@^7.22.5": + version "7.22.5" + resolved "https://registry.npmmirror.com/@babel/helper-simple-access/-/helper-simple-access-7.22.5.tgz#4938357dc7d782b80ed6dbb03a0fba3d22b1d5de" + integrity sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-skip-transparent-expression-wrappers@^7.22.5": + version "7.22.5" + resolved "https://registry.npmmirror.com/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.22.5.tgz#007f15240b5751c537c40e77abb4e89eeaaa8847" + integrity sha512-tK14r66JZKiC43p8Ki33yLBVJKlQDFoA8GYN67lWCDCqoL6EMMSuM9b+Iff2jHaM/RRFYl7K+iiru7hbRqNx8Q== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-split-export-declaration@^7.22.6": + version "7.22.6" + resolved "https://registry.npmmirror.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.22.6.tgz#322c61b7310c0997fe4c323955667f18fcefb91c" + integrity sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g== + dependencies: + "@babel/types" "^7.22.5" + +"@babel/helper-string-parser@^7.23.4": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz#9478c707febcbbe1ddb38a3d91a2e054ae622d83" + integrity sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ== + +"@babel/helper-validator-identifier@^7.22.20": + version "7.22.20" + resolved "https://registry.npmmirror.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.22.20.tgz#c4ae002c61d2879e724581d96665583dbc1dc0e0" + integrity sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A== + +"@babel/helper-validator-option@^7.22.15", "@babel/helper-validator-option@^7.23.5": + version "7.23.5" + resolved "https://registry.npmmirror.com/@babel/helper-validator-option/-/helper-validator-option-7.23.5.tgz#907a3fbd4523426285365d1206c423c4c5520307" + integrity sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw== + +"@babel/helper-wrap-function@^7.22.20": + version "7.22.20" + resolved "https://registry.npmmirror.com/@babel/helper-wrap-function/-/helper-wrap-function-7.22.20.tgz#15352b0b9bfb10fc9c76f79f6342c00e3411a569" + integrity sha512-pms/UwkOpnQe/PDAEdV/d7dVCoBbB+R4FvYoHGZz+4VPcg7RtYy2KP7S2lbuWM6FCSgob5wshfGESbC/hzNXZw== + dependencies: + "@babel/helper-function-name" "^7.22.5" + "@babel/template" "^7.22.15" + "@babel/types" "^7.22.19" + +"@babel/helpers@^7.23.6": + version "7.23.6" + resolved "https://registry.npmmirror.com/@babel/helpers/-/helpers-7.23.6.tgz#d03af2ee5fb34691eec0cda90f5ecbb4d4da145a" + integrity sha512-wCfsbN4nBidDRhpDhvcKlzHWCTlgJYUUdSJfzXb2NuBssDSIjc3xcb+znA7l+zYsFljAcGM0aFkN40cR3lXiGA== + dependencies: + "@babel/template" "^7.22.15" + "@babel/traverse" "^7.23.6" + "@babel/types" "^7.23.6" + +"@babel/highlight@^7.23.4": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/highlight/-/highlight-7.23.4.tgz#edaadf4d8232e1a961432db785091207ead0621b" + integrity sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A== + dependencies: + "@babel/helper-validator-identifier" "^7.22.20" + chalk "^2.4.2" + js-tokens "^4.0.0" + +"@babel/parser@^7.22.15", "@babel/parser@^7.22.7", "@babel/parser@^7.23.6": + version "7.23.6" + resolved "https://registry.npmmirror.com/@babel/parser/-/parser-7.23.6.tgz#ba1c9e512bda72a47e285ae42aff9d2a635a9e3b" + integrity sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ== + +"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.23.3.tgz#5cd1c87ba9380d0afb78469292c954fee5d2411a" + integrity sha512-iRkKcCqb7iGnq9+3G6rZ+Ciz5VywC4XNRHe57lKM+jOeYAoR0lVqdeeDRfh0tQcTfw/+vBhHn926FmQhLtlFLQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.23.3.tgz#f6652bb16b94f8f9c20c50941e16e9756898dc5d" + integrity sha512-WwlxbfMNdVEpQjZmK5mhm7oSwD3dS6eU+Iwsi4Knl9wAletWem7kaRsGOG+8UEbRyqxY4SS5zvtfXwX+jMxUwQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" + "@babel/plugin-transform-optional-chaining" "^7.23.3" + +"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.23.3.tgz#20c60d4639d18f7da8602548512e9d3a4c8d7098" + integrity sha512-XaJak1qcityzrX0/IU5nKHb34VaibwP3saKqG6a/tppelgllOH13LUann4ZCIBcVOeE6H18K4Vx9QKkVww3z/w== + dependencies: + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-proposal-private-property-in-object@7.21.0-placeholder-for-preset-env.2": + version "7.21.0-placeholder-for-preset-env.2" + resolved "https://registry.npmmirror.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.21.0-placeholder-for-preset-env.2.tgz#7844f9289546efa9febac2de4cfe358a050bd703" + integrity sha512-SOSkfJDddaM7mak6cPEpswyTRnuRltl429hMraQEglW+OkovnCzsiszTmsrlY//qLFjCpQDFRvjdm2wA5pPm9w== + +"@babel/plugin-syntax-async-generators@^7.8.4": + version "7.8.4" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" + integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-class-properties@^7.12.13": + version "7.12.13" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" + integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + +"@babel/plugin-syntax-class-static-block@^7.14.5": + version "7.14.5" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz#195df89b146b4b78b3bf897fd7a257c84659d406" + integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-dynamic-import@^7.8.3": + version "7.8.3" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" + integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-export-namespace-from@^7.8.3": + version "7.8.3" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz#028964a9ba80dbc094c915c487ad7c4e7a66465a" + integrity sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q== + dependencies: + "@babel/helper-plugin-utils" "^7.8.3" + +"@babel/plugin-syntax-import-assertions@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.23.3.tgz#9c05a7f592982aff1a2768260ad84bcd3f0c77fc" + integrity sha512-lPgDSU+SJLK3xmFDTV2ZRQAiM7UuUjGidwBywFavObCiZc1BeAAcMtHJKUya92hPHO+at63JJPLygilZard8jw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-syntax-import-attributes@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.23.3.tgz#992aee922cf04512461d7dae3ff6951b90a2dc06" + integrity sha512-pawnE0P9g10xgoP7yKr6CK63K2FMsTE+FZidZO/1PwRdzmAPVs+HS1mAURUsgaoxammTJvULUdIkEK0gOcU2tA== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-syntax-import-meta@^7.10.4": + version "7.10.4" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" + integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-json-strings@^7.8.3": + version "7.8.3" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" + integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-jsx@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.23.3.tgz#8f2e4f8a9b5f9aa16067e142c1ac9cd9f810f473" + integrity sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-syntax-logical-assignment-operators@^7.10.4": + version "7.10.4" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" + integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": + version "7.8.3" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" + integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-numeric-separator@^7.10.4": + version "7.10.4" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" + integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + +"@babel/plugin-syntax-object-rest-spread@^7.8.3": + version "7.8.3" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" + integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-catch-binding@^7.8.3": + version "7.8.3" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" + integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-optional-chaining@^7.8.3": + version "7.8.3" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" + integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== + dependencies: + "@babel/helper-plugin-utils" "^7.8.0" + +"@babel/plugin-syntax-private-property-in-object@^7.14.5": + version "7.14.5" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" + integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-top-level-await@^7.14.5": + version "7.14.5" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" + integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-typescript@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.23.3.tgz#24f460c85dbbc983cd2b9c4994178bcc01df958f" + integrity sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-syntax-unicode-sets-regex@^7.18.6": + version "7.18.6" + resolved "https://registry.npmmirror.com/@babel/plugin-syntax-unicode-sets-regex/-/plugin-syntax-unicode-sets-regex-7.18.6.tgz#d49a3b3e6b52e5be6740022317580234a6a47357" + integrity sha512-727YkEAPwSIQTv5im8QHz3upqp92JTWhidIC81Tdx4VJYIte/VndKf1qKrfnnhPLiPghStWfvC/iFaMCQu7Nqg== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.18.6" + "@babel/helper-plugin-utils" "^7.18.6" + +"@babel/plugin-transform-arrow-functions@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.23.3.tgz#94c6dcfd731af90f27a79509f9ab7fb2120fc38b" + integrity sha512-NzQcQrzaQPkaEwoTm4Mhyl8jI1huEL/WWIEvudjTCMJ9aBZNpsJbMASx7EQECtQQPS/DcnFpo0FIh3LvEO9cxQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-async-generator-functions@^7.23.4": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.23.4.tgz#93ac8e3531f347fba519b4703f9ff2a75c6ae27a" + integrity sha512-efdkfPhHYTtn0G6n2ddrESE91fgXxjlqLsnUtPWnJs4a4mZIbUaK7ffqKIIUKXSHwcDvaCVX6GXkaJJFqtX7jw== + dependencies: + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-remap-async-to-generator" "^7.22.20" + "@babel/plugin-syntax-async-generators" "^7.8.4" + +"@babel/plugin-transform-async-to-generator@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.23.3.tgz#d1f513c7a8a506d43f47df2bf25f9254b0b051fa" + integrity sha512-A7LFsKi4U4fomjqXJlZg/u0ft/n8/7n7lpffUP/ZULx/DtV9SGlNKZolHH6PE8Xl1ngCc0M11OaeZptXVkfKSw== + dependencies: + "@babel/helper-module-imports" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-remap-async-to-generator" "^7.22.20" + +"@babel/plugin-transform-block-scoped-functions@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.23.3.tgz#fe1177d715fb569663095e04f3598525d98e8c77" + integrity sha512-vI+0sIaPIO6CNuM9Kk5VmXcMVRiOpDh7w2zZt9GXzmE/9KD70CUEVhvPR/etAeNK/FAEkhxQtXOzVF3EuRL41A== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-block-scoping@^7.23.4": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.23.4.tgz#b2d38589531c6c80fbe25e6b58e763622d2d3cf5" + integrity sha512-0QqbP6B6HOh7/8iNR4CQU2Th/bbRtBp4KS9vcaZd1fZ0wSh5Fyssg0UCIHwxh+ka+pNDREbVLQnHCMHKZfPwfw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-class-properties@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.23.3.tgz#35c377db11ca92a785a718b6aa4e3ed1eb65dc48" + integrity sha512-uM+AN8yCIjDPccsKGlw271xjJtGii+xQIF/uMPS8H15L12jZTsLfF4o5vNO7d/oUguOyfdikHGc/yi9ge4SGIg== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-class-static-block@^7.23.4": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.23.4.tgz#2a202c8787a8964dd11dfcedf994d36bfc844ab5" + integrity sha512-nsWu/1M+ggti1SOALj3hfx5FXzAY06fwPJsUZD4/A5e1bWi46VUIWtD+kOX6/IdhXGsXBWllLFDSnqSCdUNydQ== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + +"@babel/plugin-transform-classes@^7.23.5": + version "7.23.5" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.23.5.tgz#e7a75f815e0c534cc4c9a39c56636c84fc0d64f2" + integrity sha512-jvOTR4nicqYC9yzOHIhXG5emiFEOpappSJAl73SDSEDcybD+Puuze8Tnpb9p9qEyYup24tq891gkaygIFvWDqg== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-compilation-targets" "^7.22.15" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-function-name" "^7.23.0" + "@babel/helper-optimise-call-expression" "^7.22.5" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-replace-supers" "^7.22.20" + "@babel/helper-split-export-declaration" "^7.22.6" + globals "^11.1.0" + +"@babel/plugin-transform-computed-properties@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.23.3.tgz#652e69561fcc9d2b50ba4f7ac7f60dcf65e86474" + integrity sha512-dTj83UVTLw/+nbiHqQSFdwO9CbTtwq1DsDqm3CUEtDrZNET5rT5E6bIdTlOftDTDLMYxvxHNEYO4B9SLl8SLZw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/template" "^7.22.15" + +"@babel/plugin-transform-destructuring@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.23.3.tgz#8c9ee68228b12ae3dff986e56ed1ba4f3c446311" + integrity sha512-n225npDqjDIr967cMScVKHXJs7rout1q+tt50inyBCPkyZ8KxeI6d+GIbSBTT/w/9WdlWDOej3V9HE5Lgk57gw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-dotall-regex@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.23.3.tgz#3f7af6054882ede89c378d0cf889b854a993da50" + integrity sha512-vgnFYDHAKzFaTVp+mneDsIEbnJ2Np/9ng9iviHw3P/KVcgONxpNULEW/51Z/BaFojG2GI2GwwXck5uV1+1NOYQ== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-duplicate-keys@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.23.3.tgz#664706ca0a5dfe8d066537f99032fc1dc8b720ce" + integrity sha512-RrqQ+BQmU3Oyav3J+7/myfvRCq7Tbz+kKLLshUmMwNlDHExbGL7ARhajvoBJEvc+fCguPPu887N+3RRXBVKZUA== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-dynamic-import@^7.23.4": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.23.4.tgz#c7629e7254011ac3630d47d7f34ddd40ca535143" + integrity sha512-V6jIbLhdJK86MaLh4Jpghi8ho5fGzt3imHOBu/x0jlBaPYqDoWz4RDXjmMOfnh+JWNaQleEAByZLV0QzBT4YQQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + +"@babel/plugin-transform-exponentiation-operator@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.23.3.tgz#ea0d978f6b9232ba4722f3dbecdd18f450babd18" + integrity sha512-5fhCsl1odX96u7ILKHBj4/Y8vipoqwsJMh4csSA8qFfxrZDEA4Ssku2DyNvMJSmZNOEBT750LfFPbtrnTP90BQ== + dependencies: + "@babel/helper-builder-binary-assignment-operator-visitor" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-export-namespace-from@^7.23.4": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.23.4.tgz#084c7b25e9a5c8271e987a08cf85807b80283191" + integrity sha512-GzuSBcKkx62dGzZI1WVgTWvkkz84FZO5TC5T8dl/Tht/rAla6Dg/Mz9Yhypg+ezVACf/rgDuQt3kbWEv7LdUDQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + +"@babel/plugin-transform-for-of@^7.23.6": + version "7.23.6" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.23.6.tgz#81c37e24171b37b370ba6aaffa7ac86bcb46f94e" + integrity sha512-aYH4ytZ0qSuBbpfhuofbg/e96oQ7U2w1Aw/UQmKT+1l39uEhUPoFS3fHevDc1G0OvewyDudfMKY1OulczHzWIw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" + +"@babel/plugin-transform-function-name@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.23.3.tgz#8f424fcd862bf84cb9a1a6b42bc2f47ed630f8dc" + integrity sha512-I1QXp1LxIvt8yLaib49dRW5Okt7Q4oaxao6tFVKS/anCdEOMtYwWVKoiOA1p34GOWIZjUK0E+zCp7+l1pfQyiw== + dependencies: + "@babel/helper-compilation-targets" "^7.22.15" + "@babel/helper-function-name" "^7.23.0" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-json-strings@^7.23.4": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.23.4.tgz#a871d9b6bd171976efad2e43e694c961ffa3714d" + integrity sha512-81nTOqM1dMwZ/aRXQ59zVubN9wHGqk6UtqRK+/q+ciXmRy8fSolhGVvG09HHRGo4l6fr/c4ZhXUQH0uFW7PZbg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-json-strings" "^7.8.3" + +"@babel/plugin-transform-literals@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-literals/-/plugin-transform-literals-7.23.3.tgz#8214665f00506ead73de157eba233e7381f3beb4" + integrity sha512-wZ0PIXRxnwZvl9AYpqNUxpZ5BiTGrYt7kueGQ+N5FiQ7RCOD4cm8iShd6S6ggfVIWaJf2EMk8eRzAh52RfP4rQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-logical-assignment-operators@^7.23.4": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.23.4.tgz#e599f82c51d55fac725f62ce55d3a0886279ecb5" + integrity sha512-Mc/ALf1rmZTP4JKKEhUwiORU+vcfarFVLfcFiolKUo6sewoxSEgl36ak5t+4WamRsNr6nzjZXQjM35WsU+9vbg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + +"@babel/plugin-transform-member-expression-literals@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.23.3.tgz#e37b3f0502289f477ac0e776b05a833d853cabcc" + integrity sha512-sC3LdDBDi5x96LA+Ytekz2ZPk8i/Ck+DEuDbRAll5rknJ5XRTSaPKEYwomLcs1AA8wg9b3KjIQRsnApj+q51Ag== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-modules-amd@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.23.3.tgz#e19b55436a1416829df0a1afc495deedfae17f7d" + integrity sha512-vJYQGxeKM4t8hYCKVBlZX/gtIY2I7mRGFNcm85sgXGMTBcoV3QdVtdpbcWEbzbfUIUZKwvgFT82mRvaQIebZzw== + dependencies: + "@babel/helper-module-transforms" "^7.23.3" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-modules-commonjs@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.23.3.tgz#661ae831b9577e52be57dd8356b734f9700b53b4" + integrity sha512-aVS0F65LKsdNOtcz6FRCpE4OgsP2OFnW46qNxNIX9h3wuzaNcSQsJysuMwqSibC98HPrf2vCgtxKNwS0DAlgcA== + dependencies: + "@babel/helper-module-transforms" "^7.23.3" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-simple-access" "^7.22.5" + +"@babel/plugin-transform-modules-systemjs@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.23.3.tgz#fa7e62248931cb15b9404f8052581c302dd9de81" + integrity sha512-ZxyKGTkF9xT9YJuKQRo19ewf3pXpopuYQd8cDXqNzc3mUNbOME0RKMoZxviQk74hwzfQsEe66dE92MaZbdHKNQ== + dependencies: + "@babel/helper-hoist-variables" "^7.22.5" + "@babel/helper-module-transforms" "^7.23.3" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-validator-identifier" "^7.22.20" + +"@babel/plugin-transform-modules-umd@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.23.3.tgz#5d4395fccd071dfefe6585a4411aa7d6b7d769e9" + integrity sha512-zHsy9iXX2nIsCBFPud3jKn1IRPWg3Ing1qOZgeKV39m1ZgIdpJqvlWVeiHBZC6ITRG0MfskhYe9cLgntfSFPIg== + dependencies: + "@babel/helper-module-transforms" "^7.23.3" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-named-capturing-groups-regex@^7.22.5": + version "7.22.5" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.22.5.tgz#67fe18ee8ce02d57c855185e27e3dc959b2e991f" + integrity sha512-YgLLKmS3aUBhHaxp5hi1WJTgOUb/NCuDHzGT9z9WTt3YG+CPRhJs6nprbStx6DnWM4dh6gt7SU3sZodbZ08adQ== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.22.5" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-new-target@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.23.3.tgz#5491bb78ed6ac87e990957cea367eab781c4d980" + integrity sha512-YJ3xKqtJMAT5/TIZnpAR3I+K+WaDowYbN3xyxI8zxx/Gsypwf9B9h0VB+1Nh6ACAAPRS5NSRje0uVv5i79HYGQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-nullish-coalescing-operator@^7.23.4": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.23.4.tgz#45556aad123fc6e52189ea749e33ce090637346e" + integrity sha512-jHE9EVVqHKAQx+VePv5LLGHjmHSJR76vawFPTdlxR/LVJPfOEGxREQwQfjuZEOPTwG92X3LINSh3M40Rv4zpVA== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + +"@babel/plugin-transform-numeric-separator@^7.23.4": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.23.4.tgz#03d08e3691e405804ecdd19dd278a40cca531f29" + integrity sha512-mps6auzgwjRrwKEZA05cOwuDc9FAzoyFS4ZsG/8F43bTLf/TgkJg7QXOrPO1JO599iA3qgK9MXdMGOEC8O1h6Q== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + +"@babel/plugin-transform-object-rest-spread@^7.23.4": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.23.4.tgz#2b9c2d26bf62710460bdc0d1730d4f1048361b83" + integrity sha512-9x9K1YyeQVw0iOXJlIzwm8ltobIIv7j2iLyP2jIhEbqPRQ7ScNgwQufU2I0Gq11VjyG4gI4yMXt2VFags+1N3g== + dependencies: + "@babel/compat-data" "^7.23.3" + "@babel/helper-compilation-targets" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.23.3" + +"@babel/plugin-transform-object-super@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.23.3.tgz#81fdb636dcb306dd2e4e8fd80db5b2362ed2ebcd" + integrity sha512-BwQ8q0x2JG+3lxCVFohg+KbQM7plfpBwThdW9A6TMtWwLsbDA01Ek2Zb/AgDN39BiZsExm4qrXxjk+P1/fzGrA== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-replace-supers" "^7.22.20" + +"@babel/plugin-transform-optional-catch-binding@^7.23.4": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.23.4.tgz#318066de6dacce7d92fa244ae475aa8d91778017" + integrity sha512-XIq8t0rJPHf6Wvmbn9nFxU6ao4c7WhghTR5WyV8SrJfUFzyxhCm4nhC+iAp3HFhbAKLfYpgzhJ6t4XCtVwqO5A== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + +"@babel/plugin-transform-optional-chaining@^7.23.3", "@babel/plugin-transform-optional-chaining@^7.23.4": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.23.4.tgz#6acf61203bdfc4de9d4e52e64490aeb3e52bd017" + integrity sha512-ZU8y5zWOfjM5vZ+asjgAPwDaBjJzgufjES89Rs4Lpq63O300R/kOz30WCLo6BxxX6QVEilwSlpClnG5cZaikTA== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + +"@babel/plugin-transform-parameters@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.23.3.tgz#83ef5d1baf4b1072fa6e54b2b0999a7b2527e2af" + integrity sha512-09lMt6UsUb3/34BbECKVbVwrT9bO6lILWln237z7sLaWnMsTi7Yc9fhX5DLpkJzAGfaReXI22wP41SZmnAA3Vw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-private-methods@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.23.3.tgz#b2d7a3c97e278bfe59137a978d53b2c2e038c0e4" + integrity sha512-UzqRcRtWsDMTLrRWFvUBDwmw06tCQH9Rl1uAjfh6ijMSmGYQ+fpdB+cnqRC8EMh5tuuxSv0/TejGL+7vyj+50g== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-private-property-in-object@^7.23.4": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.23.4.tgz#3ec711d05d6608fd173d9b8de39872d8dbf68bf5" + integrity sha512-9G3K1YqTq3F4Vt88Djx1UZ79PDyj+yKRnUy7cZGSMe+a7jkwD259uKKuUzQlPkGam7R+8RJwh5z4xO27fA1o2A== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-create-class-features-plugin" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + +"@babel/plugin-transform-property-literals@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.23.3.tgz#54518f14ac4755d22b92162e4a852d308a560875" + integrity sha512-jR3Jn3y7cZp4oEWPFAlRsSWjxKe4PZILGBSd4nis1TsC5qeSpb+nrtihJuDhNI7QHiVbUaiXa0X2RZY3/TI6Nw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-react-constant-elements@^7.18.12": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.23.3.tgz#5efc001d07ef0f7da0d73c3a86c132f73d28e43c" + integrity sha512-zP0QKq/p6O42OL94udMgSfKXyse4RyJ0JqbQ34zDAONWjyrEsghYEyTSK5FIpmXmCpB55SHokL1cRRKHv8L2Qw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-react-display-name@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.23.3.tgz#70529f034dd1e561045ad3c8152a267f0d7b6200" + integrity sha512-GnvhtVfA2OAtzdX58FJxU19rhoGeQzyVndw3GgtdECQvQFXPEZIOVULHVZGAYmOgmqjXpVpfocAbSjh99V/Fqw== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-react-jsx-development@^7.22.5": + version "7.22.5" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.22.5.tgz#e716b6edbef972a92165cd69d92f1255f7e73e87" + integrity sha512-bDhuzwWMuInwCYeDeMzyi7TaBgRQei6DqxhbyniL7/VG4RSS7HtSL2QbY4eESy1KJqlWt8g3xeEBGPuo+XqC8A== + dependencies: + "@babel/plugin-transform-react-jsx" "^7.22.5" + +"@babel/plugin-transform-react-jsx@^7.22.15", "@babel/plugin-transform-react-jsx@^7.22.5": + version "7.23.4" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.23.4.tgz#393f99185110cea87184ea47bcb4a7b0c2e39312" + integrity sha512-5xOpoPguCZCRbo/JeHlloSkTA8Bld1J/E1/kLfD1nsuiW1m8tduTA1ERCgIZokDflX/IBzKcqR3l7VlRgiIfHA== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-module-imports" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-jsx" "^7.23.3" + "@babel/types" "^7.23.4" + +"@babel/plugin-transform-react-pure-annotations@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.23.3.tgz#fabedbdb8ee40edf5da96f3ecfc6958e3783b93c" + integrity sha512-qMFdSS+TUhB7Q/3HVPnEdYJDQIk57jkntAwSuz9xfSE4n+3I+vHYCli3HoHawN1Z3RfCz/y1zXA/JXjG6cVImQ== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-regenerator@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.23.3.tgz#141afd4a2057298602069fce7f2dc5173e6c561c" + integrity sha512-KP+75h0KghBMcVpuKisx3XTu9Ncut8Q8TuvGO4IhY+9D5DFEckQefOuIsB/gQ2tG71lCke4NMrtIPS8pOj18BQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + regenerator-transform "^0.15.2" + +"@babel/plugin-transform-reserved-words@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.23.3.tgz#4130dcee12bd3dd5705c587947eb715da12efac8" + integrity sha512-QnNTazY54YqgGxwIexMZva9gqbPa15t/x9VS+0fsEFWplwVpXYZivtgl43Z1vMpc1bdPP2PP8siFeVcnFvA3Cg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-runtime@^7.22.9": + version "7.23.6" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.23.6.tgz#bf853cd0a675c16ee33e6ba2a63b536e75e5d754" + integrity sha512-kF1Zg62aPseQ11orDhFRw+aPG/eynNQtI+TyY+m33qJa2cJ5EEvza2P2BNTIA9E5MyqFABHEyY6CPHwgdy9aNg== + dependencies: + "@babel/helper-module-imports" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + babel-plugin-polyfill-corejs2 "^0.4.6" + babel-plugin-polyfill-corejs3 "^0.8.5" + babel-plugin-polyfill-regenerator "^0.5.3" + semver "^6.3.1" + +"@babel/plugin-transform-shorthand-properties@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.23.3.tgz#97d82a39b0e0c24f8a981568a8ed851745f59210" + integrity sha512-ED2fgqZLmexWiN+YNFX26fx4gh5qHDhn1O2gvEhreLW2iI63Sqm4llRLCXALKrCnbN4Jy0VcMQZl/SAzqug/jg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-spread@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.23.3.tgz#41d17aacb12bde55168403c6f2d6bdca563d362c" + integrity sha512-VvfVYlrlBVu+77xVTOAoxQ6mZbnIq5FM0aGBSFEcIh03qHf+zNqA4DC/3XMUozTg7bZV3e3mZQ0i13VB6v5yUg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" + +"@babel/plugin-transform-sticky-regex@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.23.3.tgz#dec45588ab4a723cb579c609b294a3d1bd22ff04" + integrity sha512-HZOyN9g+rtvnOU3Yh7kSxXrKbzgrm5X4GncPY1QOquu7epga5MxKHVpYu2hvQnry/H+JjckSYRb93iNfsioAGg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-template-literals@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.23.3.tgz#5f0f028eb14e50b5d0f76be57f90045757539d07" + integrity sha512-Flok06AYNp7GV2oJPZZcP9vZdszev6vPBkHLwxwSpaIqx75wn6mUd3UFWsSsA0l8nXAKkyCmL/sR02m8RYGeHg== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-typeof-symbol@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.23.3.tgz#9dfab97acc87495c0c449014eb9c547d8966bca4" + integrity sha512-4t15ViVnaFdrPC74be1gXBSMzXk3B4Us9lP7uLRQHTFpV5Dvt33pn+2MyyNxmN3VTTm3oTrZVMUmuw3oBnQ2oQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-typescript@^7.23.3": + version "7.23.6" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.23.6.tgz#aa36a94e5da8d94339ae3a4e22d40ed287feb34c" + integrity sha512-6cBG5mBvUu4VUD04OHKnYzbuHNP8huDsD3EDqqpIpsswTDoqHCjLoHb6+QgsV1WsT2nipRqCPgxD3LXnEO7XfA== + dependencies: + "@babel/helper-annotate-as-pure" "^7.22.5" + "@babel/helper-create-class-features-plugin" "^7.23.6" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/plugin-syntax-typescript" "^7.23.3" + +"@babel/plugin-transform-unicode-escapes@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.23.3.tgz#1f66d16cab01fab98d784867d24f70c1ca65b925" + integrity sha512-OMCUx/bU6ChE3r4+ZdylEqAjaQgHAgipgW8nsCfu5pGqDcFytVd91AwRvUJSBZDz0exPGgnjoqhgRYLRjFZc9Q== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-unicode-property-regex@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.23.3.tgz#19e234129e5ffa7205010feec0d94c251083d7ad" + integrity sha512-KcLIm+pDZkWZQAFJ9pdfmh89EwVfmNovFBcXko8szpBeF8z68kWIPeKlmSOkT9BXJxs2C0uk+5LxoxIv62MROA== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-unicode-regex@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.23.3.tgz#26897708d8f42654ca4ce1b73e96140fbad879dc" + integrity sha512-wMHpNA4x2cIA32b/ci3AfwNgheiva2W0WUKWTK7vBHBhDKfPsc5cFGNWm69WBqpwd86u1qwZ9PWevKqm1A3yAw== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/plugin-transform-unicode-sets-regex@^7.23.3": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.23.3.tgz#4fb6f0a719c2c5859d11f6b55a050cc987f3799e" + integrity sha512-W7lliA/v9bNR83Qc3q1ip9CQMZ09CcHDbHfbLRDNuAhn1Mvkr1ZNF7hPmztMQvtTGVLJ9m8IZqWsTkXOml8dbw== + dependencies: + "@babel/helper-create-regexp-features-plugin" "^7.22.15" + "@babel/helper-plugin-utils" "^7.22.5" + +"@babel/preset-env@^7.19.4", "@babel/preset-env@^7.22.9": + version "7.23.6" + resolved "https://registry.npmmirror.com/@babel/preset-env/-/preset-env-7.23.6.tgz#ad0ea799d5a3c07db5b9a172819bbd444092187a" + integrity sha512-2XPn/BqKkZCpzYhUUNZ1ssXw7DcXfKQEjv/uXZUXgaebCMYmkEsfZ2yY+vv+xtXv50WmL5SGhyB6/xsWxIvvOQ== + dependencies: + "@babel/compat-data" "^7.23.5" + "@babel/helper-compilation-targets" "^7.23.6" + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-validator-option" "^7.23.5" + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.23.3" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.23.3" + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly" "^7.23.3" + "@babel/plugin-proposal-private-property-in-object" "7.21.0-placeholder-for-preset-env.2" + "@babel/plugin-syntax-async-generators" "^7.8.4" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + "@babel/plugin-syntax-export-namespace-from" "^7.8.3" + "@babel/plugin-syntax-import-assertions" "^7.23.3" + "@babel/plugin-syntax-import-attributes" "^7.23.3" + "@babel/plugin-syntax-import-meta" "^7.10.4" + "@babel/plugin-syntax-json-strings" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" + "@babel/plugin-syntax-unicode-sets-regex" "^7.18.6" + "@babel/plugin-transform-arrow-functions" "^7.23.3" + "@babel/plugin-transform-async-generator-functions" "^7.23.4" + "@babel/plugin-transform-async-to-generator" "^7.23.3" + "@babel/plugin-transform-block-scoped-functions" "^7.23.3" + "@babel/plugin-transform-block-scoping" "^7.23.4" + "@babel/plugin-transform-class-properties" "^7.23.3" + "@babel/plugin-transform-class-static-block" "^7.23.4" + "@babel/plugin-transform-classes" "^7.23.5" + "@babel/plugin-transform-computed-properties" "^7.23.3" + "@babel/plugin-transform-destructuring" "^7.23.3" + "@babel/plugin-transform-dotall-regex" "^7.23.3" + "@babel/plugin-transform-duplicate-keys" "^7.23.3" + "@babel/plugin-transform-dynamic-import" "^7.23.4" + "@babel/plugin-transform-exponentiation-operator" "^7.23.3" + "@babel/plugin-transform-export-namespace-from" "^7.23.4" + "@babel/plugin-transform-for-of" "^7.23.6" + "@babel/plugin-transform-function-name" "^7.23.3" + "@babel/plugin-transform-json-strings" "^7.23.4" + "@babel/plugin-transform-literals" "^7.23.3" + "@babel/plugin-transform-logical-assignment-operators" "^7.23.4" + "@babel/plugin-transform-member-expression-literals" "^7.23.3" + "@babel/plugin-transform-modules-amd" "^7.23.3" + "@babel/plugin-transform-modules-commonjs" "^7.23.3" + "@babel/plugin-transform-modules-systemjs" "^7.23.3" + "@babel/plugin-transform-modules-umd" "^7.23.3" + "@babel/plugin-transform-named-capturing-groups-regex" "^7.22.5" + "@babel/plugin-transform-new-target" "^7.23.3" + "@babel/plugin-transform-nullish-coalescing-operator" "^7.23.4" + "@babel/plugin-transform-numeric-separator" "^7.23.4" + "@babel/plugin-transform-object-rest-spread" "^7.23.4" + "@babel/plugin-transform-object-super" "^7.23.3" + "@babel/plugin-transform-optional-catch-binding" "^7.23.4" + "@babel/plugin-transform-optional-chaining" "^7.23.4" + "@babel/plugin-transform-parameters" "^7.23.3" + "@babel/plugin-transform-private-methods" "^7.23.3" + "@babel/plugin-transform-private-property-in-object" "^7.23.4" + "@babel/plugin-transform-property-literals" "^7.23.3" + "@babel/plugin-transform-regenerator" "^7.23.3" + "@babel/plugin-transform-reserved-words" "^7.23.3" + "@babel/plugin-transform-shorthand-properties" "^7.23.3" + "@babel/plugin-transform-spread" "^7.23.3" + "@babel/plugin-transform-sticky-regex" "^7.23.3" + "@babel/plugin-transform-template-literals" "^7.23.3" + "@babel/plugin-transform-typeof-symbol" "^7.23.3" + "@babel/plugin-transform-unicode-escapes" "^7.23.3" + "@babel/plugin-transform-unicode-property-regex" "^7.23.3" + "@babel/plugin-transform-unicode-regex" "^7.23.3" + "@babel/plugin-transform-unicode-sets-regex" "^7.23.3" + "@babel/preset-modules" "0.1.6-no-external-plugins" + babel-plugin-polyfill-corejs2 "^0.4.6" + babel-plugin-polyfill-corejs3 "^0.8.5" + babel-plugin-polyfill-regenerator "^0.5.3" + core-js-compat "^3.31.0" + semver "^6.3.1" + +"@babel/preset-modules@0.1.6-no-external-plugins": + version "0.1.6-no-external-plugins" + resolved "https://registry.npmmirror.com/@babel/preset-modules/-/preset-modules-0.1.6-no-external-plugins.tgz#ccb88a2c49c817236861fee7826080573b8a923a" + integrity sha512-HrcgcIESLm9aIR842yhJ5RWan/gebQUJ6E/E5+rf0y9o6oj7w0Br+sWuL6kEQ/o/AdfvR1Je9jG18/gnpwjEyA== + dependencies: + "@babel/helper-plugin-utils" "^7.0.0" + "@babel/types" "^7.4.4" + esutils "^2.0.2" + +"@babel/preset-react@^7.18.6", "@babel/preset-react@^7.22.5": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/preset-react/-/preset-react-7.23.3.tgz#f73ca07e7590f977db07eb54dbe46538cc015709" + integrity sha512-tbkHOS9axH6Ysf2OUEqoSZ6T3Fa2SrNH6WTWSPBboxKzdxNc9qOICeLXkNG0ZEwbQ1HY8liwOce4aN/Ceyuq6w== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-validator-option" "^7.22.15" + "@babel/plugin-transform-react-display-name" "^7.23.3" + "@babel/plugin-transform-react-jsx" "^7.22.15" + "@babel/plugin-transform-react-jsx-development" "^7.22.5" + "@babel/plugin-transform-react-pure-annotations" "^7.23.3" + +"@babel/preset-typescript@^7.18.6", "@babel/preset-typescript@^7.22.5": + version "7.23.3" + resolved "https://registry.npmmirror.com/@babel/preset-typescript/-/preset-typescript-7.23.3.tgz#14534b34ed5b6d435aa05f1ae1c5e7adcc01d913" + integrity sha512-17oIGVlqz6CchO9RFYn5U6ZpWRZIngayYCtrPRSgANSwC2V1Jb+iP74nVxzzXJte8b8BYxrL1yY96xfhTBrNNQ== + dependencies: + "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-validator-option" "^7.22.15" + "@babel/plugin-syntax-jsx" "^7.23.3" + "@babel/plugin-transform-modules-commonjs" "^7.23.3" + "@babel/plugin-transform-typescript" "^7.23.3" + +"@babel/regjsgen@^0.8.0": + version "0.8.0" + resolved "https://registry.npmmirror.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310" + integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== + +"@babel/runtime-corejs3@^7.22.6": + version "7.23.6" + resolved "https://registry.npmmirror.com/@babel/runtime-corejs3/-/runtime-corejs3-7.23.6.tgz#c25dd662fc205a03fdaefd122066eb9d4533ccf9" + integrity sha512-Djs/ZTAnpyj0nyg7p1J6oiE/tZ9G2stqAFlLGZynrW+F3k2w2jGK2mLOBxzYIOcZYA89+c3d3wXKpYLcpwcU6w== + dependencies: + core-js-pure "^3.30.2" + regenerator-runtime "^0.14.0" + +"@babel/runtime@^7.1.2", "@babel/runtime@^7.10.3", "@babel/runtime@^7.12.13", "@babel/runtime@^7.12.5", "@babel/runtime@^7.22.6", "@babel/runtime@^7.8.4": + version "7.23.6" + resolved "https://registry.npmmirror.com/@babel/runtime/-/runtime-7.23.6.tgz#c05e610dc228855dc92ef1b53d07389ed8ab521d" + integrity sha512-zHd0eUrf5GZoOWVCXp6koAKQTfZV07eit6bGPmJgnZdnSAvvZee6zniW2XMF7Cmc4ISOOnPy3QaSiIJGJkVEDQ== + dependencies: + regenerator-runtime "^0.14.0" + +"@babel/template@^7.22.15": + version "7.22.15" + resolved "https://registry.npmmirror.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38" + integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w== + dependencies: + "@babel/code-frame" "^7.22.13" + "@babel/parser" "^7.22.15" + "@babel/types" "^7.22.15" + +"@babel/traverse@^7.22.8", "@babel/traverse@^7.23.6": + version "7.23.6" + resolved "https://registry.npmmirror.com/@babel/traverse/-/traverse-7.23.6.tgz#b53526a2367a0dd6edc423637f3d2d0f2521abc5" + integrity sha512-czastdK1e8YByZqezMPFiZ8ahwVMh/ESl9vPgvgdB9AmFMGP5jfpFax74AQgl5zj4XHzqeYAg2l8PuUeRS1MgQ== + dependencies: + "@babel/code-frame" "^7.23.5" + "@babel/generator" "^7.23.6" + "@babel/helper-environment-visitor" "^7.22.20" + "@babel/helper-function-name" "^7.23.0" + "@babel/helper-hoist-variables" "^7.22.5" + "@babel/helper-split-export-declaration" "^7.22.6" + "@babel/parser" "^7.23.6" + "@babel/types" "^7.23.6" + debug "^4.3.1" + globals "^11.1.0" + +"@babel/types@^7.20.0", "@babel/types@^7.22.15", "@babel/types@^7.22.19", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.4", "@babel/types@^7.23.6", "@babel/types@^7.4.4": + version "7.23.6" + resolved "https://registry.npmmirror.com/@babel/types/-/types-7.23.6.tgz#be33fdb151e1f5a56877d704492c240fc71c7ccd" + integrity sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg== + dependencies: + "@babel/helper-string-parser" "^7.23.4" + "@babel/helper-validator-identifier" "^7.22.20" + to-fast-properties "^2.0.0" + +"@colors/colors@1.5.0": + version "1.5.0" + resolved "https://registry.npmmirror.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" + integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== + +"@discoveryjs/json-ext@0.5.7": + version "0.5.7" + resolved "https://registry.npmmirror.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70" + integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw== + +"@docsearch/css@3.5.2": + version "3.5.2" + resolved "https://registry.npmmirror.com/@docsearch/css/-/css-3.5.2.tgz#610f47b48814ca94041df969d9fcc47b91fc5aac" + integrity sha512-SPiDHaWKQZpwR2siD0KQUwlStvIAnEyK6tAE2h2Wuoq8ue9skzhlyVQ1ddzOxX6khULnAALDiR/isSF3bnuciA== + +"@docsearch/react@^3.5.2": + version "3.5.2" + resolved "https://registry.npmmirror.com/@docsearch/react/-/react-3.5.2.tgz#2e6bbee00eb67333b64906352734da6aef1232b9" + integrity sha512-9Ahcrs5z2jq/DcAvYtvlqEBHImbm4YJI8M9y0x6Tqg598P40HTEkX7hsMcIuThI+hTFxRGZ9hll0Wygm2yEjng== + dependencies: + "@algolia/autocomplete-core" "1.9.3" + "@algolia/autocomplete-preset-algolia" "1.9.3" + "@docsearch/css" "3.5.2" + algoliasearch "^4.19.1" + +"@docusaurus/core@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/core/-/core-3.0.1.tgz#ad9a66b20802ea81b25e65db75d4ca952eda7e01" + integrity sha512-CXrLpOnW+dJdSv8M5FAJ3JBwXtL6mhUWxFA8aS0ozK6jBG/wgxERk5uvH28fCeFxOGbAT9v1e9dOMo1X2IEVhQ== + dependencies: + "@babel/core" "^7.23.3" + "@babel/generator" "^7.23.3" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" + "@babel/plugin-transform-runtime" "^7.22.9" + "@babel/preset-env" "^7.22.9" + "@babel/preset-react" "^7.22.5" + "@babel/preset-typescript" "^7.22.5" + "@babel/runtime" "^7.22.6" + "@babel/runtime-corejs3" "^7.22.6" + "@babel/traverse" "^7.22.8" + "@docusaurus/cssnano-preset" "3.0.1" + "@docusaurus/logger" "3.0.1" + "@docusaurus/mdx-loader" "3.0.1" + "@docusaurus/react-loadable" "5.5.2" + "@docusaurus/utils" "3.0.1" + "@docusaurus/utils-common" "3.0.1" + "@docusaurus/utils-validation" "3.0.1" + "@slorber/static-site-generator-webpack-plugin" "^4.0.7" + "@svgr/webpack" "^6.5.1" + autoprefixer "^10.4.14" + babel-loader "^9.1.3" + babel-plugin-dynamic-import-node "^2.3.3" + boxen "^6.2.1" + chalk "^4.1.2" + chokidar "^3.5.3" + clean-css "^5.3.2" + cli-table3 "^0.6.3" + combine-promises "^1.1.0" + commander "^5.1.0" + copy-webpack-plugin "^11.0.0" + core-js "^3.31.1" + css-loader "^6.8.1" + css-minimizer-webpack-plugin "^4.2.2" + cssnano "^5.1.15" + del "^6.1.1" + detect-port "^1.5.1" + escape-html "^1.0.3" + eta "^2.2.0" + file-loader "^6.2.0" + fs-extra "^11.1.1" + html-minifier-terser "^7.2.0" + html-tags "^3.3.1" + html-webpack-plugin "^5.5.3" + leven "^3.1.0" + lodash "^4.17.21" + mini-css-extract-plugin "^2.7.6" + postcss "^8.4.26" + postcss-loader "^7.3.3" + prompts "^2.4.2" + react-dev-utils "^12.0.1" + react-helmet-async "^1.3.0" + react-loadable "npm:@docusaurus/react-loadable@5.5.2" + react-loadable-ssr-addon-v5-slorber "^1.0.1" + react-router "^5.3.4" + react-router-config "^5.1.1" + react-router-dom "^5.3.4" + rtl-detect "^1.0.4" + semver "^7.5.4" + serve-handler "^6.1.5" + shelljs "^0.8.5" + terser-webpack-plugin "^5.3.9" + tslib "^2.6.0" + update-notifier "^6.0.2" + url-loader "^4.1.1" + webpack "^5.88.1" + webpack-bundle-analyzer "^4.9.0" + webpack-dev-server "^4.15.1" + webpack-merge "^5.9.0" + webpackbar "^5.0.2" + +"@docusaurus/cssnano-preset@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/cssnano-preset/-/cssnano-preset-3.0.1.tgz#22fbf2e97389e338747864baf011743846e8fd26" + integrity sha512-wjuXzkHMW+ig4BD6Ya1Yevx9UJadO4smNZCEljqBoQfIQrQskTswBs7lZ8InHP7mCt273a/y/rm36EZhqJhknQ== + dependencies: + cssnano-preset-advanced "^5.3.10" + postcss "^8.4.26" + postcss-sort-media-queries "^4.4.1" + tslib "^2.6.0" + +"@docusaurus/logger@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/logger/-/logger-3.0.1.tgz#06f512eef6c6ae4e2da63064257e01b1cdc41a82" + integrity sha512-I5L6Nk8OJzkVA91O2uftmo71LBSxe1vmOn9AMR6JRCzYeEBrqneWMH02AqMvjJ2NpMiviO+t0CyPjyYV7nxCWQ== + dependencies: + chalk "^4.1.2" + tslib "^2.6.0" + +"@docusaurus/mdx-loader@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/mdx-loader/-/mdx-loader-3.0.1.tgz#89f221e5bcc570983fd61d7ab56d6fbe36810b59" + integrity sha512-ldnTmvnvlrONUq45oKESrpy+lXtbnTcTsFkOTIDswe5xx5iWJjt6eSa0f99ZaWlnm24mlojcIGoUWNCS53qVlQ== + dependencies: + "@babel/parser" "^7.22.7" + "@babel/traverse" "^7.22.8" + "@docusaurus/logger" "3.0.1" + "@docusaurus/utils" "3.0.1" + "@docusaurus/utils-validation" "3.0.1" + "@mdx-js/mdx" "^3.0.0" + "@slorber/remark-comment" "^1.0.0" + escape-html "^1.0.3" + estree-util-value-to-estree "^3.0.1" + file-loader "^6.2.0" + fs-extra "^11.1.1" + image-size "^1.0.2" + mdast-util-mdx "^3.0.0" + mdast-util-to-string "^4.0.0" + rehype-raw "^7.0.0" + remark-directive "^3.0.0" + remark-emoji "^4.0.0" + remark-frontmatter "^5.0.0" + remark-gfm "^4.0.0" + stringify-object "^3.3.0" + tslib "^2.6.0" + unified "^11.0.3" + unist-util-visit "^5.0.0" + url-loader "^4.1.1" + vfile "^6.0.1" + webpack "^5.88.1" + +"@docusaurus/module-type-aliases@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/module-type-aliases/-/module-type-aliases-3.0.1.tgz#d45990fe377d7ffaa68841cf89401188a5d65293" + integrity sha512-DEHpeqUDsLynl3AhQQiO7AbC7/z/lBra34jTcdYuvp9eGm01pfH1wTVq8YqWZq6Jyx0BgcVl/VJqtE9StRd9Ag== + dependencies: + "@docusaurus/react-loadable" "5.5.2" + "@docusaurus/types" "3.0.1" + "@types/history" "^4.7.11" + "@types/react" "*" + "@types/react-router-config" "*" + "@types/react-router-dom" "*" + react-helmet-async "*" + react-loadable "npm:@docusaurus/react-loadable@5.5.2" + +"@docusaurus/plugin-content-blog@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/plugin-content-blog/-/plugin-content-blog-3.0.1.tgz#dee6147187c2d8b634252444d60312d12c9571a6" + integrity sha512-cLOvtvAyaMQFLI8vm4j26svg3ktxMPSXpuUJ7EERKoGbfpJSsgtowNHcRsaBVmfuCsRSk1HZ/yHBsUkTmHFEsg== + dependencies: + "@docusaurus/core" "3.0.1" + "@docusaurus/logger" "3.0.1" + "@docusaurus/mdx-loader" "3.0.1" + "@docusaurus/types" "3.0.1" + "@docusaurus/utils" "3.0.1" + "@docusaurus/utils-common" "3.0.1" + "@docusaurus/utils-validation" "3.0.1" + cheerio "^1.0.0-rc.12" + feed "^4.2.2" + fs-extra "^11.1.1" + lodash "^4.17.21" + reading-time "^1.5.0" + srcset "^4.0.0" + tslib "^2.6.0" + unist-util-visit "^5.0.0" + utility-types "^3.10.0" + webpack "^5.88.1" + +"@docusaurus/plugin-content-docs@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/plugin-content-docs/-/plugin-content-docs-3.0.1.tgz#d9b1884562186573d5c4521ac3546b68512c1126" + integrity sha512-dRfAOA5Ivo+sdzzJGXEu33yAtvGg8dlZkvt/NEJ7nwi1F2j4LEdsxtfX2GKeETB2fP6XoGNSQnFXqa2NYGrHFg== + dependencies: + "@docusaurus/core" "3.0.1" + "@docusaurus/logger" "3.0.1" + "@docusaurus/mdx-loader" "3.0.1" + "@docusaurus/module-type-aliases" "3.0.1" + "@docusaurus/types" "3.0.1" + "@docusaurus/utils" "3.0.1" + "@docusaurus/utils-validation" "3.0.1" + "@types/react-router-config" "^5.0.7" + combine-promises "^1.1.0" + fs-extra "^11.1.1" + js-yaml "^4.1.0" + lodash "^4.17.21" + tslib "^2.6.0" + utility-types "^3.10.0" + webpack "^5.88.1" + +"@docusaurus/plugin-content-pages@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/plugin-content-pages/-/plugin-content-pages-3.0.1.tgz#27e6424c77173f867760efe53f848bbab8849ea6" + integrity sha512-oP7PoYizKAXyEttcvVzfX3OoBIXEmXTMzCdfmC4oSwjG4SPcJsRge3mmI6O8jcZBgUPjIzXD21bVGWEE1iu8gg== + dependencies: + "@docusaurus/core" "3.0.1" + "@docusaurus/mdx-loader" "3.0.1" + "@docusaurus/types" "3.0.1" + "@docusaurus/utils" "3.0.1" + "@docusaurus/utils-validation" "3.0.1" + fs-extra "^11.1.1" + tslib "^2.6.0" + webpack "^5.88.1" + +"@docusaurus/plugin-debug@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/plugin-debug/-/plugin-debug-3.0.1.tgz#886b5dd03c066e970484ca251c1b79613df90700" + integrity sha512-09dxZMdATky4qdsZGzhzlUvvC+ilQ2hKbYF+wez+cM2mGo4qHbv8+qKXqxq0CQZyimwlAOWQLoSozIXU0g0i7g== + dependencies: + "@docusaurus/core" "3.0.1" + "@docusaurus/types" "3.0.1" + "@docusaurus/utils" "3.0.1" + fs-extra "^11.1.1" + react-json-view-lite "^1.2.0" + tslib "^2.6.0" + +"@docusaurus/plugin-google-analytics@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/plugin-google-analytics/-/plugin-google-analytics-3.0.1.tgz#ec69902131ea3aad8b062eeb1d17bf0962986f80" + integrity sha512-jwseSz1E+g9rXQwDdr0ZdYNjn8leZBnKPjjQhMBEiwDoenL3JYFcNW0+p0sWoVF/f2z5t7HkKA+cYObrUh18gg== + dependencies: + "@docusaurus/core" "3.0.1" + "@docusaurus/types" "3.0.1" + "@docusaurus/utils-validation" "3.0.1" + tslib "^2.6.0" + +"@docusaurus/plugin-google-gtag@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/plugin-google-gtag/-/plugin-google-gtag-3.0.1.tgz#bb5526377d3a324ebec235127846fda386562b05" + integrity sha512-UFTDvXniAWrajsulKUJ1DB6qplui1BlKLQZjX4F7qS/qfJ+qkKqSkhJ/F4VuGQ2JYeZstYb+KaUzUzvaPK1aRQ== + dependencies: + "@docusaurus/core" "3.0.1" + "@docusaurus/types" "3.0.1" + "@docusaurus/utils-validation" "3.0.1" + "@types/gtag.js" "^0.0.12" + tslib "^2.6.0" + +"@docusaurus/plugin-google-tag-manager@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/plugin-google-tag-manager/-/plugin-google-tag-manager-3.0.1.tgz#4e36d13279cf90c2614b62438aa1109dd4696ec8" + integrity sha512-IPFvuz83aFuheZcWpTlAdiiX1RqWIHM+OH8wS66JgwAKOiQMR3+nLywGjkLV4bp52x7nCnwhNk1rE85Cpy/CIw== + dependencies: + "@docusaurus/core" "3.0.1" + "@docusaurus/types" "3.0.1" + "@docusaurus/utils-validation" "3.0.1" + tslib "^2.6.0" + +"@docusaurus/plugin-sitemap@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/plugin-sitemap/-/plugin-sitemap-3.0.1.tgz#ab55857e90d4500f892e110b30e4bc3289202bd4" + integrity sha512-xARiWnjtVvoEniZudlCq5T9ifnhCu/GAZ5nA7XgyLfPcNpHQa241HZdsTlLtVcecEVVdllevBKOp7qknBBaMGw== + dependencies: + "@docusaurus/core" "3.0.1" + "@docusaurus/logger" "3.0.1" + "@docusaurus/types" "3.0.1" + "@docusaurus/utils" "3.0.1" + "@docusaurus/utils-common" "3.0.1" + "@docusaurus/utils-validation" "3.0.1" + fs-extra "^11.1.1" + sitemap "^7.1.1" + tslib "^2.6.0" + +"@docusaurus/preset-classic@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/preset-classic/-/preset-classic-3.0.1.tgz#d363ac837bba967095ed2a896d13c54f3717d6b5" + integrity sha512-il9m9xZKKjoXn6h0cRcdnt6wce0Pv1y5t4xk2Wx7zBGhKG1idu4IFHtikHlD0QPuZ9fizpXspXcTzjL5FXc1Gw== + dependencies: + "@docusaurus/core" "3.0.1" + "@docusaurus/plugin-content-blog" "3.0.1" + "@docusaurus/plugin-content-docs" "3.0.1" + "@docusaurus/plugin-content-pages" "3.0.1" + "@docusaurus/plugin-debug" "3.0.1" + "@docusaurus/plugin-google-analytics" "3.0.1" + "@docusaurus/plugin-google-gtag" "3.0.1" + "@docusaurus/plugin-google-tag-manager" "3.0.1" + "@docusaurus/plugin-sitemap" "3.0.1" + "@docusaurus/theme-classic" "3.0.1" + "@docusaurus/theme-common" "3.0.1" + "@docusaurus/theme-search-algolia" "3.0.1" + "@docusaurus/types" "3.0.1" + +"@docusaurus/react-loadable@5.5.2", "react-loadable@npm:@docusaurus/react-loadable@5.5.2": + version "5.5.2" + resolved "https://registry.npmmirror.com/@docusaurus/react-loadable/-/react-loadable-5.5.2.tgz#81aae0db81ecafbdaee3651f12804580868fa6ce" + integrity sha512-A3dYjdBGuy0IGT+wyLIGIKLRE+sAk1iNk0f1HjNDysO7u8lhL4N3VEm+FAubmJbAztn94F7MxBTPmnixbiyFdQ== + dependencies: + "@types/react" "*" + prop-types "^15.6.2" + +"@docusaurus/theme-classic@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/theme-classic/-/theme-classic-3.0.1.tgz#3ba4dc77553d2c1608e433c0d01bed7c6db14eb9" + integrity sha512-XD1FRXaJiDlmYaiHHdm27PNhhPboUah9rqIH0lMpBt5kYtsGjJzhqa27KuZvHLzOP2OEpqd2+GZ5b6YPq7Q05Q== + dependencies: + "@docusaurus/core" "3.0.1" + "@docusaurus/mdx-loader" "3.0.1" + "@docusaurus/module-type-aliases" "3.0.1" + "@docusaurus/plugin-content-blog" "3.0.1" + "@docusaurus/plugin-content-docs" "3.0.1" + "@docusaurus/plugin-content-pages" "3.0.1" + "@docusaurus/theme-common" "3.0.1" + "@docusaurus/theme-translations" "3.0.1" + "@docusaurus/types" "3.0.1" + "@docusaurus/utils" "3.0.1" + "@docusaurus/utils-common" "3.0.1" + "@docusaurus/utils-validation" "3.0.1" + "@mdx-js/react" "^3.0.0" + clsx "^2.0.0" + copy-text-to-clipboard "^3.2.0" + infima "0.2.0-alpha.43" + lodash "^4.17.21" + nprogress "^0.2.0" + postcss "^8.4.26" + prism-react-renderer "^2.3.0" + prismjs "^1.29.0" + react-router-dom "^5.3.4" + rtlcss "^4.1.0" + tslib "^2.6.0" + utility-types "^3.10.0" + +"@docusaurus/theme-common@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/theme-common/-/theme-common-3.0.1.tgz#29a5bcb286296a52bc10afa5308e360cbed6b49c" + integrity sha512-cr9TOWXuIOL0PUfuXv6L5lPlTgaphKP+22NdVBOYah5jSq5XAAulJTjfe+IfLsEG4L7lJttLbhW7LXDFSAI7Ag== + dependencies: + "@docusaurus/mdx-loader" "3.0.1" + "@docusaurus/module-type-aliases" "3.0.1" + "@docusaurus/plugin-content-blog" "3.0.1" + "@docusaurus/plugin-content-docs" "3.0.1" + "@docusaurus/plugin-content-pages" "3.0.1" + "@docusaurus/utils" "3.0.1" + "@docusaurus/utils-common" "3.0.1" + "@types/history" "^4.7.11" + "@types/react" "*" + "@types/react-router-config" "*" + clsx "^2.0.0" + parse-numeric-range "^1.3.0" + prism-react-renderer "^2.3.0" + tslib "^2.6.0" + utility-types "^3.10.0" + +"@docusaurus/theme-search-algolia@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/theme-search-algolia/-/theme-search-algolia-3.0.1.tgz#d8fb6bddca8d8355e4706c4c7d30d3b800217cf4" + integrity sha512-DDiPc0/xmKSEdwFkXNf1/vH1SzJPzuJBar8kMcBbDAZk/SAmo/4lf6GU2drou4Ae60lN2waix+jYWTWcJRahSA== + dependencies: + "@docsearch/react" "^3.5.2" + "@docusaurus/core" "3.0.1" + "@docusaurus/logger" "3.0.1" + "@docusaurus/plugin-content-docs" "3.0.1" + "@docusaurus/theme-common" "3.0.1" + "@docusaurus/theme-translations" "3.0.1" + "@docusaurus/utils" "3.0.1" + "@docusaurus/utils-validation" "3.0.1" + algoliasearch "^4.18.0" + algoliasearch-helper "^3.13.3" + clsx "^2.0.0" + eta "^2.2.0" + fs-extra "^11.1.1" + lodash "^4.17.21" + tslib "^2.6.0" + utility-types "^3.10.0" + +"@docusaurus/theme-translations@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/theme-translations/-/theme-translations-3.0.1.tgz#837a01a166ccd698a3eceaed0c2f798555bc024b" + integrity sha512-6UrbpzCTN6NIJnAtZ6Ne9492vmPVX+7Fsz4kmp+yor3KQwA1+MCzQP7ItDNkP38UmVLnvB/cYk/IvehCUqS3dg== + dependencies: + fs-extra "^11.1.1" + tslib "^2.6.0" + +"@docusaurus/types@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/types/-/types-3.0.1.tgz#4fe306aa10ef7c97dbc07588864f6676a40f3b6f" + integrity sha512-plyX2iU1tcUsF46uQ01pAd4JhexR7n0iiQ5MSnBFX6M6NSJgDYdru/i1/YNPKOnQHBoXGLHv0dNT6OAlDWNjrg== + dependencies: + "@types/history" "^4.7.11" + "@types/react" "*" + commander "^5.1.0" + joi "^17.9.2" + react-helmet-async "^1.3.0" + utility-types "^3.10.0" + webpack "^5.88.1" + webpack-merge "^5.9.0" + +"@docusaurus/utils-common@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/utils-common/-/utils-common-3.0.1.tgz#111f450089d5f0a290c0c25f8a574a270d08436f" + integrity sha512-W0AxD6w6T8g6bNro8nBRWf7PeZ/nn7geEWM335qHU2DDDjHuV4UZjgUGP1AQsdcSikPrlIqTJJbKzer1lRSlIg== + dependencies: + tslib "^2.6.0" + +"@docusaurus/utils-validation@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/utils-validation/-/utils-validation-3.0.1.tgz#3c5f12941b328a19fc9acb34d070219f3e865ec6" + integrity sha512-ujTnqSfyGQ7/4iZdB4RRuHKY/Nwm58IIb+41s5tCXOv/MBU2wGAjOHq3U+AEyJ8aKQcHbxvTKJaRchNHYUVUQg== + dependencies: + "@docusaurus/logger" "3.0.1" + "@docusaurus/utils" "3.0.1" + joi "^17.9.2" + js-yaml "^4.1.0" + tslib "^2.6.0" + +"@docusaurus/utils@3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@docusaurus/utils/-/utils-3.0.1.tgz#c64f68980a90c5bc6d53a5b8f32deb9026b1e303" + integrity sha512-TwZ33Am0q4IIbvjhUOs+zpjtD/mXNmLmEgeTGuRq01QzulLHuPhaBTTAC/DHu6kFx3wDgmgpAlaRuCHfTcXv8g== + dependencies: + "@docusaurus/logger" "3.0.1" + "@svgr/webpack" "^6.5.1" + escape-string-regexp "^4.0.0" + file-loader "^6.2.0" + fs-extra "^11.1.1" + github-slugger "^1.5.0" + globby "^11.1.0" + gray-matter "^4.0.3" + jiti "^1.20.0" + js-yaml "^4.1.0" + lodash "^4.17.21" + micromatch "^4.0.5" + resolve-pathname "^3.0.0" + shelljs "^0.8.5" + tslib "^2.6.0" + url-loader "^4.1.1" + webpack "^5.88.1" + +"@hapi/hoek@^9.0.0": + version "9.3.0" + resolved "https://registry.npmmirror.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb" + integrity sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ== + +"@hapi/topo@^5.0.0": + version "5.1.0" + resolved "https://registry.npmmirror.com/@hapi/topo/-/topo-5.1.0.tgz#dc448e332c6c6e37a4dc02fd84ba8d44b9afb012" + integrity sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg== + dependencies: + "@hapi/hoek" "^9.0.0" + +"@jest/schemas@^29.6.3": + version "29.6.3" + resolved "https://registry.npmmirror.com/@jest/schemas/-/schemas-29.6.3.tgz#430b5ce8a4e0044a7e3819663305a7b3091c8e03" + integrity sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA== + dependencies: + "@sinclair/typebox" "^0.27.8" + +"@jest/types@^29.6.3": + version "29.6.3" + resolved "https://registry.npmmirror.com/@jest/types/-/types-29.6.3.tgz#1131f8cf634e7e84c5e77bab12f052af585fba59" + integrity sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw== + dependencies: + "@jest/schemas" "^29.6.3" + "@types/istanbul-lib-coverage" "^2.0.0" + "@types/istanbul-reports" "^3.0.0" + "@types/node" "*" + "@types/yargs" "^17.0.8" + chalk "^4.0.0" + +"@jridgewell/gen-mapping@^0.3.0", "@jridgewell/gen-mapping@^0.3.2": + version "0.3.3" + resolved "https://registry.npmmirror.com/@jridgewell/gen-mapping/-/gen-mapping-0.3.3.tgz#7e02e6eb5df901aaedb08514203b096614024098" + integrity sha512-HLhSWOLRi875zjjMG/r+Nv0oCW8umGb0BgEhyX3dDX3egwZtB8PqLnjz3yedt8R5StBrzcg4aBpnh8UA9D1BoQ== + dependencies: + "@jridgewell/set-array" "^1.0.1" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/resolve-uri@^3.1.0": + version "3.1.1" + resolved "https://registry.npmmirror.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.1.tgz#c08679063f279615a3326583ba3a90d1d82cc721" + integrity sha512-dSYZh7HhCDtCKm4QakX0xFpsRDqjjtZf/kjI/v3T3Nwt5r8/qz/M19F9ySyOqU94SXBmeG9ttTul+YnR4LOxFA== + +"@jridgewell/set-array@^1.0.1": + version "1.1.2" + resolved "https://registry.npmmirror.com/@jridgewell/set-array/-/set-array-1.1.2.tgz#7c6cf998d6d20b914c0a55a91ae928ff25965e72" + integrity sha512-xnkseuNADM0gt2bs+BvhO0p78Mk762YnZdsuzFV018NoG1Sj1SCQvpSqa7XUaTam5vAGasABV9qXASMKnFMwMw== + +"@jridgewell/source-map@^0.3.3": + version "0.3.5" + resolved "https://registry.npmmirror.com/@jridgewell/source-map/-/source-map-0.3.5.tgz#a3bb4d5c6825aab0d281268f47f6ad5853431e91" + integrity sha512-UTYAUj/wviwdsMfzoSJspJxbkH5o1snzwX0//0ENX1u/55kkZZkcTZP6u9bwKGkv+dkk9at4m1Cpt0uY80kcpQ== + dependencies: + "@jridgewell/gen-mapping" "^0.3.0" + "@jridgewell/trace-mapping" "^0.3.9" + +"@jridgewell/sourcemap-codec@^1.4.10", "@jridgewell/sourcemap-codec@^1.4.14": + version "1.4.15" + resolved "https://registry.npmmirror.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" + integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== + +"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": + version "0.3.20" + resolved "https://registry.npmmirror.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz#72e45707cf240fa6b081d0366f8265b0cd10197f" + integrity sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q== + dependencies: + "@jridgewell/resolve-uri" "^3.1.0" + "@jridgewell/sourcemap-codec" "^1.4.14" + +"@leichtgewicht/ip-codec@^2.0.1": + version "2.0.4" + resolved "https://registry.npmmirror.com/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz#b2ac626d6cb9c8718ab459166d4bb405b8ffa78b" + integrity sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A== + +"@mdx-js/mdx@^3.0.0": + version "3.0.0" + resolved "https://registry.npmmirror.com/@mdx-js/mdx/-/mdx-3.0.0.tgz#37ef87685143fafedf1165f0a79e9fe95fbe5154" + integrity sha512-Icm0TBKBLYqroYbNW3BPnzMGn+7mwpQOK310aZ7+fkCtiU3aqv2cdcX+nd0Ydo3wI5Rx8bX2Z2QmGb/XcAClCw== + dependencies: + "@types/estree" "^1.0.0" + "@types/estree-jsx" "^1.0.0" + "@types/hast" "^3.0.0" + "@types/mdx" "^2.0.0" + collapse-white-space "^2.0.0" + devlop "^1.0.0" + estree-util-build-jsx "^3.0.0" + estree-util-is-identifier-name "^3.0.0" + estree-util-to-js "^2.0.0" + estree-walker "^3.0.0" + hast-util-to-estree "^3.0.0" + hast-util-to-jsx-runtime "^2.0.0" + markdown-extensions "^2.0.0" + periscopic "^3.0.0" + remark-mdx "^3.0.0" + remark-parse "^11.0.0" + remark-rehype "^11.0.0" + source-map "^0.7.0" + unified "^11.0.0" + unist-util-position-from-estree "^2.0.0" + unist-util-stringify-position "^4.0.0" + unist-util-visit "^5.0.0" + vfile "^6.0.0" + +"@mdx-js/react@^3.0.0": + version "3.0.0" + resolved "https://registry.npmmirror.com/@mdx-js/react/-/react-3.0.0.tgz#eaccaa8d6a7736b19080aff5a70448a7ba692271" + integrity sha512-nDctevR9KyYFyV+m+/+S4cpzCWHqj+iHDHq3QrsWezcC+B17uZdIWgCguESUkwFhM3n/56KxWVE3V6EokrmONQ== + dependencies: + "@types/mdx" "^2.0.0" + +"@nodelib/fs.scandir@2.1.5": + version "2.1.5" + resolved "https://registry.npmmirror.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== + dependencies: + "@nodelib/fs.stat" "2.0.5" + run-parallel "^1.1.9" + +"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": + version "2.0.5" + resolved "https://registry.npmmirror.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== + +"@nodelib/fs.walk@^1.2.3": + version "1.2.8" + resolved "https://registry.npmmirror.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== + dependencies: + "@nodelib/fs.scandir" "2.1.5" + fastq "^1.6.0" + +"@pnpm/config.env-replace@^1.1.0": + version "1.1.0" + resolved "https://registry.npmmirror.com/@pnpm/config.env-replace/-/config.env-replace-1.1.0.tgz#ab29da53df41e8948a00f2433f085f54de8b3a4c" + integrity sha512-htyl8TWnKL7K/ESFa1oW2UB5lVDxuF5DpM7tBi6Hu2LNL3mWkIzNLG6N4zoCUP1lCKNxWy/3iu8mS8MvToGd6w== + +"@pnpm/network.ca-file@^1.0.1": + version "1.0.2" + resolved "https://registry.npmmirror.com/@pnpm/network.ca-file/-/network.ca-file-1.0.2.tgz#2ab05e09c1af0cdf2fcf5035bea1484e222f7983" + integrity sha512-YcPQ8a0jwYU9bTdJDpXjMi7Brhkr1mXsXrUJvjqM2mQDgkRiz8jFaQGOdaLxgjtUfQgZhKy/O3cG/YwmgKaxLA== + dependencies: + graceful-fs "4.2.10" + +"@pnpm/npm-conf@^2.1.0": + version "2.2.2" + resolved "https://registry.npmmirror.com/@pnpm/npm-conf/-/npm-conf-2.2.2.tgz#0058baf1c26cbb63a828f0193795401684ac86f0" + integrity sha512-UA91GwWPhFExt3IizW6bOeY/pQ0BkuNwKjk9iQW9KqxluGCrg4VenZ0/L+2Y0+ZOtme72EVvg6v0zo3AMQRCeA== + dependencies: + "@pnpm/config.env-replace" "^1.1.0" + "@pnpm/network.ca-file" "^1.0.1" + config-chain "^1.1.11" + +"@polka/url@^1.0.0-next.24": + version "1.0.0-next.24" + resolved "https://registry.npmmirror.com/@polka/url/-/url-1.0.0-next.24.tgz#58601079e11784d20f82d0585865bb42305c4df3" + integrity sha512-2LuNTFBIO0m7kKIQvvPHN6UE63VjpmL9rnEEaOOaiSPbZK+zUOYIzBAWcED+3XYzhYsd/0mD57VdxAEqqV52CQ== + +"@sideway/address@^4.1.3": + version "4.1.4" + resolved "https://registry.npmmirror.com/@sideway/address/-/address-4.1.4.tgz#03dccebc6ea47fdc226f7d3d1ad512955d4783f0" + integrity sha512-7vwq+rOHVWjyXxVlR76Agnvhy8I9rpzjosTESvmhNeXOXdZZB15Fl+TI9x1SiHZH5Jv2wTGduSxFDIaq0m3DUw== + dependencies: + "@hapi/hoek" "^9.0.0" + +"@sideway/formula@^3.0.1": + version "3.0.1" + resolved "https://registry.npmmirror.com/@sideway/formula/-/formula-3.0.1.tgz#80fcbcbaf7ce031e0ef2dd29b1bfc7c3f583611f" + integrity sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg== + +"@sideway/pinpoint@^2.0.0": + version "2.0.0" + resolved "https://registry.npmmirror.com/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df" + integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ== + +"@sinclair/typebox@^0.27.8": + version "0.27.8" + resolved "https://registry.npmmirror.com/@sinclair/typebox/-/typebox-0.27.8.tgz#6667fac16c436b5434a387a34dedb013198f6e6e" + integrity sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA== + +"@sindresorhus/is@^4.6.0": + version "4.6.0" + resolved "https://registry.npmmirror.com/@sindresorhus/is/-/is-4.6.0.tgz#3c7c9c46e678feefe7a2e5bb609d3dbd665ffb3f" + integrity sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw== + +"@sindresorhus/is@^5.2.0": + version "5.6.0" + resolved "https://registry.npmmirror.com/@sindresorhus/is/-/is-5.6.0.tgz#41dd6093d34652cddb5d5bdeee04eafc33826668" + integrity sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g== + +"@slorber/remark-comment@^1.0.0": + version "1.0.0" + resolved "https://registry.npmmirror.com/@slorber/remark-comment/-/remark-comment-1.0.0.tgz#2a020b3f4579c89dec0361673206c28d67e08f5a" + integrity sha512-RCE24n7jsOj1M0UPvIQCHTe7fI0sFL4S2nwKVWwHyVr/wI/H8GosgsJGyhnsZoGFnD/P2hLf1mSbrrgSLN93NA== + dependencies: + micromark-factory-space "^1.0.0" + micromark-util-character "^1.1.0" + micromark-util-symbol "^1.0.1" + +"@slorber/static-site-generator-webpack-plugin@^4.0.7": + version "4.0.7" + resolved "https://registry.npmmirror.com/@slorber/static-site-generator-webpack-plugin/-/static-site-generator-webpack-plugin-4.0.7.tgz#fc1678bddefab014e2145cbe25b3ce4e1cfc36f3" + integrity sha512-Ug7x6z5lwrz0WqdnNFOMYrDQNTPAprvHLSh6+/fmml3qUiz6l5eq+2MzLKWtn/q5K5NpSiFsZTP/fck/3vjSxA== + dependencies: + eval "^0.1.8" + p-map "^4.0.0" + webpack-sources "^3.2.2" + +"@svgr/babel-plugin-add-jsx-attribute@^6.5.1": + version "6.5.1" + resolved "https://registry.npmmirror.com/@svgr/babel-plugin-add-jsx-attribute/-/babel-plugin-add-jsx-attribute-6.5.1.tgz#74a5d648bd0347bda99d82409d87b8ca80b9a1ba" + integrity sha512-9PYGcXrAxitycIjRmZB+Q0JaN07GZIWaTBIGQzfaZv+qr1n8X1XUEJ5rZ/vx6OVD9RRYlrNnXWExQXcmZeD/BQ== + +"@svgr/babel-plugin-remove-jsx-attribute@*": + version "8.0.0" + resolved "https://registry.npmmirror.com/@svgr/babel-plugin-remove-jsx-attribute/-/babel-plugin-remove-jsx-attribute-8.0.0.tgz#69177f7937233caca3a1afb051906698f2f59186" + integrity sha512-BcCkm/STipKvbCl6b7QFrMh/vx00vIP63k2eM66MfHJzPr6O2U0jYEViXkHJWqXqQYjdeA9cuCl5KWmlwjDvbA== + +"@svgr/babel-plugin-remove-jsx-empty-expression@*": + version "8.0.0" + resolved "https://registry.npmmirror.com/@svgr/babel-plugin-remove-jsx-empty-expression/-/babel-plugin-remove-jsx-empty-expression-8.0.0.tgz#c2c48104cfd7dcd557f373b70a56e9e3bdae1d44" + integrity sha512-5BcGCBfBxB5+XSDSWnhTThfI9jcO5f0Ai2V24gZpG+wXF14BzwxxdDb4g6trdOux0rhibGs385BeFMSmxtS3uA== + +"@svgr/babel-plugin-replace-jsx-attribute-value@^6.5.1": + version "6.5.1" + resolved "https://registry.npmmirror.com/@svgr/babel-plugin-replace-jsx-attribute-value/-/babel-plugin-replace-jsx-attribute-value-6.5.1.tgz#fb9d22ea26d2bc5e0a44b763d4c46d5d3f596c60" + integrity sha512-8DPaVVE3fd5JKuIC29dqyMB54sA6mfgki2H2+swh+zNJoynC8pMPzOkidqHOSc6Wj032fhl8Z0TVn1GiPpAiJg== + +"@svgr/babel-plugin-svg-dynamic-title@^6.5.1": + version "6.5.1" + resolved "https://registry.npmmirror.com/@svgr/babel-plugin-svg-dynamic-title/-/babel-plugin-svg-dynamic-title-6.5.1.tgz#01b2024a2b53ffaa5efceaa0bf3e1d5a4c520ce4" + integrity sha512-FwOEi0Il72iAzlkaHrlemVurgSQRDFbk0OC8dSvD5fSBPHltNh7JtLsxmZUhjYBZo2PpcU/RJvvi6Q0l7O7ogw== + +"@svgr/babel-plugin-svg-em-dimensions@^6.5.1": + version "6.5.1" + resolved "https://registry.npmmirror.com/@svgr/babel-plugin-svg-em-dimensions/-/babel-plugin-svg-em-dimensions-6.5.1.tgz#dd3fa9f5b24eb4f93bcf121c3d40ff5facecb217" + integrity sha512-gWGsiwjb4tw+ITOJ86ndY/DZZ6cuXMNE/SjcDRg+HLuCmwpcjOktwRF9WgAiycTqJD/QXqL2f8IzE2Rzh7aVXA== + +"@svgr/babel-plugin-transform-react-native-svg@^6.5.1": + version "6.5.1" + resolved "https://registry.npmmirror.com/@svgr/babel-plugin-transform-react-native-svg/-/babel-plugin-transform-react-native-svg-6.5.1.tgz#1d8e945a03df65b601551097d8f5e34351d3d305" + integrity sha512-2jT3nTayyYP7kI6aGutkyfJ7UMGtuguD72OjeGLwVNyfPRBD8zQthlvL+fAbAKk5n9ZNcvFkp/b1lZ7VsYqVJg== + +"@svgr/babel-plugin-transform-svg-component@^6.5.1": + version "6.5.1" + resolved "https://registry.npmmirror.com/@svgr/babel-plugin-transform-svg-component/-/babel-plugin-transform-svg-component-6.5.1.tgz#48620b9e590e25ff95a80f811544218d27f8a250" + integrity sha512-a1p6LF5Jt33O3rZoVRBqdxL350oge54iZWHNI6LJB5tQ7EelvD/Mb1mfBiZNAan0dt4i3VArkFRjA4iObuNykQ== + +"@svgr/babel-preset@^6.5.1": + version "6.5.1" + resolved "https://registry.npmmirror.com/@svgr/babel-preset/-/babel-preset-6.5.1.tgz#b90de7979c8843c5c580c7e2ec71f024b49eb828" + integrity sha512-6127fvO/FF2oi5EzSQOAjo1LE3OtNVh11R+/8FXa+mHx1ptAaS4cknIjnUA7e6j6fwGGJ17NzaTJFUwOV2zwCw== + dependencies: + "@svgr/babel-plugin-add-jsx-attribute" "^6.5.1" + "@svgr/babel-plugin-remove-jsx-attribute" "*" + "@svgr/babel-plugin-remove-jsx-empty-expression" "*" + "@svgr/babel-plugin-replace-jsx-attribute-value" "^6.5.1" + "@svgr/babel-plugin-svg-dynamic-title" "^6.5.1" + "@svgr/babel-plugin-svg-em-dimensions" "^6.5.1" + "@svgr/babel-plugin-transform-react-native-svg" "^6.5.1" + "@svgr/babel-plugin-transform-svg-component" "^6.5.1" + +"@svgr/core@^6.5.1": + version "6.5.1" + resolved "https://registry.npmmirror.com/@svgr/core/-/core-6.5.1.tgz#d3e8aa9dbe3fbd747f9ee4282c1c77a27410488a" + integrity sha512-/xdLSWxK5QkqG524ONSjvg3V/FkNyCv538OIBdQqPNaAta3AsXj/Bd2FbvR87yMbXO2hFSWiAe/Q6IkVPDw+mw== + dependencies: + "@babel/core" "^7.19.6" + "@svgr/babel-preset" "^6.5.1" + "@svgr/plugin-jsx" "^6.5.1" + camelcase "^6.2.0" + cosmiconfig "^7.0.1" + +"@svgr/hast-util-to-babel-ast@^6.5.1": + version "6.5.1" + resolved "https://registry.npmmirror.com/@svgr/hast-util-to-babel-ast/-/hast-util-to-babel-ast-6.5.1.tgz#81800bd09b5bcdb968bf6ee7c863d2288fdb80d2" + integrity sha512-1hnUxxjd83EAxbL4a0JDJoD3Dao3hmjvyvyEV8PzWmLK3B9m9NPlW7GKjFyoWE8nM7HnXzPcmmSyOW8yOddSXw== + dependencies: + "@babel/types" "^7.20.0" + entities "^4.4.0" + +"@svgr/plugin-jsx@^6.5.1": + version "6.5.1" + resolved "https://registry.npmmirror.com/@svgr/plugin-jsx/-/plugin-jsx-6.5.1.tgz#0e30d1878e771ca753c94e69581c7971542a7072" + integrity sha512-+UdQxI3jgtSjCykNSlEMuy1jSRQlGC7pqBCPvkG/2dATdWo082zHTTK3uhnAju2/6XpE6B5mZ3z4Z8Ns01S8Gw== + dependencies: + "@babel/core" "^7.19.6" + "@svgr/babel-preset" "^6.5.1" + "@svgr/hast-util-to-babel-ast" "^6.5.1" + svg-parser "^2.0.4" + +"@svgr/plugin-svgo@^6.5.1": + version "6.5.1" + resolved "https://registry.npmmirror.com/@svgr/plugin-svgo/-/plugin-svgo-6.5.1.tgz#0f91910e988fc0b842f88e0960c2862e022abe84" + integrity sha512-omvZKf8ixP9z6GWgwbtmP9qQMPX4ODXi+wzbVZgomNFsUIlHA1sf4fThdwTWSsZGgvGAG6yE+b/F5gWUkcZ/iQ== + dependencies: + cosmiconfig "^7.0.1" + deepmerge "^4.2.2" + svgo "^2.8.0" + +"@svgr/webpack@^6.5.1": + version "6.5.1" + resolved "https://registry.npmmirror.com/@svgr/webpack/-/webpack-6.5.1.tgz#ecf027814fc1cb2decc29dc92f39c3cf691e40e8" + integrity sha512-cQ/AsnBkXPkEK8cLbv4Dm7JGXq2XrumKnL1dRpJD9rIO2fTIlJI9a1uCciYG1F2aUsox/hJQyNGbt3soDxSRkA== + dependencies: + "@babel/core" "^7.19.6" + "@babel/plugin-transform-react-constant-elements" "^7.18.12" + "@babel/preset-env" "^7.19.4" + "@babel/preset-react" "^7.18.6" + "@babel/preset-typescript" "^7.18.6" + "@svgr/core" "^6.5.1" + "@svgr/plugin-jsx" "^6.5.1" + "@svgr/plugin-svgo" "^6.5.1" + +"@szmarczak/http-timer@^5.0.1": + version "5.0.1" + resolved "https://registry.npmmirror.com/@szmarczak/http-timer/-/http-timer-5.0.1.tgz#c7c1bf1141cdd4751b0399c8fc7b8b664cd5be3a" + integrity sha512-+PmQX0PiAYPMeVYe237LJAYvOMYW1j2rH5YROyS3b4CTVJum34HfRvKvAzozHAQG0TnHNdUfY9nCeUyRAs//cw== + dependencies: + defer-to-connect "^2.0.1" + +"@trysound/sax@0.2.0": + version "0.2.0" + resolved "https://registry.npmmirror.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" + integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== + +"@types/acorn@^4.0.0": + version "4.0.6" + resolved "https://registry.npmmirror.com/@types/acorn/-/acorn-4.0.6.tgz#d61ca5480300ac41a7d973dd5b84d0a591154a22" + integrity sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ== + dependencies: + "@types/estree" "*" + +"@types/body-parser@*": + version "1.19.5" + resolved "https://registry.npmmirror.com/@types/body-parser/-/body-parser-1.19.5.tgz#04ce9a3b677dc8bd681a17da1ab9835dc9d3ede4" + integrity sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg== + dependencies: + "@types/connect" "*" + "@types/node" "*" + +"@types/bonjour@^3.5.9": + version "3.5.13" + resolved "https://registry.npmmirror.com/@types/bonjour/-/bonjour-3.5.13.tgz#adf90ce1a105e81dd1f9c61fdc5afda1bfb92956" + integrity sha512-z9fJ5Im06zvUL548KvYNecEVlA7cVDkGUi6kZusb04mpyEFKCIZJvloCcmpmLaIahDpOQGHaHmG6imtPMmPXGQ== + dependencies: + "@types/node" "*" + +"@types/connect-history-api-fallback@^1.3.5": + version "1.5.4" + resolved "https://registry.npmmirror.com/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.5.4.tgz#7de71645a103056b48ac3ce07b3520b819c1d5b3" + integrity sha512-n6Cr2xS1h4uAulPRdlw6Jl6s1oG8KrVilPN2yUITEs+K48EzMJJ3W1xy8K5eWuFvjp3R74AOIGSmp2UfBJ8HFw== + dependencies: + "@types/express-serve-static-core" "*" + "@types/node" "*" + +"@types/connect@*": + version "3.4.38" + resolved "https://registry.npmmirror.com/@types/connect/-/connect-3.4.38.tgz#5ba7f3bc4fbbdeaff8dded952e5ff2cc53f8d858" + integrity sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug== + dependencies: + "@types/node" "*" + +"@types/debug@^4.0.0": + version "4.1.12" + resolved "https://registry.npmmirror.com/@types/debug/-/debug-4.1.12.tgz#a155f21690871953410df4b6b6f53187f0500917" + integrity sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ== + dependencies: + "@types/ms" "*" + +"@types/eslint-scope@^3.7.3": + version "3.7.7" + resolved "https://registry.npmmirror.com/@types/eslint-scope/-/eslint-scope-3.7.7.tgz#3108bd5f18b0cdb277c867b3dd449c9ed7079ac5" + integrity sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg== + dependencies: + "@types/eslint" "*" + "@types/estree" "*" + +"@types/eslint@*": + version "8.56.0" + resolved "https://registry.npmmirror.com/@types/eslint/-/eslint-8.56.0.tgz#e28d045b8e530a33c9cbcfbf02332df0d1380a2c" + integrity sha512-FlsN0p4FhuYRjIxpbdXovvHQhtlG05O1GG/RNWvdAxTboR438IOTwmrY/vLA+Xfgg06BTkP045M3vpFwTMv1dg== + dependencies: + "@types/estree" "*" + "@types/json-schema" "*" + +"@types/estree-jsx@^1.0.0": + version "1.0.3" + resolved "https://registry.npmmirror.com/@types/estree-jsx/-/estree-jsx-1.0.3.tgz#f8aa833ec986d82b8271a294a92ed1565bf2c66a" + integrity sha512-pvQ+TKeRHeiUGRhvYwRrQ/ISnohKkSJR14fT2yqyZ4e9K5vqc7hrtY2Y1Dw0ZwAzQ6DQsxsaCUuSIIi8v0Cq6w== + dependencies: + "@types/estree" "*" + +"@types/estree@*", "@types/estree@^1.0.0": + version "1.0.5" + resolved "https://registry.npmmirror.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4" + integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw== + +"@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.33": + version "4.17.41" + resolved "https://registry.npmmirror.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.41.tgz#5077defa630c2e8d28aa9ffc2c01c157c305bef6" + integrity sha512-OaJ7XLaelTgrvlZD8/aa0vvvxZdUmlCn6MtWeB7TkiKW70BQLc9XEPpDLPdbo52ZhXUCrznlWdCHWxJWtdyajA== + dependencies: + "@types/node" "*" + "@types/qs" "*" + "@types/range-parser" "*" + "@types/send" "*" + +"@types/express@*", "@types/express@^4.17.13": + version "4.17.21" + resolved "https://registry.npmmirror.com/@types/express/-/express-4.17.21.tgz#c26d4a151e60efe0084b23dc3369ebc631ed192d" + integrity sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ== + dependencies: + "@types/body-parser" "*" + "@types/express-serve-static-core" "^4.17.33" + "@types/qs" "*" + "@types/serve-static" "*" + +"@types/gtag.js@^0.0.12": + version "0.0.12" + resolved "https://registry.npmmirror.com/@types/gtag.js/-/gtag.js-0.0.12.tgz#095122edca896689bdfcdd73b057e23064d23572" + integrity sha512-YQV9bUsemkzG81Ea295/nF/5GijnD2Af7QhEofh7xu+kvCN6RdodgNwwGWXB5GMI3NoyvQo0odNctoH/qLMIpg== + +"@types/hast@^3.0.0": + version "3.0.3" + resolved "https://registry.npmmirror.com/@types/hast/-/hast-3.0.3.tgz#7f75e6b43bc3f90316046a287d9ad3888309f7e1" + integrity sha512-2fYGlaDy/qyLlhidX42wAH0KBi2TCjKMH8CHmBXgRlJ3Y+OXTiqsPQ6IWarZKwF1JoUcAJdPogv1d4b0COTpmQ== + dependencies: + "@types/unist" "*" + +"@types/history@^4.7.11": + version "4.7.11" + resolved "https://registry.npmmirror.com/@types/history/-/history-4.7.11.tgz#56588b17ae8f50c53983a524fc3cc47437969d64" + integrity sha512-qjDJRrmvBMiTx+jyLxvLfJU7UznFuokDv4f3WRuriHKERccVpFU+8XMQUAbDzoiJCsmexxRExQeMwwCdamSKDA== + +"@types/html-minifier-terser@^6.0.0": + version "6.1.0" + resolved "https://registry.npmmirror.com/@types/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz#4fc33a00c1d0c16987b1a20cf92d20614c55ac35" + integrity sha512-oh/6byDPnL1zeNXFrDXFLyZjkr1MsBG667IM792caf1L2UPOOMf65NFzjUH/ltyfwjAGfs1rsX1eftK0jC/KIg== + +"@types/http-cache-semantics@^4.0.2": + version "4.0.4" + resolved "https://registry.npmmirror.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz#b979ebad3919799c979b17c72621c0bc0a31c6c4" + integrity sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA== + +"@types/http-errors@*": + version "2.0.4" + resolved "https://registry.npmmirror.com/@types/http-errors/-/http-errors-2.0.4.tgz#7eb47726c391b7345a6ec35ad7f4de469cf5ba4f" + integrity sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA== + +"@types/http-proxy@^1.17.8": + version "1.17.14" + resolved "https://registry.npmmirror.com/@types/http-proxy/-/http-proxy-1.17.14.tgz#57f8ccaa1c1c3780644f8a94f9c6b5000b5e2eec" + integrity sha512-SSrD0c1OQzlFX7pGu1eXxSEjemej64aaNPRhhVYUGqXh0BtldAAx37MG8btcumvpgKyZp1F5Gn3JkktdxiFv6w== + dependencies: + "@types/node" "*" + +"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0": + version "2.0.6" + resolved "https://registry.npmmirror.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz#7739c232a1fee9b4d3ce8985f314c0c6d33549d7" + integrity sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w== + +"@types/istanbul-lib-report@*": + version "3.0.3" + resolved "https://registry.npmmirror.com/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz#53047614ae72e19fc0401d872de3ae2b4ce350bf" + integrity sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA== + dependencies: + "@types/istanbul-lib-coverage" "*" + +"@types/istanbul-reports@^3.0.0": + version "3.0.4" + resolved "https://registry.npmmirror.com/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz#0f03e3d2f670fbdac586e34b433783070cc16f54" + integrity sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ== + dependencies: + "@types/istanbul-lib-report" "*" + +"@types/json-schema@*", "@types/json-schema@^7.0.4", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": + version "7.0.15" + resolved "https://registry.npmmirror.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" + integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== + +"@types/mdast@^4.0.0", "@types/mdast@^4.0.2": + version "4.0.3" + resolved "https://registry.npmmirror.com/@types/mdast/-/mdast-4.0.3.tgz#1e011ff013566e919a4232d1701ad30d70cab333" + integrity sha512-LsjtqsyF+d2/yFOYaN22dHZI1Cpwkrj+g06G8+qtUKlhovPW89YhqSnfKtMbkgmEtYpH2gydRNULd6y8mciAFg== + dependencies: + "@types/unist" "*" + +"@types/mdx@^2.0.0": + version "2.0.10" + resolved "https://registry.npmmirror.com/@types/mdx/-/mdx-2.0.10.tgz#0d7b57fb1d83e27656156e4ee0dfba96532930e4" + integrity sha512-Rllzc5KHk0Al5/WANwgSPl1/CwjqCy+AZrGd78zuK+jO9aDM6ffblZ+zIjgPNAaEBmlO0RYDvLNh7wD0zKVgEg== + +"@types/mime@*": + version "3.0.4" + resolved "https://registry.npmmirror.com/@types/mime/-/mime-3.0.4.tgz#2198ac274de6017b44d941e00261d5bc6a0e0a45" + integrity sha512-iJt33IQnVRkqeqC7PzBHPTC6fDlRNRW8vjrgqtScAhrmMwe8c4Eo7+fUGTa+XdWrpEgpyKWMYmi2dIwMAYRzPw== + +"@types/mime@^1": + version "1.3.5" + resolved "https://registry.npmmirror.com/@types/mime/-/mime-1.3.5.tgz#1ef302e01cf7d2b5a0fa526790c9123bf1d06690" + integrity sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w== + +"@types/ms@*": + version "0.7.34" + resolved "https://registry.npmmirror.com/@types/ms/-/ms-0.7.34.tgz#10964ba0dee6ac4cd462e2795b6bebd407303433" + integrity sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g== + +"@types/node-forge@^1.3.0": + version "1.3.10" + resolved "https://registry.npmmirror.com/@types/node-forge/-/node-forge-1.3.10.tgz#62a19d4f75a8b03290578c2b04f294b1a5a71b07" + integrity sha512-y6PJDYN4xYBxwd22l+OVH35N+1fCYWiuC3aiP2SlXVE6Lo7SS+rSx9r89hLxrP4pn6n1lBGhHJ12pj3F3Mpttw== + dependencies: + "@types/node" "*" + +"@types/node@*": + version "20.10.5" + resolved "https://registry.npmmirror.com/@types/node/-/node-20.10.5.tgz#47ad460b514096b7ed63a1dae26fad0914ed3ab2" + integrity sha512-nNPsNE65wjMxEKI93yOP+NPGGBJz/PoN3kZsVLee0XMiJolxSekEVD8wRwBUBqkwc7UWop0edW50yrCQW4CyRw== + dependencies: + undici-types "~5.26.4" + +"@types/node@^17.0.5": + version "17.0.45" + resolved "https://registry.npmmirror.com/@types/node/-/node-17.0.45.tgz#2c0fafd78705e7a18b7906b5201a522719dc5190" + integrity sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw== + +"@types/parse-json@^4.0.0": + version "4.0.2" + resolved "https://registry.npmmirror.com/@types/parse-json/-/parse-json-4.0.2.tgz#5950e50960793055845e956c427fc2b0d70c5239" + integrity sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw== + +"@types/prismjs@^1.26.0": + version "1.26.3" + resolved "https://registry.npmmirror.com/@types/prismjs/-/prismjs-1.26.3.tgz#47fe8e784c2dee24fe636cab82e090d3da9b7dec" + integrity sha512-A0D0aTXvjlqJ5ZILMz3rNfDBOx9hHxLZYv2by47Sm/pqW35zzjusrZTryatjN/Rf8Us2gZrJD+KeHbUSTux1Cw== + +"@types/prop-types@*": + version "15.7.11" + resolved "https://registry.npmmirror.com/@types/prop-types/-/prop-types-15.7.11.tgz#2596fb352ee96a1379c657734d4b913a613ad563" + integrity sha512-ga8y9v9uyeiLdpKddhxYQkxNDrfvuPrlFb0N1qnZZByvcElJaXthF1UhvCh9TLWJBEHeNtdnbysW7Y6Uq8CVng== + +"@types/qs@*": + version "6.9.11" + resolved "https://registry.npmmirror.com/@types/qs/-/qs-6.9.11.tgz#208d8a30bc507bd82e03ada29e4732ea46a6bbda" + integrity sha512-oGk0gmhnEJK4Yyk+oI7EfXsLayXatCWPHary1MtcmbAifkobT9cM9yutG/hZKIseOU0MqbIwQ/u2nn/Gb+ltuQ== + +"@types/range-parser@*": + version "1.2.7" + resolved "https://registry.npmmirror.com/@types/range-parser/-/range-parser-1.2.7.tgz#50ae4353eaaddc04044279812f52c8c65857dbcb" + integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ== + +"@types/react-router-config@*", "@types/react-router-config@^5.0.7": + version "5.0.11" + resolved "https://registry.npmmirror.com/@types/react-router-config/-/react-router-config-5.0.11.tgz#2761a23acc7905a66a94419ee40294a65aaa483a" + integrity sha512-WmSAg7WgqW7m4x8Mt4N6ZyKz0BubSj/2tVUMsAHp+Yd2AMwcSbeFq9WympT19p5heCFmF97R9eD5uUR/t4HEqw== + dependencies: + "@types/history" "^4.7.11" + "@types/react" "*" + "@types/react-router" "^5.1.0" + +"@types/react-router-dom@*": + version "5.3.3" + resolved "https://registry.npmmirror.com/@types/react-router-dom/-/react-router-dom-5.3.3.tgz#e9d6b4a66fcdbd651a5f106c2656a30088cc1e83" + integrity sha512-kpqnYK4wcdm5UaWI3fLcELopqLrHgLqNsdpHauzlQktfkHL3npOSwtj1Uz9oKBAzs7lFtVkV8j83voAz2D8fhw== + dependencies: + "@types/history" "^4.7.11" + "@types/react" "*" + "@types/react-router" "*" + +"@types/react-router@*", "@types/react-router@^5.1.0": + version "5.1.20" + resolved "https://registry.npmmirror.com/@types/react-router/-/react-router-5.1.20.tgz#88eccaa122a82405ef3efbcaaa5dcdd9f021387c" + integrity sha512-jGjmu/ZqS7FjSH6owMcD5qpq19+1RS9DeVRqfl1FeBMxTDQAGwlMWOcs52NDoXaNKyG3d1cYQFMs9rCrb88o9Q== + dependencies: + "@types/history" "^4.7.11" + "@types/react" "*" + +"@types/react@*": + version "18.2.45" + resolved "https://registry.npmmirror.com/@types/react/-/react-18.2.45.tgz#253f4fac288e7e751ab3dc542000fb687422c15c" + integrity sha512-TtAxCNrlrBp8GoeEp1npd5g+d/OejJHFxS3OWmrPBMFaVQMSN0OFySozJio5BHxTuTeug00AVXVAjfDSfk+lUg== + dependencies: + "@types/prop-types" "*" + "@types/scheduler" "*" + csstype "^3.0.2" + +"@types/retry@0.12.0": + version "0.12.0" + resolved "https://registry.npmmirror.com/@types/retry/-/retry-0.12.0.tgz#2b35eccfcee7d38cd72ad99232fbd58bffb3c84d" + integrity sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA== + +"@types/sax@^1.2.1": + version "1.2.7" + resolved "https://registry.npmmirror.com/@types/sax/-/sax-1.2.7.tgz#ba5fe7df9aa9c89b6dff7688a19023dd2963091d" + integrity sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A== + dependencies: + "@types/node" "*" + +"@types/scheduler@*": + version "0.16.8" + resolved "https://registry.npmmirror.com/@types/scheduler/-/scheduler-0.16.8.tgz#ce5ace04cfeabe7ef87c0091e50752e36707deff" + integrity sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A== + +"@types/send@*": + version "0.17.4" + resolved "https://registry.npmmirror.com/@types/send/-/send-0.17.4.tgz#6619cd24e7270793702e4e6a4b958a9010cfc57a" + integrity sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA== + dependencies: + "@types/mime" "^1" + "@types/node" "*" + +"@types/serve-index@^1.9.1": + version "1.9.4" + resolved "https://registry.npmmirror.com/@types/serve-index/-/serve-index-1.9.4.tgz#e6ae13d5053cb06ed36392110b4f9a49ac4ec898" + integrity sha512-qLpGZ/c2fhSs5gnYsQxtDEq3Oy8SXPClIXkW5ghvAvsNuVSA8k+gCONcUCS/UjLEYvYps+e8uBtfgXgvhwfNug== + dependencies: + "@types/express" "*" + +"@types/serve-static@*", "@types/serve-static@^1.13.10": + version "1.15.5" + resolved "https://registry.npmmirror.com/@types/serve-static/-/serve-static-1.15.5.tgz#15e67500ec40789a1e8c9defc2d32a896f05b033" + integrity sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ== + dependencies: + "@types/http-errors" "*" + "@types/mime" "*" + "@types/node" "*" + +"@types/sockjs@^0.3.33": + version "0.3.36" + resolved "https://registry.npmmirror.com/@types/sockjs/-/sockjs-0.3.36.tgz#ce322cf07bcc119d4cbf7f88954f3a3bd0f67535" + integrity sha512-MK9V6NzAS1+Ud7JV9lJLFqW85VbC9dq3LmwZCuBe4wBDgKC0Kj/jd8Xl+nSviU+Qc3+m7umHHyHg//2KSa0a0Q== + dependencies: + "@types/node" "*" + +"@types/unist@*", "@types/unist@^3.0.0": + version "3.0.2" + resolved "https://registry.npmmirror.com/@types/unist/-/unist-3.0.2.tgz#6dd61e43ef60b34086287f83683a5c1b2dc53d20" + integrity sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ== + +"@types/unist@^2.0.0": + version "2.0.10" + resolved "https://registry.npmmirror.com/@types/unist/-/unist-2.0.10.tgz#04ffa7f406ab628f7f7e97ca23e290cd8ab15efc" + integrity sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA== + +"@types/ws@^8.5.5": + version "8.5.10" + resolved "https://registry.npmmirror.com/@types/ws/-/ws-8.5.10.tgz#4acfb517970853fa6574a3a6886791d04a396787" + integrity sha512-vmQSUcfalpIq0R9q7uTo2lXs6eGIpt9wtnLdMv9LVpIjCA/+ufZRozlVoVelIYixx1ugCBKDhn89vnsEGOCx9A== + dependencies: + "@types/node" "*" + +"@types/yargs-parser@*": + version "21.0.3" + resolved "https://registry.npmmirror.com/@types/yargs-parser/-/yargs-parser-21.0.3.tgz#815e30b786d2e8f0dcd85fd5bcf5e1a04d008f15" + integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ== + +"@types/yargs@^17.0.8": + version "17.0.32" + resolved "https://registry.npmmirror.com/@types/yargs/-/yargs-17.0.32.tgz#030774723a2f7faafebf645f4e5a48371dca6229" + integrity sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog== + dependencies: + "@types/yargs-parser" "*" + +"@ungap/structured-clone@^1.0.0": + version "1.2.0" + resolved "https://registry.npmmirror.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" + integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== + +"@webassemblyjs/ast@1.11.6", "@webassemblyjs/ast@^1.11.5": + version "1.11.6" + resolved "https://registry.npmmirror.com/@webassemblyjs/ast/-/ast-1.11.6.tgz#db046555d3c413f8966ca50a95176a0e2c642e24" + integrity sha512-IN1xI7PwOvLPgjcf180gC1bqn3q/QaOCwYUahIOhbYUu8KA/3tw2RT/T0Gidi1l7Hhj5D/INhJxiICObqpMu4Q== + dependencies: + "@webassemblyjs/helper-numbers" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + +"@webassemblyjs/floating-point-hex-parser@1.11.6": + version "1.11.6" + resolved "https://registry.npmmirror.com/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.6.tgz#dacbcb95aff135c8260f77fa3b4c5fea600a6431" + integrity sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw== + +"@webassemblyjs/helper-api-error@1.11.6": + version "1.11.6" + resolved "https://registry.npmmirror.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz#6132f68c4acd59dcd141c44b18cbebbd9f2fa768" + integrity sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q== + +"@webassemblyjs/helper-buffer@1.11.6": + version "1.11.6" + resolved "https://registry.npmmirror.com/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.6.tgz#b66d73c43e296fd5e88006f18524feb0f2c7c093" + integrity sha512-z3nFzdcp1mb8nEOFFk8DrYLpHvhKC3grJD2ardfKOzmbmJvEf/tPIqCY+sNcwZIY8ZD7IkB2l7/pqhUhqm7hLA== + +"@webassemblyjs/helper-numbers@1.11.6": + version "1.11.6" + resolved "https://registry.npmmirror.com/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.6.tgz#cbce5e7e0c1bd32cf4905ae444ef64cea919f1b5" + integrity sha512-vUIhZ8LZoIWHBohiEObxVm6hwP034jwmc9kuq5GdHZH0wiLVLIPcMCdpJzG4C11cHoQ25TFIQj9kaVADVX7N3g== + dependencies: + "@webassemblyjs/floating-point-hex-parser" "1.11.6" + "@webassemblyjs/helper-api-error" "1.11.6" + "@xtuc/long" "4.2.2" + +"@webassemblyjs/helper-wasm-bytecode@1.11.6": + version "1.11.6" + resolved "https://registry.npmmirror.com/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.6.tgz#bb2ebdb3b83aa26d9baad4c46d4315283acd51e9" + integrity sha512-sFFHKwcmBprO9e7Icf0+gddyWYDViL8bpPjJJl0WHxCdETktXdmtWLGVzoHbqUcY4Be1LkNfwTmXOJUFZYSJdA== + +"@webassemblyjs/helper-wasm-section@1.11.6": + version "1.11.6" + resolved "https://registry.npmmirror.com/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.6.tgz#ff97f3863c55ee7f580fd5c41a381e9def4aa577" + integrity sha512-LPpZbSOwTpEC2cgn4hTydySy1Ke+XEu+ETXuoyvuyezHO3Kjdu90KK95Sh9xTbmjrCsUwvWwCOQQNta37VrS9g== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/wasm-gen" "1.11.6" + +"@webassemblyjs/ieee754@1.11.6": + version "1.11.6" + resolved "https://registry.npmmirror.com/@webassemblyjs/ieee754/-/ieee754-1.11.6.tgz#bb665c91d0b14fffceb0e38298c329af043c6e3a" + integrity sha512-LM4p2csPNvbij6U1f19v6WR56QZ8JcHg3QIJTlSwzFcmx6WSORicYj6I63f9yU1kEUtrpG+kjkiIAkevHpDXrg== + dependencies: + "@xtuc/ieee754" "^1.2.0" + +"@webassemblyjs/leb128@1.11.6": + version "1.11.6" + resolved "https://registry.npmmirror.com/@webassemblyjs/leb128/-/leb128-1.11.6.tgz#70e60e5e82f9ac81118bc25381a0b283893240d7" + integrity sha512-m7a0FhE67DQXgouf1tbN5XQcdWoNgaAuoULHIfGFIEVKA6tu/edls6XnIlkmS6FrXAquJRPni3ZZKjw6FSPjPQ== + dependencies: + "@xtuc/long" "4.2.2" + +"@webassemblyjs/utf8@1.11.6": + version "1.11.6" + resolved "https://registry.npmmirror.com/@webassemblyjs/utf8/-/utf8-1.11.6.tgz#90f8bc34c561595fe156603be7253cdbcd0fab5a" + integrity sha512-vtXf2wTQ3+up9Zsg8sa2yWiQpzSsMyXj0qViVP6xKGCUT8p8YJ6HqI7l5eCnWx1T/FYdsv07HQs2wTFbbof/RA== + +"@webassemblyjs/wasm-edit@^1.11.5": + version "1.11.6" + resolved "https://registry.npmmirror.com/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.6.tgz#c72fa8220524c9b416249f3d94c2958dfe70ceab" + integrity sha512-Ybn2I6fnfIGuCR+Faaz7YcvtBKxvoLV3Lebn1tM4o/IAJzmi9AWYIPWpyBfU8cC+JxAO57bk4+zdsTjJR+VTOw== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/helper-wasm-section" "1.11.6" + "@webassemblyjs/wasm-gen" "1.11.6" + "@webassemblyjs/wasm-opt" "1.11.6" + "@webassemblyjs/wasm-parser" "1.11.6" + "@webassemblyjs/wast-printer" "1.11.6" + +"@webassemblyjs/wasm-gen@1.11.6": + version "1.11.6" + resolved "https://registry.npmmirror.com/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.6.tgz#fb5283e0e8b4551cc4e9c3c0d7184a65faf7c268" + integrity sha512-3XOqkZP/y6B4F0PBAXvI1/bky7GryoogUtfwExeP/v7Nzwo1QLcq5oQmpKlftZLbT+ERUOAZVQjuNVak6UXjPA== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/ieee754" "1.11.6" + "@webassemblyjs/leb128" "1.11.6" + "@webassemblyjs/utf8" "1.11.6" + +"@webassemblyjs/wasm-opt@1.11.6": + version "1.11.6" + resolved "https://registry.npmmirror.com/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.6.tgz#d9a22d651248422ca498b09aa3232a81041487c2" + integrity sha512-cOrKuLRE7PCe6AsOVl7WasYf3wbSo4CeOk6PkrjS7g57MFfVUF9u6ysQBBODX0LdgSvQqRiGz3CXvIDKcPNy4g== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-buffer" "1.11.6" + "@webassemblyjs/wasm-gen" "1.11.6" + "@webassemblyjs/wasm-parser" "1.11.6" + +"@webassemblyjs/wasm-parser@1.11.6", "@webassemblyjs/wasm-parser@^1.11.5": + version "1.11.6" + resolved "https://registry.npmmirror.com/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.6.tgz#bb85378c527df824004812bbdb784eea539174a1" + integrity sha512-6ZwPeGzMJM3Dqp3hCsLgESxBGtT/OeCvCZ4TA1JUPYgmhAx38tTPR9JaKy0S5H3evQpO/h2uWs2j6Yc/fjkpTQ== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@webassemblyjs/helper-api-error" "1.11.6" + "@webassemblyjs/helper-wasm-bytecode" "1.11.6" + "@webassemblyjs/ieee754" "1.11.6" + "@webassemblyjs/leb128" "1.11.6" + "@webassemblyjs/utf8" "1.11.6" + +"@webassemblyjs/wast-printer@1.11.6": + version "1.11.6" + resolved "https://registry.npmmirror.com/@webassemblyjs/wast-printer/-/wast-printer-1.11.6.tgz#a7bf8dd7e362aeb1668ff43f35cb849f188eff20" + integrity sha512-JM7AhRcE+yW2GWYaKeHL5vt4xqee5N2WcezptmgyhNS+ScggqcT1OtXykhAb13Sn5Yas0j2uv9tHgrjwvzAP4A== + dependencies: + "@webassemblyjs/ast" "1.11.6" + "@xtuc/long" "4.2.2" + +"@xtuc/ieee754@^1.2.0": + version "1.2.0" + resolved "https://registry.npmmirror.com/@xtuc/ieee754/-/ieee754-1.2.0.tgz#eef014a3145ae477a1cbc00cd1e552336dceb790" + integrity sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA== + +"@xtuc/long@4.2.2": + version "4.2.2" + resolved "https://registry.npmmirror.com/@xtuc/long/-/long-4.2.2.tgz#d291c6a4e97989b5c61d9acf396ae4fe133a718d" + integrity sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ== + +accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.8: + version "1.3.8" + resolved "https://registry.npmmirror.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" + integrity sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw== + dependencies: + mime-types "~2.1.34" + negotiator "0.6.3" + +acorn-import-assertions@^1.9.0: + version "1.9.0" + resolved "https://registry.npmmirror.com/acorn-import-assertions/-/acorn-import-assertions-1.9.0.tgz#507276249d684797c84e0734ef84860334cfb1ac" + integrity sha512-cmMwop9x+8KFhxvKrKfPYmN6/pKTYYHBqLa0DfvVZcKMJWNyWLnaqND7dx/qn66R7ewM1UX5XMaDVP5wlVTaVA== + +acorn-jsx@^5.0.0: + version "5.3.2" + resolved "https://registry.npmmirror.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" + integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== + +acorn-walk@^8.0.0: + version "8.3.1" + resolved "https://registry.npmmirror.com/acorn-walk/-/acorn-walk-8.3.1.tgz#2f10f5b69329d90ae18c58bf1fa8fccd8b959a43" + integrity sha512-TgUZgYvqZprrl7YldZNoa9OciCAyZR+Ejm9eXzKCmjsF5IKp/wgQ7Z/ZpjpGTIUPwrHQIcYeI8qDh4PsEwxMbw== + +acorn@^8.0.0, acorn@^8.0.4, acorn@^8.7.1, acorn@^8.8.2: + version "8.11.2" + resolved "https://registry.npmmirror.com/acorn/-/acorn-8.11.2.tgz#ca0d78b51895be5390a5903c5b3bdcdaf78ae40b" + integrity sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w== + +address@^1.0.1, address@^1.1.2: + version "1.2.2" + resolved "https://registry.npmmirror.com/address/-/address-1.2.2.tgz#2b5248dac5485a6390532c6a517fda2e3faac89e" + integrity sha512-4B/qKCfeE/ODUaAUpSwfzazo5x29WD4r3vXiWsB7I2mSDAihwEqKO+g8GELZUQSSAo5e1XTYh3ZVfLyxBc12nA== + +aggregate-error@^3.0.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/aggregate-error/-/aggregate-error-3.1.0.tgz#92670ff50f5359bdb7a3e0d40d0ec30c5737687a" + integrity sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA== + dependencies: + clean-stack "^2.0.0" + indent-string "^4.0.0" + +ajv-formats@^2.1.1: + version "2.1.1" + resolved "https://registry.npmmirror.com/ajv-formats/-/ajv-formats-2.1.1.tgz#6e669400659eb74973bbf2e33327180a0996b520" + integrity sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA== + dependencies: + ajv "^8.0.0" + +ajv-keywords@^3.4.1, ajv-keywords@^3.5.2: + version "3.5.2" + resolved "https://registry.npmmirror.com/ajv-keywords/-/ajv-keywords-3.5.2.tgz#31f29da5ab6e00d1c2d329acf7b5929614d5014d" + integrity sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ== + +ajv-keywords@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/ajv-keywords/-/ajv-keywords-5.1.0.tgz#69d4d385a4733cdbeab44964a1170a88f87f0e16" + integrity sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw== + dependencies: + fast-deep-equal "^3.1.3" + +ajv@^6.12.2, ajv@^6.12.5: + version "6.12.6" + resolved "https://registry.npmmirror.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" + integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ajv@^8.0.0, ajv@^8.9.0: + version "8.12.0" + resolved "https://registry.npmmirror.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" + integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== + dependencies: + fast-deep-equal "^3.1.1" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + uri-js "^4.2.2" + +algoliasearch-helper@^3.13.3: + version "3.16.1" + resolved "https://registry.npmmirror.com/algoliasearch-helper/-/algoliasearch-helper-3.16.1.tgz#421e3554ec86e14e60e7e0bf796aef61cf4a06ec" + integrity sha512-qxAHVjjmT7USVvrM8q6gZGaJlCK1fl4APfdAA7o8O6iXEc68G0xMNrzRkxoB/HmhhvyHnoteS/iMTiHiTcQQcg== + dependencies: + "@algolia/events" "^4.0.1" + +algoliasearch@^4.18.0, algoliasearch@^4.19.1: + version "4.22.0" + resolved "https://registry.npmmirror.com/algoliasearch/-/algoliasearch-4.22.0.tgz#9ece4446b5ab0af941ef97553c18ddcd1b8040a5" + integrity sha512-gfceltjkwh7PxXwtkS8KVvdfK+TSNQAWUeNSxf4dA29qW5tf2EGwa8jkJujlT9jLm17cixMVoGNc+GJFO1Mxhg== + dependencies: + "@algolia/cache-browser-local-storage" "4.22.0" + "@algolia/cache-common" "4.22.0" + "@algolia/cache-in-memory" "4.22.0" + "@algolia/client-account" "4.22.0" + "@algolia/client-analytics" "4.22.0" + "@algolia/client-common" "4.22.0" + "@algolia/client-personalization" "4.22.0" + "@algolia/client-search" "4.22.0" + "@algolia/logger-common" "4.22.0" + "@algolia/logger-console" "4.22.0" + "@algolia/requester-browser-xhr" "4.22.0" + "@algolia/requester-common" "4.22.0" + "@algolia/requester-node-http" "4.22.0" + "@algolia/transporter" "4.22.0" + +ansi-align@^3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/ansi-align/-/ansi-align-3.0.1.tgz#0cdf12e111ace773a86e9a1fad1225c43cb19a59" + integrity sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w== + dependencies: + string-width "^4.1.0" + +ansi-html-community@^0.0.8: + version "0.0.8" + resolved "https://registry.npmmirror.com/ansi-html-community/-/ansi-html-community-0.0.8.tgz#69fbc4d6ccbe383f9736934ae34c3f8290f1bf41" + integrity sha512-1APHAyr3+PCamwNw3bXCPp4HFLONZt/yIH0sZp0/469KWNTEy+qN5jQ3GVX6DMZ1UXAi34yVwtTeaG/HpBuuzw== + +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +ansi-regex@^6.0.1: + version "6.0.1" + resolved "https://registry.npmmirror.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" + integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== + +ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +ansi-styles@^6.1.0: + version "6.2.1" + resolved "https://registry.npmmirror.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" + integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== + +anymatch@~3.1.2: + version "3.1.3" + resolved "https://registry.npmmirror.com/anymatch/-/anymatch-3.1.3.tgz#790c58b19ba1720a84205b57c618d5ad8524973e" + integrity sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +arg@^5.0.0: + version "5.0.2" + resolved "https://registry.npmmirror.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c" + integrity sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg== + +argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.npmmirror.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" + integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== + dependencies: + sprintf-js "~1.0.2" + +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + +array-flatten@1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" + integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== + +array-flatten@^2.1.2: + version "2.1.2" + resolved "https://registry.npmmirror.com/array-flatten/-/array-flatten-2.1.2.tgz#24ef80a28c1a893617e2149b0c6d0d788293b099" + integrity sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ== + +array-union@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" + integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== + +astring@^1.8.0: + version "1.8.6" + resolved "https://registry.npmmirror.com/astring/-/astring-1.8.6.tgz#2c9c157cf1739d67561c56ba896e6948f6b93731" + integrity sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg== + +at-least-node@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/at-least-node/-/at-least-node-1.0.0.tgz#602cd4b46e844ad4effc92a8011a3c46e0238dc2" + integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== + +autoprefixer@^10.4.12, autoprefixer@^10.4.14: + version "10.4.16" + resolved "https://registry.npmmirror.com/autoprefixer/-/autoprefixer-10.4.16.tgz#fad1411024d8670880bdece3970aa72e3572feb8" + integrity sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ== + dependencies: + browserslist "^4.21.10" + caniuse-lite "^1.0.30001538" + fraction.js "^4.3.6" + normalize-range "^0.1.2" + picocolors "^1.0.0" + postcss-value-parser "^4.2.0" + +babel-loader@^9.1.3: + version "9.1.3" + resolved "https://registry.npmmirror.com/babel-loader/-/babel-loader-9.1.3.tgz#3d0e01b4e69760cc694ee306fe16d358aa1c6f9a" + integrity sha512-xG3ST4DglodGf8qSwv0MdeWLhrDsw/32QMdTO5T1ZIp9gQur0HkCyFs7Awskr10JKXFXwpAhiCuYX5oGXnRGbw== + dependencies: + find-cache-dir "^4.0.0" + schema-utils "^4.0.0" + +babel-plugin-dynamic-import-node@^2.3.3: + version "2.3.3" + resolved "https://registry.npmmirror.com/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz#84fda19c976ec5c6defef57f9427b3def66e17a3" + integrity sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ== + dependencies: + object.assign "^4.1.0" + +babel-plugin-polyfill-corejs2@^0.4.6: + version "0.4.7" + resolved "https://registry.npmmirror.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.7.tgz#679d1b94bf3360f7682e11f2cb2708828a24fe8c" + integrity sha512-LidDk/tEGDfuHW2DWh/Hgo4rmnw3cduK6ZkOI1NPFceSK3n/yAGeOsNT7FLnSGHkXj3RHGSEVkN3FsCTY6w2CQ== + dependencies: + "@babel/compat-data" "^7.22.6" + "@babel/helper-define-polyfill-provider" "^0.4.4" + semver "^6.3.1" + +babel-plugin-polyfill-corejs3@^0.8.5: + version "0.8.7" + resolved "https://registry.npmmirror.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.7.tgz#941855aa7fdaac06ed24c730a93450d2b2b76d04" + integrity sha512-KyDvZYxAzkC0Aj2dAPyDzi2Ym15e5JKZSK+maI7NAwSqofvuFglbSsxE7wUOvTg9oFVnHMzVzBKcqEb4PJgtOA== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.4.4" + core-js-compat "^3.33.1" + +babel-plugin-polyfill-regenerator@^0.5.3: + version "0.5.4" + resolved "https://registry.npmmirror.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.4.tgz#c6fc8eab610d3a11eb475391e52584bacfc020f4" + integrity sha512-S/x2iOCvDaCASLYsOOgWOq4bCfKYVqvO/uxjkaYyZ3rVsVE3CeAI/c84NpyuBBymEgNvHgjEot3a9/Z/kXvqsg== + dependencies: + "@babel/helper-define-polyfill-provider" "^0.4.4" + +bail@^2.0.0: + version "2.0.2" + resolved "https://registry.npmmirror.com/bail/-/bail-2.0.2.tgz#d26f5cd8fe5d6f832a31517b9f7c356040ba6d5d" + integrity sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw== + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.npmmirror.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +batch@0.6.1: + version "0.6.1" + resolved "https://registry.npmmirror.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" + integrity sha512-x+VAiMRL6UPkx+kudNvxTl6hB2XNNCG2r+7wixVfIYwu/2HKRXimwQyaumLjMveWvT2Hkd/cAJw+QBMfJ/EKVw== + +big.js@^5.2.2: + version "5.2.2" + resolved "https://registry.npmmirror.com/big.js/-/big.js-5.2.2.tgz#65f0af382f578bcdc742bd9c281e9cb2d7768328" + integrity sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ== + +binary-extensions@^2.0.0: + version "2.2.0" + resolved "https://registry.npmmirror.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" + integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== + +body-parser@1.20.1: + version "1.20.1" + resolved "https://registry.npmmirror.com/body-parser/-/body-parser-1.20.1.tgz#b1812a8912c195cd371a3ee5e66faa2338a5c668" + integrity sha512-jWi7abTbYwajOytWCQc37VulmWiRae5RyTpaCyDcS5/lMdtwSz5lOpDE67srw/HYe35f1z3fDQw+3txg7gNtWw== + dependencies: + bytes "3.1.2" + content-type "~1.0.4" + debug "2.6.9" + depd "2.0.0" + destroy "1.2.0" + http-errors "2.0.0" + iconv-lite "0.4.24" + on-finished "2.4.1" + qs "6.11.0" + raw-body "2.5.1" + type-is "~1.6.18" + unpipe "1.0.0" + +bonjour-service@^1.0.11: + version "1.1.1" + resolved "https://registry.npmmirror.com/bonjour-service/-/bonjour-service-1.1.1.tgz#960948fa0e0153f5d26743ab15baf8e33752c135" + integrity sha512-Z/5lQRMOG9k7W+FkeGTNjh7htqn/2LMnfOvBZ8pynNZCM9MwkQkI3zeI4oz09uWdcgmgHugVvBqxGg4VQJ5PCg== + dependencies: + array-flatten "^2.1.2" + dns-equal "^1.0.0" + fast-deep-equal "^3.1.3" + multicast-dns "^7.2.5" + +boolbase@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e" + integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww== + +boxen@^6.2.1: + version "6.2.1" + resolved "https://registry.npmmirror.com/boxen/-/boxen-6.2.1.tgz#b098a2278b2cd2845deef2dff2efc38d329b434d" + integrity sha512-H4PEsJXfFI/Pt8sjDWbHlQPx4zL/bvSQjcilJmaulGt5mLDorHOHpmdXAJcBcmru7PhYSp/cDMWRko4ZUMFkSw== + dependencies: + ansi-align "^3.0.1" + camelcase "^6.2.0" + chalk "^4.1.2" + cli-boxes "^3.0.0" + string-width "^5.0.1" + type-fest "^2.5.0" + widest-line "^4.0.1" + wrap-ansi "^8.0.1" + +boxen@^7.0.0: + version "7.1.1" + resolved "https://registry.npmmirror.com/boxen/-/boxen-7.1.1.tgz#f9ba525413c2fec9cdb88987d835c4f7cad9c8f4" + integrity sha512-2hCgjEmP8YLWQ130n2FerGv7rYpfBmnmp9Uy2Le1vge6X3gZIfSmEzP5QTDElFxcvVcXlEn8Aq6MU/PZygIOog== + dependencies: + ansi-align "^3.0.1" + camelcase "^7.0.1" + chalk "^5.2.0" + cli-boxes "^3.0.0" + string-width "^5.1.2" + type-fest "^2.13.0" + widest-line "^4.0.1" + wrap-ansi "^8.1.0" + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.npmmirror.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +braces@^3.0.2, braces@~3.0.2: + version "3.0.2" + resolved "https://registry.npmmirror.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +browserslist@^4.0.0, browserslist@^4.14.5, browserslist@^4.18.1, browserslist@^4.21.10, browserslist@^4.21.4, browserslist@^4.22.2: + version "4.22.2" + resolved "https://registry.npmmirror.com/browserslist/-/browserslist-4.22.2.tgz#704c4943072bd81ea18997f3bd2180e89c77874b" + integrity sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A== + dependencies: + caniuse-lite "^1.0.30001565" + electron-to-chromium "^1.4.601" + node-releases "^2.0.14" + update-browserslist-db "^1.0.13" + +buffer-from@^1.0.0: + version "1.1.2" + resolved "https://registry.npmmirror.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" + integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== + +bytes@3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" + integrity sha512-pMhOfFDPiv9t5jjIXkHosWmkSyQbvsgEVNkz0ERHbuLh2T/7j4Mqqpz523Fe8MVY89KC6Sh/QfS2sM+SjgFDcw== + +bytes@3.1.2: + version "3.1.2" + resolved "https://registry.npmmirror.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" + integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== + +cacheable-lookup@^7.0.0: + version "7.0.0" + resolved "https://registry.npmmirror.com/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz#3476a8215d046e5a3202a9209dd13fec1f933a27" + integrity sha512-+qJyx4xiKra8mZrcwhjMRMUhD5NR1R8esPkzIYxX96JiecFoxAXFuz/GpR3+ev4PE1WamHip78wV0vcmPQtp8w== + +cacheable-request@^10.2.8: + version "10.2.14" + resolved "https://registry.npmmirror.com/cacheable-request/-/cacheable-request-10.2.14.tgz#eb915b665fda41b79652782df3f553449c406b9d" + integrity sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ== + dependencies: + "@types/http-cache-semantics" "^4.0.2" + get-stream "^6.0.1" + http-cache-semantics "^4.1.1" + keyv "^4.5.3" + mimic-response "^4.0.0" + normalize-url "^8.0.0" + responselike "^3.0.0" + +call-bind@^1.0.0, call-bind@^1.0.5: + version "1.0.5" + resolved "https://registry.npmmirror.com/call-bind/-/call-bind-1.0.5.tgz#6fa2b7845ce0ea49bf4d8b9ef64727a2c2e2e513" + integrity sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ== + dependencies: + function-bind "^1.1.2" + get-intrinsic "^1.2.1" + set-function-length "^1.1.1" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +camel-case@^4.1.2: + version "4.1.2" + resolved "https://registry.npmmirror.com/camel-case/-/camel-case-4.1.2.tgz#9728072a954f805228225a6deea6b38461e1bd5a" + integrity sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw== + dependencies: + pascal-case "^3.1.2" + tslib "^2.0.3" + +camelcase@^6.2.0: + version "6.3.0" + resolved "https://registry.npmmirror.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" + integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== + +camelcase@^7.0.1: + version "7.0.1" + resolved "https://registry.npmmirror.com/camelcase/-/camelcase-7.0.1.tgz#f02e50af9fd7782bc8b88a3558c32fd3a388f048" + integrity sha512-xlx1yCK2Oc1APsPXDL2LdlNP6+uu8OCDdhOBSVT279M/S+y75O30C2VuD8T2ogdePBBl7PfPF4504tnLgX3zfw== + +caniuse-api@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/caniuse-api/-/caniuse-api-3.0.0.tgz#5e4d90e2274961d46291997df599e3ed008ee4c0" + integrity sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw== + dependencies: + browserslist "^4.0.0" + caniuse-lite "^1.0.0" + lodash.memoize "^4.1.2" + lodash.uniq "^4.5.0" + +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001538, caniuse-lite@^1.0.30001565: + version "1.0.30001572" + resolved "https://registry.npmmirror.com/caniuse-lite/-/caniuse-lite-1.0.30001572.tgz#1ccf7dc92d2ee2f92ed3a54e11b7b4a3041acfa0" + integrity sha512-1Pbh5FLmn5y4+QhNyJE9j3/7dK44dGB83/ZMjv/qJk86TvDbjk0LosiZo0i0WB0Vx607qMX9jYrn1VLHCkN4rw== + +ccount@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/ccount/-/ccount-2.0.1.tgz#17a3bf82302e0870d6da43a01311a8bc02a3ecf5" + integrity sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg== + +chalk@^2.4.2: + version "2.4.2" + resolved "https://registry.npmmirror.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2: + version "4.1.2" + resolved "https://registry.npmmirror.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chalk@^5.0.1, chalk@^5.2.0: + version "5.3.0" + resolved "https://registry.npmmirror.com/chalk/-/chalk-5.3.0.tgz#67c20a7ebef70e7f3970a01f90fa210cb6860385" + integrity sha512-dLitG79d+GV1Nb/VYcCDFivJeK1hiukt9QjRNVOsUtTy1rR1YJsmpGGTZ3qJos+uw7WmWF4wUwBd9jxjocFC2w== + +char-regex@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/char-regex/-/char-regex-1.0.2.tgz#d744358226217f981ed58f479b1d6bcc29545dcf" + integrity sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw== + +character-entities-html4@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/character-entities-html4/-/character-entities-html4-2.1.0.tgz#1f1adb940c971a4b22ba39ddca6b618dc6e56b2b" + integrity sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA== + +character-entities-legacy@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz#76bc83a90738901d7bc223a9e93759fdd560125b" + integrity sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ== + +character-entities@^2.0.0: + version "2.0.2" + resolved "https://registry.npmmirror.com/character-entities/-/character-entities-2.0.2.tgz#2d09c2e72cd9523076ccb21157dff66ad43fcc22" + integrity sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ== + +character-reference-invalid@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/character-reference-invalid/-/character-reference-invalid-2.0.1.tgz#85c66b041e43b47210faf401278abf808ac45cb9" + integrity sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw== + +cheerio-select@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/cheerio-select/-/cheerio-select-2.1.0.tgz#4d8673286b8126ca2a8e42740d5e3c4884ae21b4" + integrity sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g== + dependencies: + boolbase "^1.0.0" + css-select "^5.1.0" + css-what "^6.1.0" + domelementtype "^2.3.0" + domhandler "^5.0.3" + domutils "^3.0.1" + +cheerio@^1.0.0-rc.12: + version "1.0.0-rc.12" + resolved "https://registry.npmmirror.com/cheerio/-/cheerio-1.0.0-rc.12.tgz#788bf7466506b1c6bf5fae51d24a2c4d62e47683" + integrity sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q== + dependencies: + cheerio-select "^2.1.0" + dom-serializer "^2.0.0" + domhandler "^5.0.3" + domutils "^3.0.1" + htmlparser2 "^8.0.1" + parse5 "^7.0.0" + parse5-htmlparser2-tree-adapter "^7.0.0" + +chokidar@^3.4.2, chokidar@^3.5.3: + version "3.5.3" + resolved "https://registry.npmmirror.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" + integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + +chrome-trace-event@^1.0.2: + version "1.0.3" + resolved "https://registry.npmmirror.com/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz#1015eced4741e15d06664a957dbbf50d041e26ac" + integrity sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg== + +ci-info@^3.2.0: + version "3.9.0" + resolved "https://registry.npmmirror.com/ci-info/-/ci-info-3.9.0.tgz#4279a62028a7b1f262f3473fc9605f5e218c59b4" + integrity sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ== + +clean-css@^5.2.2, clean-css@^5.3.2, clean-css@~5.3.2: + version "5.3.3" + resolved "https://registry.npmmirror.com/clean-css/-/clean-css-5.3.3.tgz#b330653cd3bd6b75009cc25c714cae7b93351ccd" + integrity sha512-D5J+kHaVb/wKSFcyyV75uCn8fiY4sV38XJoe4CUyGQ+mOU/fMVYUdH1hJC+CJQ5uY3EnW27SbJYS4X8BiLrAFg== + dependencies: + source-map "~0.6.0" + +clean-stack@^2.0.0: + version "2.2.0" + resolved "https://registry.npmmirror.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" + integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== + +cli-boxes@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/cli-boxes/-/cli-boxes-3.0.0.tgz#71a10c716feeba005e4504f36329ef0b17cf3145" + integrity sha512-/lzGpEWL/8PfI0BmBOPRwp0c/wFNX1RdUML3jK/RcSBA9T8mZDdQpqYBKtCFTOfQbwPqWEOpjqW+Fnayc0969g== + +cli-table3@^0.6.3: + version "0.6.3" + resolved "https://registry.npmmirror.com/cli-table3/-/cli-table3-0.6.3.tgz#61ab765aac156b52f222954ffc607a6f01dbeeb2" + integrity sha512-w5Jac5SykAeZJKntOxJCrm63Eg5/4dhMWIcuTbo9rpE+brgaSZo0RuNJZeOyMgsUdhDeojvgyQLmjI+K50ZGyg== + dependencies: + string-width "^4.2.0" + optionalDependencies: + "@colors/colors" "1.5.0" + +clone-deep@^4.0.1: + version "4.0.1" + resolved "https://registry.npmmirror.com/clone-deep/-/clone-deep-4.0.1.tgz#c19fd9bdbbf85942b4fd979c84dcf7d5f07c2387" + integrity sha512-neHB9xuzh/wk0dIHweyAXv2aPGZIVk3pLMe+/RNzINf17fe0OG96QroktYAUm7SM1PBnzTabaLboqqxDyMU+SQ== + dependencies: + is-plain-object "^2.0.4" + kind-of "^6.0.2" + shallow-clone "^3.0.0" + +clsx@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/clsx/-/clsx-2.0.0.tgz#12658f3fd98fafe62075595a5c30e43d18f3d00b" + integrity sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q== + +collapse-white-space@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/collapse-white-space/-/collapse-white-space-2.1.0.tgz#640257174f9f42c740b40f3b55ee752924feefca" + integrity sha512-loKTxY1zCOuG4j9f6EPnuyyYkf58RnhhWTvRoZEokgB+WbdXehfjFviyOVYkqzEWz1Q5kRiZdBYS5SwxbQYwzw== + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.npmmirror.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.npmmirror.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw== + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.npmmirror.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +colord@^2.9.1: + version "2.9.3" + resolved "https://registry.npmmirror.com/colord/-/colord-2.9.3.tgz#4f8ce919de456f1d5c1c368c307fe20f3e59fb43" + integrity sha512-jeC1axXpnb0/2nn/Y1LPuLdgXBLH7aDcHu4KEKfqw3CUhX7ZpfBSlPKyqXE6btIgEzfWtrX3/tyBCaCvXvMkOw== + +colorette@^2.0.10: + version "2.0.20" + resolved "https://registry.npmmirror.com/colorette/-/colorette-2.0.20.tgz#9eb793e6833067f7235902fcd3b09917a000a95a" + integrity sha512-IfEDxwoWIjkeXL1eXcDiow4UbKjhLdq6/EuSVR9GMN7KVH3r9gQ83e73hsz1Nd1T3ijd5xv1wcWRYO+D6kCI2w== + +combine-promises@^1.1.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/combine-promises/-/combine-promises-1.2.0.tgz#5f2e68451862acf85761ded4d9e2af7769c2ca6a" + integrity sha512-VcQB1ziGD0NXrhKxiwyNbCDmRzs/OShMs2GqW2DlU2A/Sd0nQxE1oWDAE5O0ygSx5mgQOn9eIFh7yKPgFRVkPQ== + +comma-separated-tokens@^2.0.0: + version "2.0.3" + resolved "https://registry.npmmirror.com/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz#4e89c9458acb61bc8fef19f4529973b2392839ee" + integrity sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg== + +commander@^10.0.0: + version "10.0.1" + resolved "https://registry.npmmirror.com/commander/-/commander-10.0.1.tgz#881ee46b4f77d1c1dccc5823433aa39b022cbe06" + integrity sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug== + +commander@^2.20.0: + version "2.20.3" + resolved "https://registry.npmmirror.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" + integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== + +commander@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" + integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg== + +commander@^7.2.0: + version "7.2.0" + resolved "https://registry.npmmirror.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" + integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== + +commander@^8.3.0: + version "8.3.0" + resolved "https://registry.npmmirror.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" + integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== + +common-path-prefix@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/common-path-prefix/-/common-path-prefix-3.0.0.tgz#7d007a7e07c58c4b4d5f433131a19141b29f11e0" + integrity sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w== + +compressible@~2.0.16: + version "2.0.18" + resolved "https://registry.npmmirror.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" + integrity sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg== + dependencies: + mime-db ">= 1.43.0 < 2" + +compression@^1.7.4: + version "1.7.4" + resolved "https://registry.npmmirror.com/compression/-/compression-1.7.4.tgz#95523eff170ca57c29a0ca41e6fe131f41e5bb8f" + integrity sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ== + dependencies: + accepts "~1.3.5" + bytes "3.0.0" + compressible "~2.0.16" + debug "2.6.9" + on-headers "~1.0.2" + safe-buffer "5.1.2" + vary "~1.1.2" + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.npmmirror.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== + +config-chain@^1.1.11: + version "1.1.13" + resolved "https://registry.npmmirror.com/config-chain/-/config-chain-1.1.13.tgz#fad0795aa6a6cdaff9ed1b68e9dff94372c232f4" + integrity sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ== + dependencies: + ini "^1.3.4" + proto-list "~1.2.1" + +configstore@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/configstore/-/configstore-6.0.0.tgz#49eca2ebc80983f77e09394a1a56e0aca8235566" + integrity sha512-cD31W1v3GqUlQvbBCGcXmd2Nj9SvLDOP1oQ0YFuLETufzSPaKp11rYBsSOm7rCsW3OnIRAFM3OxRhceaXNYHkA== + dependencies: + dot-prop "^6.0.1" + graceful-fs "^4.2.6" + unique-string "^3.0.0" + write-file-atomic "^3.0.3" + xdg-basedir "^5.0.1" + +connect-history-api-fallback@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/connect-history-api-fallback/-/connect-history-api-fallback-2.0.0.tgz#647264845251a0daf25b97ce87834cace0f5f1c8" + integrity sha512-U73+6lQFmfiNPrYbXqr6kZ1i1wiRqXnp2nhMsINseWXO8lDau0LGEffJ8kQi4EjLZympVgRdvqjAgiZ1tgzDDA== + +consola@^2.15.3: + version "2.15.3" + resolved "https://registry.npmmirror.com/consola/-/consola-2.15.3.tgz#2e11f98d6a4be71ff72e0bdf07bd23e12cb61550" + integrity sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw== + +content-disposition@0.5.2: + version "0.5.2" + resolved "https://registry.npmmirror.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4" + integrity sha512-kRGRZw3bLlFISDBgwTSA1TMBFN6J6GWDeubmDE3AF+3+yXL8hTWv8r5rkLbqYXY4RjPk/EzHnClI3zQf1cFmHA== + +content-disposition@0.5.4: + version "0.5.4" + resolved "https://registry.npmmirror.com/content-disposition/-/content-disposition-0.5.4.tgz#8b82b4efac82512a02bb0b1dcec9d2c5e8eb5bfe" + integrity sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ== + dependencies: + safe-buffer "5.2.1" + +content-type@~1.0.4: + version "1.0.5" + resolved "https://registry.npmmirror.com/content-type/-/content-type-1.0.5.tgz#8b773162656d1d1086784c8f23a54ce6d73d7918" + integrity sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA== + +convert-source-map@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/convert-source-map/-/convert-source-map-2.0.0.tgz#4b560f649fc4e918dd0ab75cf4961e8bc882d82a" + integrity sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg== + +cookie-signature@1.0.6: + version "1.0.6" + resolved "https://registry.npmmirror.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" + integrity sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ== + +cookie@0.5.0: + version "0.5.0" + resolved "https://registry.npmmirror.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" + integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== + +copy-text-to-clipboard@^3.2.0: + version "3.2.0" + resolved "https://registry.npmmirror.com/copy-text-to-clipboard/-/copy-text-to-clipboard-3.2.0.tgz#0202b2d9bdae30a49a53f898626dcc3b49ad960b" + integrity sha512-RnJFp1XR/LOBDckxTib5Qjr/PMfkatD0MUCQgdpqS8MdKiNUzBjAQBEN6oUy+jW7LI93BBG3DtMB2KOOKpGs2Q== + +copy-webpack-plugin@^11.0.0: + version "11.0.0" + resolved "https://registry.npmmirror.com/copy-webpack-plugin/-/copy-webpack-plugin-11.0.0.tgz#96d4dbdb5f73d02dd72d0528d1958721ab72e04a" + integrity sha512-fX2MWpamkW0hZxMEg0+mYnA40LTosOSa5TqZ9GYIBzyJa9C3QUaMPSE2xAi/buNr8u89SfD9wHSQVBzrRa/SOQ== + dependencies: + fast-glob "^3.2.11" + glob-parent "^6.0.1" + globby "^13.1.1" + normalize-path "^3.0.0" + schema-utils "^4.0.0" + serialize-javascript "^6.0.0" + +core-js-compat@^3.31.0, core-js-compat@^3.33.1: + version "3.34.0" + resolved "https://registry.npmmirror.com/core-js-compat/-/core-js-compat-3.34.0.tgz#61a4931a13c52f8f08d924522bba65f8c94a5f17" + integrity sha512-4ZIyeNbW/Cn1wkMMDy+mvrRUxrwFNjKwbhCfQpDd+eLgYipDqp8oGFGtLmhh18EDPKA0g3VUBYOxQGGwvWLVpA== + dependencies: + browserslist "^4.22.2" + +core-js-pure@^3.30.2: + version "3.34.0" + resolved "https://registry.npmmirror.com/core-js-pure/-/core-js-pure-3.34.0.tgz#981e462500708664c91b827a75b011f04a8134a0" + integrity sha512-pmhivkYXkymswFfbXsANmBAewXx86UBfmagP+w0wkK06kLsLlTK5oQmsURPivzMkIBQiYq2cjamcZExIwlFQIg== + +core-js@^3.31.1: + version "3.34.0" + resolved "https://registry.npmmirror.com/core-js/-/core-js-3.34.0.tgz#5705e6ad5982678612e96987d05b27c6c7c274a5" + integrity sha512-aDdvlDder8QmY91H88GzNi9EtQi2TjvQhpCX6B1v/dAZHU1AuLgHvRh54RiOerpEhEW46Tkf+vgAViB/CWC0ag== + +core-util-is@~1.0.0: + version "1.0.3" + resolved "https://registry.npmmirror.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" + integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== + +cosmiconfig@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/cosmiconfig/-/cosmiconfig-6.0.0.tgz#da4fee853c52f6b1e6935f41c1a2fc50bd4a9982" + integrity sha512-xb3ZL6+L8b9JLLCx3ZdoZy4+2ECphCMo2PwqgP1tlfVq6M6YReyzBJtvWWtbDSpNr9hn96pkCiZqUcFEc+54Qg== + dependencies: + "@types/parse-json" "^4.0.0" + import-fresh "^3.1.0" + parse-json "^5.0.0" + path-type "^4.0.0" + yaml "^1.7.2" + +cosmiconfig@^7.0.1: + version "7.1.0" + resolved "https://registry.npmmirror.com/cosmiconfig/-/cosmiconfig-7.1.0.tgz#1443b9afa596b670082ea46cbd8f6a62b84635f6" + integrity sha512-AdmX6xUzdNASswsFtmwSt7Vj8po9IuqXm0UXz7QKPuEUmPB4XyjGfaAr2PSuELMwkRMVH1EpIkX5bTZGRB3eCA== + dependencies: + "@types/parse-json" "^4.0.0" + import-fresh "^3.2.1" + parse-json "^5.0.0" + path-type "^4.0.0" + yaml "^1.10.0" + +cosmiconfig@^8.3.5: + version "8.3.6" + resolved "https://registry.npmmirror.com/cosmiconfig/-/cosmiconfig-8.3.6.tgz#060a2b871d66dba6c8538ea1118ba1ac16f5fae3" + integrity sha512-kcZ6+W5QzcJ3P1Mt+83OUv/oHFqZHIx8DuxG6eZ5RGMERoLqp4BuGjhHLYGK+Kf5XVkQvqBSmAy/nGWN3qDgEA== + dependencies: + import-fresh "^3.3.0" + js-yaml "^4.1.0" + parse-json "^5.2.0" + path-type "^4.0.0" + +cross-spawn@^7.0.3: + version "7.0.3" + resolved "https://registry.npmmirror.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" + integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== + dependencies: + path-key "^3.1.0" + shebang-command "^2.0.0" + which "^2.0.1" + +crypto-random-string@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/crypto-random-string/-/crypto-random-string-4.0.0.tgz#5a3cc53d7dd86183df5da0312816ceeeb5bb1fc2" + integrity sha512-x8dy3RnvYdlUcPOjkEHqozhiwzKNSq7GcPuXFbnyMOCHxX8V3OgIg/pYuabl2sbUPfIJaeAQB7PMOK8DFIdoRA== + dependencies: + type-fest "^1.0.1" + +css-declaration-sorter@^6.3.1: + version "6.4.1" + resolved "https://registry.npmmirror.com/css-declaration-sorter/-/css-declaration-sorter-6.4.1.tgz#28beac7c20bad7f1775be3a7129d7eae409a3a71" + integrity sha512-rtdthzxKuyq6IzqX6jEcIzQF/YqccluefyCYheovBOLhFT/drQA9zj/UbRAa9J7C0o6EG6u3E6g+vKkay7/k3g== + +css-loader@^6.8.1: + version "6.8.1" + resolved "https://registry.npmmirror.com/css-loader/-/css-loader-6.8.1.tgz#0f8f52699f60f5e679eab4ec0fcd68b8e8a50a88" + integrity sha512-xDAXtEVGlD0gJ07iclwWVkLoZOpEvAWaSyf6W18S2pOC//K8+qUDIx8IIT3D+HjnmkJPQeesOPv5aiUaJsCM2g== + dependencies: + icss-utils "^5.1.0" + postcss "^8.4.21" + postcss-modules-extract-imports "^3.0.0" + postcss-modules-local-by-default "^4.0.3" + postcss-modules-scope "^3.0.0" + postcss-modules-values "^4.0.0" + postcss-value-parser "^4.2.0" + semver "^7.3.8" + +css-minimizer-webpack-plugin@^4.2.2: + version "4.2.2" + resolved "https://registry.npmmirror.com/css-minimizer-webpack-plugin/-/css-minimizer-webpack-plugin-4.2.2.tgz#79f6199eb5adf1ff7ba57f105e3752d15211eb35" + integrity sha512-s3Of/4jKfw1Hj9CxEO1E5oXhQAxlayuHO2y/ML+C6I9sQ7FdzfEV6QgMLN3vI+qFsjJGIAFLKtQK7t8BOXAIyA== + dependencies: + cssnano "^5.1.8" + jest-worker "^29.1.2" + postcss "^8.4.17" + schema-utils "^4.0.0" + serialize-javascript "^6.0.0" + source-map "^0.6.1" + +css-select@^4.1.3: + version "4.3.0" + resolved "https://registry.npmmirror.com/css-select/-/css-select-4.3.0.tgz#db7129b2846662fd8628cfc496abb2b59e41529b" + integrity sha512-wPpOYtnsVontu2mODhA19JrqWxNsfdatRKd64kmpRbQgh1KtItko5sTnEpPdpSaJszTOhEMlF/RPz28qj4HqhQ== + dependencies: + boolbase "^1.0.0" + css-what "^6.0.1" + domhandler "^4.3.1" + domutils "^2.8.0" + nth-check "^2.0.1" + +css-select@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/css-select/-/css-select-5.1.0.tgz#b8ebd6554c3637ccc76688804ad3f6a6fdaea8a6" + integrity sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg== + dependencies: + boolbase "^1.0.0" + css-what "^6.1.0" + domhandler "^5.0.2" + domutils "^3.0.1" + nth-check "^2.0.1" + +css-tree@^1.1.2, css-tree@^1.1.3: + version "1.1.3" + resolved "https://registry.npmmirror.com/css-tree/-/css-tree-1.1.3.tgz#eb4870fb6fd7707327ec95c2ff2ab09b5e8db91d" + integrity sha512-tRpdppF7TRazZrjJ6v3stzv93qxRcSsFmW6cX0Zm2NVKpxE1WV1HblnghVv9TreireHkqI/VDEsfolRF1p6y7Q== + dependencies: + mdn-data "2.0.14" + source-map "^0.6.1" + +css-what@^6.0.1, css-what@^6.1.0: + version "6.1.0" + resolved "https://registry.npmmirror.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" + integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw== + +cssesc@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/cssesc/-/cssesc-3.0.0.tgz#37741919903b868565e1c09ea747445cd18983ee" + integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== + +cssnano-preset-advanced@^5.3.10: + version "5.3.10" + resolved "https://registry.npmmirror.com/cssnano-preset-advanced/-/cssnano-preset-advanced-5.3.10.tgz#25558a1fbf3a871fb6429ce71e41be7f5aca6eef" + integrity sha512-fnYJyCS9jgMU+cmHO1rPSPf9axbQyD7iUhLO5Df6O4G+fKIOMps+ZbU0PdGFejFBBZ3Pftf18fn1eG7MAPUSWQ== + dependencies: + autoprefixer "^10.4.12" + cssnano-preset-default "^5.2.14" + postcss-discard-unused "^5.1.0" + postcss-merge-idents "^5.1.1" + postcss-reduce-idents "^5.2.0" + postcss-zindex "^5.1.0" + +cssnano-preset-default@^5.2.14: + version "5.2.14" + resolved "https://registry.npmmirror.com/cssnano-preset-default/-/cssnano-preset-default-5.2.14.tgz#309def4f7b7e16d71ab2438052093330d9ab45d8" + integrity sha512-t0SFesj/ZV2OTylqQVOrFgEh5uanxbO6ZAdeCrNsUQ6fVuXwYTxJPNAGvGTxHbD68ldIJNec7PyYZDBrfDQ+6A== + dependencies: + css-declaration-sorter "^6.3.1" + cssnano-utils "^3.1.0" + postcss-calc "^8.2.3" + postcss-colormin "^5.3.1" + postcss-convert-values "^5.1.3" + postcss-discard-comments "^5.1.2" + postcss-discard-duplicates "^5.1.0" + postcss-discard-empty "^5.1.1" + postcss-discard-overridden "^5.1.0" + postcss-merge-longhand "^5.1.7" + postcss-merge-rules "^5.1.4" + postcss-minify-font-values "^5.1.0" + postcss-minify-gradients "^5.1.1" + postcss-minify-params "^5.1.4" + postcss-minify-selectors "^5.2.1" + postcss-normalize-charset "^5.1.0" + postcss-normalize-display-values "^5.1.0" + postcss-normalize-positions "^5.1.1" + postcss-normalize-repeat-style "^5.1.1" + postcss-normalize-string "^5.1.0" + postcss-normalize-timing-functions "^5.1.0" + postcss-normalize-unicode "^5.1.1" + postcss-normalize-url "^5.1.0" + postcss-normalize-whitespace "^5.1.1" + postcss-ordered-values "^5.1.3" + postcss-reduce-initial "^5.1.2" + postcss-reduce-transforms "^5.1.0" + postcss-svgo "^5.1.0" + postcss-unique-selectors "^5.1.1" + +cssnano-utils@^3.1.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/cssnano-utils/-/cssnano-utils-3.1.0.tgz#95684d08c91511edfc70d2636338ca37ef3a6861" + integrity sha512-JQNR19/YZhz4psLX/rQ9M83e3z2Wf/HdJbryzte4a3NSuafyp9w/I4U+hx5C2S9g41qlstH7DEWnZaaj83OuEA== + +cssnano@^5.1.15, cssnano@^5.1.8: + version "5.1.15" + resolved "https://registry.npmmirror.com/cssnano/-/cssnano-5.1.15.tgz#ded66b5480d5127fcb44dac12ea5a983755136bf" + integrity sha512-j+BKgDcLDQA+eDifLx0EO4XSA56b7uut3BQFH+wbSaSTuGLuiyTa/wbRYthUXX8LC9mLg+WWKe8h+qJuwTAbHw== + dependencies: + cssnano-preset-default "^5.2.14" + lilconfig "^2.0.3" + yaml "^1.10.2" + +csso@^4.2.0: + version "4.2.0" + resolved "https://registry.npmmirror.com/csso/-/csso-4.2.0.tgz#ea3a561346e8dc9f546d6febedd50187cf389529" + integrity sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA== + dependencies: + css-tree "^1.1.2" + +csstype@^3.0.2: + version "3.1.3" + resolved "https://registry.npmmirror.com/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81" + integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw== + +debounce@^1.2.1: + version "1.2.1" + resolved "https://registry.npmmirror.com/debounce/-/debounce-1.2.1.tgz#38881d8f4166a5c5848020c11827b834bcb3e0a5" + integrity sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug== + +debug@2.6.9, debug@^2.6.0: + version "2.6.9" + resolved "https://registry.npmmirror.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" + integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== + dependencies: + ms "2.0.0" + +debug@4, debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: + version "4.3.4" + resolved "https://registry.npmmirror.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + +decode-named-character-reference@^1.0.0: + version "1.0.2" + resolved "https://registry.npmmirror.com/decode-named-character-reference/-/decode-named-character-reference-1.0.2.tgz#daabac9690874c394c81e4162a0304b35d824f0e" + integrity sha512-O8x12RzrUF8xyVcY0KJowWsmaJxQbmy0/EtnNtHRpsOcT7dFk5W598coHqBVpmWo1oQQfsCqfCmkZN5DJrZVdg== + dependencies: + character-entities "^2.0.0" + +decompress-response@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/decompress-response/-/decompress-response-6.0.0.tgz#ca387612ddb7e104bd16d85aab00d5ecf09c66fc" + integrity sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ== + dependencies: + mimic-response "^3.1.0" + +deep-extend@^0.6.0: + version "0.6.0" + resolved "https://registry.npmmirror.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" + integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== + +deepmerge@^4.2.2: + version "4.3.1" + resolved "https://registry.npmmirror.com/deepmerge/-/deepmerge-4.3.1.tgz#44b5f2147cd3b00d4b56137685966f26fd25dd4a" + integrity sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A== + +default-gateway@^6.0.3: + version "6.0.3" + resolved "https://registry.npmmirror.com/default-gateway/-/default-gateway-6.0.3.tgz#819494c888053bdb743edbf343d6cdf7f2943a71" + integrity sha512-fwSOJsbbNzZ/CUFpqFBqYfYNLj1NbMPm8MMCIzHjC83iSJRBEGmDUxU+WP661BaBQImeC2yHwXtz+P/O9o+XEg== + dependencies: + execa "^5.0.0" + +defer-to-connect@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/defer-to-connect/-/defer-to-connect-2.0.1.tgz#8016bdb4143e4632b77a3449c6236277de520587" + integrity sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg== + +define-data-property@^1.0.1, define-data-property@^1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/define-data-property/-/define-data-property-1.1.1.tgz#c35f7cd0ab09883480d12ac5cb213715587800b3" + integrity sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ== + dependencies: + get-intrinsic "^1.2.1" + gopd "^1.0.1" + has-property-descriptors "^1.0.0" + +define-lazy-prop@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz#3f7ae421129bcaaac9bc74905c98a0009ec9ee7f" + integrity sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og== + +define-properties@^1.2.1: + version "1.2.1" + resolved "https://registry.npmmirror.com/define-properties/-/define-properties-1.2.1.tgz#10781cc616eb951a80a034bafcaa7377f6af2b6c" + integrity sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg== + dependencies: + define-data-property "^1.0.1" + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +del@^6.1.1: + version "6.1.1" + resolved "https://registry.npmmirror.com/del/-/del-6.1.1.tgz#3b70314f1ec0aa325c6b14eb36b95786671edb7a" + integrity sha512-ua8BhapfP0JUJKC/zV9yHHDW/rDoDxP4Zhn3AkA6/xT6gY7jYXJiaeyBZznYVujhZZET+UgcbZiQ7sN3WqcImg== + dependencies: + globby "^11.0.1" + graceful-fs "^4.2.4" + is-glob "^4.0.1" + is-path-cwd "^2.2.0" + is-path-inside "^3.0.2" + p-map "^4.0.0" + rimraf "^3.0.2" + slash "^3.0.0" + +depd@2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" + integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== + +depd@~1.1.2: + version "1.1.2" + resolved "https://registry.npmmirror.com/depd/-/depd-1.1.2.tgz#9bcd52e14c097763e749b274c4346ed2e560b5a9" + integrity sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ== + +dequal@^2.0.0: + version "2.0.3" + resolved "https://registry.npmmirror.com/dequal/-/dequal-2.0.3.tgz#2644214f1997d39ed0ee0ece72335490a7ac67be" + integrity sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA== + +destroy@1.2.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" + integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== + +detect-node@^2.0.4: + version "2.1.0" + resolved "https://registry.npmmirror.com/detect-node/-/detect-node-2.1.0.tgz#c9c70775a49c3d03bc2c06d9a73be550f978f8b1" + integrity sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g== + +detect-port-alt@^1.1.6: + version "1.1.6" + resolved "https://registry.npmmirror.com/detect-port-alt/-/detect-port-alt-1.1.6.tgz#24707deabe932d4a3cf621302027c2b266568275" + integrity sha512-5tQykt+LqfJFBEYaDITx7S7cR7mJ/zQmLXZ2qt5w04ainYZw6tBf9dBunMjVeVOdYVRUzUOE4HkY5J7+uttb5Q== + dependencies: + address "^1.0.1" + debug "^2.6.0" + +detect-port@^1.5.1: + version "1.5.1" + resolved "https://registry.npmmirror.com/detect-port/-/detect-port-1.5.1.tgz#451ca9b6eaf20451acb0799b8ab40dff7718727b" + integrity sha512-aBzdj76lueB6uUst5iAs7+0H/oOjqI5D16XUWxlWMIMROhcM0rfsNVk93zTngq1dDNpoXRr++Sus7ETAExppAQ== + dependencies: + address "^1.0.1" + debug "4" + +devlop@^1.0.0, devlop@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/devlop/-/devlop-1.1.0.tgz#4db7c2ca4dc6e0e834c30be70c94bbc976dc7018" + integrity sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA== + dependencies: + dequal "^2.0.0" + +dir-glob@^3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" + integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== + dependencies: + path-type "^4.0.0" + +dns-equal@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d" + integrity sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg== + +dns-packet@^5.2.2: + version "5.6.1" + resolved "https://registry.npmmirror.com/dns-packet/-/dns-packet-5.6.1.tgz#ae888ad425a9d1478a0674256ab866de1012cf2f" + integrity sha512-l4gcSouhcgIKRvyy99RNVOgxXiicE+2jZoNmaNmZ6JXiGajBOJAesk1OBlJuM5k2c+eudGdLxDqXuPCKIj6kpw== + dependencies: + "@leichtgewicht/ip-codec" "^2.0.1" + +dom-converter@^0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/dom-converter/-/dom-converter-0.2.0.tgz#6721a9daee2e293682955b6afe416771627bb768" + integrity sha512-gd3ypIPfOMr9h5jIKq8E3sHOTCjeirnl0WK5ZdS1AW0Odt0b1PaWaHdJ4Qk4klv+YB9aJBS7mESXjFoDQPu6DA== + dependencies: + utila "~0.4" + +dom-serializer@^1.0.1: + version "1.4.1" + resolved "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-1.4.1.tgz#de5d41b1aea290215dc45a6dae8adcf1d32e2d30" + integrity sha512-VHwB3KfrcOOkelEG2ZOfxqLZdfkil8PtJi4P8N2MMXucZq2yLp75ClViUlOVwyoHEDjYU433Aq+5zWP61+RGag== + dependencies: + domelementtype "^2.0.1" + domhandler "^4.2.0" + entities "^2.0.0" + +dom-serializer@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/dom-serializer/-/dom-serializer-2.0.0.tgz#e41b802e1eedf9f6cae183ce5e622d789d7d8e53" + integrity sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg== + dependencies: + domelementtype "^2.3.0" + domhandler "^5.0.2" + entities "^4.2.0" + +domelementtype@^2.0.1, domelementtype@^2.2.0, domelementtype@^2.3.0: + version "2.3.0" + resolved "https://registry.npmmirror.com/domelementtype/-/domelementtype-2.3.0.tgz#5c45e8e869952626331d7aab326d01daf65d589d" + integrity sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw== + +domhandler@^4.0.0, domhandler@^4.2.0, domhandler@^4.3.1: + version "4.3.1" + resolved "https://registry.npmmirror.com/domhandler/-/domhandler-4.3.1.tgz#8d792033416f59d68bc03a5aa7b018c1ca89279c" + integrity sha512-GrwoxYN+uWlzO8uhUXRl0P+kHE4GtVPfYzVLcUxPL7KNdHKj66vvlhiweIHqYYXWlw+T8iLMp42Lm67ghw4WMQ== + dependencies: + domelementtype "^2.2.0" + +domhandler@^5.0.2, domhandler@^5.0.3: + version "5.0.3" + resolved "https://registry.npmmirror.com/domhandler/-/domhandler-5.0.3.tgz#cc385f7f751f1d1fc650c21374804254538c7d31" + integrity sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w== + dependencies: + domelementtype "^2.3.0" + +domutils@^2.5.2, domutils@^2.8.0: + version "2.8.0" + resolved "https://registry.npmmirror.com/domutils/-/domutils-2.8.0.tgz#4437def5db6e2d1f5d6ee859bd95ca7d02048135" + integrity sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A== + dependencies: + dom-serializer "^1.0.1" + domelementtype "^2.2.0" + domhandler "^4.2.0" + +domutils@^3.0.1: + version "3.1.0" + resolved "https://registry.npmmirror.com/domutils/-/domutils-3.1.0.tgz#c47f551278d3dc4b0b1ab8cbb42d751a6f0d824e" + integrity sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA== + dependencies: + dom-serializer "^2.0.0" + domelementtype "^2.3.0" + domhandler "^5.0.3" + +dot-case@^3.0.4: + version "3.0.4" + resolved "https://registry.npmmirror.com/dot-case/-/dot-case-3.0.4.tgz#9b2b670d00a431667a8a75ba29cd1b98809ce751" + integrity sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + +dot-prop@^6.0.1: + version "6.0.1" + resolved "https://registry.npmmirror.com/dot-prop/-/dot-prop-6.0.1.tgz#fc26b3cf142b9e59b74dbd39ed66ce620c681083" + integrity sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA== + dependencies: + is-obj "^2.0.0" + +duplexer@^0.1.2: + version "0.1.2" + resolved "https://registry.npmmirror.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" + integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== + +eastasianwidth@^0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" + integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== + +ee-first@1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" + integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow== + +electron-to-chromium@^1.4.601: + version "1.4.616" + resolved "https://registry.npmmirror.com/electron-to-chromium/-/electron-to-chromium-1.4.616.tgz#4bddbc2c76e1e9dbf449ecd5da3d8119826ea4fb" + integrity sha512-1n7zWYh8eS0L9Uy+GskE0lkBUNK83cXTVJI0pU3mGprFsbfSdAc15VTFbo+A+Bq4pwstmL30AVcEU3Fo463lNg== + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +emoji-regex@^9.2.2: + version "9.2.2" + resolved "https://registry.npmmirror.com/emoji-regex/-/emoji-regex-9.2.2.tgz#840c8803b0d8047f4ff0cf963176b32d4ef3ed72" + integrity sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg== + +emojilib@^2.4.0: + version "2.4.0" + resolved "https://registry.npmmirror.com/emojilib/-/emojilib-2.4.0.tgz#ac518a8bb0d5f76dda57289ccb2fdf9d39ae721e" + integrity sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw== + +emojis-list@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/emojis-list/-/emojis-list-3.0.0.tgz#5570662046ad29e2e916e71aae260abdff4f6a78" + integrity sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q== + +emoticon@^4.0.1: + version "4.0.1" + resolved "https://registry.npmmirror.com/emoticon/-/emoticon-4.0.1.tgz#2d2bbbf231ce3a5909e185bbb64a9da703a1e749" + integrity sha512-dqx7eA9YaqyvYtUhJwT4rC1HIp82j5ybS1/vQ42ur+jBe17dJMwZE4+gvL1XadSFfxaPFFGt3Xsw+Y8akThDlw== + +encodeurl@~1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" + integrity sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w== + +enhanced-resolve@^5.15.0: + version "5.15.0" + resolved "https://registry.npmmirror.com/enhanced-resolve/-/enhanced-resolve-5.15.0.tgz#1af946c7d93603eb88e9896cee4904dc012e9c35" + integrity sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg== + dependencies: + graceful-fs "^4.2.4" + tapable "^2.2.0" + +entities@^2.0.0: + version "2.2.0" + resolved "https://registry.npmmirror.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55" + integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A== + +entities@^4.2.0, entities@^4.4.0: + version "4.5.0" + resolved "https://registry.npmmirror.com/entities/-/entities-4.5.0.tgz#5d268ea5e7113ec74c4d033b79ea5a35a488fb48" + integrity sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw== + +error-ex@^1.3.1: + version "1.3.2" + resolved "https://registry.npmmirror.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" + integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== + dependencies: + is-arrayish "^0.2.1" + +es-module-lexer@^1.2.1: + version "1.4.1" + resolved "https://registry.npmmirror.com/es-module-lexer/-/es-module-lexer-1.4.1.tgz#41ea21b43908fe6a287ffcbe4300f790555331f5" + integrity sha512-cXLGjP0c4T3flZJKQSuziYoq7MlT+rnvfZjfp7h+I7K9BNX54kP9nyWvdbwjQ4u1iWbOL4u96fgeZLToQlZC7w== + +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.npmmirror.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + +escape-goat@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/escape-goat/-/escape-goat-4.0.0.tgz#9424820331b510b0666b98f7873fe11ac4aa8081" + integrity sha512-2Sd4ShcWxbx6OY1IHyla/CVNwvg7XwZVoXZHcSu9w9SReNP1EzzD5T8NWKIR38fIqEns9kDWKUQTXXAmlDrdPg== + +escape-html@^1.0.3, escape-html@~1.0.3: + version "1.0.3" + resolved "https://registry.npmmirror.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" + integrity sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow== + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== + +escape-string-regexp@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" + integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== + +escape-string-regexp@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/escape-string-regexp/-/escape-string-regexp-5.0.0.tgz#4683126b500b61762f2dbebace1806e8be31b1c8" + integrity sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw== + +eslint-scope@5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" + integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== + dependencies: + esrecurse "^4.3.0" + estraverse "^4.1.1" + +esprima@^4.0.0: + version "4.0.1" + resolved "https://registry.npmmirror.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" + integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== + +esrecurse@^4.3.0: + version "4.3.0" + resolved "https://registry.npmmirror.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" + integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== + dependencies: + estraverse "^5.2.0" + +estraverse@^4.1.1: + version "4.3.0" + resolved "https://registry.npmmirror.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" + integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== + +estraverse@^5.2.0: + version "5.3.0" + resolved "https://registry.npmmirror.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" + integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== + +estree-util-attach-comments@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/estree-util-attach-comments/-/estree-util-attach-comments-3.0.0.tgz#344bde6a64c8a31d15231e5ee9e297566a691c2d" + integrity sha512-cKUwm/HUcTDsYh/9FgnuFqpfquUbwIqwKM26BVCGDPVgvaCl/nDCCjUfiLlx6lsEZ3Z4RFxNbOQ60pkaEwFxGw== + dependencies: + "@types/estree" "^1.0.0" + +estree-util-build-jsx@^3.0.0: + version "3.0.1" + resolved "https://registry.npmmirror.com/estree-util-build-jsx/-/estree-util-build-jsx-3.0.1.tgz#b6d0bced1dcc4f06f25cf0ceda2b2dcaf98168f1" + integrity sha512-8U5eiL6BTrPxp/CHbs2yMgP8ftMhR5ww1eIKoWRMlqvltHF8fZn5LRDvTKuxD3DUn+shRbLGqXemcP51oFCsGQ== + dependencies: + "@types/estree-jsx" "^1.0.0" + devlop "^1.0.0" + estree-util-is-identifier-name "^3.0.0" + estree-walker "^3.0.0" + +estree-util-is-identifier-name@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/estree-util-is-identifier-name/-/estree-util-is-identifier-name-3.0.0.tgz#0b5ef4c4ff13508b34dcd01ecfa945f61fce5dbd" + integrity sha512-hFtqIDZTIUZ9BXLb8y4pYGyk6+wekIivNVTcmvk8NoOh+VeRn5y6cEHzbURrWbfp1fIqdVipilzj+lfaadNZmg== + +estree-util-to-js@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/estree-util-to-js/-/estree-util-to-js-2.0.0.tgz#10a6fb924814e6abb62becf0d2bc4dea51d04f17" + integrity sha512-WDF+xj5rRWmD5tj6bIqRi6CkLIXbbNQUcxQHzGysQzvHmdYG2G7p/Tf0J0gpxGgkeMZNTIjT/AoSvC9Xehcgdg== + dependencies: + "@types/estree-jsx" "^1.0.0" + astring "^1.8.0" + source-map "^0.7.0" + +estree-util-value-to-estree@^3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/estree-util-value-to-estree/-/estree-util-value-to-estree-3.0.1.tgz#0b7b5d6b6a4aaad5c60999ffbc265a985df98ac5" + integrity sha512-b2tdzTurEIbwRh+mKrEcaWfu1wgb8J1hVsgREg7FFiecWwK/PhO8X0kyc+0bIcKNtD4sqxIdNoRy6/p/TvECEA== + dependencies: + "@types/estree" "^1.0.0" + is-plain-obj "^4.0.0" + +estree-util-visit@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/estree-util-visit/-/estree-util-visit-2.0.0.tgz#13a9a9f40ff50ed0c022f831ddf4b58d05446feb" + integrity sha512-m5KgiH85xAhhW8Wta0vShLcUvOsh3LLPI2YVwcbio1l7E09NTLL1EyMZFM1OyWowoH0skScNbhOPl4kcBgzTww== + dependencies: + "@types/estree-jsx" "^1.0.0" + "@types/unist" "^3.0.0" + +estree-walker@^3.0.0: + version "3.0.3" + resolved "https://registry.npmmirror.com/estree-walker/-/estree-walker-3.0.3.tgz#67c3e549ec402a487b4fc193d1953a524752340d" + integrity sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g== + dependencies: + "@types/estree" "^1.0.0" + +esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.npmmirror.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + +eta@^2.2.0: + version "2.2.0" + resolved "https://registry.npmmirror.com/eta/-/eta-2.2.0.tgz#eb8b5f8c4e8b6306561a455e62cd7492fe3a9b8a" + integrity sha512-UVQ72Rqjy/ZKQalzV5dCCJP80GrmPrMxh6NlNf+erV6ObL0ZFkhCstWRawS85z3smdr3d2wXPsZEY7rDPfGd2g== + +etag@~1.8.1: + version "1.8.1" + resolved "https://registry.npmmirror.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" + integrity sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg== + +eval@^0.1.8: + version "0.1.8" + resolved "https://registry.npmmirror.com/eval/-/eval-0.1.8.tgz#2b903473b8cc1d1989b83a1e7923f883eb357f85" + integrity sha512-EzV94NYKoO09GLXGjXj9JIlXijVck4ONSr5wiCWDvhsvj5jxSrzTmRU/9C1DyB6uToszLs8aifA6NQ7lEQdvFw== + dependencies: + "@types/node" "*" + require-like ">= 0.1.1" + +eventemitter3@^4.0.0: + version "4.0.7" + resolved "https://registry.npmmirror.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" + integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== + +events@^3.2.0: + version "3.3.0" + resolved "https://registry.npmmirror.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" + integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== + +execa@^5.0.0: + version "5.1.1" + resolved "https://registry.npmmirror.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" + integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^6.0.0" + human-signals "^2.1.0" + is-stream "^2.0.0" + merge-stream "^2.0.0" + npm-run-path "^4.0.1" + onetime "^5.1.2" + signal-exit "^3.0.3" + strip-final-newline "^2.0.0" + +express@^4.17.3: + version "4.18.2" + resolved "https://registry.npmmirror.com/express/-/express-4.18.2.tgz#3fabe08296e930c796c19e3c516979386ba9fd59" + integrity sha512-5/PsL6iGPdfQ/lKM1UuielYgv3BUoJfz1aUwU9vHZ+J7gyvwdQXFEBIEIaxeGf0GIcreATNyBExtalisDbuMqQ== + dependencies: + accepts "~1.3.8" + array-flatten "1.1.1" + body-parser "1.20.1" + content-disposition "0.5.4" + content-type "~1.0.4" + cookie "0.5.0" + cookie-signature "1.0.6" + debug "2.6.9" + depd "2.0.0" + encodeurl "~1.0.2" + escape-html "~1.0.3" + etag "~1.8.1" + finalhandler "1.2.0" + fresh "0.5.2" + http-errors "2.0.0" + merge-descriptors "1.0.1" + methods "~1.1.2" + on-finished "2.4.1" + parseurl "~1.3.3" + path-to-regexp "0.1.7" + proxy-addr "~2.0.7" + qs "6.11.0" + range-parser "~1.2.1" + safe-buffer "5.2.1" + send "0.18.0" + serve-static "1.15.0" + setprototypeof "1.2.0" + statuses "2.0.1" + type-is "~1.6.18" + utils-merge "1.0.1" + vary "~1.1.2" + +extend-shallow@^2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" + integrity sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug== + dependencies: + is-extendable "^0.1.0" + +extend@^3.0.0: + version "3.0.2" + resolved "https://registry.npmmirror.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" + integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== + +fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: + version "3.1.3" + resolved "https://registry.npmmirror.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-glob@^3.2.11, fast-glob@^3.2.9, fast-glob@^3.3.0: + version "3.3.2" + resolved "https://registry.npmmirror.com/fast-glob/-/fast-glob-3.3.2.tgz#a904501e57cfdd2ffcded45e99a54fef55e46129" + integrity sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + +fast-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +fast-url-parser@1.1.3: + version "1.1.3" + resolved "https://registry.npmmirror.com/fast-url-parser/-/fast-url-parser-1.1.3.tgz#f4af3ea9f34d8a271cf58ad2b3759f431f0b318d" + integrity sha512-5jOCVXADYNuRkKFzNJ0dCCewsZiYo0dz8QNYljkOpFC6r2U4OBmKtvm/Tsuh4w1YYdDqDb31a8TVhBJ2OJKdqQ== + dependencies: + punycode "^1.3.2" + +fastq@^1.6.0: + version "1.16.0" + resolved "https://registry.npmmirror.com/fastq/-/fastq-1.16.0.tgz#83b9a9375692db77a822df081edb6a9cf6839320" + integrity sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA== + dependencies: + reusify "^1.0.4" + +fault@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/fault/-/fault-2.0.1.tgz#d47ca9f37ca26e4bd38374a7c500b5a384755b6c" + integrity sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ== + dependencies: + format "^0.2.0" + +faye-websocket@^0.11.3: + version "0.11.4" + resolved "https://registry.npmmirror.com/faye-websocket/-/faye-websocket-0.11.4.tgz#7f0d9275cfdd86a1c963dc8b65fcc451edcbb1da" + integrity sha512-CzbClwlXAuiRQAlUyfqPgvPoNKTckTPGfwZV4ZdAhVcP2lh9KUxJg2b5GkE7XbjKQ3YJnQ9z6D9ntLAlB+tP8g== + dependencies: + websocket-driver ">=0.5.1" + +feed@^4.2.2: + version "4.2.2" + resolved "https://registry.npmmirror.com/feed/-/feed-4.2.2.tgz#865783ef6ed12579e2c44bbef3c9113bc4956a7e" + integrity sha512-u5/sxGfiMfZNtJ3OvQpXcvotFpYkL0n9u9mM2vkui2nGo8b4wvDkJ8gAkYqbA8QpGyFCv3RK0Z+Iv+9veCS9bQ== + dependencies: + xml-js "^1.6.11" + +file-loader@^6.2.0: + version "6.2.0" + resolved "https://registry.npmmirror.com/file-loader/-/file-loader-6.2.0.tgz#baef7cf8e1840df325e4390b4484879480eebe4d" + integrity sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw== + dependencies: + loader-utils "^2.0.0" + schema-utils "^3.0.0" + +filesize@^8.0.6: + version "8.0.7" + resolved "https://registry.npmmirror.com/filesize/-/filesize-8.0.7.tgz#695e70d80f4e47012c132d57a059e80c6b580bd8" + integrity sha512-pjmC+bkIF8XI7fWaH8KxHcZL3DPybs1roSKP4rKDvy20tAWwIObE4+JIseG2byfGKhud5ZnM4YSGKBz7Sh0ndQ== + +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.npmmirror.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== + dependencies: + to-regex-range "^5.0.1" + +finalhandler@1.2.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/finalhandler/-/finalhandler-1.2.0.tgz#7d23fe5731b207b4640e4fcd00aec1f9207a7b32" + integrity sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg== + dependencies: + debug "2.6.9" + encodeurl "~1.0.2" + escape-html "~1.0.3" + on-finished "2.4.1" + parseurl "~1.3.3" + statuses "2.0.1" + unpipe "~1.0.0" + +find-cache-dir@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/find-cache-dir/-/find-cache-dir-4.0.0.tgz#a30ee0448f81a3990708f6453633c733e2f6eec2" + integrity sha512-9ZonPT4ZAK4a+1pUPVPZJapbi7O5qbbJPdYw/NOQWZZbVLdDTYM3A4R9z/DpAM08IDaFGsvPgiGZ82WEwUDWjg== + dependencies: + common-path-prefix "^3.0.0" + pkg-dir "^7.0.0" + +find-up@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" + integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== + dependencies: + locate-path "^3.0.0" + +find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + +find-up@^6.3.0: + version "6.3.0" + resolved "https://registry.npmmirror.com/find-up/-/find-up-6.3.0.tgz#2abab3d3280b2dc7ac10199ef324c4e002c8c790" + integrity sha512-v2ZsoEuVHYy8ZIlYqwPe/39Cy+cFDzp4dXPaxNvkEuouymu+2Jbz0PxpKarJHYJTmv2HWT3O382qY8l4jMWthw== + dependencies: + locate-path "^7.1.0" + path-exists "^5.0.0" + +flat@^5.0.2: + version "5.0.2" + resolved "https://registry.npmmirror.com/flat/-/flat-5.0.2.tgz#8ca6fe332069ffa9d324c327198c598259ceb241" + integrity sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ== + +follow-redirects@^1.0.0: + version "1.15.3" + resolved "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.3.tgz#fe2f3ef2690afce7e82ed0b44db08165b207123a" + integrity sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q== + +fork-ts-checker-webpack-plugin@^6.5.0: + version "6.5.3" + resolved "https://registry.npmmirror.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-6.5.3.tgz#eda2eff6e22476a2688d10661688c47f611b37f3" + integrity sha512-SbH/l9ikmMWycd5puHJKTkZJKddF4iRLyW3DeZ08HTI7NGyLS38MXd/KGgeWumQO7YNQbW2u/NtPT2YowbPaGQ== + dependencies: + "@babel/code-frame" "^7.8.3" + "@types/json-schema" "^7.0.5" + chalk "^4.1.0" + chokidar "^3.4.2" + cosmiconfig "^6.0.0" + deepmerge "^4.2.2" + fs-extra "^9.0.0" + glob "^7.1.6" + memfs "^3.1.2" + minimatch "^3.0.4" + schema-utils "2.7.0" + semver "^7.3.2" + tapable "^1.0.0" + +form-data-encoder@^2.1.2: + version "2.1.4" + resolved "https://registry.npmmirror.com/form-data-encoder/-/form-data-encoder-2.1.4.tgz#261ea35d2a70d48d30ec7a9603130fa5515e9cd5" + integrity sha512-yDYSgNMraqvnxiEXO4hi88+YZxaHC6QKzb5N84iRCTDeRO7ZALpir/lVmf/uXUhnwUr2O4HU8s/n6x+yNjQkHw== + +format@^0.2.0: + version "0.2.2" + resolved "https://registry.npmmirror.com/format/-/format-0.2.2.tgz#d6170107e9efdc4ed30c9dc39016df942b5cb58b" + integrity sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww== + +forwarded@0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" + integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== + +fraction.js@^4.3.6: + version "4.3.7" + resolved "https://registry.npmmirror.com/fraction.js/-/fraction.js-4.3.7.tgz#06ca0085157e42fda7f9e726e79fefc4068840f7" + integrity sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew== + +fresh@0.5.2: + version "0.5.2" + resolved "https://registry.npmmirror.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" + integrity sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q== + +fs-extra@^11.1.1: + version "11.2.0" + resolved "https://registry.npmmirror.com/fs-extra/-/fs-extra-11.2.0.tgz#e70e17dfad64232287d01929399e0ea7c86b0e5b" + integrity sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw== + dependencies: + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + +fs-extra@^9.0.0: + version "9.1.0" + resolved "https://registry.npmmirror.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" + integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ== + dependencies: + at-least-node "^1.0.0" + graceful-fs "^4.2.0" + jsonfile "^6.0.1" + universalify "^2.0.0" + +fs-monkey@^1.0.4: + version "1.0.5" + resolved "https://registry.npmmirror.com/fs-monkey/-/fs-monkey-1.0.5.tgz#fe450175f0db0d7ea758102e1d84096acb925788" + integrity sha512-8uMbBjrhzW76TYgEV27Y5E//W2f/lTFmx78P2w19FZSxarhI/798APGQyuGCwmkNxgwGRhrLfvWyLBvNtuOmew== + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw== + +fsevents@~2.3.2: + version "2.3.3" + resolved "https://registry.npmmirror.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + +function-bind@^1.1.2: + version "1.1.2" + resolved "https://registry.npmmirror.com/function-bind/-/function-bind-1.1.2.tgz#2c02d864d97f3ea6c8830c464cbd11ab6eab7a1c" + integrity sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA== + +gensync@^1.0.0-beta.2: + version "1.0.0-beta.2" + resolved "https://registry.npmmirror.com/gensync/-/gensync-1.0.0-beta.2.tgz#32a6ee76c3d7f52d46b2b1ae5d93fea8580a25e0" + integrity sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg== + +get-intrinsic@^1.0.2, get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2: + version "1.2.2" + resolved "https://registry.npmmirror.com/get-intrinsic/-/get-intrinsic-1.2.2.tgz#281b7622971123e1ef4b3c90fd7539306da93f3b" + integrity sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA== + dependencies: + function-bind "^1.1.2" + has-proto "^1.0.1" + has-symbols "^1.0.3" + hasown "^2.0.0" + +get-own-enumerable-property-symbols@^3.0.0: + version "3.0.2" + resolved "https://registry.npmmirror.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664" + integrity sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g== + +get-stream@^6.0.0, get-stream@^6.0.1: + version "6.0.1" + resolved "https://registry.npmmirror.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" + integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== + +github-slugger@^1.5.0: + version "1.5.0" + resolved "https://registry.npmmirror.com/github-slugger/-/github-slugger-1.5.0.tgz#17891bbc73232051474d68bd867a34625c955f7d" + integrity sha512-wIh+gKBI9Nshz2o46B0B3f5k/W+WI9ZAv6y5Dn5WJ5SK1t0TnDimB4WE5rmTD05ZAIn8HALCZVmCsvj0w0v0lw== + +glob-parent@^5.1.2, glob-parent@~5.1.2: + version "5.1.2" + resolved "https://registry.npmmirror.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + +glob-parent@^6.0.1: + version "6.0.2" + resolved "https://registry.npmmirror.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" + integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== + dependencies: + is-glob "^4.0.3" + +glob-to-regexp@^0.4.1: + version "0.4.1" + resolved "https://registry.npmmirror.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" + integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== + +glob@^7.0.0, glob@^7.1.3, glob@^7.1.6: + version "7.2.3" + resolved "https://registry.npmmirror.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" + integrity sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.1.1" + once "^1.3.0" + path-is-absolute "^1.0.0" + +global-dirs@^3.0.0: + version "3.0.1" + resolved "https://registry.npmmirror.com/global-dirs/-/global-dirs-3.0.1.tgz#0c488971f066baceda21447aecb1a8b911d22485" + integrity sha512-NBcGGFbBA9s1VzD41QXDG+3++t9Mn5t1FpLdhESY6oKY4gYTFpX4wO3sqGUa0Srjtbfj3szX0RnemmrVRUdULA== + dependencies: + ini "2.0.0" + +global-modules@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/global-modules/-/global-modules-2.0.0.tgz#997605ad2345f27f51539bea26574421215c7780" + integrity sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A== + dependencies: + global-prefix "^3.0.0" + +global-prefix@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/global-prefix/-/global-prefix-3.0.0.tgz#fc85f73064df69f50421f47f883fe5b913ba9b97" + integrity sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg== + dependencies: + ini "^1.3.5" + kind-of "^6.0.2" + which "^1.3.1" + +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.npmmirror.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + +globby@^11.0.1, globby@^11.0.4, globby@^11.1.0: + version "11.1.0" + resolved "https://registry.npmmirror.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" + integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.2.9" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^3.0.0" + +globby@^13.1.1: + version "13.2.2" + resolved "https://registry.npmmirror.com/globby/-/globby-13.2.2.tgz#63b90b1bf68619c2135475cbd4e71e66aa090592" + integrity sha512-Y1zNGV+pzQdh7H39l9zgB4PJqjRNqydvdYCDG4HFXM4XuvSaQQlEc91IU1yALL8gUTDomgBAfz3XJdmUS+oo0w== + dependencies: + dir-glob "^3.0.1" + fast-glob "^3.3.0" + ignore "^5.2.4" + merge2 "^1.4.1" + slash "^4.0.0" + +gopd@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/gopd/-/gopd-1.0.1.tgz#29ff76de69dac7489b7c0918a5788e56477c332c" + integrity sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA== + dependencies: + get-intrinsic "^1.1.3" + +got@^12.1.0: + version "12.6.1" + resolved "https://registry.npmmirror.com/got/-/got-12.6.1.tgz#8869560d1383353204b5a9435f782df9c091f549" + integrity sha512-mThBblvlAF1d4O5oqyvN+ZxLAYwIJK7bpMxgYqPD9okW0C3qm5FFn7k811QrcuEBwaogR3ngOFoCfs6mRv7teQ== + dependencies: + "@sindresorhus/is" "^5.2.0" + "@szmarczak/http-timer" "^5.0.1" + cacheable-lookup "^7.0.0" + cacheable-request "^10.2.8" + decompress-response "^6.0.0" + form-data-encoder "^2.1.2" + get-stream "^6.0.1" + http2-wrapper "^2.1.10" + lowercase-keys "^3.0.0" + p-cancelable "^3.0.0" + responselike "^3.0.0" + +graceful-fs@4.2.10: + version "4.2.10" + resolved "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" + integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== + +graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.4, graceful-fs@^4.2.6, graceful-fs@^4.2.9: + version "4.2.11" + resolved "https://registry.npmmirror.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3" + integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ== + +gray-matter@^4.0.3: + version "4.0.3" + resolved "https://registry.npmmirror.com/gray-matter/-/gray-matter-4.0.3.tgz#e893c064825de73ea1f5f7d88c7a9f7274288798" + integrity sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q== + dependencies: + js-yaml "^3.13.1" + kind-of "^6.0.2" + section-matter "^1.0.0" + strip-bom-string "^1.0.0" + +gzip-size@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/gzip-size/-/gzip-size-6.0.0.tgz#065367fd50c239c0671cbcbad5be3e2eeb10e462" + integrity sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q== + dependencies: + duplexer "^0.1.2" + +handle-thing@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/handle-thing/-/handle-thing-2.0.1.tgz#857f79ce359580c340d43081cc648970d0bb234e" + integrity sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg== + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw== + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has-property-descriptors@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz#52ba30b6c5ec87fd89fa574bc1c39125c6f65340" + integrity sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg== + dependencies: + get-intrinsic "^1.2.2" + +has-proto@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/has-proto/-/has-proto-1.0.1.tgz#1885c1305538958aff469fef37937c22795408e0" + integrity sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg== + +has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.npmmirror.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has-yarn@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/has-yarn/-/has-yarn-3.0.0.tgz#c3c21e559730d1d3b57e28af1f30d06fac38147d" + integrity sha512-IrsVwUHhEULx3R8f/aA8AHuEzAorplsab/v8HBzEiIukwq5i/EC+xmOW+HfP1OaDP+2JkgT1yILHN2O3UFIbcA== + +hasown@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c" + integrity sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA== + dependencies: + function-bind "^1.1.2" + +hast-util-from-parse5@^8.0.0: + version "8.0.1" + resolved "https://registry.npmmirror.com/hast-util-from-parse5/-/hast-util-from-parse5-8.0.1.tgz#654a5676a41211e14ee80d1b1758c399a0327651" + integrity sha512-Er/Iixbc7IEa7r/XLtuG52zoqn/b3Xng/w6aZQ0xGVxzhw5xUFxcRqdPzP6yFi/4HBYRaifaI5fQ1RH8n0ZeOQ== + dependencies: + "@types/hast" "^3.0.0" + "@types/unist" "^3.0.0" + devlop "^1.0.0" + hastscript "^8.0.0" + property-information "^6.0.0" + vfile "^6.0.0" + vfile-location "^5.0.0" + web-namespaces "^2.0.0" + +hast-util-parse-selector@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/hast-util-parse-selector/-/hast-util-parse-selector-4.0.0.tgz#352879fa86e25616036037dd8931fb5f34cb4a27" + integrity sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A== + dependencies: + "@types/hast" "^3.0.0" + +hast-util-raw@^9.0.0: + version "9.0.1" + resolved "https://registry.npmmirror.com/hast-util-raw/-/hast-util-raw-9.0.1.tgz#2ba8510e4ed2a1e541cde2a4ebb5c38ab4c82c2d" + integrity sha512-5m1gmba658Q+lO5uqL5YNGQWeh1MYWZbZmWrM5lncdcuiXuo5E2HT/CIOp0rLF8ksfSwiCVJ3twlgVRyTGThGA== + dependencies: + "@types/hast" "^3.0.0" + "@types/unist" "^3.0.0" + "@ungap/structured-clone" "^1.0.0" + hast-util-from-parse5 "^8.0.0" + hast-util-to-parse5 "^8.0.0" + html-void-elements "^3.0.0" + mdast-util-to-hast "^13.0.0" + parse5 "^7.0.0" + unist-util-position "^5.0.0" + unist-util-visit "^5.0.0" + vfile "^6.0.0" + web-namespaces "^2.0.0" + zwitch "^2.0.0" + +hast-util-to-estree@^3.0.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/hast-util-to-estree/-/hast-util-to-estree-3.1.0.tgz#f2afe5e869ddf0cf690c75f9fc699f3180b51b19" + integrity sha512-lfX5g6hqVh9kjS/B9E2gSkvHH4SZNiQFiqWS0x9fENzEl+8W12RqdRxX6d/Cwxi30tPQs3bIO+aolQJNp1bIyw== + dependencies: + "@types/estree" "^1.0.0" + "@types/estree-jsx" "^1.0.0" + "@types/hast" "^3.0.0" + comma-separated-tokens "^2.0.0" + devlop "^1.0.0" + estree-util-attach-comments "^3.0.0" + estree-util-is-identifier-name "^3.0.0" + hast-util-whitespace "^3.0.0" + mdast-util-mdx-expression "^2.0.0" + mdast-util-mdx-jsx "^3.0.0" + mdast-util-mdxjs-esm "^2.0.0" + property-information "^6.0.0" + space-separated-tokens "^2.0.0" + style-to-object "^0.4.0" + unist-util-position "^5.0.0" + zwitch "^2.0.0" + +hast-util-to-jsx-runtime@^2.0.0: + version "2.3.0" + resolved "https://registry.npmmirror.com/hast-util-to-jsx-runtime/-/hast-util-to-jsx-runtime-2.3.0.tgz#3ed27caf8dc175080117706bf7269404a0aa4f7c" + integrity sha512-H/y0+IWPdsLLS738P8tDnrQ8Z+dj12zQQ6WC11TIM21C8WFVoIxcqWXf2H3hiTVZjF1AWqoimGwrTWecWrnmRQ== + dependencies: + "@types/estree" "^1.0.0" + "@types/hast" "^3.0.0" + "@types/unist" "^3.0.0" + comma-separated-tokens "^2.0.0" + devlop "^1.0.0" + estree-util-is-identifier-name "^3.0.0" + hast-util-whitespace "^3.0.0" + mdast-util-mdx-expression "^2.0.0" + mdast-util-mdx-jsx "^3.0.0" + mdast-util-mdxjs-esm "^2.0.0" + property-information "^6.0.0" + space-separated-tokens "^2.0.0" + style-to-object "^1.0.0" + unist-util-position "^5.0.0" + vfile-message "^4.0.0" + +hast-util-to-parse5@^8.0.0: + version "8.0.0" + resolved "https://registry.npmmirror.com/hast-util-to-parse5/-/hast-util-to-parse5-8.0.0.tgz#477cd42d278d4f036bc2ea58586130f6f39ee6ed" + integrity sha512-3KKrV5ZVI8if87DVSi1vDeByYrkGzg4mEfeu4alwgmmIeARiBLKCZS2uw5Gb6nU9x9Yufyj3iudm6i7nl52PFw== + dependencies: + "@types/hast" "^3.0.0" + comma-separated-tokens "^2.0.0" + devlop "^1.0.0" + property-information "^6.0.0" + space-separated-tokens "^2.0.0" + web-namespaces "^2.0.0" + zwitch "^2.0.0" + +hast-util-whitespace@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz#7778ed9d3c92dd9e8c5c8f648a49c21fc51cb621" + integrity sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw== + dependencies: + "@types/hast" "^3.0.0" + +hastscript@^8.0.0: + version "8.0.0" + resolved "https://registry.npmmirror.com/hastscript/-/hastscript-8.0.0.tgz#4ef795ec8dee867101b9f23cc830d4baf4fd781a" + integrity sha512-dMOtzCEd3ABUeSIISmrETiKuyydk1w0pa+gE/uormcTpSYuaNJPbX1NU3JLyscSLjwAQM8bWMhhIlnCqnRvDTw== + dependencies: + "@types/hast" "^3.0.0" + comma-separated-tokens "^2.0.0" + hast-util-parse-selector "^4.0.0" + property-information "^6.0.0" + space-separated-tokens "^2.0.0" + +he@^1.2.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f" + integrity sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw== + +history@^4.9.0: + version "4.10.1" + resolved "https://registry.npmmirror.com/history/-/history-4.10.1.tgz#33371a65e3a83b267434e2b3f3b1b4c58aad4cf3" + integrity sha512-36nwAD620w12kuzPAsyINPWJqlNbij+hpK1k9XRloDtym8mxzGYl2c17LnV6IAGB2Dmg4tEa7G7DlawS0+qjew== + dependencies: + "@babel/runtime" "^7.1.2" + loose-envify "^1.2.0" + resolve-pathname "^3.0.0" + tiny-invariant "^1.0.2" + tiny-warning "^1.0.0" + value-equal "^1.0.1" + +hoist-non-react-statics@^3.1.0: + version "3.3.2" + resolved "https://registry.npmmirror.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" + integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== + dependencies: + react-is "^16.7.0" + +hpack.js@^2.1.6: + version "2.1.6" + resolved "https://registry.npmmirror.com/hpack.js/-/hpack.js-2.1.6.tgz#87774c0949e513f42e84575b3c45681fade2a0b2" + integrity sha512-zJxVehUdMGIKsRaNt7apO2Gqp0BdqW5yaiGHXXmbpvxgBYVZnAql+BJb4RO5ad2MgpbZKn5G6nMnegrH1FcNYQ== + dependencies: + inherits "^2.0.1" + obuf "^1.0.0" + readable-stream "^2.0.1" + wbuf "^1.1.0" + +html-entities@^2.3.2: + version "2.4.0" + resolved "https://registry.npmmirror.com/html-entities/-/html-entities-2.4.0.tgz#edd0cee70402584c8c76cc2c0556db09d1f45061" + integrity sha512-igBTJcNNNhvZFRtm8uA6xMY6xYleeDwn3PeBCkDz7tHttv4F2hsDI2aPgNERWzvRcNYHNT3ymRaQzllmXj4YsQ== + +html-escaper@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" + integrity sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg== + +html-minifier-terser@^6.0.2: + version "6.1.0" + resolved "https://registry.npmmirror.com/html-minifier-terser/-/html-minifier-terser-6.1.0.tgz#bfc818934cc07918f6b3669f5774ecdfd48f32ab" + integrity sha512-YXxSlJBZTP7RS3tWnQw74ooKa6L9b9i9QYXY21eUEvhZ3u9XLfv6OnFsQq6RxkhHygsaUMvYsZRV5rU/OVNZxw== + dependencies: + camel-case "^4.1.2" + clean-css "^5.2.2" + commander "^8.3.0" + he "^1.2.0" + param-case "^3.0.4" + relateurl "^0.2.7" + terser "^5.10.0" + +html-minifier-terser@^7.2.0: + version "7.2.0" + resolved "https://registry.npmmirror.com/html-minifier-terser/-/html-minifier-terser-7.2.0.tgz#18752e23a2f0ed4b0f550f217bb41693e975b942" + integrity sha512-tXgn3QfqPIpGl9o+K5tpcj3/MN4SfLtsx2GWwBC3SSd0tXQGyF3gsSqad8loJgKZGM3ZxbYDd5yhiBIdWpmvLA== + dependencies: + camel-case "^4.1.2" + clean-css "~5.3.2" + commander "^10.0.0" + entities "^4.4.0" + param-case "^3.0.4" + relateurl "^0.2.7" + terser "^5.15.1" + +html-tags@^3.3.1: + version "3.3.1" + resolved "https://registry.npmmirror.com/html-tags/-/html-tags-3.3.1.tgz#a04026a18c882e4bba8a01a3d39cfe465d40b5ce" + integrity sha512-ztqyC3kLto0e9WbNp0aeP+M3kTt+nbaIveGmUxAtZa+8iFgKLUOD4YKM5j+f3QD89bra7UeumolZHKuOXnTmeQ== + +html-void-elements@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/html-void-elements/-/html-void-elements-3.0.0.tgz#fc9dbd84af9e747249034d4d62602def6517f1d7" + integrity sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg== + +html-webpack-plugin@^5.5.3: + version "5.6.0" + resolved "https://registry.npmmirror.com/html-webpack-plugin/-/html-webpack-plugin-5.6.0.tgz#50a8fa6709245608cb00e811eacecb8e0d7b7ea0" + integrity sha512-iwaY4wzbe48AfKLZ/Cc8k0L+FKG6oSNRaZ8x5A/T/IVDGyXcbHncM9TdDa93wn0FsSm82FhTKW7f3vS61thXAw== + dependencies: + "@types/html-minifier-terser" "^6.0.0" + html-minifier-terser "^6.0.2" + lodash "^4.17.21" + pretty-error "^4.0.0" + tapable "^2.0.0" + +htmlparser2@^6.1.0: + version "6.1.0" + resolved "https://registry.npmmirror.com/htmlparser2/-/htmlparser2-6.1.0.tgz#c4d762b6c3371a05dbe65e94ae43a9f845fb8fb7" + integrity sha512-gyyPk6rgonLFEDGoeRgQNaEUvdJ4ktTmmUh/h2t7s+M8oPpIPxgNACWa+6ESR57kXstwqPiCut0V8NRpcwgU7A== + dependencies: + domelementtype "^2.0.1" + domhandler "^4.0.0" + domutils "^2.5.2" + entities "^2.0.0" + +htmlparser2@^8.0.1: + version "8.0.2" + resolved "https://registry.npmmirror.com/htmlparser2/-/htmlparser2-8.0.2.tgz#f002151705b383e62433b5cf466f5b716edaec21" + integrity sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA== + dependencies: + domelementtype "^2.3.0" + domhandler "^5.0.3" + domutils "^3.0.1" + entities "^4.4.0" + +http-cache-semantics@^4.1.1: + version "4.1.1" + resolved "https://registry.npmmirror.com/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz#abe02fcb2985460bf0323be664436ec3476a6d5a" + integrity sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ== + +http-deceiver@^1.2.7: + version "1.2.7" + resolved "https://registry.npmmirror.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" + integrity sha512-LmpOGxTfbpgtGVxJrj5k7asXHCgNZp5nLfp+hWc8QQRqtb7fUy6kRY3BO1h9ddF6yIPYUARgxGOwB42DnxIaNw== + +http-errors@2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" + integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== + dependencies: + depd "2.0.0" + inherits "2.0.4" + setprototypeof "1.2.0" + statuses "2.0.1" + toidentifier "1.0.1" + +http-errors@~1.6.2: + version "1.6.3" + resolved "https://registry.npmmirror.com/http-errors/-/http-errors-1.6.3.tgz#8b55680bb4be283a0b5bf4ea2e38580be1d9320d" + integrity sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A== + dependencies: + depd "~1.1.2" + inherits "2.0.3" + setprototypeof "1.1.0" + statuses ">= 1.4.0 < 2" + +http-parser-js@>=0.5.1: + version "0.5.8" + resolved "https://registry.npmmirror.com/http-parser-js/-/http-parser-js-0.5.8.tgz#af23090d9ac4e24573de6f6aecc9d84a48bf20e3" + integrity sha512-SGeBX54F94Wgu5RH3X5jsDtf4eHyRogWX1XGT3b4HuW3tQPM4AaBzoUji/4AAJNXCEOWZ5O0DgZmJw1947gD5Q== + +http-proxy-middleware@^2.0.3: + version "2.0.6" + resolved "https://registry.npmmirror.com/http-proxy-middleware/-/http-proxy-middleware-2.0.6.tgz#e1a4dd6979572c7ab5a4e4b55095d1f32a74963f" + integrity sha512-ya/UeJ6HVBYxrgYotAZo1KvPWlgB48kUJLDePFeneHsVujFaW5WNj2NgWCAE//B1Dl02BIfYlpNgBy8Kf8Rjmw== + dependencies: + "@types/http-proxy" "^1.17.8" + http-proxy "^1.18.1" + is-glob "^4.0.1" + is-plain-obj "^3.0.0" + micromatch "^4.0.2" + +http-proxy@^1.18.1: + version "1.18.1" + resolved "https://registry.npmmirror.com/http-proxy/-/http-proxy-1.18.1.tgz#401541f0534884bbf95260334e72f88ee3976549" + integrity sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ== + dependencies: + eventemitter3 "^4.0.0" + follow-redirects "^1.0.0" + requires-port "^1.0.0" + +http2-wrapper@^2.1.10: + version "2.2.1" + resolved "https://registry.npmmirror.com/http2-wrapper/-/http2-wrapper-2.2.1.tgz#310968153dcdedb160d8b72114363ef5fce1f64a" + integrity sha512-V5nVw1PAOgfI3Lmeaj2Exmeg7fenjhRUgz1lPSezy1CuhPYbgQtbQj4jZfEAEMlaL+vupsvhjqCyjzob0yxsmQ== + dependencies: + quick-lru "^5.1.1" + resolve-alpn "^1.2.0" + +human-signals@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" + integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== + +iconv-lite@0.4.24: + version "0.4.24" + resolved "https://registry.npmmirror.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" + integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== + dependencies: + safer-buffer ">= 2.1.2 < 3" + +icss-utils@^5.0.0, icss-utils@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/icss-utils/-/icss-utils-5.1.0.tgz#c6be6858abd013d768e98366ae47e25d5887b1ae" + integrity sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA== + +ignore@^5.2.0, ignore@^5.2.4: + version "5.3.0" + resolved "https://registry.npmmirror.com/ignore/-/ignore-5.3.0.tgz#67418ae40d34d6999c95ff56016759c718c82f78" + integrity sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg== + +image-size@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/image-size/-/image-size-1.0.2.tgz#d778b6d0ab75b2737c1556dd631652eb963bc486" + integrity sha512-xfOoWjceHntRb3qFCrh5ZFORYH8XCdYpASltMhZ/Q0KZiOwjdE/Yl2QCiWdwD+lygV5bMCvauzgu5PxBX/Yerg== + dependencies: + queue "6.0.2" + +immer@^9.0.7: + version "9.0.21" + resolved "https://registry.npmmirror.com/immer/-/immer-9.0.21.tgz#1e025ea31a40f24fb064f1fef23e931496330176" + integrity sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA== + +import-fresh@^3.1.0, import-fresh@^3.2.1, import-fresh@^3.3.0: + version "3.3.0" + resolved "https://registry.npmmirror.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +import-lazy@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/import-lazy/-/import-lazy-4.0.0.tgz#e8eb627483a0a43da3c03f3e35548be5cb0cc153" + integrity sha512-rKtvo6a868b5Hu3heneU+L4yEQ4jYKLtjpnPeUdK7h0yzXGmyBTypknlkCvHFBqfX9YlorEiMM6Dnq/5atfHkw== + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.npmmirror.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== + +indent-string@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" + integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== + +infima@0.2.0-alpha.43: + version "0.2.0-alpha.43" + resolved "https://registry.npmmirror.com/infima/-/infima-0.2.0-alpha.43.tgz#f7aa1d7b30b6c08afef441c726bac6150228cbe0" + integrity sha512-2uw57LvUqW0rK/SWYnd/2rRfxNA5DDNOh33jxF7fy46VWoNhGxiUQyVZHbBMjQ33mQem0cjdDVwgWVAmlRfgyQ== + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.npmmirror.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + integrity sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA== + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3: + version "2.0.4" + resolved "https://registry.npmmirror.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +inherits@2.0.3: + version "2.0.3" + resolved "https://registry.npmmirror.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" + integrity sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw== + +ini@2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/ini/-/ini-2.0.0.tgz#e5fd556ecdd5726be978fa1001862eacb0a94bc5" + integrity sha512-7PnF4oN3CvZF23ADhA5wRaYEQpJ8qygSkbtTXWBeXWXmEVRXK+1ITciHWwHhsjv1TmW0MgacIv6hEi5pX5NQdA== + +ini@^1.3.4, ini@^1.3.5, ini@~1.3.0: + version "1.3.8" + resolved "https://registry.npmmirror.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" + integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== + +inline-style-parser@0.1.1: + version "0.1.1" + resolved "https://registry.npmmirror.com/inline-style-parser/-/inline-style-parser-0.1.1.tgz#ec8a3b429274e9c0a1f1c4ffa9453a7fef72cea1" + integrity sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q== + +inline-style-parser@0.2.2: + version "0.2.2" + resolved "https://registry.npmmirror.com/inline-style-parser/-/inline-style-parser-0.2.2.tgz#d498b4e6de0373458fc610ff793f6b14ebf45633" + integrity sha512-EcKzdTHVe8wFVOGEYXiW9WmJXPjqi1T+234YpJr98RiFYKHV3cdy1+3mkTE+KHTHxFFLH51SfaGOoUdW+v7ViQ== + +interpret@^1.0.0: + version "1.4.0" + resolved "https://registry.npmmirror.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" + integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== + +invariant@^2.2.4: + version "2.2.4" + resolved "https://registry.npmmirror.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" + integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== + dependencies: + loose-envify "^1.0.0" + +ipaddr.js@1.9.1: + version "1.9.1" + resolved "https://registry.npmmirror.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" + integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== + +ipaddr.js@^2.0.1: + version "2.1.0" + resolved "https://registry.npmmirror.com/ipaddr.js/-/ipaddr.js-2.1.0.tgz#2119bc447ff8c257753b196fc5f1ce08a4cdf39f" + integrity sha512-LlbxQ7xKzfBusov6UMi4MFpEg0m+mAm9xyNGEduwXMEDuf4WfzB/RZwMVYEd7IKGvh4IUkEXYxtAVu9T3OelJQ== + +is-alphabetical@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/is-alphabetical/-/is-alphabetical-2.0.1.tgz#01072053ea7c1036df3c7d19a6daaec7f19e789b" + integrity sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ== + +is-alphanumerical@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/is-alphanumerical/-/is-alphanumerical-2.0.1.tgz#7c03fbe96e3e931113e57f964b0a368cc2dfd875" + integrity sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw== + dependencies: + is-alphabetical "^2.0.0" + is-decimal "^2.0.0" + +is-arrayish@^0.2.1: + version "0.2.1" + resolved "https://registry.npmmirror.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" + integrity sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg== + +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + +is-ci@^3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/is-ci/-/is-ci-3.0.1.tgz#db6ecbed1bd659c43dac0f45661e7674103d1867" + integrity sha512-ZYvCgrefwqoQ6yTyYUbQu64HsITZ3NfKX1lzaEYdkTDcfKzzCI/wthRRYKkdjHKFVgNiXKAKm65Zo1pk2as/QQ== + dependencies: + ci-info "^3.2.0" + +is-core-module@^2.13.0: + version "2.13.1" + resolved "https://registry.npmmirror.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384" + integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw== + dependencies: + hasown "^2.0.0" + +is-decimal@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/is-decimal/-/is-decimal-2.0.1.tgz#9469d2dc190d0214fd87d78b78caecc0cc14eef7" + integrity sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A== + +is-docker@^2.0.0, is-docker@^2.1.1: + version "2.2.1" + resolved "https://registry.npmmirror.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" + integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== + +is-extendable@^0.1.0: + version "0.1.1" + resolved "https://registry.npmmirror.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" + integrity sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw== + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.npmmirror.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" + integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== + +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: + version "4.0.3" + resolved "https://registry.npmmirror.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +is-hexadecimal@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/is-hexadecimal/-/is-hexadecimal-2.0.1.tgz#86b5bf668fca307498d319dfc03289d781a90027" + integrity sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg== + +is-installed-globally@^0.4.0: + version "0.4.0" + resolved "https://registry.npmmirror.com/is-installed-globally/-/is-installed-globally-0.4.0.tgz#9a0fd407949c30f86eb6959ef1b7994ed0b7b520" + integrity sha512-iwGqO3J21aaSkC7jWnHP/difazwS7SFeIqxv6wEtLU8Y5KlzFTjyqcSIT0d8s4+dDhKytsk9PJZ2BkS5eZwQRQ== + dependencies: + global-dirs "^3.0.0" + is-path-inside "^3.0.2" + +is-npm@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/is-npm/-/is-npm-6.0.0.tgz#b59e75e8915543ca5d881ecff864077cba095261" + integrity sha512-JEjxbSmtPSt1c8XTkVrlujcXdKV1/tvuQ7GwKcAlyiVLeYFQ2VHat8xfrDJsIkhCdF/tZ7CiIR3sy141c6+gPQ== + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.npmmirror.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-obj@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" + integrity sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg== + +is-obj@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982" + integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w== + +is-path-cwd@^2.2.0: + version "2.2.0" + resolved "https://registry.npmmirror.com/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb" + integrity sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ== + +is-path-inside@^3.0.2: + version "3.0.3" + resolved "https://registry.npmmirror.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" + integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== + +is-plain-obj@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/is-plain-obj/-/is-plain-obj-3.0.0.tgz#af6f2ea14ac5a646183a5bbdb5baabbc156ad9d7" + integrity sha512-gwsOE28k+23GP1B6vFl1oVh/WOzmawBrKwo5Ev6wMKzPkaXaCDIQKzLnvsA42DRlbVTWorkgTKIviAKCWkfUwA== + +is-plain-obj@^4.0.0: + version "4.1.0" + resolved "https://registry.npmmirror.com/is-plain-obj/-/is-plain-obj-4.1.0.tgz#d65025edec3657ce032fd7db63c97883eaed71f0" + integrity sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg== + +is-plain-object@^2.0.4: + version "2.0.4" + resolved "https://registry.npmmirror.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" + integrity sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og== + dependencies: + isobject "^3.0.1" + +is-plain-object@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" + integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== + +is-reference@^3.0.0: + version "3.0.2" + resolved "https://registry.npmmirror.com/is-reference/-/is-reference-3.0.2.tgz#154747a01f45cd962404ee89d43837af2cba247c" + integrity sha512-v3rht/LgVcsdZa3O2Nqs+NMowLOxeOm7Ay9+/ARQ2F+qEoANRcqrjAZKGN0v8ymUetZGgkp26LTnGT7H0Qo9Pg== + dependencies: + "@types/estree" "*" + +is-regexp@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069" + integrity sha512-7zjFAPO4/gwyQAAgRRmqeEeyIICSdmCqa3tsVHMdBzaXXRiqopZL4Cyghg/XulGWrtABTpbnYYzzIRffLkP4oA== + +is-root@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/is-root/-/is-root-2.1.0.tgz#809e18129cf1129644302a4f8544035d51984a9c" + integrity sha512-AGOriNp96vNBd3HtU+RzFEc75FfR5ymiYv8E553I71SCeXBiMsVDUtdio1OEFvrPyLIQ9tVR5RxXIFe5PUFjMg== + +is-stream@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" + integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== + +is-typedarray@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" + integrity sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA== + +is-wsl@^2.2.0: + version "2.2.0" + resolved "https://registry.npmmirror.com/is-wsl/-/is-wsl-2.2.0.tgz#74a4c76e77ca9fd3f932f290c17ea326cd157271" + integrity sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww== + dependencies: + is-docker "^2.0.0" + +is-yarn-global@^0.4.0: + version "0.4.1" + resolved "https://registry.npmmirror.com/is-yarn-global/-/is-yarn-global-0.4.1.tgz#b312d902b313f81e4eaf98b6361ba2b45cd694bb" + integrity sha512-/kppl+R+LO5VmhYSEWARUFjodS25D68gvj8W7z0I7OWhUla5xWu8KL6CtB2V0R6yqhnRgbcaREMr4EEM6htLPQ== + +isarray@0.0.1: + version "0.0.1" + resolved "https://registry.npmmirror.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" + integrity sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ== + +isarray@~1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" + integrity sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ== + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== + +isobject@^3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" + integrity sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg== + +jest-util@^29.7.0: + version "29.7.0" + resolved "https://registry.npmmirror.com/jest-util/-/jest-util-29.7.0.tgz#23c2b62bfb22be82b44de98055802ff3710fc0bc" + integrity sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA== + dependencies: + "@jest/types" "^29.6.3" + "@types/node" "*" + chalk "^4.0.0" + ci-info "^3.2.0" + graceful-fs "^4.2.9" + picomatch "^2.2.3" + +jest-worker@^27.4.5: + version "27.5.1" + resolved "https://registry.npmmirror.com/jest-worker/-/jest-worker-27.5.1.tgz#8d146f0900e8973b106b6f73cc1e9a8cb86f8db0" + integrity sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg== + dependencies: + "@types/node" "*" + merge-stream "^2.0.0" + supports-color "^8.0.0" + +jest-worker@^29.1.2: + version "29.7.0" + resolved "https://registry.npmmirror.com/jest-worker/-/jest-worker-29.7.0.tgz#acad073acbbaeb7262bd5389e1bcf43e10058d4a" + integrity sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw== + dependencies: + "@types/node" "*" + jest-util "^29.7.0" + merge-stream "^2.0.0" + supports-color "^8.0.0" + +jiti@^1.20.0: + version "1.21.0" + resolved "https://registry.npmmirror.com/jiti/-/jiti-1.21.0.tgz#7c97f8fe045724e136a397f7340475244156105d" + integrity sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q== + +joi@^17.9.2: + version "17.11.0" + resolved "https://registry.npmmirror.com/joi/-/joi-17.11.0.tgz#aa9da753578ec7720e6f0ca2c7046996ed04fc1a" + integrity sha512-NgB+lZLNoqISVy1rZocE9PZI36bL/77ie924Ri43yEvi9GUUMPeyVIr8KdFTMUlby1p0PBYMk9spIxEUQYqrJQ== + dependencies: + "@hapi/hoek" "^9.0.0" + "@hapi/topo" "^5.0.0" + "@sideway/address" "^4.1.3" + "@sideway/formula" "^3.0.1" + "@sideway/pinpoint" "^2.0.0" + +"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^3.13.1: + version "3.14.1" + resolved "https://registry.npmmirror.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" + integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + +js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.npmmirror.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.npmmirror.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + +jsesc@~0.5.0: + version "0.5.0" + resolved "https://registry.npmmirror.com/jsesc/-/jsesc-0.5.0.tgz#e7dee66e35d6fc16f710fe91d5cf69f70f08911d" + integrity sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA== + +json-buffer@3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/json-buffer/-/json-buffer-3.0.1.tgz#9338802a30d3b6605fbe0613e094008ca8c05a13" + integrity sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ== + +json-parse-even-better-errors@^2.3.0, json-parse-even-better-errors@^2.3.1: + version "2.3.1" + resolved "https://registry.npmmirror.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" + integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== + +json-schema-traverse@^0.4.1: + version "0.4.1" + resolved "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" + integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== + +json-schema-traverse@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz#ae7bcb3656ab77a73ba5c49bf654f38e6b6860e2" + integrity sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug== + +json5@^2.1.2, json5@^2.2.3: + version "2.2.3" + resolved "https://registry.npmmirror.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== + +jsonfile@^6.0.1: + version "6.1.0" + resolved "https://registry.npmmirror.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" + integrity sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ== + dependencies: + universalify "^2.0.0" + optionalDependencies: + graceful-fs "^4.1.6" + +keyv@^4.5.3: + version "4.5.4" + resolved "https://registry.npmmirror.com/keyv/-/keyv-4.5.4.tgz#a879a99e29452f942439f2a405e3af8b31d4de93" + integrity sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw== + dependencies: + json-buffer "3.0.1" + +kind-of@^6.0.0, kind-of@^6.0.2: + version "6.0.3" + resolved "https://registry.npmmirror.com/kind-of/-/kind-of-6.0.3.tgz#07c05034a6c349fa06e24fa35aa76db4580ce4dd" + integrity sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw== + +kleur@^3.0.3: + version "3.0.3" + resolved "https://registry.npmmirror.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" + integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== + +latest-version@^7.0.0: + version "7.0.0" + resolved "https://registry.npmmirror.com/latest-version/-/latest-version-7.0.0.tgz#843201591ea81a4d404932eeb61240fe04e9e5da" + integrity sha512-KvNT4XqAMzdcL6ka6Tl3i2lYeFDgXNCuIX+xNx6ZMVR1dFq+idXd9FLKNMOIx0t9mJ9/HudyX4oZWXZQ0UJHeg== + dependencies: + package-json "^8.1.0" + +launch-editor@^2.6.0: + version "2.6.1" + resolved "https://registry.npmmirror.com/launch-editor/-/launch-editor-2.6.1.tgz#f259c9ef95cbc9425620bbbd14b468fcdb4ffe3c" + integrity sha512-eB/uXmFVpY4zezmGp5XtU21kwo7GBbKB+EQ+UZeWtGb9yAM5xt/Evk+lYH3eRNAtId+ej4u7TYPFZ07w4s7rRw== + dependencies: + picocolors "^1.0.0" + shell-quote "^1.8.1" + +leven@^3.1.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/leven/-/leven-3.1.0.tgz#77891de834064cccba82ae7842bb6b14a13ed7f2" + integrity sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A== + +lilconfig@^2.0.3: + version "2.1.0" + resolved "https://registry.npmmirror.com/lilconfig/-/lilconfig-2.1.0.tgz#78e23ac89ebb7e1bfbf25b18043de756548e7f52" + integrity sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ== + +lines-and-columns@^1.1.6: + version "1.2.4" + resolved "https://registry.npmmirror.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" + integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== + +loader-runner@^4.2.0: + version "4.3.0" + resolved "https://registry.npmmirror.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1" + integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg== + +loader-utils@^2.0.0: + version "2.0.4" + resolved "https://registry.npmmirror.com/loader-utils/-/loader-utils-2.0.4.tgz#8b5cb38b5c34a9a018ee1fc0e6a066d1dfcc528c" + integrity sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw== + dependencies: + big.js "^5.2.2" + emojis-list "^3.0.0" + json5 "^2.1.2" + +loader-utils@^3.2.0: + version "3.2.1" + resolved "https://registry.npmmirror.com/loader-utils/-/loader-utils-3.2.1.tgz#4fb104b599daafd82ef3e1a41fb9265f87e1f576" + integrity sha512-ZvFw1KWS3GVyYBYb7qkmRM/WwL2TQQBxgCK62rlvm4WpVQ23Nb4tYjApUlfjrEGvOs7KHEsmyUn75OHZrJMWPw== + +locate-path@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" + integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== + dependencies: + p-locate "^3.0.0" + path-exists "^3.0.0" + +locate-path@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + +locate-path@^7.1.0: + version "7.2.0" + resolved "https://registry.npmmirror.com/locate-path/-/locate-path-7.2.0.tgz#69cb1779bd90b35ab1e771e1f2f89a202c2a8a8a" + integrity sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA== + dependencies: + p-locate "^6.0.0" + +lodash.debounce@^4.0.8: + version "4.0.8" + resolved "https://registry.npmmirror.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" + integrity sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow== + +lodash.memoize@^4.1.2: + version "4.1.2" + resolved "https://registry.npmmirror.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe" + integrity sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag== + +lodash.uniq@^4.5.0: + version "4.5.0" + resolved "https://registry.npmmirror.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" + integrity sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ== + +lodash@^4.17.20, lodash@^4.17.21: + version "4.17.21" + resolved "https://registry.npmmirror.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +longest-streak@^3.0.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/longest-streak/-/longest-streak-3.1.0.tgz#62fa67cd958742a1574af9f39866364102d90cd4" + integrity sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g== + +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.2.0, loose-envify@^1.3.1, loose-envify@^1.4.0: + version "1.4.0" + resolved "https://registry.npmmirror.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" + integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== + dependencies: + js-tokens "^3.0.0 || ^4.0.0" + +lower-case@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" + integrity sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg== + dependencies: + tslib "^2.0.3" + +lowercase-keys@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/lowercase-keys/-/lowercase-keys-3.0.0.tgz#c5e7d442e37ead247ae9db117a9d0a467c89d4f2" + integrity sha512-ozCC6gdQ+glXOQsveKD0YsDy8DSQFjDTz4zyzEHNV5+JP5D62LmfDZ6o1cycFx9ouG940M5dE8C8CTewdj2YWQ== + +lru-cache@^5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/lru-cache/-/lru-cache-5.1.1.tgz#1da27e6710271947695daf6848e847f01d84b920" + integrity sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w== + dependencies: + yallist "^3.0.2" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +markdown-extensions@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/markdown-extensions/-/markdown-extensions-2.0.0.tgz#34bebc83e9938cae16e0e017e4a9814a8330d3c4" + integrity sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q== + +markdown-table@^3.0.0: + version "3.0.3" + resolved "https://registry.npmmirror.com/markdown-table/-/markdown-table-3.0.3.tgz#e6331d30e493127e031dd385488b5bd326e4a6bd" + integrity sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw== + +mdast-util-directive@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/mdast-util-directive/-/mdast-util-directive-3.0.0.tgz#3fb1764e705bbdf0afb0d3f889e4404c3e82561f" + integrity sha512-JUpYOqKI4mM3sZcNxmF/ox04XYFFkNwr0CFlrQIkCwbvH0xzMCqkMqAde9wRd80VAhaUrwFwKm2nxretdT1h7Q== + dependencies: + "@types/mdast" "^4.0.0" + "@types/unist" "^3.0.0" + devlop "^1.0.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + parse-entities "^4.0.0" + stringify-entities "^4.0.0" + unist-util-visit-parents "^6.0.0" + +mdast-util-find-and-replace@^3.0.0, mdast-util-find-and-replace@^3.0.1: + version "3.0.1" + resolved "https://registry.npmmirror.com/mdast-util-find-and-replace/-/mdast-util-find-and-replace-3.0.1.tgz#a6fc7b62f0994e973490e45262e4bc07607b04e0" + integrity sha512-SG21kZHGC3XRTSUhtofZkBzZTJNM5ecCi0SK2IMKmSXR8vO3peL+kb1O0z7Zl83jKtutG4k5Wv/W7V3/YHvzPA== + dependencies: + "@types/mdast" "^4.0.0" + escape-string-regexp "^5.0.0" + unist-util-is "^6.0.0" + unist-util-visit-parents "^6.0.0" + +mdast-util-from-markdown@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/mdast-util-from-markdown/-/mdast-util-from-markdown-2.0.0.tgz#52f14815ec291ed061f2922fd14d6689c810cb88" + integrity sha512-n7MTOr/z+8NAX/wmhhDji8O3bRvPTV/U0oTCaZJkjhPSKTPhS3xufVhKGF8s1pJ7Ox4QgoIU7KHseh09S+9rTA== + dependencies: + "@types/mdast" "^4.0.0" + "@types/unist" "^3.0.0" + decode-named-character-reference "^1.0.0" + devlop "^1.0.0" + mdast-util-to-string "^4.0.0" + micromark "^4.0.0" + micromark-util-decode-numeric-character-reference "^2.0.0" + micromark-util-decode-string "^2.0.0" + micromark-util-normalize-identifier "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + unist-util-stringify-position "^4.0.0" + +mdast-util-frontmatter@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/mdast-util-frontmatter/-/mdast-util-frontmatter-2.0.1.tgz#f5f929eb1eb36c8a7737475c7eb438261f964ee8" + integrity sha512-LRqI9+wdgC25P0URIJY9vwocIzCcksduHQ9OF2joxQoyTNVduwLAFUzjoopuRJbJAReaKrNQKAZKL3uCMugWJA== + dependencies: + "@types/mdast" "^4.0.0" + devlop "^1.0.0" + escape-string-regexp "^5.0.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + micromark-extension-frontmatter "^2.0.0" + +mdast-util-gfm-autolink-literal@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/mdast-util-gfm-autolink-literal/-/mdast-util-gfm-autolink-literal-2.0.0.tgz#5baf35407421310a08e68c15e5d8821e8898ba2a" + integrity sha512-FyzMsduZZHSc3i0Px3PQcBT4WJY/X/RCtEJKuybiC6sjPqLv7h1yqAkmILZtuxMSsUyaLUWNp71+vQH2zqp5cg== + dependencies: + "@types/mdast" "^4.0.0" + ccount "^2.0.0" + devlop "^1.0.0" + mdast-util-find-and-replace "^3.0.0" + micromark-util-character "^2.0.0" + +mdast-util-gfm-footnote@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/mdast-util-gfm-footnote/-/mdast-util-gfm-footnote-2.0.0.tgz#25a1753c7d16db8bfd53cd84fe50562bd1e6d6a9" + integrity sha512-5jOT2boTSVkMnQ7LTrd6n/18kqwjmuYqo7JUPe+tRCY6O7dAuTFMtTPauYYrMPpox9hlN0uOx/FL8XvEfG9/mQ== + dependencies: + "@types/mdast" "^4.0.0" + devlop "^1.1.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + micromark-util-normalize-identifier "^2.0.0" + +mdast-util-gfm-strikethrough@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/mdast-util-gfm-strikethrough/-/mdast-util-gfm-strikethrough-2.0.0.tgz#d44ef9e8ed283ac8c1165ab0d0dfd058c2764c16" + integrity sha512-mKKb915TF+OC5ptj5bJ7WFRPdYtuHv0yTRxK2tJvi+BDqbkiG7h7u/9SI89nRAYcmap2xHQL9D+QG/6wSrTtXg== + dependencies: + "@types/mdast" "^4.0.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + +mdast-util-gfm-table@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/mdast-util-gfm-table/-/mdast-util-gfm-table-2.0.0.tgz#7a435fb6223a72b0862b33afbd712b6dae878d38" + integrity sha512-78UEvebzz/rJIxLvE7ZtDd/vIQ0RHv+3Mh5DR96p7cS7HsBhYIICDBCu8csTNWNO6tBWfqXPWekRuj2FNOGOZg== + dependencies: + "@types/mdast" "^4.0.0" + devlop "^1.0.0" + markdown-table "^3.0.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + +mdast-util-gfm-task-list-item@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/mdast-util-gfm-task-list-item/-/mdast-util-gfm-task-list-item-2.0.0.tgz#e68095d2f8a4303ef24094ab642e1047b991a936" + integrity sha512-IrtvNvjxC1o06taBAVJznEnkiHxLFTzgonUdy8hzFVeDun0uTjxxrRGVaNFqkU1wJR3RBPEfsxmU6jDWPofrTQ== + dependencies: + "@types/mdast" "^4.0.0" + devlop "^1.0.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + +mdast-util-gfm@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/mdast-util-gfm/-/mdast-util-gfm-3.0.0.tgz#3f2aecc879785c3cb6a81ff3a243dc11eca61095" + integrity sha512-dgQEX5Amaq+DuUqf26jJqSK9qgixgd6rYDHAv4aTBuA92cTknZlKpPfa86Z/s8Dj8xsAQpFfBmPUHWJBWqS4Bw== + dependencies: + mdast-util-from-markdown "^2.0.0" + mdast-util-gfm-autolink-literal "^2.0.0" + mdast-util-gfm-footnote "^2.0.0" + mdast-util-gfm-strikethrough "^2.0.0" + mdast-util-gfm-table "^2.0.0" + mdast-util-gfm-task-list-item "^2.0.0" + mdast-util-to-markdown "^2.0.0" + +mdast-util-mdx-expression@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/mdast-util-mdx-expression/-/mdast-util-mdx-expression-2.0.0.tgz#4968b73724d320a379110d853e943a501bfd9d87" + integrity sha512-fGCu8eWdKUKNu5mohVGkhBXCXGnOTLuFqOvGMvdikr+J1w7lDJgxThOKpwRWzzbyXAU2hhSwsmssOY4yTokluw== + dependencies: + "@types/estree-jsx" "^1.0.0" + "@types/hast" "^3.0.0" + "@types/mdast" "^4.0.0" + devlop "^1.0.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + +mdast-util-mdx-jsx@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/mdast-util-mdx-jsx/-/mdast-util-mdx-jsx-3.0.0.tgz#f73631fa5bb7a36712ff1e9cedec0cafed03401c" + integrity sha512-XZuPPzQNBPAlaqsTTgRrcJnyFbSOBovSadFgbFu8SnuNgm+6Bdx1K+IWoitsmj6Lq6MNtI+ytOqwN70n//NaBA== + dependencies: + "@types/estree-jsx" "^1.0.0" + "@types/hast" "^3.0.0" + "@types/mdast" "^4.0.0" + "@types/unist" "^3.0.0" + ccount "^2.0.0" + devlop "^1.1.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + parse-entities "^4.0.0" + stringify-entities "^4.0.0" + unist-util-remove-position "^5.0.0" + unist-util-stringify-position "^4.0.0" + vfile-message "^4.0.0" + +mdast-util-mdx@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/mdast-util-mdx/-/mdast-util-mdx-3.0.0.tgz#792f9cf0361b46bee1fdf1ef36beac424a099c41" + integrity sha512-JfbYLAW7XnYTTbUsmpu0kdBUVe+yKVJZBItEjwyYJiDJuZ9w4eeaqks4HQO+R7objWgS2ymV60GYpI14Ug554w== + dependencies: + mdast-util-from-markdown "^2.0.0" + mdast-util-mdx-expression "^2.0.0" + mdast-util-mdx-jsx "^3.0.0" + mdast-util-mdxjs-esm "^2.0.0" + mdast-util-to-markdown "^2.0.0" + +mdast-util-mdxjs-esm@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-2.0.1.tgz#019cfbe757ad62dd557db35a695e7314bcc9fa97" + integrity sha512-EcmOpxsZ96CvlP03NghtH1EsLtr0n9Tm4lPUJUBccV9RwUOneqSycg19n5HGzCf+10LozMRSObtVr3ee1WoHtg== + dependencies: + "@types/estree-jsx" "^1.0.0" + "@types/hast" "^3.0.0" + "@types/mdast" "^4.0.0" + devlop "^1.0.0" + mdast-util-from-markdown "^2.0.0" + mdast-util-to-markdown "^2.0.0" + +mdast-util-phrasing@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/mdast-util-phrasing/-/mdast-util-phrasing-4.0.0.tgz#468cbbb277375523de807248b8ad969feb02a5c7" + integrity sha512-xadSsJayQIucJ9n053dfQwVu1kuXg7jCTdYsMK8rqzKZh52nLfSH/k0sAxE0u+pj/zKZX+o5wB+ML5mRayOxFA== + dependencies: + "@types/mdast" "^4.0.0" + unist-util-is "^6.0.0" + +mdast-util-to-hast@^13.0.0: + version "13.0.2" + resolved "https://registry.npmmirror.com/mdast-util-to-hast/-/mdast-util-to-hast-13.0.2.tgz#74c0a9f014bb2340cae6118f6fccd75467792be7" + integrity sha512-U5I+500EOOw9e3ZrclN3Is3fRpw8c19SMyNZlZ2IS+7vLsNzb2Om11VpIVOR+/0137GhZsFEF6YiKD5+0Hr2Og== + dependencies: + "@types/hast" "^3.0.0" + "@types/mdast" "^4.0.0" + "@ungap/structured-clone" "^1.0.0" + devlop "^1.0.0" + micromark-util-sanitize-uri "^2.0.0" + trim-lines "^3.0.0" + unist-util-position "^5.0.0" + unist-util-visit "^5.0.0" + +mdast-util-to-markdown@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/mdast-util-to-markdown/-/mdast-util-to-markdown-2.1.0.tgz#9813f1d6e0cdaac7c244ec8c6dabfdb2102ea2b4" + integrity sha512-SR2VnIEdVNCJbP6y7kVTJgPLifdr8WEU440fQec7qHoHOUz/oJ2jmNRqdDQ3rbiStOXb2mCDGTuwsK5OPUgYlQ== + dependencies: + "@types/mdast" "^4.0.0" + "@types/unist" "^3.0.0" + longest-streak "^3.0.0" + mdast-util-phrasing "^4.0.0" + mdast-util-to-string "^4.0.0" + micromark-util-decode-string "^2.0.0" + unist-util-visit "^5.0.0" + zwitch "^2.0.0" + +mdast-util-to-string@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/mdast-util-to-string/-/mdast-util-to-string-4.0.0.tgz#7a5121475556a04e7eddeb67b264aae79d312814" + integrity sha512-0H44vDimn51F0YwvxSJSm0eCDOJTRlmN0R1yBh4HLj9wiV1Dn0QoXGbvFAWj2hSItVTlCmBF1hqKlIyUBVFLPg== + dependencies: + "@types/mdast" "^4.0.0" + +mdn-data@2.0.14: + version "2.0.14" + resolved "https://registry.npmmirror.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50" + integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow== + +media-typer@0.3.0: + version "0.3.0" + resolved "https://registry.npmmirror.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" + integrity sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ== + +memfs@^3.1.2, memfs@^3.4.3: + version "3.6.0" + resolved "https://registry.npmmirror.com/memfs/-/memfs-3.6.0.tgz#d7a2110f86f79dd950a8b6df6d57bc984aa185f6" + integrity sha512-EGowvkkgbMcIChjMTMkESFDbZeSh8xZ7kNSF0hAiAN4Jh6jgHCRS0Ga/+C8y6Au+oqpezRHCfPsmJ2+DwAgiwQ== + dependencies: + fs-monkey "^1.0.4" + +merge-descriptors@1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" + integrity sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w== + +merge-stream@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" + integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== + +merge2@^1.3.0, merge2@^1.4.1: + version "1.4.1" + resolved "https://registry.npmmirror.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" + integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== + +methods@~1.1.2: + version "1.1.2" + resolved "https://registry.npmmirror.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" + integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== + +micromark-core-commonmark@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-core-commonmark/-/micromark-core-commonmark-2.0.0.tgz#50740201f0ee78c12a675bf3e68ffebc0bf931a3" + integrity sha512-jThOz/pVmAYUtkroV3D5c1osFXAMv9e0ypGDOIZuCeAe91/sD6BoE2Sjzt30yuXtwOYUmySOhMas/PVyh02itA== + dependencies: + decode-named-character-reference "^1.0.0" + devlop "^1.0.0" + micromark-factory-destination "^2.0.0" + micromark-factory-label "^2.0.0" + micromark-factory-space "^2.0.0" + micromark-factory-title "^2.0.0" + micromark-factory-whitespace "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-chunked "^2.0.0" + micromark-util-classify-character "^2.0.0" + micromark-util-html-tag-name "^2.0.0" + micromark-util-normalize-identifier "^2.0.0" + micromark-util-resolve-all "^2.0.0" + micromark-util-subtokenize "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-extension-directive@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/micromark-extension-directive/-/micromark-extension-directive-3.0.0.tgz#527869de497a6de9024138479091bc885dae076b" + integrity sha512-61OI07qpQrERc+0wEysLHMvoiO3s2R56x5u7glHq2Yqq6EHbH4dW25G9GfDdGCDYqA21KE6DWgNSzxSwHc2hSg== + dependencies: + devlop "^1.0.0" + micromark-factory-space "^2.0.0" + micromark-factory-whitespace "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + parse-entities "^4.0.0" + +micromark-extension-frontmatter@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-extension-frontmatter/-/micromark-extension-frontmatter-2.0.0.tgz#651c52ffa5d7a8eeed687c513cd869885882d67a" + integrity sha512-C4AkuM3dA58cgZha7zVnuVxBhDsbttIMiytjgsM2XbHAB2faRVaHRle40558FBN+DJcrLNCoqG5mlrpdU4cRtg== + dependencies: + fault "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-extension-gfm-autolink-literal@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-2.0.0.tgz#f1e50b42e67d441528f39a67133eddde2bbabfd9" + integrity sha512-rTHfnpt/Q7dEAK1Y5ii0W8bhfJlVJFnJMHIPisfPK3gpVNuOP0VnRl96+YJ3RYWV/P4gFeQoGKNlT3RhuvpqAg== + dependencies: + micromark-util-character "^2.0.0" + micromark-util-sanitize-uri "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-extension-gfm-footnote@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-extension-gfm-footnote/-/micromark-extension-gfm-footnote-2.0.0.tgz#91afad310065a94b636ab1e9dab2c60d1aab953c" + integrity sha512-6Rzu0CYRKDv3BfLAUnZsSlzx3ak6HAoI85KTiijuKIz5UxZxbUI+pD6oHgw+6UtQuiRwnGRhzMmPRv4smcz0fg== + dependencies: + devlop "^1.0.0" + micromark-core-commonmark "^2.0.0" + micromark-factory-space "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-normalize-identifier "^2.0.0" + micromark-util-sanitize-uri "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-extension-gfm-strikethrough@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-2.0.0.tgz#6917db8e320da70e39ffbf97abdbff83e6783e61" + integrity sha512-c3BR1ClMp5fxxmwP6AoOY2fXO9U8uFMKs4ADD66ahLTNcwzSCyRVU4k7LPV5Nxo/VJiR4TdzxRQY2v3qIUceCw== + dependencies: + devlop "^1.0.0" + micromark-util-chunked "^2.0.0" + micromark-util-classify-character "^2.0.0" + micromark-util-resolve-all "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-extension-gfm-table@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-extension-gfm-table/-/micromark-extension-gfm-table-2.0.0.tgz#2cf3fe352d9e089b7ef5fff003bdfe0da29649b7" + integrity sha512-PoHlhypg1ItIucOaHmKE8fbin3vTLpDOUg8KAr8gRCF1MOZI9Nquq2i/44wFvviM4WuxJzc3demT8Y3dkfvYrw== + dependencies: + devlop "^1.0.0" + micromark-factory-space "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-extension-gfm-tagfilter@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-extension-gfm-tagfilter/-/micromark-extension-gfm-tagfilter-2.0.0.tgz#f26d8a7807b5985fba13cf61465b58ca5ff7dc57" + integrity sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg== + dependencies: + micromark-util-types "^2.0.0" + +micromark-extension-gfm-task-list-item@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-2.0.1.tgz#ee8b208f1ced1eb9fb11c19a23666e59d86d4838" + integrity sha512-cY5PzGcnULaN5O7T+cOzfMoHjBW7j+T9D2sucA5d/KbsBTPcYdebm9zUd9zzdgJGCwahV+/W78Z3nbulBYVbTw== + dependencies: + devlop "^1.0.0" + micromark-factory-space "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-extension-gfm@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/micromark-extension-gfm/-/micromark-extension-gfm-3.0.0.tgz#3e13376ab95dd7a5cfd0e29560dfe999657b3c5b" + integrity sha512-vsKArQsicm7t0z2GugkCKtZehqUm31oeGBV/KVSorWSy8ZlNAv7ytjFhvaryUiCUJYqs+NoE6AFhpQvBTM6Q4w== + dependencies: + micromark-extension-gfm-autolink-literal "^2.0.0" + micromark-extension-gfm-footnote "^2.0.0" + micromark-extension-gfm-strikethrough "^2.0.0" + micromark-extension-gfm-table "^2.0.0" + micromark-extension-gfm-tagfilter "^2.0.0" + micromark-extension-gfm-task-list-item "^2.0.0" + micromark-util-combine-extensions "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-extension-mdx-expression@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/micromark-extension-mdx-expression/-/micromark-extension-mdx-expression-3.0.0.tgz#1407b9ce69916cf5e03a196ad9586889df25302a" + integrity sha512-sI0nwhUDz97xyzqJAbHQhp5TfaxEvZZZ2JDqUo+7NvyIYG6BZ5CPPqj2ogUoPJlmXHBnyZUzISg9+oUmU6tUjQ== + dependencies: + "@types/estree" "^1.0.0" + devlop "^1.0.0" + micromark-factory-mdx-expression "^2.0.0" + micromark-factory-space "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-events-to-acorn "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-extension-mdx-jsx@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/micromark-extension-mdx-jsx/-/micromark-extension-mdx-jsx-3.0.0.tgz#4aba0797c25efb2366a3fd2d367c6b1c1159f4f5" + integrity sha512-uvhhss8OGuzR4/N17L1JwvmJIpPhAd8oByMawEKx6NVdBCbesjH4t+vjEp3ZXft9DwvlKSD07fCeI44/N0Vf2w== + dependencies: + "@types/acorn" "^4.0.0" + "@types/estree" "^1.0.0" + devlop "^1.0.0" + estree-util-is-identifier-name "^3.0.0" + micromark-factory-mdx-expression "^2.0.0" + micromark-factory-space "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + vfile-message "^4.0.0" + +micromark-extension-mdx-md@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-extension-mdx-md/-/micromark-extension-mdx-md-2.0.0.tgz#1d252881ea35d74698423ab44917e1f5b197b92d" + integrity sha512-EpAiszsB3blw4Rpba7xTOUptcFeBFi+6PY8VnJ2hhimH+vCQDirWgsMpz7w1XcZE7LVrSAUGb9VJpG9ghlYvYQ== + dependencies: + micromark-util-types "^2.0.0" + +micromark-extension-mdxjs-esm@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/micromark-extension-mdxjs-esm/-/micromark-extension-mdxjs-esm-3.0.0.tgz#de21b2b045fd2059bd00d36746081de38390d54a" + integrity sha512-DJFl4ZqkErRpq/dAPyeWp15tGrcrrJho1hKK5uBS70BCtfrIFg81sqcTVu3Ta+KD1Tk5vAtBNElWxtAa+m8K9A== + dependencies: + "@types/estree" "^1.0.0" + devlop "^1.0.0" + micromark-core-commonmark "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-events-to-acorn "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + unist-util-position-from-estree "^2.0.0" + vfile-message "^4.0.0" + +micromark-extension-mdxjs@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/micromark-extension-mdxjs/-/micromark-extension-mdxjs-3.0.0.tgz#b5a2e0ed449288f3f6f6c544358159557549de18" + integrity sha512-A873fJfhnJ2siZyUrJ31l34Uqwy4xIFmvPY1oj+Ean5PHcPBYzEsvqvWGaWcfEIr11O5Dlw3p2y0tZWpKHDejQ== + dependencies: + acorn "^8.0.0" + acorn-jsx "^5.0.0" + micromark-extension-mdx-expression "^3.0.0" + micromark-extension-mdx-jsx "^3.0.0" + micromark-extension-mdx-md "^2.0.0" + micromark-extension-mdxjs-esm "^3.0.0" + micromark-util-combine-extensions "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-factory-destination@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-factory-destination/-/micromark-factory-destination-2.0.0.tgz#857c94debd2c873cba34e0445ab26b74f6a6ec07" + integrity sha512-j9DGrQLm/Uhl2tCzcbLhy5kXsgkHUrjJHg4fFAeoMRwJmJerT9aw4FEhIbZStWN8A3qMwOp1uzHr4UL8AInxtA== + dependencies: + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-factory-label@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-factory-label/-/micromark-factory-label-2.0.0.tgz#17c5c2e66ce39ad6f4fc4cbf40d972f9096f726a" + integrity sha512-RR3i96ohZGde//4WSe/dJsxOX6vxIg9TimLAS3i4EhBAFx8Sm5SmqVfR8E87DPSR31nEAjZfbt91OMZWcNgdZw== + dependencies: + devlop "^1.0.0" + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-factory-mdx-expression@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/micromark-factory-mdx-expression/-/micromark-factory-mdx-expression-2.0.1.tgz#f2a9724ce174f1751173beb2c1f88062d3373b1b" + integrity sha512-F0ccWIUHRLRrYp5TC9ZYXmZo+p2AM13ggbsW4T0b5CRKP8KHVRB8t4pwtBgTxtjRmwrK0Irwm7vs2JOZabHZfg== + dependencies: + "@types/estree" "^1.0.0" + devlop "^1.0.0" + micromark-util-character "^2.0.0" + micromark-util-events-to-acorn "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + unist-util-position-from-estree "^2.0.0" + vfile-message "^4.0.0" + +micromark-factory-space@^1.0.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/micromark-factory-space/-/micromark-factory-space-1.1.0.tgz#c8f40b0640a0150751d3345ed885a080b0d15faf" + integrity sha512-cRzEj7c0OL4Mw2v6nwzttyOZe8XY/Z8G0rzmWQZTBi/jjwyw/U4uqKtUORXQrR5bAZZnbTI/feRV/R7hc4jQYQ== + dependencies: + micromark-util-character "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-factory-space@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-factory-space/-/micromark-factory-space-2.0.0.tgz#5e7afd5929c23b96566d0e1ae018ae4fcf81d030" + integrity sha512-TKr+LIDX2pkBJXFLzpyPyljzYK3MtmllMUMODTQJIUfDGncESaqB90db9IAUcz4AZAJFdd8U9zOp9ty1458rxg== + dependencies: + micromark-util-character "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-factory-title@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-factory-title/-/micromark-factory-title-2.0.0.tgz#726140fc77892af524705d689e1cf06c8a83ea95" + integrity sha512-jY8CSxmpWLOxS+t8W+FG3Xigc0RDQA9bKMY/EwILvsesiRniiVMejYTE4wumNc2f4UbAa4WsHqe3J1QS1sli+A== + dependencies: + micromark-factory-space "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-factory-whitespace@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-factory-whitespace/-/micromark-factory-whitespace-2.0.0.tgz#9e92eb0f5468083381f923d9653632b3cfb5f763" + integrity sha512-28kbwaBjc5yAI1XadbdPYHX/eDnqaUFVikLwrO7FDnKG7lpgxnvk/XGRhX/PN0mOZ+dBSZ+LgunHS+6tYQAzhA== + dependencies: + micromark-factory-space "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-util-character@^1.0.0, micromark-util-character@^1.1.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/micromark-util-character/-/micromark-util-character-1.2.0.tgz#4fedaa3646db249bc58caeb000eb3549a8ca5dcc" + integrity sha512-lXraTwcX3yH/vMDaFWCQJP1uIszLVebzUa3ZHdrgxr7KEU/9mL4mVgCpGbyhvNLNlauROiNUq7WN5u7ndbY6xg== + dependencies: + micromark-util-symbol "^1.0.0" + micromark-util-types "^1.0.0" + +micromark-util-character@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/micromark-util-character/-/micromark-util-character-2.0.1.tgz#52b824c2e2633b6fb33399d2ec78ee2a90d6b298" + integrity sha512-3wgnrmEAJ4T+mGXAUfMvMAbxU9RDG43XmGce4j6CwPtVxB3vfwXSZ6KhFwDzZ3mZHhmPimMAXg71veiBGzeAZw== + dependencies: + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-util-chunked@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-chunked/-/micromark-util-chunked-2.0.0.tgz#e51f4db85fb203a79dbfef23fd41b2f03dc2ef89" + integrity sha512-anK8SWmNphkXdaKgz5hJvGa7l00qmcaUQoMYsBwDlSKFKjc6gjGXPDw3FNL3Nbwq5L8gE+RCbGqTw49FK5Qyvg== + dependencies: + micromark-util-symbol "^2.0.0" + +micromark-util-classify-character@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-classify-character/-/micromark-util-classify-character-2.0.0.tgz#8c7537c20d0750b12df31f86e976d1d951165f34" + integrity sha512-S0ze2R9GH+fu41FA7pbSqNWObo/kzwf8rN/+IGlW/4tC6oACOs8B++bh+i9bVyNnwCcuksbFwsBme5OCKXCwIw== + dependencies: + micromark-util-character "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-util-combine-extensions@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-combine-extensions/-/micromark-util-combine-extensions-2.0.0.tgz#75d6ab65c58b7403616db8d6b31315013bfb7ee5" + integrity sha512-vZZio48k7ON0fVS3CUgFatWHoKbbLTK/rT7pzpJ4Bjp5JjkZeasRfrS9wsBdDJK2cJLHMckXZdzPSSr1B8a4oQ== + dependencies: + micromark-util-chunked "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-util-decode-numeric-character-reference@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-2.0.1.tgz#2698bbb38f2a9ba6310e359f99fcb2b35a0d2bd5" + integrity sha512-bmkNc7z8Wn6kgjZmVHOX3SowGmVdhYS7yBpMnuMnPzDq/6xwVA604DuOXMZTO1lvq01g+Adfa0pE2UKGlxL1XQ== + dependencies: + micromark-util-symbol "^2.0.0" + +micromark-util-decode-string@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-decode-string/-/micromark-util-decode-string-2.0.0.tgz#7dfa3a63c45aecaa17824e656bcdb01f9737154a" + integrity sha512-r4Sc6leeUTn3P6gk20aFMj2ntPwn6qpDZqWvYmAG6NgvFTIlj4WtrAudLi65qYoaGdXYViXYw2pkmn7QnIFasA== + dependencies: + decode-named-character-reference "^1.0.0" + micromark-util-character "^2.0.0" + micromark-util-decode-numeric-character-reference "^2.0.0" + micromark-util-symbol "^2.0.0" + +micromark-util-encode@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-encode/-/micromark-util-encode-2.0.0.tgz#0921ac7953dc3f1fd281e3d1932decfdb9382ab1" + integrity sha512-pS+ROfCXAGLWCOc8egcBvT0kf27GoWMqtdarNfDcjb6YLuV5cM3ioG45Ys2qOVqeqSbjaKg72vU+Wby3eddPsA== + +micromark-util-events-to-acorn@^2.0.0: + version "2.0.2" + resolved "https://registry.npmmirror.com/micromark-util-events-to-acorn/-/micromark-util-events-to-acorn-2.0.2.tgz#4275834f5453c088bd29cd72dfbf80e3327cec07" + integrity sha512-Fk+xmBrOv9QZnEDguL9OI9/NQQp6Hz4FuQ4YmCb/5V7+9eAh1s6AYSvL20kHkD67YIg7EpE54TiSlcsf3vyZgA== + dependencies: + "@types/acorn" "^4.0.0" + "@types/estree" "^1.0.0" + "@types/unist" "^3.0.0" + devlop "^1.0.0" + estree-util-visit "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + vfile-message "^4.0.0" + +micromark-util-html-tag-name@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-html-tag-name/-/micromark-util-html-tag-name-2.0.0.tgz#ae34b01cbe063363847670284c6255bb12138ec4" + integrity sha512-xNn4Pqkj2puRhKdKTm8t1YHC/BAjx6CEwRFXntTaRf/x16aqka6ouVoutm+QdkISTlT7e2zU7U4ZdlDLJd2Mcw== + +micromark-util-normalize-identifier@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-2.0.0.tgz#91f9a4e65fe66cc80c53b35b0254ad67aa431d8b" + integrity sha512-2xhYT0sfo85FMrUPtHcPo2rrp1lwbDEEzpx7jiH2xXJLqBuy4H0GgXk5ToU8IEwoROtXuL8ND0ttVa4rNqYK3w== + dependencies: + micromark-util-symbol "^2.0.0" + +micromark-util-resolve-all@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-resolve-all/-/micromark-util-resolve-all-2.0.0.tgz#189656e7e1a53d0c86a38a652b284a252389f364" + integrity sha512-6KU6qO7DZ7GJkaCgwBNtplXCvGkJToU86ybBAUdavvgsCiG8lSSvYxr9MhwmQ+udpzywHsl4RpGJsYWG1pDOcA== + dependencies: + micromark-util-types "^2.0.0" + +micromark-util-sanitize-uri@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.0.tgz#ec8fbf0258e9e6d8f13d9e4770f9be64342673de" + integrity sha512-WhYv5UEcZrbAtlsnPuChHUAsu/iBPOVaEVsntLBIdpibO0ddy8OzavZz3iL2xVvBZOpolujSliP65Kq0/7KIYw== + dependencies: + micromark-util-character "^2.0.0" + micromark-util-encode "^2.0.0" + micromark-util-symbol "^2.0.0" + +micromark-util-subtokenize@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-subtokenize/-/micromark-util-subtokenize-2.0.0.tgz#9f412442d77e0c5789ffdf42377fa8a2bcbdf581" + integrity sha512-vc93L1t+gpR3p8jxeVdaYlbV2jTYteDje19rNSS/H5dlhxUYll5Fy6vJ2cDwP8RnsXi818yGty1ayP55y3W6fg== + dependencies: + devlop "^1.0.0" + micromark-util-chunked "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromark-util-symbol@^1.0.0, micromark-util-symbol@^1.0.1: + version "1.1.0" + resolved "https://registry.npmmirror.com/micromark-util-symbol/-/micromark-util-symbol-1.1.0.tgz#813cd17837bdb912d069a12ebe3a44b6f7063142" + integrity sha512-uEjpEYY6KMs1g7QfJ2eX1SQEV+ZT4rUD3UcF6l57acZvLNK7PBZL+ty82Z1qhK1/yXIY4bdx04FKMgR0g4IAag== + +micromark-util-symbol@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-symbol/-/micromark-util-symbol-2.0.0.tgz#12225c8f95edf8b17254e47080ce0862d5db8044" + integrity sha512-8JZt9ElZ5kyTnO94muPxIGS8oyElRJaiJO8EzV6ZSyGQ1Is8xwl4Q45qU5UOg+bGH4AikWziz0iN4sFLWs8PGw== + +micromark-util-types@^1.0.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/micromark-util-types/-/micromark-util-types-1.1.0.tgz#e6676a8cae0bb86a2171c498167971886cb7e283" + integrity sha512-ukRBgie8TIAcacscVHSiddHjO4k/q3pnedmzMQ4iwDcK0FtFCohKOlFbaOL/mPgfnPsL3C1ZyxJa4sbWrBl3jg== + +micromark-util-types@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/micromark-util-types/-/micromark-util-types-2.0.0.tgz#63b4b7ffeb35d3ecf50d1ca20e68fc7caa36d95e" + integrity sha512-oNh6S2WMHWRZrmutsRmDDfkzKtxF+bc2VxLC9dvtrDIRFln627VsFP6fLMgTryGDljgLPjkrzQSDcPrjPyDJ5w== + +micromark@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/micromark/-/micromark-4.0.0.tgz#84746a249ebd904d9658cfabc1e8e5f32cbc6249" + integrity sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ== + dependencies: + "@types/debug" "^4.0.0" + debug "^4.0.0" + decode-named-character-reference "^1.0.0" + devlop "^1.0.0" + micromark-core-commonmark "^2.0.0" + micromark-factory-space "^2.0.0" + micromark-util-character "^2.0.0" + micromark-util-chunked "^2.0.0" + micromark-util-combine-extensions "^2.0.0" + micromark-util-decode-numeric-character-reference "^2.0.0" + micromark-util-encode "^2.0.0" + micromark-util-normalize-identifier "^2.0.0" + micromark-util-resolve-all "^2.0.0" + micromark-util-sanitize-uri "^2.0.0" + micromark-util-subtokenize "^2.0.0" + micromark-util-symbol "^2.0.0" + micromark-util-types "^2.0.0" + +micromatch@^4.0.2, micromatch@^4.0.4, micromatch@^4.0.5: + version "4.0.5" + resolved "https://registry.npmmirror.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" + integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== + dependencies: + braces "^3.0.2" + picomatch "^2.3.1" + +mime-db@1.52.0, "mime-db@>= 1.43.0 < 2": + version "1.52.0" + resolved "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-db@~1.33.0: + version "1.33.0" + resolved "https://registry.npmmirror.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db" + integrity sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ== + +mime-types@2.1.18: + version "2.1.18" + resolved "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8" + integrity sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ== + dependencies: + mime-db "~1.33.0" + +mime-types@^2.1.27, mime-types@^2.1.31, mime-types@~2.1.17, mime-types@~2.1.24, mime-types@~2.1.34: + version "2.1.35" + resolved "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +mime@1.6.0: + version "1.6.0" + resolved "https://registry.npmmirror.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" + integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== + +mimic-fn@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + +mimic-response@^3.1.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/mimic-response/-/mimic-response-3.1.0.tgz#2d1d59af9c1b129815accc2c46a022a5ce1fa3c9" + integrity sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ== + +mimic-response@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/mimic-response/-/mimic-response-4.0.0.tgz#35468b19e7c75d10f5165ea25e75a5ceea7cf70f" + integrity sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg== + +mini-css-extract-plugin@^2.7.6: + version "2.7.6" + resolved "https://registry.npmmirror.com/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.6.tgz#282a3d38863fddcd2e0c220aaed5b90bc156564d" + integrity sha512-Qk7HcgaPkGG6eD77mLvZS1nmxlao3j+9PkrT9Uc7HAE1id3F41+DdBRYRYkbyfNRGzm8/YWtzhw7nVPmwhqTQw== + dependencies: + schema-utils "^4.0.0" + +minimalistic-assert@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz#2e194de044626d4a10e7f7fbc00ce73e83e4d5c7" + integrity sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A== + +minimatch@3.1.2, minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1: + version "3.1.2" + resolved "https://registry.npmmirror.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimist@^1.2.0: + version "1.2.8" + resolved "https://registry.npmmirror.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" + integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== + +mrmime@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/mrmime/-/mrmime-2.0.0.tgz#151082a6e06e59a9a39b46b3e14d5cfe92b3abb4" + integrity sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw== + +ms@2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" + integrity sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A== + +ms@2.1.2: + version "2.1.2" + resolved "https://registry.npmmirror.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + +ms@2.1.3: + version "2.1.3" + resolved "https://registry.npmmirror.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + +multicast-dns@^7.2.5: + version "7.2.5" + resolved "https://registry.npmmirror.com/multicast-dns/-/multicast-dns-7.2.5.tgz#77eb46057f4d7adbd16d9290fa7299f6fa64cced" + integrity sha512-2eznPJP8z2BFLX50tf0LuODrpINqP1RVIm/CObbTcBRITQgmC/TjcREF1NeTBzIcR5XO/ukWo+YHOjBbFwIupg== + dependencies: + dns-packet "^5.2.2" + thunky "^1.0.2" + +nanoid@^3.3.7: + version "3.3.7" + resolved "https://registry.npmmirror.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8" + integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g== + +negotiator@0.6.3: + version "0.6.3" + resolved "https://registry.npmmirror.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" + integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== + +neo-async@^2.6.2: + version "2.6.2" + resolved "https://registry.npmmirror.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" + integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== + +no-case@^3.0.4: + version "3.0.4" + resolved "https://registry.npmmirror.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" + integrity sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg== + dependencies: + lower-case "^2.0.2" + tslib "^2.0.3" + +node-emoji@^2.1.0: + version "2.1.3" + resolved "https://registry.npmmirror.com/node-emoji/-/node-emoji-2.1.3.tgz#93cfabb5cc7c3653aa52f29d6ffb7927d8047c06" + integrity sha512-E2WEOVsgs7O16zsURJ/eH8BqhF029wGpEOnv7Urwdo2wmQanOACwJQh0devF9D9RhoZru0+9JXIS0dBXIAz+lA== + dependencies: + "@sindresorhus/is" "^4.6.0" + char-regex "^1.0.2" + emojilib "^2.4.0" + skin-tone "^2.0.0" + +node-forge@^1: + version "1.3.1" + resolved "https://registry.npmmirror.com/node-forge/-/node-forge-1.3.1.tgz#be8da2af243b2417d5f646a770663a92b7e9ded3" + integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== + +node-releases@^2.0.14: + version "2.0.14" + resolved "https://registry.npmmirror.com/node-releases/-/node-releases-2.0.14.tgz#2ffb053bceb8b2be8495ece1ab6ce600c4461b0b" + integrity sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw== + +normalize-path@^3.0.0, normalize-path@~3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +normalize-range@^0.1.2: + version "0.1.2" + resolved "https://registry.npmmirror.com/normalize-range/-/normalize-range-0.1.2.tgz#2d10c06bdfd312ea9777695a4d28439456b75942" + integrity sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA== + +normalize-url@^6.0.1: + version "6.1.0" + resolved "https://registry.npmmirror.com/normalize-url/-/normalize-url-6.1.0.tgz#40d0885b535deffe3f3147bec877d05fe4c5668a" + integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A== + +normalize-url@^8.0.0: + version "8.0.0" + resolved "https://registry.npmmirror.com/normalize-url/-/normalize-url-8.0.0.tgz#593dbd284f743e8dcf6a5ddf8fadff149c82701a" + integrity sha512-uVFpKhj5MheNBJRTiMZ9pE/7hD1QTeEvugSJW/OmLzAp78PB5O6adfMNTvmfKhXBkvCzC+rqifWcVYpGFwTjnw== + +npm-run-path@^4.0.1: + version "4.0.1" + resolved "https://registry.npmmirror.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + +nprogress@^0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/nprogress/-/nprogress-0.2.0.tgz#cb8f34c53213d895723fcbab907e9422adbcafb1" + integrity sha512-I19aIingLgR1fmhftnbWWO3dXc0hSxqHQHQb3H8m+K3TnEn/iSeTZZOyvKXWqQESMwuUVnatlCnZdLBZZt2VSA== + +nth-check@^2.0.1: + version "2.1.1" + resolved "https://registry.npmmirror.com/nth-check/-/nth-check-2.1.1.tgz#c9eab428effce36cd6b92c924bdb000ef1f1ed1d" + integrity sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w== + dependencies: + boolbase "^1.0.0" + +object-assign@^4.1.1: + version "4.1.1" + resolved "https://registry.npmmirror.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg== + +object-inspect@^1.9.0: + version "1.13.1" + resolved "https://registry.npmmirror.com/object-inspect/-/object-inspect-1.13.1.tgz#b96c6109324ccfef6b12216a956ca4dc2ff94bc2" + integrity sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +object.assign@^4.1.0: + version "4.1.5" + resolved "https://registry.npmmirror.com/object.assign/-/object.assign-4.1.5.tgz#3a833f9ab7fdb80fc9e8d2300c803d216d8fdbb0" + integrity sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ== + dependencies: + call-bind "^1.0.5" + define-properties "^1.2.1" + has-symbols "^1.0.3" + object-keys "^1.1.1" + +obuf@^1.0.0, obuf@^1.1.2: + version "1.1.2" + resolved "https://registry.npmmirror.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" + integrity sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg== + +on-finished@2.4.1: + version "2.4.1" + resolved "https://registry.npmmirror.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" + integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== + dependencies: + ee-first "1.1.1" + +on-headers@~1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" + integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== + +once@^1.3.0: + version "1.4.0" + resolved "https://registry.npmmirror.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + integrity sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w== + dependencies: + wrappy "1" + +onetime@^5.1.2: + version "5.1.2" + resolved "https://registry.npmmirror.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + +open@^8.0.9, open@^8.4.0: + version "8.4.2" + resolved "https://registry.npmmirror.com/open/-/open-8.4.2.tgz#5b5ffe2a8f793dcd2aad73e550cb87b59cb084f9" + integrity sha512-7x81NCL719oNbsq/3mh+hVrAWmFuEYUqrq/Iw3kUzH8ReypT9QQ0BLoJS7/G9k6N81XjW4qHWtjWwe/9eLy1EQ== + dependencies: + define-lazy-prop "^2.0.0" + is-docker "^2.1.1" + is-wsl "^2.2.0" + +opener@^1.5.2: + version "1.5.2" + resolved "https://registry.npmmirror.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598" + integrity sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A== + +p-cancelable@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/p-cancelable/-/p-cancelable-3.0.0.tgz#63826694b54d61ca1c20ebcb6d3ecf5e14cd8050" + integrity sha512-mlVgR3PGuzlo0MmTdk4cXqXWlwQDLnONTAg6sm62XkMJEiRxN3GL3SffkYvqwonbkJBcrI7Uvv5Zh9yjvn2iUw== + +p-limit@^2.0.0: + version "2.3.0" + resolved "https://registry.npmmirror.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1" + integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w== + dependencies: + p-try "^2.0.0" + +p-limit@^3.0.2: + version "3.1.0" + resolved "https://registry.npmmirror.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + +p-limit@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/p-limit/-/p-limit-4.0.0.tgz#914af6544ed32bfa54670b061cafcbd04984b644" + integrity sha512-5b0R4txpzjPWVw/cXXUResoD4hb6U/x9BH08L7nw+GN1sezDzPdxeRvpc9c433fZhBan/wusjbCsqwqm4EIBIQ== + dependencies: + yocto-queue "^1.0.0" + +p-locate@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" + integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== + dependencies: + p-limit "^2.0.0" + +p-locate@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== + dependencies: + p-limit "^3.0.2" + +p-locate@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/p-locate/-/p-locate-6.0.0.tgz#3da9a49d4934b901089dca3302fa65dc5a05c04f" + integrity sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw== + dependencies: + p-limit "^4.0.0" + +p-map@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" + integrity sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ== + dependencies: + aggregate-error "^3.0.0" + +p-retry@^4.5.0: + version "4.6.2" + resolved "https://registry.npmmirror.com/p-retry/-/p-retry-4.6.2.tgz#9baae7184057edd4e17231cee04264106e092a16" + integrity sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ== + dependencies: + "@types/retry" "0.12.0" + retry "^0.13.1" + +p-try@^2.0.0: + version "2.2.0" + resolved "https://registry.npmmirror.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" + integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== + +package-json@^8.1.0: + version "8.1.1" + resolved "https://registry.npmmirror.com/package-json/-/package-json-8.1.1.tgz#3e9948e43df40d1e8e78a85485f1070bf8f03dc8" + integrity sha512-cbH9IAIJHNj9uXi196JVsRlt7cHKak6u/e6AkL/bkRelZ7rlL3X1YKxsZwa36xipOEKAsdtmaG6aAJoM1fx2zA== + dependencies: + got "^12.1.0" + registry-auth-token "^5.0.1" + registry-url "^6.0.0" + semver "^7.3.7" + +param-case@^3.0.4: + version "3.0.4" + resolved "https://registry.npmmirror.com/param-case/-/param-case-3.0.4.tgz#7d17fe4aa12bde34d4a77d91acfb6219caad01c5" + integrity sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A== + dependencies: + dot-case "^3.0.4" + tslib "^2.0.3" + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parse-entities@^4.0.0: + version "4.0.1" + resolved "https://registry.npmmirror.com/parse-entities/-/parse-entities-4.0.1.tgz#4e2a01111fb1c986549b944af39eeda258fc9e4e" + integrity sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w== + dependencies: + "@types/unist" "^2.0.0" + character-entities "^2.0.0" + character-entities-legacy "^3.0.0" + character-reference-invalid "^2.0.0" + decode-named-character-reference "^1.0.0" + is-alphanumerical "^2.0.0" + is-decimal "^2.0.0" + is-hexadecimal "^2.0.0" + +parse-json@^5.0.0, parse-json@^5.2.0: + version "5.2.0" + resolved "https://registry.npmmirror.com/parse-json/-/parse-json-5.2.0.tgz#c76fc66dee54231c962b22bcc8a72cf2f99753cd" + integrity sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg== + dependencies: + "@babel/code-frame" "^7.0.0" + error-ex "^1.3.1" + json-parse-even-better-errors "^2.3.0" + lines-and-columns "^1.1.6" + +parse-numeric-range@^1.3.0: + version "1.3.0" + resolved "https://registry.npmmirror.com/parse-numeric-range/-/parse-numeric-range-1.3.0.tgz#7c63b61190d61e4d53a1197f0c83c47bb670ffa3" + integrity sha512-twN+njEipszzlMJd4ONUYgSfZPDxgHhT9Ahed5uTigpQn90FggW4SA/AIPq/6a149fTbE9qBEcSwE3FAEp6wQQ== + +parse5-htmlparser2-tree-adapter@^7.0.0: + version "7.0.0" + resolved "https://registry.npmmirror.com/parse5-htmlparser2-tree-adapter/-/parse5-htmlparser2-tree-adapter-7.0.0.tgz#23c2cc233bcf09bb7beba8b8a69d46b08c62c2f1" + integrity sha512-B77tOZrqqfUfnVcOrUvfdLbz4pu4RopLD/4vmu3HUPswwTA8OH0EMW9BlWR2B0RCoiZRAHEUu7IxeP1Pd1UU+g== + dependencies: + domhandler "^5.0.2" + parse5 "^7.0.0" + +parse5@^7.0.0: + version "7.1.2" + resolved "https://registry.npmmirror.com/parse5/-/parse5-7.1.2.tgz#0736bebbfd77793823240a23b7fc5e010b7f8e32" + integrity sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw== + dependencies: + entities "^4.4.0" + +parseurl@~1.3.2, parseurl@~1.3.3: + version "1.3.3" + resolved "https://registry.npmmirror.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" + integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== + +pascal-case@^3.1.2: + version "3.1.2" + resolved "https://registry.npmmirror.com/pascal-case/-/pascal-case-3.1.2.tgz#b48e0ef2b98e205e7c1dae747d0b1508237660eb" + integrity sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + +path-exists@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" + integrity sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ== + +path-exists@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3" + integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w== + +path-exists@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/path-exists/-/path-exists-5.0.0.tgz#a6aad9489200b21fab31e49cf09277e5116fb9e7" + integrity sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ== + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.npmmirror.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + integrity sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg== + +path-is-inside@1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" + integrity sha512-DUWJr3+ULp4zXmol/SZkFf3JGsS9/SIv+Y3Rt93/UjPpDpklB5f1er4O3POIbUuUJ3FXgqte2Q7SrU6zAqwk8w== + +path-key@^3.0.0, path-key@^3.1.0: + version "3.1.1" + resolved "https://registry.npmmirror.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" + integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.npmmirror.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-to-regexp@0.1.7: + version "0.1.7" + resolved "https://registry.npmmirror.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" + integrity sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ== + +path-to-regexp@2.2.1: + version "2.2.1" + resolved "https://registry.npmmirror.com/path-to-regexp/-/path-to-regexp-2.2.1.tgz#90b617025a16381a879bc82a38d4e8bdeb2bcf45" + integrity sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ== + +path-to-regexp@^1.7.0: + version "1.8.0" + resolved "https://registry.npmmirror.com/path-to-regexp/-/path-to-regexp-1.8.0.tgz#887b3ba9d84393e87a0a0b9f4cb756198b53548a" + integrity sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA== + dependencies: + isarray "0.0.1" + +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + +periscopic@^3.0.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/periscopic/-/periscopic-3.1.0.tgz#7e9037bf51c5855bd33b48928828db4afa79d97a" + integrity sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw== + dependencies: + "@types/estree" "^1.0.0" + estree-walker "^3.0.0" + is-reference "^3.0.0" + +picocolors@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/picocolors/-/picocolors-1.0.0.tgz#cb5bdc74ff3f51892236eaf79d68bc44564ab81c" + integrity sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ== + +picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3, picomatch@^2.3.1: + version "2.3.1" + resolved "https://registry.npmmirror.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +pkg-dir@^7.0.0: + version "7.0.0" + resolved "https://registry.npmmirror.com/pkg-dir/-/pkg-dir-7.0.0.tgz#8f0c08d6df4476756c5ff29b3282d0bab7517d11" + integrity sha512-Ie9z/WINcxxLp27BKOCHGde4ITq9UklYKDzVo1nhk5sqGEXU3FpkwP5GM2voTGJkGd9B3Otl+Q4uwSOeSUtOBA== + dependencies: + find-up "^6.3.0" + +pkg-up@^3.1.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/pkg-up/-/pkg-up-3.1.0.tgz#100ec235cc150e4fd42519412596a28512a0def5" + integrity sha512-nDywThFk1i4BQK4twPQ6TA4RT8bDY96yeuCVBWL3ePARCiEKDRSrNGbFIgUJpLp+XeIR65v8ra7WuJOFUBtkMA== + dependencies: + find-up "^3.0.0" + +postcss-calc@^8.2.3: + version "8.2.4" + resolved "https://registry.npmmirror.com/postcss-calc/-/postcss-calc-8.2.4.tgz#77b9c29bfcbe8a07ff6693dc87050828889739a5" + integrity sha512-SmWMSJmB8MRnnULldx0lQIyhSNvuDl9HfrZkaqqE/WHAhToYsAvDq+yAsA/kIyINDszOp3Rh0GFoNuH5Ypsm3Q== + dependencies: + postcss-selector-parser "^6.0.9" + postcss-value-parser "^4.2.0" + +postcss-colormin@^5.3.1: + version "5.3.1" + resolved "https://registry.npmmirror.com/postcss-colormin/-/postcss-colormin-5.3.1.tgz#86c27c26ed6ba00d96c79e08f3ffb418d1d1988f" + integrity sha512-UsWQG0AqTFQmpBegeLLc1+c3jIqBNB0zlDGRWR+dQ3pRKJL1oeMzyqmH3o2PIfn9MBdNrVPWhDbT769LxCTLJQ== + dependencies: + browserslist "^4.21.4" + caniuse-api "^3.0.0" + colord "^2.9.1" + postcss-value-parser "^4.2.0" + +postcss-convert-values@^5.1.3: + version "5.1.3" + resolved "https://registry.npmmirror.com/postcss-convert-values/-/postcss-convert-values-5.1.3.tgz#04998bb9ba6b65aa31035d669a6af342c5f9d393" + integrity sha512-82pC1xkJZtcJEfiLw6UXnXVXScgtBrjlO5CBmuDQc+dlb88ZYheFsjTn40+zBVi3DkfF7iezO0nJUPLcJK3pvA== + dependencies: + browserslist "^4.21.4" + postcss-value-parser "^4.2.0" + +postcss-discard-comments@^5.1.2: + version "5.1.2" + resolved "https://registry.npmmirror.com/postcss-discard-comments/-/postcss-discard-comments-5.1.2.tgz#8df5e81d2925af2780075840c1526f0660e53696" + integrity sha512-+L8208OVbHVF2UQf1iDmRcbdjJkuBF6IS29yBDSiWUIzpYaAhtNl6JYnYm12FnkeCwQqF5LeklOu6rAqgfBZqQ== + +postcss-discard-duplicates@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/postcss-discard-duplicates/-/postcss-discard-duplicates-5.1.0.tgz#9eb4fe8456706a4eebd6d3b7b777d07bad03e848" + integrity sha512-zmX3IoSI2aoenxHV6C7plngHWWhUOV3sP1T8y2ifzxzbtnuhk1EdPwm0S1bIUNaJ2eNbWeGLEwzw8huPD67aQw== + +postcss-discard-empty@^5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/postcss-discard-empty/-/postcss-discard-empty-5.1.1.tgz#e57762343ff7f503fe53fca553d18d7f0c369c6c" + integrity sha512-zPz4WljiSuLWsI0ir4Mcnr4qQQ5e1Ukc3i7UfE2XcrwKK2LIPIqE5jxMRxO6GbI3cv//ztXDsXwEWT3BHOGh3A== + +postcss-discard-overridden@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/postcss-discard-overridden/-/postcss-discard-overridden-5.1.0.tgz#7e8c5b53325747e9d90131bb88635282fb4a276e" + integrity sha512-21nOL7RqWR1kasIVdKs8HNqQJhFxLsyRfAnUDm4Fe4t4mCWL9OJiHvlHPjcd8zc5Myu89b/7wZDnOSjFgeWRtw== + +postcss-discard-unused@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/postcss-discard-unused/-/postcss-discard-unused-5.1.0.tgz#8974e9b143d887677304e558c1166d3762501142" + integrity sha512-KwLWymI9hbwXmJa0dkrzpRbSJEh0vVUd7r8t0yOGPcfKzyJJxFM8kLyC5Ev9avji6nY95pOp1W6HqIrfT+0VGw== + dependencies: + postcss-selector-parser "^6.0.5" + +postcss-loader@^7.3.3: + version "7.3.4" + resolved "https://registry.npmmirror.com/postcss-loader/-/postcss-loader-7.3.4.tgz#aed9b79ce4ed7e9e89e56199d25ad1ec8f606209" + integrity sha512-iW5WTTBSC5BfsBJ9daFMPVrLT36MrNiC6fqOZTTaHjBNX6Pfd5p+hSBqe/fEeNd7pc13QiAyGt7VdGMw4eRC4A== + dependencies: + cosmiconfig "^8.3.5" + jiti "^1.20.0" + semver "^7.5.4" + +postcss-merge-idents@^5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/postcss-merge-idents/-/postcss-merge-idents-5.1.1.tgz#7753817c2e0b75d0853b56f78a89771e15ca04a1" + integrity sha512-pCijL1TREiCoog5nQp7wUe+TUonA2tC2sQ54UGeMmryK3UFGIYKqDyjnqd6RcuI4znFn9hWSLNN8xKE/vWcUQw== + dependencies: + cssnano-utils "^3.1.0" + postcss-value-parser "^4.2.0" + +postcss-merge-longhand@^5.1.7: + version "5.1.7" + resolved "https://registry.npmmirror.com/postcss-merge-longhand/-/postcss-merge-longhand-5.1.7.tgz#24a1bdf402d9ef0e70f568f39bdc0344d568fb16" + integrity sha512-YCI9gZB+PLNskrK0BB3/2OzPnGhPkBEwmwhfYk1ilBHYVAZB7/tkTHFBAnCrvBBOmeYyMYw3DMjT55SyxMBzjQ== + dependencies: + postcss-value-parser "^4.2.0" + stylehacks "^5.1.1" + +postcss-merge-rules@^5.1.4: + version "5.1.4" + resolved "https://registry.npmmirror.com/postcss-merge-rules/-/postcss-merge-rules-5.1.4.tgz#2f26fa5cacb75b1402e213789f6766ae5e40313c" + integrity sha512-0R2IuYpgU93y9lhVbO/OylTtKMVcHb67zjWIfCiKR9rWL3GUk1677LAqD/BcHizukdZEjT8Ru3oHRoAYoJy44g== + dependencies: + browserslist "^4.21.4" + caniuse-api "^3.0.0" + cssnano-utils "^3.1.0" + postcss-selector-parser "^6.0.5" + +postcss-minify-font-values@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/postcss-minify-font-values/-/postcss-minify-font-values-5.1.0.tgz#f1df0014a726083d260d3bd85d7385fb89d1f01b" + integrity sha512-el3mYTgx13ZAPPirSVsHqFzl+BBBDrXvbySvPGFnQcTI4iNslrPaFq4muTkLZmKlGk4gyFAYUBMH30+HurREyA== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-minify-gradients@^5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/postcss-minify-gradients/-/postcss-minify-gradients-5.1.1.tgz#f1fe1b4f498134a5068240c2f25d46fcd236ba2c" + integrity sha512-VGvXMTpCEo4qHTNSa9A0a3D+dxGFZCYwR6Jokk+/3oB6flu2/PnPXAh2x7x52EkY5xlIHLm+Le8tJxe/7TNhzw== + dependencies: + colord "^2.9.1" + cssnano-utils "^3.1.0" + postcss-value-parser "^4.2.0" + +postcss-minify-params@^5.1.4: + version "5.1.4" + resolved "https://registry.npmmirror.com/postcss-minify-params/-/postcss-minify-params-5.1.4.tgz#c06a6c787128b3208b38c9364cfc40c8aa5d7352" + integrity sha512-+mePA3MgdmVmv6g+30rn57USjOGSAyuxUmkfiWpzalZ8aiBkdPYjXWtHuwJGm1v5Ojy0Z0LaSYhHaLJQB0P8Jw== + dependencies: + browserslist "^4.21.4" + cssnano-utils "^3.1.0" + postcss-value-parser "^4.2.0" + +postcss-minify-selectors@^5.2.1: + version "5.2.1" + resolved "https://registry.npmmirror.com/postcss-minify-selectors/-/postcss-minify-selectors-5.2.1.tgz#d4e7e6b46147b8117ea9325a915a801d5fe656c6" + integrity sha512-nPJu7OjZJTsVUmPdm2TcaiohIwxP+v8ha9NehQ2ye9szv4orirRU3SDdtUmKH+10nzn0bAyOXZ0UEr7OpvLehg== + dependencies: + postcss-selector-parser "^6.0.5" + +postcss-modules-extract-imports@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz#cda1f047c0ae80c97dbe28c3e76a43b88025741d" + integrity sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw== + +postcss-modules-local-by-default@^4.0.3: + version "4.0.3" + resolved "https://registry.npmmirror.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.3.tgz#b08eb4f083050708998ba2c6061b50c2870ca524" + integrity sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA== + dependencies: + icss-utils "^5.0.0" + postcss-selector-parser "^6.0.2" + postcss-value-parser "^4.1.0" + +postcss-modules-scope@^3.0.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/postcss-modules-scope/-/postcss-modules-scope-3.1.0.tgz#fbfddfda93a31f310f1d152c2bb4d3f3c5592ee0" + integrity sha512-SaIbK8XW+MZbd0xHPf7kdfA/3eOt7vxJ72IRecn3EzuZVLr1r0orzf0MX/pN8m+NMDoo6X/SQd8oeKqGZd8PXg== + dependencies: + postcss-selector-parser "^6.0.4" + +postcss-modules-values@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz#d7c5e7e68c3bb3c9b27cbf48ca0bb3ffb4602c9c" + integrity sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ== + dependencies: + icss-utils "^5.0.0" + +postcss-normalize-charset@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/postcss-normalize-charset/-/postcss-normalize-charset-5.1.0.tgz#9302de0b29094b52c259e9b2cf8dc0879879f0ed" + integrity sha512-mSgUJ+pd/ldRGVx26p2wz9dNZ7ji6Pn8VWBajMXFf8jk7vUoSrZ2lt/wZR7DtlZYKesmZI680qjr2CeFF2fbUg== + +postcss-normalize-display-values@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/postcss-normalize-display-values/-/postcss-normalize-display-values-5.1.0.tgz#72abbae58081960e9edd7200fcf21ab8325c3da8" + integrity sha512-WP4KIM4o2dazQXWmFaqMmcvsKmhdINFblgSeRgn8BJ6vxaMyaJkwAzpPpuvSIoG/rmX3M+IrRZEz2H0glrQNEA== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-positions@^5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/postcss-normalize-positions/-/postcss-normalize-positions-5.1.1.tgz#ef97279d894087b59325b45c47f1e863daefbb92" + integrity sha512-6UpCb0G4eofTCQLFVuI3EVNZzBNPiIKcA1AKVka+31fTVySphr3VUgAIULBhxZkKgwLImhzMR2Bw1ORK+37INg== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-repeat-style@^5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-5.1.1.tgz#e9eb96805204f4766df66fd09ed2e13545420fb2" + integrity sha512-mFpLspGWkQtBcWIRFLmewo8aC3ImN2i/J3v8YCFUwDnPu3Xz4rLohDO26lGjwNsQxB3YF0KKRwspGzE2JEuS0g== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-string@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/postcss-normalize-string/-/postcss-normalize-string-5.1.0.tgz#411961169e07308c82c1f8c55f3e8a337757e228" + integrity sha512-oYiIJOf4T9T1N4i+abeIc7Vgm/xPCGih4bZz5Nm0/ARVJ7K6xrDlLwvwqOydvyL3RHNf8qZk6vo3aatiw/go3w== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-timing-functions@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-5.1.0.tgz#d5614410f8f0b2388e9f240aa6011ba6f52dafbb" + integrity sha512-DOEkzJ4SAXv5xkHl0Wa9cZLF3WCBhF3o1SKVxKQAa+0pYKlueTpCgvkFAHfk+Y64ezX9+nITGrDZeVGgITJXjg== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-normalize-unicode@^5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/postcss-normalize-unicode/-/postcss-normalize-unicode-5.1.1.tgz#f67297fca3fea7f17e0d2caa40769afc487aa030" + integrity sha512-qnCL5jzkNUmKVhZoENp1mJiGNPcsJCs1aaRmURmeJGES23Z/ajaln+EPTD+rBeNkSryI+2WTdW+lwcVdOikrpA== + dependencies: + browserslist "^4.21.4" + postcss-value-parser "^4.2.0" + +postcss-normalize-url@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/postcss-normalize-url/-/postcss-normalize-url-5.1.0.tgz#ed9d88ca82e21abef99f743457d3729a042adcdc" + integrity sha512-5upGeDO+PVthOxSmds43ZeMeZfKH+/DKgGRD7TElkkyS46JXAUhMzIKiCa7BabPeIy3AQcTkXwVVN7DbqsiCew== + dependencies: + normalize-url "^6.0.1" + postcss-value-parser "^4.2.0" + +postcss-normalize-whitespace@^5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/postcss-normalize-whitespace/-/postcss-normalize-whitespace-5.1.1.tgz#08a1a0d1ffa17a7cc6efe1e6c9da969cc4493cfa" + integrity sha512-83ZJ4t3NUDETIHTa3uEg6asWjSBYL5EdkVB0sDncx9ERzOKBVJIUeDO9RyA9Zwtig8El1d79HBp0JEi8wvGQnA== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-ordered-values@^5.1.3: + version "5.1.3" + resolved "https://registry.npmmirror.com/postcss-ordered-values/-/postcss-ordered-values-5.1.3.tgz#b6fd2bd10f937b23d86bc829c69e7732ce76ea38" + integrity sha512-9UO79VUhPwEkzbb3RNpqqghc6lcYej1aveQteWY+4POIwlqkYE21HKWaLDF6lWNuqCobEAyTovVhtI32Rbv2RQ== + dependencies: + cssnano-utils "^3.1.0" + postcss-value-parser "^4.2.0" + +postcss-reduce-idents@^5.2.0: + version "5.2.0" + resolved "https://registry.npmmirror.com/postcss-reduce-idents/-/postcss-reduce-idents-5.2.0.tgz#c89c11336c432ac4b28792f24778859a67dfba95" + integrity sha512-BTrLjICoSB6gxbc58D5mdBK8OhXRDqud/zodYfdSi52qvDHdMwk+9kB9xsM8yJThH/sZU5A6QVSmMmaN001gIg== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-reduce-initial@^5.1.2: + version "5.1.2" + resolved "https://registry.npmmirror.com/postcss-reduce-initial/-/postcss-reduce-initial-5.1.2.tgz#798cd77b3e033eae7105c18c9d371d989e1382d6" + integrity sha512-dE/y2XRaqAi6OvjzD22pjTUQ8eOfc6m/natGHgKFBK9DxFmIm69YmaRVQrGgFlEfc1HePIurY0TmDeROK05rIg== + dependencies: + browserslist "^4.21.4" + caniuse-api "^3.0.0" + +postcss-reduce-transforms@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/postcss-reduce-transforms/-/postcss-reduce-transforms-5.1.0.tgz#333b70e7758b802f3dd0ddfe98bb1ccfef96b6e9" + integrity sha512-2fbdbmgir5AvpW9RLtdONx1QoYG2/EtqpNQbFASDlixBbAYuTcJ0dECwlqNqH7VbaUnEnh8SrxOe2sRIn24XyQ== + dependencies: + postcss-value-parser "^4.2.0" + +postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.5, postcss-selector-parser@^6.0.9: + version "6.0.14" + resolved "https://registry.npmmirror.com/postcss-selector-parser/-/postcss-selector-parser-6.0.14.tgz#9d45f1afbebedae6811a17f49d09754f2ad153b3" + integrity sha512-65xXYsT40i9GyWzlHQ5ShZoK7JZdySeOozi/tz2EezDo6c04q6+ckYMeoY7idaie1qp2dT5KoYQ2yky6JuoHnA== + dependencies: + cssesc "^3.0.0" + util-deprecate "^1.0.2" + +postcss-sort-media-queries@^4.4.1: + version "4.4.1" + resolved "https://registry.npmmirror.com/postcss-sort-media-queries/-/postcss-sort-media-queries-4.4.1.tgz#04a5a78db3921eb78f28a1a781a2e68e65258128" + integrity sha512-QDESFzDDGKgpiIh4GYXsSy6sek2yAwQx1JASl5AxBtU1Lq2JfKBljIPNdil989NcSKRQX1ToiaKphImtBuhXWw== + dependencies: + sort-css-media-queries "2.1.0" + +postcss-svgo@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/postcss-svgo/-/postcss-svgo-5.1.0.tgz#0a317400ced789f233a28826e77523f15857d80d" + integrity sha512-D75KsH1zm5ZrHyxPakAxJWtkyXew5qwS70v56exwvw542d9CRtTo78K0WeFxZB4G7JXKKMbEZtZayTGdIky/eA== + dependencies: + postcss-value-parser "^4.2.0" + svgo "^2.7.0" + +postcss-unique-selectors@^5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/postcss-unique-selectors/-/postcss-unique-selectors-5.1.1.tgz#a9f273d1eacd09e9aa6088f4b0507b18b1b541b6" + integrity sha512-5JiODlELrz8L2HwxfPnhOWZYWDxVHWL83ufOv84NrcgipI7TaeRsatAhK4Tr2/ZiYldpK/wBvw5BD3qfaK96GA== + dependencies: + postcss-selector-parser "^6.0.5" + +postcss-value-parser@^4.1.0, postcss-value-parser@^4.2.0: + version "4.2.0" + resolved "https://registry.npmmirror.com/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz#723c09920836ba6d3e5af019f92bc0971c02e514" + integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== + +postcss-zindex@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/postcss-zindex/-/postcss-zindex-5.1.0.tgz#4a5c7e5ff1050bd4c01d95b1847dfdcc58a496ff" + integrity sha512-fgFMf0OtVSBR1va1JNHYgMxYk73yhn/qb4uQDq1DLGYolz8gHCyr/sesEuGUaYs58E3ZJRcpoGuPVoB7Meiq9A== + +postcss@^8.4.17, postcss@^8.4.21, postcss@^8.4.26: + version "8.4.32" + resolved "https://registry.npmmirror.com/postcss/-/postcss-8.4.32.tgz#1dac6ac51ab19adb21b8b34fd2d93a86440ef6c9" + integrity sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw== + dependencies: + nanoid "^3.3.7" + picocolors "^1.0.0" + source-map-js "^1.0.2" + +pretty-error@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/pretty-error/-/pretty-error-4.0.0.tgz#90a703f46dd7234adb46d0f84823e9d1cb8f10d6" + integrity sha512-AoJ5YMAcXKYxKhuJGdcvse+Voc6v1RgnsR3nWcYU7q4t6z0Q6T86sv5Zq8VIRbOWWFpvdGE83LtdSMNd+6Y0xw== + dependencies: + lodash "^4.17.20" + renderkid "^3.0.0" + +pretty-time@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/pretty-time/-/pretty-time-1.1.0.tgz#ffb7429afabb8535c346a34e41873adf3d74dd0e" + integrity sha512-28iF6xPQrP8Oa6uxE6a1biz+lWeTOAPKggvjB8HAs6nVMKZwf5bG++632Dx614hIWgUPkgivRfG+a8uAXGTIbA== + +prism-react-renderer@^2.3.0: + version "2.3.1" + resolved "https://registry.npmmirror.com/prism-react-renderer/-/prism-react-renderer-2.3.1.tgz#e59e5450052ede17488f6bc85de1553f584ff8d5" + integrity sha512-Rdf+HzBLR7KYjzpJ1rSoxT9ioO85nZngQEoFIhL07XhtJHlCU3SOz0GJ6+qvMyQe0Se+BV3qpe6Yd/NmQF5Juw== + dependencies: + "@types/prismjs" "^1.26.0" + clsx "^2.0.0" + +prismjs@^1.29.0: + version "1.29.0" + resolved "https://registry.npmmirror.com/prismjs/-/prismjs-1.29.0.tgz#f113555a8fa9b57c35e637bba27509dcf802dd12" + integrity sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q== + +process-nextick-args@~2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" + integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== + +prompts@^2.4.2: + version "2.4.2" + resolved "https://registry.npmmirror.com/prompts/-/prompts-2.4.2.tgz#7b57e73b3a48029ad10ebd44f74b01722a4cb069" + integrity sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q== + dependencies: + kleur "^3.0.3" + sisteransi "^1.0.5" + +prop-types@^15.6.2, prop-types@^15.7.2: + version "15.8.1" + resolved "https://registry.npmmirror.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + +property-information@^6.0.0: + version "6.4.0" + resolved "https://registry.npmmirror.com/property-information/-/property-information-6.4.0.tgz#6bc4c618b0c2d68b3bb8b552cbb97f8e300a0f82" + integrity sha512-9t5qARVofg2xQqKtytzt+lZ4d1Qvj8t5B8fEwXK6qOfgRLgH/b13QlgEyDh033NOS31nXeFbYv7CLUDG1CeifQ== + +proto-list@~1.2.1: + version "1.2.4" + resolved "https://registry.npmmirror.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" + integrity sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA== + +proxy-addr@~2.0.7: + version "2.0.7" + resolved "https://registry.npmmirror.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025" + integrity sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg== + dependencies: + forwarded "0.2.0" + ipaddr.js "1.9.1" + +punycode@^1.3.2: + version "1.4.1" + resolved "https://registry.npmmirror.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" + integrity sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ== + +punycode@^2.1.0: + version "2.3.1" + resolved "https://registry.npmmirror.com/punycode/-/punycode-2.3.1.tgz#027422e2faec0b25e1549c3e1bd8309b9133b6e5" + integrity sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg== + +pupa@^3.1.0: + version "3.1.0" + resolved "https://registry.npmmirror.com/pupa/-/pupa-3.1.0.tgz#f15610274376bbcc70c9a3aa8b505ea23f41c579" + integrity sha512-FLpr4flz5xZTSJxSeaheeMKN/EDzMdK7b8PTOC6a5PYFKTucWbdqjgqaEyH0shFiSJrVB1+Qqi4Tk19ccU6Aug== + dependencies: + escape-goat "^4.0.0" + +qs@6.11.0: + version "6.11.0" + resolved "https://registry.npmmirror.com/qs/-/qs-6.11.0.tgz#fd0d963446f7a65e1367e01abd85429453f0c37a" + integrity sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q== + dependencies: + side-channel "^1.0.4" + +queue-microtask@^1.2.2: + version "1.2.3" + resolved "https://registry.npmmirror.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== + +queue@6.0.2: + version "6.0.2" + resolved "https://registry.npmmirror.com/queue/-/queue-6.0.2.tgz#b91525283e2315c7553d2efa18d83e76432fed65" + integrity sha512-iHZWu+q3IdFZFX36ro/lKBkSvfkztY5Y7HMiPlOUjhupPcG2JMfst2KKEpu5XndviX/3UhFbRngUPNKtgvtZiA== + dependencies: + inherits "~2.0.3" + +quick-lru@^5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" + integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA== + +randombytes@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/randombytes/-/randombytes-2.1.0.tgz#df6f84372f0270dc65cdf6291349ab7a473d4f2a" + integrity sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ== + dependencies: + safe-buffer "^5.1.0" + +range-parser@1.2.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e" + integrity sha512-kA5WQoNVo4t9lNx2kQNFCxKeBl5IbbSNBl1M/tLkw9WCn+hxNBAW5Qh8gdhs63CJnhjJ2zQWFoqPJP2sK1AV5A== + +range-parser@^1.2.1, range-parser@~1.2.1: + version "1.2.1" + resolved "https://registry.npmmirror.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" + integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== + +raw-body@2.5.1: + version "2.5.1" + resolved "https://registry.npmmirror.com/raw-body/-/raw-body-2.5.1.tgz#fe1b1628b181b700215e5fd42389f98b71392857" + integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig== + dependencies: + bytes "3.1.2" + http-errors "2.0.0" + iconv-lite "0.4.24" + unpipe "1.0.0" + +rc@1.2.8: + version "1.2.8" + resolved "https://registry.npmmirror.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" + integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== + dependencies: + deep-extend "^0.6.0" + ini "~1.3.0" + minimist "^1.2.0" + strip-json-comments "~2.0.1" + +react-dev-utils@^12.0.1: + version "12.0.1" + resolved "https://registry.npmmirror.com/react-dev-utils/-/react-dev-utils-12.0.1.tgz#ba92edb4a1f379bd46ccd6bcd4e7bc398df33e73" + integrity sha512-84Ivxmr17KjUupyqzFode6xKhjwuEJDROWKJy/BthkL7Wn6NJ8h4WE6k/exAv6ImS+0oZLRRW5j/aINMHyeGeQ== + dependencies: + "@babel/code-frame" "^7.16.0" + address "^1.1.2" + browserslist "^4.18.1" + chalk "^4.1.2" + cross-spawn "^7.0.3" + detect-port-alt "^1.1.6" + escape-string-regexp "^4.0.0" + filesize "^8.0.6" + find-up "^5.0.0" + fork-ts-checker-webpack-plugin "^6.5.0" + global-modules "^2.0.0" + globby "^11.0.4" + gzip-size "^6.0.0" + immer "^9.0.7" + is-root "^2.1.0" + loader-utils "^3.2.0" + open "^8.4.0" + pkg-up "^3.1.0" + prompts "^2.4.2" + react-error-overlay "^6.0.11" + recursive-readdir "^2.2.2" + shell-quote "^1.7.3" + strip-ansi "^6.0.1" + text-table "^0.2.0" + +react-dom@^18.0.0: + version "18.2.0" + resolved "https://registry.npmmirror.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" + integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== + dependencies: + loose-envify "^1.1.0" + scheduler "^0.23.0" + +react-error-overlay@^6.0.11: + version "6.0.11" + resolved "https://registry.npmmirror.com/react-error-overlay/-/react-error-overlay-6.0.11.tgz#92835de5841c5cf08ba00ddd2d677b6d17ff9adb" + integrity sha512-/6UZ2qgEyH2aqzYZgQPxEnz33NJ2gNsnHA2o5+o4wW9bLM/JYQitNP9xPhsXwC08hMMovfGe/8retsdDsczPRg== + +react-fast-compare@^3.2.0, react-fast-compare@^3.2.2: + version "3.2.2" + resolved "https://registry.npmmirror.com/react-fast-compare/-/react-fast-compare-3.2.2.tgz#929a97a532304ce9fee4bcae44234f1ce2c21d49" + integrity sha512-nsO+KSNgo1SbJqJEYRE9ERzo7YtYbou/OqjSQKxV7jcKox7+usiUVZOAC+XnDOABXggQTno0Y1CpVnuWEc1boQ== + +react-helmet-async@*: + version "2.0.4" + resolved "https://registry.npmmirror.com/react-helmet-async/-/react-helmet-async-2.0.4.tgz#50a4377778f380ed1d0136303916b38eff1bf153" + integrity sha512-yxjQMWposw+akRfvpl5+8xejl4JtUlHnEBcji6u8/e6oc7ozT+P9PNTWMhCbz2y9tc5zPegw2BvKjQA+NwdEjQ== + dependencies: + invariant "^2.2.4" + react-fast-compare "^3.2.2" + shallowequal "^1.1.0" + +react-helmet-async@^1.3.0: + version "1.3.0" + resolved "https://registry.npmmirror.com/react-helmet-async/-/react-helmet-async-1.3.0.tgz#7bd5bf8c5c69ea9f02f6083f14ce33ef545c222e" + integrity sha512-9jZ57/dAn9t3q6hneQS0wukqC2ENOBgMNVEhb/ZG9ZSxUetzVIw4iAmEU38IaVg3QGYauQPhSeUTuIUtFglWpg== + dependencies: + "@babel/runtime" "^7.12.5" + invariant "^2.2.4" + prop-types "^15.7.2" + react-fast-compare "^3.2.0" + shallowequal "^1.1.0" + +react-is@^16.13.1, react-is@^16.6.0, react-is@^16.7.0: + version "16.13.1" + resolved "https://registry.npmmirror.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + +react-json-view-lite@^1.2.0: + version "1.2.1" + resolved "https://registry.npmmirror.com/react-json-view-lite/-/react-json-view-lite-1.2.1.tgz#c59a0bea4ede394db331d482ee02e293d38f8218" + integrity sha512-Itc0g86fytOmKZoIoJyGgvNqohWSbh3NXIKNgH6W6FT9PC1ck4xas1tT3Rr/b3UlFXyA9Jjaw9QSXdZy2JwGMQ== + +react-loadable-ssr-addon-v5-slorber@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/react-loadable-ssr-addon-v5-slorber/-/react-loadable-ssr-addon-v5-slorber-1.0.1.tgz#2cdc91e8a744ffdf9e3556caabeb6e4278689883" + integrity sha512-lq3Lyw1lGku8zUEJPDxsNm1AfYHBrO9Y1+olAYwpUJ2IGFBskM0DMKok97A6LWUpHm+o7IvQBOWu9MLenp9Z+A== + dependencies: + "@babel/runtime" "^7.10.3" + +react-router-config@^5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/react-router-config/-/react-router-config-5.1.1.tgz#0f4263d1a80c6b2dc7b9c1902c9526478194a988" + integrity sha512-DuanZjaD8mQp1ppHjgnnUnyOlqYXZVjnov/JzFhjLEwd3Z4dYjMSnqrEzzGThH47vpCOqPPwJM2FtthLeJ8Pbg== + dependencies: + "@babel/runtime" "^7.1.2" + +react-router-dom@^5.3.4: + version "5.3.4" + resolved "https://registry.npmmirror.com/react-router-dom/-/react-router-dom-5.3.4.tgz#2ed62ffd88cae6db134445f4a0c0ae8b91d2e5e6" + integrity sha512-m4EqFMHv/Ih4kpcBCONHbkT68KoAeHN4p3lAGoNryfHi0dMy0kCzEZakiKRsvg5wHZ/JLrLW8o8KomWiz/qbYQ== + dependencies: + "@babel/runtime" "^7.12.13" + history "^4.9.0" + loose-envify "^1.3.1" + prop-types "^15.6.2" + react-router "5.3.4" + tiny-invariant "^1.0.2" + tiny-warning "^1.0.0" + +react-router@5.3.4, react-router@^5.3.4: + version "5.3.4" + resolved "https://registry.npmmirror.com/react-router/-/react-router-5.3.4.tgz#8ca252d70fcc37841e31473c7a151cf777887bb5" + integrity sha512-Ys9K+ppnJah3QuaRiLxk+jDWOR1MekYQrlytiXxC1RyfbdsZkS5pvKAzCCr031xHixZwpnsYNT5xysdFHQaYsA== + dependencies: + "@babel/runtime" "^7.12.13" + history "^4.9.0" + hoist-non-react-statics "^3.1.0" + loose-envify "^1.3.1" + path-to-regexp "^1.7.0" + prop-types "^15.6.2" + react-is "^16.6.0" + tiny-invariant "^1.0.2" + tiny-warning "^1.0.0" + +react@^18.0.0: + version "18.2.0" + resolved "https://registry.npmmirror.com/react/-/react-18.2.0.tgz#555bd98592883255fa00de14f1151a917b5d77d5" + integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ== + dependencies: + loose-envify "^1.1.0" + +readable-stream@^2.0.1: + version "2.3.8" + resolved "https://registry.npmmirror.com/readable-stream/-/readable-stream-2.3.8.tgz#91125e8042bba1b9887f49345f6277027ce8be9b" + integrity sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA== + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.3" + isarray "~1.0.0" + process-nextick-args "~2.0.0" + safe-buffer "~5.1.1" + string_decoder "~1.1.1" + util-deprecate "~1.0.1" + +readable-stream@^3.0.6: + version "3.6.2" + resolved "https://registry.npmmirror.com/readable-stream/-/readable-stream-3.6.2.tgz#56a9b36ea965c00c5a93ef31eb111a0f11056967" + integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readdirp@~3.6.0: + version "3.6.0" + resolved "https://registry.npmmirror.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" + integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== + dependencies: + picomatch "^2.2.1" + +reading-time@^1.5.0: + version "1.5.0" + resolved "https://registry.npmmirror.com/reading-time/-/reading-time-1.5.0.tgz#d2a7f1b6057cb2e169beaf87113cc3411b5bc5bb" + integrity sha512-onYyVhBNr4CmAxFsKS7bz+uTLRakypIe4R+5A824vBSkQy/hB3fZepoVEf8OVAxzLvK+H/jm9TzpI3ETSm64Kg== + +rechoir@^0.6.2: + version "0.6.2" + resolved "https://registry.npmmirror.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" + integrity sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw== + dependencies: + resolve "^1.1.6" + +recursive-readdir@^2.2.2: + version "2.2.3" + resolved "https://registry.npmmirror.com/recursive-readdir/-/recursive-readdir-2.2.3.tgz#e726f328c0d69153bcabd5c322d3195252379372" + integrity sha512-8HrF5ZsXk5FAH9dgsx3BlUer73nIhuj+9OrQwEbLTPOBzGkL1lsFCR01am+v+0m2Cmbs1nP12hLDl5FA7EszKA== + dependencies: + minimatch "^3.0.5" + +regenerate-unicode-properties@^10.1.0: + version "10.1.1" + resolved "https://registry.npmmirror.com/regenerate-unicode-properties/-/regenerate-unicode-properties-10.1.1.tgz#6b0e05489d9076b04c436f318d9b067bba459480" + integrity sha512-X007RyZLsCJVVrjgEFVpLUTZwyOZk3oiL75ZcuYjlIWd6rNJtOjkBwQc5AsRrpbKVkxN6sklw/k/9m2jJYOf8Q== + dependencies: + regenerate "^1.4.2" + +regenerate@^1.4.2: + version "1.4.2" + resolved "https://registry.npmmirror.com/regenerate/-/regenerate-1.4.2.tgz#b9346d8827e8f5a32f7ba29637d398b69014848a" + integrity sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A== + +regenerator-runtime@^0.14.0: + version "0.14.1" + resolved "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" + integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== + +regenerator-transform@^0.15.2: + version "0.15.2" + resolved "https://registry.npmmirror.com/regenerator-transform/-/regenerator-transform-0.15.2.tgz#5bbae58b522098ebdf09bca2f83838929001c7a4" + integrity sha512-hfMp2BoF0qOk3uc5V20ALGDS2ddjQaLrdl7xrGXvAIow7qeWRM2VA2HuCHkUKk9slq3VwEwLNK3DFBqDfPGYtg== + dependencies: + "@babel/runtime" "^7.8.4" + +regexpu-core@^5.3.1: + version "5.3.2" + resolved "https://registry.npmmirror.com/regexpu-core/-/regexpu-core-5.3.2.tgz#11a2b06884f3527aec3e93dbbf4a3b958a95546b" + integrity sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ== + dependencies: + "@babel/regjsgen" "^0.8.0" + regenerate "^1.4.2" + regenerate-unicode-properties "^10.1.0" + regjsparser "^0.9.1" + unicode-match-property-ecmascript "^2.0.0" + unicode-match-property-value-ecmascript "^2.1.0" + +registry-auth-token@^5.0.1: + version "5.0.2" + resolved "https://registry.npmmirror.com/registry-auth-token/-/registry-auth-token-5.0.2.tgz#8b026cc507c8552ebbe06724136267e63302f756" + integrity sha512-o/3ikDxtXaA59BmZuZrJZDJv8NMDGSj+6j6XaeBmHw8eY1i1qd9+6H+LjVvQXx3HN6aRCGa1cUdJ9RaJZUugnQ== + dependencies: + "@pnpm/npm-conf" "^2.1.0" + +registry-url@^6.0.0: + version "6.0.1" + resolved "https://registry.npmmirror.com/registry-url/-/registry-url-6.0.1.tgz#056d9343680f2f64400032b1e199faa692286c58" + integrity sha512-+crtS5QjFRqFCoQmvGduwYWEBng99ZvmFvF+cUJkGYF1L1BfU8C6Zp9T7f5vPAwyLkUExpvK+ANVZmGU49qi4Q== + dependencies: + rc "1.2.8" + +regjsparser@^0.9.1: + version "0.9.1" + resolved "https://registry.npmmirror.com/regjsparser/-/regjsparser-0.9.1.tgz#272d05aa10c7c1f67095b1ff0addae8442fc5709" + integrity sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ== + dependencies: + jsesc "~0.5.0" + +rehype-raw@^7.0.0: + version "7.0.0" + resolved "https://registry.npmmirror.com/rehype-raw/-/rehype-raw-7.0.0.tgz#59d7348fd5dbef3807bbaa1d443efd2dd85ecee4" + integrity sha512-/aE8hCfKlQeA8LmyeyQvQF3eBiLRGNlfBJEvWH7ivp9sBqs7TNqBL5X3v157rM4IFETqDnIOO+z5M/biZbo9Ww== + dependencies: + "@types/hast" "^3.0.0" + hast-util-raw "^9.0.0" + vfile "^6.0.0" + +relateurl@^0.2.7: + version "0.2.7" + resolved "https://registry.npmmirror.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9" + integrity sha512-G08Dxvm4iDN3MLM0EsP62EDV9IuhXPR6blNz6Utcp7zyV3tr4HVNINt6MpaRWbxoOHT3Q7YN2P+jaHX8vUbgog== + +remark-directive@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/remark-directive/-/remark-directive-3.0.0.tgz#34452d951b37e6207d2e2a4f830dc33442923268" + integrity sha512-l1UyWJ6Eg1VPU7Hm/9tt0zKtReJQNOA4+iDMAxTyZNWnJnFlbS/7zhiel/rogTLQ2vMYwDzSJa4BiVNqGlqIMA== + dependencies: + "@types/mdast" "^4.0.0" + mdast-util-directive "^3.0.0" + micromark-extension-directive "^3.0.0" + unified "^11.0.0" + +remark-emoji@^4.0.0: + version "4.0.1" + resolved "https://registry.npmmirror.com/remark-emoji/-/remark-emoji-4.0.1.tgz#671bfda668047689e26b2078c7356540da299f04" + integrity sha512-fHdvsTR1dHkWKev9eNyhTo4EFwbUvJ8ka9SgeWkMPYFX4WoI7ViVBms3PjlQYgw5TLvNQso3GUB/b/8t3yo+dg== + dependencies: + "@types/mdast" "^4.0.2" + emoticon "^4.0.1" + mdast-util-find-and-replace "^3.0.1" + node-emoji "^2.1.0" + unified "^11.0.4" + +remark-frontmatter@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/remark-frontmatter/-/remark-frontmatter-5.0.0.tgz#b68d61552a421ec412c76f4f66c344627dc187a2" + integrity sha512-XTFYvNASMe5iPN0719nPrdItC9aU0ssC4v14mH1BCi1u0n1gAocqcujWUrByftZTbLhRtiKRyjYTSIOcr69UVQ== + dependencies: + "@types/mdast" "^4.0.0" + mdast-util-frontmatter "^2.0.0" + micromark-extension-frontmatter "^2.0.0" + unified "^11.0.0" + +remark-gfm@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/remark-gfm/-/remark-gfm-4.0.0.tgz#aea777f0744701aa288b67d28c43565c7e8c35de" + integrity sha512-U92vJgBPkbw4Zfu/IiW2oTZLSL3Zpv+uI7My2eq8JxKgqraFdU8YUGicEJCEgSbeaG+QDFqIcwwfMTOEelPxuA== + dependencies: + "@types/mdast" "^4.0.0" + mdast-util-gfm "^3.0.0" + micromark-extension-gfm "^3.0.0" + remark-parse "^11.0.0" + remark-stringify "^11.0.0" + unified "^11.0.0" + +remark-mdx@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/remark-mdx/-/remark-mdx-3.0.0.tgz#146905a3925b078970e05fc89b0e16b9cc3bfddd" + integrity sha512-O7yfjuC6ra3NHPbRVxfflafAj3LTwx3b73aBvkEFU5z4PsD6FD4vrqJAkE5iNGLz71GdjXfgRqm3SQ0h0VuE7g== + dependencies: + mdast-util-mdx "^3.0.0" + micromark-extension-mdxjs "^3.0.0" + +remark-parse@^11.0.0: + version "11.0.0" + resolved "https://registry.npmmirror.com/remark-parse/-/remark-parse-11.0.0.tgz#aa60743fcb37ebf6b069204eb4da304e40db45a1" + integrity sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA== + dependencies: + "@types/mdast" "^4.0.0" + mdast-util-from-markdown "^2.0.0" + micromark-util-types "^2.0.0" + unified "^11.0.0" + +remark-rehype@^11.0.0: + version "11.0.0" + resolved "https://registry.npmmirror.com/remark-rehype/-/remark-rehype-11.0.0.tgz#7f21c08738bde024be5f16e4a8b13e5d7a04cf6b" + integrity sha512-vx8x2MDMcxuE4lBmQ46zYUDfcFMmvg80WYX+UNLeG6ixjdCCLcw1lrgAukwBTuOFsS78eoAedHGn9sNM0w7TPw== + dependencies: + "@types/hast" "^3.0.0" + "@types/mdast" "^4.0.0" + mdast-util-to-hast "^13.0.0" + unified "^11.0.0" + vfile "^6.0.0" + +remark-stringify@^11.0.0: + version "11.0.0" + resolved "https://registry.npmmirror.com/remark-stringify/-/remark-stringify-11.0.0.tgz#4c5b01dd711c269df1aaae11743eb7e2e7636fd3" + integrity sha512-1OSmLd3awB/t8qdoEOMazZkNsfVTeY4fTsgzcQFdXNq8ToTN4ZGwrMnlda4K6smTFKD+GRV6O48i6Z4iKgPPpw== + dependencies: + "@types/mdast" "^4.0.0" + mdast-util-to-markdown "^2.0.0" + unified "^11.0.0" + +renderkid@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/renderkid/-/renderkid-3.0.0.tgz#5fd823e4d6951d37358ecc9a58b1f06836b6268a" + integrity sha512-q/7VIQA8lmM1hF+jn+sFSPWGlMkSAeNYcPLmDQx2zzuiDfaLrOmumR8iaUKlenFgh0XRPIUeSPlH3A+AW3Z5pg== + dependencies: + css-select "^4.1.3" + dom-converter "^0.2.0" + htmlparser2 "^6.1.0" + lodash "^4.17.21" + strip-ansi "^6.0.1" + +require-from-string@^2.0.2: + version "2.0.2" + resolved "https://registry.npmmirror.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909" + integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw== + +"require-like@>= 0.1.1": + version "0.1.2" + resolved "https://registry.npmmirror.com/require-like/-/require-like-0.1.2.tgz#ad6f30c13becd797010c468afa775c0c0a6b47fa" + integrity sha512-oyrU88skkMtDdauHDuKVrgR+zuItqr6/c//FXzvmxRGMexSDc6hNvJInGW3LL46n+8b50RykrvwSUIIQH2LQ5A== + +requires-port@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" + integrity sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ== + +resolve-alpn@^1.2.0: + version "1.2.1" + resolved "https://registry.npmmirror.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9" + integrity sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g== + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve-pathname@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/resolve-pathname/-/resolve-pathname-3.0.0.tgz#99d02224d3cf263689becbb393bc560313025dcd" + integrity sha512-C7rARubxI8bXFNB/hqcp/4iUeIXJhJZvFPFPiSPRnhU5UPxzMFIl+2E6yY6c4k9giDJAhtV+enfA+G89N6Csng== + +resolve@^1.1.6, resolve@^1.14.2: + version "1.22.8" + resolved "https://registry.npmmirror.com/resolve/-/resolve-1.22.8.tgz#b6c87a9f2aa06dfab52e3d70ac8cde321fa5a48d" + integrity sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw== + dependencies: + is-core-module "^2.13.0" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +responselike@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/responselike/-/responselike-3.0.0.tgz#20decb6c298aff0dbee1c355ca95461d42823626" + integrity sha512-40yHxbNcl2+rzXvZuVkrYohathsSJlMTXKryG5y8uciHv1+xDLHQpgjG64JUO9nrEq2jGLH6IZ8BcZyw3wrweg== + dependencies: + lowercase-keys "^3.0.0" + +retry@^0.13.1: + version "0.13.1" + resolved "https://registry.npmmirror.com/retry/-/retry-0.13.1.tgz#185b1587acf67919d63b357349e03537b2484658" + integrity sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg== + +reusify@^1.0.4: + version "1.0.4" + resolved "https://registry.npmmirror.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" + integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== + +rimraf@^3.0.2: + version "3.0.2" + resolved "https://registry.npmmirror.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" + integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== + dependencies: + glob "^7.1.3" + +rtl-detect@^1.0.4: + version "1.1.2" + resolved "https://registry.npmmirror.com/rtl-detect/-/rtl-detect-1.1.2.tgz#ca7f0330af5c6bb626c15675c642ba85ad6273c6" + integrity sha512-PGMBq03+TTG/p/cRB7HCLKJ1MgDIi07+QU1faSjiYRfmY5UsAttV9Hs08jDAHVwcOwmVLcSJkpwyfXszVjWfIQ== + +rtlcss@^4.1.0: + version "4.1.1" + resolved "https://registry.npmmirror.com/rtlcss/-/rtlcss-4.1.1.tgz#f20409fcc197e47d1925996372be196fee900c0c" + integrity sha512-/oVHgBtnPNcggP2aVXQjSy6N1mMAfHg4GSag0QtZBlD5bdDgAHwr4pydqJGd+SUCu9260+Pjqbjwtvu7EMH1KQ== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + postcss "^8.4.21" + strip-json-comments "^3.1.1" + +run-parallel@^1.1.9: + version "1.2.0" + resolved "https://registry.npmmirror.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" + integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== + dependencies: + queue-microtask "^1.2.2" + +safe-buffer@5.1.2, safe-buffer@~5.1.0, safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== + +safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.1.0, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.npmmirror.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +"safer-buffer@>= 2.1.2 < 3": + version "2.1.2" + resolved "https://registry.npmmirror.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + +sax@^1.2.4: + version "1.3.0" + resolved "https://registry.npmmirror.com/sax/-/sax-1.3.0.tgz#a5dbe77db3be05c9d1ee7785dbd3ea9de51593d0" + integrity sha512-0s+oAmw9zLl1V1cS9BtZN7JAd0cW5e0QH4W3LWEK6a4LaLEA2OTpGYWDY+6XasBLtz6wkm3u1xRw95mRuJ59WA== + +scheduler@^0.23.0: + version "0.23.0" + resolved "https://registry.npmmirror.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" + integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== + dependencies: + loose-envify "^1.1.0" + +schema-utils@2.7.0: + version "2.7.0" + resolved "https://registry.npmmirror.com/schema-utils/-/schema-utils-2.7.0.tgz#17151f76d8eae67fbbf77960c33c676ad9f4efc7" + integrity sha512-0ilKFI6QQF5nxDZLFn2dMjvc4hjg/Wkg7rHd3jK6/A4a1Hl9VFdQWvgB1UMGoU94pad1P/8N7fMcEnLnSiju8A== + dependencies: + "@types/json-schema" "^7.0.4" + ajv "^6.12.2" + ajv-keywords "^3.4.1" + +schema-utils@^3.0.0, schema-utils@^3.1.1, schema-utils@^3.2.0: + version "3.3.0" + resolved "https://registry.npmmirror.com/schema-utils/-/schema-utils-3.3.0.tgz#f50a88877c3c01652a15b622ae9e9795df7a60fe" + integrity sha512-pN/yOAvcC+5rQ5nERGuwrjLlYvLTbCibnZ1I7B1LaiAz9BRBlE9GMgE/eqV30P7aJQUf7Ddimy/RsbYO/GrVGg== + dependencies: + "@types/json-schema" "^7.0.8" + ajv "^6.12.5" + ajv-keywords "^3.5.2" + +schema-utils@^4.0.0: + version "4.2.0" + resolved "https://registry.npmmirror.com/schema-utils/-/schema-utils-4.2.0.tgz#70d7c93e153a273a805801882ebd3bff20d89c8b" + integrity sha512-L0jRsrPpjdckP3oPug3/VxNKt2trR8TcabrM6FOAAlvC/9Phcmm+cuAgTlxBqdBR1WJx7Naj9WHw+aOmheSVbw== + dependencies: + "@types/json-schema" "^7.0.9" + ajv "^8.9.0" + ajv-formats "^2.1.1" + ajv-keywords "^5.1.0" + +section-matter@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/section-matter/-/section-matter-1.0.0.tgz#e9041953506780ec01d59f292a19c7b850b84167" + integrity sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA== + dependencies: + extend-shallow "^2.0.1" + kind-of "^6.0.0" + +select-hose@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" + integrity sha512-mEugaLK+YfkijB4fx0e6kImuJdCIt2LxCRcbEYPqRGCs4F2ogyfZU5IAZRdjCP8JPq2AtdNoC/Dux63d9Kiryg== + +selfsigned@^2.1.1: + version "2.4.1" + resolved "https://registry.npmmirror.com/selfsigned/-/selfsigned-2.4.1.tgz#560d90565442a3ed35b674034cec4e95dceb4ae0" + integrity sha512-th5B4L2U+eGLq1TVh7zNRGBapioSORUeymIydxgFpwww9d2qyKvtuPU2jJuHvYAwwqi2Y596QBL3eEqcPEYL8Q== + dependencies: + "@types/node-forge" "^1.3.0" + node-forge "^1" + +semver-diff@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/semver-diff/-/semver-diff-4.0.0.tgz#3afcf5ed6d62259f5c72d0d5d50dffbdc9680df5" + integrity sha512-0Ju4+6A8iOnpL/Thra7dZsSlOHYAHIeMxfhWQRI1/VLcT3WDBZKKtQt/QkBOsiIN9ZpuvHE6cGZ0x4glCMmfiA== + dependencies: + semver "^7.3.5" + +semver@^6.3.1: + version "6.3.1" + resolved "https://registry.npmmirror.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" + integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== + +semver@^7.3.2, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.4: + version "7.5.4" + resolved "https://registry.npmmirror.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" + integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== + dependencies: + lru-cache "^6.0.0" + +send@0.18.0: + version "0.18.0" + resolved "https://registry.npmmirror.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" + integrity sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg== + dependencies: + debug "2.6.9" + depd "2.0.0" + destroy "1.2.0" + encodeurl "~1.0.2" + escape-html "~1.0.3" + etag "~1.8.1" + fresh "0.5.2" + http-errors "2.0.0" + mime "1.6.0" + ms "2.1.3" + on-finished "2.4.1" + range-parser "~1.2.1" + statuses "2.0.1" + +serialize-javascript@^6.0.0, serialize-javascript@^6.0.1: + version "6.0.1" + resolved "https://registry.npmmirror.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz#b206efb27c3da0b0ab6b52f48d170b7996458e5c" + integrity sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w== + dependencies: + randombytes "^2.1.0" + +serve-handler@^6.1.5: + version "6.1.5" + resolved "https://registry.npmmirror.com/serve-handler/-/serve-handler-6.1.5.tgz#a4a0964f5c55c7e37a02a633232b6f0d6f068375" + integrity sha512-ijPFle6Hwe8zfmBxJdE+5fta53fdIY0lHISJvuikXB3VYFafRjMRpOffSPvCYsbKyBA7pvy9oYr/BT1O3EArlg== + dependencies: + bytes "3.0.0" + content-disposition "0.5.2" + fast-url-parser "1.1.3" + mime-types "2.1.18" + minimatch "3.1.2" + path-is-inside "1.0.2" + path-to-regexp "2.2.1" + range-parser "1.2.0" + +serve-index@^1.9.1: + version "1.9.1" + resolved "https://registry.npmmirror.com/serve-index/-/serve-index-1.9.1.tgz#d3768d69b1e7d82e5ce050fff5b453bea12a9239" + integrity sha512-pXHfKNP4qujrtteMrSBb0rc8HJ9Ms/GrXwcUtUtD5s4ewDJI8bT3Cz2zTVRMKtri49pLx2e0Ya8ziP5Ya2pZZw== + dependencies: + accepts "~1.3.4" + batch "0.6.1" + debug "2.6.9" + escape-html "~1.0.3" + http-errors "~1.6.2" + mime-types "~2.1.17" + parseurl "~1.3.2" + +serve-static@1.15.0: + version "1.15.0" + resolved "https://registry.npmmirror.com/serve-static/-/serve-static-1.15.0.tgz#faaef08cffe0a1a62f60cad0c4e513cff0ac9540" + integrity sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g== + dependencies: + encodeurl "~1.0.2" + escape-html "~1.0.3" + parseurl "~1.3.3" + send "0.18.0" + +set-function-length@^1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/set-function-length/-/set-function-length-1.1.1.tgz#4bc39fafb0307224a33e106a7d35ca1218d659ed" + integrity sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ== + dependencies: + define-data-property "^1.1.1" + get-intrinsic "^1.2.1" + gopd "^1.0.1" + has-property-descriptors "^1.0.0" + +setprototypeof@1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" + integrity sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ== + +setprototypeof@1.2.0: + version "1.2.0" + resolved "https://registry.npmmirror.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" + integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== + +shallow-clone@^3.0.0: + version "3.0.1" + resolved "https://registry.npmmirror.com/shallow-clone/-/shallow-clone-3.0.1.tgz#8f2981ad92531f55035b01fb230769a40e02efa3" + integrity sha512-/6KqX+GVUdqPuPPd2LxDDxzX6CAbjJehAAOKlNpqqUpAqPM6HeL8f+o3a+JsyGjn2lv0WY8UsTgUJjU9Ok55NA== + dependencies: + kind-of "^6.0.2" + +shallowequal@^1.1.0: + version "1.1.0" + resolved "https://registry.npmmirror.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" + integrity sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ== + +shebang-command@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea" + integrity sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA== + dependencies: + shebang-regex "^3.0.0" + +shebang-regex@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" + integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== + +shell-quote@^1.7.3, shell-quote@^1.8.1: + version "1.8.1" + resolved "https://registry.npmmirror.com/shell-quote/-/shell-quote-1.8.1.tgz#6dbf4db75515ad5bac63b4f1894c3a154c766680" + integrity sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA== + +shelljs@^0.8.5: + version "0.8.5" + resolved "https://registry.npmmirror.com/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c" + integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== + dependencies: + glob "^7.0.0" + interpret "^1.0.0" + rechoir "^0.6.2" + +side-channel@^1.0.4: + version "1.0.4" + resolved "https://registry.npmmirror.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" + integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== + dependencies: + call-bind "^1.0.0" + get-intrinsic "^1.0.2" + object-inspect "^1.9.0" + +signal-exit@^3.0.2, signal-exit@^3.0.3: + version "3.0.7" + resolved "https://registry.npmmirror.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + +sirv@^2.0.3: + version "2.0.4" + resolved "https://registry.npmmirror.com/sirv/-/sirv-2.0.4.tgz#5dd9a725c578e34e449f332703eb2a74e46a29b0" + integrity sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ== + dependencies: + "@polka/url" "^1.0.0-next.24" + mrmime "^2.0.0" + totalist "^3.0.0" + +sisteransi@^1.0.5: + version "1.0.5" + resolved "https://registry.npmmirror.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" + integrity sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg== + +sitemap@^7.1.1: + version "7.1.1" + resolved "https://registry.npmmirror.com/sitemap/-/sitemap-7.1.1.tgz#eeed9ad6d95499161a3eadc60f8c6dce4bea2bef" + integrity sha512-mK3aFtjz4VdJN0igpIJrinf3EO8U8mxOPsTBzSsy06UtjZQJ3YY3o3Xa7zSc5nMqcMrRwlChHZ18Kxg0caiPBg== + dependencies: + "@types/node" "^17.0.5" + "@types/sax" "^1.2.1" + arg "^5.0.0" + sax "^1.2.4" + +skin-tone@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/skin-tone/-/skin-tone-2.0.0.tgz#4e3933ab45c0d4f4f781745d64b9f4c208e41237" + integrity sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA== + dependencies: + unicode-emoji-modifier-base "^1.0.0" + +slash@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + +slash@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" + integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== + +sockjs@^0.3.24: + version "0.3.24" + resolved "https://registry.npmmirror.com/sockjs/-/sockjs-0.3.24.tgz#c9bc8995f33a111bea0395ec30aa3206bdb5ccce" + integrity sha512-GJgLTZ7vYb/JtPSSZ10hsOYIvEYsjbNU+zPdIHcUaWVNUEPivzxku31865sSSud0Da0W4lEeOPlmw93zLQchuQ== + dependencies: + faye-websocket "^0.11.3" + uuid "^8.3.2" + websocket-driver "^0.7.4" + +sort-css-media-queries@2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/sort-css-media-queries/-/sort-css-media-queries-2.1.0.tgz#7c85e06f79826baabb232f5560e9745d7a78c4ce" + integrity sha512-IeWvo8NkNiY2vVYdPa27MCQiR0MN0M80johAYFVxWWXQ44KU84WNxjslwBHmc/7ZL2ccwkM7/e6S5aiKZXm7jA== + +source-map-js@^1.0.2: + version "1.0.2" + resolved "https://registry.npmmirror.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map-support@~0.5.20: + version "0.5.21" + resolved "https://registry.npmmirror.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" + integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== + dependencies: + buffer-from "^1.0.0" + source-map "^0.6.0" + +source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0: + version "0.6.1" + resolved "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== + +source-map@^0.7.0: + version "0.7.4" + resolved "https://registry.npmmirror.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" + integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== + +space-separated-tokens@^2.0.0: + version "2.0.2" + resolved "https://registry.npmmirror.com/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz#1ecd9d2350a3844572c3f4a312bceb018348859f" + integrity sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q== + +spdy-transport@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/spdy-transport/-/spdy-transport-3.0.0.tgz#00d4863a6400ad75df93361a1608605e5dcdcf31" + integrity sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw== + dependencies: + debug "^4.1.0" + detect-node "^2.0.4" + hpack.js "^2.1.6" + obuf "^1.1.2" + readable-stream "^3.0.6" + wbuf "^1.7.3" + +spdy@^4.0.2: + version "4.0.2" + resolved "https://registry.npmmirror.com/spdy/-/spdy-4.0.2.tgz#b74f466203a3eda452c02492b91fb9e84a27677b" + integrity sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA== + dependencies: + debug "^4.1.0" + handle-thing "^2.0.0" + http-deceiver "^1.2.7" + select-hose "^2.0.0" + spdy-transport "^3.0.0" + +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.npmmirror.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + integrity sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g== + +srcset@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/srcset/-/srcset-4.0.0.tgz#336816b665b14cd013ba545b6fe62357f86e65f4" + integrity sha512-wvLeHgcVHKO8Sc/H/5lkGreJQVeYMm9rlmt8PuR1xE31rIuXhuzznUUqAt8MqLhB3MqJdFzlNAfpcWnxiFUcPw== + +stable@^0.1.8: + version "0.1.8" + resolved "https://registry.npmmirror.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" + integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== + +statuses@2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" + integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== + +"statuses@>= 1.4.0 < 2": + version "1.5.0" + resolved "https://registry.npmmirror.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" + integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== + +std-env@^3.0.1: + version "3.7.0" + resolved "https://registry.npmmirror.com/std-env/-/std-env-3.7.0.tgz#c9f7386ced6ecf13360b6c6c55b8aaa4ef7481d2" + integrity sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg== + +string-width@^4.1.0, string-width@^4.2.0: + version "4.2.3" + resolved "https://registry.npmmirror.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string-width@^5.0.1, string-width@^5.1.2: + version "5.1.2" + resolved "https://registry.npmmirror.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== + dependencies: + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +string_decoder@~1.1.1: + version "1.1.1" + resolved "https://registry.npmmirror.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" + integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== + dependencies: + safe-buffer "~5.1.0" + +stringify-entities@^4.0.0: + version "4.0.3" + resolved "https://registry.npmmirror.com/stringify-entities/-/stringify-entities-4.0.3.tgz#cfabd7039d22ad30f3cc435b0ca2c1574fc88ef8" + integrity sha512-BP9nNHMhhfcMbiuQKCqMjhDP5yBCAxsPu4pHFFzJ6Alo9dZgY4VLDPutXqIjpRiMoKdp7Av85Gr73Q5uH9k7+g== + dependencies: + character-entities-html4 "^2.0.0" + character-entities-legacy "^3.0.0" + +stringify-object@^3.3.0: + version "3.3.0" + resolved "https://registry.npmmirror.com/stringify-object/-/stringify-object-3.3.0.tgz#703065aefca19300d3ce88af4f5b3956d7556629" + integrity sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw== + dependencies: + get-own-enumerable-property-symbols "^3.0.0" + is-obj "^1.0.1" + is-regexp "^1.0.0" + +strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-ansi@^7.0.1: + version "7.1.0" + resolved "https://registry.npmmirror.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" + integrity sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ== + dependencies: + ansi-regex "^6.0.1" + +strip-bom-string@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/strip-bom-string/-/strip-bom-string-1.0.0.tgz#e5211e9224369fbb81d633a2f00044dc8cedad92" + integrity sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g== + +strip-final-newline@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" + integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== + +strip-json-comments@^3.1.1: + version "3.1.1" + resolved "https://registry.npmmirror.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== + +strip-json-comments@~2.0.1: + version "2.0.1" + resolved "https://registry.npmmirror.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" + integrity sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ== + +style-to-object@^0.4.0: + version "0.4.4" + resolved "https://registry.npmmirror.com/style-to-object/-/style-to-object-0.4.4.tgz#266e3dfd56391a7eefb7770423612d043c3f33ec" + integrity sha512-HYNoHZa2GorYNyqiCaBgsxvcJIn7OHq6inEga+E6Ke3m5JkoqpQbnFssk4jwe+K7AhGa2fcha4wSOf1Kn01dMg== + dependencies: + inline-style-parser "0.1.1" + +style-to-object@^1.0.0: + version "1.0.5" + resolved "https://registry.npmmirror.com/style-to-object/-/style-to-object-1.0.5.tgz#5e918349bc3a39eee3a804497d97fcbbf2f0d7c0" + integrity sha512-rDRwHtoDD3UMMrmZ6BzOW0naTjMsVZLIjsGleSKS/0Oz+cgCfAPRspaqJuE8rDzpKha/nEvnM0IF4seEAZUTKQ== + dependencies: + inline-style-parser "0.2.2" + +stylehacks@^5.1.1: + version "5.1.1" + resolved "https://registry.npmmirror.com/stylehacks/-/stylehacks-5.1.1.tgz#7934a34eb59d7152149fa69d6e9e56f2fc34bcc9" + integrity sha512-sBpcd5Hx7G6seo7b1LkpttvTz7ikD0LlH5RmdcBNb6fFR0Fl7LQwHDFr300q4cwUqi+IYrFGmsIHieMBfnN/Bw== + dependencies: + browserslist "^4.21.4" + postcss-selector-parser "^6.0.4" + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.npmmirror.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.npmmirror.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-color@^8.0.0: + version "8.1.1" + resolved "https://registry.npmmirror.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" + integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== + dependencies: + has-flag "^4.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +svg-parser@^2.0.4: + version "2.0.4" + resolved "https://registry.npmmirror.com/svg-parser/-/svg-parser-2.0.4.tgz#fdc2e29e13951736140b76cb122c8ee6630eb6b5" + integrity sha512-e4hG1hRwoOdRb37cIMSgzNsxyzKfayW6VOflrwvR+/bzrkyxY/31WkbgnQpgtrNp1SdpJvpUAGTa/ZoiPNDuRQ== + +svgo@^2.7.0, svgo@^2.8.0: + version "2.8.0" + resolved "https://registry.npmmirror.com/svgo/-/svgo-2.8.0.tgz#4ff80cce6710dc2795f0c7c74101e6764cfccd24" + integrity sha512-+N/Q9kV1+F+UeWYoSiULYo4xYSDQlTgb+ayMobAXPwMnLvop7oxKMo9OzIrX5x3eS4L4f2UHhc9axXwY8DpChg== + dependencies: + "@trysound/sax" "0.2.0" + commander "^7.2.0" + css-select "^4.1.3" + css-tree "^1.1.3" + csso "^4.2.0" + picocolors "^1.0.0" + stable "^0.1.8" + +tapable@^1.0.0: + version "1.1.3" + resolved "https://registry.npmmirror.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" + integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== + +tapable@^2.0.0, tapable@^2.1.1, tapable@^2.2.0: + version "2.2.1" + resolved "https://registry.npmmirror.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" + integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== + +terser-webpack-plugin@^5.3.7, terser-webpack-plugin@^5.3.9: + version "5.3.9" + resolved "https://registry.npmmirror.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz#832536999c51b46d468067f9e37662a3b96adfe1" + integrity sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA== + dependencies: + "@jridgewell/trace-mapping" "^0.3.17" + jest-worker "^27.4.5" + schema-utils "^3.1.1" + serialize-javascript "^6.0.1" + terser "^5.16.8" + +terser@^5.10.0, terser@^5.15.1, terser@^5.16.8: + version "5.26.0" + resolved "https://registry.npmmirror.com/terser/-/terser-5.26.0.tgz#ee9f05d929f4189a9c28a0feb889d96d50126fe1" + integrity sha512-dytTGoE2oHgbNV9nTzgBEPaqAWvcJNl66VZ0BkJqlvp71IjO8CxdBx/ykCNb47cLnCmCvRZ6ZR0tLkqvZCdVBQ== + dependencies: + "@jridgewell/source-map" "^0.3.3" + acorn "^8.8.2" + commander "^2.20.0" + source-map-support "~0.5.20" + +text-table@^0.2.0: + version "0.2.0" + resolved "https://registry.npmmirror.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" + integrity sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw== + +thunky@^1.0.2: + version "1.1.0" + resolved "https://registry.npmmirror.com/thunky/-/thunky-1.1.0.tgz#5abaf714a9405db0504732bbccd2cedd9ef9537d" + integrity sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA== + +tiny-invariant@^1.0.2: + version "1.3.1" + resolved "https://registry.npmmirror.com/tiny-invariant/-/tiny-invariant-1.3.1.tgz#8560808c916ef02ecfd55e66090df23a4b7aa642" + integrity sha512-AD5ih2NlSssTCwsMznbvwMZpJ1cbhkGd2uueNxzv2jDlEeZdU04JQfRnggJQ8DrcVBGjAsCKwFBbDlVNtEMlzw== + +tiny-warning@^1.0.0: + version "1.0.3" + resolved "https://registry.npmmirror.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754" + integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA== + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog== + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.npmmirror.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +toidentifier@1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" + integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== + +totalist@^3.0.0: + version "3.0.1" + resolved "https://registry.npmmirror.com/totalist/-/totalist-3.0.1.tgz#ba3a3d600c915b1a97872348f79c127475f6acf8" + integrity sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ== + +trim-lines@^3.0.0: + version "3.0.1" + resolved "https://registry.npmmirror.com/trim-lines/-/trim-lines-3.0.1.tgz#d802e332a07df861c48802c04321017b1bd87338" + integrity sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg== + +trough@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/trough/-/trough-2.1.0.tgz#0f7b511a4fde65a46f18477ab38849b22c554876" + integrity sha512-AqTiAOLcj85xS7vQ8QkAV41hPDIJ71XJB4RCUrzo/1GM2CQwhkJGaf9Hgr7BOugMRpgGUrqRg/DrBDl4H40+8g== + +tslib@^2.0.3, tslib@^2.6.0: + version "2.6.2" + resolved "https://registry.npmmirror.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== + +type-fest@^1.0.1: + version "1.4.0" + resolved "https://registry.npmmirror.com/type-fest/-/type-fest-1.4.0.tgz#e9fb813fe3bf1744ec359d55d1affefa76f14be1" + integrity sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA== + +type-fest@^2.13.0, type-fest@^2.5.0: + version "2.19.0" + resolved "https://registry.npmmirror.com/type-fest/-/type-fest-2.19.0.tgz#88068015bb33036a598b952e55e9311a60fd3a9b" + integrity sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA== + +type-is@~1.6.18: + version "1.6.18" + resolved "https://registry.npmmirror.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" + integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== + dependencies: + media-typer "0.3.0" + mime-types "~2.1.24" + +typedarray-to-buffer@^3.1.5: + version "3.1.5" + resolved "https://registry.npmmirror.com/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz#a97ee7a9ff42691b9f783ff1bc5112fe3fca9080" + integrity sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q== + dependencies: + is-typedarray "^1.0.0" + +undici-types@~5.26.4: + version "5.26.5" + resolved "https://registry.npmmirror.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" + integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== + +unicode-canonical-property-names-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" + integrity sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ== + +unicode-emoji-modifier-base@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/unicode-emoji-modifier-base/-/unicode-emoji-modifier-base-1.0.0.tgz#dbbd5b54ba30f287e2a8d5a249da6c0cef369459" + integrity sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g== + +unicode-match-property-ecmascript@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz#54fd16e0ecb167cf04cf1f756bdcc92eba7976c3" + integrity sha512-5kaZCrbp5mmbz5ulBkDkbY0SsPOjKqVS35VpL9ulMPfSl0J0Xsm+9Evphv9CoIZFwre7aJoa94AY6seMKGVN5Q== + dependencies: + unicode-canonical-property-names-ecmascript "^2.0.0" + unicode-property-aliases-ecmascript "^2.0.0" + +unicode-match-property-value-ecmascript@^2.1.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-2.1.0.tgz#cb5fffdcd16a05124f5a4b0bf7c3770208acbbe0" + integrity sha512-qxkjQt6qjg/mYscYMC0XKRn3Rh0wFPlfxB0xkt9CfyTvpX1Ra0+rAmdX2QyAobptSEvuy4RtpPRui6XkV+8wjA== + +unicode-property-aliases-ecmascript@^2.0.0: + version "2.1.0" + resolved "https://registry.npmmirror.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-2.1.0.tgz#43d41e3be698bd493ef911077c9b131f827e8ccd" + integrity sha512-6t3foTQI9qne+OZoVQB/8x8rk2k1eVy1gRXhV3oFQ5T6R1dqQ1xtin3XqSlx3+ATBkliTaR/hHyJBm+LVPNM8w== + +unified@^11.0.0, unified@^11.0.3, unified@^11.0.4: + version "11.0.4" + resolved "https://registry.npmmirror.com/unified/-/unified-11.0.4.tgz#f4be0ac0fe4c88cb873687c07c64c49ed5969015" + integrity sha512-apMPnyLjAX+ty4OrNap7yumyVAMlKx5IWU2wlzzUdYJO9A8f1p9m/gywF/GM2ZDFcjQPrx59Mc90KwmxsoklxQ== + dependencies: + "@types/unist" "^3.0.0" + bail "^2.0.0" + devlop "^1.0.0" + extend "^3.0.0" + is-plain-obj "^4.0.0" + trough "^2.0.0" + vfile "^6.0.0" + +unique-string@^3.0.0: + version "3.0.0" + resolved "https://registry.npmmirror.com/unique-string/-/unique-string-3.0.0.tgz#84a1c377aff5fd7a8bc6b55d8244b2bd90d75b9a" + integrity sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ== + dependencies: + crypto-random-string "^4.0.0" + +unist-util-is@^6.0.0: + version "6.0.0" + resolved "https://registry.npmmirror.com/unist-util-is/-/unist-util-is-6.0.0.tgz#b775956486aff107a9ded971d996c173374be424" + integrity sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw== + dependencies: + "@types/unist" "^3.0.0" + +unist-util-position-from-estree@^2.0.0: + version "2.0.0" + resolved "https://registry.npmmirror.com/unist-util-position-from-estree/-/unist-util-position-from-estree-2.0.0.tgz#d94da4df596529d1faa3de506202f0c9a23f2200" + integrity sha512-KaFVRjoqLyF6YXCbVLNad/eS4+OfPQQn2yOd7zF/h5T/CSL2v8NpN6a5TPvtbXthAGw5nG+PuTtq+DdIZr+cRQ== + dependencies: + "@types/unist" "^3.0.0" + +unist-util-position@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/unist-util-position/-/unist-util-position-5.0.0.tgz#678f20ab5ca1207a97d7ea8a388373c9cf896be4" + integrity sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA== + dependencies: + "@types/unist" "^3.0.0" + +unist-util-remove-position@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/unist-util-remove-position/-/unist-util-remove-position-5.0.0.tgz#fea68a25658409c9460408bc6b4991b965b52163" + integrity sha512-Hp5Kh3wLxv0PHj9m2yZhhLt58KzPtEYKQQ4yxfYFEO7EvHwzyDYnduhHnY1mDxoqr7VUwVuHXk9RXKIiYS1N8Q== + dependencies: + "@types/unist" "^3.0.0" + unist-util-visit "^5.0.0" + +unist-util-stringify-position@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz#449c6e21a880e0855bf5aabadeb3a740314abac2" + integrity sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ== + dependencies: + "@types/unist" "^3.0.0" + +unist-util-visit-parents@^6.0.0: + version "6.0.1" + resolved "https://registry.npmmirror.com/unist-util-visit-parents/-/unist-util-visit-parents-6.0.1.tgz#4d5f85755c3b8f0dc69e21eca5d6d82d22162815" + integrity sha512-L/PqWzfTP9lzzEa6CKs0k2nARxTdZduw3zyh8d2NVBnsyvHjSX4TWse388YrrQKbvI8w20fGjGlhgT96WwKykw== + dependencies: + "@types/unist" "^3.0.0" + unist-util-is "^6.0.0" + +unist-util-visit@^5.0.0: + version "5.0.0" + resolved "https://registry.npmmirror.com/unist-util-visit/-/unist-util-visit-5.0.0.tgz#a7de1f31f72ffd3519ea71814cccf5fd6a9217d6" + integrity sha512-MR04uvD+07cwl/yhVuVWAtw+3GOR/knlL55Nd/wAdblk27GCVt3lqpTivy/tkJcZoNPzTwS1Y+KMojlLDhoTzg== + dependencies: + "@types/unist" "^3.0.0" + unist-util-is "^6.0.0" + unist-util-visit-parents "^6.0.0" + +universalify@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/universalify/-/universalify-2.0.1.tgz#168efc2180964e6386d061e094df61afe239b18d" + integrity sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw== + +unpipe@1.0.0, unpipe@~1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" + integrity sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ== + +update-browserslist-db@^1.0.13: + version "1.0.13" + resolved "https://registry.npmmirror.com/update-browserslist-db/-/update-browserslist-db-1.0.13.tgz#3c5e4f5c083661bd38ef64b6328c26ed6c8248c4" + integrity sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg== + dependencies: + escalade "^3.1.1" + picocolors "^1.0.0" + +update-notifier@^6.0.2: + version "6.0.2" + resolved "https://registry.npmmirror.com/update-notifier/-/update-notifier-6.0.2.tgz#a6990253dfe6d5a02bd04fbb6a61543f55026b60" + integrity sha512-EDxhTEVPZZRLWYcJ4ZXjGFN0oP7qYvbXWzEgRm/Yql4dHX5wDbvh89YHP6PK1lzZJYrMtXUuZZz8XGK+U6U1og== + dependencies: + boxen "^7.0.0" + chalk "^5.0.1" + configstore "^6.0.0" + has-yarn "^3.0.0" + import-lazy "^4.0.0" + is-ci "^3.0.1" + is-installed-globally "^0.4.0" + is-npm "^6.0.0" + is-yarn-global "^0.4.0" + latest-version "^7.0.0" + pupa "^3.1.0" + semver "^7.3.7" + semver-diff "^4.0.0" + xdg-basedir "^5.1.0" + +uri-js@^4.2.2: + version "4.4.1" + resolved "https://registry.npmmirror.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== + dependencies: + punycode "^2.1.0" + +url-loader@^4.1.1: + version "4.1.1" + resolved "https://registry.npmmirror.com/url-loader/-/url-loader-4.1.1.tgz#28505e905cae158cf07c92ca622d7f237e70a4e2" + integrity sha512-3BTV812+AVHHOJQO8O5MkWgZ5aosP7GnROJwvzLS9hWDj00lZ6Z0wNak423Lp9PBZN05N+Jk/N5Si8jRAlGyWA== + dependencies: + loader-utils "^2.0.0" + mime-types "^2.1.27" + schema-utils "^3.0.0" + +util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: + version "1.0.2" + resolved "https://registry.npmmirror.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + integrity sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw== + +utila@~0.4: + version "0.4.0" + resolved "https://registry.npmmirror.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c" + integrity sha512-Z0DbgELS9/L/75wZbro8xAnT50pBVFQZ+hUEueGDU5FN51YSCYM+jdxsfCiHjwNP/4LCDD0i/graKpeBnOXKRA== + +utility-types@^3.10.0: + version "3.10.0" + resolved "https://registry.npmmirror.com/utility-types/-/utility-types-3.10.0.tgz#ea4148f9a741015f05ed74fd615e1d20e6bed82b" + integrity sha512-O11mqxmi7wMKCo6HKFt5AhO4BwY3VV68YU07tgxfz8zJTIxr4BpsezN49Ffwy9j3ZpwwJp4fkRwjRzq3uWE6Rg== + +utils-merge@1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" + integrity sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA== + +uuid@^8.3.2: + version "8.3.2" + resolved "https://registry.npmmirror.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" + integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== + +value-equal@^1.0.1: + version "1.0.1" + resolved "https://registry.npmmirror.com/value-equal/-/value-equal-1.0.1.tgz#1e0b794c734c5c0cade179c437d356d931a34d6c" + integrity sha512-NOJ6JZCAWr0zlxZt+xqCHNTEKOsrks2HQd4MqhP1qy4z1SkbEP467eNx6TgDKXMvUOb+OENfJCZwM+16n7fRfw== + +vary@~1.1.2: + version "1.1.2" + resolved "https://registry.npmmirror.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" + integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== + +vfile-location@^5.0.0: + version "5.0.2" + resolved "https://registry.npmmirror.com/vfile-location/-/vfile-location-5.0.2.tgz#220d9ca1ab6f8b2504a4db398f7ebc149f9cb464" + integrity sha512-NXPYyxyBSH7zB5U6+3uDdd6Nybz6o6/od9rk8bp9H8GR3L+cm/fC0uUTbqBmUTnMCUDslAGBOIKNfvvb+gGlDg== + dependencies: + "@types/unist" "^3.0.0" + vfile "^6.0.0" + +vfile-message@^4.0.0: + version "4.0.2" + resolved "https://registry.npmmirror.com/vfile-message/-/vfile-message-4.0.2.tgz#c883c9f677c72c166362fd635f21fc165a7d1181" + integrity sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw== + dependencies: + "@types/unist" "^3.0.0" + unist-util-stringify-position "^4.0.0" + +vfile@^6.0.0, vfile@^6.0.1: + version "6.0.1" + resolved "https://registry.npmmirror.com/vfile/-/vfile-6.0.1.tgz#1e8327f41eac91947d4fe9d237a2dd9209762536" + integrity sha512-1bYqc7pt6NIADBJ98UiG0Bn/CHIVOoZ/IyEkqIruLg0mE1BKzkOXY2D6CSqQIcKqgadppE5lrxgWXJmXd7zZJw== + dependencies: + "@types/unist" "^3.0.0" + unist-util-stringify-position "^4.0.0" + vfile-message "^4.0.0" + +watchpack@^2.4.0: + version "2.4.0" + resolved "https://registry.npmmirror.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d" + integrity sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg== + dependencies: + glob-to-regexp "^0.4.1" + graceful-fs "^4.1.2" + +wbuf@^1.1.0, wbuf@^1.7.3: + version "1.7.3" + resolved "https://registry.npmmirror.com/wbuf/-/wbuf-1.7.3.tgz#c1d8d149316d3ea852848895cb6a0bfe887b87df" + integrity sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA== + dependencies: + minimalistic-assert "^1.0.0" + +web-namespaces@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/web-namespaces/-/web-namespaces-2.0.1.tgz#1010ff7c650eccb2592cebeeaf9a1b253fd40692" + integrity sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ== + +webpack-bundle-analyzer@^4.9.0: + version "4.10.1" + resolved "https://registry.npmmirror.com/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.10.1.tgz#84b7473b630a7b8c21c741f81d8fe4593208b454" + integrity sha512-s3P7pgexgT/HTUSYgxJyn28A+99mmLq4HsJepMPzu0R8ImJc52QNqaFYW1Z2z2uIb1/J3eYgaAWVpaC+v/1aAQ== + dependencies: + "@discoveryjs/json-ext" "0.5.7" + acorn "^8.0.4" + acorn-walk "^8.0.0" + commander "^7.2.0" + debounce "^1.2.1" + escape-string-regexp "^4.0.0" + gzip-size "^6.0.0" + html-escaper "^2.0.2" + is-plain-object "^5.0.0" + opener "^1.5.2" + picocolors "^1.0.0" + sirv "^2.0.3" + ws "^7.3.1" + +webpack-dev-middleware@^5.3.1: + version "5.3.3" + resolved "https://registry.npmmirror.com/webpack-dev-middleware/-/webpack-dev-middleware-5.3.3.tgz#efae67c2793908e7311f1d9b06f2a08dcc97e51f" + integrity sha512-hj5CYrY0bZLB+eTO+x/j67Pkrquiy7kWepMHmUMoPsmcUaeEnQJqFzHJOyxgWlq746/wUuA64p9ta34Kyb01pA== + dependencies: + colorette "^2.0.10" + memfs "^3.4.3" + mime-types "^2.1.31" + range-parser "^1.2.1" + schema-utils "^4.0.0" + +webpack-dev-server@^4.15.1: + version "4.15.1" + resolved "https://registry.npmmirror.com/webpack-dev-server/-/webpack-dev-server-4.15.1.tgz#8944b29c12760b3a45bdaa70799b17cb91b03df7" + integrity sha512-5hbAst3h3C3L8w6W4P96L5vaV0PxSmJhxZvWKYIdgxOQm8pNZ5dEOmmSLBVpP85ReeyRt6AS1QJNyo/oFFPeVA== + dependencies: + "@types/bonjour" "^3.5.9" + "@types/connect-history-api-fallback" "^1.3.5" + "@types/express" "^4.17.13" + "@types/serve-index" "^1.9.1" + "@types/serve-static" "^1.13.10" + "@types/sockjs" "^0.3.33" + "@types/ws" "^8.5.5" + ansi-html-community "^0.0.8" + bonjour-service "^1.0.11" + chokidar "^3.5.3" + colorette "^2.0.10" + compression "^1.7.4" + connect-history-api-fallback "^2.0.0" + default-gateway "^6.0.3" + express "^4.17.3" + graceful-fs "^4.2.6" + html-entities "^2.3.2" + http-proxy-middleware "^2.0.3" + ipaddr.js "^2.0.1" + launch-editor "^2.6.0" + open "^8.0.9" + p-retry "^4.5.0" + rimraf "^3.0.2" + schema-utils "^4.0.0" + selfsigned "^2.1.1" + serve-index "^1.9.1" + sockjs "^0.3.24" + spdy "^4.0.2" + webpack-dev-middleware "^5.3.1" + ws "^8.13.0" + +webpack-merge@^5.9.0: + version "5.10.0" + resolved "https://registry.npmmirror.com/webpack-merge/-/webpack-merge-5.10.0.tgz#a3ad5d773241e9c682803abf628d4cd62b8a4177" + integrity sha512-+4zXKdx7UnO+1jaN4l2lHVD+mFvnlZQP/6ljaJVb4SZiwIKeUnrT5l0gkT8z+n4hKpC+jpOv6O9R+gLtag7pSA== + dependencies: + clone-deep "^4.0.1" + flat "^5.0.2" + wildcard "^2.0.0" + +webpack-sources@^3.2.2, webpack-sources@^3.2.3: + version "3.2.3" + resolved "https://registry.npmmirror.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" + integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== + +webpack@^5.88.1: + version "5.89.0" + resolved "https://registry.npmmirror.com/webpack/-/webpack-5.89.0.tgz#56b8bf9a34356e93a6625770006490bf3a7f32dc" + integrity sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw== + dependencies: + "@types/eslint-scope" "^3.7.3" + "@types/estree" "^1.0.0" + "@webassemblyjs/ast" "^1.11.5" + "@webassemblyjs/wasm-edit" "^1.11.5" + "@webassemblyjs/wasm-parser" "^1.11.5" + acorn "^8.7.1" + acorn-import-assertions "^1.9.0" + browserslist "^4.14.5" + chrome-trace-event "^1.0.2" + enhanced-resolve "^5.15.0" + es-module-lexer "^1.2.1" + eslint-scope "5.1.1" + events "^3.2.0" + glob-to-regexp "^0.4.1" + graceful-fs "^4.2.9" + json-parse-even-better-errors "^2.3.1" + loader-runner "^4.2.0" + mime-types "^2.1.27" + neo-async "^2.6.2" + schema-utils "^3.2.0" + tapable "^2.1.1" + terser-webpack-plugin "^5.3.7" + watchpack "^2.4.0" + webpack-sources "^3.2.3" + +webpackbar@^5.0.2: + version "5.0.2" + resolved "https://registry.npmmirror.com/webpackbar/-/webpackbar-5.0.2.tgz#d3dd466211c73852741dfc842b7556dcbc2b0570" + integrity sha512-BmFJo7veBDgQzfWXl/wwYXr/VFus0614qZ8i9znqcl9fnEdiVkdbi0TedLQ6xAK92HZHDJ0QmyQ0fmuZPAgCYQ== + dependencies: + chalk "^4.1.0" + consola "^2.15.3" + pretty-time "^1.1.0" + std-env "^3.0.1" + +websocket-driver@>=0.5.1, websocket-driver@^0.7.4: + version "0.7.4" + resolved "https://registry.npmmirror.com/websocket-driver/-/websocket-driver-0.7.4.tgz#89ad5295bbf64b480abcba31e4953aca706f5760" + integrity sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg== + dependencies: + http-parser-js ">=0.5.1" + safe-buffer ">=5.1.0" + websocket-extensions ">=0.1.1" + +websocket-extensions@>=0.1.1: + version "0.1.4" + resolved "https://registry.npmmirror.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" + integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== + +which@^1.3.1: + version "1.3.1" + resolved "https://registry.npmmirror.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" + integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== + dependencies: + isexe "^2.0.0" + +which@^2.0.1: + version "2.0.2" + resolved "https://registry.npmmirror.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1" + integrity sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA== + dependencies: + isexe "^2.0.0" + +widest-line@^4.0.1: + version "4.0.1" + resolved "https://registry.npmmirror.com/widest-line/-/widest-line-4.0.1.tgz#a0fc673aaba1ea6f0a0d35b3c2795c9a9cc2ebf2" + integrity sha512-o0cyEG0e8GPzT4iGHphIOh0cJOV8fivsXxddQasHPHfoZf1ZexrfeA21w2NaEN1RHE+fXlfISmOE8R9N3u3Qig== + dependencies: + string-width "^5.0.1" + +wildcard@^2.0.0: + version "2.0.1" + resolved "https://registry.npmmirror.com/wildcard/-/wildcard-2.0.1.tgz#5ab10d02487198954836b6349f74fff961e10f67" + integrity sha512-CC1bOL87PIWSBhDcTrdeLo6eGT7mCFtrg0uIJtqJUFyK+eJnzl8A1niH56uu7KMa5XFrtiV+AQuHO3n7DsHnLQ== + +wrap-ansi@^8.0.1, wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.npmmirror.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== + dependencies: + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" + +wrappy@1: + version "1.0.2" + resolved "https://registry.npmmirror.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + integrity sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ== + +write-file-atomic@^3.0.3: + version "3.0.3" + resolved "https://registry.npmmirror.com/write-file-atomic/-/write-file-atomic-3.0.3.tgz#56bd5c5a5c70481cd19c571bd39ab965a5de56e8" + integrity sha512-AvHcyZ5JnSfq3ioSyjrBkH9yW4m7Ayk8/9My/DD9onKeu/94fwrMocemO2QAJFAlnnDN+ZDS+ZjAR5ua1/PV/Q== + dependencies: + imurmurhash "^0.1.4" + is-typedarray "^1.0.0" + signal-exit "^3.0.2" + typedarray-to-buffer "^3.1.5" + +ws@^7.3.1: + version "7.5.9" + resolved "https://registry.npmmirror.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591" + integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== + +ws@^8.13.0: + version "8.16.0" + resolved "https://registry.npmmirror.com/ws/-/ws-8.16.0.tgz#d1cd774f36fbc07165066a60e40323eab6446fd4" + integrity sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ== + +xdg-basedir@^5.0.1, xdg-basedir@^5.1.0: + version "5.1.0" + resolved "https://registry.npmmirror.com/xdg-basedir/-/xdg-basedir-5.1.0.tgz#1efba19425e73be1bc6f2a6ceb52a3d2c884c0c9" + integrity sha512-GCPAHLvrIH13+c0SuacwvRYj2SxJXQ4kaVTT5xgL3kPrz56XxkF21IGhjSE1+W0aw7gpBWRGXLCPnPby6lSpmQ== + +xml-js@^1.6.11: + version "1.6.11" + resolved "https://registry.npmmirror.com/xml-js/-/xml-js-1.6.11.tgz#927d2f6947f7f1c19a316dd8eea3614e8b18f8e9" + integrity sha512-7rVi2KMfwfWFl+GpPg6m80IVMWXLRjO+PxTq7V2CDhoGak0wzYzFgUY2m4XJ47OGdXd8eLE8EmwfAmdjw7lC1g== + dependencies: + sax "^1.2.4" + +yallist@^3.0.2: + version "3.1.1" + resolved "https://registry.npmmirror.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" + integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g== + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.npmmirror.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yaml@^1.10.0, yaml@^1.10.2, yaml@^1.7.2: + version "1.10.2" + resolved "https://registry.npmmirror.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" + integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg== + +yocto-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.npmmirror.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== + +yocto-queue@^1.0.0: + version "1.0.0" + resolved "https://registry.npmmirror.com/yocto-queue/-/yocto-queue-1.0.0.tgz#7f816433fb2cbc511ec8bf7d263c3b58a1a3c251" + integrity sha512-9bnSc/HEW2uRy67wc+T8UwauLuPJVn28jb+GtJY16iiKWyvmYJRXVT4UamsAEGQfPohgr2q4Tq0sQbQlxTfi1g== + +zwitch@^2.0.0: + version "2.0.4" + resolved "https://registry.npmmirror.com/zwitch/-/zwitch-2.0.4.tgz#c827d4b0acb76fc3e685a4c6ec2902d51070e9d7" + integrity sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==