6c3ea5db13fe84311f3d4fdd5c86b24cec3a0725
Chip-cn-dat/Espressif-dat/ESP32-P4-dat/ESP32-P4-dat.md
| ... | ... | @@ -1,6 +1,11 @@ |
| 1 | 1 | |
| 2 | 2 | # ESP32-P4-dat |
| 3 | 3 | |
| 4 | +- [[ESP32-P4-SDK-dat]] - [[SDK-dat]] |
|
| 5 | + |
|
| 6 | +## info |
|
| 7 | + |
|
| 8 | + |
|
| 4 | 9 | The ESP32-P4 is a high-performance microcontroller in Espressif's ESP32 series, aimed at advanced applications that require robust processing power and efficient communication. Here are its most significant features: |
| 5 | 10 | |
| 6 | 11 | ### **1. High-Performance Processor** |
| ... | ... | @@ -41,4 +46,26 @@ The ESP32-P4 is a high-performance microcontroller in Espressif's ESP32 series, |
| 41 | 46 | - Ideal for industrial automation, robotics, motor control, edge computing, and AI/ML applications. |
| 42 | 47 | - Works as a companion processor to wireless-enabled ESP32 devices for offloading compute-heavy tasks. |
| 43 | 48 | |
| 44 | -The ESP32-P4’s performance-oriented design sets it apart, catering to applications where processing power and versatile peripherals are more critical than wireless connectivity. |
|
| ... | ... | \ No newline at end of file |
| 0 | +The ESP32-P4’s performance-oriented design sets it apart, catering to applications where processing power and versatile peripherals are more critical than wireless connectivity. |
|
| 1 | + |
|
| 2 | + |
|
| 3 | +## review 1 |
|
| 4 | + |
|
| 5 | +Personal impressions: |
|
| 6 | + |
|
| 7 | +- This chip is neither outstanding nor lacking—somewhere in the middle. |
|
| 8 | +- MIPI only supports 2 lanes. |
|
| 9 | +- For Wi-Fi, you need to add a C6 module. |
|
| 10 | +- Currently does not support Arduino. |
|
| 11 | + |
|
| 12 | +Advantages: |
|
| 13 | + |
|
| 14 | +- Mainly depends on future ecosystem development. |
|
| 15 | +- Currently, there are quite a few comprehensive ESP-IDF examples, but individual module tests are still relatively few. |
|
| 16 | + |
|
| 17 | + |
|
| 18 | +## ref |
|
| 19 | + |
|
| 20 | +- [[ESP32-P4]] - [[ESPressif]] |
|
| 21 | + |
|
| 22 | +- [[esp-dat]] |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/allwinner-dat/D1-S-dat/D1-S-dat.md
| ... | ... | @@ -25,70 +25,6 @@ https://d1s.docs.aw-ol.com/ |
| 25 | 25 | - [[sunxi-tools-dat]] |
| 26 | 26 | |
| 27 | 27 | |
| 28 | -## flash |
|
| 29 | - |
|
| 30 | -### 操作步骤 |
|
| 31 | - |
|
| 32 | -1. 将所有文件拷贝到 Ubuntu系统的 ~ 目录下 |
|
| 33 | - |
|
| 34 | -2. 执行如下解压缩命令,等待解压缩 完成 |
|
| 35 | - |
|
| 36 | -> cat tina-d1-h.tar.bz2.* | tar -jxv |
|
| 37 | -> |
|
| 38 | -1. 解压缩完成后 继续参考 http://riscv64.dongshanpi.com/ 页面 Tina-SDK-V2.0相关资料 |
|
| 39 | - |
|
| 40 | -### 所有文件MD5校验值 |
|
| 41 | - |
|
| 42 | -> Ubuntu下输入 md5sum tina-d1-h.tar.bz2.* 查看 |
|
| 43 | - |
|
| 44 | -e755bae00cd76afc3fb276b4e3fd86ba tina-d1-h.tar.bz2.00 |
|
| 45 | -cb60ecfdb51c624ff3cbd7b24552866f tina-d1-h.tar.bz2.01 |
|
| 46 | -54e56a4cf1cef46ca0a94b85ea1d33a1 tina-d1-h.tar.bz2.02 |
|
| 47 | -4988fa08827c0f7af2dc170145e24b26 tina-d1-h.tar.bz2.03 |
|
| 48 | -a0463bcf8e73db27b5ecafaac593a919 tina-d1-h.tar.bz2.04 |
|
| 49 | -a87382ca16a8c12b3a94f1cad99ce77e tina-d1-h.tar.bz2.05 |
|
| 50 | -5973530baa3b282108351818641c27fd tina-d1-h.tar.bz2.06 |
|
| 51 | -ccd63e1d16534b364a101d2d44416261 tina-d1-h.tar.bz2.07 |
|
| 52 | -e0d72713565f4424ea43c07e15a38139 tina-d1-h.tar.bz2.08 |
|
| 53 | - |
|
| 54 | - |
|
| 55 | -### system image and SDK |
|
| 56 | - |
|
| 57 | -- contact and find in our google drive |
|
| 58 | - |
|
| 59 | -### Flash |
|
| 60 | - |
|
| 61 | -Allwinner Official Tools |
|
| 62 | -- Allwinner system TF card flashing tool: PhoenixCardv4.2.7.7z.7z |
|
| 63 | -- Allwinner system OTG flashing tool: AllwinnertechPhoeniSuitRelease20201225.zip.zip |
|
| 64 | -Community version flashing tools |
|
| 65 | -- Complete TF card flashing tool: win32diskimager-1.0.0-install.exe |
|
| 66 | -- TF card formatting tool: SDCardFormatterv5_WinEN.zip |
|
| 67 | - |
|
| 68 | -### Flashing Allwinner D1 System Image to TF Card (Tutorial) |
|
| 69 | - |
|
| 70 | -#### Step 1: Format the TF Card |
|
| 71 | - |
|
| 72 | -1. Insert the TF card into a card reader, then connect the reader to your computer's USB port. |
|
| 73 | -2. Use the SD Card Formatter tool to format the TF card. **Backup any important data before formatting.** |
|
| 74 | -3. In the SD Card Formatter interface: |
|
| 75 | - - Click "Refresh" to detect your TF card. |
|
| 76 | - - Select your TF card from the list. |
|
| 77 | - - Click "Format" and confirm by clicking **Yes** in the dialog. |
|
| 78 | - - Wait for the formatting process to complete. |
|
| 79 | - |
|
| 80 | - |
|
| 81 | - |
|
| 82 | -#### Step 2: Burn the System Image |
|
| 83 | - |
|
| 84 | -1. After formatting, open the **PhoenixCard.exe** tool. |
|
| 85 | -2. In PhoenixCard: |
|
| 86 | - - Find and select your TF card drive letter. |
|
| 87 | - - Click the "Firmware" button (red box 1) and choose the extracted `tina_d1s-nezha_sd_uart0.img` image file. |
|
| 88 | - - Click "Startup Card" (red box 2). |
|
| 89 | - - Click "Burn" (red box 3) and wait for the burning process to finish. |
|
| 90 | - |
|
| 91 | - |
|
| 92 | 28 | |
| 93 | 29 | ### After Flash |
| 94 | 30 |
Chip-cn-dat/allwinner-dat/F1C100-dat/F1C100-SDK-dat/F1C100-SDK-dat.md
| ... | ... | @@ -137,4 +137,6 @@ folder rootfs for [[buildroot-dat]] |
| 137 | 137 | |
| 138 | 138 | - https://mega.nz/folder/A8g1Hb4J#WcuoqvbpasKlVB8-YEpWPA |
| 139 | 139 | |
| 140 | -- [[sipeed-dat]] |
|
| ... | ... | \ No newline at end of file |
| 0 | +- [[sipeed-dat]] |
|
| 1 | + |
|
| 2 | +- Nano_pub_V4.zip |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/allwinner-dat/T113-dat/T113-dat.md
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | |
| 4 | 4 | - [[thermal-imaging-camera-dat]] |
| 5 | 5 | |
| 6 | -- [[D1S-dat]] |
|
| 6 | +- [[D1-S-dat]] |
|
| 7 | 7 | |
| 8 | 8 | |
| 9 | 9 | ## chip version |
Chip-cn-dat/allwinner-dat/allwinner-dat.md
| ... | ... | @@ -1,6 +1,8 @@ |
| 1 | 1 | |
| 2 | 2 | # allwinner-dat |
| 3 | 3 | |
| 4 | +## chips |
|
| 5 | + |
|
| 4 | 6 | - [[H618-dat]] - [[H616-dat]] - [[H618-dat]] |
| 5 | 7 | |
| 6 | 8 | |
| ... | ... | @@ -33,6 +35,12 @@ |
| 33 | 35 | |
| 34 | 36 | - [[X3-dat]] |
| 35 | 37 | |
| 38 | +## use |
|
| 39 | + |
|
| 40 | +- [[allwinner-SDK-dat]] - [[virtualbox-dat]] |
|
| 41 | + |
|
| 42 | +- [[allwinner]] |
|
| 43 | + |
|
| 36 | 44 | ## app |
| 37 | 45 | |
| 38 | 46 | - [[Thermal-imaging-camera-dat]] |
| ... | ... | @@ -69,12 +77,6 @@ |
| 69 | 77 | |
| 70 | 78 | - [[video-dat]] - [[video-decodec-dat]] |
| 71 | 79 | |
| 72 | -- [[virtualbox-dat]] |
|
| 73 | - |
|
| 74 | -- [[allwinner-SDK-dat]] |
|
| 75 | - |
|
| 76 | -- [[allwinner]] |
|
| 77 | - |
|
| 78 | 80 | - [[chip-cn-dat]] |
| 79 | 81 | |
| 80 | 82 |
SDK-dat/ESP-SDK-dat/ESP32-P4-SDK-dat/ESP32-P4-SDK-dat.md
| ... | ... | @@ -0,0 +1,29 @@ |
| 1 | +# ESP32-P4-SDK-dat |
|
| 2 | + |
|
| 3 | +- [[ESP-IDF-vscode-dat]] |
|
| 4 | + |
|
| 5 | +## relevant library |
|
| 6 | + |
|
| 7 | +| Library Name | Description | Version | Installation Requirement | |
|
| 8 | +|---------------------------|---------------------------------------------|----------|---------------------------| |
|
| 9 | +| GFX_Library_for_Arduino | GFX library for SH8601 | v1.6.0 | Offline installation | |
|
| 10 | +| lvgl | LVGL graphics library | v9.3.0 | Recommended offline | |
|
| 11 | +| displays | I2C driver, display and touch definitions | — | Offline installation | |
|
| 12 | +| lv_conf.h | LVGL configuration file | — | Offline installation | |
|
| 13 | + |
|
| 14 | + |
|
| 15 | +## demos |
|
| 16 | + |
|
| 17 | +| Demo Name | Description | Dependencies | |
|
| 18 | +|----------------------|-----------------------------------------------------------------------------|-------------------------------------| |
|
| 19 | +| HelloWorld | Demonstrates basic graphics library features, tests display performance, random text | GFX_Library_for_Arduino, displays | |
|
| 20 | +| Drawing_board | Touch drawing test | GFX_Library_for_Arduino, displays | |
|
| 21 | +| AsciiTable | Prints ASCII characters by row/column based on screen size | GFX_Library_for_Arduino, displays | |
|
| 22 | +| GFX_ESPWiFiAnalyzer | Draws WiFi band signal strength on screen | GFX_Library_for_Arduino, displays | |
|
| 23 | +| LVGLV9_Arduino | LVGL demo | LVGL, GFX_Library_for_Arduino, displays | |
|
| 24 | + |
|
| 25 | + |
|
| 26 | + |
|
| 27 | +## ref |
|
| 28 | + |
|
| 29 | +- [[ESP-SDK-dat]] |
|
| ... | ... | \ No newline at end of file |
SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-vscode-dat/2025-08-09-12-40-34.png
| ... | ... | Binary files /dev/null and b/SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-vscode-dat/2025-08-09-12-40-34.png differ |
SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-vscode-dat/2025-08-09-12-41-19.png
| ... | ... | Binary files /dev/null and b/SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-vscode-dat/2025-08-09-12-41-19.png differ |
SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-vscode-dat/2025-08-09-12-41-29.png
| ... | ... | Binary files /dev/null and b/SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-vscode-dat/2025-08-09-12-41-29.png differ |
SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-vscode-dat/2025-08-09-12-41-46.png
| ... | ... | Binary files /dev/null and b/SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-vscode-dat/2025-08-09-12-41-46.png differ |
SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-vscode-dat/2025-08-09-12-42-36.png
| ... | ... | Binary files /dev/null and b/SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-vscode-dat/2025-08-09-12-42-36.png differ |
SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-vscode-dat/esp-idf-vscode-dat.md
| ... | ... | @@ -3,11 +3,12 @@ |
| 3 | 3 | # esp-idf-vscode-dat |
| 4 | 4 | |
| 5 | 5 | e:\work-data\IDF |
| 6 | + |
|
| 6 | 7 | e:\work-data\IDF_tools |
| 7 | 8 | |
| 8 | 9 |  |
| 9 | 10 | |
| 10 | -### vs-code extension |
|
| 11 | +## vs-code extension |
|
| 11 | 12 | |
| 12 | 13 | |
| 13 | 14 | - https://github.com/espressif/vscode-esp-idf-extension/blob/master/docs/tutorial/install.md |
| ... | ... | @@ -18,4 +19,69 @@ https://docs.espressif.com/projects/vscode-esp-idf-extension/en/latest/ |
| 18 | 19 | - [[esp-idf-vscode-install-dat]] - [[esp-idf-vscode-compile-dat]] |
| 19 | 20 | |
| 20 | 21 | |
| 21 | -- [[ESP-IDF-dat]] |
|
| ... | ... | \ No newline at end of file |
| 0 | +- [[ESP-IDF-dat]] |
|
| 1 | + |
|
| 2 | + |
|
| 3 | + |
|
| 4 | +## Project Start |
|
| 5 | + |
|
| 6 | +Open the ESP-IDF extension in VS Code, click **New Project**, select an ESP-IDF example (such as `sample_project`), and click **Create**. |
|
| 7 | + |
|
| 8 | + |
|
| 9 | + |
|
| 10 | +After creating and opening the project, you will see a typical VS Code project structure: |
|
| 11 | + |
|
| 12 | +``` |
|
| 13 | +├── CMakeLists.txt |
|
| 14 | +├── main |
|
| 15 | +│ ├── CMakeLists.txt |
|
| 16 | +│ └── main.c |
|
| 17 | +└── README.md |
|
| 18 | +``` |
|
| 19 | + |
|
| 20 | +## ESP-IDF Project Details |
|
| 21 | + |
|
| 22 | +- **Component**: In ESP-IDF, a component is a basic module or library that provides specific functionality. Components are usually independent and reusable, similar to libraries in Python. |
|
| 23 | +- **Component Reference**: In Python, you use `import library_name`. In ESP-IDF (C), you configure and include components via `CMakeLists.txt`. |
|
| 24 | +- **Online Components**: To add an online component, use `idf.py add-dependency <componentName>`. This generates an `idf_component.yml` file for component management. |
|
| 25 | +- **CMakeLists.txt**: The build tool CMake reads the top-level `CMakeLists.txt` to determine build rules and which components to include. When you add components or programs in `CMakeLists.txt`, CMake will import and build the required files accordingly. |
|
| 26 | + |
|
| 27 | + |
|
| 28 | + |
|
| 29 | + |
|
| 30 | + |
|
| 31 | +## VS Code Bottom Toolbar Overview |
|
| 32 | + |
|
| 33 | +When you open an ESP-IDF project, the bottom toolbar in VS Code automatically loads the environment. For ESP32-P4-NANO development, this toolbar is especially important: |
|
| 34 | + |
|
| 35 | + |
|
| 36 | + |
|
| 37 | +- **ESP-IDF Version Manager**: Manage multiple ESP-IDF versions and switch between them as needed for different projects. |
|
| 38 | +- **COM Port Selector**: Choose the port to flash your compiled program onto the chip. |
|
| 39 | +- **Set Target**: Select the chip model (e.g., for ESP32-P4-NANO, choose `esp32p4`). |
|
| 40 | +- **menuconfig**: Edit the `sdkconfig` configuration file. |
|
| 41 | +- **Fullclean**: Clean all build files if you encounter build errors or corrupted files. |
|
| 42 | +- **Build**: Compile the project. |
|
| 43 | +- **Flash**: After building, select the correct COM port and flash the firmware to the chip. |
|
| 44 | +- **Monitor**: After flashing, use this to view logs and debug output from the device. |
|
| 45 | +- **Build Flash Monitor (Fire Icon)**: One-click to build, flash, and monitor in sequence. |
|
| 46 | + |
|
| 47 | +## Hello World Example |
|
| 48 | + |
|
| 49 | +After learning about the VS Code bottom toolbar, you can quickly get started with the Hello World project. This example demonstrates how to use ESP-IDF to create a basic application and covers the ESP32 development workflow: build, flash, and monitor. |
|
| 50 | + |
|
| 51 | +When you open the Hello World example, set the target port and chip type. **Note:** When you select the chip type, the bottom right will show a loading animation—this means ESP-IDF is running `idf.py set-target esp32p4` and downloading the required architecture package. Please wait for this process to finish before building, or you may encounter errors! |
|
| 52 | + |
|
| 53 | +Use the bottom toolbar's fire icon to build, flash, and monitor. You should see "Hello World!" output in the terminal. |
|
| 54 | + |
|
| 55 | + |
|
| 56 | + |
|
| 57 | +## Code Explanation |
|
| 58 | + |
|
| 59 | +The code contains only one main function, `app_main`, which uses conditional statements to determine what to print. At the end, a loop is added to restart the chip every 10 seconds. |
|
| 60 | + |
|
| 61 | +The `app_main` function is the entry point for user applications in the ESP-IDF (Espressif IoT Development Framework). It is the core function of an ESP-IDF project, similar to the `main` function in standard C. In ESP32 development, `app_main` is scheduled as the first task by the real-time operating system (FreeRTOS), marking the start of user code execution. |
|
| 62 | + |
|
| 63 | +## ref |
|
| 64 | + |
|
| 65 | +- [[ESP-SDK-dat]] |
|
| ... | ... | \ No newline at end of file |
SDK-dat/SDK-DAT.md
| ... | ... | @@ -52,6 +52,15 @@ |
| 52 | 52 | |
| 53 | 53 | - [[adb-dat]] |
| 54 | 54 | |
| 55 | +- [[linux-dat]] |
|
| 56 | + |
|
| 57 | +📂 Listing Folder Structures (Easy-to-Read) |
|
| 58 | + |
|
| 59 | +```bash |
|
| 60 | +tree -L 2 |
|
| 61 | +``` |
|
| 62 | + |
|
| 63 | + |
|
| 55 | 64 | |
| 56 | 65 | ## ref |
| 57 | 66 |
SDK-dat/allwinner-SDK-dat/allwinner-SDK-dat.md
| ... | ... | @@ -16,38 +16,32 @@ |
| 16 | 16 | |
| 17 | 17 | |
| 18 | 18 | |
| 19 | -## complier |
|
| 19 | +## Compiler |
|
| 20 | 20 | |
| 21 | -下载 Hello Word 文件 |
|
| 21 | +Download the Hello World file |
|
| 22 | 22 | |
| 23 | -编译完成后需要将编译好的hello_word文件下载到开发板上运行。 |
|
| 23 | +After compilation, you need to download the compiled hello_word file to the development board for execution. |
|
| 24 | 24 | |
| 25 | -传入文件可使用的方法多种多样,仁者见仁智者见智。可用的方法简传单列举: |
|
| 25 | +There are various methods to transfer files; choose the one that suits you best. Common methods include: |
|
| 26 | 26 | |
| 27 | -- ADB工具 |
|
| 28 | -- nfs挂载文件系统 |
|
| 29 | -- 使用SD卡挂载 |
|
| 27 | +- ADB tool - [[adb-dat]] |
|
| 28 | +- NFS mounted file system |
|
| 29 | +- Using an SD card |
|
| 30 | 30 | |
| 31 | -在这里推荐使用我们的ADB工具来进行传输,不需要增加多余的连接,仅仅只需要一根USB线即可。 |
|
| 31 | +We recommend using our ADB tool for file transfer. It requires no extra connections, just a single USB cable. |
|
| 32 | 32 | |
| 33 | +## Flash Tools |
|
| 33 | 34 | |
| 34 | -## flash tools |
|
| 35 | +1. PhoenixSuit: A Windows-based flashing tool, the most commonly used. Connect the PC and development board via a data cable to flash firmware onto the board. Supports partition flashing, suitable for development and small-scale production. Developers are advised to use this tool for firmware upgrades. |
|
| 36 | +2. LiveSuit: An Ubuntu-based flashing tool. Connect the PC and development board via a data cable to flash firmware onto the board. It is the Ubuntu version of PhoenixSuit, suitable for Ubuntu developers. |
|
| 37 | +3. PhoenixUSBpro: A Windows-based flashing tool. Connect the PC and development board via a data cable to flash firmware onto the board. One PC can connect up to 8 devices simultaneously for batch flashing, suitable for mass production. |
|
| 35 | 38 | |
| 36 | -(1) PhoenixSuit:基于Windows的系统的烧写工具,是最常用的烧写工具,通过数据线将PC和开发板连接,把固件烧到开发板上,支持分区烧写,适用于开发和小规模生产使用。建议开发者开发时使用该工具进行固件升级。 |
|
| 39 | +## Flash |
|
| 37 | 40 | |
| 38 | -(2)LiveSuit:基于Ubuntu的系统的烧写工具,通过数据线将PC和开发板连接,把固件烧到开发板上,即Ubuntu版的PhoenixSuit,适用于Ubuntu系统开发者进行开发烧写。 |
|
| 39 | - |
|
| 40 | -(3)PhoenixUSBpro:基于Windows的系统的烧写工具,通过数据线将PC和开发板连接,把固件烧到开发板上,一台PC可同时连接8台设备,分别控制其进行烧写,适用于产线批量生产。(如下图) |
|
| 41 | - |
|
| 42 | - |
|
| 43 | - |
|
| 44 | - |
|
| 45 | -## flash |
|
| 46 | - |
|
| 47 | -硬件:TypeC线 X2 |
|
| 48 | -软件:全志线刷工具:[AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) |
|
| 49 | -软件:SPI Nor系统镜像:[tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) |
|
| 50 | -软件:全志USB烧录驱动:[AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) |
|
| 41 | +- Hardware: 2 x Type-C cables |
|
| 42 | +- Software: Allwinner flashing tool: [AllwinnertechPhoeniSuit](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnertechPhoeniSuit.zip) |
|
| 43 | +- Software: SPI Nor system image: [tina_d1s-nezha_nor_uart0_nor](https://gitlab.com/dongshanpi/tools/-/raw/main/tina_d1s-nezha_nor_uart0_nor.zip) |
|
| 44 | +- Software: Allwinner USB flashing driver: [AllwinnerUSBFlashDeviceDriver](https://gitlab.com/dongshanpi/tools/-/raw/main/AllwinnerUSBFlashDeviceDriver.zip) |
|
| 51 | 45 | |
| 52 | 46 | |
| 53 | 47 | |
| ... | ... | @@ -74,6 +68,73 @@ |
| 74 | 68 | - https://gitlab.com/users/dongshanpi/projects |
| 75 | 69 | |
| 76 | 70 | |
| 71 | +## D1-S Flash |
|
| 72 | + |
|
| 73 | +- [[virtualbox-dat]] - [[SDK-dat]] - [[TINA-dat]] |
|
| 74 | + |
|
| 75 | +### 操作步骤 |
|
| 76 | + |
|
| 77 | +1. 将所有文件拷贝到 Ubuntu系统的 ~ 目录下 |
|
| 78 | + |
|
| 79 | +2. 执行如下解压缩命令,等待解压缩 完成 |
|
| 80 | + |
|
| 81 | +> cat tina-d1-h.tar.bz2.* | tar -jxv |
|
| 82 | +> |
|
| 83 | +1. 解压缩完成后 继续参考 http://riscv64.dongshanpi.com/ 页面 Tina-SDK-V2.0相关资料 |
|
| 84 | + |
|
| 85 | +### 所有文件MD5校验值 |
|
| 86 | + |
|
| 87 | +> Ubuntu下输入 md5sum tina-d1-h.tar.bz2.* 查看 |
|
| 88 | + |
|
| 89 | +e755bae00cd76afc3fb276b4e3fd86ba tina-d1-h.tar.bz2.00 |
|
| 90 | +cb60ecfdb51c624ff3cbd7b24552866f tina-d1-h.tar.bz2.01 |
|
| 91 | +54e56a4cf1cef46ca0a94b85ea1d33a1 tina-d1-h.tar.bz2.02 |
|
| 92 | +4988fa08827c0f7af2dc170145e24b26 tina-d1-h.tar.bz2.03 |
|
| 93 | +a0463bcf8e73db27b5ecafaac593a919 tina-d1-h.tar.bz2.04 |
|
| 94 | +a87382ca16a8c12b3a94f1cad99ce77e tina-d1-h.tar.bz2.05 |
|
| 95 | +5973530baa3b282108351818641c27fd tina-d1-h.tar.bz2.06 |
|
| 96 | +ccd63e1d16534b364a101d2d44416261 tina-d1-h.tar.bz2.07 |
|
| 97 | +e0d72713565f4424ea43c07e15a38139 tina-d1-h.tar.bz2.08 |
|
| 98 | + |
|
| 99 | + |
|
| 100 | +### system image and SDK |
|
| 101 | + |
|
| 102 | +- contact and find in our google drive |
|
| 103 | + |
|
| 104 | +### Flash |
|
| 105 | + |
|
| 106 | +Allwinner Official Tools |
|
| 107 | +- Allwinner system TF card flashing tool: PhoenixCardv4.2.7.7z.7z |
|
| 108 | +- Allwinner system OTG flashing tool: AllwinnertechPhoeniSuitRelease20201225.zip.zip |
|
| 109 | +Community version flashing tools |
|
| 110 | +- Complete TF card flashing tool: win32diskimager-1.0.0-install.exe |
|
| 111 | +- TF card formatting tool: SDCardFormatterv5_WinEN.zip |
|
| 112 | + |
|
| 113 | +### Flashing Allwinner D1 System Image to TF Card (Tutorial) |
|
| 114 | + |
|
| 115 | +#### Step 1: Format the TF Card |
|
| 116 | + |
|
| 117 | +1. Insert the TF card into a card reader, then connect the reader to your computer's USB port. |
|
| 118 | +2. Use the SD Card Formatter tool to format the TF card. **Backup any important data before formatting.** |
|
| 119 | +3. In the SD Card Formatter interface: |
|
| 120 | + - Click "Refresh" to detect your TF card. |
|
| 121 | + - Select your TF card from the list. |
|
| 122 | + - Click "Format" and confirm by clicking **Yes** in the dialog. |
|
| 123 | + - Wait for the formatting process to complete. |
|
| 124 | + |
|
| 125 | + |
|
| 126 | + |
|
| 127 | +#### Step 2: Burn the System Image |
|
| 128 | + |
|
| 129 | +1. After formatting, open the **PhoenixCard.exe** tool. |
|
| 130 | +2. In PhoenixCard: |
|
| 131 | + - Find and select your TF card drive letter. |
|
| 132 | + - Click the "Firmware" button (red box 1) and choose the extracted `tina_d1s-nezha_sd_uart0.img` image file. |
|
| 133 | + - Click "Startup Card" (red box 2). |
|
| 134 | + - Click "Burn" (red box 3) and wait for the burning process to finish. |
|
| 135 | + |
|
| 136 | + |
|
| 137 | + |
|
| 77 | 138 | |
| 78 | 139 | |
| 79 | 140 |
SDK-dat/virtualbox-dat/virtualbox-dat.md
| ... | ... | @@ -8,59 +8,6 @@ |
| 8 | 8 | - [[C-dat]] |
| 9 | 9 | |
| 10 | 10 | |
| 11 | -## install |
|
| 12 | - |
|
| 13 | -下载安装 |
|
| 14 | -官网下载地址:https://www.virtualbox.org/ |
|
| 15 | - |
|
| 16 | -参考链接: Oracle VM VirtualBox官网下载安装教程: https://blog.csdn.net/kaixuansui/article/details/89334859/ |
|
| 17 | - |
|
| 18 | -VirtualBox安装Ubuntu |
|
| 19 | -注意: |
|
| 20 | - |
|
| 21 | -(1)内存大小设置:建议大于2GB |
|
| 22 | -(2) 虚拟硬盘大小设置:建议至少设置50GB(SDK所需较大空间) |
|
| 23 | -(3) 安装好Ubuntu14.04虚拟机环境后,建议不要在线升级Ubuntu版本 |
|
| 24 | - |
|
| 25 | -参考链接: Oracle VM VirtualBox安装Ubuntu14.04环境的教程: https://blog.csdn.net/weixin_42135087/article/details/108193641 |
|
| 26 | - |
|
| 27 | -## 增强功能 |
|
| 28 | - |
|
| 29 | -安装增强功能可以实现共享剪切板功能共享文件夹功能。共享粘贴板可在PC和虚拟机之间互相粘贴复制内容。文件夹共享可以在本地主机下创建一个文件夹,然后VirtualBOX将该文件夹映射到虚拟机下指定的文件夹中,这样我们就可以访问该文件夹下的子文件夹以及文件了。这两个功能都能极大地提高我们的开发效率 |
|
| 30 | - |
|
| 31 | -注意: 在共享文件夹的路径中如果是挂在的windows系统的文件夹,可能无法成功地下载Tina的SDK代码,注意SDK的下载目录不要设置在共享文件夹中。 |
|
| 32 | - |
|
| 33 | -### 安装增强功能的方法 |
|
| 34 | - |
|
| 35 | -方法一: 点击虚拟机界面上面菜单栏的【设备】--【安装增强功能】。然后可以看到在虚拟机的光驱中自动加载了增强iso的文件(VBoxGuestAdditions.iso),点击【Run】运行按钮。接着按虚拟机所指引步骤进行即可。 |
|
| 36 | - |
|
| 37 | -方法二: 在linux中挂载光驱。参考链接如下: https://jingyan.baidu.com/article/fdbd42779d9530b89e3f489c.html |
|
| 38 | - |
|
| 39 | -实现共享文件夹的方: |
|
| 40 | - |
|
| 41 | -在VirtualBox中创建共享文件夹的参考链接如下: http://www.koudaipe.com/funny/1002.html |
|
| 42 | - |
|
| 43 | -共享文件夹 共享文件夹后可能由于权限问题无法操作,需要做如下操作: |
|
| 44 | - |
|
| 45 | - |
|
| 46 | -sudo usermod -aG vboxsf $(whoami) |
|
| 47 | -*$(whoami) 替换成您Ubuntu的用户名 |
|
| 48 | - |
|
| 49 | -## virtualbox setup guide |
|
| 50 | - |
|
| 51 | -- preference |
|
| 52 | - - set global file location |
|
| 53 | - |
|
| 54 | -### proxy |
|
| 55 | - |
|
| 56 | -preferences -> network -> proxy == socks5://127.0.0.1:7897 |
|
| 57 | - |
|
| 58 | -- turn on TUN mode |
|
| 59 | - |
|
| 60 | - |
|
| 61 | - |
|
| 62 | -# VirtualBox Guide |
|
| 63 | - |
|
| 64 | 11 | ## Installation |
| 65 | 12 | |
| 66 | 13 | - Official download: [https://www.virtualbox.org/](https://www.virtualbox.org/) |
| ... | ... | @@ -151,6 +98,9 @@ Note that the main menu bar is hidden in scaled mode. You can access it by press |
| 151 | 98 | |
| 152 | 99 | - re-set share folder |
| 153 | 100 | |
| 101 | +### share folder |
|
| 102 | + |
|
| 103 | +folder == /media/sf_share-folder |
|
| 154 | 104 | |
| 155 | 105 | |
| 156 | 106 | ## ref |
board-3rd-dat/sipeed-dat/sipeed-dat.md
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | |
| 6 | 6 | - [[allwinner-dat]] |
| 7 | 7 | |
| 8 | -## lichee zero |
|
| 8 | +## lichee zero == V3S |
|
| 9 | 9 | |
| 10 | 10 |  |
| 11 | 11 | |
| ... | ... | @@ -15,10 +15,12 @@ github.com/Lichee-Pi |
| 15 | 15 | |
| 16 | 16 | - [[V3S-dat]] |
| 17 | 17 | |
| 18 | -## lichhe nano |
|
| 18 | +## lichhe nano = F1C100 |
|
| 19 | 19 | |
| 20 | 20 | - [[F1C100-dat]] |
| 21 | 21 | |
| 22 | + |
|
| 23 | + |
|
| 22 | 24 | ## ref |
| 23 | 25 | |
| 24 | 26 | - https://wiki.sipeed.com |