修改文档

This commit is contained in:
aixiao 2024-02-02 15:53:42 +08:00
parent f8ec7396f0
commit b21178100e
7 changed files with 65 additions and 10 deletions

BIN
IMAGE/blueberry1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 MiB

BIN
IMAGE/create_new_device.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
IMAGE/dfu_driver.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
IMAGE/fel_driver.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

BIN
IMAGE/fel_ver.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View File

@ -3,7 +3,7 @@
蓝莓派,基于 [Yuzuki Chameleon](https://github.com/YuzukiHD/YuzukiChameleon) 二次开发。
修改SCH原理图WiFi模块替换为RTL8189ES。
修改PCB适用与RTL8189ES。
## 特点:
@ -33,22 +33,22 @@ OTT 和 IPTV 市场。 集成四核64位CortexTM-A53处理器以及全新G31
## 硬件资料
原理图:
[SCH_blueberry_2023-11-09.pdf](HW/blueberry/SCH_blueberry_2023-11-09.pdf)
[SCH_blueberry_2023-11-09.pdf](https://git.aixiao.me/aixiao/Blueberry/raw/branch/master/HW/blueberry/SCH_blueberry_2023-11-09.pdf)
[嘉立创EDA项目:](https://lceda.cn/)
[ProProject_blueberry_2023-11-09.epro](https://git.aixiao.me/aixiao/Blueberry/raw/branch/master/HW/blueberry/ProProject_blueberry_2023-11-09.epro)
BOM:
[BOM.xlsx](HW/blueberry/BOM.xlsx)
[BOM.xlsx](https://git.aixiao.me/aixiao/Blueberry/raw/branch/master/HW/blueberry/BOM.xlsx)
Gerber:
[Gerber_blueberry_2023-10-19.zip](HW/blueberry/Gerber_blueberry_2023-10-19.zip)
[Gerber_blueberry_2023-10-19.zip](https://git.aixiao.me/aixiao/Blueberry/raw/branch/master/HW/blueberry/Gerber_blueberry_2023-10-19.zip)
H616 ds:
[h616_datasheet_v1.0.pdf](HW/h616_datasheet_v1.0.pdf)
[h616_datasheet_v1.0.pdf](https://git.aixiao.me/aixiao/Blueberry/raw/branch/master/HW/h616_datasheet_v1.0.pdf)
H616 manual:
[h616_user_manual_v1.0.pdf](HW/h616_user_manual_v1.0.pdf)
[h616_user_manual_v1.0.pdf](https://git.aixiao.me/aixiao/Blueberry/raw/branch/master/HW/h616_user_manual_v1.0.pdf)
AXP313a:
[axp313a_datasheet_v0.1-20201105.pdf](HW/axp313a_datasheet_v0.1-20201105.pdf)
[axp313a_datasheet_v0.1-20201105.pdf](https://git.aixiao.me/aixiao/Blueberry/raw/branch/master/HW/axp313a_datasheet_v0.1-20201105.pdf)
RTL8189ES:
[RTL8189ES_STAMP_Module-1V0.pdf](HW/RTL8189ES_STAMP_Module-1V0.pdf)
[RTL8189ES_STAMP_Module-1V0.pdf](https://git.aixiao.me/aixiao/Blueberry/raw/branch/master/HW/RTL8189ES_STAMP_Module-1V0.pdf)
## 构建系统
@ -56,7 +56,7 @@ Linux Kernel: https://github.com/niuyuling/linux
U-BOOT: https://github.com/niuyuling/u-boot
如果自己构建请选择 [Debian GNU/Linux 12 (bookworm)](https://www.debian.org/) 系统并且安装 Docker version 24.0.7 磁盘不少于 60G内存不少于 2G。[Docker 安装方法](https://docs.docker.com/engine/install/debian/)
如果选择 ArmDebian 官方 [build](https://github.com/armbian/build) 构建系统,请下载补丁文件 [blueberry.patch](SF/ArmDebian/blueberry.patch)
如果选择 ArmDebian 官方 [build](https://github.com/armbian/build) 构建系统,请下载补丁文件 [blueberry.patch](https://git.aixiao.me/aixiao/Blueberry/raw/branch/master/SF/ArmDebian/blueberry.patch)
```
apt-get -y install git wget
git clone --depth=1 --branch=main https://github.com/armbian/build
@ -76,6 +76,60 @@ cd build
预构建系统下载 https://blueberry.aixiao.me/images/
## EMMc 刷入系统
[Windows 安装驱动](https://linux-sunxi.org/FEL/USBBoot#Using_sunxi-fel_on_Windows)
针对FEL
安装zadig后打开选择"Device"→"Create New Device"
![brief](IMAGE/create_new_device.png)
按图中填写信息
![brief](IMAGE/fel_driver.png)
然后点击"Install Driver"
针对DFU
再次选择"Device"→"Create New Device"
![brief](IMAGE/create_new_device_dfu.png)
按图中填写信息
![brief](IMAGE/dfu_driver.png)
然后点击"Install Driver"
编译可以在 Windows下识别Emmc设备为U盘的 u-boot
```
# ARM TRUSTED FIRMWARE (ARM64)
git clone https://github.com/ARM-software/arm-trusted-firmware.git
cd arm-trusted-firmware
make CROSS_COMPILE=aarch64-linux-gnu- PLAT=sun50i-h616 DEBUG=1 bl31
cd ..
# 编译 U-BOOT
git clone https://github.com/niuyuling/u-boot.git
cd u-boot
git checkout v2023.07-blb
make CROSS_COMPILE=aarch64-linux-gnu- BL31=../arm-trusted-firmware/build/sun50i_h616/debug/bl31.bin blueberry_emmc_ums_defconfig
make CROSS_COMPILE=aarch64-linux-gnu- BL31=../arm-trusted-firmware/build/sun50i_h616/debug/bl31.bin
```
[Windows 安装刷机工具SUNXI-FEL](https://github.com/eperie/build-scripts/releases/download/v1.3/sunxi-tools-mingw64-530adfa.zip)
![brief](IMAGE/fel_ver.png)
```
.\sunxi-fel.exe -v ver
```
```
.\sunxi-fel.exe uboot .\u-boot-sunxi-with-spl.bin
```
刷入u-boot后Windows 自动识别设备Emmc为u盘设备
这时下载系统镜像刷入TF那样刷入Emmc设备
Windows 刷机工具 [win32diskimager](https://sourceforge.net/projects/win32diskimager/)
## 问题
目前未发现问题。
@ -90,4 +144,5 @@ RJ45_PCB
![brief](IMAGE/rj45_pcb.png)
RJ45_3D
![brief](IMAGE/rj45_3d.png)
![brief](IMAGE/rj45_3d.png)