diff --git a/docs/D213-DevKit/01-BoardIntroduction.md b/docs/D213-DevKit/01-BoardIntroduction.md index 423f810..3dc91e3 100644 --- a/docs/D213-DevKit/01-BoardIntroduction.md +++ b/docs/D213-DevKit/01-BoardIntroduction.md @@ -1,7 +1,7 @@ --- sidebar_position: 1 --- -# T113s工业套件硬件简述 +# 匠心创D213-DevKit开发板 * 此开发板的任何问题都可以在我们的论坛交流讨论 https://forums.100ask.net/c/aw/15 @@ -9,46 +9,11 @@ sidebar_position: 1 东山哪吒STU开发板是一款针对于教育学习专门设计的一系列开发板,分别有 - * 最小主板:只保留一些学习调试最基本接口,做到最具性价比,**仅售149**。 - * 全阵脚引出的DIY底板:主要是供DIY极客爱好者使用,可以自行DIY设计。 **仅售29** - * 专门的配套项目底板:针对于芯片的使用场景设计出专门的项目底板,结合课程学习使用。 **仅售149** - * 配套的邮票孔封装D1s核心板:针对于企业级客户或者做产品的客户使用。 +### ArtD213-Lite核心板 -### 最小主板 -如下图板载资源所示最小主板有: - * 正面:TYPE-C TTL供电与调试接口,直接连接电脑USB接口即可实现 串口调试与供电二合一,无需额外的连接线。 - * 正面:RJ45千兆以太网接口,主要用于网络启动系统下载内核等操作,方便调试开发。 - * 正面:TYPE-C的USB OTG接口,用于烧写系统与作为OTG主从设备使用。 - * 正面:引出 HDMI接口,可用于连接显示器等设备。 - * 背面:TF卡接口,可用于调试与连接TF卡启动系统。 - * 背面:256MB SPI NAND FLASH 芯片。 +### D213-DevKit底板 -![DongshanNezhaSTU-TOP_001](https://photos.100ask.net/dongshanpi-docs/DongshanNezhaSTU/DongshanNezhaSTU-TOP_001.png) +### DongshanPI-Artos底板 -### 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/01-BoardIntroduction.md b/docs/MP135-DevKit/01-BoardIntroduction.md deleted file mode 100644 index 423f810..0000000 --- a/docs/MP135-DevKit/01-BoardIntroduction.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -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 deleted file mode 100644 index 15f91d8..0000000 --- a/docs/MP135-DevKit/06-ConfigHostEnv.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -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 deleted file mode 100644 index 3632234..0000000 --- a/docs/MP135-DevKit/part1/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/MP135-DevKit/part1/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/MP135-DevKit/part1/03-QuickStart.md b/docs/MP135-DevKit/part1/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/MP135-DevKit/part1/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/MP135-DevKit/part1/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index ae53f3e..0000000 --- a/docs/MP135-DevKit/part1/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 3632234..0000000 --- a/docs/MP135-DevKit/part2/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/MP135-DevKit/part2/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/MP135-DevKit/part2/03-QuickStart.md b/docs/MP135-DevKit/part2/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/MP135-DevKit/part2/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/MP135-DevKit/part2/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index fd58a6c..0000000 --- a/docs/MP135-DevKit/part2/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 3632234..0000000 --- a/docs/MP135-DevKit/part3/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/MP135-DevKit/part3/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/MP135-DevKit/part3/03-QuickStart.md b/docs/MP135-DevKit/part3/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/MP135-DevKit/part3/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/MP135-DevKit/part3/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index abfaa56..0000000 --- a/docs/MP135-DevKit/part3/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 3632234..0000000 --- a/docs/MP135-DevKit/part4/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/MP135-DevKit/part4/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/MP135-DevKit/part4/03-QuickStart.md b/docs/MP135-DevKit/part4/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/MP135-DevKit/part4/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/MP135-DevKit/part4/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index 2c85ccd..0000000 --- a/docs/MP135-DevKit/part4/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 3632234..0000000 --- a/docs/MP135-DevKit/part5/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/MP135-DevKit/part5/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/MP135-DevKit/part5/03-QuickStart.md b/docs/MP135-DevKit/part5/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/MP135-DevKit/part5/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/MP135-DevKit/part5/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index a502239..0000000 --- a/docs/MP135-DevKit/part5/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 3632234..0000000 --- a/docs/MP135-DevKit/part6/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/MP135-DevKit/part6/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/MP135-DevKit/part6/03-QuickStart.md b/docs/MP135-DevKit/part6/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/MP135-DevKit/part6/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/MP135-DevKit/part6/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index 7beb0fc..0000000 --- a/docs/MP135-DevKit/part6/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 423f810..0000000 --- a/docs/T113i-Industrial/01-BoardIntroduction.md +++ /dev/null @@ -1,54 +0,0 @@ ---- -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 deleted file mode 100644 index 15f91d8..0000000 --- a/docs/T113i-Industrial/06-ConfigHostEnv.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -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 deleted file mode 100644 index 3632234..0000000 --- a/docs/T113i-Industrial/part1/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/T113i-Industrial/part1/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/T113i-Industrial/part1/03-QuickStart.md b/docs/T113i-Industrial/part1/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/T113i-Industrial/part1/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/T113i-Industrial/part1/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index ae53f3e..0000000 --- a/docs/T113i-Industrial/part1/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 3632234..0000000 --- a/docs/T113i-Industrial/part2/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/T113i-Industrial/part2/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/T113i-Industrial/part2/03-QuickStart.md b/docs/T113i-Industrial/part2/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/T113i-Industrial/part2/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/T113i-Industrial/part2/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index fd58a6c..0000000 --- a/docs/T113i-Industrial/part2/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 3632234..0000000 --- a/docs/T113i-Industrial/part3/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/T113i-Industrial/part3/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/T113i-Industrial/part3/03-QuickStart.md b/docs/T113i-Industrial/part3/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/T113i-Industrial/part3/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/T113i-Industrial/part3/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index abfaa56..0000000 --- a/docs/T113i-Industrial/part3/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 3632234..0000000 --- a/docs/T113i-Industrial/part4/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/T113i-Industrial/part4/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/T113i-Industrial/part4/03-QuickStart.md b/docs/T113i-Industrial/part4/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/T113i-Industrial/part4/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/T113i-Industrial/part4/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index 2c85ccd..0000000 --- a/docs/T113i-Industrial/part4/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 3632234..0000000 --- a/docs/T113i-Industrial/part5/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/T113i-Industrial/part5/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/T113i-Industrial/part5/03-QuickStart.md b/docs/T113i-Industrial/part5/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/T113i-Industrial/part5/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/T113i-Industrial/part5/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index a502239..0000000 --- a/docs/T113i-Industrial/part5/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 3632234..0000000 --- a/docs/T113i-Industrial/part6/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/T113i-Industrial/part6/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/T113i-Industrial/part6/03-QuickStart.md b/docs/T113i-Industrial/part6/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/T113i-Industrial/part6/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/T113i-Industrial/part6/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index 7beb0fc..0000000 --- a/docs/T113i-Industrial/part6/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 234e8b3..0000000 --- a/docs/T113s3-Industrial/01-BoardIntroduction.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -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 deleted file mode 100644 index 0b27119..0000000 --- a/docs/T113s3-Industrial/02-SupportingResources.md +++ /dev/null @@ -1,41 +0,0 @@ ---- -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 deleted file mode 100644 index 0cedfff..0000000 --- a/docs/T113s3-Industrial/06-ConfigHostEnv.md +++ /dev/null @@ -1,85 +0,0 @@ ---- -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 deleted file mode 100644 index 3632234..0000000 --- a/docs/T113s3-Industrial/part1/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/T113s3-Industrial/part1/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/T113s3-Industrial/part1/03-QuickStart.md b/docs/T113s3-Industrial/part1/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/T113s3-Industrial/part1/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/T113s3-Industrial/part1/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index 773d4c2..0000000 --- a/docs/T113s3-Industrial/part1/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 3632234..0000000 --- a/docs/T113s3-Industrial/part2/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/T113s3-Industrial/part2/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/T113s3-Industrial/part2/03-QuickStart.md b/docs/T113s3-Industrial/part2/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/T113s3-Industrial/part2/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/T113s3-Industrial/part2/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index fd58a6c..0000000 --- a/docs/T113s3-Industrial/part2/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 3632234..0000000 --- a/docs/T113s3-Industrial/part3/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/T113s3-Industrial/part3/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/T113s3-Industrial/part3/03-QuickStart.md b/docs/T113s3-Industrial/part3/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/T113s3-Industrial/part3/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/T113s3-Industrial/part3/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index abfaa56..0000000 --- a/docs/T113s3-Industrial/part3/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 3632234..0000000 --- a/docs/T113s3-Industrial/part4/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/T113s3-Industrial/part4/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/T113s3-Industrial/part4/03-QuickStart.md b/docs/T113s3-Industrial/part4/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/T113s3-Industrial/part4/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/T113s3-Industrial/part4/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index 2c85ccd..0000000 --- a/docs/T113s3-Industrial/part4/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 3632234..0000000 --- a/docs/T113s3-Industrial/part5/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/T113s3-Industrial/part5/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/T113s3-Industrial/part5/03-QuickStart.md b/docs/T113s3-Industrial/part5/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/T113s3-Industrial/part5/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/T113s3-Industrial/part5/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index a502239..0000000 --- a/docs/T113s3-Industrial/part5/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "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 deleted file mode 100644 index 3632234..0000000 --- a/docs/T113s3-Industrial/part6/03-1_FlashSystem.md +++ /dev/null @@ -1,615 +0,0 @@ ---- -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 deleted file mode 100644 index f9a95bf..0000000 --- a/docs/T113s3-Industrial/part6/03-2_SomeQustion.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -sidebar_position: 3 ---- -# 常见问题 diff --git a/docs/T113s3-Industrial/part6/03-QuickStart.md b/docs/T113s3-Industrial/part6/03-QuickStart.md deleted file mode 100644 index 93585ff..0000000 --- a/docs/T113s3-Industrial/part6/03-QuickStart.md +++ /dev/null @@ -1,534 +0,0 @@ ---- -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 deleted file mode 100644 index a57fbd0..0000000 --- a/docs/T113s3-Industrial/part6/04-StudyPath.md +++ /dev/null @@ -1,48 +0,0 @@ ---- -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 deleted file mode 100644 index 7beb0fc..0000000 --- a/docs/T113s3-Industrial/part6/_category_.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "label": "Tina-SDK开发", - "position":8, - "link": { - "type": "generated-index", - "description": "5 minutes to learn the most important Docusaurus concepts." - } -} diff --git a/docusaurus.config.js b/docusaurus.config.js index 88a52db..d5a6ad2 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -13,7 +13,7 @@ const config = { favicon: 'img/favicon.ico', // Set the production url of your site here - url: 'https://dongshanpi.100ask.net', + url: 'https://artinchip.100ask.net/', // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' baseUrl: '/', @@ -21,7 +21,7 @@ const config = { // 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. + projectName: 'ArtInChip-Docs', // Usually your repo name. onBrokenLinks: 'warn', onBrokenMarkdownLinks: 'warn', @@ -44,14 +44,14 @@ const config = { // Please change this to your repo. // Remove this to remove the "edit this page" links. editUrl: - 'https://github.com/100askTeam/linuxboard-docs/tree/main/', + 'https://github.com/100askTeam/ArtInChip-Docs/tree/master/', }, 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/', + 'https://github.com/100askTeam/ArtInChip-Docs/tree/master/', }, theme: { customCss: './src/css/custom.css', @@ -72,54 +72,18 @@ const config = { 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', + href: 'https://github.com/100askTeam/ArtInChip-Docs', label: 'GitHub', position: 'right', }, diff --git a/sidebars.js b/sidebars.js index ffd775d..52f9271 100644 --- a/sidebars.js +++ b/sidebars.js @@ -14,14 +14,7 @@ /** @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'}], - + d213dkSidebar: [{type: 'autogenerated', dirName: 'D213-DevKit'}], }; export default sidebars;