Blueberry

蓝莓派,基于 Yuzuki Chameleon 二次开发。
修改SCH原理图WiFi模块,替换为RTL8189ES。
修改PCB适用与RTL8189ES。

特点

蓝莓派硬件架构图

Allwinner H616

H616是全志科技为用户提供的新一代高画质64位4K@60fps解码SoC,适用于OTT和IPTV市场。它集成了四核64位CortexTM-A53处理器和全新的G31 GPU,支持OpenGL ES 3.2/Vulkan 1.1的ARM引擎。

此外,H616还支持全格式4K@60fps 10位超高清视频解码,以及全志自主研发的SmartColor3.3TM图像增强引擎、杜比和DTS音频处理。H616采用了新一代功耗技术,比上一代降低20%的功耗。

H616 概览图

硬件资料

构建系统

Linux Kernel: https://github.com/niuyuling/linux

U-BOOT: https://github.com/niuyuling/u-boot


apt-get -y install git wget
git clone --depth=1 --branch=main https://github.com/armbian/build
wget https://git.aixiao.me/aixiao/Blueberry/raw/branch/master/SF/ArmDebian/blueberry.patch
cd build
git apply ../blueberry.patch  # 打补丁
./compile.sh build BOARD=blueberry BRANCH=legacy BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=yes RELEASE=bookworm
            

EMMc 刷入系统

Windows 安装驱动

针对FEL

安装zadig后打开,选择"Device"→"Create New Device"

create_new_device.png

按图中信息填写

fel_driver.png

然后点击"Install Driver"

针对DFU

再次选择"Device"→"Create New Device"

create_new_device_dfu.png

按图中信息填写

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

按住FEL键链接USB后执行刷入U-BOOT

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

问题

目前未发现问题。

适用于树莓派的GPIO库还未移植成功!

网口配件

RJ45口需要自行制作,百兆速率需注意等长。

RJ45_SCH
RJ45 接口原理图

RJ45_PCB
RJ45 接口 PCB 布局

RJ45_3D
RJ45 接口 3D 效果图