https://wiki.banana-pi.org/api.php?action=feedcontributions&user=Sinovoip&feedformat=atom
Banana Pi Wiki - User contributions [en]
2024-03-29T12:29:26Z
User contributions
MediaWiki 1.30.0
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M7&diff=17153
Banana Pi BPI-M7
2024-03-22T09:51:00Z
<p>Sinovoip: /* Armbian */</p>
<hr />
<div>[[zh:香蕉派_BPI-M7]]<br />
<br />
=Introduction=<br />
[[File:Banana_Pi_BPI-M7_1.jpg|thumb|[[Banana Pi BPI-M7]] with Rockchip RK3588 chip design]]<br />
[[File:Banana Pi BPI-W3 LGA 1.jpg|thumb|[[Banana Pi BPI-W3]] with Rockchip RK3588 chip design]]<br />
[[File:Banana_Pi_BPI-RK3588-LGA_5.jpg|thumb| RK3588 LGA BGA core board with Rockchip RK3588]]<br />
[[File:BPI-RK3588_board_core_2.jpg|thumb|[[BPI-RK3588 Core board and development Kit]] Gold finger interface core board]]<br />
[[File:BPI-RK3588_board_kit_2.jpg|thumb|[[BPI-RK3588 Core board and development Kit]]]]<br />
[[File:BPI-RK3588_core_1.jpg|thumb|[[BPI-RK3588 Core board and development Kit]] Stamp hole Core board]]<br />
[[File:BPI-RK3588_core_4.jpg|thumb|BPI-RK3588 [[BPI-RK3588 Core board and development Kit]] Stamp hole Core board and development Kit]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
<br />
Banana Pi BPI-M7 with Rockchip RK3588, 8/16/32G,RAM 64/128G eMMC,wifi6 support . 2x2.5G port ,1xHDMIout ,2x USB3.0,2xTYPE-C,2x MIPI CSI interface and 1x MIPI DSI interface, 1x M.2 KEY M interface,40 PIN GPIO ,Mini size just 92x62mm.<br />
<br />
==Key Features==<br />
<br />
*PI-co ITX form factor(2.5 inch, 92 x 62mm)<br />
*RK3588 powered, 8nm manufacturing process<br />
::Quad A76 2.4Ghz + Quad A55 1.8Ghz<br />
::Mali G610MC4 GPU(up to 5 channel 4K UI)<br />
::6T NPU<br />
::8K 10bit decoder, 8K encoder<br />
*Support WiFi 6 and BT5.2<br />
*Support PCIe 3.0 x4 NVMe SSD<br />
*Triple display support(with HDR)<br />
*One HDMI 2.1 up to 8K@60FPS<br />
*One USB C with DP up to 8K@30FPS<br />
*One MIPI DSI up to 4K@60fps<br />
*Two 2.5G Ethernet<br />
*2x USB 3.0 interface<br />
*2x MIPI CSI camera interface<br />
*Offer 8GB/16GB/32GB(LPDDR4x) ram options and 64/128 eMMC options<br />
<br />
==Getting Start==<br />
[https://docs.banana-pi.org/en/BPI-M7/GettingStarted_BPI-M7 Getting Started BPI-M7]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-M7_interface.jpg]]<br />
<br />
==Hardware spec==<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-M7'''<br />
|-<br />
|SOC ||RockChip RK3588<br />
|-<br />
|CPU ||RK3588 Quad-Core Cortex-A76@ 2.4GHz+Quad-CoreCortex-A55@ 1.8GHz,8nm process<br />
|-<br />
|GPU ||GPU Mali-G610 MP4 (4x256KB L2 Cache) Supports OpenGL ES3.2/OpenCL2.2/Vulkan1.1<br />
|-<br />
|NPU ||6 TOPS@INT8(3 NPU core) <br />
|-<br />
| ||Supports INT4/INT8/INT16 mixed computing<br />
|-<br />
| ||Supports frameworks like TensorFlow, MXNet, PyTorch, Caffe, Tflite, Onnx NN, Android NN, etc<br />
|-<br />
|VPU/Codec ||Hardware Decode: 8K@60fps H.265/VP9/AVS2、 8K@30fps H.264 AVC/MVC、 4K@60fps AV1、1080P@60fps MPEG-2/-1/VC-1/VP8<br />
|-<br />
| ||Hardware Encode:8K@30fps H.265 / H.264<br />
|-<br />
|ISP ||Integrated 48MP ISP with HDR&3DNR<br />
|-<br />
|RAM ||8GB/16GB/32GB(max 32GB )64bit LPDDR4/LPDDR4x,default 8GB LPDDR4x<br />
|-<br />
|Flash ||32GB/64GB/128GB eMMC,default 64GB eMMC,Supports MicroSD card expansion<br />
|-<br />
|PCIe ||1x M.2 Key M (PCIe 3.0 4-lanes). Expandable SSD support for 2280/2260/2242/2230 M.2 SSD cards, default 2280<br />
|-<br />
|Networking ||2x 2.5G Ethernet<br />
|-<br />
| ||Onboard IEEE 802.11a/b/g/n/ac/ax WIFI6 and BT5 (AP6275P)<br />
|-<br />
|Video Out||1x HDMI 2.1, supports 8K@60fps<br />
|-<br />
| ||1x MIPI DSI up to 4K@60fps<br />
|-<br />
| ||1x DP 1.4 up to 8K@30fps<br />
|-<br />
|Video In ||2x 2-lane MIPI CSI, up to 2.5Gbps per lane<br />
|-<br />
|Audio ||1x HDMI audio out<br />
|-<br />
| ||1x HP audio out<br />
|-<br />
| ||1x Type-C 3.1 (DP1.4) audio out<br />
|-<br />
|USB ||1x USB 3.0 (USB 3.1 Gen 1), equivalent to USB 3.2 Gen 1/USB 3.0, up to 5Gbps<br />
|-<br />
| ||1x USB Type-C 3.1(DP1.4/OTG)<br />
|-<br />
| ||1x USB 2.0 High(480Mbps)/Full(12Mbps)/Low-Speed(1.5Mbps) modes<br />
|-<br />
|40-pin ||Fully compatible with Raspberry Pi 40-pin header for connecting abundant add-on modules<br />
|-<br />
| ||Supports UART/SPI/I2C/I2S/PWM/ADC/5V Power/3.3V Power<br />
|-<br />
|Other ||1x 5V fan interface<br />
|-<br />
| ||1x battery connector for low power RTC chip HYM8563TS<br />
|-<br />
| ||2x LEDs - blue LED blinks on system start, red LED user controllable<br />
|-<br />
|Power Input ||USB Type-C PD 2.0, 9V/2A, 12V/2A, 15V/2A<br />
|-<br />
|Buttons ||1x PWRON button for sleep/wake,1x Reset button for reboot,1x Maskrom button for maskrom burn-in mode<br />
|-<br />
|OS Support ||Official: :Android 12.0,Debian11,Buildroot<br />
|-<br />
| ||3rd Party:Armbian,Ubuntu 20.04,Ubuntu22.04,Kylin OS<br />
|-<br />
|Dimensions ||92 mm x 62mm<br />
|-<br />
|Operating temperature||0℃ ~ 80℃<br />
|}<br />
<br />
== Case design ==<br />
<br />
[[File:Banana_Pi_BPI-M7_Case_1.jpg]]<br />
<br />
=Resources=<br />
<br />
==Source code==<br />
* Linux kernel https://github.com/ArmSoM/linux-rockchip<br />
* uboot: https://github.com/ArmSoM/u-boot<br />
<br />
==Documents==<br />
*BPI-M7 Component diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1Klh1xt_2Qkd8ZKZ6EIbEbg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/13WhoyLEXPj6DJKkY3ceRTgJQR7U53NOn?usp=sharing<br />
<br />
*BPI-M7 2D CAD<br />
:Baidu Cloud: https://pan.baidu.com/s/1spHZGhDMC4TW9G9HTei7rA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1rh1abnNbTly3O69uWi0fQsSZdRvm6_oO?usp=sharing<br />
<br />
*BPI-M7 Schematic<br />
:Baidu Cloud: https://pan.baidu.com/s/17_2BTwBnIsmeCV5V7xNXRA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1-Fz3oNMEvrztWFvQs_RUv_kGpvyORcaI/view?usp=sharing<br />
<br />
*Rockchip RK3588 datasheet<br />
:Baidu cloud: https://pan.baidu.com/s/1GeskKfLFwjgmz0pgt7sICg?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1l1YmUdBaLuDkJma3CYZJWjYug9D-jV_4?usp=sharing<br />
<br />
*BPI-M7 GPU and CPU performance test:https://www.youtube.com/watch?v=C4ofIZLixpM<br />
*BPI-M7 Rockchip RK3588 open source SBC run istoreos demo:https://www.youtube.com/watch?v=I2SSCT1Xj_U<br />
*BPI-M7 SBC ubuntu20.04 Linux system adaptation is complete:https://www.youtube.com/watch?v=60XQlSF3_20&t=10s<br />
<br />
=Image Release=<br />
<br />
==Android==<br />
<br />
<br />
==Linux==<br />
===Ubuntu===<br />
*ubuntu-22.04.3-preinstalled-desktop-arm64-bpi-m7_armsom-sige7.img-20240131<br />
:Baidu Cloud: https://pan.baidu.com/s/1qsXOSuaA14ODvFhetaLGIw?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1MXqanJ0zd62XpOwRxqmlx9xuqbonhIKW?usp=sharing<br />
<br />
*ubuntu-22.04.3-preinstalled-server-arm64-bpi-m7_armsom-sige7.img-20240131<br />
:Baidu Cloud: https://pan.baidu.com/s/1RlTTgdbZdv5mqCy7iWi8Yw?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1JtsD2Djx7wGZa_dLYNC86JAE9N7p7v_s?usp=sharing<br />
<br />
===Debian===<br />
*BPI-M7_armsom-sige7-debian-bullseye-xfce4-arm64-20240129<br />
:Baidu cloud: https://pan.baidu.com/s/1ZLoUfPHYP9GF7aJ5uGEpcw?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1r9wXInxqDehEq2Qp98dozbKMCeMfKvLr/view?usp=sharing<br />
<br />
===Armbian===<br />
*Armbian-unofficial_24.5.0-trunk_BPI-M7_Armsom-sige7_jammy_legacy_5.10.160_gnome_desktop.img<br />
:Baidu cloud: https://pan.baidu.com/s/1s4OqPrIIL2SR5df06cNE2g?pwd=8888 (pincode:8888) <br />
:Google drive: https://drive.google.com/drive/folders/1D06q5fLxPGs0dxLyJlhDoox0ylIPVhx9?usp=sharing<br />
<br />
==BPI-M7 Tools==<br />
<br />
=Easy to buy sample=<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.com/item/1005006504845998.html?spm<br />
:Bipai Aliexpress shop: https://www.aliexpress.com/item/1005006504967822.html?spm<br />
:Taobao Shop: https://item.taobao.com/item.htm?id=765236561383&spm=a1z10.5-c-s.w4002-25059194413.11.76fe5332n69l2T<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M7&diff=17152
Banana Pi BPI-M7
2024-03-22T06:52:16Z
<p>Sinovoip: /* Linux */</p>
<hr />
<div>[[zh:香蕉派_BPI-M7]]<br />
<br />
=Introduction=<br />
[[File:Banana_Pi_BPI-M7_1.jpg|thumb|[[Banana Pi BPI-M7]] with Rockchip RK3588 chip design]]<br />
[[File:Banana Pi BPI-W3 LGA 1.jpg|thumb|[[Banana Pi BPI-W3]] with Rockchip RK3588 chip design]]<br />
[[File:Banana_Pi_BPI-RK3588-LGA_5.jpg|thumb| RK3588 LGA BGA core board with Rockchip RK3588]]<br />
[[File:BPI-RK3588_board_core_2.jpg|thumb|[[BPI-RK3588 Core board and development Kit]] Gold finger interface core board]]<br />
[[File:BPI-RK3588_board_kit_2.jpg|thumb|[[BPI-RK3588 Core board and development Kit]]]]<br />
[[File:BPI-RK3588_core_1.jpg|thumb|[[BPI-RK3588 Core board and development Kit]] Stamp hole Core board]]<br />
[[File:BPI-RK3588_core_4.jpg|thumb|BPI-RK3588 [[BPI-RK3588 Core board and development Kit]] Stamp hole Core board and development Kit]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
<br />
Banana Pi BPI-M7 with Rockchip RK3588, 8/16/32G,RAM 64/128G eMMC,wifi6 support . 2x2.5G port ,1xHDMIout ,2x USB3.0,2xTYPE-C,2x MIPI CSI interface and 1x MIPI DSI interface, 1x M.2 KEY M interface,40 PIN GPIO ,Mini size just 92x62mm.<br />
<br />
==Key Features==<br />
<br />
*PI-co ITX form factor(2.5 inch, 92 x 62mm)<br />
*RK3588 powered, 8nm manufacturing process<br />
::Quad A76 2.4Ghz + Quad A55 1.8Ghz<br />
::Mali G610MC4 GPU(up to 5 channel 4K UI)<br />
::6T NPU<br />
::8K 10bit decoder, 8K encoder<br />
*Support WiFi 6 and BT5.2<br />
*Support PCIe 3.0 x4 NVMe SSD<br />
*Triple display support(with HDR)<br />
*One HDMI 2.1 up to 8K@60FPS<br />
*One USB C with DP up to 8K@30FPS<br />
*One MIPI DSI up to 4K@60fps<br />
*Two 2.5G Ethernet<br />
*2x USB 3.0 interface<br />
*2x MIPI CSI camera interface<br />
*Offer 8GB/16GB/32GB(LPDDR4x) ram options and 64/128 eMMC options<br />
<br />
==Getting Start==<br />
[https://docs.banana-pi.org/en/BPI-M7/GettingStarted_BPI-M7 Getting Started BPI-M7]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-M7_interface.jpg]]<br />
<br />
==Hardware spec==<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-M7'''<br />
|-<br />
|SOC ||RockChip RK3588<br />
|-<br />
|CPU ||RK3588 Quad-Core Cortex-A76@ 2.4GHz+Quad-CoreCortex-A55@ 1.8GHz,8nm process<br />
|-<br />
|GPU ||GPU Mali-G610 MP4 (4x256KB L2 Cache) Supports OpenGL ES3.2/OpenCL2.2/Vulkan1.1<br />
|-<br />
|NPU ||6 TOPS@INT8(3 NPU core) <br />
|-<br />
| ||Supports INT4/INT8/INT16 mixed computing<br />
|-<br />
| ||Supports frameworks like TensorFlow, MXNet, PyTorch, Caffe, Tflite, Onnx NN, Android NN, etc<br />
|-<br />
|VPU/Codec ||Hardware Decode: 8K@60fps H.265/VP9/AVS2、 8K@30fps H.264 AVC/MVC、 4K@60fps AV1、1080P@60fps MPEG-2/-1/VC-1/VP8<br />
|-<br />
| ||Hardware Encode:8K@30fps H.265 / H.264<br />
|-<br />
|ISP ||Integrated 48MP ISP with HDR&3DNR<br />
|-<br />
|RAM ||8GB/16GB/32GB(max 32GB )64bit LPDDR4/LPDDR4x,default 8GB LPDDR4x<br />
|-<br />
|Flash ||32GB/64GB/128GB eMMC,default 64GB eMMC,Supports MicroSD card expansion<br />
|-<br />
|PCIe ||1x M.2 Key M (PCIe 3.0 4-lanes). Expandable SSD support for 2280/2260/2242/2230 M.2 SSD cards, default 2280<br />
|-<br />
|Networking ||2x 2.5G Ethernet<br />
|-<br />
| ||Onboard IEEE 802.11a/b/g/n/ac/ax WIFI6 and BT5 (AP6275P)<br />
|-<br />
|Video Out||1x HDMI 2.1, supports 8K@60fps<br />
|-<br />
| ||1x MIPI DSI up to 4K@60fps<br />
|-<br />
| ||1x DP 1.4 up to 8K@30fps<br />
|-<br />
|Video In ||2x 2-lane MIPI CSI, up to 2.5Gbps per lane<br />
|-<br />
|Audio ||1x HDMI audio out<br />
|-<br />
| ||1x HP audio out<br />
|-<br />
| ||1x Type-C 3.1 (DP1.4) audio out<br />
|-<br />
|USB ||1x USB 3.0 (USB 3.1 Gen 1), equivalent to USB 3.2 Gen 1/USB 3.0, up to 5Gbps<br />
|-<br />
| ||1x USB Type-C 3.1(DP1.4/OTG)<br />
|-<br />
| ||1x USB 2.0 High(480Mbps)/Full(12Mbps)/Low-Speed(1.5Mbps) modes<br />
|-<br />
|40-pin ||Fully compatible with Raspberry Pi 40-pin header for connecting abundant add-on modules<br />
|-<br />
| ||Supports UART/SPI/I2C/I2S/PWM/ADC/5V Power/3.3V Power<br />
|-<br />
|Other ||1x 5V fan interface<br />
|-<br />
| ||1x battery connector for low power RTC chip HYM8563TS<br />
|-<br />
| ||2x LEDs - blue LED blinks on system start, red LED user controllable<br />
|-<br />
|Power Input ||USB Type-C PD 2.0, 9V/2A, 12V/2A, 15V/2A<br />
|-<br />
|Buttons ||1x PWRON button for sleep/wake,1x Reset button for reboot,1x Maskrom button for maskrom burn-in mode<br />
|-<br />
|OS Support ||Official: :Android 12.0,Debian11,Buildroot<br />
|-<br />
| ||3rd Party:Armbian,Ubuntu 20.04,Ubuntu22.04,Kylin OS<br />
|-<br />
|Dimensions ||92 mm x 62mm<br />
|-<br />
|Operating temperature||0℃ ~ 80℃<br />
|}<br />
<br />
== Case design ==<br />
<br />
[[File:Banana_Pi_BPI-M7_Case_1.jpg]]<br />
<br />
=Resources=<br />
<br />
==Source code==<br />
* Linux kernel https://github.com/ArmSoM/linux-rockchip<br />
* uboot: https://github.com/ArmSoM/u-boot<br />
<br />
==Documents==<br />
*BPI-M7 Component diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1Klh1xt_2Qkd8ZKZ6EIbEbg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/13WhoyLEXPj6DJKkY3ceRTgJQR7U53NOn?usp=sharing<br />
<br />
*BPI-M7 2D CAD<br />
:Baidu Cloud: https://pan.baidu.com/s/1spHZGhDMC4TW9G9HTei7rA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1rh1abnNbTly3O69uWi0fQsSZdRvm6_oO?usp=sharing<br />
<br />
*BPI-M7 Schematic<br />
:Baidu Cloud: https://pan.baidu.com/s/17_2BTwBnIsmeCV5V7xNXRA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1-Fz3oNMEvrztWFvQs_RUv_kGpvyORcaI/view?usp=sharing<br />
<br />
*Rockchip RK3588 datasheet<br />
:Baidu cloud: https://pan.baidu.com/s/1GeskKfLFwjgmz0pgt7sICg?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1l1YmUdBaLuDkJma3CYZJWjYug9D-jV_4?usp=sharing<br />
<br />
*BPI-M7 GPU and CPU performance test:https://www.youtube.com/watch?v=C4ofIZLixpM<br />
*BPI-M7 Rockchip RK3588 open source SBC run istoreos demo:https://www.youtube.com/watch?v=I2SSCT1Xj_U<br />
*BPI-M7 SBC ubuntu20.04 Linux system adaptation is complete:https://www.youtube.com/watch?v=60XQlSF3_20&t=10s<br />
<br />
=Image Release=<br />
<br />
==Android==<br />
<br />
<br />
==Linux==<br />
===Ubuntu===<br />
*ubuntu-22.04.3-preinstalled-desktop-arm64-bpi-m7_armsom-sige7.img-20240131<br />
:Baidu Cloud: https://pan.baidu.com/s/1qsXOSuaA14ODvFhetaLGIw?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1MXqanJ0zd62XpOwRxqmlx9xuqbonhIKW?usp=sharing<br />
<br />
*ubuntu-22.04.3-preinstalled-server-arm64-bpi-m7_armsom-sige7.img-20240131<br />
:Baidu Cloud: https://pan.baidu.com/s/1RlTTgdbZdv5mqCy7iWi8Yw?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1JtsD2Djx7wGZa_dLYNC86JAE9N7p7v_s?usp=sharing<br />
<br />
===Debian===<br />
*BPI-M7_armsom-sige7-debian-bullseye-xfce4-arm64-20240129<br />
:Baidu cloud: https://pan.baidu.com/s/1ZLoUfPHYP9GF7aJ5uGEpcw?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1r9wXInxqDehEq2Qp98dozbKMCeMfKvLr/view?usp=sharing<br />
<br />
===Armbian===<br />
*Armbian-unofficial_24.5.0-trunk_BPI-M7_Armsom-sige7_jammy_legacy_5.10.160_gnome_desktop.img<br />
:Baidu cloud: https://pan.baidu.com/s/1s4OqPrIIL2SR5df06cNE2g?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
==BPI-M7 Tools==<br />
<br />
=Easy to buy sample=<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.com/item/1005006504845998.html?spm<br />
:Bipai Aliexpress shop: https://www.aliexpress.com/item/1005006504967822.html?spm<br />
:Taobao Shop: https://item.taobao.com/item.htm?id=765236561383&spm=a1z10.5-c-s.w4002-25059194413.11.76fe5332n69l2T<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-P2_Pro&diff=17151
Banana Pi BPI-P2 Pro
2024-03-22T05:47:47Z
<p>Sinovoip: /* Armbian */</p>
<hr />
<div>[[zh:香蕉派_BPI-P2 Pro]]<br />
=Introduction=<br />
[[File:Banana_Pi_BPI-P2_Pro_1.jpg|thumb|[[Banana Pi BPI-P2 Pro]] with Rockchip RK3308]]<br />
[[File:BPI-F2_zero_1.JPG|thumb|[[Banana Pi BPI-P2 Zero]] with Allwinner H2+ chip]]<br />
[[File:Zero_wih_H3_1.jpg|thumb|Overview zero with Allwinner H3 chip]]<br />
[[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design]]<br />
[[File:Banana_Pi_BPI-M2S_1.jpg|thumb|[[Banana Pi BPI-M2S]] Amlogic A311D/S922 chip]]<br />
[[File:BPi-9600 Poe 4.jpg|thumb|[[BPI-9600 IEEE 802.3af PoE module]](5V 2A)]]<br />
[[File:BPI-7402_IEEE_802.3at_PoE_module_1.jpg|thumb|[[BPI-7402 IEEE 802.3at PoE module]]]]<br />
<br />
[[File:Banana_Pi_BPI-P2_Pro_banner_1.jpg]]<br />
<br />
Banana Pi BPI-P2 pro(Armsom Pro) is a development board based on RK3308B-S chip. With a high-performance 4-core ARM Cortex-A35 processor, 512M RAM(16bit DDR2/DDR3/DDR3L/LPDDR2). and 8G eMMC onboard ,support PoE function.The chip has a wealth of interfaces, such as I2S,PCM,TDM, I2C,UART,SPDIF,HDMI ARC, etc., to meet the application of different products. RK3308 has a rich voice interface, its own eight ADC interface, multi-channel I2S and multi-channel PDM interface. This not only provides customers with a wealth of interface choices, but also can reduce the hardware design difficulty and hardware design cost of products.<br />
<br />
Banana Pi BPI-P2 Pro has 512MB DDR3 memory size, operating system and storage can use SD card or emmc. BPI-P2 Pro is available as an onboard storage version with 1Gb/2Gb/4Gb/8Gb NAND flash<br />
<br />
==Application direction==<br />
* Maker DIY <br />
*IoT Smart Internet of Things<br />
*Intelligent speech recognition<br />
*Man-machine interface<br />
*Industrial control<br />
*Intelligent robot<br />
<br />
==Key Features==<br />
<br />
* CPU: 64bits Quad-core Arm Cortex-A35 Rockchip RK3308B-S<br />
* 512 DDR3 SDRAM<br />
* 8G eMMC flash onboard<br />
* WiFi&BT: 802.11 a/b/g/n/ac & BT5.0 (AP6256)<br />
* 40 PIN GPIO, includes UART, SPI, I2C, IO etc<br />
* 100M LAN <br />
* IEEE 802.3af PoE standard PoE module support<br />
* Audio: Supports rich audio interfaces, such as MIC/PDM/SPDIF/I2S<br />
<br />
==Getting Start==<br />
::[http://wiki.armsom.org/index.php/Getting_Started_with_ArmSoM-p2_pro Getting Start with BPI-P2 Pro]<br />
<br />
=Hardware=<br />
<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-P2_Pro.jpg]]<br />
<br />
==Hardware spec==<br />
<br />
{| class="wikitable"<br />
|<br />
|Banana Pi BPI-P2 pro<br />
|-<br />
|SOC ||RockChip RK3308B-S <br />
|-<br />
|CPU ||Quad-core ARM Cortex-A35 <br />
|-<br />
|GPU ||none<br />
|-<br />
|ROM ||512MB<br />
|-<br />
|RAM<br />
|8GB eMMC<br />
|-<br />
|TF Card ||TF card (Max 64GB)<br />
|-<br />
|Network ||100M LAN<br />
|-<br />
|PoE power ||PoE function support,Output Voltage 5V, Output Power 10W<br />
|-<br />
|WiFi ||AP6256<br />
|-<br />
|Audio Output ||With built-in audio CODEC, including ADC×8 and DAC×2<br />
|-<br />
|Power Source ||TYPE C 5V/2A or PoE power<br />
|-<br />
|USB ||1xUSB 2.0 <br />
1xType-C<br />
|-<br />
|Others|| Fan、RTC、LED、debug<br />
|-<br />
|Button ||Power Button、Reset Button、 Recovery Button、Root Button<br />
|-<br />
|Low-level peripherals ||40 Pin + 12 Pin<br />
|-<br />
|uart GPIO\(1x3\) pin ||UART, ground<br />
|-<br />
|LED ||Power led & Status led<br />
|-<br />
|Product size ||65mm X 52.5mm<br />
|-<br />
|Weight ||30g<br />
|}<br />
<br />
<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="5"| '''HardWare Specification of Banana pi BPI-P2 Zero VS BPI-M2 zero VS Raspberry Pi Zero W'''<br />
|-<br />
|Module||'''[[Banana Pi BPI-P2 Pro]]'''||'''[[Banana Pi BPI-P2 Zero]]'''|| '''[[Banana Pi BPI-M2 ZERO]]''' || '''Raspberry Pi Zero W'''<br />
|-<br />
|CPU ||Quad-core Arm Cortex-A35 Rockchip RK3308||Allwinner H3/H2+ Quad-core Cortex-A7 H265/HEVC 1080P ||Allwinner H3/H2+ Quad-core Cortex-A7 H265/HEVC 1080P ||Broadcom BCM2835 32 Bit 1 GHz ARM1176JZF-S single-core<br />
|-<br />
|GPU ||NOPE || Mali400MP2 GPU @600MHz,Supports OpenGL ES 2.0|| Mali400MP2 GPU @600MHz,Supports OpenGL ES 2.0 ||VideoCore IV<br />
|-<br />
| Memory \(SDRAM\) ||512M|| 512M DDR3(shared with GPU)||512M DDR3(shared with GPU) ||512 MB DDR2<br />
|-<br />
| Onboard Storage ||TF card \(Max. 64GB\)||TF card \(Max. 64GB\) ||TF card \(Max. 64GB\) ||TF card \(Max. 64GB\)<br />
|-<br />
| Onboard Network || 100M LAN|| 100M LAN||NOPE (but can extension with PIN define) ||NOPE<br />
|-<br />
| PoE power || PoE function support || PoE function support ||NOPE ||NOPE<br />
|-<br />
| Onboard flash || 8G eMMC|| 8G eMMC||NOPE||NOPE<br />
|-<br />
| Onboard WIFI ||SDIO AP6255 ||SDIO AP6212(option AP6181、AP6335) ||SDIO AP6212(option AP6181、AP6335) ||802.11n wireless, Bluetooth 4.1<br />
|-<br />
|Video decoding|| ||1080p@60fps,H.264 Video encoding 1080p@30fps,H.264|| 1080p@60fps,H.264 Video encoding 1080p@30fps,H.264 || 1080p30 H.264/MPEG-4 AVC high-profile decoder and encoder<br />
|-<br />
| Video input|| || A CSI input connector Camera||A CSI input connector Camera || CSI camera connector <br />
|-<br />
| Video Outputs |||| mini HDMI 1.4,1080P@30fps, DHCP||mini HDMI 1.4,1080P@30fps, DHCP ||Mini HDMI and USB On-The-Go ports<br />
|-<br />
| Audio Output ||With built-in audio CODEC, including ADC×8 and DAC×2|| Mini HDMI ||Mini HDMI ||Mini HDMI<br />
|-<br />
| Power Source ||TYPE C 5V/2A or PoE power|| Micro USB with 5V/2A or PoE power||Micro USB with 5V/2A ||5V/2A<br />
|-<br />
| USB Ports|| one USB 2.0 OTG USB3.0 Type-C OTG || one USB 2.0 OTG ||one USB 2.0 OTG ||one USB 2.0 OTG <br />
|-<br />
| Buttons ||Recovery ,Reset || Power Button, Reset Button ||Power Button, Reset Button ||Composite video and reset headers<br />
|-<br />
| Low-level peripherals ||40 Pin + 12 Pin|| 40 Pins Header,compatible with Raspberry Pi 3 ||40 Pins Header,compatible with Raspberry Pi 3 ||40 PIN <br />
|-<br />
| uart GPIO\(1x3\) pin || UART, ground|| UART, ground ||UART, ground ||UART<br />
|-<br />
| LED ||Power led & Status led||Power led & Status led|| Power led & Status led ||Power Status LED<br />
|-<br />
| IR ||N/A ||N/A|| N/A ||N/A<br />
|-<br />
| Supported OS||linux ||android linux|| android linx|| Linux<br />
|-<br />
| Product size || 65mm X 52.5mm|| 65mm X 52.5mm||65mm × 30mm ||65mm x 30mm<br />
|-<br />
| Weight||30g ||30g|| 15g ||9g<br />
|- <br />
|}<br />
<br />
==GPIO PIN define ==<br />
===40 Pin GPIO define===<br />
<table class="wikitable"><br />
<tr style="font-weight:bold; text-align:center;"><br />
<th style="vertical-align:middle;"> RK3308B-S SOC<br />
Pin No.<br />
</th><br />
<th style="vertical-align:middle;"> Function3<br />
</th><br />
<th style="vertical-align:middle;"> Function2<br />
</th><br />
<th style="vertical-align:middle;"> Function1<br />
</th><br />
<th style="vertical-align:middle;background-color:#FF0;"> Pin#<br />
</th><br />
<th style="vertical-align:middle;background-color:#FF0;"> Pin#<br />
</th><br />
<th style="vertical-align:middle;"> Function1<br />
</th><br />
<th style="vertical-align:middle;"> Function2<br />
</th><br />
<th style="vertical-align:middle;"> Function3<br />
</th><br />
<th style="vertical-align:middle;"> RK3308B-S SOC <br />
Pin No. <br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> VCC_IO <br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#F00;"> 1<br />
</td><br />
<td style="vertical-align:middle;background-color:#F00;"> 2<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> VCC5V0_SYS<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> ADC_KEY_IN1<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 3<br />
</td><br />
<td style="vertical-align:middle;background-color:#F00;"> 4<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> VCC5V0_SYS<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 69<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SCLK_TX<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_A5<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 5<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 6<br />
</td><br />
<td style="vertical-align:middle;"> GPIO0_C1<br />
</td><br />
<td style="vertical-align:middle;"> SPDIF_TX<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> 17<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 70<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SCLK_RX<br />
</td><br />
<td style="vertical-align:middle;"> PDM_CLK<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_A6<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 7<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 8<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_A7<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_LRCK_TX<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> 71<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 68<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_8CH_MCLK<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_MCLK<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_A4<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 9<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 10<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B0<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_LRCK_RX<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> 72<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 73<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDO0<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B1<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 11<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 12<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B5<br />
</td><br />
<td style="vertical-align:middle;"> PDM_SDI0<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDI0<br />
</td><br />
<td style="vertical-align:middle;">77<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 74<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDO1<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B2<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 13<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 14<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B6<br />
</td><br />
<td style="vertical-align:middle;"> PDM_SDI1<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDI1<br />
</td><br />
<td style="vertical-align:middle;">78<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 75<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDO2<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B3<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 15<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 16<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B7<br />
</td><br />
<td style="vertical-align:middle;"> PDM_SDI2<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDI2<br />
</td><br />
<td style="vertical-align:middle;">79<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 76<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDO3<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B4<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 17<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 18<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_C0<br />
</td><br />
<td style="vertical-align:middle;"> PDM_SDI3<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDI3<br />
</td><br />
<td style="vertical-align:middle;">80<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> GND<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#000000; color:#f9f9f9;""> 19<br />
</td><br />
<td style="vertical-align:middle;background-color:#000000; color:#f9f9f9;""> 20<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> GND<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> LINEOUT_L<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 21<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 22<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> LINEOUT_R<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICBIAS1<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 23<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 24<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICBIAS2<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP1<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 25<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 26<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN1<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP2<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 27<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 28<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN2<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP3<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 29<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 30<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN3<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP4<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 31<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 32<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN4<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP5<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 33<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 34<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN5<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP6<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 35<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 36<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN6<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP7<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 37<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 38<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN7<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP8<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 39<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 40<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN8<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
</table><br />
<br />
=== 12 PIN GPIO ===<br />
<table class="wikitable"><br />
<tr style="font-weight:bold; text-align:center;"><br />
<th style="vertical-align:middle;"> RK3308B-S SOC<br />
Pin No.<br />
</th><br />
<th style="vertical-align:middle;"> Function4<br />
</th><br />
<th style="vertical-align:middle;"> Function3<br />
</th><br />
<th style="vertical-align:middle;"> Function2<br />
</th><br />
<th style="vertical-align:middle;"> Function1<br />
</th><br />
<th style="vertical-align:middle;background-color:#FF0;"> Pin#<br />
</th><br />
<th style="vertical-align:middle;background-color:#FF0;"> Pin#<br />
</th><br />
<th style="vertical-align:middle;"> Function1<br />
</th><br />
<th style="vertical-align:middle;"> Function2<br />
</th><br />
<th style="vertical-align:middle;"> Function3<br />
</th><br />
<th style="vertical-align:middle;"> Function4<br />
</th><br />
<th style="vertical-align:middle;"> RK3308B-S SOC<br />
Pin No. <br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 65<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> UART0_TX<br />
</td><br />
<td style="vertical-align:middle;"> SPI0_TX<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_A1<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 1<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 2<br />
</td><br />
<td style="vertical-align:middle;"> GPIO0_B3<br />
</td><br />
<td style="vertical-align:middle;"> I2C1_SDA<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;">11<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 64<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> UART0_RX<br />
</td><br />
<td style="vertical-align:middle;"> SPI0_RX<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_A0<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 3<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 4<br />
</td><br />
<td style="vertical-align:middle;"> GPIO0_B4<br />
</td><br />
<td style="vertical-align:middle;"> I2C1_SCL<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;">12<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 56<br />
</td><br />
<td style="vertical-align:middle;"> SPI2_CS<br />
</td><br />
<td style="vertical-align:middle;"> I2C0_SCL<br />
</td><br />
<td style="vertical-align:middle;"> UART1_TX<br />
</td><br />
<td style="vertical-align:middle;"> GPIO1_D1<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 5<br />
</td><br />
<td style="vertical-align:middle;background-color:#F00;"> 6<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> VCC_IO<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 57<br />
</td><br />
<td style="vertical-align:middle;"> SPI2_CLK<br />
</td><br />
<td style="vertical-align:middle;"> I2C0_SDA<br />
</td><br />
<td style="vertical-align:middle;"> UART1_TX<br />
</td><br />
<td style="vertical-align:middle;"> GPIO1_D0<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 7<br />
</td><br />
<td style="vertical-align:middle;background-color:#000000; color:#f9f9f9;""> 8<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> GND<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 55<br />
</td><br />
<td style="vertical-align:middle;"> JTAG_TMS<br />
</td><br />
<td style="vertical-align:middle;"> UART2_TX_M0<br />
</td><br />
<td style="vertical-align:middle;"> SPI2_TX<br />
</td><br />
<td style="vertical-align:middle;"> GPIO1_C7<br />
</td><br />
<td style="vertical-align:middle;background-color:#ff8d02;"> 9<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 10<br />
</td><br />
<td style="vertical-align:middle;"> GPIO0_B7<br />
</td><br />
<td style="vertical-align:middle;"> PWM2<br />
</td><br />
<td style="vertical-align:middle;"> I2C3_SDA<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> 15<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 54<br />
</td><br />
<td style="vertical-align:middle;"> JTAG_TCK<br />
</td><br />
<td style="vertical-align:middle;"> UART2_RX_M0<br />
</td><br />
<td style="vertical-align:middle;"> SPI2_RX<br />
</td><br />
<td style="vertical-align:middle;"> GPIO1_C6<br />
</td><br />
<td style="vertical-align:middle;background-color:#ff8d02;"> 11<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 12<br />
</td><br />
<td style="vertical-align:middle;"> GPIO0_C0<br />
</td><br />
<td style="vertical-align:middle;"> PWM3<br />
</td><br />
<td style="vertical-align:middle;">IR_RX<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;">16<br />
</td><br />
</tr><br />
</table><br />
<br />
==PoE support ==<br />
<br />
we deign a IEEE 802.3at PoE module for BPI-P2 Zero ,easy to support PoE function,more spec ,please check BPI-9600 PoE module spec<br />
<br />
[[BPI-9600 IEEE 802.3af PoE module]]<br />
<br />
=Resources=<br />
==Source code==<br />
*linux-5.10.110 kernel BSP Source code on github :https://github.com/ArmSoM/armsom-p2pro-bsp<br />
== Documents==<br />
*RK3308 datasheet: https://drive.google.com/file/d/1TsKFmItM1FJ-ziEvUkbcZxUsbaKYhsRq/view?usp=sharing<br />
*BPI-P2 PRO SCH, DXF,SMD file<br />
::Baidu Cloud: https://pan.baidu.com/s/1AuWYgWQ8OBVPHfF-wdWaAA?pwd=8888 (pincode:8888)<br />
::Google Drive: https://drive.google.com/drive/folders/1QC-3x8bdQePFz1z70rapNwB2Jlb5orvh?usp=sharing<br />
<br />
*Banana-Pi BPi-P2 Pro RockChip RK3308 SBC Setup:https://uglyscale.press/2023/10/01/banana-pi-bpi-p2-pro-setup/<br />
<br />
=Image Release=<br />
<br />
==Linux==<br />
<br />
*All image for BPI-P2 pro :<br />
<br />
::Baidu cloud : https://pan.baidu.com/s/1wvy4iBUu8-E3PsH8YXmNOQ?pwd=arms Pincode: arms<br />
::Google drive:https://drive.google.com/drive/folders/1o1v_-rDOiKY41hR4mu9D5QZ5X8kiOPe5?usp=drive_link<br />
<br />
*BPI-P2 pro Tools<br />
::Baidu cloud :https://pan.baidu.com/s/1ocWvRUz4IFCoZBjSx7MavQ?pwd=arms Pincode:arms<br />
::Google drive: https://drive.google.com/drive/folders/1WJxMzmInB1xr3DpDQXYblU0iM9RbsmPF?usp=drive_link<br />
<br />
===Buildroot===<br />
<br />
*Banana Pi BPI-P2 pro buildroot image update<br />
:Baidu cloud: https://pan.baidu.com/s/1V8ixOF8vdtuPvzjMGwOcjA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1vgu6tVB1nxdnZNIkogGVaadIGdtbcRS0?usp=sharing<br />
<br />
===Debian===<br />
*Banana Pi BPI-P2 pro debian11 image update 2023-9-13<br />
::Baidu Cloud: https://pan.baidu.com/s/15VnIC70ijKvKCjlS4pe4RQ?pwd=8888 (pincode:8888)<br />
::Google Drive: https://drive.google.com/file/d/1IWvlzRcNH1Bkjw5Vl-_Kyr0Y86kVw_U6/view?usp=sharing<br />
<br />
===Armbian===<br />
<br />
=Easy to buy sample=<br />
<br />
*BPI Aliexpress shop:https://www.aliexpress.com/item/1005005928295640.html?<br />
*SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005005928204793.html?<br />
*Taobao shop : https://item.taobao.com/item.htm?spm=a2126o.success.0.0.264d4831aZTy3l&id=732760740787<br />
*OEM&ODM Customized product: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-P2_Pro&diff=17150
Banana Pi BPI-P2 Pro
2024-03-22T03:41:31Z
<p>Sinovoip: /* Debian */</p>
<hr />
<div>[[zh:香蕉派_BPI-P2 Pro]]<br />
=Introduction=<br />
[[File:Banana_Pi_BPI-P2_Pro_1.jpg|thumb|[[Banana Pi BPI-P2 Pro]] with Rockchip RK3308]]<br />
[[File:BPI-F2_zero_1.JPG|thumb|[[Banana Pi BPI-P2 Zero]] with Allwinner H2+ chip]]<br />
[[File:Zero_wih_H3_1.jpg|thumb|Overview zero with Allwinner H3 chip]]<br />
[[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design]]<br />
[[File:Banana_Pi_BPI-M2S_1.jpg|thumb|[[Banana Pi BPI-M2S]] Amlogic A311D/S922 chip]]<br />
[[File:BPi-9600 Poe 4.jpg|thumb|[[BPI-9600 IEEE 802.3af PoE module]](5V 2A)]]<br />
[[File:BPI-7402_IEEE_802.3at_PoE_module_1.jpg|thumb|[[BPI-7402 IEEE 802.3at PoE module]]]]<br />
<br />
[[File:Banana_Pi_BPI-P2_Pro_banner_1.jpg]]<br />
<br />
Banana Pi BPI-P2 pro(Armsom Pro) is a development board based on RK3308B-S chip. With a high-performance 4-core ARM Cortex-A35 processor, 512M RAM(16bit DDR2/DDR3/DDR3L/LPDDR2). and 8G eMMC onboard ,support PoE function.The chip has a wealth of interfaces, such as I2S,PCM,TDM, I2C,UART,SPDIF,HDMI ARC, etc., to meet the application of different products. RK3308 has a rich voice interface, its own eight ADC interface, multi-channel I2S and multi-channel PDM interface. This not only provides customers with a wealth of interface choices, but also can reduce the hardware design difficulty and hardware design cost of products.<br />
<br />
Banana Pi BPI-P2 Pro has 512MB DDR3 memory size, operating system and storage can use SD card or emmc. BPI-P2 Pro is available as an onboard storage version with 1Gb/2Gb/4Gb/8Gb NAND flash<br />
<br />
==Application direction==<br />
* Maker DIY <br />
*IoT Smart Internet of Things<br />
*Intelligent speech recognition<br />
*Man-machine interface<br />
*Industrial control<br />
*Intelligent robot<br />
<br />
==Key Features==<br />
<br />
* CPU: 64bits Quad-core Arm Cortex-A35 Rockchip RK3308B-S<br />
* 512 DDR3 SDRAM<br />
* 8G eMMC flash onboard<br />
* WiFi&BT: 802.11 a/b/g/n/ac & BT5.0 (AP6256)<br />
* 40 PIN GPIO, includes UART, SPI, I2C, IO etc<br />
* 100M LAN <br />
* IEEE 802.3af PoE standard PoE module support<br />
* Audio: Supports rich audio interfaces, such as MIC/PDM/SPDIF/I2S<br />
<br />
==Getting Start==<br />
::[http://wiki.armsom.org/index.php/Getting_Started_with_ArmSoM-p2_pro Getting Start with BPI-P2 Pro]<br />
<br />
=Hardware=<br />
<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-P2_Pro.jpg]]<br />
<br />
==Hardware spec==<br />
<br />
{| class="wikitable"<br />
|<br />
|Banana Pi BPI-P2 pro<br />
|-<br />
|SOC ||RockChip RK3308B-S <br />
|-<br />
|CPU ||Quad-core ARM Cortex-A35 <br />
|-<br />
|GPU ||none<br />
|-<br />
|ROM ||512MB<br />
|-<br />
|RAM<br />
|8GB eMMC<br />
|-<br />
|TF Card ||TF card (Max 64GB)<br />
|-<br />
|Network ||100M LAN<br />
|-<br />
|PoE power ||PoE function support,Output Voltage 5V, Output Power 10W<br />
|-<br />
|WiFi ||AP6256<br />
|-<br />
|Audio Output ||With built-in audio CODEC, including ADC×8 and DAC×2<br />
|-<br />
|Power Source ||TYPE C 5V/2A or PoE power<br />
|-<br />
|USB ||1xUSB 2.0 <br />
1xType-C<br />
|-<br />
|Others|| Fan、RTC、LED、debug<br />
|-<br />
|Button ||Power Button、Reset Button、 Recovery Button、Root Button<br />
|-<br />
|Low-level peripherals ||40 Pin + 12 Pin<br />
|-<br />
|uart GPIO\(1x3\) pin ||UART, ground<br />
|-<br />
|LED ||Power led & Status led<br />
|-<br />
|Product size ||65mm X 52.5mm<br />
|-<br />
|Weight ||30g<br />
|}<br />
<br />
<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="5"| '''HardWare Specification of Banana pi BPI-P2 Zero VS BPI-M2 zero VS Raspberry Pi Zero W'''<br />
|-<br />
|Module||'''[[Banana Pi BPI-P2 Pro]]'''||'''[[Banana Pi BPI-P2 Zero]]'''|| '''[[Banana Pi BPI-M2 ZERO]]''' || '''Raspberry Pi Zero W'''<br />
|-<br />
|CPU ||Quad-core Arm Cortex-A35 Rockchip RK3308||Allwinner H3/H2+ Quad-core Cortex-A7 H265/HEVC 1080P ||Allwinner H3/H2+ Quad-core Cortex-A7 H265/HEVC 1080P ||Broadcom BCM2835 32 Bit 1 GHz ARM1176JZF-S single-core<br />
|-<br />
|GPU ||NOPE || Mali400MP2 GPU @600MHz,Supports OpenGL ES 2.0|| Mali400MP2 GPU @600MHz,Supports OpenGL ES 2.0 ||VideoCore IV<br />
|-<br />
| Memory \(SDRAM\) ||512M|| 512M DDR3(shared with GPU)||512M DDR3(shared with GPU) ||512 MB DDR2<br />
|-<br />
| Onboard Storage ||TF card \(Max. 64GB\)||TF card \(Max. 64GB\) ||TF card \(Max. 64GB\) ||TF card \(Max. 64GB\)<br />
|-<br />
| Onboard Network || 100M LAN|| 100M LAN||NOPE (but can extension with PIN define) ||NOPE<br />
|-<br />
| PoE power || PoE function support || PoE function support ||NOPE ||NOPE<br />
|-<br />
| Onboard flash || 8G eMMC|| 8G eMMC||NOPE||NOPE<br />
|-<br />
| Onboard WIFI ||SDIO AP6255 ||SDIO AP6212(option AP6181、AP6335) ||SDIO AP6212(option AP6181、AP6335) ||802.11n wireless, Bluetooth 4.1<br />
|-<br />
|Video decoding|| ||1080p@60fps,H.264 Video encoding 1080p@30fps,H.264|| 1080p@60fps,H.264 Video encoding 1080p@30fps,H.264 || 1080p30 H.264/MPEG-4 AVC high-profile decoder and encoder<br />
|-<br />
| Video input|| || A CSI input connector Camera||A CSI input connector Camera || CSI camera connector <br />
|-<br />
| Video Outputs |||| mini HDMI 1.4,1080P@30fps, DHCP||mini HDMI 1.4,1080P@30fps, DHCP ||Mini HDMI and USB On-The-Go ports<br />
|-<br />
| Audio Output ||With built-in audio CODEC, including ADC×8 and DAC×2|| Mini HDMI ||Mini HDMI ||Mini HDMI<br />
|-<br />
| Power Source ||TYPE C 5V/2A or PoE power|| Micro USB with 5V/2A or PoE power||Micro USB with 5V/2A ||5V/2A<br />
|-<br />
| USB Ports|| one USB 2.0 OTG USB3.0 Type-C OTG || one USB 2.0 OTG ||one USB 2.0 OTG ||one USB 2.0 OTG <br />
|-<br />
| Buttons ||Recovery ,Reset || Power Button, Reset Button ||Power Button, Reset Button ||Composite video and reset headers<br />
|-<br />
| Low-level peripherals ||40 Pin + 12 Pin|| 40 Pins Header,compatible with Raspberry Pi 3 ||40 Pins Header,compatible with Raspberry Pi 3 ||40 PIN <br />
|-<br />
| uart GPIO\(1x3\) pin || UART, ground|| UART, ground ||UART, ground ||UART<br />
|-<br />
| LED ||Power led & Status led||Power led & Status led|| Power led & Status led ||Power Status LED<br />
|-<br />
| IR ||N/A ||N/A|| N/A ||N/A<br />
|-<br />
| Supported OS||linux ||android linux|| android linx|| Linux<br />
|-<br />
| Product size || 65mm X 52.5mm|| 65mm X 52.5mm||65mm × 30mm ||65mm x 30mm<br />
|-<br />
| Weight||30g ||30g|| 15g ||9g<br />
|- <br />
|}<br />
<br />
==GPIO PIN define ==<br />
===40 Pin GPIO define===<br />
<table class="wikitable"><br />
<tr style="font-weight:bold; text-align:center;"><br />
<th style="vertical-align:middle;"> RK3308B-S SOC<br />
Pin No.<br />
</th><br />
<th style="vertical-align:middle;"> Function3<br />
</th><br />
<th style="vertical-align:middle;"> Function2<br />
</th><br />
<th style="vertical-align:middle;"> Function1<br />
</th><br />
<th style="vertical-align:middle;background-color:#FF0;"> Pin#<br />
</th><br />
<th style="vertical-align:middle;background-color:#FF0;"> Pin#<br />
</th><br />
<th style="vertical-align:middle;"> Function1<br />
</th><br />
<th style="vertical-align:middle;"> Function2<br />
</th><br />
<th style="vertical-align:middle;"> Function3<br />
</th><br />
<th style="vertical-align:middle;"> RK3308B-S SOC <br />
Pin No. <br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> VCC_IO <br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#F00;"> 1<br />
</td><br />
<td style="vertical-align:middle;background-color:#F00;"> 2<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> VCC5V0_SYS<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> ADC_KEY_IN1<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 3<br />
</td><br />
<td style="vertical-align:middle;background-color:#F00;"> 4<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> VCC5V0_SYS<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 69<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SCLK_TX<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_A5<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 5<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 6<br />
</td><br />
<td style="vertical-align:middle;"> GPIO0_C1<br />
</td><br />
<td style="vertical-align:middle;"> SPDIF_TX<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> 17<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 70<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SCLK_RX<br />
</td><br />
<td style="vertical-align:middle;"> PDM_CLK<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_A6<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 7<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 8<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_A7<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_LRCK_TX<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> 71<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 68<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_8CH_MCLK<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_MCLK<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_A4<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 9<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 10<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B0<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_LRCK_RX<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> 72<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 73<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDO0<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B1<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 11<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 12<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B5<br />
</td><br />
<td style="vertical-align:middle;"> PDM_SDI0<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDI0<br />
</td><br />
<td style="vertical-align:middle;">77<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 74<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDO1<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B2<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 13<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 14<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B6<br />
</td><br />
<td style="vertical-align:middle;"> PDM_SDI1<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDI1<br />
</td><br />
<td style="vertical-align:middle;">78<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 75<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDO2<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B3<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 15<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 16<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B7<br />
</td><br />
<td style="vertical-align:middle;"> PDM_SDI2<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDI2<br />
</td><br />
<td style="vertical-align:middle;">79<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 76<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDO3<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_B4<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 17<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 18<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_C0<br />
</td><br />
<td style="vertical-align:middle;"> PDM_SDI3<br />
</td><br />
<td style="vertical-align:middle;"> I2S0_SDI3<br />
</td><br />
<td style="vertical-align:middle;">80<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> GND<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#000000; color:#f9f9f9;""> 19<br />
</td><br />
<td style="vertical-align:middle;background-color:#000000; color:#f9f9f9;""> 20<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> GND<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> LINEOUT_L<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 21<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 22<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> LINEOUT_R<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICBIAS1<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 23<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 24<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICBIAS2<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP1<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 25<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 26<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN1<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP2<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 27<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 28<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN2<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP3<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 29<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 30<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN3<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP4<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 31<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 32<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN4<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP5<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 33<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 34<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN5<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP6<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 35<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 36<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN6<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP7<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 37<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 38<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN7<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> MICP8<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 39<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 40<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> MICN8<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
</table><br />
<br />
=== 12 PIN GPIO ===<br />
<table class="wikitable"><br />
<tr style="font-weight:bold; text-align:center;"><br />
<th style="vertical-align:middle;"> RK3308B-S SOC<br />
Pin No.<br />
</th><br />
<th style="vertical-align:middle;"> Function4<br />
</th><br />
<th style="vertical-align:middle;"> Function3<br />
</th><br />
<th style="vertical-align:middle;"> Function2<br />
</th><br />
<th style="vertical-align:middle;"> Function1<br />
</th><br />
<th style="vertical-align:middle;background-color:#FF0;"> Pin#<br />
</th><br />
<th style="vertical-align:middle;background-color:#FF0;"> Pin#<br />
</th><br />
<th style="vertical-align:middle;"> Function1<br />
</th><br />
<th style="vertical-align:middle;"> Function2<br />
</th><br />
<th style="vertical-align:middle;"> Function3<br />
</th><br />
<th style="vertical-align:middle;"> Function4<br />
</th><br />
<th style="vertical-align:middle;"> RK3308B-S SOC<br />
Pin No. <br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 65<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> UART0_TX<br />
</td><br />
<td style="vertical-align:middle;"> SPI0_TX<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_A1<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 1<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 2<br />
</td><br />
<td style="vertical-align:middle;"> GPIO0_B3<br />
</td><br />
<td style="vertical-align:middle;"> I2C1_SDA<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;">11<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 64<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"> UART0_RX<br />
</td><br />
<td style="vertical-align:middle;"> SPI0_RX<br />
</td><br />
<td style="vertical-align:middle;"> GPIO2_A0<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 3<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 4<br />
</td><br />
<td style="vertical-align:middle;"> GPIO0_B4<br />
</td><br />
<td style="vertical-align:middle;"> I2C1_SCL<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;">12<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 56<br />
</td><br />
<td style="vertical-align:middle;"> SPI2_CS<br />
</td><br />
<td style="vertical-align:middle;"> I2C0_SCL<br />
</td><br />
<td style="vertical-align:middle;"> UART1_TX<br />
</td><br />
<td style="vertical-align:middle;"> GPIO1_D1<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 5<br />
</td><br />
<td style="vertical-align:middle;background-color:#F00;"> 6<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> VCC_IO<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 57<br />
</td><br />
<td style="vertical-align:middle;"> SPI2_CLK<br />
</td><br />
<td style="vertical-align:middle;"> I2C0_SDA<br />
</td><br />
<td style="vertical-align:middle;"> UART1_TX<br />
</td><br />
<td style="vertical-align:middle;"> GPIO1_D0<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 7<br />
</td><br />
<td style="vertical-align:middle;background-color:#000000; color:#f9f9f9;""> 8<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> GND<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 55<br />
</td><br />
<td style="vertical-align:middle;"> JTAG_TMS<br />
</td><br />
<td style="vertical-align:middle;"> UART2_TX_M0<br />
</td><br />
<td style="vertical-align:middle;"> SPI2_TX<br />
</td><br />
<td style="vertical-align:middle;"> GPIO1_C7<br />
</td><br />
<td style="vertical-align:middle;background-color:#ff8d02;"> 9<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 10<br />
</td><br />
<td style="vertical-align:middle;"> GPIO0_B7<br />
</td><br />
<td style="vertical-align:middle;"> PWM2<br />
</td><br />
<td style="vertical-align:middle;"> I2C3_SDA<br />
</td><br />
<td style="vertical-align:middle;"> <br />
</td><br />
<td style="vertical-align:middle;"> 15<br />
</td><br />
</tr><br />
<tr><br />
<td style="vertical-align:middle;"> 54<br />
</td><br />
<td style="vertical-align:middle;"> JTAG_TCK<br />
</td><br />
<td style="vertical-align:middle;"> UART2_RX_M0<br />
</td><br />
<td style="vertical-align:middle;"> SPI2_RX<br />
</td><br />
<td style="vertical-align:middle;"> GPIO1_C6<br />
</td><br />
<td style="vertical-align:middle;background-color:#ff8d02;"> 11<br />
</td><br />
<td style="vertical-align:middle;background-color:#FF0;"> 12<br />
</td><br />
<td style="vertical-align:middle;"> GPIO0_C0<br />
</td><br />
<td style="vertical-align:middle;"> PWM3<br />
</td><br />
<td style="vertical-align:middle;">IR_RX<br />
</td><br />
<td style="vertical-align:middle;"><br />
</td><br />
<td style="vertical-align:middle;">16<br />
</td><br />
</tr><br />
</table><br />
<br />
==PoE support ==<br />
<br />
we deign a IEEE 802.3at PoE module for BPI-P2 Zero ,easy to support PoE function,more spec ,please check BPI-9600 PoE module spec<br />
<br />
[[BPI-9600 IEEE 802.3af PoE module]]<br />
<br />
=Resources=<br />
==Source code==<br />
*linux-5.10.110 kernel BSP Source code on github :https://github.com/ArmSoM/armsom-p2pro-bsp<br />
== Documents==<br />
*RK3308 datasheet: https://drive.google.com/file/d/1TsKFmItM1FJ-ziEvUkbcZxUsbaKYhsRq/view?usp=sharing<br />
*BPI-P2 PRO SCH, DXF,SMD file<br />
::Baidu Cloud: https://pan.baidu.com/s/1AuWYgWQ8OBVPHfF-wdWaAA?pwd=8888 (pincode:8888)<br />
::Google Drive: https://drive.google.com/drive/folders/1QC-3x8bdQePFz1z70rapNwB2Jlb5orvh?usp=sharing<br />
<br />
*Banana-Pi BPi-P2 Pro RockChip RK3308 SBC Setup:https://uglyscale.press/2023/10/01/banana-pi-bpi-p2-pro-setup/<br />
<br />
=Image Release=<br />
<br />
==Linux==<br />
<br />
*All image for BPI-P2 pro :<br />
<br />
::Baidu cloud : https://pan.baidu.com/s/1wvy4iBUu8-E3PsH8YXmNOQ?pwd=arms Pincode: arms<br />
::Google drive:https://drive.google.com/drive/folders/1o1v_-rDOiKY41hR4mu9D5QZ5X8kiOPe5?usp=drive_link<br />
<br />
*BPI-P2 pro Tools<br />
::Baidu cloud :https://pan.baidu.com/s/1ocWvRUz4IFCoZBjSx7MavQ?pwd=arms Pincode:arms<br />
::Google drive: https://drive.google.com/drive/folders/1WJxMzmInB1xr3DpDQXYblU0iM9RbsmPF?usp=drive_link<br />
<br />
===Buildroot===<br />
<br />
*Banana Pi BPI-P2 pro buildroot image update<br />
:Baidu cloud: https://pan.baidu.com/s/1V8ixOF8vdtuPvzjMGwOcjA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1vgu6tVB1nxdnZNIkogGVaadIGdtbcRS0?usp=sharing<br />
<br />
===Debian===<br />
*Banana Pi BPI-P2 pro debian11 image update 2023-9-13<br />
::Baidu Cloud: https://pan.baidu.com/s/15VnIC70ijKvKCjlS4pe4RQ?pwd=8888 (pincode:8888)<br />
::Google Drive: https://drive.google.com/file/d/1IWvlzRcNH1Bkjw5Vl-_Kyr0Y86kVw_U6/view?usp=sharing<br />
<br />
===Armbian===<br />
*BPI-P2 pro armbian image<br />
::Baidu cloud : https://pan.baidu.com/s/1wvy4iBUu8-E3PsH8YXmNOQ?pwd=arms Pincode: arms<br />
::Google drive:https://drive.google.com/drive/folders/1vkIgdQTS632QeToFfyqUcMjvxrB3qbuB?usp=drive_link<br />
<br />
=Easy to buy sample=<br />
<br />
*BPI Aliexpress shop:https://www.aliexpress.com/item/1005005928295640.html?<br />
*SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005005928204793.html?<br />
*Taobao shop : https://item.taobao.com/item.htm?spm=a2126o.success.0.0.264d4831aZTy3l&id=732760740787<br />
*OEM&ODM Customized product: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M7&diff=17149
Banana Pi BPI-M7
2024-03-22T03:39:22Z
<p>Sinovoip: /* Documents */</p>
<hr />
<div>[[zh:香蕉派_BPI-M7]]<br />
<br />
=Introduction=<br />
[[File:Banana_Pi_BPI-M7_1.jpg|thumb|[[Banana Pi BPI-M7]] with Rockchip RK3588 chip design]]<br />
[[File:Banana Pi BPI-W3 LGA 1.jpg|thumb|[[Banana Pi BPI-W3]] with Rockchip RK3588 chip design]]<br />
[[File:Banana_Pi_BPI-RK3588-LGA_5.jpg|thumb| RK3588 LGA BGA core board with Rockchip RK3588]]<br />
[[File:BPI-RK3588_board_core_2.jpg|thumb|[[BPI-RK3588 Core board and development Kit]] Gold finger interface core board]]<br />
[[File:BPI-RK3588_board_kit_2.jpg|thumb|[[BPI-RK3588 Core board and development Kit]]]]<br />
[[File:BPI-RK3588_core_1.jpg|thumb|[[BPI-RK3588 Core board and development Kit]] Stamp hole Core board]]<br />
[[File:BPI-RK3588_core_4.jpg|thumb|BPI-RK3588 [[BPI-RK3588 Core board and development Kit]] Stamp hole Core board and development Kit]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
<br />
Banana Pi BPI-M7 with Rockchip RK3588, 8/16/32G,RAM 64/128G eMMC,wifi6 support . 2x2.5G port ,1xHDMIout ,2x USB3.0,2xTYPE-C,2x MIPI CSI interface and 1x MIPI DSI interface, 1x M.2 KEY M interface,40 PIN GPIO ,Mini size just 92x62mm.<br />
<br />
==Key Features==<br />
<br />
*PI-co ITX form factor(2.5 inch, 92 x 62mm)<br />
*RK3588 powered, 8nm manufacturing process<br />
::Quad A76 2.4Ghz + Quad A55 1.8Ghz<br />
::Mali G610MC4 GPU(up to 5 channel 4K UI)<br />
::6T NPU<br />
::8K 10bit decoder, 8K encoder<br />
*Support WiFi 6 and BT5.2<br />
*Support PCIe 3.0 x4 NVMe SSD<br />
*Triple display support(with HDR)<br />
*One HDMI 2.1 up to 8K@60FPS<br />
*One USB C with DP up to 8K@30FPS<br />
*One MIPI DSI up to 4K@60fps<br />
*Two 2.5G Ethernet<br />
*2x USB 3.0 interface<br />
*2x MIPI CSI camera interface<br />
*Offer 8GB/16GB/32GB(LPDDR4x) ram options and 64/128 eMMC options<br />
<br />
==Getting Start==<br />
[https://docs.banana-pi.org/en/BPI-M7/GettingStarted_BPI-M7 Getting Started BPI-M7]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-M7_interface.jpg]]<br />
<br />
==Hardware spec==<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-M7'''<br />
|-<br />
|SOC ||RockChip RK3588<br />
|-<br />
|CPU ||RK3588 Quad-Core Cortex-A76@ 2.4GHz+Quad-CoreCortex-A55@ 1.8GHz,8nm process<br />
|-<br />
|GPU ||GPU Mali-G610 MP4 (4x256KB L2 Cache) Supports OpenGL ES3.2/OpenCL2.2/Vulkan1.1<br />
|-<br />
|NPU ||6 TOPS@INT8(3 NPU core) <br />
|-<br />
| ||Supports INT4/INT8/INT16 mixed computing<br />
|-<br />
| ||Supports frameworks like TensorFlow, MXNet, PyTorch, Caffe, Tflite, Onnx NN, Android NN, etc<br />
|-<br />
|VPU/Codec ||Hardware Decode: 8K@60fps H.265/VP9/AVS2、 8K@30fps H.264 AVC/MVC、 4K@60fps AV1、1080P@60fps MPEG-2/-1/VC-1/VP8<br />
|-<br />
| ||Hardware Encode:8K@30fps H.265 / H.264<br />
|-<br />
|ISP ||Integrated 48MP ISP with HDR&3DNR<br />
|-<br />
|RAM ||8GB/16GB/32GB(max 32GB )64bit LPDDR4/LPDDR4x,default 8GB LPDDR4x<br />
|-<br />
|Flash ||32GB/64GB/128GB eMMC,default 64GB eMMC,Supports MicroSD card expansion<br />
|-<br />
|PCIe ||1x M.2 Key M (PCIe 3.0 4-lanes). Expandable SSD support for 2280/2260/2242/2230 M.2 SSD cards, default 2280<br />
|-<br />
|Networking ||2x 2.5G Ethernet<br />
|-<br />
| ||Onboard IEEE 802.11a/b/g/n/ac/ax WIFI6 and BT5 (AP6275P)<br />
|-<br />
|Video Out||1x HDMI 2.1, supports 8K@60fps<br />
|-<br />
| ||1x MIPI DSI up to 4K@60fps<br />
|-<br />
| ||1x DP 1.4 up to 8K@30fps<br />
|-<br />
|Video In ||2x 2-lane MIPI CSI, up to 2.5Gbps per lane<br />
|-<br />
|Audio ||1x HDMI audio out<br />
|-<br />
| ||1x HP audio out<br />
|-<br />
| ||1x Type-C 3.1 (DP1.4) audio out<br />
|-<br />
|USB ||1x USB 3.0 (USB 3.1 Gen 1), equivalent to USB 3.2 Gen 1/USB 3.0, up to 5Gbps<br />
|-<br />
| ||1x USB Type-C 3.1(DP1.4/OTG)<br />
|-<br />
| ||1x USB 2.0 High(480Mbps)/Full(12Mbps)/Low-Speed(1.5Mbps) modes<br />
|-<br />
|40-pin ||Fully compatible with Raspberry Pi 40-pin header for connecting abundant add-on modules<br />
|-<br />
| ||Supports UART/SPI/I2C/I2S/PWM/ADC/5V Power/3.3V Power<br />
|-<br />
|Other ||1x 5V fan interface<br />
|-<br />
| ||1x battery connector for low power RTC chip HYM8563TS<br />
|-<br />
| ||2x LEDs - blue LED blinks on system start, red LED user controllable<br />
|-<br />
|Power Input ||USB Type-C PD 2.0, 9V/2A, 12V/2A, 15V/2A<br />
|-<br />
|Buttons ||1x PWRON button for sleep/wake,1x Reset button for reboot,1x Maskrom button for maskrom burn-in mode<br />
|-<br />
|OS Support ||Official: :Android 12.0,Debian11,Buildroot<br />
|-<br />
| ||3rd Party:Armbian,Ubuntu 20.04,Ubuntu22.04,Kylin OS<br />
|-<br />
|Dimensions ||92 mm x 62mm<br />
|-<br />
|Operating temperature||0℃ ~ 80℃<br />
|}<br />
<br />
== Case design ==<br />
<br />
[[File:Banana_Pi_BPI-M7_Case_1.jpg]]<br />
<br />
=Resources=<br />
<br />
==Source code==<br />
* Linux kernel https://github.com/ArmSoM/linux-rockchip<br />
* uboot: https://github.com/ArmSoM/u-boot<br />
<br />
==Documents==<br />
*BPI-M7 Component diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1Klh1xt_2Qkd8ZKZ6EIbEbg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/13WhoyLEXPj6DJKkY3ceRTgJQR7U53NOn?usp=sharing<br />
<br />
*BPI-M7 2D CAD<br />
:Baidu Cloud: https://pan.baidu.com/s/1spHZGhDMC4TW9G9HTei7rA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1rh1abnNbTly3O69uWi0fQsSZdRvm6_oO?usp=sharing<br />
<br />
*BPI-M7 Schematic<br />
:Baidu Cloud: https://pan.baidu.com/s/17_2BTwBnIsmeCV5V7xNXRA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1-Fz3oNMEvrztWFvQs_RUv_kGpvyORcaI/view?usp=sharing<br />
<br />
*Rockchip RK3588 datasheet<br />
:Baidu cloud: https://pan.baidu.com/s/1GeskKfLFwjgmz0pgt7sICg?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1l1YmUdBaLuDkJma3CYZJWjYug9D-jV_4?usp=sharing<br />
<br />
*BPI-M7 GPU and CPU performance test:https://www.youtube.com/watch?v=C4ofIZLixpM<br />
*BPI-M7 Rockchip RK3588 open source SBC run istoreos demo:https://www.youtube.com/watch?v=I2SSCT1Xj_U<br />
*BPI-M7 SBC ubuntu20.04 Linux system adaptation is complete:https://www.youtube.com/watch?v=60XQlSF3_20&t=10s<br />
<br />
=Image Release=<br />
<br />
==Android==<br />
<br />
<br />
==Linux==<br />
===Ubuntu===<br />
*ubuntu-22.04.3-preinstalled-desktop-arm64-bpi-m7_armsom-sige7.img-20240131<br />
:Baidu Cloud: https://pan.baidu.com/s/1qsXOSuaA14ODvFhetaLGIw?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1MXqanJ0zd62XpOwRxqmlx9xuqbonhIKW?usp=sharing<br />
<br />
*ubuntu-22.04.3-preinstalled-server-arm64-bpi-m7_armsom-sige7.img-20240131<br />
:Baidu Cloud: https://pan.baidu.com/s/1RlTTgdbZdv5mqCy7iWi8Yw?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1JtsD2Djx7wGZa_dLYNC86JAE9N7p7v_s?usp=sharing<br />
<br />
===Debian===<br />
*BPI-M7_armsom-sige7-debian-bullseye-xfce4-arm64-20240129<br />
:Baidu Cloud: https://pan.baidu.com/s/1ZLoUfPHYP9GF7aJ5uGEpcw?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1r9wXInxqDehEq2Qp98dozbKMCeMfKvLr/view?usp=sharing<br />
<br />
==BPI-M7 Tools==<br />
<br />
=Easy to buy sample=<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.com/item/1005006504845998.html?spm<br />
:Bipai Aliexpress shop: https://www.aliexpress.com/item/1005006504967822.html?spm<br />
:Taobao Shop: https://item.taobao.com/item.htm?id=765236561383&spm=a1z10.5-c-s.w4002-25059194413.11.76fe5332n69l2T<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M7&diff=17148
Banana Pi BPI-M7
2024-03-22T03:38:37Z
<p>Sinovoip: /* Documents */</p>
<hr />
<div>[[zh:香蕉派_BPI-M7]]<br />
<br />
=Introduction=<br />
[[File:Banana_Pi_BPI-M7_1.jpg|thumb|[[Banana Pi BPI-M7]] with Rockchip RK3588 chip design]]<br />
[[File:Banana Pi BPI-W3 LGA 1.jpg|thumb|[[Banana Pi BPI-W3]] with Rockchip RK3588 chip design]]<br />
[[File:Banana_Pi_BPI-RK3588-LGA_5.jpg|thumb| RK3588 LGA BGA core board with Rockchip RK3588]]<br />
[[File:BPI-RK3588_board_core_2.jpg|thumb|[[BPI-RK3588 Core board and development Kit]] Gold finger interface core board]]<br />
[[File:BPI-RK3588_board_kit_2.jpg|thumb|[[BPI-RK3588 Core board and development Kit]]]]<br />
[[File:BPI-RK3588_core_1.jpg|thumb|[[BPI-RK3588 Core board and development Kit]] Stamp hole Core board]]<br />
[[File:BPI-RK3588_core_4.jpg|thumb|BPI-RK3588 [[BPI-RK3588 Core board and development Kit]] Stamp hole Core board and development Kit]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
<br />
Banana Pi BPI-M7 with Rockchip RK3588, 8/16/32G,RAM 64/128G eMMC,wifi6 support . 2x2.5G port ,1xHDMIout ,2x USB3.0,2xTYPE-C,2x MIPI CSI interface and 1x MIPI DSI interface, 1x M.2 KEY M interface,40 PIN GPIO ,Mini size just 92x62mm.<br />
<br />
==Key Features==<br />
<br />
*PI-co ITX form factor(2.5 inch, 92 x 62mm)<br />
*RK3588 powered, 8nm manufacturing process<br />
::Quad A76 2.4Ghz + Quad A55 1.8Ghz<br />
::Mali G610MC4 GPU(up to 5 channel 4K UI)<br />
::6T NPU<br />
::8K 10bit decoder, 8K encoder<br />
*Support WiFi 6 and BT5.2<br />
*Support PCIe 3.0 x4 NVMe SSD<br />
*Triple display support(with HDR)<br />
*One HDMI 2.1 up to 8K@60FPS<br />
*One USB C with DP up to 8K@30FPS<br />
*One MIPI DSI up to 4K@60fps<br />
*Two 2.5G Ethernet<br />
*2x USB 3.0 interface<br />
*2x MIPI CSI camera interface<br />
*Offer 8GB/16GB/32GB(LPDDR4x) ram options and 64/128 eMMC options<br />
<br />
==Getting Start==<br />
[https://docs.banana-pi.org/en/BPI-M7/GettingStarted_BPI-M7 Getting Started BPI-M7]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-M7_interface.jpg]]<br />
<br />
==Hardware spec==<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-M7'''<br />
|-<br />
|SOC ||RockChip RK3588<br />
|-<br />
|CPU ||RK3588 Quad-Core Cortex-A76@ 2.4GHz+Quad-CoreCortex-A55@ 1.8GHz,8nm process<br />
|-<br />
|GPU ||GPU Mali-G610 MP4 (4x256KB L2 Cache) Supports OpenGL ES3.2/OpenCL2.2/Vulkan1.1<br />
|-<br />
|NPU ||6 TOPS@INT8(3 NPU core) <br />
|-<br />
| ||Supports INT4/INT8/INT16 mixed computing<br />
|-<br />
| ||Supports frameworks like TensorFlow, MXNet, PyTorch, Caffe, Tflite, Onnx NN, Android NN, etc<br />
|-<br />
|VPU/Codec ||Hardware Decode: 8K@60fps H.265/VP9/AVS2、 8K@30fps H.264 AVC/MVC、 4K@60fps AV1、1080P@60fps MPEG-2/-1/VC-1/VP8<br />
|-<br />
| ||Hardware Encode:8K@30fps H.265 / H.264<br />
|-<br />
|ISP ||Integrated 48MP ISP with HDR&3DNR<br />
|-<br />
|RAM ||8GB/16GB/32GB(max 32GB )64bit LPDDR4/LPDDR4x,default 8GB LPDDR4x<br />
|-<br />
|Flash ||32GB/64GB/128GB eMMC,default 64GB eMMC,Supports MicroSD card expansion<br />
|-<br />
|PCIe ||1x M.2 Key M (PCIe 3.0 4-lanes). Expandable SSD support for 2280/2260/2242/2230 M.2 SSD cards, default 2280<br />
|-<br />
|Networking ||2x 2.5G Ethernet<br />
|-<br />
| ||Onboard IEEE 802.11a/b/g/n/ac/ax WIFI6 and BT5 (AP6275P)<br />
|-<br />
|Video Out||1x HDMI 2.1, supports 8K@60fps<br />
|-<br />
| ||1x MIPI DSI up to 4K@60fps<br />
|-<br />
| ||1x DP 1.4 up to 8K@30fps<br />
|-<br />
|Video In ||2x 2-lane MIPI CSI, up to 2.5Gbps per lane<br />
|-<br />
|Audio ||1x HDMI audio out<br />
|-<br />
| ||1x HP audio out<br />
|-<br />
| ||1x Type-C 3.1 (DP1.4) audio out<br />
|-<br />
|USB ||1x USB 3.0 (USB 3.1 Gen 1), equivalent to USB 3.2 Gen 1/USB 3.0, up to 5Gbps<br />
|-<br />
| ||1x USB Type-C 3.1(DP1.4/OTG)<br />
|-<br />
| ||1x USB 2.0 High(480Mbps)/Full(12Mbps)/Low-Speed(1.5Mbps) modes<br />
|-<br />
|40-pin ||Fully compatible with Raspberry Pi 40-pin header for connecting abundant add-on modules<br />
|-<br />
| ||Supports UART/SPI/I2C/I2S/PWM/ADC/5V Power/3.3V Power<br />
|-<br />
|Other ||1x 5V fan interface<br />
|-<br />
| ||1x battery connector for low power RTC chip HYM8563TS<br />
|-<br />
| ||2x LEDs - blue LED blinks on system start, red LED user controllable<br />
|-<br />
|Power Input ||USB Type-C PD 2.0, 9V/2A, 12V/2A, 15V/2A<br />
|-<br />
|Buttons ||1x PWRON button for sleep/wake,1x Reset button for reboot,1x Maskrom button for maskrom burn-in mode<br />
|-<br />
|OS Support ||Official: :Android 12.0,Debian11,Buildroot<br />
|-<br />
| ||3rd Party:Armbian,Ubuntu 20.04,Ubuntu22.04,Kylin OS<br />
|-<br />
|Dimensions ||92 mm x 62mm<br />
|-<br />
|Operating temperature||0℃ ~ 80℃<br />
|}<br />
<br />
== Case design ==<br />
<br />
[[File:Banana_Pi_BPI-M7_Case_1.jpg]]<br />
<br />
=Resources=<br />
<br />
==Source code==<br />
* Linux kernel https://github.com/ArmSoM/linux-rockchip<br />
* uboot: https://github.com/ArmSoM/u-boot<br />
<br />
==Documents==<br />
*BPI-M7 Component diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1Klh1xt_2Qkd8ZKZ6EIbEbg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/13WhoyLEXPj6DJKkY3ceRTgJQR7U53NOn?usp=sharing<br />
<br />
*BPI-M7 2D CAD<br />
:Baidu Cloud: https://pan.baidu.com/s/1spHZGhDMC4TW9G9HTei7rA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1rh1abnNbTly3O69uWi0fQsSZdRvm6_oO?usp=sharing<br />
<br />
*BPI-M7 Schematic<br />
:Baidu Cloud: https://pan.baidu.com/s/17_2BTwBnIsmeCV5V7xNXRA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1-Fz3oNMEvrztWFvQs_RUv_kGpvyORcaI/view?usp=sharing<br />
<br />
*Rockchip RK3588 datasheet<br />
Baidu cloud: https://pan.baidu.com/s/1GeskKfLFwjgmz0pgt7sICg?pwd=8888 (pincode:8888)<br />
Google drive: https://drive.google.com/drive/folders/1l1YmUdBaLuDkJma3CYZJWjYug9D-jV_4?usp=sharing<br />
<br />
*BPI-M7 GPU and CPU performance test:https://www.youtube.com/watch?v=C4ofIZLixpM<br />
*BPI-M7 Rockchip RK3588 open source SBC run istoreos demo:https://www.youtube.com/watch?v=I2SSCT1Xj_U<br />
*BPI-M7 SBC ubuntu20.04 Linux system adaptation is complete:https://www.youtube.com/watch?v=60XQlSF3_20&t=10s<br />
<br />
=Image Release=<br />
<br />
==Android==<br />
<br />
<br />
==Linux==<br />
===Ubuntu===<br />
*ubuntu-22.04.3-preinstalled-desktop-arm64-bpi-m7_armsom-sige7.img-20240131<br />
:Baidu Cloud: https://pan.baidu.com/s/1qsXOSuaA14ODvFhetaLGIw?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1MXqanJ0zd62XpOwRxqmlx9xuqbonhIKW?usp=sharing<br />
<br />
*ubuntu-22.04.3-preinstalled-server-arm64-bpi-m7_armsom-sige7.img-20240131<br />
:Baidu Cloud: https://pan.baidu.com/s/1RlTTgdbZdv5mqCy7iWi8Yw?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1JtsD2Djx7wGZa_dLYNC86JAE9N7p7v_s?usp=sharing<br />
<br />
===Debian===<br />
*BPI-M7_armsom-sige7-debian-bullseye-xfce4-arm64-20240129<br />
:Baidu Cloud: https://pan.baidu.com/s/1ZLoUfPHYP9GF7aJ5uGEpcw?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1r9wXInxqDehEq2Qp98dozbKMCeMfKvLr/view?usp=sharing<br />
<br />
==BPI-M7 Tools==<br />
<br />
=Easy to buy sample=<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.com/item/1005006504845998.html?spm<br />
:Bipai Aliexpress shop: https://www.aliexpress.com/item/1005006504967822.html?spm<br />
:Taobao Shop: https://item.taobao.com/item.htm?id=765236561383&spm=a1z10.5-c-s.w4002-25059194413.11.76fe5332n69l2T<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-Wifi6_Router&diff=17146
Banana Pi BPI-Wifi6 Router
2024-03-21T10:14:12Z
<p>Sinovoip: /* Key Features */</p>
<hr />
<div>[[zh:香蕉派 BPI-Wifi6 路由器]]<br />
=BPI-Wifi6 Router Introduction=<br />
[[File:Banana_Pi_BPI-Wifi6_1.jpg|thumb|[[Banana Pi BPI-Wifi6 Router]] with Triductor TR6560 + TR5220 wifi SOC]]<br />
[[File:Banana_Pi_BPI-Wifi6_case_1.jpg|thumb|[[Banana Pi BPI-Wifi6 Router]] Case design]]<br />
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__case_1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MediaTek MT7622]]<br />
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]<br />
[[File:O2A0500.jpg|thumb|[[Banana Pi BPI-W2]] with Realtek RTK1296 chip design]]<br />
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]<br />
<br />
<br />
Banana Pi BPI-Wifi6 Router design with Triductor TR6560 + TR5220 wifi SOC, it is a standard wifi6 router solution. Built-in high-performance dual-core ARM Cortec A9 processor for WIFI message forwarding or intelligent business processing, built-in high-performance LSW and hardware NAT, supporting up to 5Gbps message forwarding,Integrated 5GE PHY, one RGMII,Supports one RGMII expansion port, provides 1000Mbps network access capability, and supports two WAN ports. Support hardware intelligent QoS. Support dual-band 2.4G 40M 2*2 +5G160M2.2 DBDC WIFI,Wifi protocol version support to IEEE 802.11ax, backward compatible 802.11a /b/g/n/ac, can support the highest rate of 3Gbps, 2G will reach 573.5Mbps, while 5G will reach 2401.9Mbps, support PoE interface ,add PoE module to support PoE function.<br />
<br />
=Key Features=<br />
*Dual core ARM cortex A9 1.2G Hz<br />
*Integrated 5GE PHY, one RGMII<br />
*Supports 4 GE MACs,1000M/100M/10M rate mode and standard MIB statistics<br />
*Supports IEEE802.11a/b/g/n/ac/ax wireless LAN communication protocol<br />
*Support Wifi AP mode and STA mode<br />
*Support WPA,WPA2, WPA3 encryption and decryption<br />
*PoE function can be customized<br />
<br />
==Getting Start==<br />
[[Getting Started with BPI-Wifi6 Router]]<br />
<br />
=Hardware=<br />
==BPI-Wifi6 Router Hardware interface==<br />
[[File:Banana_Pi_BPI-Wifi6_interface.jpg]]<br />
<br />
==BPI-Wifi6 Router PIN Out define==<br />
<br />
<br />
<br />
==Banana Pi BPI-Wifi6 Router specifications==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''BPI-Wifi6 Router Debug UART(J3)-TTL3.3V'''<br />
|-<br />
|Debug ||UART(J3)-TTL3.3V <br />
|- <br />
|PIN1 ||RXD<br />
|- <br />
|PIN2 ||NC<br />
|- <br />
|PIN3 ||3.3V<br />
|- <br />
|PIN4 ||GND<br />
|- <br />
|PIN5 ||TXD<br />
|- <br />
|}<br />
<br />
==PoE support==<br />
Easy to add PoE function suppport on BPI-Wifi6 router,The PoE module port is reserved on the board. If the PoE module is welded to the board, the PoE network cable power supply function is supported<br />
<br />
[[File:Banana_Pi_BPI-Wifi6_with_PoE.jpg]]<br />
<br />
*Note : use BPI-RT5400-12V PoE module.<br />
<br />
==appearance design==<br />
<br />
we have design a case for BPI-Wifi6 Router board ,so you can use this board directly as a standard wifi6 router<br />
<br />
[[File:Banana_Pi_BPI-Wifi6_case_4.png]]<br />
<br />
this board support customized service. You can quickly produce your own wifi6 router products. And develop your own software on it<br />
<br />
=Development=<br />
*Please refer to github bsp's pdf document: 创耀_TGP3.0开发手册_2023.4.20.pdf ----- gtihub website: https://github.com/BPI-SINOVOIP/THG6500-TAX2-OPENWRT-BSP<br />
<br />
==Source code==<br />
*Source code on github: https://github.com/BPI-SINOVOIP/THG6500-TAX2-OPENWRT-BSP<br />
<br />
== Resources==<br />
*Banana Pi BPI wfi6 router with Triductor TR6560 + TR5220 wifi SOC test PoE and OpenWRT:https://www.youtube.com/watch?v=Nf03ssN8ez0<br />
<br />
=System image=<br />
* 2024-01-05 OpenWRT-TGP3.1.0_rc8<br />
:Baidu Cloud: https://pan.baidu.com/s/16ZVe4cKMmQAGcg3KNcOq3w?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1MAzZjgSX4qVRCx40_qKOY9skHklWtcqm/view?usp=sharing<br />
<br />
=Easy to buy sample=<br />
*BPI Aliexpress shop : https://www.aliexpress.com/item/1005006608696724.html?gatewayAdapt=4itemAdapt<br />
*SinoVoip Aliexpress shop : https://www.aliexpress.com/item/1005006608341898.html?gatewayAdapt=4itemAdapt<br />
*Taobao shop : https://item.taobao.com/item.htm?id=769972122493<br />
*OEM&ODM please contact : judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M6&diff=17145
Banana Pi BPI-M6
2024-03-20T09:39:37Z
<p>Sinovoip: /* Armbian */</p>
<hr />
<div>[[zh:香蕉派 BPI-M6]]<br />
=Introduction=<br />
<br />
[[File:Banana_Pi_BPI-M6_1.jpg|thumb|[[Banana Pi BPI-M6]] with Synaptics VS680]]<br />
[[File:Banana_Pi_BPI-M6_2.jpg|thumb|[[Banana Pi BPI-M6]] with Synaptics VS680]]<br />
[[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design]]<br />
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5 ]]Amlogic S905X3 Processor]]<br />
[[File:Banana_Pi_BPI-M4_1.jpg|thumb|[[Banana Pi BPI-M4]] Realtek RTD1395]]<br />
[[File:Banana_pi_BPI-M64_1.jpg|thumb|[[Banana Pi BPI-M64]] Allwinner A64]]<br />
[[File:Banana_pi_BPI-M2+_2.jpg|thumb|[[Banana Pi BPI-M2+]] Allwinner H3/H5/H2+]3]]<br />
[[File:Banana_Pi_BPI-M6_banner.jpg]]<br />
<br />
Banana Pi BPI-M6 is the next generation single board computer from Banana Pi in 2022,It is powered by Synaptics VS680 quad-core Cortex-A73 (2.1GHz) and One Cortex-M3 processor,Imagination GE9920 GPU.and NPU Up to 6 .75Tops. Onboard 4GB LPDDR4 memory and 16GB EMMC storage, and supports 4 USB 3.0 interface, a gigabit network port.onboard 1 HDMI-rx port and 1 Hdmi-tx port.<br />
<br />
==About VideoSmart VS680==<br />
VideoSmart™ VS680 solution, an industry-first edge computing SoC that combines a CPU, NPU, and GPU. This new multimodal platform with integrated neural network accelerator is purpose built with perceptive intelligence for applications including smart displays, smart cameras, set-top-boxes and media streamers.The Synaptics VideoSmart VS680 is a multimedia powerhouse that combines a Qdeo 4K-video engine, an audio processor capable of far-field keyword detection and voice recognition, and a proprietary SyNap deep-learning accelerator (DLA). it also integrates a higher-performance Imagination PowerVR Series9 GPU. Another new feature is an ISP with HDR capabilities that can handle two 4K cameras. Previous VideoSmart products target the streaming-video set-top-box (STB) market, but the VS680 aims for a broader range of smart-home devices. It s well suited to the Facebook Portal and other smart displays, which enable video calling. The audio processor can drive a smart speaker or sound bar, but when coupled with the DLA, it handles on-device voice-UI functions in addition to providing the front end to a cloud-based digital assistant. The DLA works with the dual ISP to run neural networks on video streams from front and rear cameras, enabling face ID, object recognition, and security monitoring, among other tasks. The Qdeo engine can drive two displays, allowing the device to power a 1080p touchscreen panel in an STB while simultaneously streaming to a 4K TV.<br />
<br />
VS680 chip official Developer Center: https://developer.senarytech.com/index.html<br />
<br />
==Key Features==<br />
* Synaptics VideoSmart VS680 quad-core Cortex-A73 (2.1GHz) and One Cortex-M3 processor<br />
* Imagination GE9920 GPU <br />
* NPU for AI up to 6 .75Tops<br />
* 4GB LPDDR4<br />
* 16GB eMMC flash<br />
* M.2 Key E(PCIe + MIPI CSI)<br />
* 4 USB 3.0 <br />
* 1 GbE ethernet<br />
* 1 HDMIin and 1 HDMIout<br />
<br />
==Getting Start==<br />
<br />
*[[Getting Started with BPI-M6]]<br />
<br />
=Hardware=<br />
<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-M6_interface.jpg]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-M6'''<br />
|-<br />
|CPU|| Synaptics VS680 quad-core Cortex-A73 (2.1GHz) and One Cortex-M3 processor<br />
|-<br />
| GPU||Imagination GE9920 GPU<br />
|-<br />
|NPU for AI|| Up to 6 .75Tops<br />
|-<br />
| Memory|| 4 GB LPDDR4 <br />
|-<br />
| Storage|| MicroSD slot with support for up to 256GB expansion and 16G eMMC flash with support for up to 64GB<br />
|-<br />
| Network|| 10/100/1000 Mbit/s Ethernet ,Optional WiFi USB dongle<br />
|-<br />
|Video || 1 x HDMI 2.1 (up to 4K@60Hz with HDR, CEC, EDID) out, and 1 HDMI in Port<br />
|-<br />
| Audio Output(s)|| 1 x HDMI digital output<br />
|-<br />
|Display||MIPI DSI interface<br />
|-<br />
|M.2 interface||M.2 Key E(PCIe + MIPI CSI)<br />
|-<br />
| USB ports|| USB 3.0 PORT (x4)<br />
|-<br />
|GPIO|| 40 Pin Header : GPIO (x28) and Power (+5V, +3.3V and GND). GPIO pins can be used for UART, I2C, SPI or PWM <br />
|-<br />
|Switches|| SPI boot and U-boot <br />
|-<br />
| LED|| Power Status and Activity status<br />
|-<br />
| Power Source|| 5 volt @3A TYPE C <br />
|-<br />
|Size & Weight|| 92x60mm, 48g<br />
|-<br />
|OS|| Android and Linux<br />
|}<br />
<br />
==GPIO PIN define ==<br />
===40PIN Header(CON3)===<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| ''' BPI-M6 40PIN Header(CON3)'''<br />
<br />
|-<br />
|BPI-M6-CON3 ||PIN ||PIN ||BPI-M6-CON3<br />
|-<br />
|PWR_3V3_CTL ||1 ||2 ||PWR_5V<br />
|-<br />
|GPIO46/TW0_SDA ||3 ||4 ||PWR_5V<br />
|-<br />
|GPIO47/TW0_SCL ||5 ||6 ||GND<br />
|-<br />
|GPIO53/PWM1 ||7 ||8 ||SM_GPIO15/UART2_TXD<br />
|-<br />
|GND ||9 ||10 ||SM_GPIO14/UART2_RXD<br />
|-<br />
|GPIO36/PWM3 ||11 ||12 ||GPIO20/I2S1_BCLK<br />
|-<br />
|GPIO37/PWM2 ||13 ||14 ||GND<br />
|-<br />
|EXPANDER_TW3_GPIO1_4 ||15 || 16 ||EXPANDER_TW3_GPIO1_0<br />
|-<br />
|PWR_3V3_CTL ||17 ||18 ||EXPANDER_TW3_GPIO1_1<br />
|-<br />
|SM_GPIO13/SPI2_SDO/URT2_RTS/SM_STRAP1 ||19 ||20 ||GND<br />
|-<br />
|SM_GPIO12/SPI2_SDI/URT2_CTS ||21 ||22 ||GPIO4/SPDIF<br />
|-<br />
|SM_GPIO11/SPI2_SCK ||23 ||24 ||SM_GPIO17/SPI2_SS0/SM_STRAP2<br />
|-<br />
|GND ||25 ||26 ||SM_GPIO16/SPI2_SS1/SM_STRAP3<br />
|-<br />
|GPIO15/I2S1_DO3 ||27 ||28 ||GPIO16/I2S1_DO2<br />
|-<br />
|EXPANDER_TW3_GPIO1_7 ||29 ||30 ||GND<br />
|-<br />
|EXPANDER_TW3_GPIO1_6 ||31 ||32 ||EXPANDER_TW3_GPIO1_3<br />
|-<br />
|EXPANDER_TW3_GPIO1_5 ||33 ||34 ||GND<br />
|-<br />
|GPIO21/I2S1_LRCK ||35 ||36 ||EXPANDER_TW3_GPIO1_2<br />
|-<br />
|GPIO18/I2S1_MCLK ||37 ||38 ||GPIO17/I2S1_DO1<br />
|-<br />
|GND ||39 ||40 ||GPIO19/I2S1_DO0<br />
|-<br />
|}<br />
<br />
===M.2 E-KEY(CN10)===<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| ''' BPI-M6 M.2 E-KEY(CN10)'''<br />
<br />
|-<br />
| ||PIN || ||PIN <br />
|-<br />
|GND ||1 ||2 ||VCC-NGFF<br />
|-<br />
|NGFF_KEYE_DP ||3 ||4 ||VCC-NGFF<br />
|-<br />
|NGFF_KEYE_DM ||5 ||6 ||WiFi-LED<br />
|-<br />
|GND ||7 ||8 ||SM_GPIO10/TW3_SDA<br />
|-<br />
|MIPI_CSI0_RD0p ||9 ||10 ||SM_GPIO9/TW3_SCL<br />
|-<br />
|MIPI_CSI0_RD0n ||11 ||12 ||NI<br />
|-<br />
|MIPI_CSI0_RD1p ||13 ||14 ||BT-LED<br />
|-<br />
|MIPI_CSI0_RD1n ||5 ||16 ||BT-LED<br />
|-<br />
|MIPI_CSI0_RD2p ||17 ||18 ||GND<br />
|-<br />
|MIPI_CSI0_RD2n ||19 ||20 ||SM_GPIO6/UART_WAKE#Puboot<br />
|-<br />
|MIPI_CSI0_RD3p ||21 ||22 ||GPIO43/UART3_RXD<br />
|-<br />
|MIPI_CSI0_RD3n ||23 ||24 ||NOTCH<br />
|-<br />
|NOTCH ||25 ||26 ||NOTCH<br />
|-<br />
|NOTCH ||27 ||28 ||NOTCH<br />
|-<br />
|NOTCH ||29 ||30 ||NOTCH<br />
|-<br />
|NOTCH ||31 ||32 ||GPIO42/UART3_TXD<br />
|-<br />
|GND ||33 ||34 ||GPIO41/UART3_CTSn<br />
|-<br />
|PCIe_TX0p ||35 ||36 ||GPIO40/UART3_RTSn<br />
|-<br />
|PCIe_TX0n ||37 ||38 ||NI<br />
|-<br />
|GND ||39 ||40 ||MIPI_CSI0_RCKp<br />
|-<br />
|PCIe_RX0p ||41 ||42 ||MIPI_CSI0_RCKn<br />
|-<br />
|PCIe_RX0n ||43 ||44 ||NI<br />
|-<br />
|GND ||45 ||46 ||NI<br />
|-<br />
|PCIe_CLKp ||47 ||48 ||NI<br />
|-<br />
|PCIe_CLKn ||49 ||50 ||CLK32_OUT<br />
|-<br />
|GND ||51 ||52 ||PCIE_PERSTn<br />
|-<br />
|PCIE_CLKREQ ||53 ||54 ||GPIO10/DISABLE_BT<br />
|-<br />
|PCIE_PEWAKE ||55 ||56 ||GPIO09/DISABLE_WiFi<br />
|-<br />
|GND ||57 ||58 ||GPIO46/TW0_SDA(VDDIO_1.8V)<br />
|-<br />
|PCIe_TX1p ||59 ||60 ||GPIO47/TW0_SCL(VDDIO_1.8V)<br />
|-<br />
|PCIe_TX1n ||61 ||62 ||NI<br />
|-<br />
|GND ||63 ||64 ||MIPI_CSI1_RD0p<br />
|-<br />
|PCIe_RX1p ||65 ||66 ||MIPI_CSI1_RD0n<br />
|-<br />
|PCIe_RX1n ||67 ||68 ||MIPI_CSI1_RD1p<br />
|-<br />
|GND ||69 ||70 ||MIPI_CSI1_RD1n<br />
|-<br />
|MIPI_CSI1_RCKp ||71 ||72 ||VCC-NGFF<br />
|-<br />
|MIPI_CSI1_RCKn ||73 ||74 ||VCC-NGFF<br />
|-<br />
|GND ||75 <br />
|-<br />
|}<br />
<br />
===MIPI DSI(CN12)===<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| ''' BPI-M6 MIPI DSI(CN12)'''<br />
|-<br />
|CN12-P1 ||MIPI_DSI_TX1_D0n<br />
|-<br />
|CN12-P2 ||MIPI_DSI_TX1_D0p<br />
|-<br />
|CN12-P3 ||MIPI_DSI_TX1_D1n<br />
|-<br />
|CN12-P4 ||MIPI_DSI_TX1_D1p<br />
|-<br />
|CN12-P5 ||MIPI_DSI_TX1_CLKn<br />
|-<br />
|CN12-P6 ||MIPI_DSI_TX1_CLKp<br />
|-<br />
|CN12-P7 ||MIPI_DSI_TX1_D2n<br />
|-<br />
|CN12-P8 ||MIPI_DSI_TX1_D2p<br />
|-<br />
|CN12-P9 ||MIPI_DSI_TX1_D3n<br />
|-<br />
|CN12-P10 ||MIPI_DSI_TX1_D3p<br />
|-<br />
|CN12-P11 ||GND<br />
|-<br />
|CN12-P12 ||LCD_ADC<br />
|-<br />
|CN12-P13 ||GPIO2/LCD1_PWR_EN(VDDIO_1.8V)<br />
|-<br />
|CN12-P14 ||GPIO3/LCD1_RST(VDDIO_1.8V)<br />
|-<br />
|CN12-P15 ||GPIO39/LCD1_BL_PWM(VDDIO_1.8V)<br />
|-<br />
|CN12-P16 ||GND<br />
|-<br />
|CN12-P17 ||GPIO0/TP_INT(VDDIO_1.8V)<br />
|-<br />
|CN12-P18 ||GPIO1/TP_RST(VDDIO_1.8V)<br />
|-<br />
|CN12-P19 ||GPIO47/TW0_SCL(VDDIO_1.8V)<br />
|-<br />
|CN12-P20 ||GPIO46/TW0_SDA(VDDIO_1.8V)<br />
|-<br />
|CN12-P21 ||GND<br />
|-<br />
|CN12-P22 ||GND<br />
|-<br />
|CN12-P23 ||PWR_5V<br />
|-<br />
|CN12-P24 ||PWR_5V<br />
|-<br />
|}<br />
<br />
===Debug UART(CON2)===<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''BPI-M6 Debug UART(CON2)'''<br />
|-<br />
|CON2-P1 ||GND<br />
|-<br />
|CON2-P2 ||UART0-RX<br />
|-<br />
|CON2-P3 ||UART0-TX<br />
|-<br />
|}<br />
<br />
=Software=<br />
==Source code on github==<br />
<br />
Armbian Source code:<br />
*https://github.com/BPI-SINOVOIP/armbian-build/commit/9163a04ca984461bec2516e9be0acd8a990863b9<br />
*https://github.com/BPI-SINOVOIP/armbian-build/tree/v23.12.18<br />
<br />
Linux Source code:<br />
<br />
*https://github.com/BPI-SINOVOIP/pi-linux/tree/pi-5.4-vs680-hdmi<br />
*https://github.com/BPI-SINOVOIP/pi-u-boot/tree/v2019.10-vs680<br />
<br />
==Documents==<br />
*Senary VS680(Synaptics SN3680) datasheet: <br />
*The VS680 NPU is ranked first on AI benchmark website: https://ai-benchmark.com/ranking_IoT.html<br />
<br />
*BPI-M6 AI function test: https://www.youtube.com/watch?v=RIO0K_V12D4<br />
<br />
*BPI-M6 VS680 SOC System Tool Manual V1.3.2.1<br />
:Baidu Cloud: https://pan.baidu.com/s/1tX7UVSJQOcNhMlazQRQkpw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1gQalGLqNN24TeTBmJGzS0e3HeXxRD1fP/view?usp=sharing<br />
<br />
*BPI-M6 schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/18VTAdGtQFb2nu1bku8mHBw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1z-o5dZWcYrmTqNH3Wz9ttWUzptveCS6s/view?usp=sharing<br />
<br />
*BPI-M6 DXF File:<br />
:Baidu Cloud: https://pan.baidu.com/s/1Ngc11CcnufAdDcdwMd2mmQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1HJmpC5L3YqrJt4IsN0SMD5HoowqfGCyU/view?usp=sharing<br />
<br />
*Vergleich Banana Pi Bpi M6 Vs Raspberry Pi 5:https://cool-web.de/raspberry/vergleich-banana-pi-bpi-m6-vs-raspberry-pi-5.htm<br />
<br />
*Banana Pi Bpi M6 Raspberry Pi 5 Alternative Ersteinrichtung Firmware Image Hochladen:https://cool-web.de/raspberry/banana-pi-bpi-m6-raspberry-pi-5-alternative-ersteinrichtung-firmware-image-hochladen.htm<br />
<br />
=Image Release=<br />
<br />
==Android==<br />
*2023-08-30 release aosp_dolphin_tablet-syna-image-lpddr4x<br />
:Baidu Cloud: https://pan.baidu.com/s/1unEibD-NI8-Ti5le2E6d7g?pwd=8888 (pincode:8888)<br />
:Google Drive:https://drive.google.com/file/d/1egPBOusdlNGJDdp5muAjiv2MvMya0F-H/view?usp=sharing<br />
<br />
==Linux==<br />
===Armbian===<br />
*2024-03-20 armbian-unoffcial_24.2.0 image for BPI-M6,support NPU yolov6 AI recognition<br />
:Baidu cloud: https://pan.baidu.com/s/1t9aDdKxTeUnawz_vBIni0g?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1CZbac_R6VgfLBoJbIzbyCzwYCmQ_j8oQ?usp=sharing<br />
<br />
*2024-02-29 armbian-unoffcial_24.2.0 image for BPI-M6<br />
:Baidu cloud:https://pan.baidu.com/s/1pZFEna3CwR-v8lS-7Z88vA?pwd=8888 (PIN code:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1uh01OPtJ05Q_TAb-5HEcSMSiLTuSivKc?usp=sharing<br />
<br />
===Ubuntu===<br />
*2024-01-25-ubuntu-20.04-mate-desktop-vpu-npu-bpi-m6-aarch64-sd.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1IUDdKI0lT53-jFqUgqrdGA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1mw0Fiwa0fmXyTs6c6DI9Z4bcQZEy83p2/view?usp=sharing<br />
<br />
=Easy to buy sample=<br />
*SINOVOIP Aliexpress Shop: https://www.aliexpress.us/item/3256805894958914.html<br />
*BIPAI Aliexpress Shop: https://www.aliexpress.us/item/3256805895088983.html<br />
*Taobao Shop:https://item.taobao.com/item.htm?spm=a213gs.success.result.1.27e34831MXYuie&id=740957817652&qq-pf-to=pcqq.group<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M6&diff=17144
Banana Pi BPI-M6
2024-03-20T09:37:59Z
<p>Sinovoip: /* Armbian */</p>
<hr />
<div>[[zh:香蕉派 BPI-M6]]<br />
=Introduction=<br />
<br />
[[File:Banana_Pi_BPI-M6_1.jpg|thumb|[[Banana Pi BPI-M6]] with Synaptics VS680]]<br />
[[File:Banana_Pi_BPI-M6_2.jpg|thumb|[[Banana Pi BPI-M6]] with Synaptics VS680]]<br />
[[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design]]<br />
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5 ]]Amlogic S905X3 Processor]]<br />
[[File:Banana_Pi_BPI-M4_1.jpg|thumb|[[Banana Pi BPI-M4]] Realtek RTD1395]]<br />
[[File:Banana_pi_BPI-M64_1.jpg|thumb|[[Banana Pi BPI-M64]] Allwinner A64]]<br />
[[File:Banana_pi_BPI-M2+_2.jpg|thumb|[[Banana Pi BPI-M2+]] Allwinner H3/H5/H2+]3]]<br />
[[File:Banana_Pi_BPI-M6_banner.jpg]]<br />
<br />
Banana Pi BPI-M6 is the next generation single board computer from Banana Pi in 2022,It is powered by Synaptics VS680 quad-core Cortex-A73 (2.1GHz) and One Cortex-M3 processor,Imagination GE9920 GPU.and NPU Up to 6 .75Tops. Onboard 4GB LPDDR4 memory and 16GB EMMC storage, and supports 4 USB 3.0 interface, a gigabit network port.onboard 1 HDMI-rx port and 1 Hdmi-tx port.<br />
<br />
==About VideoSmart VS680==<br />
VideoSmart™ VS680 solution, an industry-first edge computing SoC that combines a CPU, NPU, and GPU. This new multimodal platform with integrated neural network accelerator is purpose built with perceptive intelligence for applications including smart displays, smart cameras, set-top-boxes and media streamers.The Synaptics VideoSmart VS680 is a multimedia powerhouse that combines a Qdeo 4K-video engine, an audio processor capable of far-field keyword detection and voice recognition, and a proprietary SyNap deep-learning accelerator (DLA). it also integrates a higher-performance Imagination PowerVR Series9 GPU. Another new feature is an ISP with HDR capabilities that can handle two 4K cameras. Previous VideoSmart products target the streaming-video set-top-box (STB) market, but the VS680 aims for a broader range of smart-home devices. It s well suited to the Facebook Portal and other smart displays, which enable video calling. The audio processor can drive a smart speaker or sound bar, but when coupled with the DLA, it handles on-device voice-UI functions in addition to providing the front end to a cloud-based digital assistant. The DLA works with the dual ISP to run neural networks on video streams from front and rear cameras, enabling face ID, object recognition, and security monitoring, among other tasks. The Qdeo engine can drive two displays, allowing the device to power a 1080p touchscreen panel in an STB while simultaneously streaming to a 4K TV.<br />
<br />
VS680 chip official Developer Center: https://developer.senarytech.com/index.html<br />
<br />
==Key Features==<br />
* Synaptics VideoSmart VS680 quad-core Cortex-A73 (2.1GHz) and One Cortex-M3 processor<br />
* Imagination GE9920 GPU <br />
* NPU for AI up to 6 .75Tops<br />
* 4GB LPDDR4<br />
* 16GB eMMC flash<br />
* M.2 Key E(PCIe + MIPI CSI)<br />
* 4 USB 3.0 <br />
* 1 GbE ethernet<br />
* 1 HDMIin and 1 HDMIout<br />
<br />
==Getting Start==<br />
<br />
*[[Getting Started with BPI-M6]]<br />
<br />
=Hardware=<br />
<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-M6_interface.jpg]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-M6'''<br />
|-<br />
|CPU|| Synaptics VS680 quad-core Cortex-A73 (2.1GHz) and One Cortex-M3 processor<br />
|-<br />
| GPU||Imagination GE9920 GPU<br />
|-<br />
|NPU for AI|| Up to 6 .75Tops<br />
|-<br />
| Memory|| 4 GB LPDDR4 <br />
|-<br />
| Storage|| MicroSD slot with support for up to 256GB expansion and 16G eMMC flash with support for up to 64GB<br />
|-<br />
| Network|| 10/100/1000 Mbit/s Ethernet ,Optional WiFi USB dongle<br />
|-<br />
|Video || 1 x HDMI 2.1 (up to 4K@60Hz with HDR, CEC, EDID) out, and 1 HDMI in Port<br />
|-<br />
| Audio Output(s)|| 1 x HDMI digital output<br />
|-<br />
|Display||MIPI DSI interface<br />
|-<br />
|M.2 interface||M.2 Key E(PCIe + MIPI CSI)<br />
|-<br />
| USB ports|| USB 3.0 PORT (x4)<br />
|-<br />
|GPIO|| 40 Pin Header : GPIO (x28) and Power (+5V, +3.3V and GND). GPIO pins can be used for UART, I2C, SPI or PWM <br />
|-<br />
|Switches|| SPI boot and U-boot <br />
|-<br />
| LED|| Power Status and Activity status<br />
|-<br />
| Power Source|| 5 volt @3A TYPE C <br />
|-<br />
|Size & Weight|| 92x60mm, 48g<br />
|-<br />
|OS|| Android and Linux<br />
|}<br />
<br />
==GPIO PIN define ==<br />
===40PIN Header(CON3)===<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| ''' BPI-M6 40PIN Header(CON3)'''<br />
<br />
|-<br />
|BPI-M6-CON3 ||PIN ||PIN ||BPI-M6-CON3<br />
|-<br />
|PWR_3V3_CTL ||1 ||2 ||PWR_5V<br />
|-<br />
|GPIO46/TW0_SDA ||3 ||4 ||PWR_5V<br />
|-<br />
|GPIO47/TW0_SCL ||5 ||6 ||GND<br />
|-<br />
|GPIO53/PWM1 ||7 ||8 ||SM_GPIO15/UART2_TXD<br />
|-<br />
|GND ||9 ||10 ||SM_GPIO14/UART2_RXD<br />
|-<br />
|GPIO36/PWM3 ||11 ||12 ||GPIO20/I2S1_BCLK<br />
|-<br />
|GPIO37/PWM2 ||13 ||14 ||GND<br />
|-<br />
|EXPANDER_TW3_GPIO1_4 ||15 || 16 ||EXPANDER_TW3_GPIO1_0<br />
|-<br />
|PWR_3V3_CTL ||17 ||18 ||EXPANDER_TW3_GPIO1_1<br />
|-<br />
|SM_GPIO13/SPI2_SDO/URT2_RTS/SM_STRAP1 ||19 ||20 ||GND<br />
|-<br />
|SM_GPIO12/SPI2_SDI/URT2_CTS ||21 ||22 ||GPIO4/SPDIF<br />
|-<br />
|SM_GPIO11/SPI2_SCK ||23 ||24 ||SM_GPIO17/SPI2_SS0/SM_STRAP2<br />
|-<br />
|GND ||25 ||26 ||SM_GPIO16/SPI2_SS1/SM_STRAP3<br />
|-<br />
|GPIO15/I2S1_DO3 ||27 ||28 ||GPIO16/I2S1_DO2<br />
|-<br />
|EXPANDER_TW3_GPIO1_7 ||29 ||30 ||GND<br />
|-<br />
|EXPANDER_TW3_GPIO1_6 ||31 ||32 ||EXPANDER_TW3_GPIO1_3<br />
|-<br />
|EXPANDER_TW3_GPIO1_5 ||33 ||34 ||GND<br />
|-<br />
|GPIO21/I2S1_LRCK ||35 ||36 ||EXPANDER_TW3_GPIO1_2<br />
|-<br />
|GPIO18/I2S1_MCLK ||37 ||38 ||GPIO17/I2S1_DO1<br />
|-<br />
|GND ||39 ||40 ||GPIO19/I2S1_DO0<br />
|-<br />
|}<br />
<br />
===M.2 E-KEY(CN10)===<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| ''' BPI-M6 M.2 E-KEY(CN10)'''<br />
<br />
|-<br />
| ||PIN || ||PIN <br />
|-<br />
|GND ||1 ||2 ||VCC-NGFF<br />
|-<br />
|NGFF_KEYE_DP ||3 ||4 ||VCC-NGFF<br />
|-<br />
|NGFF_KEYE_DM ||5 ||6 ||WiFi-LED<br />
|-<br />
|GND ||7 ||8 ||SM_GPIO10/TW3_SDA<br />
|-<br />
|MIPI_CSI0_RD0p ||9 ||10 ||SM_GPIO9/TW3_SCL<br />
|-<br />
|MIPI_CSI0_RD0n ||11 ||12 ||NI<br />
|-<br />
|MIPI_CSI0_RD1p ||13 ||14 ||BT-LED<br />
|-<br />
|MIPI_CSI0_RD1n ||5 ||16 ||BT-LED<br />
|-<br />
|MIPI_CSI0_RD2p ||17 ||18 ||GND<br />
|-<br />
|MIPI_CSI0_RD2n ||19 ||20 ||SM_GPIO6/UART_WAKE#Puboot<br />
|-<br />
|MIPI_CSI0_RD3p ||21 ||22 ||GPIO43/UART3_RXD<br />
|-<br />
|MIPI_CSI0_RD3n ||23 ||24 ||NOTCH<br />
|-<br />
|NOTCH ||25 ||26 ||NOTCH<br />
|-<br />
|NOTCH ||27 ||28 ||NOTCH<br />
|-<br />
|NOTCH ||29 ||30 ||NOTCH<br />
|-<br />
|NOTCH ||31 ||32 ||GPIO42/UART3_TXD<br />
|-<br />
|GND ||33 ||34 ||GPIO41/UART3_CTSn<br />
|-<br />
|PCIe_TX0p ||35 ||36 ||GPIO40/UART3_RTSn<br />
|-<br />
|PCIe_TX0n ||37 ||38 ||NI<br />
|-<br />
|GND ||39 ||40 ||MIPI_CSI0_RCKp<br />
|-<br />
|PCIe_RX0p ||41 ||42 ||MIPI_CSI0_RCKn<br />
|-<br />
|PCIe_RX0n ||43 ||44 ||NI<br />
|-<br />
|GND ||45 ||46 ||NI<br />
|-<br />
|PCIe_CLKp ||47 ||48 ||NI<br />
|-<br />
|PCIe_CLKn ||49 ||50 ||CLK32_OUT<br />
|-<br />
|GND ||51 ||52 ||PCIE_PERSTn<br />
|-<br />
|PCIE_CLKREQ ||53 ||54 ||GPIO10/DISABLE_BT<br />
|-<br />
|PCIE_PEWAKE ||55 ||56 ||GPIO09/DISABLE_WiFi<br />
|-<br />
|GND ||57 ||58 ||GPIO46/TW0_SDA(VDDIO_1.8V)<br />
|-<br />
|PCIe_TX1p ||59 ||60 ||GPIO47/TW0_SCL(VDDIO_1.8V)<br />
|-<br />
|PCIe_TX1n ||61 ||62 ||NI<br />
|-<br />
|GND ||63 ||64 ||MIPI_CSI1_RD0p<br />
|-<br />
|PCIe_RX1p ||65 ||66 ||MIPI_CSI1_RD0n<br />
|-<br />
|PCIe_RX1n ||67 ||68 ||MIPI_CSI1_RD1p<br />
|-<br />
|GND ||69 ||70 ||MIPI_CSI1_RD1n<br />
|-<br />
|MIPI_CSI1_RCKp ||71 ||72 ||VCC-NGFF<br />
|-<br />
|MIPI_CSI1_RCKn ||73 ||74 ||VCC-NGFF<br />
|-<br />
|GND ||75 <br />
|-<br />
|}<br />
<br />
===MIPI DSI(CN12)===<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| ''' BPI-M6 MIPI DSI(CN12)'''<br />
|-<br />
|CN12-P1 ||MIPI_DSI_TX1_D0n<br />
|-<br />
|CN12-P2 ||MIPI_DSI_TX1_D0p<br />
|-<br />
|CN12-P3 ||MIPI_DSI_TX1_D1n<br />
|-<br />
|CN12-P4 ||MIPI_DSI_TX1_D1p<br />
|-<br />
|CN12-P5 ||MIPI_DSI_TX1_CLKn<br />
|-<br />
|CN12-P6 ||MIPI_DSI_TX1_CLKp<br />
|-<br />
|CN12-P7 ||MIPI_DSI_TX1_D2n<br />
|-<br />
|CN12-P8 ||MIPI_DSI_TX1_D2p<br />
|-<br />
|CN12-P9 ||MIPI_DSI_TX1_D3n<br />
|-<br />
|CN12-P10 ||MIPI_DSI_TX1_D3p<br />
|-<br />
|CN12-P11 ||GND<br />
|-<br />
|CN12-P12 ||LCD_ADC<br />
|-<br />
|CN12-P13 ||GPIO2/LCD1_PWR_EN(VDDIO_1.8V)<br />
|-<br />
|CN12-P14 ||GPIO3/LCD1_RST(VDDIO_1.8V)<br />
|-<br />
|CN12-P15 ||GPIO39/LCD1_BL_PWM(VDDIO_1.8V)<br />
|-<br />
|CN12-P16 ||GND<br />
|-<br />
|CN12-P17 ||GPIO0/TP_INT(VDDIO_1.8V)<br />
|-<br />
|CN12-P18 ||GPIO1/TP_RST(VDDIO_1.8V)<br />
|-<br />
|CN12-P19 ||GPIO47/TW0_SCL(VDDIO_1.8V)<br />
|-<br />
|CN12-P20 ||GPIO46/TW0_SDA(VDDIO_1.8V)<br />
|-<br />
|CN12-P21 ||GND<br />
|-<br />
|CN12-P22 ||GND<br />
|-<br />
|CN12-P23 ||PWR_5V<br />
|-<br />
|CN12-P24 ||PWR_5V<br />
|-<br />
|}<br />
<br />
===Debug UART(CON2)===<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''BPI-M6 Debug UART(CON2)'''<br />
|-<br />
|CON2-P1 ||GND<br />
|-<br />
|CON2-P2 ||UART0-RX<br />
|-<br />
|CON2-P3 ||UART0-TX<br />
|-<br />
|}<br />
<br />
=Software=<br />
==Source code on github==<br />
<br />
Armbian Source code:<br />
*https://github.com/BPI-SINOVOIP/armbian-build/commit/9163a04ca984461bec2516e9be0acd8a990863b9<br />
*https://github.com/BPI-SINOVOIP/armbian-build/tree/v23.12.18<br />
<br />
Linux Source code:<br />
<br />
*https://github.com/BPI-SINOVOIP/pi-linux/tree/pi-5.4-vs680-hdmi<br />
*https://github.com/BPI-SINOVOIP/pi-u-boot/tree/v2019.10-vs680<br />
<br />
==Documents==<br />
*Senary VS680(Synaptics SN3680) datasheet: <br />
*The VS680 NPU is ranked first on AI benchmark website: https://ai-benchmark.com/ranking_IoT.html<br />
<br />
*BPI-M6 AI function test: https://www.youtube.com/watch?v=RIO0K_V12D4<br />
<br />
*BPI-M6 VS680 SOC System Tool Manual V1.3.2.1<br />
:Baidu Cloud: https://pan.baidu.com/s/1tX7UVSJQOcNhMlazQRQkpw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1gQalGLqNN24TeTBmJGzS0e3HeXxRD1fP/view?usp=sharing<br />
<br />
*BPI-M6 schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/18VTAdGtQFb2nu1bku8mHBw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1z-o5dZWcYrmTqNH3Wz9ttWUzptveCS6s/view?usp=sharing<br />
<br />
*BPI-M6 DXF File:<br />
:Baidu Cloud: https://pan.baidu.com/s/1Ngc11CcnufAdDcdwMd2mmQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1HJmpC5L3YqrJt4IsN0SMD5HoowqfGCyU/view?usp=sharing<br />
<br />
*Vergleich Banana Pi Bpi M6 Vs Raspberry Pi 5:https://cool-web.de/raspberry/vergleich-banana-pi-bpi-m6-vs-raspberry-pi-5.htm<br />
<br />
*Banana Pi Bpi M6 Raspberry Pi 5 Alternative Ersteinrichtung Firmware Image Hochladen:https://cool-web.de/raspberry/banana-pi-bpi-m6-raspberry-pi-5-alternative-ersteinrichtung-firmware-image-hochladen.htm<br />
<br />
=Image Release=<br />
<br />
==Android==<br />
*2023-08-30 release aosp_dolphin_tablet-syna-image-lpddr4x<br />
:Baidu Cloud: https://pan.baidu.com/s/1unEibD-NI8-Ti5le2E6d7g?pwd=8888 (pincode:8888)<br />
:Google Drive:https://drive.google.com/file/d/1egPBOusdlNGJDdp5muAjiv2MvMya0F-H/view?usp=sharing<br />
<br />
==Linux==<br />
===Armbian===<br />
*2024-03-20 armbian-unoffcial_24.2.0 image for BPI-M6,support NPU yolov6 AI recognize<br />
:Baidu cloud: https://pan.baidu.com/s/1t9aDdKxTeUnawz_vBIni0g?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1CZbac_R6VgfLBoJbIzbyCzwYCmQ_j8oQ?usp=sharing<br />
<br />
*2024-02-29 armbian-unoffcial_24.2.0 image for BPI-M6<br />
:Baidu cloud:https://pan.baidu.com/s/1pZFEna3CwR-v8lS-7Z88vA?pwd=8888 (PIN code:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1uh01OPtJ05Q_TAb-5HEcSMSiLTuSivKc?usp=sharing<br />
<br />
===Ubuntu===<br />
*2024-01-25-ubuntu-20.04-mate-desktop-vpu-npu-bpi-m6-aarch64-sd.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1IUDdKI0lT53-jFqUgqrdGA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1mw0Fiwa0fmXyTs6c6DI9Z4bcQZEy83p2/view?usp=sharing<br />
<br />
=Easy to buy sample=<br />
*SINOVOIP Aliexpress Shop: https://www.aliexpress.us/item/3256805894958914.html<br />
*BIPAI Aliexpress Shop: https://www.aliexpress.us/item/3256805895088983.html<br />
*Taobao Shop:https://item.taobao.com/item.htm?spm=a213gs.success.result.1.27e34831MXYuie&id=740957817652&qq-pf-to=pcqq.group<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M6&diff=17143
Banana Pi BPI-M6
2024-03-20T08:37:19Z
<p>Sinovoip: /* Armbian */</p>
<hr />
<div>[[zh:香蕉派 BPI-M6]]<br />
=Introduction=<br />
<br />
[[File:Banana_Pi_BPI-M6_1.jpg|thumb|[[Banana Pi BPI-M6]] with Synaptics VS680]]<br />
[[File:Banana_Pi_BPI-M6_2.jpg|thumb|[[Banana Pi BPI-M6]] with Synaptics VS680]]<br />
[[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design]]<br />
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5 ]]Amlogic S905X3 Processor]]<br />
[[File:Banana_Pi_BPI-M4_1.jpg|thumb|[[Banana Pi BPI-M4]] Realtek RTD1395]]<br />
[[File:Banana_pi_BPI-M64_1.jpg|thumb|[[Banana Pi BPI-M64]] Allwinner A64]]<br />
[[File:Banana_pi_BPI-M2+_2.jpg|thumb|[[Banana Pi BPI-M2+]] Allwinner H3/H5/H2+]3]]<br />
[[File:Banana_Pi_BPI-M6_banner.jpg]]<br />
<br />
Banana Pi BPI-M6 is the next generation single board computer from Banana Pi in 2022,It is powered by Synaptics VS680 quad-core Cortex-A73 (2.1GHz) and One Cortex-M3 processor,Imagination GE9920 GPU.and NPU Up to 6 .75Tops. Onboard 4GB LPDDR4 memory and 16GB EMMC storage, and supports 4 USB 3.0 interface, a gigabit network port.onboard 1 HDMI-rx port and 1 Hdmi-tx port.<br />
<br />
==About VideoSmart VS680==<br />
VideoSmart™ VS680 solution, an industry-first edge computing SoC that combines a CPU, NPU, and GPU. This new multimodal platform with integrated neural network accelerator is purpose built with perceptive intelligence for applications including smart displays, smart cameras, set-top-boxes and media streamers.The Synaptics VideoSmart VS680 is a multimedia powerhouse that combines a Qdeo 4K-video engine, an audio processor capable of far-field keyword detection and voice recognition, and a proprietary SyNap deep-learning accelerator (DLA). it also integrates a higher-performance Imagination PowerVR Series9 GPU. Another new feature is an ISP with HDR capabilities that can handle two 4K cameras. Previous VideoSmart products target the streaming-video set-top-box (STB) market, but the VS680 aims for a broader range of smart-home devices. It s well suited to the Facebook Portal and other smart displays, which enable video calling. The audio processor can drive a smart speaker or sound bar, but when coupled with the DLA, it handles on-device voice-UI functions in addition to providing the front end to a cloud-based digital assistant. The DLA works with the dual ISP to run neural networks on video streams from front and rear cameras, enabling face ID, object recognition, and security monitoring, among other tasks. The Qdeo engine can drive two displays, allowing the device to power a 1080p touchscreen panel in an STB while simultaneously streaming to a 4K TV.<br />
<br />
VS680 chip official Developer Center: https://developer.senarytech.com/index.html<br />
<br />
==Key Features==<br />
* Synaptics VideoSmart VS680 quad-core Cortex-A73 (2.1GHz) and One Cortex-M3 processor<br />
* Imagination GE9920 GPU <br />
* NPU for AI up to 6 .75Tops<br />
* 4GB LPDDR4<br />
* 16GB eMMC flash<br />
* M.2 Key E(PCIe + MIPI CSI)<br />
* 4 USB 3.0 <br />
* 1 GbE ethernet<br />
* 1 HDMIin and 1 HDMIout<br />
<br />
==Getting Start==<br />
<br />
*[[Getting Started with BPI-M6]]<br />
<br />
=Hardware=<br />
<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-M6_interface.jpg]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-M6'''<br />
|-<br />
|CPU|| Synaptics VS680 quad-core Cortex-A73 (2.1GHz) and One Cortex-M3 processor<br />
|-<br />
| GPU||Imagination GE9920 GPU<br />
|-<br />
|NPU for AI|| Up to 6 .75Tops<br />
|-<br />
| Memory|| 4 GB LPDDR4 <br />
|-<br />
| Storage|| MicroSD slot with support for up to 256GB expansion and 16G eMMC flash with support for up to 64GB<br />
|-<br />
| Network|| 10/100/1000 Mbit/s Ethernet ,Optional WiFi USB dongle<br />
|-<br />
|Video || 1 x HDMI 2.1 (up to 4K@60Hz with HDR, CEC, EDID) out, and 1 HDMI in Port<br />
|-<br />
| Audio Output(s)|| 1 x HDMI digital output<br />
|-<br />
|Display||MIPI DSI interface<br />
|-<br />
|M.2 interface||M.2 Key E(PCIe + MIPI CSI)<br />
|-<br />
| USB ports|| USB 3.0 PORT (x4)<br />
|-<br />
|GPIO|| 40 Pin Header : GPIO (x28) and Power (+5V, +3.3V and GND). GPIO pins can be used for UART, I2C, SPI or PWM <br />
|-<br />
|Switches|| SPI boot and U-boot <br />
|-<br />
| LED|| Power Status and Activity status<br />
|-<br />
| Power Source|| 5 volt @3A TYPE C <br />
|-<br />
|Size & Weight|| 92x60mm, 48g<br />
|-<br />
|OS|| Android and Linux<br />
|}<br />
<br />
==GPIO PIN define ==<br />
===40PIN Header(CON3)===<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| ''' BPI-M6 40PIN Header(CON3)'''<br />
<br />
|-<br />
|BPI-M6-CON3 ||PIN ||PIN ||BPI-M6-CON3<br />
|-<br />
|PWR_3V3_CTL ||1 ||2 ||PWR_5V<br />
|-<br />
|GPIO46/TW0_SDA ||3 ||4 ||PWR_5V<br />
|-<br />
|GPIO47/TW0_SCL ||5 ||6 ||GND<br />
|-<br />
|GPIO53/PWM1 ||7 ||8 ||SM_GPIO15/UART2_TXD<br />
|-<br />
|GND ||9 ||10 ||SM_GPIO14/UART2_RXD<br />
|-<br />
|GPIO36/PWM3 ||11 ||12 ||GPIO20/I2S1_BCLK<br />
|-<br />
|GPIO37/PWM2 ||13 ||14 ||GND<br />
|-<br />
|EXPANDER_TW3_GPIO1_4 ||15 || 16 ||EXPANDER_TW3_GPIO1_0<br />
|-<br />
|PWR_3V3_CTL ||17 ||18 ||EXPANDER_TW3_GPIO1_1<br />
|-<br />
|SM_GPIO13/SPI2_SDO/URT2_RTS/SM_STRAP1 ||19 ||20 ||GND<br />
|-<br />
|SM_GPIO12/SPI2_SDI/URT2_CTS ||21 ||22 ||GPIO4/SPDIF<br />
|-<br />
|SM_GPIO11/SPI2_SCK ||23 ||24 ||SM_GPIO17/SPI2_SS0/SM_STRAP2<br />
|-<br />
|GND ||25 ||26 ||SM_GPIO16/SPI2_SS1/SM_STRAP3<br />
|-<br />
|GPIO15/I2S1_DO3 ||27 ||28 ||GPIO16/I2S1_DO2<br />
|-<br />
|EXPANDER_TW3_GPIO1_7 ||29 ||30 ||GND<br />
|-<br />
|EXPANDER_TW3_GPIO1_6 ||31 ||32 ||EXPANDER_TW3_GPIO1_3<br />
|-<br />
|EXPANDER_TW3_GPIO1_5 ||33 ||34 ||GND<br />
|-<br />
|GPIO21/I2S1_LRCK ||35 ||36 ||EXPANDER_TW3_GPIO1_2<br />
|-<br />
|GPIO18/I2S1_MCLK ||37 ||38 ||GPIO17/I2S1_DO1<br />
|-<br />
|GND ||39 ||40 ||GPIO19/I2S1_DO0<br />
|-<br />
|}<br />
<br />
===M.2 E-KEY(CN10)===<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| ''' BPI-M6 M.2 E-KEY(CN10)'''<br />
<br />
|-<br />
| ||PIN || ||PIN <br />
|-<br />
|GND ||1 ||2 ||VCC-NGFF<br />
|-<br />
|NGFF_KEYE_DP ||3 ||4 ||VCC-NGFF<br />
|-<br />
|NGFF_KEYE_DM ||5 ||6 ||WiFi-LED<br />
|-<br />
|GND ||7 ||8 ||SM_GPIO10/TW3_SDA<br />
|-<br />
|MIPI_CSI0_RD0p ||9 ||10 ||SM_GPIO9/TW3_SCL<br />
|-<br />
|MIPI_CSI0_RD0n ||11 ||12 ||NI<br />
|-<br />
|MIPI_CSI0_RD1p ||13 ||14 ||BT-LED<br />
|-<br />
|MIPI_CSI0_RD1n ||5 ||16 ||BT-LED<br />
|-<br />
|MIPI_CSI0_RD2p ||17 ||18 ||GND<br />
|-<br />
|MIPI_CSI0_RD2n ||19 ||20 ||SM_GPIO6/UART_WAKE#Puboot<br />
|-<br />
|MIPI_CSI0_RD3p ||21 ||22 ||GPIO43/UART3_RXD<br />
|-<br />
|MIPI_CSI0_RD3n ||23 ||24 ||NOTCH<br />
|-<br />
|NOTCH ||25 ||26 ||NOTCH<br />
|-<br />
|NOTCH ||27 ||28 ||NOTCH<br />
|-<br />
|NOTCH ||29 ||30 ||NOTCH<br />
|-<br />
|NOTCH ||31 ||32 ||GPIO42/UART3_TXD<br />
|-<br />
|GND ||33 ||34 ||GPIO41/UART3_CTSn<br />
|-<br />
|PCIe_TX0p ||35 ||36 ||GPIO40/UART3_RTSn<br />
|-<br />
|PCIe_TX0n ||37 ||38 ||NI<br />
|-<br />
|GND ||39 ||40 ||MIPI_CSI0_RCKp<br />
|-<br />
|PCIe_RX0p ||41 ||42 ||MIPI_CSI0_RCKn<br />
|-<br />
|PCIe_RX0n ||43 ||44 ||NI<br />
|-<br />
|GND ||45 ||46 ||NI<br />
|-<br />
|PCIe_CLKp ||47 ||48 ||NI<br />
|-<br />
|PCIe_CLKn ||49 ||50 ||CLK32_OUT<br />
|-<br />
|GND ||51 ||52 ||PCIE_PERSTn<br />
|-<br />
|PCIE_CLKREQ ||53 ||54 ||GPIO10/DISABLE_BT<br />
|-<br />
|PCIE_PEWAKE ||55 ||56 ||GPIO09/DISABLE_WiFi<br />
|-<br />
|GND ||57 ||58 ||GPIO46/TW0_SDA(VDDIO_1.8V)<br />
|-<br />
|PCIe_TX1p ||59 ||60 ||GPIO47/TW0_SCL(VDDIO_1.8V)<br />
|-<br />
|PCIe_TX1n ||61 ||62 ||NI<br />
|-<br />
|GND ||63 ||64 ||MIPI_CSI1_RD0p<br />
|-<br />
|PCIe_RX1p ||65 ||66 ||MIPI_CSI1_RD0n<br />
|-<br />
|PCIe_RX1n ||67 ||68 ||MIPI_CSI1_RD1p<br />
|-<br />
|GND ||69 ||70 ||MIPI_CSI1_RD1n<br />
|-<br />
|MIPI_CSI1_RCKp ||71 ||72 ||VCC-NGFF<br />
|-<br />
|MIPI_CSI1_RCKn ||73 ||74 ||VCC-NGFF<br />
|-<br />
|GND ||75 <br />
|-<br />
|}<br />
<br />
===MIPI DSI(CN12)===<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| ''' BPI-M6 MIPI DSI(CN12)'''<br />
|-<br />
|CN12-P1 ||MIPI_DSI_TX1_D0n<br />
|-<br />
|CN12-P2 ||MIPI_DSI_TX1_D0p<br />
|-<br />
|CN12-P3 ||MIPI_DSI_TX1_D1n<br />
|-<br />
|CN12-P4 ||MIPI_DSI_TX1_D1p<br />
|-<br />
|CN12-P5 ||MIPI_DSI_TX1_CLKn<br />
|-<br />
|CN12-P6 ||MIPI_DSI_TX1_CLKp<br />
|-<br />
|CN12-P7 ||MIPI_DSI_TX1_D2n<br />
|-<br />
|CN12-P8 ||MIPI_DSI_TX1_D2p<br />
|-<br />
|CN12-P9 ||MIPI_DSI_TX1_D3n<br />
|-<br />
|CN12-P10 ||MIPI_DSI_TX1_D3p<br />
|-<br />
|CN12-P11 ||GND<br />
|-<br />
|CN12-P12 ||LCD_ADC<br />
|-<br />
|CN12-P13 ||GPIO2/LCD1_PWR_EN(VDDIO_1.8V)<br />
|-<br />
|CN12-P14 ||GPIO3/LCD1_RST(VDDIO_1.8V)<br />
|-<br />
|CN12-P15 ||GPIO39/LCD1_BL_PWM(VDDIO_1.8V)<br />
|-<br />
|CN12-P16 ||GND<br />
|-<br />
|CN12-P17 ||GPIO0/TP_INT(VDDIO_1.8V)<br />
|-<br />
|CN12-P18 ||GPIO1/TP_RST(VDDIO_1.8V)<br />
|-<br />
|CN12-P19 ||GPIO47/TW0_SCL(VDDIO_1.8V)<br />
|-<br />
|CN12-P20 ||GPIO46/TW0_SDA(VDDIO_1.8V)<br />
|-<br />
|CN12-P21 ||GND<br />
|-<br />
|CN12-P22 ||GND<br />
|-<br />
|CN12-P23 ||PWR_5V<br />
|-<br />
|CN12-P24 ||PWR_5V<br />
|-<br />
|}<br />
<br />
===Debug UART(CON2)===<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''BPI-M6 Debug UART(CON2)'''<br />
|-<br />
|CON2-P1 ||GND<br />
|-<br />
|CON2-P2 ||UART0-RX<br />
|-<br />
|CON2-P3 ||UART0-TX<br />
|-<br />
|}<br />
<br />
=Software=<br />
==Source code on github==<br />
<br />
Armbian Source code:<br />
*https://github.com/BPI-SINOVOIP/armbian-build/commit/9163a04ca984461bec2516e9be0acd8a990863b9<br />
*https://github.com/BPI-SINOVOIP/armbian-build/tree/v23.12.18<br />
<br />
Linux Source code:<br />
<br />
*https://github.com/BPI-SINOVOIP/pi-linux/tree/pi-5.4-vs680-hdmi<br />
*https://github.com/BPI-SINOVOIP/pi-u-boot/tree/v2019.10-vs680<br />
<br />
==Documents==<br />
*Senary VS680(Synaptics SN3680) datasheet: <br />
*The VS680 NPU is ranked first on AI benchmark website: https://ai-benchmark.com/ranking_IoT.html<br />
<br />
*BPI-M6 AI function test: https://www.youtube.com/watch?v=RIO0K_V12D4<br />
<br />
*BPI-M6 VS680 SOC System Tool Manual V1.3.2.1<br />
:Baidu Cloud: https://pan.baidu.com/s/1tX7UVSJQOcNhMlazQRQkpw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1gQalGLqNN24TeTBmJGzS0e3HeXxRD1fP/view?usp=sharing<br />
<br />
*BPI-M6 schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/18VTAdGtQFb2nu1bku8mHBw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1z-o5dZWcYrmTqNH3Wz9ttWUzptveCS6s/view?usp=sharing<br />
<br />
*BPI-M6 DXF File:<br />
:Baidu Cloud: https://pan.baidu.com/s/1Ngc11CcnufAdDcdwMd2mmQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1HJmpC5L3YqrJt4IsN0SMD5HoowqfGCyU/view?usp=sharing<br />
<br />
*Vergleich Banana Pi Bpi M6 Vs Raspberry Pi 5:https://cool-web.de/raspberry/vergleich-banana-pi-bpi-m6-vs-raspberry-pi-5.htm<br />
<br />
*Banana Pi Bpi M6 Raspberry Pi 5 Alternative Ersteinrichtung Firmware Image Hochladen:https://cool-web.de/raspberry/banana-pi-bpi-m6-raspberry-pi-5-alternative-ersteinrichtung-firmware-image-hochladen.htm<br />
<br />
=Image Release=<br />
<br />
==Android==<br />
*2023-08-30 release aosp_dolphin_tablet-syna-image-lpddr4x<br />
:Baidu Cloud: https://pan.baidu.com/s/1unEibD-NI8-Ti5le2E6d7g?pwd=8888 (pincode:8888)<br />
:Google Drive:https://drive.google.com/file/d/1egPBOusdlNGJDdp5muAjiv2MvMya0F-H/view?usp=sharing<br />
<br />
==Linux==<br />
===Armbian===<br />
*2024-02-29 armbian-unoffcial_24.2.0 image for BPI-M6<br />
:Baidu cloud:https://pan.baidu.com/s/1pZFEna3CwR-v8lS-7Z88vA?pwd=8888 (PIN code:8888)<br />
:Google drive: https://drive.google.com/drive/folders/1uh01OPtJ05Q_TAb-5HEcSMSiLTuSivKc?usp=sharing<br />
<br />
===Ubuntu===<br />
*2024-01-25-ubuntu-20.04-mate-desktop-vpu-npu-bpi-m6-aarch64-sd.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1IUDdKI0lT53-jFqUgqrdGA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1mw0Fiwa0fmXyTs6c6DI9Z4bcQZEy83p2/view?usp=sharing<br />
<br />
=Easy to buy sample=<br />
*SINOVOIP Aliexpress Shop: https://www.aliexpress.us/item/3256805894958914.html<br />
*BIPAI Aliexpress Shop: https://www.aliexpress.us/item/3256805895088983.html<br />
*Taobao Shop:https://item.taobao.com/item.htm?spm=a213gs.success.result.1.27e34831MXYuie&id=740957817652&qq-pf-to=pcqq.group<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M2M&diff=17142
Banana Pi BPI-M2M
2024-03-20T08:14:07Z
<p>Sinovoip: /* documents */</p>
<hr />
<div>[[zh:香蕉派_BPI-M2M]]<br />
=Introduction=<br />
[[File:Banana_pi_bpi-m2_magic_5.JPG|thumb|[[Banana Pi BPI-M2M ]] with Allwinner R16 chip design]]<br />
[[File:Banana_pi_BPI-M1_1.jpg|thumb|[[Banana Pi BPI-M1]] with Allwinner A20 chip]]<br />
[[File:Banana_pi_BPI-M1+_1.jpg|thumb|[[Banana Pi BPI-M1+]] with Allwinner A20 chip]]<br />
[[File:BPI-M2_zero_11.JPG|thumb|[[Banana Pi BPI-M2 ZERO]] with Allwinner H3 chip]]<br />
[[File:BPI-F2_zero_1.JPG|thumb|[[Banana Pi BPI-P2 Zero]] with Allwinner H3 chip]]<br />
[[File:Banana_pi_BPI-M2+_2.jpg|thumb|[[Banana Pi BPI-M2+]] with Allwinner H3 chip]]<br />
<br />
[[File:Banana_pi_BPI-M2_Berry_5.JPG|thumb|[[Banana Pi BPI-M2 Berry]] with Allwinner A40i]]<br />
[[File:Banana_pi_BPI-M2_Ultra_4.JPG|thumb|[[Banana Pi BPI-M2U]] with Allwinner A40i]]<br />
[[File:Banana_pi_BPI-M64_1.jpg|thumb|[[Banana Pi BPI-M64]] with Allwinner A64 chip design]]<br />
[[File:Banana_pi_BPI-M3_1.jpg|thumb|[[Banana Pi BPI-M3]] with Allwinner A83T chip design]]<br />
<br />
[[File:Banana_pi_bpi-m2_magic_1.jpg|thumb|Overview:no eMMC onboard]]<br />
<br />
<br />
Banana PI BPI-M2 Magic (BPi-M2M) is an efficient quad core solution designed for internet-of-things applications,Use allwinner R16 chip design ,also can use Allwinner A33 chip on board, which outperforms competitors in terms of its system performance, scalability, and energy-efficiency; it can be used for home entertainment, home automation, and high wireless performance and so on.<br />
<br />
[[File:BPI-M2M.png]]<br />
<br />
BPI-M2 Magic integrate four ARM Cortex-A7 CPU cores and Mali400MP2 graphics architecture, It also includes a variety of peripherals, BPI-M2 Magic with 512M DDR3,including 4 lane-MIPI DSI, LVDS, USB2.0 OTG/HOST,802.11 b/g/n wifi & BT4.0 onboard.<br />
<br />
Note: 1,BPI-M2 Magic not HDMI interface. 2,Not support RJ45 interface<br />
<br />
BPI-M2 Magic can run with Android smoothly, it also can run Debian, Ubuntu linux, Raspberry Pi image and others OS. It can easily run with the game it support 1080P high definition video output, the GPIO compatible with Raspberry Pi B+ and can run the ROM Image<br />
<br />
allwinner R16 chip and A33 chip is PIN to PIN compatibility, so BPI-M2 Magic just replace R16 ,A33 chip onboard, easy to DIY new product.<br />
<br />
==Key Features==<br />
<br />
* Allwinner R16/A33 Quad Core ARM Cortex A7 CPU.<br />
* 512MB DDR3 SDRAM.<br />
* WiFi (AP6212) & Bluetooth onboard.<br />
* 8G eMMC flash<br />
* CSI camera interface<br />
* DSI display interface<br />
<br />
==Getting Start==<br />
*how to burn image : [[Quick Start Banana pi SBC]]<br />
*how to development BPI-M2 Magic : [[Getting Started with M2M]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
<br />
[[File:BPI-M2_magic_interface.jpg]]<br />
<br />
==Hardware spec==<br />
<br />
{| class="wikitable"<br />
|-<br />
! <br />
! Banana Pi M2 Magic<br />
|-<br />
! CPU<br />
| Allwinner R16 ARM Cortex-A7 Quad-Core <br />
|-<br />
! GPU<br />
| PowerVR SGX544MP1 Comply with OpenGL ES 2.0 OpenCL 1x, DX9_3<br />
|-<br />
! Memory<br />
| 512MB LPDDR3 (shared with GPU)<br />
|-<br />
! Storage<br />
| On Board 8GB eMMC Flash, Micro SD-Card slot.<br />
|-<br />
! Network<br />
| Wi-Fi 802.11 b/g/n (AP6212) + Bluetooth BT4.0<br />
|-<br />
! Video Input(s)<br />
| A CSI input connector allows for the connection of a designed camera module<br />
|-<br />
! Video Output(s)<br />
| MIPI Display Serial Interface (DSI) for raw LCD Panel<br />
|-<br />
! Audio Input(s)<br />
| On board microphone<br />
|-<br />
! Audio Output(s)<br />
| 3.5mm jack<br />
|-<br />
! USB ports<br />
| USB 2.0 PORT (x1), USB OTG (x1)<br />
|-<br />
! Remote<br />
| Not IR Receiver<br />
|-<br />
! GPIO<br />
| 40 Pin Header : GPIO (x28) and Power (+5V, +3.3V and GND). Some of I/O Pin can be used for specific functions as UART, I2C, SPI or PWM <br />
|-<br />
! Switches<br />
| Reset, Power and U-boot <br />
|-<br />
! LED<br />
| Power Status and 8P8C<br />
|-<br />
! Power Source<br />
| 5 volt @2A via DC Power and/or Micro USB (OTG)<br />
|-<br />
! Size & Weight<br />
| 51x51mm, 48g<br />
|-<br />
! OS<br />
| Android and Linux<br />
|}<br />
<br />
==GPIO PIN define ==<br />
<br />
Banana Pi BPI-M2 Magic has a 40-pin GPIO header that matches that of the Model Raspberry Pi 3. Following is the Banana Pi GPIO Pinout:<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''40 PIN GPIO of Banana pi BPI-M2 Magic'''<br />
|-<br />
| PIN number ||Default Function||Function2:GPIO <br />
|-<br />
| CON1-P01 || VCC-3V3 ||<br />
|-<br />
| CON1-P02 || DCIN ||<br />
|-<br />
| CON1-P03 || TWI1-SDA || PH5 <br />
|-<br />
| CON1-P04 || DCIN ||<br />
|-<br />
| CON1-P05 || TWI1-SCK || PH4 <br />
|-<br />
| CON1-P06 || GND ||<br />
|-<br />
| CON1-P07 || PWM1 || PH1 <br />
|-<br />
| CON1-P08 || UART2-TX || PB0 <br />
|-<br />
| CON1-P09 || GND || <br />
|-<br />
| CON1-P10 || UART2-RX || PB1 <br />
|-<br />
| CON1-P11 || UART3_TX || PH6 <br />
|-<br />
| CON1-P12 || AP-PCM-CLK-CTS || PG11<br />
|-<br />
| CON1-P13 || UART3_RX || PH7 <br />
|-<br />
| CON1-P14 || GND ||<br />
|-<br />
| CON1-P15 || LVDS_V1N || PD21 <br />
|-<br />
| CON1-P16 || UART2-RTS || PB2 <br />
|-<br />
| CON1-P17 || VCC-3V3 ||<br />
|-<br />
| CON1-P18 || UART2-CTS || PB3 <br />
|-<br />
| CON1-P19 || SPI0_MOSI || PC0 <br />
|-<br />
| CON1-P20 || GND ||<br />
|-<br />
| CON1-P21 || SPI0_MISO || PC1 <br />
|-<br />
| CON1-P22 || LVDS_V1P || PD20 <br />
|-<br />
| CON1-P23 || SPI0_CLK || PC2 <br />
|-<br />
| CON1-P24 || SPI0_CS || PC3 <br />
|-<br />
| CON1-P25 || GND ||<br />
|-<br />
| CON1-P26 ||LVDS_VCN || PD25 <br />
|-<br />
| CON1-P27 || LVDS_V0N || PD19 <br />
|-<br />
| CON1-P28 || LVDS_VCP || PD24<br />
|-<br />
| CON1-P29 || LVDS_V0P || PD18 <br />
|-<br />
| CON1-P30 || GND ||<br />
|-<br />
| CON1-P31 || LVDS_V2N || PD23<br />
|-<br />
| CON1-P32 || LVDS_V2P || PD22 <br />
|-<br />
| CON1-P33 || LVDS_V3N || PD27 <br />
|-<br />
| CON1-P34 || GND ||<br />
|-<br />
| CON1-P35 || AP-PCM-SYNC || PG10 <br />
|-<br />
| CON1-P36 || LVDS_V3P || PD26 <br />
|-<br />
| CON1-P37 || PL11-EINT11|| PL11-EINT11<br />
|-<br />
| CON1-P38 || AP_PCM_DIN || PG13 <br />
|-<br />
| CON1-P39 || GND ||<br />
|-<br />
| CON1-P40 || AP-PCM-DOUT || PG12 <br />
|- <br />
|}<br />
<br />
'''CSI Camera Connector specification:'''<br />
<br />
The CSI Camera Connector is a 40-pin FPC connector which can connect external camera module with proper signal pin mappings. The pin definitions of the CSI interface are shown as below. This is marked on the Banana Pi board as “Camera”.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''CSI Camera pin define of Banana pi BPI-M2 Magic'''<br />
|-<br />
|PIN number||Default Function || Function2:GPIO <br />
|-<br />
| CN3-P01 || NC ||<br />
|-<br />
| CN3-P02 || GND ||<br />
|-<br />
| CN3-P03 || CSI0-SDA || PE13 <br />
|-<br />
| CN3-P04 || CSI0-AVDD ||<br />
|-<br />
| CN3-P05 || CSI0-SCK || PE12 <br />
|-<br />
| CN3-P06 || CSI0-Reset || PE14 <br />
|-<br />
| CN3-P07 || CSI0-VSYNC || PE3 <br />
|-<br />
| CN3-P08 || CSI0-PWDN || PE15 <br />
|-<br />
| CN3-P09 || CSI0-HSYNC || PE2 <br />
|-<br />
| CN3-P10 || CSI0-DVDD ||<br />
|-<br />
| CN3-P11 || CSI0-DOVDD | <br />
|-<br />
| CN3-P12 || CSI0-D7 || PE11 <br />
|-<br />
| CN3-P13 || CSI0-MCLK || PE1 <br />
|-<br />
| CN3-P14 || CSI0-D6 || PE10 <br />
|-<br />
| CN3-P15 || GND ||<br />
|-<br />
| CN3-P16 || CSI0-D5 || PE9 <br />
|-<br />
| CN3-P17 || CSI0-PCLK || PE0 <br />
|-<br />
| CN3-P18 || CSI0-D4 || PE8 <br />
|-<br />
| CN3-P19 || CSI0-D0 || PE4 <br />
|-<br />
| CN3-P20 || CSI0-D3 || PE7 <br />
|-<br />
| CN3-P21 || CSI0-D1 || PE5 <br />
|-<br />
| CN3-P22 || CSI0-D2 || PE6 <br />
|-<br />
| CN3-P23 || GND ||<br />
|-<br />
| CN3-P24 || CSI0-AFVCC ||<br />
|- <br />
|}<br />
<br />
<br />
'''MIPI DSI \(Display Serial Interface\)'''<br />
<br />
The display Connector is a 24-pin FPC connector which can connect external LCD panel \(MIPI DSI\) and touch screen \(I2C\) module as well. The pin definitions of this connector are shown as below. This is marked on the Banana Pi board as “DSI”.<br />
<br />
**DSI Pin Name**<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''MIPI DSI PIN define of Banana pi BPI-M2 Magic'''<br />
|-<br />
| PIN number || Default Function || Function2:GPIO <br />
|-<br />
| CN2-P01 || DSI-D0N ||<br />
|-<br />
| CN2-P02 || DSI-D0P ||<br />
|-<br />
| CN2-P03 || DSI-D1N ||<br />
|-<br />
| CN2-P04 || DSI-D1P ||<br />
|-<br />
| CN2-P05 || DSI-CKN ||<br />
|-<br />
| CN2-P06 || DSI-CKP ||<br />
|-<br />
| CN2-P07 || DSI-D2N ||<br />
|-<br />
| CN2-P08 || DSI-D2P ||<br />
|-<br />
| CN2-P09 || DSI-D3N ||<br />
|-<br />
| CN2-P10 || DSI-D3P ||<br />
|-<br />
| CN2-P11 || NC ||<br />
|-<br />
| CN2-P12 || NC ||<br />
|-<br />
| CN2-P13 || TP-SDA || PH3 <br />
|-<br />
| CN2-P14 || TP-SCK || PH2 <br />
|-<br />
| CN2-P15 || TP-INT || PB5 <br />
|-<br />
| CN2-P16 || TP-RST || PB6 <br />
|-<br />
| CN2-P17 || LCD-BL-EN || PL4 <br />
|-<br />
| CN2-P18 || LCD-RST || PL5 <br />
|-<br />
| CN2-P19 || LCD-PWR-EN || PB7 <br />
|-<br />
| CN2-P20 || LCD-PWM || PH0 <br />
|-<br />
| CN2-P21 || GND ||<br />
|-<br />
| CN2-P22 || GND ||<br />
|-<br />
| CN2-P23 || PS ||<br />
|-<br />
| CN2-P24 || PS ||<br />
|- <br />
|}<br />
<br />
'''UART specification:'''<br />
<br />
The header CON4 is the UART0 interface. '''kernel debug uart is UART2 of 40pin header.'''<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''Uart PIN define of Banana pi BPI-M2 Magic'''<br />
|-<br />
| CON3-P1 || GND <br />
|-<br />
| CON3-P2 || UART0-RX <br />
|-<br />
| CON3-P3 || UART0-TX <br />
|- <br />
|}<br />
<br />
=Resources=<br />
==android 6.0 source code==<br />
google driver : https://drive.google.com/file/d/1FhHAVjNWTi8Uq-LNMn0liqcHS4cSN5xY/view?usp=drivesdk<br />
==Documents==<br />
*BPI-M2 Magic Gerber/Boom/Assembly document: <br />
:Baidu cloud: https://pan.baidu.com/s/1cpuZXDWfuW6twX_IYBRWaw?pwd=8888 (pincode: 8888)<br />
:Google drive: https://drive.google.com/file/d/1017oWy4oR7l5weSilT0MqaIQubfBkTXa/view?usp=sharing<br />
<br />
*Because of the Google security update some of the old links will not work if the images you want to use cannot be downloaded from the [https://drive.google.com/drive/folders/0B_YnvHgh2rwjVjNyS2pheEtWQlk?resourcekey=0-U4TI84zIBdId7bHHjf2qKA new link bpi-image Files]<br />
*All banana pi [https://drive.google.com/drive/folders/0B4PAo2nW2Kfndjh6SW9MS2xKSWs?resourcekey=0-qXGFXKmd7AVy0S81OXM1RA&usp=sharing docement(SCH file,DXF file,and doc)]<br />
*allwinner R16 chip Datasheet-V1.4 (1): https://drive.google.com/file/d/0B4PAo2nW2KfnVW9FSUpPX2FLcU0/view?usp=sharing<br />
<br />
*Allwinner_R16_User_Manual_V1.2: https://drive.google.com/file/d/0B4PAo2nW2KfnUjZUNVdyN1RkVlE/view?usp=sharing<br />
*SCH : [https://drive.google.com/drive/folders/0B4PAo2nW2KfnflVqbjJGTFlFTTd1b1o1OUxDNk5ackVDM0RNUjBpZ0FQU19SbDk1MngzZWM?resourcekey=0-ZRCiv304nGzvq-w7lwnpjg&usp=sharing google driver]<br />
<br />
*AXP223 Datasheet V1.0_en :https://drive.google.com/file/d/0B4PAo2nW2KfnckxWZFBBMUNWSUk/view?usp=sharing<br />
*BPI-M2 Magic DXF file public https://drive.google.com/file/d/0B4PAo2nW2KfnalhDRG5EclU1dHM/view?usp=sharing<br />
<br />
= Image Release=<br />
==Android 6.0 LCD7-Version ==<br />
<br />
*2019-08-06 update ,BPI-M2 Magic Android 6 new image release ,This release is for banana pi M2m board with BPI 7" panel, and it is based on Android 6.0 Operation system with kernel 3.4.<br />
<br />
::Android 6<br />
::::Fetures Map: http://wiki.banana-pi.org/M2M_Image_Map#Kernel_3.4<br />
::::Google Drive : https://drive.google.com/open?id=1QH9v37XCpOAxFJLaazsSzzFyFj2LdPtg<br />
::::Baidu Drive : https://pan.baidu.com/s/1xO9jZQsNXoTAmdpDFBiwYg (PinCode:alyr)<br />
::::MD5 : 90e2f11480b54ba6fa5b630770913a85<br />
::FAQ<br />
::::How to install Android image,Please see here: http://wiki.banana-pi.org/Install_Linux_%26_Android_images_on_Banana_pi_SBC#Install_Android_Images<br />
<br />
* Image Link: <br />
** Google Drive: https://drive.google.com/open?id=0B_YnvHgh2rwjbkNuaEt4OTlyQjg<br />
** Baidu Drive:https://pan.baidu.com/s/1qY8zAmo<br />
* Forum thread:<br />
**http://forum.banana-pi.org/t/bpi-m2-magic-new-image-android-6-0-version-v1-2017-10-24/4077<br />
<br />
==Linux==<br />
:[http://wiki.banana-pi.org/Getting_Started_with_M2M#Linux How to flash Linux Image]<br />
<br />
===Ubuntu===<br />
<br />
* 2021-03-24 release, Ubuntu Mate Desktop 16.04 with kernel 3.4.39<br />
::Download: [https://download.banana-pi.dev/d/ca025d76afd448aabc63/files/?p=%2FImages%2FBPI-M2M%2FUbuntu16.04%2F2021-03-24-ubuntu-16.04-mate-desktop-bpi-m2m-sd-emmc.img.zip 2021-03-24-ubuntu-16.04-mate-desktop-bpi-m2m-sd-emmc.img.zip]<br />
::MD5: 393407f3433acf69eabc19e8730f63f0<br />
<br />
* 2021-03-24 release, Ubuntu Server 16.04 with kernel 3.4.39<br />
::Download: [https://download.banana-pi.dev/d/ca025d76afd448aabc63/files/?p=%2FImages%2FBPI-M2M%2FUbuntu16.04%2F2021-03-24-ubuntu-16.04-server-bpi-m2m-sd-emmc.img.zip 2021-03-24-ubuntu-16.04-server-bpi-m2m-sd-emmc.img.zip]<br />
::MD5: 80f6bef4628eef0da8c5800819cc1cfd<br />
<br />
*2019-05-11 update This release is for banana pi M2 Magic board which is based on R16, and it is based on Ubuntu 16.04 Operation system with kernel 3.4.<br />
<br />
::.BPI-M2M Ubuntu Server 16.04 Features Map : http://wiki.banana-pi.org/M2M_Image_Map<br />
:: LCD7 SD & Emmc version images:<br />
::::Google Drive : https://drive.google.com/file/d/1jrW7BKWblRyYYpgB6SEMnRWoGjREVexe/view<br />
::::Baidu Drive : https://pan.baidu.com/s/1QIXnZHg7MS9pR7pRXvZu1w (PinCode:n20l) <br />
::::MD5 : 9dcd344f0a6433bc649301930599d45b<br />
:: CD7 Emmc version image: <br />
:::: Notes : Because sd pins and uart0 pins are the same, so we have to use uart2 as debug console before, and I release this image is just in order to release uart2 to use and set uart0 as debug console. <br />
:::: How to burn image:you just need to use m2m boot from a sd image, then use sd image to install this emmc image on emmc.<br />
:::: Google Drive : https://drive.google.com/open?id=1vJqO2O47Ekq9diny7kZQKBQLXylCGuTG<br />
:::: Baidu Drive : https://pan.baidu.com/s/1xE5tpw0DqNAV2mqKg_TbpQ (PinCode:awpy) <br />
:::: MD5 : 9f576cfaeb0329648b14b541ff2f5dd4<br />
::FAQ:For more operation details please see Wiki: http://wiki.banana-pi.org/Getting_Started_with_M2M<br />
::forum pthread: http://forum.banana-pi.org/t/bpi-m2m-r16-new-image-release-ubuntu-server-16-04-2019-05-09/9205<br />
<br />
* Unbutu 16.04 2018-08-25 Image Link: This release is for banana pi M2 Magic board which is based on R16, and it is based on Ubuntu 16.04 Operation system with kernel 3.4.<br />
::BPI-M2M Ubuntu 16.04 Features Map:http://wiki.banana-pi.org/M2M_Image_Map <br />
::LCD 7’-Version Google Drive : https://drive.google.com/open?id=14LH4NGAyfeCXhnKlzc75-K6p2gmO5RrM<br />
::LCD 7’-Version Baidu Drive : https://pan.baidu.com/s/17jiGC4fCSTfVKPWUgh-VXA<br />
::Forum pthread:http://forum.banana-pi.org/t/bpi-m2m-r16-new-image-release-ubuntu-16-04-2018-08-25/6596<br />
::For more operation details please see Wiki: http://wiki.banana-pi.org/Getting_Started_with_M2M<br />
<br />
* Unbutu 16.04 2018-01-04 Image Link: <br />
:: Baidu Drive:https://pan.baidu.com/s/1kVKjxOF <br />
:: Google Drive: https://drive.google.com/file/d/1GKwVO03Z5VHOaodVVyboLC-F7r_qyk7e/view?usp=sharing2<br />
:: MD5: df72548c26cd42b8138f334f5b383f31<br />
<br />
* Unbutu 16.04 2017-10-23 Image Link: <br />
:: Baidu Drive:http://pan.baidu.com/s/1hsGhxWS<br />
:: Google Drive: https://drive.google.com/file/d/0B_YnvHgh2rwjU2xWQ3otX0JZb1E/view?usp=sharing<br />
:: MD5: 23cd3f0891d8ad274984eea3f4981eab<br />
<br />
===Tina Linux===<br />
*2017-11-15 update : tina astar m2magic<br />
::more about Tina Linux [[Tina Linux]]<br />
::image name : 2017-11-15-tina_astar-m2magic_card0_burn_by_PhoenixCard.img<br />
::google downlad : https://drive.google.com/open?id=13iVMJJVY6i8GJjMjoAyk62IDW83MagDX <br />
::forum pthread: http://forum.banana-pi.org/t/bpi-m2-magic-new-image-2017-11-15-tina-astar-m2magic-card0-burn-by-phoenixcard/4184<br />
<br />
=FAQ=</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M1%2B&diff=17141
Banana Pi BPI-M1+
2024-03-20T08:13:16Z
<p>Sinovoip: /* Documents */</p>
<hr />
<div>[[zh:香蕉派_BPI-M1%2B]]<br />
=Introduction=<br />
<br />
[[File:Banana_pi_BPI-M1+_1.jpg|thumb|[[Banana Pi BPI-M1+]] with Allwinner A20 chip]]<br />
[[File:Banana_pi_BPI-M1+_2.jpg|thumb|Overview]]<br />
[[File:Banana_Pi_BPI-M4_Berry_1.jpg|thumb|[[Banana Pi BPI-M4 Berry]] H618 design]]<br />
[[File:Banana_pi_BPI-M1_1.jpg|thumb|[[Banana Pi BPI-M1]] with Allwinner A20 chip]]<br />
[[File:BPI-M2_zero_11.JPG|thumb|[[Banana Pi BPI-M2 ZERO]] with Allwinner H3 chip]]<br />
[[File:BPI-F2_zero_1.JPG|thumb|[[Banana Pi BPI-P2 Zero]] with Allwinner H3 chip]]<br />
[[File:Banana_pi_BPI-M2+_2.jpg|thumb|[[Banana Pi BPI-M2+]] with Allwinner H3 chip]]<br />
[[File:Banana_pi_bpi-m2_magic_5.JPG|thumb|[[Banana Pi BPI-M2M ]] with Allwinner R16 chip design]]<br />
[[File:Banana_pi_BPI-M2_Berry_5.JPG|thumb|[[Banana Pi BPI-M2 Berry]] with Allwinner A40i]]<br />
[[File:Banana_pi_BPI-M2_Ultra_4.JPG|thumb|[[Banana Pi BPI-M2U]] with Allwinner A40i]]<br />
[[File:Banana_pi_BPI-M64_1.jpg|thumb|[[Banana Pi BPI-M64]] with Allwinner A64 chip design]]<br />
[[File:Banana_pi_BPI-M3_1.jpg|thumb|[[Banana Pi BPI-M3]] with Allwinner A83T chip design]]<br />
<br />
[[File:BPI-M1+_3d.jpg|thumb|BPI-M1+ 3D]]<br />
[[File:MultiQB_front.jpg|thumb|BPI-M1/M1+ for BPI 4.0 [[Successful case]] : smart home gateway]]<br />
[[File:IMG_3036.JPG|thumb|BPI-M1/M1+ for BPI 4.0 [[Successful case]] :3G Information security terminal]]<br />
[[File:IMG_3085.JPG|thumb|BPI-M1/M1+ for BPI 4.0 [[Successful case]] :4G Industrial safety tablets]]<br />
[[File:BPI-M1+_case.jpg|thumb|BPI-M1+ case]]<br />
<br />
<br />
<br />
Banana Pi BPI-M1+ upgrade is an open-source single-board computer that adds more connectivity to the classic board. It features the same high performance AllWinner A20 dual-core SoC at 1GHz, 1GB of DDR3 SDRAM, Gigabit Ethernet, SATA, USB, and HDMI connections found in classic BPI-M1+ ; but the Banana Pi M1+ features onboard WiFi g/b/n. The board supports all classic projects and even more because of the onboard WIFi chip. Like its sibling, it can run operating systems including Android, Lubuntu, Ubuntu, Debian, and Raspbian.<br />
<br />
[[File:A_BPI-M1+.jpg]]<br />
<br />
The Banana Pi M1+ is our upgraded M1 board. We feel like the onboard WiFi adds a lot more features to the board and makes it more convient for users to set up their linx desktop or router projects. <br />
Banana Pi is an open platform device, it is for anyone who wants to play and build with developer technology instead of simply using consumer technology. Backed by our community, starting a project and building servers is fun and rewarding. With a Banana Pi, we want you to explore and experience the world of DIY projects and portable computing. We welcome all companies, DIYers, and tech loving people within our community! Together, we can make a difference, we can discover our passions, inspire others, and build a practical project.<br />
<br />
==Key Features==<br />
<br />
* Allwinner A20 Dual-core 1.0GHz CPU<br />
* Mali-400 MP2 with Open GL ES 2.0/1.1.<br />
* 1 GB DDR3 memory.<br />
* Wifi support onboard<br />
* 1x SATA interface.<br />
* 1x Gigabit LAN <br />
* 1x USB otg and 2x USB 2.0<br />
* 1X MIC<br />
* AV out<br />
* HDMI out<br />
* IR <br />
* CSI camera interface<br />
* DSI display interface<br />
* 40 PIN gpio<br />
* 3.7V lithium battery interface<br />
<br />
==Get startting ==<br />
*How to burn image : [[Quick Start Banana pi SBC]]<br />
*How to development : [[Getting Started with M1P]]<br />
<br />
==Hardware==<br />
<br />
===Hardware interface===<br />
[[File:BPI-M1_plus_interface.jpg]]<br />
<br />
===Hardware spec===<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''Banana Pi BPI-M1+'''<br />
|-<br />
|-<br />
| CPU<br />
| A20 ARM Cortex -A7 Dual-Core<br />
|-<br />
| GPU<br />
| ARM Mali400MP2Complies with OpenGL ES 2.0/1.1 <br />
|-<br />
| Memory<br />
| 1GB DDR3<br />
|-<br />
| Network<br />
| 10/100/1000 Ethernet <br />
|-<br />
| wifi&BT<br />
| Wifi support onboard<br />
|-<br />
| Video Input<br />
| A CSI input connector allows for the connection of a designed camera module<br />
|-<br />
| Video Outputs<br />
| HDMI, CVBS, LVDS/RGB<br />
|-<br />
| Audio Outputs<br />
| 3.5mm jack and HDMI<br />
|-<br />
| Power Source<br />
| 5V/2A via Micro USB (DC in only) and / or Micro USB OTG<br />
|-<br />
| USB 2.0 ports<br />
| 2(direct from Allwinner A20 chip)<br />
|-<br />
| GPIO<br />
| GPIO, UART, I2C BUS, SPI BUS, WITH TWO CHIP SELECTS, [[CAN bus]], ADC, PWM, +3.3V, +5V, GND<br />
|-<br />
| LED<br />
| Power Key & 8P8C<br />
|-<br />
| Storage<br />
| SATA 2.0<br />
|-<br />
| OS<br />
| Android 4.4, Android 4.2, Raspbian, Lubuntu, Open Suse, Debian<br />
|}<br />
<br />
===GPIO PIN define ===<br />
<br />
Banana Pi BPI-M1+ has a 40-pin GPIO header . Following is the Banana Pi GPIO Pinout:<br />
<br />
[[File:Gpio define.png]]<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''40 PIN GPIO of Banana pi BPI-M1+'''<br />
|-<br />
|GPIO Pin Name || Default Function || Function2:GPIO <br />
|-<br />
| CON3-P01 || VCC-3V3 ||<br />
|-<br />
| CON3-P02 || VCC-DC ||<br />
|-<br />
| CON3-P03 || TWI2-SDA || PB21 <br />
|-<br />
| CON3-P04 || VCC-DC ||<br />
|-<br />
| CON3-P05 || TWI2-SCK || PB20 <br />
|-<br />
| CON3-P06 || GND ||<br />
|-<br />
| CON3-P07 || PWM1 || PI3 <br />
|-<br />
| CON3-P08 || UART3\_TX ||PH0 <br />
|-<br />
| CON3-P09 || GND ||<br />
|-<br />
| CON3-P10 || UART3\_RX || PH1 <br />
|-<br />
| CON3-P11 || UART2\_RX || PI19 <br />
|-<br />
| CON3-P12 || PH2 || PH2 <br />
|-<br />
| CON3-P13 || UART2\_TX || PI18 <br />
|-<br />
| CON3-P14 || GND ||<br />
|-<br />
| CON3-P15 || UART2\_CTS || PI17 <br />
|-<br />
| CON3-P16 || CAN\_TX || PH20 <br />
|-<br />
| CON3-P17 || VCC-3V3 ||<br />
|-<br />
| CON3-P18 || CAN\_RX || PH21 <br />
|-<br />
| CON3-P19 || SPI0\_MOSI || PI12 <br />
|-<br />
| CON3-P20 || GND ||<br />
|-<br />
| CON3-P21 || SPI0\_MISO || PI13 <br />
|-<br />
| CON3-P22 || UART2\_RTS || PI16 <br />
|-<br />
| CON3-P23 || SPI0\_CLK || PI11 <br />
|-<br />
| CON3-P24 || SPI0\_CS0 || PI10 <br />
|-<br />
| CON3-P25 || GND ||<br />
|-<br />
| CON3-P26 || SPI0\_CS1 || PI14 <br />
|-<br />
| CON3-P27 || TWI3-SDA || PI1 <br />
|-<br />
| CON3-P28 || TWI3-SCK || PI0 <br />
|-<br />
| CON3-P29 || I2S\_MCLK || PB5 <br />
|-<br />
| CON3-P30 || GND ||<br />
|-<br />
| CON3-P31 || I2S\_BCLK || PB6 <br />
|-<br />
| CON3-P32 || I2S\_DI || PB12 <br />
|-<br />
| CON3-P33 || I2S\_LRCK || PB7 <br />
|-<br />
| CON3-P34 || GND || <br />
|-<br />
| CON3-P35 || I2S\_DO0 || PB8 <br />
|-<br />
| CON3-P36 || UART7\_RX || PI21 <br />
|-<br />
| CON3-P37 || IR0\_TX || PB3 <br />
|-<br />
| CON3-P38 || UART7\_TX || PI20 <br />
|-<br />
| CON3-P39 || GND ||<br />
|-<br />
| CON3-P40 || SPDIF\_DO || PB13 <br />
|- <br />
|}<br />
<br />
'''CSI Camera Connector specification:'''<br />
<br />
The CSI Camera Connector is a 40-pin FPC connector which can connect external camera module with proper signal pin mappings.The pin definitions of the CSI interface are shown as below. This is marked on the Banana Pi board as “CON1″.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''CSI PIN of Banana pi BPI-M1+'''<br />
|-<br />
| CSI Pin Name || Default Function Pin name || Function2:GPIO <br />
|-<br />
| CON1 P01 || LINEINL ||<br />
|-<br />
| CON1 P02 || LINEINR ||<br />
|-<br />
| CON1 P03 || VCC-CSI ||<br />
|-<br />
| CON1 P04 || ADC\_X1 ||<br />
|-<br />
| CON1 P05 || GND ||<br />
|-<br />
| CON1 P06 || ADC\_X2 ||<br />
|-<br />
| CON1 P07 || FMINL ||<br />
|-<br />
| CON1 P08 || ADC\_Y1 ||<br />
|-<br />
| CON1 P09 || FMINR ||<br />
|-<br />
| CON1 P10 || ADC\_Y2 ||<br />
|-<br />
| CON1 P11 || GND ||<br />
|-<br />
| CON1 P12 || CSI-FLASH || PH17 <br />
|-<br />
| CON1 P13 || LRADC0 ||<br />
|-<br />
| CON1 P14 || TWI1-SDA || PB19 <br />
|-<br />
| CON1 P15 || LRADC1 ||<br />
|-<br />
| CON1 P16 || TWI1-SCK || PB18 <br />
|-<br />
| CON1 P17 || CSI-D0 || PE4 <br />
|-<br />
| CON1 P18 || CSI0-STBY-EN || PH19 <br />
|-<br />
| CON1 P19 || CSI0-D1 || PE5 <br />
|-<br />
| CON1 P20 || CSI-PCLK || PE0 <br />
|-<br />
| CON1 P21 || CSI-D2 || PE6 <br />
|-<br />
| CON1 P22 || CSI0-PWR-EN || PH16 <br />
|-<br />
| CON1 P23 || CSI-D3 || PE7 <br />
|-<br />
| CON1 P24 || CSI0-MCLK || PE1 <br />
|-<br />
| CON1 P25 || CSI-D4 || PE8 <br />
|-<br />
| CON1 P26 || CSI0-RESET\# || PH14 <br />
|-<br />
| CON1 P27 || CSI-D5 || PE9 <br />
|-<br />
| CON1 P28 || CSI-VSYNC || PE3 <br />
|-<br />
| CON1 P29 || CSI-D6 || PE10 <br />
|-<br />
| CON1 P30 || CSI-HSYNC || PE2 <br />
|-<br />
| CON1 P31 || CSI-D7 || PE11 <br />
|-<br />
| CON1 P32 || CSI1-STBY-EN || PH18 <br />
|-<br />
| CON1 P33 || AP-RESET\# ||<br />
|-<br />
| CON1 P34 || CSI1-RESET\# || PH13 <br />
|-<br />
| CON1 P35 || CSI-IO0 || PH11 <br />
|-<br />
| CON1 P36 || HPR ||<br />
|-<br />
| CON1 P37 || HPL ||<br />
|-<br />
| CON1 P38 || IPSOUT <br />
|-<br />
| CON1 P39 || GND ||<br />
|-<br />
| CON1 P40 || IPSOUT || <br />
|- <br />
|}<br />
<br />
'''LVDS \(LCD display interface\)'''<br />
<br />
The LVDS Connector is a 40-pin FPC connector which can connect external LCD panel \(LVDS\) and touch screen \(I2C\) module as well.The pin definitions of this connector are shown as below. This is marked on the Banana Pi board as “CON2″.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''LVDS PIN of Banana pi BPI-M1+'''<br />
|-<br />
| LVDS Pin || Default Function || Function2 || Function3:GPIO <br />
|-<br />
| CON2 P01 || IPSOUT\(5V output\) || || <br />
|-<br />
| CON2 P02 || TWI3-SDA || || PI1 <br />
|-<br />
| CON2 P03 || IPSOUT\(5V output\) || || <br />
|-<br />
| CON2 P04 || TWI3-SCK || || PI0 <br />
|-<br />
| CON2 P05 || GND || || <br />
|-<br />
| CON2 P06 || LCD0-IO0 || || PH7 <br />
|-<br />
| CON2 P07 || LCDIO-03 || || PH12 <br />
|-<br />
| CON2 P08 || LCD0-IO1 || || PH8 <br />
|-<br />
| CON2 P09 || LCD0-D0 || LVDS0-VP0 || PD0 <br />
|-<br />
| CON2 P10 || PWM0 || || PB2 <br />
|-<br />
| CON2 P11 || LCD0-D1 || LVDS0-VN0 || PD1 <br />
|-<br />
| CON2 P12 || LCD0-IO2 || || PH9 |<br />
|-<br />
| CON2 P13 || LCD0-D2 || LVDS0-VP1 || PD2 <br />
|-<br />
| CON2 P14 || LCD0-DE || || PD25 <br />
|-<br />
| CON2 P15 || LCD0-D3 || LVDS0-VN1 || PD3 <br />
|-<br />
| CON2 P16 || LCD0-VSYNC || || PD27 <br />
|-<br />
| CON2 P17 || LCD0-D4 || LVDS0-VP2 || PD4 <br />
|-<br />
| CON2 P18 || LCD0-HSYNC || || PD26 <br />
|-<br />
| CON2 P19 || LCD0-D5 || LVDS0-VN2 || PD5 <br />
|-<br />
| CON2 P20 || LCD0-CS || || PH6 |<br />
|-<br />
| CON2 P21 || LCD0-D6 || LVDS0-VPC || PD6 <br />
|-<br />
| CON2 P22 || LCD0-CLK || || PD24 <br />
|-<br />
| CON2 P23 || LCD0-D7 || LVDS0-VNC || PD7 <br />
|-<br />
| CON2 P24 || GND || || <br />
|-<br />
| CON2 P25 || LCD0-D8 ||LVDS0-VP3 || PD8 <br />
|-<br />
| CON2 P26 || LCD0-D23 || || PD23 <br />
|-<br />
| CON2 P27 || LCD0-D9 || LVDS0-VN3 || PD9 <br />
|-<br />
| CON2 P28 || LCD0-D22 || || PD22 <br />
|-<br />
| CON2 P29 || LCD0-D10 || || PD10 <br />
|-<br />
| CON2 P30 || LCD0-D21 || || PD21 <br />
|-<br />
| CON2 P31 || LCD0-D11 || || PD11 <br />
|-<br />
| CON2 P32 || LCD0-D20 || || PD20 <br />
|-<br />
| CON2 P33 || LCD0-D12 || || PD12 <br />
|-<br />
| CON2 P34 || LCD0-D19 || || PD19 <br />
|-<br />
| CON2 P35 || LCD0-D13 || || PD13 <br />
|-<br />
| CON2 P36 || LCD0-D18 || || PD18 <br />
|-<br />
| CON2 P37 || LCD0-D14 || || PD14 <br />
|-<br />
| CON2 P38 || LCD0-D17 || || PD17 <br />
|-<br />
| CON2 P39 || LCD0-D15 || || PD15 <br />
|-<br />
| CON2 P40 || LCD0-D16 || || PD16 <br />
|- <br />
|}<br />
<br />
'''UART specification:'''<br />
<br />
The jumper J11header CON4 is the UART interface.For developers of Banana Pi, this is an easy way to get the UART console output to check the system status and log message.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''UART debug PIN of Banana pi BPI-M1+'''<br />
|-<br />
| Pin Name || Default Function || GPIO <br />
|-<br />
| CON4 P03 || UART0-TXD || PB22 <br />
|-<br />
| CON4 P02 || UART0-RXD || PB23 <br />
|-<br />
| CON4 P01 ||GND || <br />
|- <br />
|}<br />
<br />
=Software=<br />
<br />
=Development=<br />
<br />
==Basic Development==<br />
<br />
=Resources=<br />
==Source code==<br />
<br />
* Linux kernel 3.4 Source code : https://github.com/BPI-SINOVOIP/BPI-M1-bsp<br />
<br />
* Android 4.4 source code<br />
:LCD7 type: https://github.com/BPI-SINOVOIP/BPI-A20-Android-4.4<br />
<br />
* Android 4.2.2 source code<br />
:HDMI type: https://github.com/BPI-SINOVOIP/BPI-A20-Android<br />
<br />
==Documents==<br />
*BPI-M1+ Gerber/Boom/Assembly document: <br />
:Baidu cloud: https://pan.baidu.com/s/1Vc6b81eysfECBgsY7IZ-sQ?pwd=8888 (pincode: 8888)<br />
:Google drive: https://drive.google.com/file/d/1GVANm-AmIi409qpgcsj0NgcBxXUj-l2J/view?usp=sharing<br />
<br />
*Because of the Google security update some of the old links will not work if the images you want to use cannot be downloaded from the [https://drive.google.com/drive/folders/0B_YnvHgh2rwjVjNyS2pheEtWQlk?resourcekey=0-U4TI84zIBdId7bHHjf2qKA new link bpi-image Files]<br />
*All banana pi [https://drive.google.com/drive/folders/0B4PAo2nW2Kfndjh6SW9MS2xKSWs?resourcekey=0-qXGFXKmd7AVy0S81OXM1RA&usp=sharing docement(SCH file,DXF file,and doc)]<br />
* schematic diagram: [https://drive.google.com/drive/folders/0B4PAo2nW2KfnflVqbjJGTFlFTTd1b1o1OUxDNk5ackVDM0RNUjBpZ0FQU19SbDk1MngzZWM?resourcekey=0-ZRCiv304nGzvq-w7lwnpjg&usp=sharing google drive]<br />
* BPI-M1+ DXF file download link : [https://drive.google.com/folderview?id=0B4PAo2nW2Kfnfkd0QmxaU3F2bHBWdkFiS09vT3VoZkVyNW93OXFjM0dHRVdGazhRWmFzZDQ&usp=sharing&tid=0B4PAo2nW2Kfndjh6SW9MS2xKSWs google drive]<br />
*BPI-M1+ 3D design file download link :[https://drive.google.com/folderview?id=0B4PAo2nW2Kfnfl95clI4ZzRKUmRENWhMcmwzUlVrYW1Ic3BXZENtUjJQcjk5TXc0RHBKdlU&usp=sharing&tid=0B4PAo2nW2Kfndjh6SW9MS2xKSWs google drive]<br />
*CE FCC RoHS : [https://bananapi.gitbooks.io/bpi-m1/content/en/bpi-m1_ce_fcc_rohs_certification.html BPI-M1 CE,FCC,RoHS ] <br />
*Arch linux wiki for BPI-M1:https://wiki.archlinux.org/index.php/Banana_Pi<br />
*Nas for BPI-M1/BPI-M1+ : https://www.hackster.io/jeffbaocai/bananapi-pro-nas-0815dc?ref=platform&ref_id=8064_popular___&offset=3<br />
*NetBSD/evbarm on Allwinner SoCs : https://wiki.netbsd.org/ports/evbarm/allwinner/#index1h1<br />
*Gentoo for banana pi : https://wiki.gentoo.org/wiki/Banana_Pi_the_Gentoo_Way<br />
*openSUSE for banana pi : https://en.opensuse.org/HCL:BananaPi<br />
*How to booting from SSD using Lubuntu / Raspbian :https://bananapi.gitbooks.io/bpi-m1/content/en/howtobootingfromssdusinglubunturaspbian.html<br />
*Building the cluster on BPI : https://www.hackster.io/Penguinfly/banana-pi-cluster-47d566<br />
* Allwinner documents:<br />
::allwinner chip online datasheet and documents: http://dl.linux-sunxi.org/<br />
<br />
=Image Release=<br />
==Android 4.4==<br />
*2018-07-28 update android 4.4 LCD version image <br />
::Features Map:http://wiki.banana-pi.org/M1_Image_Map <br />
::Baidu Drive:https://pan.baidu.com/s/1DfSIiMvW_I-kFjTZMtcVsA<br />
::Google Drive: https://drive.google.com/open?id=1qcH9baIhOphsDdlH_yBADuBiZsvrSKnt<br />
::Forum pthtread :http://forum.banana-pi.org/t/bananapi-m1-m1p-r1-new-image-release-20180728/6357<br />
<br />
== Armbian image ==<br />
*Armbian_23.02.0-trunk_Bananapim1plus_jammy_edge_6.1.11_xfce_desktop.img.xz,This release is for banana pi M1 Plus board, which is based on Armbian operation system.<br />
jammy edge version with 6.1.11 kernel.<br />
::Baidu Drive: https://pan.baidu.com/s/1hkkl22uVjvRct1V7N4OK2w?pwd=8888<br />
::Google Drive: https://drive.google.com/drive/folders/1VpvVkYMqgmSnmfKXQSrEY2B6wRa-cggL?usp=share_link<br />
::Discuss on forum : https://forum.banana-pi.org/t/banana-pi-bpi-m1-plus-new-armbian-image/15158<br />
<br />
<br />
*2022-12-06 Armbian_22.11.0-trunk_Bananapi BPI-M1+ bullseye_edge_6.0.9.img.xz<br />
::Google Drive:https://drive.google.com/file/d/1AMEfQIygT8949sfkX6HIjap7WKpQox4i/view?usp=share_link<br />
::Baidu Cloud:https://pan.baidu.com/s/1ePzBiwN0wEd8j3muk1HOlA?pwd=8888 (pincode: 8888)<br />
::Discuss on forum: https://forum.banana-pi.org/t/bananapi-bpi-m1-new-image-release-armbian-bullseye/14447/2<br />
<br />
<br />
*Armbian Xenial and Armbian Jessie <br />
::Image lownload link :https://www.armbian.com/banana-pi-plus/<br />
<br />
==Ubuntu linux==<br />
<br />
*2022-09-07 Armbian_22.11.0-trunk_Bananapim1plus_jammy_edge_5.19.6_xfce_desktop.img<br />
::Google Drive:https://drive.google.com/file/d/1hlPkFx-NhGoCxYlHCqe4q9LwuQ0GosQL/view?usp=sharing<br />
::Baidu Cloud:https://pan.baidu.com/s/1SOeRKjVmTqTb6rMD71SfAw?pwd=wbnt (pincode: wbnt) <br />
<br />
*Banana Pi new image: Ubuntu 16.04 with Allwinner BSP, use MPV play 1080P video,Allwinner BSP kernel 3.4 , BPI-M2 Ultra/Berry use kernel 3.10<br />
::google driver: https://drive.google.com/drive/folders/1DEO7JdMfDhHynC83K7JMxgnNxf1gV82S<br />
::discuss on forum: https://forum.banana-pi.org/t/banana-pi-new-image-ubuntu-16-04-with-allwinner-bsp-use-mpv-play-1080p-video/13272<br />
<br />
==Debian Linux==<br />
<br />
*2022-09-07 Armbian_22.11.0-trunk_Bananapim1plus_bullseye_edge_5.19.6_xfce_desktop<br />
::Google Drive:https://drive.google.com/file/d/1XpumxbOR74FSLayoICh4ZN4G3uZ_o0Fo/view?usp=sharing<br />
::Baidu Cloud:https://pan.baidu.com/s/1JtqdKE4AsAwCc6i_Wys_VA?pwd=6kgc (pincode: 6kgc)<br />
<br />
*2019-9-18 update. Debian 10 buster mate desktop with grub support (boot-2019.07 + kernel 5.1.1)<br />
::google driver:https://drive.google.com/file/d/1FhbaO6pDBu5jSPYq1ghd7YKG-KvFy33Q/view?usp=sharing<br />
::forum pthread:http://forum.banana-pi.org/t/bpi-m1-m1-r1-new-image-debian-10-buster-mate-desktop-with-grub-support-boot-2019-07-kernel-5-1-1/9916<br />
<br />
==OpenWRT==<br />
===Officeal OpenWRT===<br />
*BPI-M1/BPI-M1+/BPI-R1 use A20 chip,so easy to run openwrt<br />
*wiki : https://wiki.openwrt.org/toh/lamobo/r1<br />
*openwrt support for allwinner :https://wiki.openwrt.org/doc/hardware/soc/soc.allwinner.sunxi?s[]=banana&s[]=pi<br />
*image download : https://downloads.openwrt.org/chaos_calmer/15.05/sunxi/generic/uboot-sunxi-Lamobo_R1/<br />
*opwrt for Allwinner Soc : https://wiki.openwrt.org/doc/hardware/soc/soc.allwinner.sunxi?s[]=banana&amp;s[]=pi<br />
<br />
===BPI BSP for OpenWRT===<br />
*How to build OpenWRT image from github : https://bananapi.gitbooks.io/bpi-m1/content/en/howtobuildopenwrtimagefromgithub.html<br />
<br />
==FreeBSD==<br />
<br />
FreeBSD on Allwinner (sunxi) systems for banana pi<br />
<br />
Banana pi as the official partner of Allwinner , must banana pi product use Allwinner chip design . such as A20/A31S/H3/H2+/A64/A83T , and FreeBSD have support many Allwinner . so easy to use on banana pi board.<br />
*Allwinner A20 (sun7i), a dual-core Cortex-A7 BPI-M1/BPI-M1+/BPI-R1<br />
*Allwinner A31 and A31s (sun6i), a quad-core Cortex-A7 BPI-M2<br />
*Allwinner A64 (sun50i), a quad-core Cortex-A53 BPI-M64 <br />
*Allwinner A83T (sun8i), an octa-core Cortex-A7 BPI-M3 <br />
*Allwinner H3 (sun8i), a quad-core Cortex-A7 BPI-M2+/BPI-M2+ EDU/<br />
<br />
https://wiki.freebsd.org/FreeBSD/arm/Allwinner<br />
<br />
==OpenSuse==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/opensuse.html<br />
<br />
==OpenMediaVault==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/openmediavault.html<br />
<br />
==Arch Linux==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/arch_linux.html<br />
<br />
==Gentoo Linux==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/gentoolinux.html<br />
<br />
==RaspBSD==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/raspbsdonbpi-m1.html<br />
<br />
==CentOS==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/centos7linuxforbpi.html<br />
<br />
==DietPi==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/dietpi.html<br />
<br />
==FreeBSD/NetBSD==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/freebsdnetbsd.html<br />
<br />
==Lakka TV==<br />
*Banana Pi M2+ with H3 chip <br />
*Banana Pi M3 with A83T chip<br />
*BPI-M1 and BPI-M1+ use A20 chip <br />
*more about this : https://bananapi.gitbooks.io/bpi-m3/content/en/lakkatv.html<br />
<br />
http://mirror.lakka.tv/nightly/<br />
<br />
==Simplenas==<br />
*simplenas image : https://simplenas.com/download/other/banana-pi-m1<br />
<br />
=FAQ=<br />
<br />
=Easy to buy=<br />
*SINOVOIP Aliexpress Shop: https://www.aliexpress.com/store/group/BPI-M1-Plus/1100417230_40000003434385.html<br />
*Bipai Aliexpress Shop: https://www.aliexpress.com/store/group/BPI-M1-Plus/1101951077_40000003414810.html<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1694930630.htm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M1&diff=17140
Banana Pi BPI-M1
2024-03-20T08:12:32Z
<p>Sinovoip: /* Documents */</p>
<hr />
<div>[[zh:香蕉派_BPI-M1]]<br />
=Introduction=<br />
<br />
[[File:Banana_pi_BPI-M1_1.jpg|thumb|[[Banana Pi BPI-M1]] with Allwinner A20 chip]]<br />
[[File:Banana_pi_BPI-M1+_1.jpg|thumb|[[Banana Pi BPI-M1+]] with Allwinner A20 chip]]<br />
[[File:Banana_Pi_BPI-M4_Berry_1.jpg|thumb|[[Banana Pi BPI-M4 Berry]] H618 design]]<br />
[[File:BPI-M2_zero_11.JPG|thumb|[[Banana Pi BPI-M2 ZERO]] with Allwinner H3 chip]]<br />
[[File:BPI-F2_zero_1.JPG|thumb|[[Banana Pi BPI-P2 Zero]] with Allwinner H3 chip]]<br />
[[File:Banana_pi_BPI-M2+_2.jpg|thumb|[[Banana Pi BPI-M2+]] with Allwinner H3 chip]]<br />
[[File:Banana_pi_bpi-m2_magic_5.JPG|thumb|[[Banana Pi BPI-M2M ]] with Allwinner R16 chip design]]<br />
[[File:Banana_pi_BPI-M2_Berry_5.JPG|thumb|[[Banana Pi BPI-M2 Berry]] with Allwinner A40i]]<br />
[[File:Banana_pi_BPI-M2_Ultra_4.JPG|thumb|[[Banana Pi BPI-M2U]] with Allwinner A40i]]<br />
[[File:Banana_pi_BPI-M64_1.jpg|thumb|[[Banana Pi BPI-M64]] with Allwinner A64 chip design]]<br />
[[File:Banana_pi_BPI-M3_1.jpg|thumb|[[Banana Pi BPI-M3]] with Allwinner A83T chip design]]<br />
<br />
[[File:BPI-M1_3d.jpg|thumb|BPI-M1 3D ]]<br />
[[File:White-2.JPG|thumb|BPI-M1 with plastic case]]<br />
[[File:MultiQB_front.jpg|thumb|BPI-M1/M1+ for BPI 4.0 [[Successful case]] : smart home gateway]]<br />
[[File:IMG_3036.JPG|thumb|BPI-M1/M1+ for BPI 4.0 [[Successful case]] :3G Information security terminal]]<br />
[[File:IMG_3085.JPG|thumb|BPI-M1/M1+ for BPI 4.0 [[Successful case]] :4G Industrial safety tablets]]<br />
<br />
The Banana Pi BPI-M1 is a business card-sized and low-power single-board computer featuring a high performance AllWinner A20 dual-core SoC at 1 GHz, 1 GB of DDR3 SDRAM, Gigabit Ethernet, SATA, USB, and HDMI connections. It can run a variety of operating systems including Android, Lubuntu, Ubuntu, Debian, and Raspbian.<br />
<br />
It is the first open source hardware launched by the banana pie team, and also a classic product with the largest cumulative sales of banana pie.There are still a lot of business clients that apply to various projects.A20 chip<br />
<br />
Banana Pi is an open platform device, it is for anyone who wants to play and build with developer technology instead of simply using consumer technology. Backed by our community, starting a project and building servers is fun and rewarding.<br />
<br />
[[File:A_BPI-M1.jpg]]<br />
<br />
==Key Features==<br />
<br />
* Allwinner A20 Dual-core 1.0GHz CPU<br />
* Mali-400 MP2 with Open GL ES 2.0/1.1.<br />
* 1 GB DDR3 memory.<br />
* 1x SATA interface.<br />
* 1x Gigabit LAN <br />
* 1x USB otg and 2x USB 2.0<br />
* 1X MIC<br />
* AV vide out<br />
* HDMI out<br />
* IR <br />
* CSI camera interface<br />
* DSI display interface<br />
* 26 PIN gpio<br />
<br />
==Getting Start==<br />
*[[Quick Start Banana pi SBC]]<br />
*[[Getting Started with M1]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:BPI-M1_interface.jpg]]<br />
<br />
==Hardware spec==<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''Banana Pi BPI-M1'''<br />
|-<br />
| CPU|| A20 ARM Cortex -A7 Dual-Core<br />
|-<br />
| GPU|| ARM Mali 400 MP2; Complies with OpenGL ES 2.0/1.1 <br />
|-<br />
| Memory|| 1GB DDR3<br />
|-<br />
| Network|| 10/100/1000 Ethernet [[Modular connector|8P8C]] ([[1000BASE-T]])<br />
|-<br />
| Video Input|| A CSI input connector allows for the connection of a designed camera module<br />
|-<br />
| Video Outputs|| HDMI, CVBS, LVDS/RGB<br />
|-<br />
| Audio Outputs|| 3.5mm jack and HDMI<br />
|-<br />
| Power Source|| 5 volts DC via Micro USB or GPIO<br />
|-<br />
| USB 2.0 ports|| 2 (direct from Allwinner A20 chip)<br />
|-<br />
| GPIO|| GPIO, UART, I2C BUS, SPI BUS, WITH TWO CHIP SELECTS, [[CAN bus]], ADC, PWM, +3.3V, +5V, GND<br />
|-<br />
| LED|| Power Key & 8P8C<br />
|-<br />
| Storage|| SATA 2.0, <br />
|}<br />
<br />
==GPIO PIN define ==<br />
<br />
Banana Pi BPI-M1 has a 26-pin GPIO header . Following is the Banana Pi GPIO Pinout:<br />
<br />
[[File:BPI-M1_26_pin.png]]<br />
<br />
Note: 5V1,5V2 only support output,not support input<br />
<br />
'''CSI Camera Connector specification:'''<br />
<br />
CSI Camera Connector The CSI Camera Connector is a 40-pin FPC connector which can connect external camera module with proper signal pin mappings. The pin definitions of the CSI interface are shown as below. This is marked on the Banana Pi board as “CON1″.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''40 PIN GPIO of Banana pi BPI-M1'''<br />
|-<br />
| CSI GPIO Pin || Pin Name || GPIO <br />
|-<br />
| CON1 P01 || LINEINL ||<br />
|-<br />
| CON1 P02 || LINEINR ||<br />
|-<br />
| CON1 P03 || VCC-CSI ||<br />
|-<br />
| CON1 P04 || ADC\_X1 ||<br />
|-<br />
| CON1 P05 || GND ||<br />
|-<br />
| CON1 P06 || ADC\_X2 ||<br />
|-<br />
| CON1 P07 || FMINL ||<br />
|-<br />
| CON1 P08 || ADC\_Y1 ||<br />
|-<br />
| CON1 P09 || FMINR ||<br />
|-<br />
| CON1 P10 || ADC\_Y2 ||<br />
|-<br />
| CON1 P11 || GND ||<br />
|-<br />
| CON1 P12 || CSI-FLASH || PH17 <br />
|-<br />
| CON1 P13 || LRADC0 ||<br />
|-<br />
| CON1 P14 || TWI1-SDA || PB19 <br />
|-<br />
| CON1 P15 || LRADC1 ||<br />
|-<br />
| CON1 P16 || TWI1-SCK || PB18 <br />
|-<br />
| CON1 P17 || CSI-D0 || PE4 <br />
|-<br />
| CON1 P18 || CSI0-STBY-EN || PH19 <br />
|-<br />
| CON1 P19 || CSI0-D1 || PE5 <br />
|-<br />
| CON1 P20 || CSI-PCLK || PE0 <br />
|-<br />
| CON1 P21 || CSI-D2 || PE6 <br />
|-<br />
| CON1 P22 || CSI0-PWR-EN || PH16 <br />
|-<br />
| CON1 P23 || CSI-D3 || PE7 <br />
|-<br />
| CON1 P24 || CSI0-MCLK || PE1 <br />
|-<br />
| CON1 P25 || CSI-D4 || PE8 <br />
|-<br />
| CON1 P26 || CSI0-RESET\# || PH14 <br />
|-<br />
| CON1 P27 || CSI-D5 || PE9 <br />
|-<br />
| CON1 P28 || CSI-VSYNC || PE3 <br />
|-<br />
| CON1 P29 || CSI-D6 || PE10 <br />
|-<br />
| CON1 P30 || CSI-HSYNC || PE2 <br />
|-<br />
| CON1 P31 || CSI-D7 || PE11 <br />
|-<br />
| CON1 P32 || CSI1-STBY-EN || PH18 <br />
|-<br />
| CON1 P33 || RESET\# ||<br />
|-<br />
| CON1 P34 || CSI1-RESET\# || PH13 <br />
|-<br />
| CON1 P35 || CSI-IO0 || PH11 <br />
|-<br />
| CON1 P36 || HPR ||<br />
|-<br />
| CON1 P37 || HPL ||<br />
|-<br />
| CON1 P38 || IPSOUT ||<br />
|-<br />
| CON1 P39 || GND ||<br />
|-<br />
| CON1 P40 || IPSOUT ||<br />
|- <br />
|}<br />
<br />
<br />
'''LVDS \(LCD display interface\)'''<br />
<br />
The LVDS Connector is a 40-pin FPC connector which can connect external LCD panel \(LVDS\) and touch screen \(I2C\) module as well. The pin definitions of this connector are shown as below. This is marked on the Banana Pi board as “CON2″.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''LVDS GPIO of Banana pi BPI-M1'''<br />
|-<br />
| LVDS Pin || Pin Name || Multiplex Function Select || GPIO <br />
|-<br />
| || ||Multi 1 || Multi 2 <br />
|-<br />
| CON2 P01 || IPSOUT\(5V output\) || || <br />
|-<br />
| CON2 P02 || TWI3-SDA || || PI1 <br />
|-<br />
| CON2 P03 || IPSOUT\(5V output\) || || <br />
|-<br />
| CON2 P04 || TWI3-SCK || || PI0 <br />
|-<br />
| CON2 P05 || GND || || <br />
|-<br />
| CON2 P06 || LCD0-IO0 || || PH7 <br />
|-<br />
| CON2 P07 || LCDIO-03 || || PH12 <br />
|-<br />
| CON2 P08 || LCD0-IO1 || || PH8 <br />
|-<br />
| CON2 P09 || LCD0-D0 || LVDS0-VP0 || PD0 <br />
|-<br />
| CON2 P10 || PWM0 || || PB2 <br />
|-<br />
| CON2 P11 || LCD0-D1 || LVDS0-VN0 || PD1 <br />
|-<br />
| CON2 P12 || LCD0-IO2 || || PH9 <br />
|-<br />
| CON2 P13 || LCD0-D2 || LVDS0-VP1 || PD2 <br />
|-<br />
| CON2 P14 || LCD0-DE || || PD25 <br />
|-<br />
| CON2 P15 || LCD0-D3 || LVDS0-VN1 || PD3<br />
|-<br />
| CON2 P16 || LCD0-VSYNC || || PD27 |<br />
|-<br />
| CON2 P17 || LCD0-D4 || LVDS0-VP2 || PD4 <br />
|-<br />
| CON2 P18 || LCD0-HSYNC || || PD26 |<br />
|-<br />
| CON2 P19 || LCD0-D5 || LVDS0-VN2 || PD5 <br />
|-<br />
| CON2 P20 || LCD0-CS || || PH6 |<br />
|-<br />
| CON2 P21 || LCD0-D6 || LVDS0-VPC || PD6 <br />
|-<br />
| CON2 P22 || LCD0-CLK || || PD24 <br />
|-<br />
| CON2 P23 || LCD0-D7 || LVDS0-VNC || PD7 <br />
|-<br />
| CON2 P24 || GND || || <br />
|-<br />
| CON2 P25 || LCD0-D8 || LVDS0-VP3 || PD8 <br />
|-<br />
| CON2 P26 || LCD0-D23 || || PD23 <br />
|-<br />
| CON2 P27 || LCD0-D9 || LVDS0-VN3 || PD9 <br />
|-<br />
| CON2 P28 || LCD0-D22 || || PD22 <br />
|-<br />
| CON2 P29 || LCD0-D10 || || PD10 <br />
|-<br />
| CON2 P30 || LCD0-D21 || || PD21 <br />
|-<br />
| CON2 P31 || LCD0-D11 || || PD11 <br />
|-<br />
| CON2 P32 || LCD0-D20 || || PD20 <br />
|-<br />
| CON2 P33 ||LCD0-D12 || || PD12 <br />
|-<br />
| CON2 P34 || LCD0-D19 || || PD19 <br />
|-<br />
| CON2 P35 || LCD0-D13 || || PD13 <br />
|-<br />
| CON2 P36 || LCD0-D18 || || PD18 <br />
|-<br />
| CON2 P37 || LCD0-D14 || || PD14<br />
|-<br />
| CON2 P38 || LCD0-D17 || || PD17 <br />
|-<br />
| CON2 P39 || LCD0-D15 || || PD15 <br />
|-<br />
| CON2 P40 || LCD0-D16 || || PD16 <br />
|- <br />
|}<br />
<br />
'''UART specification:'''<br />
<br />
The jumper J11 is the UART interface. For developers of Banana Pi, this is an easy way to get the UART console output to check the system status and log message.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''Jumper J11 of Banana pi BPI-M1'''<br />
|-<br />
| J11 Pin || Pin Name || Multiplex Function Select || GPIO <br />
|-<br />
| || || Multi 1 || Multi 2 <br />
|-<br />
| J11 Pin1 || TXD || UART0-TX || PB22 <br />
|-<br />
| J11 Pin2 || RXD || UART0-RX || PB23 <br />
|- <br />
|}<br />
<br />
<br />
The jumper J12 provides the power source including 3.3V and 5V. There is a pair of UART TX/RX signals output here.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''Jumper J12 of Banana pi BPI-M1'''<br />
|-<br />
| J12 Pin || Pin Name || Multiplex Function Select || GPIO <br />
|-<br />
| || ||Multi 1 || Multi 2 <br />
|-<br />
| J12 Pin1 || 5V || ||<br />
|-<br />
| J12 Pin2 || 3.3V || || <br />
|-<br />
| J12 Pin3 || NC || IO-7 || PH5 <br />
|-<br />
| J12 Pin4 || RXD || UART7\_RX || PI21 <br />
|-<br />
| J12 Pin5 || NC ||IO-8 || PH3 <br />
|-<br />
| J12 Pin6 || TXD || UART7\_TX || PI20 <br />
|-<br />
| J12 Pin7 || GND || || <br />
|-<br />
| J12 Pin8 || GND || ||<br />
|- <br />
|}<br />
<br />
'''All GPIO define list:'''<br />
<br />
[[File:BPI-M1_all_pin.png]]<br />
<br />
=Software=<br />
<br />
=Development=<br />
<br />
==Basic Development==<br />
<br />
=Resources=<br />
==Source code==<br />
* Linux kernel 3.4 Source code : https://github.com/BPI-SINOVOIP/BPI-M1-bsp<br />
<br />
* Android 4.4 source code<br />
:LCD7 type: https://github.com/BPI-SINOVOIP/BPI-A20-Android-4.4<br />
<br />
* Android 4.2.2 source code<br />
:HDMI type: https://github.com/BPI-SINOVOIP/BPI-A20-Android<br />
<br />
==Documents==<br />
*BPI-M1 Gerber/Boom/Assembly document: <br />
:Baidu cloud: https://pan.baidu.com/s/1bM8NR12Wp_dtp-m52nuKrA?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1Zx-1LHhGKJ8l-qakd4pVvTuBXsQYIgV8/view?usp=sharing<br />
<br />
*Because of the Google security update some of the old links will not work if the images you want to use cannot be downloaded from the [https://drive.google.com/drive/folders/0B_YnvHgh2rwjVjNyS2pheEtWQlk?resourcekey=0-U4TI84zIBdId7bHHjf2qKA new link bpi-image Files]<br />
*All banana pi [https://drive.google.com/drive/folders/0B4PAo2nW2Kfndjh6SW9MS2xKSWs?resourcekey=0-qXGFXKmd7AVy0S81OXM1RA&usp=sharing docement(SCH file,DXF file,and doc)]<br />
<br />
* schematic diagram:https://drive.google.com/drive/folders/0B4PAo2nW2KfnflVqbjJGTFlFTTd1b1o1OUxDNk5ackVDM0RNUjBpZ0FQU19SbDk1MngzZWM?resourcekey=0-ZRCiv304nGzvq-w7lwnpjg&usp=sharing<br />
* BPI-M1 DXF file download link : [https://drive.google.com/folderview?id=0B4PAo2nW2Kfnfkd0QmxaU3F2bHBWdkFiS09vT3VoZkVyNW93OXFjM0dHRVdGazhRWmFzZDQ&usp=sharing&tid=0B4PAo2nW2Kfndjh6SW9MS2xKSWs google drive]<br />
*BPI-M1 3D design file download link :[https://drive.google.com/folderview?id=0B4PAo2nW2Kfnfl95clI4ZzRKUmRENWhMcmwzUlVrYW1Ic3BXZENtUjJQcjk5TXc0RHBKdlU&usp=sharing&tid=0B4PAo2nW2Kfndjh6SW9MS2xKSWs google drive]<br />
*CE FCC RoHS : [https://bananapi.gitbooks.io/bpi-m1/content/en/bpi-m1_ce_fcc_rohs_certification.html BPI-M1 CE,FCC,RoHS ] <br />
*Arch linux wiki for BPI-M1:https://wiki.archlinux.org/index.php/Banana_Pi<br />
*Nas for BPI-M1/BPI-M1+ : https://www.hackster.io/jeffbaocai/bananapi-pro-nas-0815dc?ref=platform&ref_id=8064_popular___&offset=3<br />
*NetBSD/evbarm on Allwinner SoCs : https://wiki.netbsd.org/ports/evbarm/allwinner/#index1h1<br />
*Gentoo for banana pi : https://wiki.gentoo.org/wiki/Banana_Pi_the_Gentoo_Way<br />
*openSUSE for banana pi : https://en.opensuse.org/HCL:BananaPi<br />
*How to booting from SSD using Lubuntu / Raspbian :https://bananapi.gitbooks.io/bpi-m1/content/en/howtobootingfromssdusinglubunturaspbian.html<br />
*Building the cluster on BPI : https://www.hackster.io/Penguinfly/banana-pi-cluster-47d566<br />
* Allwinner documents:<br />
::allwinner chip online datasheet and documents: http://dl.linux-sunxi.org/<br />
<br />
=Image Release=<br />
<br />
==Android 4.4==<br />
*2018-07-28 update android 4.4 LCD version image <br />
::Features Map:http://wiki.banana-pi.org/M1_Image_Map <br />
::Baidu Drive:https://pan.baidu.com/s/1DfSIiMvW_I-kFjTZMtcVsA<br />
::Google Drive: https://drive.google.com/open?id=1qcH9baIhOphsDdlH_yBADuBiZsvrSKnt<br />
::Forum pthtread :http://forum.banana-pi.org/t/bananapi-m1-m1p-r1-new-image-release-20180728/6357<br />
<br />
* Release Date: 2018-07-26<br />
::Baidu Drive: https://pan.baidu.com/s/1HErsANQ4PsnwQJ-tH0AdTg<br />
::Google Drive:<br />
<br />
==Ubuntu Linux==<br />
<br />
*2022-09-07 Armbian_22.11.0-trunk_Bananapi_jammy_edge_5.19.6_xfce_desktop.img<br />
::Google Drive: https://drive.google.com/file/d/1WtPL8Hfr9aaE3VRnpgR_R7VYsc7O3Y9P/view?usp=sharing<br />
::Baidu Cloud: https://pan.baidu.com/s/1fM-in68EK_ABvSJ7XiY0Ag?pwd=yft7 (pincode: yft7)<br />
<br />
*Banana Pi new image: Ubuntu 16.04 with Allwinner BSP, use MPV play 1080P video,Allwinner BSP kernel 3.4 , BPI-M2 Ultra/Berry use kernel 3.10<br />
::google driver: https://drive.google.com/drive/folders/1DEO7JdMfDhHynC83K7JMxgnNxf1gV82S<br />
::discuss on forum: https://forum.banana-pi.org/t/banana-pi-new-image-ubuntu-16-04-with-allwinner-bsp-use-mpv-play-1080p-video/13272<br />
<br />
*2018-7-28 update :Ubuntu Server16.04 HDMI Version Image Link:<br />
::Features Map:http://wiki.banana-pi.org/M1_Image_Map<br />
::Baidu Drive: https://pan.baidu.com/s/1GYH8oDK3T_WcUFn-0t9YmQ<br />
::Google Drive: https://drive.google.com/open?id=13XTvWe90yvRdqNWiKCLZ0HcMgo33y2r6<br />
::Forum pthtread :http://forum.banana-pi.org/t/bananapi-m1-m1p-r1-new-image-release-20180728/6357<br />
<br />
* Release Date: 2018-07-26<br />
::Baidu Drive: https://pan.baidu.com/s/1Tw_99XBZVOmKyavNxCXv3w<br />
::Google Drive:<br />
<br />
==Debian Linux==<br />
<br />
*2022-09-07 Armbian_22.11.0-trunk_Bananapi_BPI-M1_bullseye_edge_5.19.6_xfce_desktop.img<br />
::Google Drive:https://drive.google.com/file/d/1px0h0se8EiRuBiGGxT40hWpU3RWzPedK/view?usp=sharing<br />
::Baidu Cloud: https://pan.baidu.com/s/1Vclux6Wb-ToJGOaGQxV6Hg?pwd=m4a3 (pincode: m4a3)<br />
<br />
*2019-9-18 update. Debian 10 buster mate desktop with grub support (boot-2019.07 + kernel 5.1.1)<br />
::google drive:https://drive.google.com/file/d/1uGYn3BZ9k1K1iqmmZhlCy6pXeeNwfU6P/view?usp=sharing<br />
::forum pthread:http://forum.banana-pi.org/t/bpi-m1-m1-r1-new-image-debian-10-buster-mate-desktop-with-grub-support-boot-2019-07-kernel-5-1-1/9916<br />
<br />
== Armbian image ==<br />
*2023-07 Armbian_23.02.0_Banana Pi BPI-M1<br />
:Baidu Cloud: https://pan.baidu.com/s/1pPh0vomR3MZozm2iLqBAmA?pwd=8888 (pincode:8888)<br />
:Google Drive:https://drive.google.com/drive/folders/1ig3DOF5V9MQ38Zlvx_1zoPh_-KNzLKKx?usp=sharing<br />
<br />
*2023-07 Armbian_23.08.0_Banana Pi BPI-M1<br />
:Baidu Cloud: https://pan.baidu.com/s/1L3ZTQt_JOWRrAcA7bZakmA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1erfCb_sPspu3ilHW8yv4ooM66hJF7KLb?usp=sharing<br />
<br />
*Armbian_23.02.0-trunk_Bananapi_jammy_current_5.15.93.img.xz<br />
*Armbian_23.02.0-trunk_Bananapi_jammy_edge_6.1.11.img.xz<br />
:Baidu Cloud: https://pan.baidu.com/s/1hkkl22uVjvRct1V7N4OK2w?pwd=8888<br />
:Google Drive: https://drive.google.com/drive/folders/1VpvVkYMqgmSnmfKXQSrEY2B6wRa-cggL?usp=share_link<br />
:Discuss on forum: https://forum.banana-pi.org/t/banana-pi-bpi-m1-new-armbian-image/15157<br />
<br />
<br />
*2022-12-06 Armbian_22.11.0-trunk_Bananapi BPI-M1_bullseye_edge_6.0.9.img.xz<br />
:Google Drive:https://drive.google.com/file/d/1ZSFOd-nVFbAn_xB9AXckx9SEKQvnMB2J/view?usp=share_link<br />
:Baidu Cloud:https://pan.baidu.com/s/12R8mIf7_45HDtruqEvktBw?pwd=8888 (pincode: 8888)<br />
::Discuss on forum: https://forum.banana-pi.org/t/bananapi-bpi-m1-new-image-release-armbian-bullseye/14446/2<br />
<br />
<br />
*Armbian Xenial and Armbian Jessie <br />
:Image lownload link :https://www.armbian.com/bananapi/<br />
<br />
==OpenWRT==<br />
===Official OpenWRT===<br />
*BPI-M1/BPI-M1+/BPI-R1 use A20 chip,so easy to run openwrt<br />
*wiki : https://wiki.openwrt.org/toh/lamobo/r1<br />
*openwrt support for allwinner :https://wiki.openwrt.org/doc/hardware/soc/soc.allwinner.sunxi?s[]=banana&s[]=pi<br />
*image download : https://downloads.openwrt.org/chaos_calmer/15.05/sunxi/generic/uboot-sunxi-Lamobo_R1/<br />
*opwrt for Allwinner Soc : https://wiki.openwrt.org/doc/hardware/soc/soc.allwinner.sunxi?s[]=banana&amp;s[]=pi<br />
<br />
===BPI BSP for OpenWRT===<br />
*How to build OpenWRT image from github : https://bananapi.gitbooks.io/bpi-m1/content/en/howtobuildopenwrtimagefromgithub.html<br />
<br />
==FreeBSD==<br />
<br />
FreeBSD on Allwinner (sunxi) systems for banana pi<br />
<br />
Banana pi as the official partner of Allwinner , must banana pi product use Allwinner chip design . such as A20/A31S/H3/H2+/A64/A83T , and FreeBSD have support many Allwinner . so easy to use on banana pi board.<br />
*Allwinner A20 (sun7i), a dual-core Cortex-A7 BPI-M1/BPI-M1+/BPI-R1<br />
*Allwinner A31 and A31s (sun6i), a quad-core Cortex-A7 BPI-M2<br />
*Allwinner A64 (sun50i), a quad-core Cortex-A53 BPI-M64 <br />
*Allwinner A83T (sun8i), an octa-core Cortex-A7 BPI-M3 <br />
*Allwinner H3 (sun8i), a quad-core Cortex-A7 BPI-M2+/BPI-M2+ EDU/<br />
<br />
https://wiki.freebsd.org/FreeBSD/arm/Allwinner<br />
<br />
==OpenSuse==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/opensuse.html<br />
<br />
==OpenMediaVault==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/openmediavault.html<br />
<br />
==Arch Linux==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/arch_linux.html<br />
<br />
==Gentoo Linux==<br />
*Gentoo Linux have officeal support banana pi BPI-M1, so you also can use on BPI-M1+,and BPI-R1, all is base on allwinner A20 chip.<br />
*gentoo linux wiki : https://wiki.gentoo.org/wiki/Banana_Pi_the_Gentoo_Way<br />
<br />
==RaspBSD==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/raspbsdonbpi-m1.html<br />
<br />
==CentOS==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/centos7linuxforbpi.html<br />
<br />
==DietPi==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/dietpi.html<br />
<br />
==FreeBSD/NetBSD==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/freebsdnetbsd.html<br />
<br />
==Lakka TV==<br />
*Banana Pi M2+ with H3 chip <br />
*Banana Pi M3 with A83T chip<br />
*BPI-M1 and BPI-M1+ use A20 chip <br />
*more about this : https://bananapi.gitbooks.io/bpi-m3/content/en/lakkatv.html<br />
<br />
http://mirror.lakka.tv/nightly/<br />
<br />
==Simplenas==<br />
*simplenas image : https://simplenas.com/download/other/banana-pi-m1<br />
<br />
=FAQ=<br />
<br />
=Easy to buy=<br />
*SINOVOIP Aliexpress Shop: https://www.aliexpress.com/store/group/BPI-M1/1100417230_40000003426518.html<br />
*Bipai Aliexpress Shop: https://www.aliexpress.com/store/group/BPI-M1/1101951077_40000003418620.html<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1694930629.htm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M1&diff=17139
Banana Pi BPI-M1
2024-03-20T05:48:54Z
<p>Sinovoip: /* Documents */</p>
<hr />
<div>[[zh:香蕉派_BPI-M1]]<br />
=Introduction=<br />
<br />
[[File:Banana_pi_BPI-M1_1.jpg|thumb|[[Banana Pi BPI-M1]] with Allwinner A20 chip]]<br />
[[File:Banana_pi_BPI-M1+_1.jpg|thumb|[[Banana Pi BPI-M1+]] with Allwinner A20 chip]]<br />
[[File:Banana_Pi_BPI-M4_Berry_1.jpg|thumb|[[Banana Pi BPI-M4 Berry]] H618 design]]<br />
[[File:BPI-M2_zero_11.JPG|thumb|[[Banana Pi BPI-M2 ZERO]] with Allwinner H3 chip]]<br />
[[File:BPI-F2_zero_1.JPG|thumb|[[Banana Pi BPI-P2 Zero]] with Allwinner H3 chip]]<br />
[[File:Banana_pi_BPI-M2+_2.jpg|thumb|[[Banana Pi BPI-M2+]] with Allwinner H3 chip]]<br />
[[File:Banana_pi_bpi-m2_magic_5.JPG|thumb|[[Banana Pi BPI-M2M ]] with Allwinner R16 chip design]]<br />
[[File:Banana_pi_BPI-M2_Berry_5.JPG|thumb|[[Banana Pi BPI-M2 Berry]] with Allwinner A40i]]<br />
[[File:Banana_pi_BPI-M2_Ultra_4.JPG|thumb|[[Banana Pi BPI-M2U]] with Allwinner A40i]]<br />
[[File:Banana_pi_BPI-M64_1.jpg|thumb|[[Banana Pi BPI-M64]] with Allwinner A64 chip design]]<br />
[[File:Banana_pi_BPI-M3_1.jpg|thumb|[[Banana Pi BPI-M3]] with Allwinner A83T chip design]]<br />
<br />
[[File:BPI-M1_3d.jpg|thumb|BPI-M1 3D ]]<br />
[[File:White-2.JPG|thumb|BPI-M1 with plastic case]]<br />
[[File:MultiQB_front.jpg|thumb|BPI-M1/M1+ for BPI 4.0 [[Successful case]] : smart home gateway]]<br />
[[File:IMG_3036.JPG|thumb|BPI-M1/M1+ for BPI 4.0 [[Successful case]] :3G Information security terminal]]<br />
[[File:IMG_3085.JPG|thumb|BPI-M1/M1+ for BPI 4.0 [[Successful case]] :4G Industrial safety tablets]]<br />
<br />
The Banana Pi BPI-M1 is a business card-sized and low-power single-board computer featuring a high performance AllWinner A20 dual-core SoC at 1 GHz, 1 GB of DDR3 SDRAM, Gigabit Ethernet, SATA, USB, and HDMI connections. It can run a variety of operating systems including Android, Lubuntu, Ubuntu, Debian, and Raspbian.<br />
<br />
It is the first open source hardware launched by the banana pie team, and also a classic product with the largest cumulative sales of banana pie.There are still a lot of business clients that apply to various projects.A20 chip<br />
<br />
Banana Pi is an open platform device, it is for anyone who wants to play and build with developer technology instead of simply using consumer technology. Backed by our community, starting a project and building servers is fun and rewarding.<br />
<br />
[[File:A_BPI-M1.jpg]]<br />
<br />
==Key Features==<br />
<br />
* Allwinner A20 Dual-core 1.0GHz CPU<br />
* Mali-400 MP2 with Open GL ES 2.0/1.1.<br />
* 1 GB DDR3 memory.<br />
* 1x SATA interface.<br />
* 1x Gigabit LAN <br />
* 1x USB otg and 2x USB 2.0<br />
* 1X MIC<br />
* AV vide out<br />
* HDMI out<br />
* IR <br />
* CSI camera interface<br />
* DSI display interface<br />
* 26 PIN gpio<br />
<br />
==Getting Start==<br />
*[[Quick Start Banana pi SBC]]<br />
*[[Getting Started with M1]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:BPI-M1_interface.jpg]]<br />
<br />
==Hardware spec==<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''Banana Pi BPI-M1'''<br />
|-<br />
| CPU|| A20 ARM Cortex -A7 Dual-Core<br />
|-<br />
| GPU|| ARM Mali 400 MP2; Complies with OpenGL ES 2.0/1.1 <br />
|-<br />
| Memory|| 1GB DDR3<br />
|-<br />
| Network|| 10/100/1000 Ethernet [[Modular connector|8P8C]] ([[1000BASE-T]])<br />
|-<br />
| Video Input|| A CSI input connector allows for the connection of a designed camera module<br />
|-<br />
| Video Outputs|| HDMI, CVBS, LVDS/RGB<br />
|-<br />
| Audio Outputs|| 3.5mm jack and HDMI<br />
|-<br />
| Power Source|| 5 volts DC via Micro USB or GPIO<br />
|-<br />
| USB 2.0 ports|| 2 (direct from Allwinner A20 chip)<br />
|-<br />
| GPIO|| GPIO, UART, I2C BUS, SPI BUS, WITH TWO CHIP SELECTS, [[CAN bus]], ADC, PWM, +3.3V, +5V, GND<br />
|-<br />
| LED|| Power Key & 8P8C<br />
|-<br />
| Storage|| SATA 2.0, <br />
|}<br />
<br />
==GPIO PIN define ==<br />
<br />
Banana Pi BPI-M1 has a 26-pin GPIO header . Following is the Banana Pi GPIO Pinout:<br />
<br />
[[File:BPI-M1_26_pin.png]]<br />
<br />
Note: 5V1,5V2 only support output,not support input<br />
<br />
'''CSI Camera Connector specification:'''<br />
<br />
CSI Camera Connector The CSI Camera Connector is a 40-pin FPC connector which can connect external camera module with proper signal pin mappings. The pin definitions of the CSI interface are shown as below. This is marked on the Banana Pi board as “CON1″.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''40 PIN GPIO of Banana pi BPI-M1'''<br />
|-<br />
| CSI GPIO Pin || Pin Name || GPIO <br />
|-<br />
| CON1 P01 || LINEINL ||<br />
|-<br />
| CON1 P02 || LINEINR ||<br />
|-<br />
| CON1 P03 || VCC-CSI ||<br />
|-<br />
| CON1 P04 || ADC\_X1 ||<br />
|-<br />
| CON1 P05 || GND ||<br />
|-<br />
| CON1 P06 || ADC\_X2 ||<br />
|-<br />
| CON1 P07 || FMINL ||<br />
|-<br />
| CON1 P08 || ADC\_Y1 ||<br />
|-<br />
| CON1 P09 || FMINR ||<br />
|-<br />
| CON1 P10 || ADC\_Y2 ||<br />
|-<br />
| CON1 P11 || GND ||<br />
|-<br />
| CON1 P12 || CSI-FLASH || PH17 <br />
|-<br />
| CON1 P13 || LRADC0 ||<br />
|-<br />
| CON1 P14 || TWI1-SDA || PB19 <br />
|-<br />
| CON1 P15 || LRADC1 ||<br />
|-<br />
| CON1 P16 || TWI1-SCK || PB18 <br />
|-<br />
| CON1 P17 || CSI-D0 || PE4 <br />
|-<br />
| CON1 P18 || CSI0-STBY-EN || PH19 <br />
|-<br />
| CON1 P19 || CSI0-D1 || PE5 <br />
|-<br />
| CON1 P20 || CSI-PCLK || PE0 <br />
|-<br />
| CON1 P21 || CSI-D2 || PE6 <br />
|-<br />
| CON1 P22 || CSI0-PWR-EN || PH16 <br />
|-<br />
| CON1 P23 || CSI-D3 || PE7 <br />
|-<br />
| CON1 P24 || CSI0-MCLK || PE1 <br />
|-<br />
| CON1 P25 || CSI-D4 || PE8 <br />
|-<br />
| CON1 P26 || CSI0-RESET\# || PH14 <br />
|-<br />
| CON1 P27 || CSI-D5 || PE9 <br />
|-<br />
| CON1 P28 || CSI-VSYNC || PE3 <br />
|-<br />
| CON1 P29 || CSI-D6 || PE10 <br />
|-<br />
| CON1 P30 || CSI-HSYNC || PE2 <br />
|-<br />
| CON1 P31 || CSI-D7 || PE11 <br />
|-<br />
| CON1 P32 || CSI1-STBY-EN || PH18 <br />
|-<br />
| CON1 P33 || RESET\# ||<br />
|-<br />
| CON1 P34 || CSI1-RESET\# || PH13 <br />
|-<br />
| CON1 P35 || CSI-IO0 || PH11 <br />
|-<br />
| CON1 P36 || HPR ||<br />
|-<br />
| CON1 P37 || HPL ||<br />
|-<br />
| CON1 P38 || IPSOUT ||<br />
|-<br />
| CON1 P39 || GND ||<br />
|-<br />
| CON1 P40 || IPSOUT ||<br />
|- <br />
|}<br />
<br />
<br />
'''LVDS \(LCD display interface\)'''<br />
<br />
The LVDS Connector is a 40-pin FPC connector which can connect external LCD panel \(LVDS\) and touch screen \(I2C\) module as well. The pin definitions of this connector are shown as below. This is marked on the Banana Pi board as “CON2″.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''LVDS GPIO of Banana pi BPI-M1'''<br />
|-<br />
| LVDS Pin || Pin Name || Multiplex Function Select || GPIO <br />
|-<br />
| || ||Multi 1 || Multi 2 <br />
|-<br />
| CON2 P01 || IPSOUT\(5V output\) || || <br />
|-<br />
| CON2 P02 || TWI3-SDA || || PI1 <br />
|-<br />
| CON2 P03 || IPSOUT\(5V output\) || || <br />
|-<br />
| CON2 P04 || TWI3-SCK || || PI0 <br />
|-<br />
| CON2 P05 || GND || || <br />
|-<br />
| CON2 P06 || LCD0-IO0 || || PH7 <br />
|-<br />
| CON2 P07 || LCDIO-03 || || PH12 <br />
|-<br />
| CON2 P08 || LCD0-IO1 || || PH8 <br />
|-<br />
| CON2 P09 || LCD0-D0 || LVDS0-VP0 || PD0 <br />
|-<br />
| CON2 P10 || PWM0 || || PB2 <br />
|-<br />
| CON2 P11 || LCD0-D1 || LVDS0-VN0 || PD1 <br />
|-<br />
| CON2 P12 || LCD0-IO2 || || PH9 <br />
|-<br />
| CON2 P13 || LCD0-D2 || LVDS0-VP1 || PD2 <br />
|-<br />
| CON2 P14 || LCD0-DE || || PD25 <br />
|-<br />
| CON2 P15 || LCD0-D3 || LVDS0-VN1 || PD3<br />
|-<br />
| CON2 P16 || LCD0-VSYNC || || PD27 |<br />
|-<br />
| CON2 P17 || LCD0-D4 || LVDS0-VP2 || PD4 <br />
|-<br />
| CON2 P18 || LCD0-HSYNC || || PD26 |<br />
|-<br />
| CON2 P19 || LCD0-D5 || LVDS0-VN2 || PD5 <br />
|-<br />
| CON2 P20 || LCD0-CS || || PH6 |<br />
|-<br />
| CON2 P21 || LCD0-D6 || LVDS0-VPC || PD6 <br />
|-<br />
| CON2 P22 || LCD0-CLK || || PD24 <br />
|-<br />
| CON2 P23 || LCD0-D7 || LVDS0-VNC || PD7 <br />
|-<br />
| CON2 P24 || GND || || <br />
|-<br />
| CON2 P25 || LCD0-D8 || LVDS0-VP3 || PD8 <br />
|-<br />
| CON2 P26 || LCD0-D23 || || PD23 <br />
|-<br />
| CON2 P27 || LCD0-D9 || LVDS0-VN3 || PD9 <br />
|-<br />
| CON2 P28 || LCD0-D22 || || PD22 <br />
|-<br />
| CON2 P29 || LCD0-D10 || || PD10 <br />
|-<br />
| CON2 P30 || LCD0-D21 || || PD21 <br />
|-<br />
| CON2 P31 || LCD0-D11 || || PD11 <br />
|-<br />
| CON2 P32 || LCD0-D20 || || PD20 <br />
|-<br />
| CON2 P33 ||LCD0-D12 || || PD12 <br />
|-<br />
| CON2 P34 || LCD0-D19 || || PD19 <br />
|-<br />
| CON2 P35 || LCD0-D13 || || PD13 <br />
|-<br />
| CON2 P36 || LCD0-D18 || || PD18 <br />
|-<br />
| CON2 P37 || LCD0-D14 || || PD14<br />
|-<br />
| CON2 P38 || LCD0-D17 || || PD17 <br />
|-<br />
| CON2 P39 || LCD0-D15 || || PD15 <br />
|-<br />
| CON2 P40 || LCD0-D16 || || PD16 <br />
|- <br />
|}<br />
<br />
'''UART specification:'''<br />
<br />
The jumper J11 is the UART interface. For developers of Banana Pi, this is an easy way to get the UART console output to check the system status and log message.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''Jumper J11 of Banana pi BPI-M1'''<br />
|-<br />
| J11 Pin || Pin Name || Multiplex Function Select || GPIO <br />
|-<br />
| || || Multi 1 || Multi 2 <br />
|-<br />
| J11 Pin1 || TXD || UART0-TX || PB22 <br />
|-<br />
| J11 Pin2 || RXD || UART0-RX || PB23 <br />
|- <br />
|}<br />
<br />
<br />
The jumper J12 provides the power source including 3.3V and 5V. There is a pair of UART TX/RX signals output here.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''Jumper J12 of Banana pi BPI-M1'''<br />
|-<br />
| J12 Pin || Pin Name || Multiplex Function Select || GPIO <br />
|-<br />
| || ||Multi 1 || Multi 2 <br />
|-<br />
| J12 Pin1 || 5V || ||<br />
|-<br />
| J12 Pin2 || 3.3V || || <br />
|-<br />
| J12 Pin3 || NC || IO-7 || PH5 <br />
|-<br />
| J12 Pin4 || RXD || UART7\_RX || PI21 <br />
|-<br />
| J12 Pin5 || NC ||IO-8 || PH3 <br />
|-<br />
| J12 Pin6 || TXD || UART7\_TX || PI20 <br />
|-<br />
| J12 Pin7 || GND || || <br />
|-<br />
| J12 Pin8 || GND || ||<br />
|- <br />
|}<br />
<br />
'''All GPIO define list:'''<br />
<br />
[[File:BPI-M1_all_pin.png]]<br />
<br />
=Software=<br />
<br />
=Development=<br />
<br />
==Basic Development==<br />
<br />
=Resources=<br />
==Source code==<br />
* Linux kernel 3.4 Source code : https://github.com/BPI-SINOVOIP/BPI-M1-bsp<br />
<br />
* Android 4.4 source code<br />
:LCD7 type: https://github.com/BPI-SINOVOIP/BPI-A20-Android-4.4<br />
<br />
* Android 4.2.2 source code<br />
:HDMI type: https://github.com/BPI-SINOVOIP/BPI-A20-Android<br />
<br />
==Documents==<br />
<br />
*Because of the Google security update some of the old links will not work if the images you want to use cannot be downloaded from the [https://drive.google.com/drive/folders/0B_YnvHgh2rwjVjNyS2pheEtWQlk?resourcekey=0-U4TI84zIBdId7bHHjf2qKA new link bpi-image Files]<br />
*All banana pi [https://drive.google.com/drive/folders/0B4PAo2nW2Kfndjh6SW9MS2xKSWs?resourcekey=0-qXGFXKmd7AVy0S81OXM1RA&usp=sharing docement(SCH file,DXF file,and doc)]<br />
<br />
* schematic diagram:https://drive.google.com/drive/folders/0B4PAo2nW2KfnflVqbjJGTFlFTTd1b1o1OUxDNk5ackVDM0RNUjBpZ0FQU19SbDk1MngzZWM?resourcekey=0-ZRCiv304nGzvq-w7lwnpjg&usp=sharing<br />
* BPI-M1 DXF file download link : [https://drive.google.com/folderview?id=0B4PAo2nW2Kfnfkd0QmxaU3F2bHBWdkFiS09vT3VoZkVyNW93OXFjM0dHRVdGazhRWmFzZDQ&usp=sharing&tid=0B4PAo2nW2Kfndjh6SW9MS2xKSWs google drive]<br />
*BPI-M1 3D design file download link :[https://drive.google.com/folderview?id=0B4PAo2nW2Kfnfl95clI4ZzRKUmRENWhMcmwzUlVrYW1Ic3BXZENtUjJQcjk5TXc0RHBKdlU&usp=sharing&tid=0B4PAo2nW2Kfndjh6SW9MS2xKSWs google drive]<br />
*CE FCC RoHS : [https://bananapi.gitbooks.io/bpi-m1/content/en/bpi-m1_ce_fcc_rohs_certification.html BPI-M1 CE,FCC,RoHS ] <br />
*Arch linux wiki for BPI-M1:https://wiki.archlinux.org/index.php/Banana_Pi<br />
*Nas for BPI-M1/BPI-M1+ : https://www.hackster.io/jeffbaocai/bananapi-pro-nas-0815dc?ref=platform&ref_id=8064_popular___&offset=3<br />
*NetBSD/evbarm on Allwinner SoCs : https://wiki.netbsd.org/ports/evbarm/allwinner/#index1h1<br />
*Gentoo for banana pi : https://wiki.gentoo.org/wiki/Banana_Pi_the_Gentoo_Way<br />
*openSUSE for banana pi : https://en.opensuse.org/HCL:BananaPi<br />
*How to booting from SSD using Lubuntu / Raspbian :https://bananapi.gitbooks.io/bpi-m1/content/en/howtobootingfromssdusinglubunturaspbian.html<br />
*Building the cluster on BPI : https://www.hackster.io/Penguinfly/banana-pi-cluster-47d566<br />
* Allwinner documents:<br />
::allwinner chip online datasheet and documents: http://dl.linux-sunxi.org/<br />
<br />
=Image Release=<br />
<br />
==Android 4.4==<br />
*2018-07-28 update android 4.4 LCD version image <br />
::Features Map:http://wiki.banana-pi.org/M1_Image_Map <br />
::Baidu Drive:https://pan.baidu.com/s/1DfSIiMvW_I-kFjTZMtcVsA<br />
::Google Drive: https://drive.google.com/open?id=1qcH9baIhOphsDdlH_yBADuBiZsvrSKnt<br />
::Forum pthtread :http://forum.banana-pi.org/t/bananapi-m1-m1p-r1-new-image-release-20180728/6357<br />
<br />
* Release Date: 2018-07-26<br />
::Baidu Drive: https://pan.baidu.com/s/1HErsANQ4PsnwQJ-tH0AdTg<br />
::Google Drive:<br />
<br />
==Ubuntu Linux==<br />
<br />
*2022-09-07 Armbian_22.11.0-trunk_Bananapi_jammy_edge_5.19.6_xfce_desktop.img<br />
::Google Drive: https://drive.google.com/file/d/1WtPL8Hfr9aaE3VRnpgR_R7VYsc7O3Y9P/view?usp=sharing<br />
::Baidu Cloud: https://pan.baidu.com/s/1fM-in68EK_ABvSJ7XiY0Ag?pwd=yft7 (pincode: yft7)<br />
<br />
*Banana Pi new image: Ubuntu 16.04 with Allwinner BSP, use MPV play 1080P video,Allwinner BSP kernel 3.4 , BPI-M2 Ultra/Berry use kernel 3.10<br />
::google driver: https://drive.google.com/drive/folders/1DEO7JdMfDhHynC83K7JMxgnNxf1gV82S<br />
::discuss on forum: https://forum.banana-pi.org/t/banana-pi-new-image-ubuntu-16-04-with-allwinner-bsp-use-mpv-play-1080p-video/13272<br />
<br />
*2018-7-28 update :Ubuntu Server16.04 HDMI Version Image Link:<br />
::Features Map:http://wiki.banana-pi.org/M1_Image_Map<br />
::Baidu Drive: https://pan.baidu.com/s/1GYH8oDK3T_WcUFn-0t9YmQ<br />
::Google Drive: https://drive.google.com/open?id=13XTvWe90yvRdqNWiKCLZ0HcMgo33y2r6<br />
::Forum pthtread :http://forum.banana-pi.org/t/bananapi-m1-m1p-r1-new-image-release-20180728/6357<br />
<br />
* Release Date: 2018-07-26<br />
::Baidu Drive: https://pan.baidu.com/s/1Tw_99XBZVOmKyavNxCXv3w<br />
::Google Drive:<br />
<br />
==Debian Linux==<br />
<br />
*2022-09-07 Armbian_22.11.0-trunk_Bananapi_BPI-M1_bullseye_edge_5.19.6_xfce_desktop.img<br />
::Google Drive:https://drive.google.com/file/d/1px0h0se8EiRuBiGGxT40hWpU3RWzPedK/view?usp=sharing<br />
::Baidu Cloud: https://pan.baidu.com/s/1Vclux6Wb-ToJGOaGQxV6Hg?pwd=m4a3 (pincode: m4a3)<br />
<br />
*2019-9-18 update. Debian 10 buster mate desktop with grub support (boot-2019.07 + kernel 5.1.1)<br />
::google drive:https://drive.google.com/file/d/1uGYn3BZ9k1K1iqmmZhlCy6pXeeNwfU6P/view?usp=sharing<br />
::forum pthread:http://forum.banana-pi.org/t/bpi-m1-m1-r1-new-image-debian-10-buster-mate-desktop-with-grub-support-boot-2019-07-kernel-5-1-1/9916<br />
<br />
== Armbian image ==<br />
*2023-07 Armbian_23.02.0_Banana Pi BPI-M1<br />
:Baidu Cloud: https://pan.baidu.com/s/1pPh0vomR3MZozm2iLqBAmA?pwd=8888 (pincode:8888)<br />
:Google Drive:https://drive.google.com/drive/folders/1ig3DOF5V9MQ38Zlvx_1zoPh_-KNzLKKx?usp=sharing<br />
<br />
*2023-07 Armbian_23.08.0_Banana Pi BPI-M1<br />
:Baidu Cloud: https://pan.baidu.com/s/1L3ZTQt_JOWRrAcA7bZakmA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1erfCb_sPspu3ilHW8yv4ooM66hJF7KLb?usp=sharing<br />
<br />
*Armbian_23.02.0-trunk_Bananapi_jammy_current_5.15.93.img.xz<br />
*Armbian_23.02.0-trunk_Bananapi_jammy_edge_6.1.11.img.xz<br />
:Baidu Cloud: https://pan.baidu.com/s/1hkkl22uVjvRct1V7N4OK2w?pwd=8888<br />
:Google Drive: https://drive.google.com/drive/folders/1VpvVkYMqgmSnmfKXQSrEY2B6wRa-cggL?usp=share_link<br />
:Discuss on forum: https://forum.banana-pi.org/t/banana-pi-bpi-m1-new-armbian-image/15157<br />
<br />
<br />
*2022-12-06 Armbian_22.11.0-trunk_Bananapi BPI-M1_bullseye_edge_6.0.9.img.xz<br />
:Google Drive:https://drive.google.com/file/d/1ZSFOd-nVFbAn_xB9AXckx9SEKQvnMB2J/view?usp=share_link<br />
:Baidu Cloud:https://pan.baidu.com/s/12R8mIf7_45HDtruqEvktBw?pwd=8888 (pincode: 8888)<br />
::Discuss on forum: https://forum.banana-pi.org/t/bananapi-bpi-m1-new-image-release-armbian-bullseye/14446/2<br />
<br />
<br />
*Armbian Xenial and Armbian Jessie <br />
:Image lownload link :https://www.armbian.com/bananapi/<br />
<br />
==OpenWRT==<br />
===Official OpenWRT===<br />
*BPI-M1/BPI-M1+/BPI-R1 use A20 chip,so easy to run openwrt<br />
*wiki : https://wiki.openwrt.org/toh/lamobo/r1<br />
*openwrt support for allwinner :https://wiki.openwrt.org/doc/hardware/soc/soc.allwinner.sunxi?s[]=banana&s[]=pi<br />
*image download : https://downloads.openwrt.org/chaos_calmer/15.05/sunxi/generic/uboot-sunxi-Lamobo_R1/<br />
*opwrt for Allwinner Soc : https://wiki.openwrt.org/doc/hardware/soc/soc.allwinner.sunxi?s[]=banana&amp;s[]=pi<br />
<br />
===BPI BSP for OpenWRT===<br />
*How to build OpenWRT image from github : https://bananapi.gitbooks.io/bpi-m1/content/en/howtobuildopenwrtimagefromgithub.html<br />
<br />
==FreeBSD==<br />
<br />
FreeBSD on Allwinner (sunxi) systems for banana pi<br />
<br />
Banana pi as the official partner of Allwinner , must banana pi product use Allwinner chip design . such as A20/A31S/H3/H2+/A64/A83T , and FreeBSD have support many Allwinner . so easy to use on banana pi board.<br />
*Allwinner A20 (sun7i), a dual-core Cortex-A7 BPI-M1/BPI-M1+/BPI-R1<br />
*Allwinner A31 and A31s (sun6i), a quad-core Cortex-A7 BPI-M2<br />
*Allwinner A64 (sun50i), a quad-core Cortex-A53 BPI-M64 <br />
*Allwinner A83T (sun8i), an octa-core Cortex-A7 BPI-M3 <br />
*Allwinner H3 (sun8i), a quad-core Cortex-A7 BPI-M2+/BPI-M2+ EDU/<br />
<br />
https://wiki.freebsd.org/FreeBSD/arm/Allwinner<br />
<br />
==OpenSuse==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/opensuse.html<br />
<br />
==OpenMediaVault==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/openmediavault.html<br />
<br />
==Arch Linux==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/arch_linux.html<br />
<br />
==Gentoo Linux==<br />
*Gentoo Linux have officeal support banana pi BPI-M1, so you also can use on BPI-M1+,and BPI-R1, all is base on allwinner A20 chip.<br />
*gentoo linux wiki : https://wiki.gentoo.org/wiki/Banana_Pi_the_Gentoo_Way<br />
<br />
==RaspBSD==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/raspbsdonbpi-m1.html<br />
<br />
==CentOS==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/centos7linuxforbpi.html<br />
<br />
==DietPi==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/dietpi.html<br />
<br />
==FreeBSD/NetBSD==<br />
*inmage and how to : https://bananapi.gitbooks.io/bpi-m1/content/en/freebsdnetbsd.html<br />
<br />
==Lakka TV==<br />
*Banana Pi M2+ with H3 chip <br />
*Banana Pi M3 with A83T chip<br />
*BPI-M1 and BPI-M1+ use A20 chip <br />
*more about this : https://bananapi.gitbooks.io/bpi-m3/content/en/lakkatv.html<br />
<br />
http://mirror.lakka.tv/nightly/<br />
<br />
==Simplenas==<br />
*simplenas image : https://simplenas.com/download/other/banana-pi-m1<br />
<br />
=FAQ=<br />
<br />
=Easy to buy=<br />
*SINOVOIP Aliexpress Shop: https://www.aliexpress.com/store/group/BPI-M1/1100417230_40000003426518.html<br />
*Bipai Aliexpress Shop: https://www.aliexpress.com/store/group/BPI-M1/1101951077_40000003418620.html<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1694930629.htm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M4_Berry&diff=17138
Banana Pi BPI-M4 Berry
2024-03-19T05:42:45Z
<p>Sinovoip: /* =Ubuntu */</p>
<hr />
<div>[[zh:香蕉派_BPI-M4_Berry]]<br />
[[File:Banana_Pi_BPI-M4_Berry_1.jpg|thumb|[[Banana Pi BPI-M4 Berry]] H618 design]]<br />
<br />
[[File:Banana_pi_BPI-M2_Berry_5.JPG|thumb|[[Banana Pi BPI-M2 Berry]] A40i-H design]]<br />
[[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design]]<br />
[[File:Banana_Pi_BPI-M2S_1.jpg|thumb|[[Banana Pi BPI-M2S]] Amlogic A311D/S922 chip]]<br />
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5]] with S905x3 design]]<br />
<br />
=Introduction=<br />
<br />
BPI-M4 Berry development board stands as a powerful Single Board Computer (SBC), harnessing the capabilities of the Allwinner H618 System-on-Chip (SoC) to provide developers with impressive performance and a wealth of features. Similar to the Raspberry Pi 4b, the BPI-M4 Berry boasts comparable CPU prowess, 2G LPDDR4 memory and 8G eMMC, integrated WiFi and Bluetooth functionalities, and a familiar 40-pin header layout, alongside 4 USB interfaces and a GbE RJ45 port. <br />
<br />
Characterized by its robust performance, versatile features, and remarkable image processing capabilities, stands as an exemplary SBC development platform for professionals within the embedded and computing industries. Equipped with 8GB eMMC flash storage, high-performance decoding and encoding capabilities, and an array of interface options, it caters to a wide spectrum of application domains, including media processing, IoT, and entertainment. Whether catering to novices or seasoned developers, the BPI-M4 Berry development board offers an ideal toolset for realizing creative visions and project objectives.<br />
<br />
[[File:Banana_Pi_M4-Berry_banner_3.jpg]]<br />
<br />
=Key Features=<br />
* Allwinner H618, Quad-core ARM Cortex™-A53 processor<br />
* ARM Mali G31 GPU<br />
* WIFI & Bluetooth<br />
* 2G LPDDR4 RAM<br />
* 8G eMMC flash memory<br />
* 1x USB2.0 Type-C OTG, 5V power supply<br />
* 4x USB2.0 Type-A<br />
* 1x HDMI 2.0a<br />
* 1x 3.5mm Audio & TVE jack socket<br />
* 1x GbE Ethernet port<br />
<br />
=Getting Start=<br />
*[[Getting Started with BPI-M4 Berry]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:BPI-M4 Berry interface.jpg]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="2"| '''Hardware Specification of Banana pi BPI-M4 Berry'''<br />
|-<br />
| CPU || Allwinner H618, Quad-core ARM Cortex™-A53 processor, 64-bit, up to 1.5GHz<br />
|-<br />
| GPU ||ARM Mali G31 GPU<br />
|-<br />
| Memory || 2 GB LPDDR4 <br />
|-<br />
| Storage || 8G eMMC flash<br />
|-<br />
| SD card || MicroSD card slot<br />
|-<br />
| Wireless || 2.4G/5G WiFi and Bluetooth 4.2<br />
|-<br />
| Ethernet || 1x GbE Ethernet port(supports PoE with add-on PoE HAT)<br />
|-<br />
| HDMI || 1x full-size HDMI 2.0a (up to 4K@60Hz with HDR10, CEC, DDC, SCDC), HDMI digital Audio output<br />
|-<br />
| Audio || 1x 3.5mm Audio & TVE jack socket<br />
|-<br />
| IR || 1x CIR<br />
|-<br />
| USB || 4x USB2.0 Type-A HOST, 1x USB2.0 Type-C OTG<br />
|-<br />
| rowspan="2" | 40-pin header<br />
| 28 pins GPIO and Power (+5V, +3.3V and GND)<br />
|-<br />
| UART, SPI, TWI/I²C, PWM, PCM/I²S<br />
|-<br />
|Buttons|| Reset, FEL and User<br />
|-<br />
| LED || Power Status and Activity status<br />
|-<br />
| Power || 5V@3A via USB Type-C<br />
|-<br />
|Size || 85x56 mm <br />
|-<br />
|Weight || 60g<br />
|}<br />
<br />
==BPI-M4 Berry VS Raspberry Pi 4b ==<br />
{| class="wikitable"<br />
! module !! Raspberry Pi 4B !! Banana Pi BPI-M4 Berry<br />
|-<br />
| CPU || 1.5GHz Quad-Core BroadcomBCM2711(Cortex A72) || H618,64 Bit Cortex™-A53 Quad-Core<br />
|-<br />
| GPU || 500 MHz VideoCore Vl || ARM Mali G31 GPU<br />
|-<br />
| Memory || 1-4GB DDR4 || 2GB LPDDR4(up to 4G)<br />
|-<br />
| Onboard Storage || MicroSD (TF) card || MicroSD (TF) card / MMC card slot ,eMMC 8GB<br />
|-<br />
| Network || 10/100/1000 Ethernet || 10/100/1000 Ethernet<br />
|-<br />
| Onboard WIFI &BT || IEEE 802.11a/b/g/n/ac & BT5.0 || IEEE 802.11a/b/g/n/ac & BT4.2<br />
|-<br />
| Display || HDMI || HDMI<br />
|-<br />
| Camera || CSI || N/A<br />
|-<br />
| Video Outputs || 2*Micro-HDMI || HDMI 2.0a 4K@60fps<br />
|-<br />
| Audio Output || 3.5 mm Jack and HDM || 3.5 mm Jack and HDMI<br />
|-<br />
| Audio In || N/A || N/A<br />
|-<br />
| GPIO || 40-PIN: PWM,GPIO,UART,I²C bus,I²S bus,SPI bus,+3.3v,+5v,ground. CAN bus || 40-PIN: PWM,GPIO,UART,I²C bus,I²S bus,SPI bus,+3.3v,+5v,ground. CAN bus<br />
|-<br />
| Remote || N/A || IR reciever<br />
|-<br />
| USB Ports || 2*USB3.0+2USB2.0 || 2 * USB 2.0 1* USB Otg<br />
|-<br />
| Buttons || N/A || Reset button, User button, Uboot button<br />
|-<br />
| LED || Power led Status led || Power led Status led Wifi led<br />
|-<br />
| Power || DC 5V/3A || DC 5V/2A<br />
|-<br />
| Board Size || 88mmx58mm || 88mmx58mm<br />
|}<br />
<br />
==PIN define ==<br />
<br />
===BPI-M4 Berry 40-pin header===<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''40-pin header define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
! ALT2<br />
! ALT3<br />
|-<br />
| 1<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 2<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 3<br />
| PG16<br />
| UART2_RX<br />
| <br />
| <br />
| TWI4_SDA<br />
|-<br />
| 4<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 5<br />
| PG15<br />
| UART2_TX<br />
| <br />
| <br />
| TWI4_SCK<br />
|-<br />
| 6<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 7<br />
| PG19<br />
| <br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 8<br />
| PG6<br />
| UART1_TX<br />
| <br />
| <br />
| <br />
|-<br />
| 9<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 10<br />
| PG7<br />
| UART1_RX<br />
| <br />
| <br />
| <br />
|-<br />
| 11<br />
| PH2<br />
| UART5_TX<br />
| <br />
| PWM2<br />
| <br />
|-<br />
| 12<br />
| PG11<br />
| H_I2S2_BCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 13<br />
| PH3<br />
| UART5_RX<br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 14<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 15<br />
| PG2<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 16<br />
| PG8<br />
| UART1_RTS<br />
| <br />
| <br />
| <br />
|-<br />
| 17<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 18<br />
| PG9<br />
| UART1_CTS<br />
| <br />
| <br />
| <br />
|-<br />
| 19<br />
| PH7<br />
| UART2_RTS<br />
| H_I2S3_LRCK<br />
| SPI1_MOSI<br />
| <br />
|-<br />
| 20<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 21<br />
| PH8<br />
| UART2_CTS<br />
| H_I2S3_DOUT0<br />
| SPI1_MISO<br />
| H_I2S3_DIN1<br />
|-<br />
| 22<br />
| PG1<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 23<br />
| PH6<br />
| UART2_RX<br />
| H_I2S3_BCLK<br />
| SPI1_CLK<br />
| <br />
|-<br />
| 24<br />
| PH5<br />
| UART2_TX<br />
| H_I2S3_MCLK<br />
| SPI1_CS0<br />
| <br />
|-<br />
| 25<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 26<br />
| PH9<br />
| <br />
| H_I2S3_DIN0<br />
| SPI1_CS1<br />
| H_I2S3_DOUT1<br />
|-<br />
| 27<br />
| PG18<br />
| UART2_CTS<br />
| <br />
| <br />
| TWI3_SDA<br />
|-<br />
| 28<br />
| PG17<br />
| UART2_RTS<br />
| <br />
| <br />
| TWI3_SCK<br />
|-<br />
| 29<br />
| PG3<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 30<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 31<br />
| PG4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 32<br />
| PG0<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 33<br />
| PG5<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 34<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 35<br />
| PG12<br />
| H_I2S2_LRCK<br />
| <br />
| <br />
| <br />
|-<br />
| 36<br />
| PH4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 37<br />
| PG10<br />
| H_I2S2_MCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 38<br />
| PG14<br />
| H_I2S2_DIN0<br />
| H_I2S2_DOUT1<br />
| <br />
| <br />
|-<br />
| 39<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 40<br />
| PG13<br />
| H_I2S2_DOUT0<br />
| H_I2S2_DIN1<br />
| <br />
| style="text-align:left;" | <br />
|}<br />
<br />
===BPI-M4 Berry Debug UART===<br />
{| class="wikitable"<br />
|-<br />
| 1 || GND<br />
|-<br />
| 2 || UART0_RX<br />
|-<br />
| 3 || UART0_TX<br />
|-<br />
|}<br />
<br />
=Development=<br />
==Source code==<br />
<br />
*u-boot for H618 : https://github.com/BPI-SINOVOIP/pi-u-boot/tree/v2021.07-sunxi<br />
*kernel for H618 : https://github.com/BPI-SINOVOIP/pi-linux/tree/pi-6.1-sunxi<br />
*BPI-H618-Android12-Code<br />
:Baidu Cloud: https://pan.baidu.com/s/1yMlLXauxZywujH8WkYqEcQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1qQxQik4GJjOF1aEOs9a1YVFxJBPlyFnc?usp=sharing<br />
<br />
== Resources==<br />
*BPI-M4 Berry Allwinner H618 SBC burn Ubuntu desktop image:https://www.youtube.com/watch?v=GAZsUDYL0DE<br />
*BPI-M4 Berry Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1Sa3bNWOHeIcvS5pgXwGaSA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1m0dgZJ3MPeyxtzc1DfNf0htbDLg_3edI/view?usp=sharing<br />
<br />
*BPI-M4 Berry DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1qS-_3d3IpoMBWJe8aI8JFA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/13wsY0cMZGfz5MdTqlo19DtmlZfdOGLI4/view?usp=sharing<br />
<br />
*Allwinner H618 Datasheet<br />
:Baidu Cloud: https://pan.baidu.com/s/10Rk4xLMOhIkk-gIoQx9DQw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1N6oWF9PHTcxXC1JY4x3Malr3twFv2wWZ/view?usp=sharing<br />
<br />
=System image=<br />
<br />
==Android==<br />
*2024-01-14-bananapi-m4berry-android12-box.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1TxHK3re-n83OqxyRN063_g?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1HbhgXqBajDsA8esbMLRzHbddpAFOV-lS?usp=sharing<br />
<br />
*2024-01-14-bananapi-m4berry-android12.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1htyoCTGtCGgKfGUwL3OuHQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1CQh4ZHjA1Na7jvAk2y1AEP8r8p0HIwx1?usp=sharing<br />
<br />
==Linux==<br />
===Debian===<br />
*20240315_Bpi-m4berry_1.0.1_debian11_bullseye_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1A8H-c6uyCcJG-3f1J2aN4A?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1FJgC68BJ55Noio2vrY33fWVEgT310Rtk/view?usp=sharing<br />
<br />
*20240315_Bpi-m4berry_1.0.1_debian11_bullseye_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1967ZrRM3dsehB9GqvBGC5A?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1kxp01nmVSPMqIW5_JHWpvl3u6zpvqjz2/view?usp=sharing<br />
<br />
*20240315_Bpi-m4berry_1.0.1_debian12_bookworm_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1JW3p-21lVbI7wPvhlh7bCw?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1HYBT-j2gi0IZYbxLXBpYPXpV74VZh-Ah/view?usp=sharing<br />
<br />
*20240315_Bpi-m4berry_1.0.1_debian12_bookworm_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1jwB29x-zKi-MqVviwzxPPA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1JTBpCwhC9OL3vlk7Dl7duD9Yqmik4Rm9/view?usp=sharing<br />
<br />
==Ubuntu==<br />
*20240315_Bpi-m4berry_1.0.1_ubuntu22.04_jammy_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1Mz8kcS8rX36oE24U0hg2sA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1PUaoGtI30vlcTjLkoFnpLaZgU1MXQZDu/view?usp=sharing<br />
<br />
*20240315_Bpi-m4berry_1.0.1_ubuntu22.04_jammy_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1Ru3viLHaLvXgiFfYuYsR4w?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1yLV3exHuPuL5Ok6VY08MbAylAGedNl0q/view?usp=sharing<br />
<br />
=Easy to buy=<br />
*Aliexpress shop:<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006212355480.html?spm<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006212128000.html?gatewayAdapt=glo2usa<br />
:Taobao Shop: https://item.taobao.com/item.htm?spm=a1z10.5-c-s.w4002-25059194413.11.489155c8Addsck&id=747425760994<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M4_Berry&diff=17137
Banana Pi BPI-M4 Berry
2024-03-19T05:41:45Z
<p>Sinovoip: /* Linux */</p>
<hr />
<div>[[zh:香蕉派_BPI-M4_Berry]]<br />
[[File:Banana_Pi_BPI-M4_Berry_1.jpg|thumb|[[Banana Pi BPI-M4 Berry]] H618 design]]<br />
<br />
[[File:Banana_pi_BPI-M2_Berry_5.JPG|thumb|[[Banana Pi BPI-M2 Berry]] A40i-H design]]<br />
[[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design]]<br />
[[File:Banana_Pi_BPI-M2S_1.jpg|thumb|[[Banana Pi BPI-M2S]] Amlogic A311D/S922 chip]]<br />
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5]] with S905x3 design]]<br />
<br />
=Introduction=<br />
<br />
BPI-M4 Berry development board stands as a powerful Single Board Computer (SBC), harnessing the capabilities of the Allwinner H618 System-on-Chip (SoC) to provide developers with impressive performance and a wealth of features. Similar to the Raspberry Pi 4b, the BPI-M4 Berry boasts comparable CPU prowess, 2G LPDDR4 memory and 8G eMMC, integrated WiFi and Bluetooth functionalities, and a familiar 40-pin header layout, alongside 4 USB interfaces and a GbE RJ45 port. <br />
<br />
Characterized by its robust performance, versatile features, and remarkable image processing capabilities, stands as an exemplary SBC development platform for professionals within the embedded and computing industries. Equipped with 8GB eMMC flash storage, high-performance decoding and encoding capabilities, and an array of interface options, it caters to a wide spectrum of application domains, including media processing, IoT, and entertainment. Whether catering to novices or seasoned developers, the BPI-M4 Berry development board offers an ideal toolset for realizing creative visions and project objectives.<br />
<br />
[[File:Banana_Pi_M4-Berry_banner_3.jpg]]<br />
<br />
=Key Features=<br />
* Allwinner H618, Quad-core ARM Cortex™-A53 processor<br />
* ARM Mali G31 GPU<br />
* WIFI & Bluetooth<br />
* 2G LPDDR4 RAM<br />
* 8G eMMC flash memory<br />
* 1x USB2.0 Type-C OTG, 5V power supply<br />
* 4x USB2.0 Type-A<br />
* 1x HDMI 2.0a<br />
* 1x 3.5mm Audio & TVE jack socket<br />
* 1x GbE Ethernet port<br />
<br />
=Getting Start=<br />
*[[Getting Started with BPI-M4 Berry]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:BPI-M4 Berry interface.jpg]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="2"| '''Hardware Specification of Banana pi BPI-M4 Berry'''<br />
|-<br />
| CPU || Allwinner H618, Quad-core ARM Cortex™-A53 processor, 64-bit, up to 1.5GHz<br />
|-<br />
| GPU ||ARM Mali G31 GPU<br />
|-<br />
| Memory || 2 GB LPDDR4 <br />
|-<br />
| Storage || 8G eMMC flash<br />
|-<br />
| SD card || MicroSD card slot<br />
|-<br />
| Wireless || 2.4G/5G WiFi and Bluetooth 4.2<br />
|-<br />
| Ethernet || 1x GbE Ethernet port(supports PoE with add-on PoE HAT)<br />
|-<br />
| HDMI || 1x full-size HDMI 2.0a (up to 4K@60Hz with HDR10, CEC, DDC, SCDC), HDMI digital Audio output<br />
|-<br />
| Audio || 1x 3.5mm Audio & TVE jack socket<br />
|-<br />
| IR || 1x CIR<br />
|-<br />
| USB || 4x USB2.0 Type-A HOST, 1x USB2.0 Type-C OTG<br />
|-<br />
| rowspan="2" | 40-pin header<br />
| 28 pins GPIO and Power (+5V, +3.3V and GND)<br />
|-<br />
| UART, SPI, TWI/I²C, PWM, PCM/I²S<br />
|-<br />
|Buttons|| Reset, FEL and User<br />
|-<br />
| LED || Power Status and Activity status<br />
|-<br />
| Power || 5V@3A via USB Type-C<br />
|-<br />
|Size || 85x56 mm <br />
|-<br />
|Weight || 60g<br />
|}<br />
<br />
==BPI-M4 Berry VS Raspberry Pi 4b ==<br />
{| class="wikitable"<br />
! module !! Raspberry Pi 4B !! Banana Pi BPI-M4 Berry<br />
|-<br />
| CPU || 1.5GHz Quad-Core BroadcomBCM2711(Cortex A72) || H618,64 Bit Cortex™-A53 Quad-Core<br />
|-<br />
| GPU || 500 MHz VideoCore Vl || ARM Mali G31 GPU<br />
|-<br />
| Memory || 1-4GB DDR4 || 2GB LPDDR4(up to 4G)<br />
|-<br />
| Onboard Storage || MicroSD (TF) card || MicroSD (TF) card / MMC card slot ,eMMC 8GB<br />
|-<br />
| Network || 10/100/1000 Ethernet || 10/100/1000 Ethernet<br />
|-<br />
| Onboard WIFI &BT || IEEE 802.11a/b/g/n/ac & BT5.0 || IEEE 802.11a/b/g/n/ac & BT4.2<br />
|-<br />
| Display || HDMI || HDMI<br />
|-<br />
| Camera || CSI || N/A<br />
|-<br />
| Video Outputs || 2*Micro-HDMI || HDMI 2.0a 4K@60fps<br />
|-<br />
| Audio Output || 3.5 mm Jack and HDM || 3.5 mm Jack and HDMI<br />
|-<br />
| Audio In || N/A || N/A<br />
|-<br />
| GPIO || 40-PIN: PWM,GPIO,UART,I²C bus,I²S bus,SPI bus,+3.3v,+5v,ground. CAN bus || 40-PIN: PWM,GPIO,UART,I²C bus,I²S bus,SPI bus,+3.3v,+5v,ground. CAN bus<br />
|-<br />
| Remote || N/A || IR reciever<br />
|-<br />
| USB Ports || 2*USB3.0+2USB2.0 || 2 * USB 2.0 1* USB Otg<br />
|-<br />
| Buttons || N/A || Reset button, User button, Uboot button<br />
|-<br />
| LED || Power led Status led || Power led Status led Wifi led<br />
|-<br />
| Power || DC 5V/3A || DC 5V/2A<br />
|-<br />
| Board Size || 88mmx58mm || 88mmx58mm<br />
|}<br />
<br />
==PIN define ==<br />
<br />
===BPI-M4 Berry 40-pin header===<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''40-pin header define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
! ALT2<br />
! ALT3<br />
|-<br />
| 1<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 2<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 3<br />
| PG16<br />
| UART2_RX<br />
| <br />
| <br />
| TWI4_SDA<br />
|-<br />
| 4<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 5<br />
| PG15<br />
| UART2_TX<br />
| <br />
| <br />
| TWI4_SCK<br />
|-<br />
| 6<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 7<br />
| PG19<br />
| <br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 8<br />
| PG6<br />
| UART1_TX<br />
| <br />
| <br />
| <br />
|-<br />
| 9<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 10<br />
| PG7<br />
| UART1_RX<br />
| <br />
| <br />
| <br />
|-<br />
| 11<br />
| PH2<br />
| UART5_TX<br />
| <br />
| PWM2<br />
| <br />
|-<br />
| 12<br />
| PG11<br />
| H_I2S2_BCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 13<br />
| PH3<br />
| UART5_RX<br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 14<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 15<br />
| PG2<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 16<br />
| PG8<br />
| UART1_RTS<br />
| <br />
| <br />
| <br />
|-<br />
| 17<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 18<br />
| PG9<br />
| UART1_CTS<br />
| <br />
| <br />
| <br />
|-<br />
| 19<br />
| PH7<br />
| UART2_RTS<br />
| H_I2S3_LRCK<br />
| SPI1_MOSI<br />
| <br />
|-<br />
| 20<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 21<br />
| PH8<br />
| UART2_CTS<br />
| H_I2S3_DOUT0<br />
| SPI1_MISO<br />
| H_I2S3_DIN1<br />
|-<br />
| 22<br />
| PG1<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 23<br />
| PH6<br />
| UART2_RX<br />
| H_I2S3_BCLK<br />
| SPI1_CLK<br />
| <br />
|-<br />
| 24<br />
| PH5<br />
| UART2_TX<br />
| H_I2S3_MCLK<br />
| SPI1_CS0<br />
| <br />
|-<br />
| 25<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 26<br />
| PH9<br />
| <br />
| H_I2S3_DIN0<br />
| SPI1_CS1<br />
| H_I2S3_DOUT1<br />
|-<br />
| 27<br />
| PG18<br />
| UART2_CTS<br />
| <br />
| <br />
| TWI3_SDA<br />
|-<br />
| 28<br />
| PG17<br />
| UART2_RTS<br />
| <br />
| <br />
| TWI3_SCK<br />
|-<br />
| 29<br />
| PG3<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 30<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 31<br />
| PG4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 32<br />
| PG0<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 33<br />
| PG5<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 34<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 35<br />
| PG12<br />
| H_I2S2_LRCK<br />
| <br />
| <br />
| <br />
|-<br />
| 36<br />
| PH4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 37<br />
| PG10<br />
| H_I2S2_MCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 38<br />
| PG14<br />
| H_I2S2_DIN0<br />
| H_I2S2_DOUT1<br />
| <br />
| <br />
|-<br />
| 39<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 40<br />
| PG13<br />
| H_I2S2_DOUT0<br />
| H_I2S2_DIN1<br />
| <br />
| style="text-align:left;" | <br />
|}<br />
<br />
===BPI-M4 Berry Debug UART===<br />
{| class="wikitable"<br />
|-<br />
| 1 || GND<br />
|-<br />
| 2 || UART0_RX<br />
|-<br />
| 3 || UART0_TX<br />
|-<br />
|}<br />
<br />
=Development=<br />
==Source code==<br />
<br />
*u-boot for H618 : https://github.com/BPI-SINOVOIP/pi-u-boot/tree/v2021.07-sunxi<br />
*kernel for H618 : https://github.com/BPI-SINOVOIP/pi-linux/tree/pi-6.1-sunxi<br />
*BPI-H618-Android12-Code<br />
:Baidu Cloud: https://pan.baidu.com/s/1yMlLXauxZywujH8WkYqEcQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1qQxQik4GJjOF1aEOs9a1YVFxJBPlyFnc?usp=sharing<br />
<br />
== Resources==<br />
*BPI-M4 Berry Allwinner H618 SBC burn Ubuntu desktop image:https://www.youtube.com/watch?v=GAZsUDYL0DE<br />
*BPI-M4 Berry Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1Sa3bNWOHeIcvS5pgXwGaSA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1m0dgZJ3MPeyxtzc1DfNf0htbDLg_3edI/view?usp=sharing<br />
<br />
*BPI-M4 Berry DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1qS-_3d3IpoMBWJe8aI8JFA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/13wsY0cMZGfz5MdTqlo19DtmlZfdOGLI4/view?usp=sharing<br />
<br />
*Allwinner H618 Datasheet<br />
:Baidu Cloud: https://pan.baidu.com/s/10Rk4xLMOhIkk-gIoQx9DQw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1N6oWF9PHTcxXC1JY4x3Malr3twFv2wWZ/view?usp=sharing<br />
<br />
=System image=<br />
<br />
==Android==<br />
*2024-01-14-bananapi-m4berry-android12-box.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1TxHK3re-n83OqxyRN063_g?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1HbhgXqBajDsA8esbMLRzHbddpAFOV-lS?usp=sharing<br />
<br />
*2024-01-14-bananapi-m4berry-android12.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1htyoCTGtCGgKfGUwL3OuHQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1CQh4ZHjA1Na7jvAk2y1AEP8r8p0HIwx1?usp=sharing<br />
<br />
==Linux==<br />
===Debian===<br />
*20240315_Bpi-m4berry_1.0.1_debian11_bullseye_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1A8H-c6uyCcJG-3f1J2aN4A?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1FJgC68BJ55Noio2vrY33fWVEgT310Rtk/view?usp=sharing<br />
<br />
*20240315_Bpi-m4berry_1.0.1_debian11_bullseye_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1967ZrRM3dsehB9GqvBGC5A?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1kxp01nmVSPMqIW5_JHWpvl3u6zpvqjz2/view?usp=sharing<br />
<br />
*20240315_Bpi-m4berry_1.0.1_debian12_bookworm_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1JW3p-21lVbI7wPvhlh7bCw?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1HYBT-j2gi0IZYbxLXBpYPXpV74VZh-Ah/view?usp=sharing<br />
<br />
*20240315_Bpi-m4berry_1.0.1_debian12_bookworm_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1jwB29x-zKi-MqVviwzxPPA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1JTBpCwhC9OL3vlk7Dl7duD9Yqmik4Rm9/view?usp=sharing<br />
<br />
===Ubuntu==<br />
*20240315_Bpi-m4berry_1.0.1_ubuntu22.04_jammy_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1Mz8kcS8rX36oE24U0hg2sA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1PUaoGtI30vlcTjLkoFnpLaZgU1MXQZDu/view?usp=sharing<br />
<br />
*20240315_Bpi-m4berry_1.0.1_ubuntu22.04_jammy_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1Ru3viLHaLvXgiFfYuYsR4w?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1yLV3exHuPuL5Ok6VY08MbAylAGedNl0q/view?usp=sharing<br />
<br />
=Easy to buy=<br />
*Aliexpress shop:<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006212355480.html?spm<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006212128000.html?gatewayAdapt=glo2usa<br />
:Taobao Shop: https://item.taobao.com/item.htm?spm=a1z10.5-c-s.w4002-25059194413.11.489155c8Addsck&id=747425760994<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M4_Berry&diff=17136
Banana Pi BPI-M4 Berry
2024-03-19T02:51:33Z
<p>Sinovoip: /* Ubuntu */</p>
<hr />
<div>[[zh:香蕉派_BPI-M4_Berry]]<br />
[[File:Banana_Pi_BPI-M4_Berry_1.jpg|thumb|[[Banana Pi BPI-M4 Berry]] H618 design]]<br />
<br />
[[File:Banana_pi_BPI-M2_Berry_5.JPG|thumb|[[Banana Pi BPI-M2 Berry]] A40i-H design]]<br />
[[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design]]<br />
[[File:Banana_Pi_BPI-M2S_1.jpg|thumb|[[Banana Pi BPI-M2S]] Amlogic A311D/S922 chip]]<br />
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5]] with S905x3 design]]<br />
<br />
=Introduction=<br />
<br />
BPI-M4 Berry development board stands as a powerful Single Board Computer (SBC), harnessing the capabilities of the Allwinner H618 System-on-Chip (SoC) to provide developers with impressive performance and a wealth of features. Similar to the Raspberry Pi 4b, the BPI-M4 Berry boasts comparable CPU prowess, 2G LPDDR4 memory and 8G eMMC, integrated WiFi and Bluetooth functionalities, and a familiar 40-pin header layout, alongside 4 USB interfaces and a GbE RJ45 port. <br />
<br />
Characterized by its robust performance, versatile features, and remarkable image processing capabilities, stands as an exemplary SBC development platform for professionals within the embedded and computing industries. Equipped with 8GB eMMC flash storage, high-performance decoding and encoding capabilities, and an array of interface options, it caters to a wide spectrum of application domains, including media processing, IoT, and entertainment. Whether catering to novices or seasoned developers, the BPI-M4 Berry development board offers an ideal toolset for realizing creative visions and project objectives.<br />
<br />
[[File:Banana_Pi_M4-Berry_banner_3.jpg]]<br />
<br />
=Key Features=<br />
* Allwinner H618, Quad-core ARM Cortex™-A53 processor<br />
* ARM Mali G31 GPU<br />
* WIFI & Bluetooth<br />
* 2G LPDDR4 RAM<br />
* 8G eMMC flash memory<br />
* 1x USB2.0 Type-C OTG, 5V power supply<br />
* 4x USB2.0 Type-A<br />
* 1x HDMI 2.0a<br />
* 1x 3.5mm Audio & TVE jack socket<br />
* 1x GbE Ethernet port<br />
<br />
=Getting Start=<br />
*[[Getting Started with BPI-M4 Berry]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:BPI-M4 Berry interface.jpg]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="2"| '''Hardware Specification of Banana pi BPI-M4 Berry'''<br />
|-<br />
| CPU || Allwinner H618, Quad-core ARM Cortex™-A53 processor, 64-bit, up to 1.5GHz<br />
|-<br />
| GPU ||ARM Mali G31 GPU<br />
|-<br />
| Memory || 2 GB LPDDR4 <br />
|-<br />
| Storage || 8G eMMC flash<br />
|-<br />
| SD card || MicroSD card slot<br />
|-<br />
| Wireless || 2.4G/5G WiFi and Bluetooth 4.2<br />
|-<br />
| Ethernet || 1x GbE Ethernet port(supports PoE with add-on PoE HAT)<br />
|-<br />
| HDMI || 1x full-size HDMI 2.0a (up to 4K@60Hz with HDR10, CEC, DDC, SCDC), HDMI digital Audio output<br />
|-<br />
| Audio || 1x 3.5mm Audio & TVE jack socket<br />
|-<br />
| IR || 1x CIR<br />
|-<br />
| USB || 4x USB2.0 Type-A HOST, 1x USB2.0 Type-C OTG<br />
|-<br />
| rowspan="2" | 40-pin header<br />
| 28 pins GPIO and Power (+5V, +3.3V and GND)<br />
|-<br />
| UART, SPI, TWI/I²C, PWM, PCM/I²S<br />
|-<br />
|Buttons|| Reset, FEL and User<br />
|-<br />
| LED || Power Status and Activity status<br />
|-<br />
| Power || 5V@3A via USB Type-C<br />
|-<br />
|Size || 85x56 mm <br />
|-<br />
|Weight || 60g<br />
|}<br />
<br />
==BPI-M4 Berry VS Raspberry Pi 4b ==<br />
{| class="wikitable"<br />
! module !! Raspberry Pi 4B !! Banana Pi BPI-M4 Berry<br />
|-<br />
| CPU || 1.5GHz Quad-Core BroadcomBCM2711(Cortex A72) || H618,64 Bit Cortex™-A53 Quad-Core<br />
|-<br />
| GPU || 500 MHz VideoCore Vl || ARM Mali G31 GPU<br />
|-<br />
| Memory || 1-4GB DDR4 || 2GB LPDDR4(up to 4G)<br />
|-<br />
| Onboard Storage || MicroSD (TF) card || MicroSD (TF) card / MMC card slot ,eMMC 8GB<br />
|-<br />
| Network || 10/100/1000 Ethernet || 10/100/1000 Ethernet<br />
|-<br />
| Onboard WIFI &BT || IEEE 802.11a/b/g/n/ac & BT5.0 || IEEE 802.11a/b/g/n/ac & BT4.2<br />
|-<br />
| Display || HDMI || HDMI<br />
|-<br />
| Camera || CSI || N/A<br />
|-<br />
| Video Outputs || 2*Micro-HDMI || HDMI 2.0a 4K@60fps<br />
|-<br />
| Audio Output || 3.5 mm Jack and HDM || 3.5 mm Jack and HDMI<br />
|-<br />
| Audio In || N/A || N/A<br />
|-<br />
| GPIO || 40-PIN: PWM,GPIO,UART,I²C bus,I²S bus,SPI bus,+3.3v,+5v,ground. CAN bus || 40-PIN: PWM,GPIO,UART,I²C bus,I²S bus,SPI bus,+3.3v,+5v,ground. CAN bus<br />
|-<br />
| Remote || N/A || IR reciever<br />
|-<br />
| USB Ports || 2*USB3.0+2USB2.0 || 2 * USB 2.0 1* USB Otg<br />
|-<br />
| Buttons || N/A || Reset button, User button, Uboot button<br />
|-<br />
| LED || Power led Status led || Power led Status led Wifi led<br />
|-<br />
| Power || DC 5V/3A || DC 5V/2A<br />
|-<br />
| Board Size || 88mmx58mm || 88mmx58mm<br />
|}<br />
<br />
==PIN define ==<br />
<br />
===BPI-M4 Berry 40-pin header===<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''40-pin header define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
! ALT2<br />
! ALT3<br />
|-<br />
| 1<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 2<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 3<br />
| PG16<br />
| UART2_RX<br />
| <br />
| <br />
| TWI4_SDA<br />
|-<br />
| 4<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 5<br />
| PG15<br />
| UART2_TX<br />
| <br />
| <br />
| TWI4_SCK<br />
|-<br />
| 6<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 7<br />
| PG19<br />
| <br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 8<br />
| PG6<br />
| UART1_TX<br />
| <br />
| <br />
| <br />
|-<br />
| 9<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 10<br />
| PG7<br />
| UART1_RX<br />
| <br />
| <br />
| <br />
|-<br />
| 11<br />
| PH2<br />
| UART5_TX<br />
| <br />
| PWM2<br />
| <br />
|-<br />
| 12<br />
| PG11<br />
| H_I2S2_BCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 13<br />
| PH3<br />
| UART5_RX<br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 14<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 15<br />
| PG2<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 16<br />
| PG8<br />
| UART1_RTS<br />
| <br />
| <br />
| <br />
|-<br />
| 17<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 18<br />
| PG9<br />
| UART1_CTS<br />
| <br />
| <br />
| <br />
|-<br />
| 19<br />
| PH7<br />
| UART2_RTS<br />
| H_I2S3_LRCK<br />
| SPI1_MOSI<br />
| <br />
|-<br />
| 20<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 21<br />
| PH8<br />
| UART2_CTS<br />
| H_I2S3_DOUT0<br />
| SPI1_MISO<br />
| H_I2S3_DIN1<br />
|-<br />
| 22<br />
| PG1<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 23<br />
| PH6<br />
| UART2_RX<br />
| H_I2S3_BCLK<br />
| SPI1_CLK<br />
| <br />
|-<br />
| 24<br />
| PH5<br />
| UART2_TX<br />
| H_I2S3_MCLK<br />
| SPI1_CS0<br />
| <br />
|-<br />
| 25<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 26<br />
| PH9<br />
| <br />
| H_I2S3_DIN0<br />
| SPI1_CS1<br />
| H_I2S3_DOUT1<br />
|-<br />
| 27<br />
| PG18<br />
| UART2_CTS<br />
| <br />
| <br />
| TWI3_SDA<br />
|-<br />
| 28<br />
| PG17<br />
| UART2_RTS<br />
| <br />
| <br />
| TWI3_SCK<br />
|-<br />
| 29<br />
| PG3<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 30<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 31<br />
| PG4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 32<br />
| PG0<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 33<br />
| PG5<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 34<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 35<br />
| PG12<br />
| H_I2S2_LRCK<br />
| <br />
| <br />
| <br />
|-<br />
| 36<br />
| PH4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 37<br />
| PG10<br />
| H_I2S2_MCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 38<br />
| PG14<br />
| H_I2S2_DIN0<br />
| H_I2S2_DOUT1<br />
| <br />
| <br />
|-<br />
| 39<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 40<br />
| PG13<br />
| H_I2S2_DOUT0<br />
| H_I2S2_DIN1<br />
| <br />
| style="text-align:left;" | <br />
|}<br />
<br />
===BPI-M4 Berry Debug UART===<br />
{| class="wikitable"<br />
|-<br />
| 1 || GND<br />
|-<br />
| 2 || UART0_RX<br />
|-<br />
| 3 || UART0_TX<br />
|-<br />
|}<br />
<br />
=Development=<br />
==Source code==<br />
<br />
*u-boot for H618 : https://github.com/BPI-SINOVOIP/pi-u-boot/tree/v2021.07-sunxi<br />
*kernel for H618 : https://github.com/BPI-SINOVOIP/pi-linux/tree/pi-6.1-sunxi<br />
*BPI-H618-Android12-Code<br />
:Baidu Cloud: https://pan.baidu.com/s/1yMlLXauxZywujH8WkYqEcQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1qQxQik4GJjOF1aEOs9a1YVFxJBPlyFnc?usp=sharing<br />
<br />
== Resources==<br />
*BPI-M4 Berry Allwinner H618 SBC burn Ubuntu desktop image:https://www.youtube.com/watch?v=GAZsUDYL0DE<br />
*BPI-M4 Berry Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1Sa3bNWOHeIcvS5pgXwGaSA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1m0dgZJ3MPeyxtzc1DfNf0htbDLg_3edI/view?usp=sharing<br />
<br />
*BPI-M4 Berry DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1qS-_3d3IpoMBWJe8aI8JFA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/13wsY0cMZGfz5MdTqlo19DtmlZfdOGLI4/view?usp=sharing<br />
<br />
*Allwinner H618 Datasheet<br />
:Baidu Cloud: https://pan.baidu.com/s/10Rk4xLMOhIkk-gIoQx9DQw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1N6oWF9PHTcxXC1JY4x3Malr3twFv2wWZ/view?usp=sharing<br />
<br />
=System image=<br />
<br />
==Android==<br />
*2024-01-14-bananapi-m4berry-android12-box.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1TxHK3re-n83OqxyRN063_g?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1HbhgXqBajDsA8esbMLRzHbddpAFOV-lS?usp=sharing<br />
<br />
*2024-01-14-bananapi-m4berry-android12.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1htyoCTGtCGgKfGUwL3OuHQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1CQh4ZHjA1Na7jvAk2y1AEP8r8p0HIwx1?usp=sharing<br />
<br />
==Linux==<br />
===Debian===<br />
*20240315_Bpi-m4berry_1.0.1_debian11_bullseye_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1A8H-c6uyCcJG-3f1J2aN4A?pwd=8888 (pincode:8888) <br />
:Google Drive:<br />
<br />
*20240315_Bpi-m4berry_1.0.1_debian11_bullseye_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1967ZrRM3dsehB9GqvBGC5A?pwd=8888 (pincode:8888) <br />
:Google Drive: <br />
<br />
*20240315_Bpi-m4berry_1.0.1_debian12_bookworm_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1JW3p-21lVbI7wPvhlh7bCw?pwd=8888 (pincode:8888) <br />
:Google Drive: <br />
<br />
*20240315_Bpi-m4berry_1.0.1_debian12_bookworm_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1jwB29x-zKi-MqVviwzxPPA?pwd=8888 (pincode:8888)<br />
:Google Drive:<br />
<br />
===Ubuntu===<br />
*20240315_Bpi-m4berry_1.0.1_ubuntu22.04_jammy_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1Mz8kcS8rX36oE24U0hg2sA?pwd=8888 (pincode:8888) <br />
:Google Drive: <br />
<br />
*20240315_Bpi-m4berry_1.0.1_ubuntu22.04_jammy_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1Ru3viLHaLvXgiFfYuYsR4w?pwd=8888 (pincode:8888)<br />
:Google Drive:<br />
<br />
=Easy to buy=<br />
*Aliexpress shop:<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006212355480.html?spm<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006212128000.html?gatewayAdapt=glo2usa<br />
:Taobao Shop: https://item.taobao.com/item.htm?spm=a1z10.5-c-s.w4002-25059194413.11.489155c8Addsck&id=747425760994<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M4_Berry&diff=17135
Banana Pi BPI-M4 Berry
2024-03-19T02:49:58Z
<p>Sinovoip: /* Debian */</p>
<hr />
<div>[[zh:香蕉派_BPI-M4_Berry]]<br />
[[File:Banana_Pi_BPI-M4_Berry_1.jpg|thumb|[[Banana Pi BPI-M4 Berry]] H618 design]]<br />
<br />
[[File:Banana_pi_BPI-M2_Berry_5.JPG|thumb|[[Banana Pi BPI-M2 Berry]] A40i-H design]]<br />
[[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design]]<br />
[[File:Banana_Pi_BPI-M2S_1.jpg|thumb|[[Banana Pi BPI-M2S]] Amlogic A311D/S922 chip]]<br />
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5]] with S905x3 design]]<br />
<br />
=Introduction=<br />
<br />
BPI-M4 Berry development board stands as a powerful Single Board Computer (SBC), harnessing the capabilities of the Allwinner H618 System-on-Chip (SoC) to provide developers with impressive performance and a wealth of features. Similar to the Raspberry Pi 4b, the BPI-M4 Berry boasts comparable CPU prowess, 2G LPDDR4 memory and 8G eMMC, integrated WiFi and Bluetooth functionalities, and a familiar 40-pin header layout, alongside 4 USB interfaces and a GbE RJ45 port. <br />
<br />
Characterized by its robust performance, versatile features, and remarkable image processing capabilities, stands as an exemplary SBC development platform for professionals within the embedded and computing industries. Equipped with 8GB eMMC flash storage, high-performance decoding and encoding capabilities, and an array of interface options, it caters to a wide spectrum of application domains, including media processing, IoT, and entertainment. Whether catering to novices or seasoned developers, the BPI-M4 Berry development board offers an ideal toolset for realizing creative visions and project objectives.<br />
<br />
[[File:Banana_Pi_M4-Berry_banner_3.jpg]]<br />
<br />
=Key Features=<br />
* Allwinner H618, Quad-core ARM Cortex™-A53 processor<br />
* ARM Mali G31 GPU<br />
* WIFI & Bluetooth<br />
* 2G LPDDR4 RAM<br />
* 8G eMMC flash memory<br />
* 1x USB2.0 Type-C OTG, 5V power supply<br />
* 4x USB2.0 Type-A<br />
* 1x HDMI 2.0a<br />
* 1x 3.5mm Audio & TVE jack socket<br />
* 1x GbE Ethernet port<br />
<br />
=Getting Start=<br />
*[[Getting Started with BPI-M4 Berry]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:BPI-M4 Berry interface.jpg]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="2"| '''Hardware Specification of Banana pi BPI-M4 Berry'''<br />
|-<br />
| CPU || Allwinner H618, Quad-core ARM Cortex™-A53 processor, 64-bit, up to 1.5GHz<br />
|-<br />
| GPU ||ARM Mali G31 GPU<br />
|-<br />
| Memory || 2 GB LPDDR4 <br />
|-<br />
| Storage || 8G eMMC flash<br />
|-<br />
| SD card || MicroSD card slot<br />
|-<br />
| Wireless || 2.4G/5G WiFi and Bluetooth 4.2<br />
|-<br />
| Ethernet || 1x GbE Ethernet port(supports PoE with add-on PoE HAT)<br />
|-<br />
| HDMI || 1x full-size HDMI 2.0a (up to 4K@60Hz with HDR10, CEC, DDC, SCDC), HDMI digital Audio output<br />
|-<br />
| Audio || 1x 3.5mm Audio & TVE jack socket<br />
|-<br />
| IR || 1x CIR<br />
|-<br />
| USB || 4x USB2.0 Type-A HOST, 1x USB2.0 Type-C OTG<br />
|-<br />
| rowspan="2" | 40-pin header<br />
| 28 pins GPIO and Power (+5V, +3.3V and GND)<br />
|-<br />
| UART, SPI, TWI/I²C, PWM, PCM/I²S<br />
|-<br />
|Buttons|| Reset, FEL and User<br />
|-<br />
| LED || Power Status and Activity status<br />
|-<br />
| Power || 5V@3A via USB Type-C<br />
|-<br />
|Size || 85x56 mm <br />
|-<br />
|Weight || 60g<br />
|}<br />
<br />
==BPI-M4 Berry VS Raspberry Pi 4b ==<br />
{| class="wikitable"<br />
! module !! Raspberry Pi 4B !! Banana Pi BPI-M4 Berry<br />
|-<br />
| CPU || 1.5GHz Quad-Core BroadcomBCM2711(Cortex A72) || H618,64 Bit Cortex™-A53 Quad-Core<br />
|-<br />
| GPU || 500 MHz VideoCore Vl || ARM Mali G31 GPU<br />
|-<br />
| Memory || 1-4GB DDR4 || 2GB LPDDR4(up to 4G)<br />
|-<br />
| Onboard Storage || MicroSD (TF) card || MicroSD (TF) card / MMC card slot ,eMMC 8GB<br />
|-<br />
| Network || 10/100/1000 Ethernet || 10/100/1000 Ethernet<br />
|-<br />
| Onboard WIFI &BT || IEEE 802.11a/b/g/n/ac & BT5.0 || IEEE 802.11a/b/g/n/ac & BT4.2<br />
|-<br />
| Display || HDMI || HDMI<br />
|-<br />
| Camera || CSI || N/A<br />
|-<br />
| Video Outputs || 2*Micro-HDMI || HDMI 2.0a 4K@60fps<br />
|-<br />
| Audio Output || 3.5 mm Jack and HDM || 3.5 mm Jack and HDMI<br />
|-<br />
| Audio In || N/A || N/A<br />
|-<br />
| GPIO || 40-PIN: PWM,GPIO,UART,I²C bus,I²S bus,SPI bus,+3.3v,+5v,ground. CAN bus || 40-PIN: PWM,GPIO,UART,I²C bus,I²S bus,SPI bus,+3.3v,+5v,ground. CAN bus<br />
|-<br />
| Remote || N/A || IR reciever<br />
|-<br />
| USB Ports || 2*USB3.0+2USB2.0 || 2 * USB 2.0 1* USB Otg<br />
|-<br />
| Buttons || N/A || Reset button, User button, Uboot button<br />
|-<br />
| LED || Power led Status led || Power led Status led Wifi led<br />
|-<br />
| Power || DC 5V/3A || DC 5V/2A<br />
|-<br />
| Board Size || 88mmx58mm || 88mmx58mm<br />
|}<br />
<br />
==PIN define ==<br />
<br />
===BPI-M4 Berry 40-pin header===<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''40-pin header define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
! ALT2<br />
! ALT3<br />
|-<br />
| 1<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 2<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 3<br />
| PG16<br />
| UART2_RX<br />
| <br />
| <br />
| TWI4_SDA<br />
|-<br />
| 4<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 5<br />
| PG15<br />
| UART2_TX<br />
| <br />
| <br />
| TWI4_SCK<br />
|-<br />
| 6<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 7<br />
| PG19<br />
| <br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 8<br />
| PG6<br />
| UART1_TX<br />
| <br />
| <br />
| <br />
|-<br />
| 9<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 10<br />
| PG7<br />
| UART1_RX<br />
| <br />
| <br />
| <br />
|-<br />
| 11<br />
| PH2<br />
| UART5_TX<br />
| <br />
| PWM2<br />
| <br />
|-<br />
| 12<br />
| PG11<br />
| H_I2S2_BCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 13<br />
| PH3<br />
| UART5_RX<br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 14<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 15<br />
| PG2<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 16<br />
| PG8<br />
| UART1_RTS<br />
| <br />
| <br />
| <br />
|-<br />
| 17<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 18<br />
| PG9<br />
| UART1_CTS<br />
| <br />
| <br />
| <br />
|-<br />
| 19<br />
| PH7<br />
| UART2_RTS<br />
| H_I2S3_LRCK<br />
| SPI1_MOSI<br />
| <br />
|-<br />
| 20<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 21<br />
| PH8<br />
| UART2_CTS<br />
| H_I2S3_DOUT0<br />
| SPI1_MISO<br />
| H_I2S3_DIN1<br />
|-<br />
| 22<br />
| PG1<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 23<br />
| PH6<br />
| UART2_RX<br />
| H_I2S3_BCLK<br />
| SPI1_CLK<br />
| <br />
|-<br />
| 24<br />
| PH5<br />
| UART2_TX<br />
| H_I2S3_MCLK<br />
| SPI1_CS0<br />
| <br />
|-<br />
| 25<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 26<br />
| PH9<br />
| <br />
| H_I2S3_DIN0<br />
| SPI1_CS1<br />
| H_I2S3_DOUT1<br />
|-<br />
| 27<br />
| PG18<br />
| UART2_CTS<br />
| <br />
| <br />
| TWI3_SDA<br />
|-<br />
| 28<br />
| PG17<br />
| UART2_RTS<br />
| <br />
| <br />
| TWI3_SCK<br />
|-<br />
| 29<br />
| PG3<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 30<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 31<br />
| PG4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 32<br />
| PG0<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 33<br />
| PG5<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 34<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 35<br />
| PG12<br />
| H_I2S2_LRCK<br />
| <br />
| <br />
| <br />
|-<br />
| 36<br />
| PH4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 37<br />
| PG10<br />
| H_I2S2_MCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 38<br />
| PG14<br />
| H_I2S2_DIN0<br />
| H_I2S2_DOUT1<br />
| <br />
| <br />
|-<br />
| 39<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 40<br />
| PG13<br />
| H_I2S2_DOUT0<br />
| H_I2S2_DIN1<br />
| <br />
| style="text-align:left;" | <br />
|}<br />
<br />
===BPI-M4 Berry Debug UART===<br />
{| class="wikitable"<br />
|-<br />
| 1 || GND<br />
|-<br />
| 2 || UART0_RX<br />
|-<br />
| 3 || UART0_TX<br />
|-<br />
|}<br />
<br />
=Development=<br />
==Source code==<br />
<br />
*u-boot for H618 : https://github.com/BPI-SINOVOIP/pi-u-boot/tree/v2021.07-sunxi<br />
*kernel for H618 : https://github.com/BPI-SINOVOIP/pi-linux/tree/pi-6.1-sunxi<br />
*BPI-H618-Android12-Code<br />
:Baidu Cloud: https://pan.baidu.com/s/1yMlLXauxZywujH8WkYqEcQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1qQxQik4GJjOF1aEOs9a1YVFxJBPlyFnc?usp=sharing<br />
<br />
== Resources==<br />
*BPI-M4 Berry Allwinner H618 SBC burn Ubuntu desktop image:https://www.youtube.com/watch?v=GAZsUDYL0DE<br />
*BPI-M4 Berry Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1Sa3bNWOHeIcvS5pgXwGaSA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1m0dgZJ3MPeyxtzc1DfNf0htbDLg_3edI/view?usp=sharing<br />
<br />
*BPI-M4 Berry DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1qS-_3d3IpoMBWJe8aI8JFA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/13wsY0cMZGfz5MdTqlo19DtmlZfdOGLI4/view?usp=sharing<br />
<br />
*Allwinner H618 Datasheet<br />
:Baidu Cloud: https://pan.baidu.com/s/10Rk4xLMOhIkk-gIoQx9DQw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1N6oWF9PHTcxXC1JY4x3Malr3twFv2wWZ/view?usp=sharing<br />
<br />
=System image=<br />
<br />
==Android==<br />
*2024-01-14-bananapi-m4berry-android12-box.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1TxHK3re-n83OqxyRN063_g?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1HbhgXqBajDsA8esbMLRzHbddpAFOV-lS?usp=sharing<br />
<br />
*2024-01-14-bananapi-m4berry-android12.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1htyoCTGtCGgKfGUwL3OuHQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1CQh4ZHjA1Na7jvAk2y1AEP8r8p0HIwx1?usp=sharing<br />
<br />
==Linux==<br />
===Debian===<br />
*20240315_Bpi-m4berry_1.0.1_debian11_bullseye_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1A8H-c6uyCcJG-3f1J2aN4A?pwd=8888 (pincode:8888) <br />
:Google Drive:<br />
<br />
*20240315_Bpi-m4berry_1.0.1_debian11_bullseye_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1967ZrRM3dsehB9GqvBGC5A?pwd=8888 (pincode:8888) <br />
:Google Drive: <br />
<br />
*20240315_Bpi-m4berry_1.0.1_debian12_bookworm_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1JW3p-21lVbI7wPvhlh7bCw?pwd=8888 (pincode:8888) <br />
:Google Drive: <br />
<br />
*20240315_Bpi-m4berry_1.0.1_debian12_bookworm_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1jwB29x-zKi-MqVviwzxPPA?pwd=8888 (pincode:8888)<br />
:Google Drive:<br />
<br />
===Ubuntu===<br />
*2023-11-30 Bpi-m4berry_1.0.0_ubuntu_jammy_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1wQWM1K8e8BryxDd8TdReYQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1suFnc_nzkXu9BovZwyXAEodXzTKVQBjO/view?usp=sharing<br />
<br />
*2023-11-30 Bpi-m4berry_1.0.0_ubuntu_jammy_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1x-QJbRPrKM1W6x9F4UXdVw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1nRwVbktxvXCqAVayh53Bloa4nCnFhYfI/view?usp=sharing<br />
<br />
=Easy to buy=<br />
*Aliexpress shop:<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006212355480.html?spm<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006212128000.html?gatewayAdapt=glo2usa<br />
:Taobao Shop: https://item.taobao.com/item.htm?spm=a1z10.5-c-s.w4002-25059194413.11.489155c8Addsck&id=747425760994<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M4_Zero&diff=17134
Banana Pi BPI-M4 Zero
2024-03-18T09:57:27Z
<p>Sinovoip: /* Debian */</p>
<hr />
<div>[[zh:香蕉派_BPI-M4_Zero]] <br />
<br />
[[File: Banana_Pi_BPI-M4_Zero_1.jpg|thumb|[[Banana Pi BPI-M4 Zero]] with Allwinner H618 chip]]<br />
[[File:BPI-M2_zero_11.JPG|thumb|[[Banana Pi BPI-M2 ZERO]] with Allwinner H3 chip]]<br />
[[File:Banana_Pi_BPI-M4_Berry_1.jpg|thumb|[[Banana Pi BPI-M4 Berry]] H618 design]]<br />
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5]] with S905x3 design]]<br />
<br />
=Introduction=<br />
[[File:M4-Zero780.jpg]]<br />
<br />
Banana Pi BPI-M4 Zero is the successor model of M2 Zero. It has a huge improvement in performance. The SOC is upgraded to H618 and the CPU frequency is increased by 25%. The memory is upgraded to DDR4, the capacity is quadrupled, and 8G eMMC is added. It supports 5G WiFi, and the USB interface has also been upgraded to type-C.<br />
<br />
It has same form factor and 40-pin connector as the Raspberry Pi Zero W, and it can fit most of the RPI Zero W cases and accessories.<br />
<br />
=Key Features=<br />
* Allwinner H618, Quad-core ARM Cortex™-A53 processor<br />
* ARM Mali G31 GPU<br />
* 2.4G/5G WIFI & Bluetooth 4.2<br />
* 2G LPDDR4 RAM<br />
* 8G eMMC flash memory<br />
* 1x USB2.0 Type-C OTG, 5V power supply<br />
* 1x USB2.0 Type-C<br />
* 1x miniHDMI 2.0a<br />
* 1x 24-pin FPC connector<br />
** 1x USB2.0<br />
** 1x 100Mbps Ethernet<br />
<br />
=Getting Start=<br />
*[[Getting Started with BPI-M4 Zero]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-M4_Zero_interface.jpg]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="2"| '''Hardware Specification of Banana pi BPI-M4 Zero'''<br />
|-<br />
| CPU || Allwinner H618, Quad-core ARM Cortex™-A53 processor, 64-bit, up to 1.5GHz<br />
|-<br />
| GPU ||ARM Mali G31 GPU<br />
|-<br />
| Memory || 2 GB LPDDR4 <br />
|-<br />
| Storage || 8G eMMC flash<br />
|-<br />
| SD card || MicroSD card slot, SDIO3.0<br />
|-<br />
| Wireless || 2.4G/5G WiFi and Bluetooth 4.2<br />
|-<br />
| HDMI || 1x miniHDMI 2.0a (up to 4K@60Hz with HDR10, CEC, DDC, SCDC), HDMI digital Audio output<br />
|-<br />
| USB || 1x USB2.0 Type-C HOST, 1x USB2.0 Type-C OTG<br />
|-<br />
| rowspan="2" | 40-pin header<br />
| 28 pins GPIO and Power (+5V, +3.3V and GND)<br />
|-<br />
| UART, SPI, TWI/I²C, PWM, PCM/I²S<br />
|-<br />
| rowspan="2" | 24-pin FPC<br />
| 0.5mm pitch FPC connector, 1x USB2.0, 1x IR, 1x 100Mbps Ethernet<br />
|-<br />
| 9 pins GPIO, UART,TWI/I²C, PWM, PCM/I²S<br />
|-<br />
|Buttons|| Reset, FEL<br />
|-<br />
| LED || Power Status and Activity status<br />
|-<br />
| Power || 5V@3A via USB Type-C<br />
|-<br />
|Size || 65mm × 30mm<br />
|-<br />
|Weight || <br />
|}<br />
<br />
==PIN define ==<br />
<br />
===BPI-M4 Zero 40-pin header===<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''40-pin header define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
! ALT2<br />
! ALT3<br />
|-<br />
| 1<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 2<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 3<br />
| PG16<br />
| UART2_RX<br />
| <br />
| <br />
| TWI4_SDA<br />
|-<br />
| 4<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 5<br />
| PG15<br />
| UART2_TX<br />
| <br />
| <br />
| TWI4_SCK<br />
|-<br />
| 6<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 7<br />
| PG19<br />
| <br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 8<br />
| PG6<br />
| UART1_TX<br />
| <br />
| <br />
| <br />
|-<br />
| 9<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 10<br />
| PG7<br />
| UART1_RX<br />
| <br />
| <br />
| <br />
|-<br />
| 11<br />
| PH2<br />
| UART5_TX<br />
| <br />
| PWM2<br />
| <br />
|-<br />
| 12<br />
| PG11<br />
| H_I2S2_BCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 13<br />
| PH3<br />
| UART5_RX<br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 14<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 15<br />
| PG2<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 16<br />
| PG8<br />
| UART1_RTS<br />
| <br />
| <br />
| <br />
|-<br />
| 17<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 18<br />
| PG9<br />
| UART1_CTS<br />
| <br />
| <br />
| <br />
|-<br />
| 19<br />
| PH7<br />
| UART2_RTS<br />
| H_I2S3_LRCK<br />
| SPI1_MOSI<br />
| <br />
|-<br />
| 20<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 21<br />
| PH8<br />
| UART2_CTS<br />
| H_I2S3_DOUT0<br />
| SPI1_MISO<br />
| H_I2S3_DIN1<br />
|-<br />
| 22<br />
| PG1<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 23<br />
| PH6<br />
| UART2_RX<br />
| H_I2S3_BCLK<br />
| SPI1_CLK<br />
| <br />
|-<br />
| 24<br />
| PH5<br />
| UART2_TX<br />
| H_I2S3_MCLK<br />
| SPI1_CS0<br />
| <br />
|-<br />
| 25<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 26<br />
| PH9<br />
| <br />
| H_I2S3_DIN0<br />
| SPI1_CS1<br />
| H_I2S3_DOUT1<br />
|-<br />
| 27<br />
| PG18<br />
| UART2_CTS<br />
| <br />
| <br />
| TWI3_SDA<br />
|-<br />
| 28<br />
| PG17<br />
| UART2_RTS<br />
| <br />
| <br />
| TWI3_SCK<br />
|-<br />
| 29<br />
| PG3<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 30<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 31<br />
| PG4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 32<br />
| PG0<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 33<br />
| PG5<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 34<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 35<br />
| PG12<br />
| H_I2S2_LRCK<br />
| <br />
| <br />
| <br />
|-<br />
| 36<br />
| PH4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 37<br />
| PG10<br />
| H_I2S2_MCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 38<br />
| PG14<br />
| H_I2S2_DIN0<br />
| H_I2S2_DOUT1<br />
| <br />
| <br />
|-<br />
| 39<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 40<br />
| PG13<br />
| H_I2S2_DOUT0<br />
| H_I2S2_DIN1<br />
| <br />
| style="text-align:left;" | <br />
|}<br />
=== 24-pin FPC ===<br />
<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''24-pin FPC define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
|-<br />
| 1<br />
| GND<br />
| <br />
| <br />
|-<br />
| 2<br />
| EPHY_RXN<br />
| <br />
|<br />
|-<br />
| 3<br />
| EPHY_RXP<br />
| <br />
|<br />
|-<br />
| 4<br />
| EPHY_TXN<br />
| <br />
|<br />
|-<br />
| 5<br />
| EPHY_TXP<br />
| <br />
| <br />
|-<br />
| 6<br />
| GND<br />
| <br />
|<br />
|-<br />
| 7<br />
| PI9<br />
| UART3_TX<br />
| TWI2_SCK<br />
|-<br />
| 8<br />
| PI10<br />
| UART3_RX<br />
| TWI2_SDA<br />
|-<br />
| 9<br />
| PI12<br />
| UART3_CTS<br />
| PWM2<br />
|-<br />
| 10<br />
| PI11<br />
| UART3_RTS<br />
| PWM1 <br />
|-<br />
| 11<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 12<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 13<br />
| PI4<br />
| H_I2S0_DIN0<br />
| H_I2S0_DOUT1<br />
|-<br />
| 14<br />
| PI3<br />
| H_I2S0_DOUT0<br />
| H_I2S0_DIN1<br />
|-<br />
| 15<br />
| PI2<br />
| H_I2S0_LRCK<br />
| <br />
|-<br />
| 16<br />
| PI1<br />
| H_I2S0_BCLK<br />
| <br />
|-<br />
| 17<br />
| PI0<br />
| H_I2S0_MCLK<br />
| <br />
|-<br />
| 18<br />
| GND<br />
| <br />
| <br />
|-<br />
| 19<br />
| PH10<br />
| IR_RX<br />
| <br />
|-<br />
| 20<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 21<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 22<br />
| USB2_DP<br />
| <br />
| <br />
|-<br />
| 23<br />
| USB2_DM<br />
| <br />
| <br />
|-<br />
| 24<br />
| GND<br />
| <br />
| <br />
|-<br />
|}<br />
<br />
===BPI-M4 Zero Debug UART===<br />
{| class="wikitable"<br />
|-<br />
| 1 || GND<br />
|-<br />
| 2 || UART0_RX<br />
|-<br />
| 3 || UART0_TX<br />
|-<br />
|}<br />
<br />
=Development=<br />
==Source code==<br />
<br />
*u-boot for H618 : https://github.com/BPI-SINOVOIP/pi-u-boot/tree/v2021.07-sunxi<br />
*kernel for H618 : https://github.com/BPI-SINOVOIP/pi-linux/tree/pi-6.1-sunxi<br />
*BPI-H618-Android12-Code<br />
:Baidu Cloud: https://pan.baidu.com/s/1yMlLXauxZywujH8WkYqEcQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1qQxQik4GJjOF1aEOs9a1YVFxJBPlyFnc?usp=sharing<br />
<br />
== Resources==<br />
*BPI-M4 ZERO Hardware introduction video: https://www.youtube.com/watch?v=23J_TfsB480<br />
<br />
*BPI-M4 Zero DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1Mjpa8V_rm9S_advARWvzKA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1HBTiiMwU5mz2ogGsBUwHz2idkqJpXCNB/view?usp=sharing<br />
<br />
*BPI-M4 ZERO Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1KPAf3tz_-h-9PWv-6VcAJg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1WUFn_GItB6fBIt0C-ejdyu3FwznuGmCr/view?usp=sharing<br />
<br />
*BPI-M4 Zero SBC bench test: <br />
<br />
*Allwinner H618 Datasheet<br />
:Baidu Cloud: https://pan.baidu.com/s/10Rk4xLMOhIkk-gIoQx9DQw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1N6oWF9PHTcxXC1JY4x3Malr3twFv2wWZ/view?usp=sharing<br />
<br />
=System image=<br />
<br />
==Android==<br />
*2024-01-14-bananapi-m4zero-android12-box.img.<br />
:Baidu Cloud: https://pan.baidu.com/s/1HRiOLLBwdrLehv_z2sksfA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/15XDTLd5VqZxfgmv7tlqDBHrgOGvaBofU?usp=sharing<br />
<br />
*2024-01-14-bananapi-m4zero-android12<br />
:Baidu Cloud: https://pan.baidu.com/s/1rNXZc_OKJHyUVOPXtCixcQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/18ZvhcAMIOWyAZxHcxNGJmKVjZidYqGtW?usp=sharing<br />
<br />
==Linux==<br />
===Debian===<br />
<br />
*20240314-Bpi-m4zero_1.0.1_debian12_bookworm_desktop_xfce_linux6.1.31<br />
:Baidu cloud: https://pan.baidu.com/s/1QJ0wFHxLMvaJgiCkk_NBpw?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1OKrAm2fX8pLpiYM6GcQOIyNdcgQh9_bH/view?usp=sharing<br />
<br />
*20240314-Bpi-m4zero_1.0.1_debian12_bookworm_minimal_linux6.1.31<br />
:Baidu cloud: https://pan.baidu.com/s/1oGq-HaHJoiUsUqIQwp72_Q?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1dNkG1sbh2EkKD9UUmUhT9LtdbfF3rT_c/view?usp=sharing<br />
<br />
*20240315_Bpi-m4zero_1.0.1_debian11_bullseye_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1mkjxqcDDyDXDQ-ZJ_7Dcag?pwd=8888(pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1RyIC-1AsVUk9i8aL6c37uDcB3VIBQJwk/view?usp=sharing<br />
<br />
*20240315_Bpi-m4zero_1.0.1_debian11_bullseye_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1x2ByNdQJHRxRxRIo5Ui1lA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/19BjUfWAH8pQdVtxN1Ow6QERlSm5o5g5e/view?usp=sharing<br />
<br />
===Ubuntu===<br />
*20240314-Bpi-m4zero_1.0.1_ubuntu24.04_jammy_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1GigN7INJarQnqJL5pQNK4g?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1AhQqo54W4QOS36ek9lxoMnewk0F5nIoX/view?usp=sharing<br />
<br />
*20240314-Bpi-m4zero_1.0.1_ubuntu24.04_jammy_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1nV6AJUayGSmLsUhIrMq9IQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1CttN-hCD1PWImalYPh8QuxWsa2BPEyz-/view?usp=sharing<br />
<br />
=Easy to buy=<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006325178305.html<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006325280213.html<br />
:Taobao Shop: https://item.taobao.com/item.htm?spm=a21dvs.23580594.0.0.4fee3d0dOP5VBH&ft=t&id=754939469582<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M4_Zero&diff=17133
Banana Pi BPI-M4 Zero
2024-03-18T09:50:27Z
<p>Sinovoip: /* Debian */</p>
<hr />
<div>[[zh:香蕉派_BPI-M4_Zero]] <br />
<br />
[[File: Banana_Pi_BPI-M4_Zero_1.jpg|thumb|[[Banana Pi BPI-M4 Zero]] with Allwinner H618 chip]]<br />
[[File:BPI-M2_zero_11.JPG|thumb|[[Banana Pi BPI-M2 ZERO]] with Allwinner H3 chip]]<br />
[[File:Banana_Pi_BPI-M4_Berry_1.jpg|thumb|[[Banana Pi BPI-M4 Berry]] H618 design]]<br />
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5]] with S905x3 design]]<br />
<br />
=Introduction=<br />
[[File:M4-Zero780.jpg]]<br />
<br />
Banana Pi BPI-M4 Zero is the successor model of M2 Zero. It has a huge improvement in performance. The SOC is upgraded to H618 and the CPU frequency is increased by 25%. The memory is upgraded to DDR4, the capacity is quadrupled, and 8G eMMC is added. It supports 5G WiFi, and the USB interface has also been upgraded to type-C.<br />
<br />
It has same form factor and 40-pin connector as the Raspberry Pi Zero W, and it can fit most of the RPI Zero W cases and accessories.<br />
<br />
=Key Features=<br />
* Allwinner H618, Quad-core ARM Cortex™-A53 processor<br />
* ARM Mali G31 GPU<br />
* 2.4G/5G WIFI & Bluetooth 4.2<br />
* 2G LPDDR4 RAM<br />
* 8G eMMC flash memory<br />
* 1x USB2.0 Type-C OTG, 5V power supply<br />
* 1x USB2.0 Type-C<br />
* 1x miniHDMI 2.0a<br />
* 1x 24-pin FPC connector<br />
** 1x USB2.0<br />
** 1x 100Mbps Ethernet<br />
<br />
=Getting Start=<br />
*[[Getting Started with BPI-M4 Zero]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-M4_Zero_interface.jpg]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="2"| '''Hardware Specification of Banana pi BPI-M4 Zero'''<br />
|-<br />
| CPU || Allwinner H618, Quad-core ARM Cortex™-A53 processor, 64-bit, up to 1.5GHz<br />
|-<br />
| GPU ||ARM Mali G31 GPU<br />
|-<br />
| Memory || 2 GB LPDDR4 <br />
|-<br />
| Storage || 8G eMMC flash<br />
|-<br />
| SD card || MicroSD card slot, SDIO3.0<br />
|-<br />
| Wireless || 2.4G/5G WiFi and Bluetooth 4.2<br />
|-<br />
| HDMI || 1x miniHDMI 2.0a (up to 4K@60Hz with HDR10, CEC, DDC, SCDC), HDMI digital Audio output<br />
|-<br />
| USB || 1x USB2.0 Type-C HOST, 1x USB2.0 Type-C OTG<br />
|-<br />
| rowspan="2" | 40-pin header<br />
| 28 pins GPIO and Power (+5V, +3.3V and GND)<br />
|-<br />
| UART, SPI, TWI/I²C, PWM, PCM/I²S<br />
|-<br />
| rowspan="2" | 24-pin FPC<br />
| 0.5mm pitch FPC connector, 1x USB2.0, 1x IR, 1x 100Mbps Ethernet<br />
|-<br />
| 9 pins GPIO, UART,TWI/I²C, PWM, PCM/I²S<br />
|-<br />
|Buttons|| Reset, FEL<br />
|-<br />
| LED || Power Status and Activity status<br />
|-<br />
| Power || 5V@3A via USB Type-C<br />
|-<br />
|Size || 65mm × 30mm<br />
|-<br />
|Weight || <br />
|}<br />
<br />
==PIN define ==<br />
<br />
===BPI-M4 Zero 40-pin header===<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''40-pin header define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
! ALT2<br />
! ALT3<br />
|-<br />
| 1<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 2<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 3<br />
| PG16<br />
| UART2_RX<br />
| <br />
| <br />
| TWI4_SDA<br />
|-<br />
| 4<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 5<br />
| PG15<br />
| UART2_TX<br />
| <br />
| <br />
| TWI4_SCK<br />
|-<br />
| 6<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 7<br />
| PG19<br />
| <br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 8<br />
| PG6<br />
| UART1_TX<br />
| <br />
| <br />
| <br />
|-<br />
| 9<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 10<br />
| PG7<br />
| UART1_RX<br />
| <br />
| <br />
| <br />
|-<br />
| 11<br />
| PH2<br />
| UART5_TX<br />
| <br />
| PWM2<br />
| <br />
|-<br />
| 12<br />
| PG11<br />
| H_I2S2_BCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 13<br />
| PH3<br />
| UART5_RX<br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 14<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 15<br />
| PG2<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 16<br />
| PG8<br />
| UART1_RTS<br />
| <br />
| <br />
| <br />
|-<br />
| 17<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 18<br />
| PG9<br />
| UART1_CTS<br />
| <br />
| <br />
| <br />
|-<br />
| 19<br />
| PH7<br />
| UART2_RTS<br />
| H_I2S3_LRCK<br />
| SPI1_MOSI<br />
| <br />
|-<br />
| 20<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 21<br />
| PH8<br />
| UART2_CTS<br />
| H_I2S3_DOUT0<br />
| SPI1_MISO<br />
| H_I2S3_DIN1<br />
|-<br />
| 22<br />
| PG1<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 23<br />
| PH6<br />
| UART2_RX<br />
| H_I2S3_BCLK<br />
| SPI1_CLK<br />
| <br />
|-<br />
| 24<br />
| PH5<br />
| UART2_TX<br />
| H_I2S3_MCLK<br />
| SPI1_CS0<br />
| <br />
|-<br />
| 25<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 26<br />
| PH9<br />
| <br />
| H_I2S3_DIN0<br />
| SPI1_CS1<br />
| H_I2S3_DOUT1<br />
|-<br />
| 27<br />
| PG18<br />
| UART2_CTS<br />
| <br />
| <br />
| TWI3_SDA<br />
|-<br />
| 28<br />
| PG17<br />
| UART2_RTS<br />
| <br />
| <br />
| TWI3_SCK<br />
|-<br />
| 29<br />
| PG3<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 30<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 31<br />
| PG4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 32<br />
| PG0<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 33<br />
| PG5<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 34<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 35<br />
| PG12<br />
| H_I2S2_LRCK<br />
| <br />
| <br />
| <br />
|-<br />
| 36<br />
| PH4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 37<br />
| PG10<br />
| H_I2S2_MCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 38<br />
| PG14<br />
| H_I2S2_DIN0<br />
| H_I2S2_DOUT1<br />
| <br />
| <br />
|-<br />
| 39<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 40<br />
| PG13<br />
| H_I2S2_DOUT0<br />
| H_I2S2_DIN1<br />
| <br />
| style="text-align:left;" | <br />
|}<br />
=== 24-pin FPC ===<br />
<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''24-pin FPC define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
|-<br />
| 1<br />
| GND<br />
| <br />
| <br />
|-<br />
| 2<br />
| EPHY_RXN<br />
| <br />
|<br />
|-<br />
| 3<br />
| EPHY_RXP<br />
| <br />
|<br />
|-<br />
| 4<br />
| EPHY_TXN<br />
| <br />
|<br />
|-<br />
| 5<br />
| EPHY_TXP<br />
| <br />
| <br />
|-<br />
| 6<br />
| GND<br />
| <br />
|<br />
|-<br />
| 7<br />
| PI9<br />
| UART3_TX<br />
| TWI2_SCK<br />
|-<br />
| 8<br />
| PI10<br />
| UART3_RX<br />
| TWI2_SDA<br />
|-<br />
| 9<br />
| PI12<br />
| UART3_CTS<br />
| PWM2<br />
|-<br />
| 10<br />
| PI11<br />
| UART3_RTS<br />
| PWM1 <br />
|-<br />
| 11<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 12<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 13<br />
| PI4<br />
| H_I2S0_DIN0<br />
| H_I2S0_DOUT1<br />
|-<br />
| 14<br />
| PI3<br />
| H_I2S0_DOUT0<br />
| H_I2S0_DIN1<br />
|-<br />
| 15<br />
| PI2<br />
| H_I2S0_LRCK<br />
| <br />
|-<br />
| 16<br />
| PI1<br />
| H_I2S0_BCLK<br />
| <br />
|-<br />
| 17<br />
| PI0<br />
| H_I2S0_MCLK<br />
| <br />
|-<br />
| 18<br />
| GND<br />
| <br />
| <br />
|-<br />
| 19<br />
| PH10<br />
| IR_RX<br />
| <br />
|-<br />
| 20<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 21<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 22<br />
| USB2_DP<br />
| <br />
| <br />
|-<br />
| 23<br />
| USB2_DM<br />
| <br />
| <br />
|-<br />
| 24<br />
| GND<br />
| <br />
| <br />
|-<br />
|}<br />
<br />
===BPI-M4 Zero Debug UART===<br />
{| class="wikitable"<br />
|-<br />
| 1 || GND<br />
|-<br />
| 2 || UART0_RX<br />
|-<br />
| 3 || UART0_TX<br />
|-<br />
|}<br />
<br />
=Development=<br />
==Source code==<br />
<br />
*u-boot for H618 : https://github.com/BPI-SINOVOIP/pi-u-boot/tree/v2021.07-sunxi<br />
*kernel for H618 : https://github.com/BPI-SINOVOIP/pi-linux/tree/pi-6.1-sunxi<br />
*BPI-H618-Android12-Code<br />
:Baidu Cloud: https://pan.baidu.com/s/1yMlLXauxZywujH8WkYqEcQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1qQxQik4GJjOF1aEOs9a1YVFxJBPlyFnc?usp=sharing<br />
<br />
== Resources==<br />
*BPI-M4 ZERO Hardware introduction video: https://www.youtube.com/watch?v=23J_TfsB480<br />
<br />
*BPI-M4 Zero DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1Mjpa8V_rm9S_advARWvzKA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1HBTiiMwU5mz2ogGsBUwHz2idkqJpXCNB/view?usp=sharing<br />
<br />
*BPI-M4 ZERO Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1KPAf3tz_-h-9PWv-6VcAJg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1WUFn_GItB6fBIt0C-ejdyu3FwznuGmCr/view?usp=sharing<br />
<br />
*BPI-M4 Zero SBC bench test: <br />
<br />
*Allwinner H618 Datasheet<br />
:Baidu Cloud: https://pan.baidu.com/s/10Rk4xLMOhIkk-gIoQx9DQw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1N6oWF9PHTcxXC1JY4x3Malr3twFv2wWZ/view?usp=sharing<br />
<br />
=System image=<br />
<br />
==Android==<br />
*2024-01-14-bananapi-m4zero-android12-box.img.<br />
:Baidu Cloud: https://pan.baidu.com/s/1HRiOLLBwdrLehv_z2sksfA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/15XDTLd5VqZxfgmv7tlqDBHrgOGvaBofU?usp=sharing<br />
<br />
*2024-01-14-bananapi-m4zero-android12<br />
:Baidu Cloud: https://pan.baidu.com/s/1rNXZc_OKJHyUVOPXtCixcQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/18ZvhcAMIOWyAZxHcxNGJmKVjZidYqGtW?usp=sharing<br />
<br />
==Linux==<br />
===Debian===<br />
<br />
*20240315_Bpi-m4zero_1.0.1_debian11_bullseye_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1mkjxqcDDyDXDQ-ZJ_7Dcag?pwd=8888(pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1RyIC-1AsVUk9i8aL6c37uDcB3VIBQJwk/view?usp=sharing<br />
<br />
*20240315_Bpi-m4zero_1.0.1_debian11_bullseye_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1x2ByNdQJHRxRxRIo5Ui1lA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/19BjUfWAH8pQdVtxN1Ow6QERlSm5o5g5e/view?usp=sharing<br />
<br />
===Ubuntu===<br />
*20240314-Bpi-m4zero_1.0.1_ubuntu24.04_jammy_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1GigN7INJarQnqJL5pQNK4g?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1AhQqo54W4QOS36ek9lxoMnewk0F5nIoX/view?usp=sharing<br />
<br />
*20240314-Bpi-m4zero_1.0.1_ubuntu24.04_jammy_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1nV6AJUayGSmLsUhIrMq9IQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1CttN-hCD1PWImalYPh8QuxWsa2BPEyz-/view?usp=sharing<br />
<br />
=Easy to buy=<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006325178305.html<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006325280213.html<br />
:Taobao Shop: https://item.taobao.com/item.htm?spm=a21dvs.23580594.0.0.4fee3d0dOP5VBH&ft=t&id=754939469582<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M4_Zero&diff=17132
Banana Pi BPI-M4 Zero
2024-03-15T03:41:05Z
<p>Sinovoip: /* Debian */</p>
<hr />
<div>[[zh:香蕉派_BPI-M4_Zero]] <br />
<br />
[[File: Banana_Pi_BPI-M4_Zero_1.jpg|thumb|[[Banana Pi BPI-M4 Zero]] with Allwinner H618 chip]]<br />
[[File:BPI-M2_zero_11.JPG|thumb|[[Banana Pi BPI-M2 ZERO]] with Allwinner H3 chip]]<br />
[[File:Banana_Pi_BPI-M4_Berry_1.jpg|thumb|[[Banana Pi BPI-M4 Berry]] H618 design]]<br />
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5]] with S905x3 design]]<br />
<br />
=Introduction=<br />
[[File:M4-Zero780.jpg]]<br />
<br />
Banana Pi BPI-M4 Zero is the successor model of M2 Zero. It has a huge improvement in performance. The SOC is upgraded to H618 and the CPU frequency is increased by 25%. The memory is upgraded to DDR4, the capacity is quadrupled, and 8G eMMC is added. It supports 5G WiFi, and the USB interface has also been upgraded to type-C.<br />
<br />
It has same form factor and 40-pin connector as the Raspberry Pi Zero W, and it can fit most of the RPI Zero W cases and accessories.<br />
<br />
=Key Features=<br />
* Allwinner H618, Quad-core ARM Cortex™-A53 processor<br />
* ARM Mali G31 GPU<br />
* 2.4G/5G WIFI & Bluetooth 4.2<br />
* 2G LPDDR4 RAM<br />
* 8G eMMC flash memory<br />
* 1x USB2.0 Type-C OTG, 5V power supply<br />
* 1x USB2.0 Type-C<br />
* 1x miniHDMI 2.0a<br />
* 1x 24-pin FPC connector<br />
** 1x USB2.0<br />
** 1x 100Mbps Ethernet<br />
<br />
=Getting Start=<br />
*[[Getting Started with BPI-M4 Zero]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-M4_Zero_interface.jpg]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="2"| '''Hardware Specification of Banana pi BPI-M4 Zero'''<br />
|-<br />
| CPU || Allwinner H618, Quad-core ARM Cortex™-A53 processor, 64-bit, up to 1.5GHz<br />
|-<br />
| GPU ||ARM Mali G31 GPU<br />
|-<br />
| Memory || 2 GB LPDDR4 <br />
|-<br />
| Storage || 8G eMMC flash<br />
|-<br />
| SD card || MicroSD card slot, SDIO3.0<br />
|-<br />
| Wireless || 2.4G/5G WiFi and Bluetooth 4.2<br />
|-<br />
| HDMI || 1x miniHDMI 2.0a (up to 4K@60Hz with HDR10, CEC, DDC, SCDC), HDMI digital Audio output<br />
|-<br />
| USB || 1x USB2.0 Type-C HOST, 1x USB2.0 Type-C OTG<br />
|-<br />
| rowspan="2" | 40-pin header<br />
| 28 pins GPIO and Power (+5V, +3.3V and GND)<br />
|-<br />
| UART, SPI, TWI/I²C, PWM, PCM/I²S<br />
|-<br />
| rowspan="2" | 24-pin FPC<br />
| 0.5mm pitch FPC connector, 1x USB2.0, 1x IR, 1x 100Mbps Ethernet<br />
|-<br />
| 9 pins GPIO, UART,TWI/I²C, PWM, PCM/I²S<br />
|-<br />
|Buttons|| Reset, FEL<br />
|-<br />
| LED || Power Status and Activity status<br />
|-<br />
| Power || 5V@3A via USB Type-C<br />
|-<br />
|Size || 65mm × 30mm<br />
|-<br />
|Weight || <br />
|}<br />
<br />
==PIN define ==<br />
<br />
===BPI-M4 Zero 40-pin header===<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''40-pin header define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
! ALT2<br />
! ALT3<br />
|-<br />
| 1<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 2<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 3<br />
| PG16<br />
| UART2_RX<br />
| <br />
| <br />
| TWI4_SDA<br />
|-<br />
| 4<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 5<br />
| PG15<br />
| UART2_TX<br />
| <br />
| <br />
| TWI4_SCK<br />
|-<br />
| 6<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 7<br />
| PG19<br />
| <br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 8<br />
| PG6<br />
| UART1_TX<br />
| <br />
| <br />
| <br />
|-<br />
| 9<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 10<br />
| PG7<br />
| UART1_RX<br />
| <br />
| <br />
| <br />
|-<br />
| 11<br />
| PH2<br />
| UART5_TX<br />
| <br />
| PWM2<br />
| <br />
|-<br />
| 12<br />
| PG11<br />
| H_I2S2_BCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 13<br />
| PH3<br />
| UART5_RX<br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 14<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 15<br />
| PG2<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 16<br />
| PG8<br />
| UART1_RTS<br />
| <br />
| <br />
| <br />
|-<br />
| 17<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 18<br />
| PG9<br />
| UART1_CTS<br />
| <br />
| <br />
| <br />
|-<br />
| 19<br />
| PH7<br />
| UART2_RTS<br />
| H_I2S3_LRCK<br />
| SPI1_MOSI<br />
| <br />
|-<br />
| 20<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 21<br />
| PH8<br />
| UART2_CTS<br />
| H_I2S3_DOUT0<br />
| SPI1_MISO<br />
| H_I2S3_DIN1<br />
|-<br />
| 22<br />
| PG1<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 23<br />
| PH6<br />
| UART2_RX<br />
| H_I2S3_BCLK<br />
| SPI1_CLK<br />
| <br />
|-<br />
| 24<br />
| PH5<br />
| UART2_TX<br />
| H_I2S3_MCLK<br />
| SPI1_CS0<br />
| <br />
|-<br />
| 25<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 26<br />
| PH9<br />
| <br />
| H_I2S3_DIN0<br />
| SPI1_CS1<br />
| H_I2S3_DOUT1<br />
|-<br />
| 27<br />
| PG18<br />
| UART2_CTS<br />
| <br />
| <br />
| TWI3_SDA<br />
|-<br />
| 28<br />
| PG17<br />
| UART2_RTS<br />
| <br />
| <br />
| TWI3_SCK<br />
|-<br />
| 29<br />
| PG3<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 30<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 31<br />
| PG4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 32<br />
| PG0<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 33<br />
| PG5<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 34<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 35<br />
| PG12<br />
| H_I2S2_LRCK<br />
| <br />
| <br />
| <br />
|-<br />
| 36<br />
| PH4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 37<br />
| PG10<br />
| H_I2S2_MCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 38<br />
| PG14<br />
| H_I2S2_DIN0<br />
| H_I2S2_DOUT1<br />
| <br />
| <br />
|-<br />
| 39<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 40<br />
| PG13<br />
| H_I2S2_DOUT0<br />
| H_I2S2_DIN1<br />
| <br />
| style="text-align:left;" | <br />
|}<br />
=== 24-pin FPC ===<br />
<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''24-pin FPC define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
|-<br />
| 1<br />
| GND<br />
| <br />
| <br />
|-<br />
| 2<br />
| EPHY_RXN<br />
| <br />
|<br />
|-<br />
| 3<br />
| EPHY_RXP<br />
| <br />
|<br />
|-<br />
| 4<br />
| EPHY_TXN<br />
| <br />
|<br />
|-<br />
| 5<br />
| EPHY_TXP<br />
| <br />
| <br />
|-<br />
| 6<br />
| GND<br />
| <br />
|<br />
|-<br />
| 7<br />
| PI9<br />
| UART3_TX<br />
| TWI2_SCK<br />
|-<br />
| 8<br />
| PI10<br />
| UART3_RX<br />
| TWI2_SDA<br />
|-<br />
| 9<br />
| PI12<br />
| UART3_CTS<br />
| PWM2<br />
|-<br />
| 10<br />
| PI11<br />
| UART3_RTS<br />
| PWM1 <br />
|-<br />
| 11<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 12<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 13<br />
| PI4<br />
| H_I2S0_DIN0<br />
| H_I2S0_DOUT1<br />
|-<br />
| 14<br />
| PI3<br />
| H_I2S0_DOUT0<br />
| H_I2S0_DIN1<br />
|-<br />
| 15<br />
| PI2<br />
| H_I2S0_LRCK<br />
| <br />
|-<br />
| 16<br />
| PI1<br />
| H_I2S0_BCLK<br />
| <br />
|-<br />
| 17<br />
| PI0<br />
| H_I2S0_MCLK<br />
| <br />
|-<br />
| 18<br />
| GND<br />
| <br />
| <br />
|-<br />
| 19<br />
| PH10<br />
| IR_RX<br />
| <br />
|-<br />
| 20<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 21<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 22<br />
| USB2_DP<br />
| <br />
| <br />
|-<br />
| 23<br />
| USB2_DM<br />
| <br />
| <br />
|-<br />
| 24<br />
| GND<br />
| <br />
| <br />
|-<br />
|}<br />
<br />
===BPI-M4 Zero Debug UART===<br />
{| class="wikitable"<br />
|-<br />
| 1 || GND<br />
|-<br />
| 2 || UART0_RX<br />
|-<br />
| 3 || UART0_TX<br />
|-<br />
|}<br />
<br />
=Development=<br />
==Source code==<br />
<br />
*u-boot for H618 : https://github.com/BPI-SINOVOIP/pi-u-boot/tree/v2021.07-sunxi<br />
*kernel for H618 : https://github.com/BPI-SINOVOIP/pi-linux/tree/pi-6.1-sunxi<br />
*BPI-H618-Android12-Code<br />
:Baidu Cloud: https://pan.baidu.com/s/1yMlLXauxZywujH8WkYqEcQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1qQxQik4GJjOF1aEOs9a1YVFxJBPlyFnc?usp=sharing<br />
<br />
== Resources==<br />
*BPI-M4 ZERO Hardware introduction video: https://www.youtube.com/watch?v=23J_TfsB480<br />
<br />
*BPI-M4 Zero DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1Mjpa8V_rm9S_advARWvzKA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1HBTiiMwU5mz2ogGsBUwHz2idkqJpXCNB/view?usp=sharing<br />
<br />
*BPI-M4 ZERO Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1KPAf3tz_-h-9PWv-6VcAJg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1WUFn_GItB6fBIt0C-ejdyu3FwznuGmCr/view?usp=sharing<br />
<br />
*BPI-M4 Zero SBC bench test: <br />
<br />
*Allwinner H618 Datasheet<br />
:Baidu Cloud: https://pan.baidu.com/s/10Rk4xLMOhIkk-gIoQx9DQw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1N6oWF9PHTcxXC1JY4x3Malr3twFv2wWZ/view?usp=sharing<br />
<br />
=System image=<br />
<br />
==Android==<br />
*2024-01-14-bananapi-m4zero-android12-box.img.<br />
:Baidu Cloud: https://pan.baidu.com/s/1HRiOLLBwdrLehv_z2sksfA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/15XDTLd5VqZxfgmv7tlqDBHrgOGvaBofU?usp=sharing<br />
<br />
*2024-01-14-bananapi-m4zero-android12<br />
:Baidu Cloud: https://pan.baidu.com/s/1rNXZc_OKJHyUVOPXtCixcQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/18ZvhcAMIOWyAZxHcxNGJmKVjZidYqGtW?usp=sharing<br />
<br />
==Linux==<br />
===Debian===<br />
<br />
*2023-12-22 Bpi-m4zero_1.0.0_debian11_bullseye_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/14C0ZLAWOIKm2YWw7nE_rwA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/193htdDchcB402yX6FQrFDEAMO3Twj5P0/view?usp=sharing<br />
<br />
*2023-12-22 Bpi-m4zero_1.0.0_debian11_bullseye_minimal_linux6.1.31<br />
:Baidu Cloud:https://pan.baidu.com/s/1DJ178an-NJ8jM-yWrfv00g?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1OlwMHLo_gYeXbbuH0iGPvBe2ey6yss5R/view?usp=sharing<br />
<br />
*20240315_Bpi-m4zero_1.0.1_debian11_bullseye_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1mkjxqcDDyDXDQ-ZJ_7Dcag?pwd=8888(pincode:8888)<br />
:Google Drive: <br />
<br />
*20240315_Bpi-m4zero_1.0.1_debian11_bullseye_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1x2ByNdQJHRxRxRIo5Ui1lA?pwd=8888 (pincode:8888)<br />
:Google Drive:<br />
<br />
===Ubuntu===<br />
*20240314-Bpi-m4zero_1.0.1_ubuntu24.04_jammy_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1GigN7INJarQnqJL5pQNK4g?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1AhQqo54W4QOS36ek9lxoMnewk0F5nIoX/view?usp=sharing<br />
<br />
*20240314-Bpi-m4zero_1.0.1_ubuntu24.04_jammy_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1nV6AJUayGSmLsUhIrMq9IQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1CttN-hCD1PWImalYPh8QuxWsa2BPEyz-/view?usp=sharing<br />
<br />
=Easy to buy=<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006325178305.html<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006325280213.html<br />
:Taobao Shop: https://item.taobao.com/item.htm?spm=a21dvs.23580594.0.0.4fee3d0dOP5VBH&ft=t&id=754939469582<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M4_Zero&diff=17131
Banana Pi BPI-M4 Zero
2024-03-15T03:40:53Z
<p>Sinovoip: /* Debian */</p>
<hr />
<div>[[zh:香蕉派_BPI-M4_Zero]] <br />
<br />
[[File: Banana_Pi_BPI-M4_Zero_1.jpg|thumb|[[Banana Pi BPI-M4 Zero]] with Allwinner H618 chip]]<br />
[[File:BPI-M2_zero_11.JPG|thumb|[[Banana Pi BPI-M2 ZERO]] with Allwinner H3 chip]]<br />
[[File:Banana_Pi_BPI-M4_Berry_1.jpg|thumb|[[Banana Pi BPI-M4 Berry]] H618 design]]<br />
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5]] with S905x3 design]]<br />
<br />
=Introduction=<br />
[[File:M4-Zero780.jpg]]<br />
<br />
Banana Pi BPI-M4 Zero is the successor model of M2 Zero. It has a huge improvement in performance. The SOC is upgraded to H618 and the CPU frequency is increased by 25%. The memory is upgraded to DDR4, the capacity is quadrupled, and 8G eMMC is added. It supports 5G WiFi, and the USB interface has also been upgraded to type-C.<br />
<br />
It has same form factor and 40-pin connector as the Raspberry Pi Zero W, and it can fit most of the RPI Zero W cases and accessories.<br />
<br />
=Key Features=<br />
* Allwinner H618, Quad-core ARM Cortex™-A53 processor<br />
* ARM Mali G31 GPU<br />
* 2.4G/5G WIFI & Bluetooth 4.2<br />
* 2G LPDDR4 RAM<br />
* 8G eMMC flash memory<br />
* 1x USB2.0 Type-C OTG, 5V power supply<br />
* 1x USB2.0 Type-C<br />
* 1x miniHDMI 2.0a<br />
* 1x 24-pin FPC connector<br />
** 1x USB2.0<br />
** 1x 100Mbps Ethernet<br />
<br />
=Getting Start=<br />
*[[Getting Started with BPI-M4 Zero]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-M4_Zero_interface.jpg]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="2"| '''Hardware Specification of Banana pi BPI-M4 Zero'''<br />
|-<br />
| CPU || Allwinner H618, Quad-core ARM Cortex™-A53 processor, 64-bit, up to 1.5GHz<br />
|-<br />
| GPU ||ARM Mali G31 GPU<br />
|-<br />
| Memory || 2 GB LPDDR4 <br />
|-<br />
| Storage || 8G eMMC flash<br />
|-<br />
| SD card || MicroSD card slot, SDIO3.0<br />
|-<br />
| Wireless || 2.4G/5G WiFi and Bluetooth 4.2<br />
|-<br />
| HDMI || 1x miniHDMI 2.0a (up to 4K@60Hz with HDR10, CEC, DDC, SCDC), HDMI digital Audio output<br />
|-<br />
| USB || 1x USB2.0 Type-C HOST, 1x USB2.0 Type-C OTG<br />
|-<br />
| rowspan="2" | 40-pin header<br />
| 28 pins GPIO and Power (+5V, +3.3V and GND)<br />
|-<br />
| UART, SPI, TWI/I²C, PWM, PCM/I²S<br />
|-<br />
| rowspan="2" | 24-pin FPC<br />
| 0.5mm pitch FPC connector, 1x USB2.0, 1x IR, 1x 100Mbps Ethernet<br />
|-<br />
| 9 pins GPIO, UART,TWI/I²C, PWM, PCM/I²S<br />
|-<br />
|Buttons|| Reset, FEL<br />
|-<br />
| LED || Power Status and Activity status<br />
|-<br />
| Power || 5V@3A via USB Type-C<br />
|-<br />
|Size || 65mm × 30mm<br />
|-<br />
|Weight || <br />
|}<br />
<br />
==PIN define ==<br />
<br />
===BPI-M4 Zero 40-pin header===<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''40-pin header define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
! ALT2<br />
! ALT3<br />
|-<br />
| 1<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 2<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 3<br />
| PG16<br />
| UART2_RX<br />
| <br />
| <br />
| TWI4_SDA<br />
|-<br />
| 4<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 5<br />
| PG15<br />
| UART2_TX<br />
| <br />
| <br />
| TWI4_SCK<br />
|-<br />
| 6<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 7<br />
| PG19<br />
| <br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 8<br />
| PG6<br />
| UART1_TX<br />
| <br />
| <br />
| <br />
|-<br />
| 9<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 10<br />
| PG7<br />
| UART1_RX<br />
| <br />
| <br />
| <br />
|-<br />
| 11<br />
| PH2<br />
| UART5_TX<br />
| <br />
| PWM2<br />
| <br />
|-<br />
| 12<br />
| PG11<br />
| H_I2S2_BCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 13<br />
| PH3<br />
| UART5_RX<br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 14<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 15<br />
| PG2<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 16<br />
| PG8<br />
| UART1_RTS<br />
| <br />
| <br />
| <br />
|-<br />
| 17<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 18<br />
| PG9<br />
| UART1_CTS<br />
| <br />
| <br />
| <br />
|-<br />
| 19<br />
| PH7<br />
| UART2_RTS<br />
| H_I2S3_LRCK<br />
| SPI1_MOSI<br />
| <br />
|-<br />
| 20<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 21<br />
| PH8<br />
| UART2_CTS<br />
| H_I2S3_DOUT0<br />
| SPI1_MISO<br />
| H_I2S3_DIN1<br />
|-<br />
| 22<br />
| PG1<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 23<br />
| PH6<br />
| UART2_RX<br />
| H_I2S3_BCLK<br />
| SPI1_CLK<br />
| <br />
|-<br />
| 24<br />
| PH5<br />
| UART2_TX<br />
| H_I2S3_MCLK<br />
| SPI1_CS0<br />
| <br />
|-<br />
| 25<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 26<br />
| PH9<br />
| <br />
| H_I2S3_DIN0<br />
| SPI1_CS1<br />
| H_I2S3_DOUT1<br />
|-<br />
| 27<br />
| PG18<br />
| UART2_CTS<br />
| <br />
| <br />
| TWI3_SDA<br />
|-<br />
| 28<br />
| PG17<br />
| UART2_RTS<br />
| <br />
| <br />
| TWI3_SCK<br />
|-<br />
| 29<br />
| PG3<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 30<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 31<br />
| PG4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 32<br />
| PG0<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 33<br />
| PG5<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 34<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 35<br />
| PG12<br />
| H_I2S2_LRCK<br />
| <br />
| <br />
| <br />
|-<br />
| 36<br />
| PH4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 37<br />
| PG10<br />
| H_I2S2_MCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 38<br />
| PG14<br />
| H_I2S2_DIN0<br />
| H_I2S2_DOUT1<br />
| <br />
| <br />
|-<br />
| 39<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 40<br />
| PG13<br />
| H_I2S2_DOUT0<br />
| H_I2S2_DIN1<br />
| <br />
| style="text-align:left;" | <br />
|}<br />
=== 24-pin FPC ===<br />
<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''24-pin FPC define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
|-<br />
| 1<br />
| GND<br />
| <br />
| <br />
|-<br />
| 2<br />
| EPHY_RXN<br />
| <br />
|<br />
|-<br />
| 3<br />
| EPHY_RXP<br />
| <br />
|<br />
|-<br />
| 4<br />
| EPHY_TXN<br />
| <br />
|<br />
|-<br />
| 5<br />
| EPHY_TXP<br />
| <br />
| <br />
|-<br />
| 6<br />
| GND<br />
| <br />
|<br />
|-<br />
| 7<br />
| PI9<br />
| UART3_TX<br />
| TWI2_SCK<br />
|-<br />
| 8<br />
| PI10<br />
| UART3_RX<br />
| TWI2_SDA<br />
|-<br />
| 9<br />
| PI12<br />
| UART3_CTS<br />
| PWM2<br />
|-<br />
| 10<br />
| PI11<br />
| UART3_RTS<br />
| PWM1 <br />
|-<br />
| 11<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 12<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 13<br />
| PI4<br />
| H_I2S0_DIN0<br />
| H_I2S0_DOUT1<br />
|-<br />
| 14<br />
| PI3<br />
| H_I2S0_DOUT0<br />
| H_I2S0_DIN1<br />
|-<br />
| 15<br />
| PI2<br />
| H_I2S0_LRCK<br />
| <br />
|-<br />
| 16<br />
| PI1<br />
| H_I2S0_BCLK<br />
| <br />
|-<br />
| 17<br />
| PI0<br />
| H_I2S0_MCLK<br />
| <br />
|-<br />
| 18<br />
| GND<br />
| <br />
| <br />
|-<br />
| 19<br />
| PH10<br />
| IR_RX<br />
| <br />
|-<br />
| 20<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 21<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 22<br />
| USB2_DP<br />
| <br />
| <br />
|-<br />
| 23<br />
| USB2_DM<br />
| <br />
| <br />
|-<br />
| 24<br />
| GND<br />
| <br />
| <br />
|-<br />
|}<br />
<br />
===BPI-M4 Zero Debug UART===<br />
{| class="wikitable"<br />
|-<br />
| 1 || GND<br />
|-<br />
| 2 || UART0_RX<br />
|-<br />
| 3 || UART0_TX<br />
|-<br />
|}<br />
<br />
=Development=<br />
==Source code==<br />
<br />
*u-boot for H618 : https://github.com/BPI-SINOVOIP/pi-u-boot/tree/v2021.07-sunxi<br />
*kernel for H618 : https://github.com/BPI-SINOVOIP/pi-linux/tree/pi-6.1-sunxi<br />
*BPI-H618-Android12-Code<br />
:Baidu Cloud: https://pan.baidu.com/s/1yMlLXauxZywujH8WkYqEcQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1qQxQik4GJjOF1aEOs9a1YVFxJBPlyFnc?usp=sharing<br />
<br />
== Resources==<br />
*BPI-M4 ZERO Hardware introduction video: https://www.youtube.com/watch?v=23J_TfsB480<br />
<br />
*BPI-M4 Zero DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1Mjpa8V_rm9S_advARWvzKA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1HBTiiMwU5mz2ogGsBUwHz2idkqJpXCNB/view?usp=sharing<br />
<br />
*BPI-M4 ZERO Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1KPAf3tz_-h-9PWv-6VcAJg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1WUFn_GItB6fBIt0C-ejdyu3FwznuGmCr/view?usp=sharing<br />
<br />
*BPI-M4 Zero SBC bench test: <br />
<br />
*Allwinner H618 Datasheet<br />
:Baidu Cloud: https://pan.baidu.com/s/10Rk4xLMOhIkk-gIoQx9DQw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1N6oWF9PHTcxXC1JY4x3Malr3twFv2wWZ/view?usp=sharing<br />
<br />
=System image=<br />
<br />
==Android==<br />
*2024-01-14-bananapi-m4zero-android12-box.img.<br />
:Baidu Cloud: https://pan.baidu.com/s/1HRiOLLBwdrLehv_z2sksfA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/15XDTLd5VqZxfgmv7tlqDBHrgOGvaBofU?usp=sharing<br />
<br />
*2024-01-14-bananapi-m4zero-android12<br />
:Baidu Cloud: https://pan.baidu.com/s/1rNXZc_OKJHyUVOPXtCixcQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/18ZvhcAMIOWyAZxHcxNGJmKVjZidYqGtW?usp=sharing<br />
<br />
==Linux==<br />
===Debian===<br />
<br />
*2023-12-22 Bpi-m4zero_1.0.0_debian11_bullseye_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/14C0ZLAWOIKm2YWw7nE_rwA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/193htdDchcB402yX6FQrFDEAMO3Twj5P0/view?usp=sharing<br />
<br />
*2023-12-22 Bpi-m4zero_1.0.0_debian11_bullseye_minimal_linux6.1.31<br />
:Baidu Cloud:https://pan.baidu.com/s/1DJ178an-NJ8jM-yWrfv00g?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1OlwMHLo_gYeXbbuH0iGPvBe2ey6yss5R/view?usp=sharing<br />
<br />
*:20240315_Bpi-m4zero_1.0.1_debian11_bullseye_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1mkjxqcDDyDXDQ-ZJ_7Dcag?pwd=8888(pincode:8888)<br />
:Google Drive: <br />
<br />
*20240315_Bpi-m4zero_1.0.1_debian11_bullseye_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1x2ByNdQJHRxRxRIo5Ui1lA?pwd=8888 (pincode:8888)<br />
:Google Drive:<br />
<br />
===Ubuntu===<br />
*20240314-Bpi-m4zero_1.0.1_ubuntu24.04_jammy_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1GigN7INJarQnqJL5pQNK4g?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1AhQqo54W4QOS36ek9lxoMnewk0F5nIoX/view?usp=sharing<br />
<br />
*20240314-Bpi-m4zero_1.0.1_ubuntu24.04_jammy_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1nV6AJUayGSmLsUhIrMq9IQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1CttN-hCD1PWImalYPh8QuxWsa2BPEyz-/view?usp=sharing<br />
<br />
=Easy to buy=<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006325178305.html<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006325280213.html<br />
:Taobao Shop: https://item.taobao.com/item.htm?spm=a21dvs.23580594.0.0.4fee3d0dOP5VBH&ft=t&id=754939469582<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M4_Zero&diff=17129
Banana Pi BPI-M4 Zero
2024-03-14T10:11:40Z
<p>Sinovoip: /* Linux */</p>
<hr />
<div>[[zh:香蕉派_BPI-M4_Zero]] <br />
<br />
[[File: Banana_Pi_BPI-M4_Zero_1.jpg|thumb|[[Banana Pi BPI-M4 Zero]] with Allwinner H618 chip]]<br />
[[File:BPI-M2_zero_11.JPG|thumb|[[Banana Pi BPI-M2 ZERO]] with Allwinner H3 chip]]<br />
[[File:Banana_Pi_BPI-M4_Berry_1.jpg|thumb|[[Banana Pi BPI-M4 Berry]] H618 design]]<br />
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5]] with S905x3 design]]<br />
<br />
=Introduction=<br />
[[File:M4-Zero780.jpg]]<br />
<br />
Banana Pi BPI-M4 Zero is the successor model of M2 Zero. It has a huge improvement in performance. The SOC is upgraded to H618 and the CPU frequency is increased by 25%. The memory is upgraded to DDR4, the capacity is quadrupled, and 8G eMMC is added. It supports 5G WiFi, and the USB interface has also been upgraded to type-C.<br />
<br />
It has same form factor and 40-pin connector as the Raspberry Pi Zero W, and it can fit most of the RPI Zero W cases and accessories.<br />
<br />
=Key Features=<br />
* Allwinner H618, Quad-core ARM Cortex™-A53 processor<br />
* ARM Mali G31 GPU<br />
* 2.4G/5G WIFI & Bluetooth 4.2<br />
* 2G LPDDR4 RAM<br />
* 8G eMMC flash memory<br />
* 1x USB2.0 Type-C OTG, 5V power supply<br />
* 1x USB2.0 Type-C<br />
* 1x miniHDMI 2.0a<br />
* 1x 24-pin FPC connector<br />
** 1x USB2.0<br />
** 1x 100Mbps Ethernet<br />
<br />
=Getting Start=<br />
*[[Getting Started with BPI-M4 Zero]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-M4_Zero_interface.jpg]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="2"| '''Hardware Specification of Banana pi BPI-M4 Zero'''<br />
|-<br />
| CPU || Allwinner H618, Quad-core ARM Cortex™-A53 processor, 64-bit, up to 1.5GHz<br />
|-<br />
| GPU ||ARM Mali G31 GPU<br />
|-<br />
| Memory || 2 GB LPDDR4 <br />
|-<br />
| Storage || 8G eMMC flash<br />
|-<br />
| SD card || MicroSD card slot, SDIO3.0<br />
|-<br />
| Wireless || 2.4G/5G WiFi and Bluetooth 4.2<br />
|-<br />
| HDMI || 1x miniHDMI 2.0a (up to 4K@60Hz with HDR10, CEC, DDC, SCDC), HDMI digital Audio output<br />
|-<br />
| USB || 1x USB2.0 Type-C HOST, 1x USB2.0 Type-C OTG<br />
|-<br />
| rowspan="2" | 40-pin header<br />
| 28 pins GPIO and Power (+5V, +3.3V and GND)<br />
|-<br />
| UART, SPI, TWI/I²C, PWM, PCM/I²S<br />
|-<br />
| rowspan="2" | 24-pin FPC<br />
| 0.5mm pitch FPC connector, 1x USB2.0, 1x IR, 1x 100Mbps Ethernet<br />
|-<br />
| 9 pins GPIO, UART,TWI/I²C, PWM, PCM/I²S<br />
|-<br />
|Buttons|| Reset, FEL<br />
|-<br />
| LED || Power Status and Activity status<br />
|-<br />
| Power || 5V@3A via USB Type-C<br />
|-<br />
|Size || 65mm × 30mm<br />
|-<br />
|Weight || <br />
|}<br />
<br />
==PIN define ==<br />
<br />
===BPI-M4 Zero 40-pin header===<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''40-pin header define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
! ALT2<br />
! ALT3<br />
|-<br />
| 1<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 2<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 3<br />
| PG16<br />
| UART2_RX<br />
| <br />
| <br />
| TWI4_SDA<br />
|-<br />
| 4<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 5<br />
| PG15<br />
| UART2_TX<br />
| <br />
| <br />
| TWI4_SCK<br />
|-<br />
| 6<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 7<br />
| PG19<br />
| <br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 8<br />
| PG6<br />
| UART1_TX<br />
| <br />
| <br />
| <br />
|-<br />
| 9<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 10<br />
| PG7<br />
| UART1_RX<br />
| <br />
| <br />
| <br />
|-<br />
| 11<br />
| PH2<br />
| UART5_TX<br />
| <br />
| PWM2<br />
| <br />
|-<br />
| 12<br />
| PG11<br />
| H_I2S2_BCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 13<br />
| PH3<br />
| UART5_RX<br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 14<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 15<br />
| PG2<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 16<br />
| PG8<br />
| UART1_RTS<br />
| <br />
| <br />
| <br />
|-<br />
| 17<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 18<br />
| PG9<br />
| UART1_CTS<br />
| <br />
| <br />
| <br />
|-<br />
| 19<br />
| PH7<br />
| UART2_RTS<br />
| H_I2S3_LRCK<br />
| SPI1_MOSI<br />
| <br />
|-<br />
| 20<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 21<br />
| PH8<br />
| UART2_CTS<br />
| H_I2S3_DOUT0<br />
| SPI1_MISO<br />
| H_I2S3_DIN1<br />
|-<br />
| 22<br />
| PG1<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 23<br />
| PH6<br />
| UART2_RX<br />
| H_I2S3_BCLK<br />
| SPI1_CLK<br />
| <br />
|-<br />
| 24<br />
| PH5<br />
| UART2_TX<br />
| H_I2S3_MCLK<br />
| SPI1_CS0<br />
| <br />
|-<br />
| 25<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 26<br />
| PH9<br />
| <br />
| H_I2S3_DIN0<br />
| SPI1_CS1<br />
| H_I2S3_DOUT1<br />
|-<br />
| 27<br />
| PG18<br />
| UART2_CTS<br />
| <br />
| <br />
| TWI3_SDA<br />
|-<br />
| 28<br />
| PG17<br />
| UART2_RTS<br />
| <br />
| <br />
| TWI3_SCK<br />
|-<br />
| 29<br />
| PG3<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 30<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 31<br />
| PG4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 32<br />
| PG0<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 33<br />
| PG5<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 34<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 35<br />
| PG12<br />
| H_I2S2_LRCK<br />
| <br />
| <br />
| <br />
|-<br />
| 36<br />
| PH4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 37<br />
| PG10<br />
| H_I2S2_MCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 38<br />
| PG14<br />
| H_I2S2_DIN0<br />
| H_I2S2_DOUT1<br />
| <br />
| <br />
|-<br />
| 39<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 40<br />
| PG13<br />
| H_I2S2_DOUT0<br />
| H_I2S2_DIN1<br />
| <br />
| style="text-align:left;" | <br />
|}<br />
=== 24-pin FPC ===<br />
<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''24-pin FPC define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
|-<br />
| 1<br />
| GND<br />
| <br />
| <br />
|-<br />
| 2<br />
| EPHY_RXN<br />
| <br />
|<br />
|-<br />
| 3<br />
| EPHY_RXP<br />
| <br />
|<br />
|-<br />
| 4<br />
| EPHY_TXN<br />
| <br />
|<br />
|-<br />
| 5<br />
| EPHY_TXP<br />
| <br />
| <br />
|-<br />
| 6<br />
| GND<br />
| <br />
|<br />
|-<br />
| 7<br />
| PI9<br />
| UART3_TX<br />
| TWI2_SCK<br />
|-<br />
| 8<br />
| PI10<br />
| UART3_RX<br />
| TWI2_SDA<br />
|-<br />
| 9<br />
| PI12<br />
| UART3_CTS<br />
| PWM2<br />
|-<br />
| 10<br />
| PI11<br />
| UART3_RTS<br />
| PWM1 <br />
|-<br />
| 11<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 12<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 13<br />
| PI4<br />
| H_I2S0_DIN0<br />
| H_I2S0_DOUT1<br />
|-<br />
| 14<br />
| PI3<br />
| H_I2S0_DOUT0<br />
| H_I2S0_DIN1<br />
|-<br />
| 15<br />
| PI2<br />
| H_I2S0_LRCK<br />
| <br />
|-<br />
| 16<br />
| PI1<br />
| H_I2S0_BCLK<br />
| <br />
|-<br />
| 17<br />
| PI0<br />
| H_I2S0_MCLK<br />
| <br />
|-<br />
| 18<br />
| GND<br />
| <br />
| <br />
|-<br />
| 19<br />
| PH10<br />
| IR_RX<br />
| <br />
|-<br />
| 20<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 21<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 22<br />
| USB2_DP<br />
| <br />
| <br />
|-<br />
| 23<br />
| USB2_DM<br />
| <br />
| <br />
|-<br />
| 24<br />
| GND<br />
| <br />
| <br />
|-<br />
|}<br />
<br />
===BPI-M4 Zero Debug UART===<br />
{| class="wikitable"<br />
|-<br />
| 1 || GND<br />
|-<br />
| 2 || UART0_RX<br />
|-<br />
| 3 || UART0_TX<br />
|-<br />
|}<br />
<br />
=Development=<br />
==Source code==<br />
<br />
*u-boot for H618 : https://github.com/BPI-SINOVOIP/pi-u-boot/tree/v2021.07-sunxi<br />
*kernel for H618 : https://github.com/BPI-SINOVOIP/pi-linux/tree/pi-6.1-sunxi<br />
*BPI-H618-Android12-Code<br />
:Baidu Cloud: https://pan.baidu.com/s/1yMlLXauxZywujH8WkYqEcQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1qQxQik4GJjOF1aEOs9a1YVFxJBPlyFnc?usp=sharing<br />
<br />
== Resources==<br />
*BPI-M4 ZERO Hardware introduction video: https://www.youtube.com/watch?v=23J_TfsB480<br />
<br />
*BPI-M4 Zero DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1Mjpa8V_rm9S_advARWvzKA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1HBTiiMwU5mz2ogGsBUwHz2idkqJpXCNB/view?usp=sharing<br />
<br />
*BPI-M4 ZERO Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1KPAf3tz_-h-9PWv-6VcAJg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1WUFn_GItB6fBIt0C-ejdyu3FwznuGmCr/view?usp=sharing<br />
<br />
*BPI-M4 Zero SBC bench test: <br />
<br />
*Allwinner H618 Datasheet<br />
:Baidu Cloud: https://pan.baidu.com/s/10Rk4xLMOhIkk-gIoQx9DQw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1N6oWF9PHTcxXC1JY4x3Malr3twFv2wWZ/view?usp=sharing<br />
<br />
=System image=<br />
<br />
==Android==<br />
*2024-01-14-bananapi-m4zero-android12-box.img.<br />
:Baidu Cloud: https://pan.baidu.com/s/1HRiOLLBwdrLehv_z2sksfA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/15XDTLd5VqZxfgmv7tlqDBHrgOGvaBofU?usp=sharing<br />
<br />
*2024-01-14-bananapi-m4zero-android12<br />
:Baidu Cloud: https://pan.baidu.com/s/1rNXZc_OKJHyUVOPXtCixcQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/18ZvhcAMIOWyAZxHcxNGJmKVjZidYqGtW?usp=sharing<br />
<br />
==Linux==<br />
===Debian===<br />
*20240314-Bpi-m4zero_1.0.1_debian12_bookworm_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1m8MncsQkg0ADpJ3KkN_uoQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1OKrAm2fX8pLpiYM6GcQOIyNdcgQh9_bH/view?usp=sharing<br />
<br />
*20240314-Bpi-m4zero_1.0.1_debian12_bookworm_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1WCgi8J9rJEQrWdIe6iUiaw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1dNkG1sbh2EkKD9UUmUhT9LtdbfF3rT_c/view?usp=sharing<br />
<br />
*2023-12-22 Bpi-m4zero_1.0.0_debian11_bullseye_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/14C0ZLAWOIKm2YWw7nE_rwA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/193htdDchcB402yX6FQrFDEAMO3Twj5P0/view?usp=sharing<br />
<br />
*2023-12-22 Bpi-m4zero_1.0.0_debian11_bullseye_minimal_linux6.1.31<br />
:Baidu Cloud:https://pan.baidu.com/s/1DJ178an-NJ8jM-yWrfv00g?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1OlwMHLo_gYeXbbuH0iGPvBe2ey6yss5R/view?usp=sharing<br />
<br />
===Ubuntu===<br />
*20240314-Bpi-m4zero_1.0.1_ubuntu24.04_jammy_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1GigN7INJarQnqJL5pQNK4g?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1AhQqo54W4QOS36ek9lxoMnewk0F5nIoX/view?usp=sharing<br />
<br />
*20240314-Bpi-m4zero_1.0.1_ubuntu24.04_jammy_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1nV6AJUayGSmLsUhIrMq9IQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1CttN-hCD1PWImalYPh8QuxWsa2BPEyz-/view?usp=sharing<br />
<br />
=Easy to buy=<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006325178305.html<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006325280213.html<br />
:Taobao Shop: https://item.taobao.com/item.htm?spm=a21dvs.23580594.0.0.4fee3d0dOP5VBH&ft=t&id=754939469582<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M4_Zero&diff=17128
Banana Pi BPI-M4 Zero
2024-03-14T04:00:53Z
<p>Sinovoip: /* Ubuntu */</p>
<hr />
<div>[[zh:香蕉派_BPI-M4_Zero]] <br />
<br />
[[File: Banana_Pi_BPI-M4_Zero_1.jpg|thumb|[[Banana Pi BPI-M4 Zero]] with Allwinner H618 chip]]<br />
[[File:BPI-M2_zero_11.JPG|thumb|[[Banana Pi BPI-M2 ZERO]] with Allwinner H3 chip]]<br />
[[File:Banana_Pi_BPI-M4_Berry_1.jpg|thumb|[[Banana Pi BPI-M4 Berry]] H618 design]]<br />
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5]] with S905x3 design]]<br />
<br />
=Introduction=<br />
[[File:M4-Zero780.jpg]]<br />
<br />
Banana Pi BPI-M4 Zero is the successor model of M2 Zero. It has a huge improvement in performance. The SOC is upgraded to H618 and the CPU frequency is increased by 25%. The memory is upgraded to DDR4, the capacity is quadrupled, and 8G eMMC is added. It supports 5G WiFi, and the USB interface has also been upgraded to type-C.<br />
<br />
It has same form factor and 40-pin connector as the Raspberry Pi Zero W, and it can fit most of the RPI Zero W cases and accessories.<br />
<br />
=Key Features=<br />
* Allwinner H618, Quad-core ARM Cortex™-A53 processor<br />
* ARM Mali G31 GPU<br />
* 2.4G/5G WIFI & Bluetooth 4.2<br />
* 2G LPDDR4 RAM<br />
* 8G eMMC flash memory<br />
* 1x USB2.0 Type-C OTG, 5V power supply<br />
* 1x USB2.0 Type-C<br />
* 1x miniHDMI 2.0a<br />
* 1x 24-pin FPC connector<br />
** 1x USB2.0<br />
** 1x 100Mbps Ethernet<br />
<br />
=Getting Start=<br />
*[[Getting Started with BPI-M4 Zero]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-M4_Zero_interface.jpg]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="2"| '''Hardware Specification of Banana pi BPI-M4 Zero'''<br />
|-<br />
| CPU || Allwinner H618, Quad-core ARM Cortex™-A53 processor, 64-bit, up to 1.5GHz<br />
|-<br />
| GPU ||ARM Mali G31 GPU<br />
|-<br />
| Memory || 2 GB LPDDR4 <br />
|-<br />
| Storage || 8G eMMC flash<br />
|-<br />
| SD card || MicroSD card slot, SDIO3.0<br />
|-<br />
| Wireless || 2.4G/5G WiFi and Bluetooth 4.2<br />
|-<br />
| HDMI || 1x miniHDMI 2.0a (up to 4K@60Hz with HDR10, CEC, DDC, SCDC), HDMI digital Audio output<br />
|-<br />
| USB || 1x USB2.0 Type-C HOST, 1x USB2.0 Type-C OTG<br />
|-<br />
| rowspan="2" | 40-pin header<br />
| 28 pins GPIO and Power (+5V, +3.3V and GND)<br />
|-<br />
| UART, SPI, TWI/I²C, PWM, PCM/I²S<br />
|-<br />
| rowspan="2" | 24-pin FPC<br />
| 0.5mm pitch FPC connector, 1x USB2.0, 1x IR, 1x 100Mbps Ethernet<br />
|-<br />
| 9 pins GPIO, UART,TWI/I²C, PWM, PCM/I²S<br />
|-<br />
|Buttons|| Reset, FEL<br />
|-<br />
| LED || Power Status and Activity status<br />
|-<br />
| Power || 5V@3A via USB Type-C<br />
|-<br />
|Size || 65mm × 30mm<br />
|-<br />
|Weight || <br />
|}<br />
<br />
==PIN define ==<br />
<br />
===BPI-M4 Zero 40-pin header===<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''40-pin header define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
! ALT2<br />
! ALT3<br />
|-<br />
| 1<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 2<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 3<br />
| PG16<br />
| UART2_RX<br />
| <br />
| <br />
| TWI4_SDA<br />
|-<br />
| 4<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 5<br />
| PG15<br />
| UART2_TX<br />
| <br />
| <br />
| TWI4_SCK<br />
|-<br />
| 6<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 7<br />
| PG19<br />
| <br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 8<br />
| PG6<br />
| UART1_TX<br />
| <br />
| <br />
| <br />
|-<br />
| 9<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 10<br />
| PG7<br />
| UART1_RX<br />
| <br />
| <br />
| <br />
|-<br />
| 11<br />
| PH2<br />
| UART5_TX<br />
| <br />
| PWM2<br />
| <br />
|-<br />
| 12<br />
| PG11<br />
| H_I2S2_BCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 13<br />
| PH3<br />
| UART5_RX<br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 14<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 15<br />
| PG2<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 16<br />
| PG8<br />
| UART1_RTS<br />
| <br />
| <br />
| <br />
|-<br />
| 17<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 18<br />
| PG9<br />
| UART1_CTS<br />
| <br />
| <br />
| <br />
|-<br />
| 19<br />
| PH7<br />
| UART2_RTS<br />
| H_I2S3_LRCK<br />
| SPI1_MOSI<br />
| <br />
|-<br />
| 20<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 21<br />
| PH8<br />
| UART2_CTS<br />
| H_I2S3_DOUT0<br />
| SPI1_MISO<br />
| H_I2S3_DIN1<br />
|-<br />
| 22<br />
| PG1<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 23<br />
| PH6<br />
| UART2_RX<br />
| H_I2S3_BCLK<br />
| SPI1_CLK<br />
| <br />
|-<br />
| 24<br />
| PH5<br />
| UART2_TX<br />
| H_I2S3_MCLK<br />
| SPI1_CS0<br />
| <br />
|-<br />
| 25<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 26<br />
| PH9<br />
| <br />
| H_I2S3_DIN0<br />
| SPI1_CS1<br />
| H_I2S3_DOUT1<br />
|-<br />
| 27<br />
| PG18<br />
| UART2_CTS<br />
| <br />
| <br />
| TWI3_SDA<br />
|-<br />
| 28<br />
| PG17<br />
| UART2_RTS<br />
| <br />
| <br />
| TWI3_SCK<br />
|-<br />
| 29<br />
| PG3<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 30<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 31<br />
| PG4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 32<br />
| PG0<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 33<br />
| PG5<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 34<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 35<br />
| PG12<br />
| H_I2S2_LRCK<br />
| <br />
| <br />
| <br />
|-<br />
| 36<br />
| PH4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 37<br />
| PG10<br />
| H_I2S2_MCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 38<br />
| PG14<br />
| H_I2S2_DIN0<br />
| H_I2S2_DOUT1<br />
| <br />
| <br />
|-<br />
| 39<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 40<br />
| PG13<br />
| H_I2S2_DOUT0<br />
| H_I2S2_DIN1<br />
| <br />
| style="text-align:left;" | <br />
|}<br />
=== 24-pin FPC ===<br />
<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''24-pin FPC define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
|-<br />
| 1<br />
| GND<br />
| <br />
| <br />
|-<br />
| 2<br />
| EPHY_RXN<br />
| <br />
|<br />
|-<br />
| 3<br />
| EPHY_RXP<br />
| <br />
|<br />
|-<br />
| 4<br />
| EPHY_TXN<br />
| <br />
|<br />
|-<br />
| 5<br />
| EPHY_TXP<br />
| <br />
| <br />
|-<br />
| 6<br />
| GND<br />
| <br />
|<br />
|-<br />
| 7<br />
| PI9<br />
| UART3_TX<br />
| TWI2_SCK<br />
|-<br />
| 8<br />
| PI10<br />
| UART3_RX<br />
| TWI2_SDA<br />
|-<br />
| 9<br />
| PI12<br />
| UART3_CTS<br />
| PWM2<br />
|-<br />
| 10<br />
| PI11<br />
| UART3_RTS<br />
| PWM1 <br />
|-<br />
| 11<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 12<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 13<br />
| PI4<br />
| H_I2S0_DIN0<br />
| H_I2S0_DOUT1<br />
|-<br />
| 14<br />
| PI3<br />
| H_I2S0_DOUT0<br />
| H_I2S0_DIN1<br />
|-<br />
| 15<br />
| PI2<br />
| H_I2S0_LRCK<br />
| <br />
|-<br />
| 16<br />
| PI1<br />
| H_I2S0_BCLK<br />
| <br />
|-<br />
| 17<br />
| PI0<br />
| H_I2S0_MCLK<br />
| <br />
|-<br />
| 18<br />
| GND<br />
| <br />
| <br />
|-<br />
| 19<br />
| PH10<br />
| IR_RX<br />
| <br />
|-<br />
| 20<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 21<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 22<br />
| USB2_DP<br />
| <br />
| <br />
|-<br />
| 23<br />
| USB2_DM<br />
| <br />
| <br />
|-<br />
| 24<br />
| GND<br />
| <br />
| <br />
|-<br />
|}<br />
<br />
===BPI-M4 Zero Debug UART===<br />
{| class="wikitable"<br />
|-<br />
| 1 || GND<br />
|-<br />
| 2 || UART0_RX<br />
|-<br />
| 3 || UART0_TX<br />
|-<br />
|}<br />
<br />
=Development=<br />
==Source code==<br />
<br />
*u-boot for H618 : https://github.com/BPI-SINOVOIP/pi-u-boot/tree/v2021.07-sunxi<br />
*kernel for H618 : https://github.com/BPI-SINOVOIP/pi-linux/tree/pi-6.1-sunxi<br />
*BPI-H618-Android12-Code<br />
:Baidu Cloud: https://pan.baidu.com/s/1yMlLXauxZywujH8WkYqEcQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1qQxQik4GJjOF1aEOs9a1YVFxJBPlyFnc?usp=sharing<br />
<br />
== Resources==<br />
*BPI-M4 ZERO Hardware introduction video: https://www.youtube.com/watch?v=23J_TfsB480<br />
<br />
*BPI-M4 Zero DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1Mjpa8V_rm9S_advARWvzKA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1HBTiiMwU5mz2ogGsBUwHz2idkqJpXCNB/view?usp=sharing<br />
<br />
*BPI-M4 ZERO Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1KPAf3tz_-h-9PWv-6VcAJg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1WUFn_GItB6fBIt0C-ejdyu3FwznuGmCr/view?usp=sharing<br />
<br />
*BPI-M4 Zero SBC bench test: <br />
<br />
*Allwinner H618 Datasheet<br />
:Baidu Cloud: https://pan.baidu.com/s/10Rk4xLMOhIkk-gIoQx9DQw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1N6oWF9PHTcxXC1JY4x3Malr3twFv2wWZ/view?usp=sharing<br />
<br />
=System image=<br />
<br />
==Android==<br />
*2024-01-14-bananapi-m4zero-android12-box.img.<br />
:Baidu Cloud: https://pan.baidu.com/s/1HRiOLLBwdrLehv_z2sksfA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/15XDTLd5VqZxfgmv7tlqDBHrgOGvaBofU?usp=sharing<br />
<br />
*2024-01-14-bananapi-m4zero-android12<br />
:Baidu Cloud: https://pan.baidu.com/s/1rNXZc_OKJHyUVOPXtCixcQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/18ZvhcAMIOWyAZxHcxNGJmKVjZidYqGtW?usp=sharing<br />
<br />
==Linux==<br />
===Debian===<br />
*20240314-Bpi-m4zero_1.0.1_debian12_bookworm_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1m8MncsQkg0ADpJ3KkN_uoQ?pwd=8888 (pincode:8888)<br />
:Google Drive: <br />
<br />
*20240314-Bpi-m4zero_1.0.1_debian12_bookworm_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1WCgi8J9rJEQrWdIe6iUiaw?pwd=8888 (pincode:8888)<br />
:Google Drive:<br />
<br />
*2023-12-22 Bpi-m4zero_1.0.0_debian11_bullseye_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/14C0ZLAWOIKm2YWw7nE_rwA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/193htdDchcB402yX6FQrFDEAMO3Twj5P0/view?usp=sharing<br />
<br />
*2023-12-22 Bpi-m4zero_1.0.0_debian11_bullseye_minimal_linux6.1.31<br />
:Baidu Cloud:https://pan.baidu.com/s/1DJ178an-NJ8jM-yWrfv00g?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1OlwMHLo_gYeXbbuH0iGPvBe2ey6yss5R/view?usp=sharing<br />
<br />
===Ubuntu===<br />
*20240314-Bpi-m4zero_1.0.1_ubuntu24.04_jammy_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1GigN7INJarQnqJL5pQNK4g?pwd=8888 (pincode:8888)<br />
:Google Drive:<br />
<br />
*20240314-Bpi-m4zero_1.0.1_ubuntu24.04_jammy_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1nV6AJUayGSmLsUhIrMq9IQ?pwd=8888 (pincode:8888)<br />
:Google Drive:<br />
<br />
=Easy to buy=<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006325178305.html<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006325280213.html<br />
:Taobao Shop: https://item.taobao.com/item.htm?spm=a21dvs.23580594.0.0.4fee3d0dOP5VBH&ft=t&id=754939469582<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M4_Zero&diff=17127
Banana Pi BPI-M4 Zero
2024-03-14T03:58:42Z
<p>Sinovoip: /* Debian */</p>
<hr />
<div>[[zh:香蕉派_BPI-M4_Zero]] <br />
<br />
[[File: Banana_Pi_BPI-M4_Zero_1.jpg|thumb|[[Banana Pi BPI-M4 Zero]] with Allwinner H618 chip]]<br />
[[File:BPI-M2_zero_11.JPG|thumb|[[Banana Pi BPI-M2 ZERO]] with Allwinner H3 chip]]<br />
[[File:Banana_Pi_BPI-M4_Berry_1.jpg|thumb|[[Banana Pi BPI-M4 Berry]] H618 design]]<br />
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5]] with S905x3 design]]<br />
<br />
=Introduction=<br />
[[File:M4-Zero780.jpg]]<br />
<br />
Banana Pi BPI-M4 Zero is the successor model of M2 Zero. It has a huge improvement in performance. The SOC is upgraded to H618 and the CPU frequency is increased by 25%. The memory is upgraded to DDR4, the capacity is quadrupled, and 8G eMMC is added. It supports 5G WiFi, and the USB interface has also been upgraded to type-C.<br />
<br />
It has same form factor and 40-pin connector as the Raspberry Pi Zero W, and it can fit most of the RPI Zero W cases and accessories.<br />
<br />
=Key Features=<br />
* Allwinner H618, Quad-core ARM Cortex™-A53 processor<br />
* ARM Mali G31 GPU<br />
* 2.4G/5G WIFI & Bluetooth 4.2<br />
* 2G LPDDR4 RAM<br />
* 8G eMMC flash memory<br />
* 1x USB2.0 Type-C OTG, 5V power supply<br />
* 1x USB2.0 Type-C<br />
* 1x miniHDMI 2.0a<br />
* 1x 24-pin FPC connector<br />
** 1x USB2.0<br />
** 1x 100Mbps Ethernet<br />
<br />
=Getting Start=<br />
*[[Getting Started with BPI-M4 Zero]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-M4_Zero_interface.jpg]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="2"| '''Hardware Specification of Banana pi BPI-M4 Zero'''<br />
|-<br />
| CPU || Allwinner H618, Quad-core ARM Cortex™-A53 processor, 64-bit, up to 1.5GHz<br />
|-<br />
| GPU ||ARM Mali G31 GPU<br />
|-<br />
| Memory || 2 GB LPDDR4 <br />
|-<br />
| Storage || 8G eMMC flash<br />
|-<br />
| SD card || MicroSD card slot, SDIO3.0<br />
|-<br />
| Wireless || 2.4G/5G WiFi and Bluetooth 4.2<br />
|-<br />
| HDMI || 1x miniHDMI 2.0a (up to 4K@60Hz with HDR10, CEC, DDC, SCDC), HDMI digital Audio output<br />
|-<br />
| USB || 1x USB2.0 Type-C HOST, 1x USB2.0 Type-C OTG<br />
|-<br />
| rowspan="2" | 40-pin header<br />
| 28 pins GPIO and Power (+5V, +3.3V and GND)<br />
|-<br />
| UART, SPI, TWI/I²C, PWM, PCM/I²S<br />
|-<br />
| rowspan="2" | 24-pin FPC<br />
| 0.5mm pitch FPC connector, 1x USB2.0, 1x IR, 1x 100Mbps Ethernet<br />
|-<br />
| 9 pins GPIO, UART,TWI/I²C, PWM, PCM/I²S<br />
|-<br />
|Buttons|| Reset, FEL<br />
|-<br />
| LED || Power Status and Activity status<br />
|-<br />
| Power || 5V@3A via USB Type-C<br />
|-<br />
|Size || 65mm × 30mm<br />
|-<br />
|Weight || <br />
|}<br />
<br />
==PIN define ==<br />
<br />
===BPI-M4 Zero 40-pin header===<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''40-pin header define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
! ALT2<br />
! ALT3<br />
|-<br />
| 1<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 2<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 3<br />
| PG16<br />
| UART2_RX<br />
| <br />
| <br />
| TWI4_SDA<br />
|-<br />
| 4<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 5<br />
| PG15<br />
| UART2_TX<br />
| <br />
| <br />
| TWI4_SCK<br />
|-<br />
| 6<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 7<br />
| PG19<br />
| <br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 8<br />
| PG6<br />
| UART1_TX<br />
| <br />
| <br />
| <br />
|-<br />
| 9<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 10<br />
| PG7<br />
| UART1_RX<br />
| <br />
| <br />
| <br />
|-<br />
| 11<br />
| PH2<br />
| UART5_TX<br />
| <br />
| PWM2<br />
| <br />
|-<br />
| 12<br />
| PG11<br />
| H_I2S2_BCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 13<br />
| PH3<br />
| UART5_RX<br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 14<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 15<br />
| PG2<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 16<br />
| PG8<br />
| UART1_RTS<br />
| <br />
| <br />
| <br />
|-<br />
| 17<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 18<br />
| PG9<br />
| UART1_CTS<br />
| <br />
| <br />
| <br />
|-<br />
| 19<br />
| PH7<br />
| UART2_RTS<br />
| H_I2S3_LRCK<br />
| SPI1_MOSI<br />
| <br />
|-<br />
| 20<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 21<br />
| PH8<br />
| UART2_CTS<br />
| H_I2S3_DOUT0<br />
| SPI1_MISO<br />
| H_I2S3_DIN1<br />
|-<br />
| 22<br />
| PG1<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 23<br />
| PH6<br />
| UART2_RX<br />
| H_I2S3_BCLK<br />
| SPI1_CLK<br />
| <br />
|-<br />
| 24<br />
| PH5<br />
| UART2_TX<br />
| H_I2S3_MCLK<br />
| SPI1_CS0<br />
| <br />
|-<br />
| 25<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 26<br />
| PH9<br />
| <br />
| H_I2S3_DIN0<br />
| SPI1_CS1<br />
| H_I2S3_DOUT1<br />
|-<br />
| 27<br />
| PG18<br />
| UART2_CTS<br />
| <br />
| <br />
| TWI3_SDA<br />
|-<br />
| 28<br />
| PG17<br />
| UART2_RTS<br />
| <br />
| <br />
| TWI3_SCK<br />
|-<br />
| 29<br />
| PG3<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 30<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 31<br />
| PG4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 32<br />
| PG0<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 33<br />
| PG5<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 34<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 35<br />
| PG12<br />
| H_I2S2_LRCK<br />
| <br />
| <br />
| <br />
|-<br />
| 36<br />
| PH4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 37<br />
| PG10<br />
| H_I2S2_MCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 38<br />
| PG14<br />
| H_I2S2_DIN0<br />
| H_I2S2_DOUT1<br />
| <br />
| <br />
|-<br />
| 39<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 40<br />
| PG13<br />
| H_I2S2_DOUT0<br />
| H_I2S2_DIN1<br />
| <br />
| style="text-align:left;" | <br />
|}<br />
=== 24-pin FPC ===<br />
<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''24-pin FPC define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
|-<br />
| 1<br />
| GND<br />
| <br />
| <br />
|-<br />
| 2<br />
| EPHY_RXN<br />
| <br />
|<br />
|-<br />
| 3<br />
| EPHY_RXP<br />
| <br />
|<br />
|-<br />
| 4<br />
| EPHY_TXN<br />
| <br />
|<br />
|-<br />
| 5<br />
| EPHY_TXP<br />
| <br />
| <br />
|-<br />
| 6<br />
| GND<br />
| <br />
|<br />
|-<br />
| 7<br />
| PI9<br />
| UART3_TX<br />
| TWI2_SCK<br />
|-<br />
| 8<br />
| PI10<br />
| UART3_RX<br />
| TWI2_SDA<br />
|-<br />
| 9<br />
| PI12<br />
| UART3_CTS<br />
| PWM2<br />
|-<br />
| 10<br />
| PI11<br />
| UART3_RTS<br />
| PWM1 <br />
|-<br />
| 11<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 12<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 13<br />
| PI4<br />
| H_I2S0_DIN0<br />
| H_I2S0_DOUT1<br />
|-<br />
| 14<br />
| PI3<br />
| H_I2S0_DOUT0<br />
| H_I2S0_DIN1<br />
|-<br />
| 15<br />
| PI2<br />
| H_I2S0_LRCK<br />
| <br />
|-<br />
| 16<br />
| PI1<br />
| H_I2S0_BCLK<br />
| <br />
|-<br />
| 17<br />
| PI0<br />
| H_I2S0_MCLK<br />
| <br />
|-<br />
| 18<br />
| GND<br />
| <br />
| <br />
|-<br />
| 19<br />
| PH10<br />
| IR_RX<br />
| <br />
|-<br />
| 20<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 21<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 22<br />
| USB2_DP<br />
| <br />
| <br />
|-<br />
| 23<br />
| USB2_DM<br />
| <br />
| <br />
|-<br />
| 24<br />
| GND<br />
| <br />
| <br />
|-<br />
|}<br />
<br />
===BPI-M4 Zero Debug UART===<br />
{| class="wikitable"<br />
|-<br />
| 1 || GND<br />
|-<br />
| 2 || UART0_RX<br />
|-<br />
| 3 || UART0_TX<br />
|-<br />
|}<br />
<br />
=Development=<br />
==Source code==<br />
<br />
*u-boot for H618 : https://github.com/BPI-SINOVOIP/pi-u-boot/tree/v2021.07-sunxi<br />
*kernel for H618 : https://github.com/BPI-SINOVOIP/pi-linux/tree/pi-6.1-sunxi<br />
*BPI-H618-Android12-Code<br />
:Baidu Cloud: https://pan.baidu.com/s/1yMlLXauxZywujH8WkYqEcQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1qQxQik4GJjOF1aEOs9a1YVFxJBPlyFnc?usp=sharing<br />
<br />
== Resources==<br />
*BPI-M4 ZERO Hardware introduction video: https://www.youtube.com/watch?v=23J_TfsB480<br />
<br />
*BPI-M4 Zero DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1Mjpa8V_rm9S_advARWvzKA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1HBTiiMwU5mz2ogGsBUwHz2idkqJpXCNB/view?usp=sharing<br />
<br />
*BPI-M4 ZERO Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1KPAf3tz_-h-9PWv-6VcAJg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1WUFn_GItB6fBIt0C-ejdyu3FwznuGmCr/view?usp=sharing<br />
<br />
*BPI-M4 Zero SBC bench test: <br />
<br />
*Allwinner H618 Datasheet<br />
:Baidu Cloud: https://pan.baidu.com/s/10Rk4xLMOhIkk-gIoQx9DQw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1N6oWF9PHTcxXC1JY4x3Malr3twFv2wWZ/view?usp=sharing<br />
<br />
=System image=<br />
<br />
==Android==<br />
*2024-01-14-bananapi-m4zero-android12-box.img.<br />
:Baidu Cloud: https://pan.baidu.com/s/1HRiOLLBwdrLehv_z2sksfA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/15XDTLd5VqZxfgmv7tlqDBHrgOGvaBofU?usp=sharing<br />
<br />
*2024-01-14-bananapi-m4zero-android12<br />
:Baidu Cloud: https://pan.baidu.com/s/1rNXZc_OKJHyUVOPXtCixcQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/18ZvhcAMIOWyAZxHcxNGJmKVjZidYqGtW?usp=sharing<br />
<br />
==Linux==<br />
===Debian===<br />
*20240314-Bpi-m4zero_1.0.1_debian12_bookworm_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1m8MncsQkg0ADpJ3KkN_uoQ?pwd=8888 (pincode:8888)<br />
:Google Drive: <br />
<br />
*20240314-Bpi-m4zero_1.0.1_debian12_bookworm_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1WCgi8J9rJEQrWdIe6iUiaw?pwd=8888 (pincode:8888)<br />
:Google Drive:<br />
<br />
*2023-12-22 Bpi-m4zero_1.0.0_debian11_bullseye_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/14C0ZLAWOIKm2YWw7nE_rwA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/193htdDchcB402yX6FQrFDEAMO3Twj5P0/view?usp=sharing<br />
<br />
*2023-12-22 Bpi-m4zero_1.0.0_debian11_bullseye_minimal_linux6.1.31<br />
:Baidu Cloud:https://pan.baidu.com/s/1DJ178an-NJ8jM-yWrfv00g?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1OlwMHLo_gYeXbbuH0iGPvBe2ey6yss5R/view?usp=sharing<br />
<br />
===Ubuntu===<br />
*2023-12-12 Bpi-m4zero_1.0.0_ubuntu_jammy_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1GCfkl6nNP3aBZytS8G909g?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1qNRjN5O5oOoYPXy0efrTPVZkE8KjbH5K/view?usp=sharing<br />
<br />
*2023-12-12 Bpi-m4zero_1.0.0_ubuntu_jammy_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1DsKB_bOdcKrHSI5pmZV6bg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1yRkGWEd2uLsXu1WPgBG-FUhDICgte_90/view?usp=sharing<br />
<br />
=Easy to buy=<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006325178305.html<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006325280213.html<br />
:Taobao Shop: https://item.taobao.com/item.htm?spm=a21dvs.23580594.0.0.4fee3d0dOP5VBH&ft=t&id=754939469582<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M4_Zero&diff=17126
Banana Pi BPI-M4 Zero
2024-03-14T03:58:06Z
<p>Sinovoip: /* Debian */</p>
<hr />
<div>[[zh:香蕉派_BPI-M4_Zero]] <br />
<br />
[[File: Banana_Pi_BPI-M4_Zero_1.jpg|thumb|[[Banana Pi BPI-M4 Zero]] with Allwinner H618 chip]]<br />
[[File:BPI-M2_zero_11.JPG|thumb|[[Banana Pi BPI-M2 ZERO]] with Allwinner H3 chip]]<br />
[[File:Banana_Pi_BPI-M4_Berry_1.jpg|thumb|[[Banana Pi BPI-M4 Berry]] H618 design]]<br />
[[File:Banana_Pi_BPI-M5_1.JPG|thumb|[[Banana Pi BPI-M5]] with S905x3 design]]<br />
<br />
=Introduction=<br />
[[File:M4-Zero780.jpg]]<br />
<br />
Banana Pi BPI-M4 Zero is the successor model of M2 Zero. It has a huge improvement in performance. The SOC is upgraded to H618 and the CPU frequency is increased by 25%. The memory is upgraded to DDR4, the capacity is quadrupled, and 8G eMMC is added. It supports 5G WiFi, and the USB interface has also been upgraded to type-C.<br />
<br />
It has same form factor and 40-pin connector as the Raspberry Pi Zero W, and it can fit most of the RPI Zero W cases and accessories.<br />
<br />
=Key Features=<br />
* Allwinner H618, Quad-core ARM Cortex™-A53 processor<br />
* ARM Mali G31 GPU<br />
* 2.4G/5G WIFI & Bluetooth 4.2<br />
* 2G LPDDR4 RAM<br />
* 8G eMMC flash memory<br />
* 1x USB2.0 Type-C OTG, 5V power supply<br />
* 1x USB2.0 Type-C<br />
* 1x miniHDMI 2.0a<br />
* 1x 24-pin FPC connector<br />
** 1x USB2.0<br />
** 1x 100Mbps Ethernet<br />
<br />
=Getting Start=<br />
*[[Getting Started with BPI-M4 Zero]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-M4_Zero_interface.jpg]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="2"| '''Hardware Specification of Banana pi BPI-M4 Zero'''<br />
|-<br />
| CPU || Allwinner H618, Quad-core ARM Cortex™-A53 processor, 64-bit, up to 1.5GHz<br />
|-<br />
| GPU ||ARM Mali G31 GPU<br />
|-<br />
| Memory || 2 GB LPDDR4 <br />
|-<br />
| Storage || 8G eMMC flash<br />
|-<br />
| SD card || MicroSD card slot, SDIO3.0<br />
|-<br />
| Wireless || 2.4G/5G WiFi and Bluetooth 4.2<br />
|-<br />
| HDMI || 1x miniHDMI 2.0a (up to 4K@60Hz with HDR10, CEC, DDC, SCDC), HDMI digital Audio output<br />
|-<br />
| USB || 1x USB2.0 Type-C HOST, 1x USB2.0 Type-C OTG<br />
|-<br />
| rowspan="2" | 40-pin header<br />
| 28 pins GPIO and Power (+5V, +3.3V and GND)<br />
|-<br />
| UART, SPI, TWI/I²C, PWM, PCM/I²S<br />
|-<br />
| rowspan="2" | 24-pin FPC<br />
| 0.5mm pitch FPC connector, 1x USB2.0, 1x IR, 1x 100Mbps Ethernet<br />
|-<br />
| 9 pins GPIO, UART,TWI/I²C, PWM, PCM/I²S<br />
|-<br />
|Buttons|| Reset, FEL<br />
|-<br />
| LED || Power Status and Activity status<br />
|-<br />
| Power || 5V@3A via USB Type-C<br />
|-<br />
|Size || 65mm × 30mm<br />
|-<br />
|Weight || <br />
|}<br />
<br />
==PIN define ==<br />
<br />
===BPI-M4 Zero 40-pin header===<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''40-pin header define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
! ALT2<br />
! ALT3<br />
|-<br />
| 1<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 2<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 3<br />
| PG16<br />
| UART2_RX<br />
| <br />
| <br />
| TWI4_SDA<br />
|-<br />
| 4<br />
| 5V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 5<br />
| PG15<br />
| UART2_TX<br />
| <br />
| <br />
| TWI4_SCK<br />
|-<br />
| 6<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 7<br />
| PG19<br />
| <br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 8<br />
| PG6<br />
| UART1_TX<br />
| <br />
| <br />
| <br />
|-<br />
| 9<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 10<br />
| PG7<br />
| UART1_RX<br />
| <br />
| <br />
| <br />
|-<br />
| 11<br />
| PH2<br />
| UART5_TX<br />
| <br />
| PWM2<br />
| <br />
|-<br />
| 12<br />
| PG11<br />
| H_I2S2_BCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 13<br />
| PH3<br />
| UART5_RX<br />
| <br />
| PWM1<br />
| <br />
|-<br />
| 14<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 15<br />
| PG2<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 16<br />
| PG8<br />
| UART1_RTS<br />
| <br />
| <br />
| <br />
|-<br />
| 17<br />
| 3.3V<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 18<br />
| PG9<br />
| UART1_CTS<br />
| <br />
| <br />
| <br />
|-<br />
| 19<br />
| PH7<br />
| UART2_RTS<br />
| H_I2S3_LRCK<br />
| SPI1_MOSI<br />
| <br />
|-<br />
| 20<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 21<br />
| PH8<br />
| UART2_CTS<br />
| H_I2S3_DOUT0<br />
| SPI1_MISO<br />
| H_I2S3_DIN1<br />
|-<br />
| 22<br />
| PG1<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 23<br />
| PH6<br />
| UART2_RX<br />
| H_I2S3_BCLK<br />
| SPI1_CLK<br />
| <br />
|-<br />
| 24<br />
| PH5<br />
| UART2_TX<br />
| H_I2S3_MCLK<br />
| SPI1_CS0<br />
| <br />
|-<br />
| 25<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 26<br />
| PH9<br />
| <br />
| H_I2S3_DIN0<br />
| SPI1_CS1<br />
| H_I2S3_DOUT1<br />
|-<br />
| 27<br />
| PG18<br />
| UART2_CTS<br />
| <br />
| <br />
| TWI3_SDA<br />
|-<br />
| 28<br />
| PG17<br />
| UART2_RTS<br />
| <br />
| <br />
| TWI3_SCK<br />
|-<br />
| 29<br />
| PG3<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 30<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 31<br />
| PG4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 32<br />
| PG0<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 33<br />
| PG5<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 34<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 35<br />
| PG12<br />
| H_I2S2_LRCK<br />
| <br />
| <br />
| <br />
|-<br />
| 36<br />
| PH4<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 37<br />
| PG10<br />
| H_I2S2_MCLK<br />
| <br />
| <br />
| <br />
|-<br />
| 38<br />
| PG14<br />
| H_I2S2_DIN0<br />
| H_I2S2_DOUT1<br />
| <br />
| <br />
|-<br />
| 39<br />
| GND<br />
| <br />
| <br />
| <br />
| <br />
|-<br />
| 40<br />
| PG13<br />
| H_I2S2_DOUT0<br />
| H_I2S2_DIN1<br />
| <br />
| style="text-align:left;" | <br />
|}<br />
=== 24-pin FPC ===<br />
<br />
{| class="wikitable" style="text-align:center;"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="6"| '''24-pin FPC define and GPIO Alternative Functions Assignments'''<br />
|-<br />
! Pin Num<br />
! Pin Name<br />
! ALT0<br />
! ALT1<br />
|-<br />
| 1<br />
| GND<br />
| <br />
| <br />
|-<br />
| 2<br />
| EPHY_RXN<br />
| <br />
|<br />
|-<br />
| 3<br />
| EPHY_RXP<br />
| <br />
|<br />
|-<br />
| 4<br />
| EPHY_TXN<br />
| <br />
|<br />
|-<br />
| 5<br />
| EPHY_TXP<br />
| <br />
| <br />
|-<br />
| 6<br />
| GND<br />
| <br />
|<br />
|-<br />
| 7<br />
| PI9<br />
| UART3_TX<br />
| TWI2_SCK<br />
|-<br />
| 8<br />
| PI10<br />
| UART3_RX<br />
| TWI2_SDA<br />
|-<br />
| 9<br />
| PI12<br />
| UART3_CTS<br />
| PWM2<br />
|-<br />
| 10<br />
| PI11<br />
| UART3_RTS<br />
| PWM1 <br />
|-<br />
| 11<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 12<br />
| 3V3<br />
| <br />
| <br />
|-<br />
| 13<br />
| PI4<br />
| H_I2S0_DIN0<br />
| H_I2S0_DOUT1<br />
|-<br />
| 14<br />
| PI3<br />
| H_I2S0_DOUT0<br />
| H_I2S0_DIN1<br />
|-<br />
| 15<br />
| PI2<br />
| H_I2S0_LRCK<br />
| <br />
|-<br />
| 16<br />
| PI1<br />
| H_I2S0_BCLK<br />
| <br />
|-<br />
| 17<br />
| PI0<br />
| H_I2S0_MCLK<br />
| <br />
|-<br />
| 18<br />
| GND<br />
| <br />
| <br />
|-<br />
| 19<br />
| PH10<br />
| IR_RX<br />
| <br />
|-<br />
| 20<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 21<br />
| 5V<br />
| <br />
| <br />
|-<br />
| 22<br />
| USB2_DP<br />
| <br />
| <br />
|-<br />
| 23<br />
| USB2_DM<br />
| <br />
| <br />
|-<br />
| 24<br />
| GND<br />
| <br />
| <br />
|-<br />
|}<br />
<br />
===BPI-M4 Zero Debug UART===<br />
{| class="wikitable"<br />
|-<br />
| 1 || GND<br />
|-<br />
| 2 || UART0_RX<br />
|-<br />
| 3 || UART0_TX<br />
|-<br />
|}<br />
<br />
=Development=<br />
==Source code==<br />
<br />
*u-boot for H618 : https://github.com/BPI-SINOVOIP/pi-u-boot/tree/v2021.07-sunxi<br />
*kernel for H618 : https://github.com/BPI-SINOVOIP/pi-linux/tree/pi-6.1-sunxi<br />
*BPI-H618-Android12-Code<br />
:Baidu Cloud: https://pan.baidu.com/s/1yMlLXauxZywujH8WkYqEcQ?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/1qQxQik4GJjOF1aEOs9a1YVFxJBPlyFnc?usp=sharing<br />
<br />
== Resources==<br />
*BPI-M4 ZERO Hardware introduction video: https://www.youtube.com/watch?v=23J_TfsB480<br />
<br />
*BPI-M4 Zero DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1Mjpa8V_rm9S_advARWvzKA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1HBTiiMwU5mz2ogGsBUwHz2idkqJpXCNB/view?usp=sharing<br />
<br />
*BPI-M4 ZERO Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1KPAf3tz_-h-9PWv-6VcAJg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1WUFn_GItB6fBIt0C-ejdyu3FwznuGmCr/view?usp=sharing<br />
<br />
*BPI-M4 Zero SBC bench test: <br />
<br />
*Allwinner H618 Datasheet<br />
:Baidu Cloud: https://pan.baidu.com/s/10Rk4xLMOhIkk-gIoQx9DQw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1N6oWF9PHTcxXC1JY4x3Malr3twFv2wWZ/view?usp=sharing<br />
<br />
=System image=<br />
<br />
==Android==<br />
*2024-01-14-bananapi-m4zero-android12-box.img.<br />
:Baidu Cloud: https://pan.baidu.com/s/1HRiOLLBwdrLehv_z2sksfA?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/drive/folders/15XDTLd5VqZxfgmv7tlqDBHrgOGvaBofU?usp=sharing<br />
<br />
*2024-01-14-bananapi-m4zero-android12<br />
:Baidu Cloud: https://pan.baidu.com/s/1rNXZc_OKJHyUVOPXtCixcQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/18ZvhcAMIOWyAZxHcxNGJmKVjZidYqGtW?usp=sharing<br />
<br />
==Linux==<br />
===Debian===<br />
*2023-12-22 Bpi-m4zero_1.0.0_debian11_bullseye_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/14C0ZLAWOIKm2YWw7nE_rwA?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/193htdDchcB402yX6FQrFDEAMO3Twj5P0/view?usp=sharing<br />
<br />
*2023-12-22 Bpi-m4zero_1.0.0_debian11_bullseye_minimal_linux6.1.31<br />
:Baidu Cloud:https://pan.baidu.com/s/1DJ178an-NJ8jM-yWrfv00g?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1OlwMHLo_gYeXbbuH0iGPvBe2ey6yss5R/view?usp=sharing<br />
<br />
*20240314-Bpi-m4zero_1.0.1_debian12_bookworm_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1m8MncsQkg0ADpJ3KkN_uoQ?pwd=8888 (pincode:8888)<br />
:Google Drive: <br />
<br />
*20240314-Bpi-m4zero_1.0.1_debian12_bookworm_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1WCgi8J9rJEQrWdIe6iUiaw?pwd=8888 (pincode:8888)<br />
:Google Drive:<br />
<br />
===Ubuntu===<br />
*2023-12-12 Bpi-m4zero_1.0.0_ubuntu_jammy_minimal_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1GCfkl6nNP3aBZytS8G909g?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1qNRjN5O5oOoYPXy0efrTPVZkE8KjbH5K/view?usp=sharing<br />
<br />
*2023-12-12 Bpi-m4zero_1.0.0_ubuntu_jammy_desktop_xfce_linux6.1.31<br />
:Baidu Cloud: https://pan.baidu.com/s/1DsKB_bOdcKrHSI5pmZV6bg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1yRkGWEd2uLsXu1WPgBG-FUhDICgte_90/view?usp=sharing<br />
<br />
=Easy to buy=<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006325178305.html<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006325280213.html<br />
:Taobao Shop: https://item.taobao.com/item.htm?spm=a21dvs.23580594.0.0.4fee3d0dOP5VBH&ft=t&id=754939469582<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=File:Banana_Pi_BPI-Wifi6_case_4.png&diff=17125
File:Banana Pi BPI-Wifi6 case 4.png
2024-03-14T03:51:40Z
<p>Sinovoip: Sinovoip uploaded a new version of File:Banana Pi BPI-Wifi6 case 4.png</p>
<hr />
<div></div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=%E9%A6%99%E8%95%89%E6%B4%BE_BPI-R4&diff=17124
香蕉派 BPI-R4
2024-03-13T08:06:43Z
<p>Sinovoip: /* 参考文档及资料 */</p>
<hr />
<div>[[en:Banana Pi BPI-R4]]<br />
<br />
=概要=<br />
<br />
[[File:Banana_Pi_BPI-R4_1.jpg|thumb|[[Banana Pi BPI-R4]] with MediaTek Filogic 800 (MT7988)]]<br />
[[File:Banana_Pi_BPI-R4_PoE_1.jpg|thumb|[[Banana Pi BPI-R4]] with 2.5G ETH and PoE support]]<br />
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MediaTek MT7622]]<br />
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]<br />
[[File:Banana_Pi_BPI-Wifi6_1.jpg|thumb|[[Banana Pi BPI-Wifi6 Router]] with Triductor TR6560 + TR5220 wifi SOC]]<br />
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]<br />
<br />
==BPI-R4介绍==<br />
<br />
香蕉派BPI-R4路由器板采用联发科MT7988A (Filogic 880)四核ARM Corex-A73方案设计,板载4GB DDR4内存,8GB eMMC存储,128MB SPI-NAND闪存,还具有2个10Gbe SFP光电口, 4x Gbe千兆网口,带USB3.2端口,M.2接口支持4G/5G/NVME SSD.2x miniPCIe插槽,带有PCIe3.0 2lane接口,支持Wi-Fi 7网卡(Network interface Card)。它是一个非常高性能的开源路由器开发板。<br />
<br />
==联发科(MediaTek) MT7988(Filogic 880)芯片介绍==<br />
联发科Filogic 880,36Gbps Wi-Fi 7接入点/路由器/网关平台,提供最快和最可靠的网络连接体验.<br />
<br />
联发科Filogic 880强大的四核 CPU 和 MediaTek 网络处理器 (NPU):Filogic 880 的嵌入式 CPU 具有四核 Arm Cortex-A73,具有大型内部缓存和高达 1.8GHz 的速度,可提供接近 30K DMIPS 的同类领先性能。通过 NPU 卸载网络任务,设备制造商可以免费使用 CPE 来提供操作系统定制、内置服务和应用程序以扩展功能,这些功能现在是旗舰路由器/AP 设备的常规功能。<br />
<br />
联发科设计的片内网络处理单元 (NPU) 为 VLAN / PPTP / L2TP / GRE 提供硬件 QoS 加速和隧道卸载引擎。它超越了其他产品,可以同时使用 Wi-Fi 和以太网连接,确保全速性能,同时还卸载了主应用程序处理器。<br />
<br />
联发科 Filogic 880 平台具有高度可扩展性,具有高速内部和外部接口,包括 10Gbps PCI-Express、5Gbps USB、UART、SD、SPI、PWM、GPIO 和 OTP,可提供丰富的平台定制机会。<br />
<br />
联发科MT7988A是世界领先的网络处理平台,可在有线和无线应用中提供高性能和可靠的网络体验。MT7988A包含丰富的连接接口集,包括4个千兆以太网端口。2个UNXGMII接口。4个PCIe接口和2个USB 3.2 接口,MT7988A进一步实现无缝Wi-Fi 7三频段,2.4 GHz.5GHz和6 GHz连接,其Wi-Fi 7配套芯片具有320mhz带宽,4096-QAM,MLO,MRU和AFC。<br />
<br />
为了满足快速发展的隧道应用需求,MT7988A配备了联发科隧道卸载处理器系统(TOPS),有助于处理各种隧道协议。MT7988A通过精心调整的联发科TOPS ISA优化网络性能,致力于将网络传输性能提升到高级水平。<br />
<br />
==应用场景==<br />
*互联网服务路由器<br />
*Wifi 7 无线路由器<br />
*4G/5G 无线路由器<br />
*无线/有线中继通信网关<br />
*家庭安全网关<br />
*智能家居控制网关<br />
*Nas网关<br />
*网络通信应用<br />
*工业控制及整合通信应用<br />
<br />
==关键特性==<br />
*联发科(MediaTek) MT7988A (Filogic 880) 四核 Arm Corex-A73,1.8GHz处理器<br />
*4GB DDR4内存<br />
*8GB eMMC 存储<br />
*128MB SPI-NAND Flash存储<br />
*Micro SD 卡座<br />
*2x 10Gbe SFP 光电口<br />
*4x Gbe 千兆网口<br />
*1x USB3.2 接口<br />
*1x M.2 KEY-B 接口采用 USB3.2 接口连接5G模组<br />
*1x M.2 KEY-M 接口采用 PCIe3.0 1lane 接口连接 NVME SSD硬盘<br />
*2x miniPCIe 接口采用 PCIe3.0 2lane 接口连接 Wi-Fi 7 NIC (网络接口卡)<br />
*26 PIN GPIO 扩展<br />
<br />
==快速上手及开发==<br />
*[[Getting Started with BPI-R4]]<br />
<br />
=硬件=<br />
==硬件接口示意图==<br />
[[File:Banana_Pi_BPI-R4_interface.jpg]]<br />
<br />
==WiFi7 iPA 网口模块支持==<br />
BPI-R4 wifi 7 模组采用MediaTek MT7996+MT7995+MT7977A+MT7977B 芯片方案设计<br />
<br />
[[File:Banana_Pi_BPI-R4_wifi7_1.jpg]]<br />
<br />
==硬件规格==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''Banana pi BPI-R4 硬件规格表'''<br />
|-<br />
| CPU主控 ||MediaTek MT7988A (Filogic 880) 四核Arm Corex-A73,1.8GHz 处理器<br />
|-<br />
| SDRAM内存 || 4 GB DDR4 内存<br />
|-<br />
|板载存储 || MicroSD \(TF\) 卡座,8GB eMMC<br />
|-<br />
| GPIO || 26 Pin GPIO, 26 Pin GPIO,支持 UART, I2C, SPI, PWM, I2S.. <br />
|-<br />
| 网络接口 || 4 Port 10/100/1000Mbps 千兆网口<br />
|-<br />
| SFP光电口 || 2x10G SFP光电口<br />
|-<br />
| mini PCIE||2x miniPCIe PCIe3.0 接口支持Wi-Fi 7 NIC (网络接口卡)<br />
|-<br />
|M.2 interface ||1x M.2 KEY-B 接口采用 USB3.2 支持5G,1x M.2 KEY-M 接口采用PCIe3.0 接口支持NVME SSD硬盘<br />
|-<br />
| USB || 1xUSB 3.2 接口<br />
|-<br />
| 按键 || Reset 按键,WPS 按键, boot switch 按键<br />
|-<br />
| Leds灯 || Power status Led and RJ45 Led <br />
|-<br />
| DC 供电 || 12V/5.2A or 19V 3.2A<br />
|-<br />
| 尺寸 || 100.5x148mm 与 [Banana Pi BPI-R64]] 和 [[Banana Pi BPI-R2]] 尺寸一样<br />
|-<br />
| 重量 || 250g <br />
|- <br />
|}<br />
<br />
=参考资料=<br />
<br />
==软件源代码==<br />
<br />
*source code on github: https://github.com/BPI-SINOVOIP/BPI-R4-bsp<br />
*BPI-R4 OpenWRT BSP on github: https://github.com/BPI-SINOVOIP/BPI-R4-MT76-OPENWRT-V21.02<br />
Note: BPI-R4-MT76-OPENWRT-V21.02 BSP support BPI-R4 and BE13500 wifi Card<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
==参考文档及资料==<br />
<br />
*BPI-R4-Main-V11-ASSY<br />
:Baidu Cloud: https://pan.baidu.com/s/1ZjcsbMKiiEEDV9lCzW0vrg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1FDr47zcd-b2n8qiXFb-DxcuQ-6ye8OCB/view?usp=sharing<br />
<br />
*BPI-R4 DXF 文档<br />
:Baidu Cloud: https://pan.baidu.com/s/1ie_a4lYCjVwW6wD5vl1h-A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1UkZxCi-395Q15tGr12LhG8fgDjzacjGn/view?usp=sharing<br />
<br />
*BPI-R4 原理图<br />
:Baidu Cloud: https://pan.baidu.com/s/1XjSuch4karn6ACJSLwuimQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1r-c2urU-DFVHpZ7cRk2qzKtVB8tg82mZ/view?usp=sharing<br />
<br />
*MT7988A Wi-Fi7 Datasheet&Manual<br />
:Baidu Cloud: https://pan.baidu.com/s/1-eSVD4DhyPAkfgrE9BtLmA?pwd=8888 (pincode:8888) <br />
:Google Drive:https://drive.google.com/drive/folders/1XiVchy0a4syYFVlTndhVCETNJ9x7KOYi?usp=sharing<br />
<br />
* kernel [PATCH net-next 8/8] net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC:https://www.spinics.net/lists/kernel/msg4821673.html<br />
<br />
*[PATCH 15/15] dt-bindings: net: dsa: mediatek,mt7530: add mediatek,mt7988-switch:https://lore.kernel.org/lkml/80a853f182eac24735338f3c1f505e5f580053ca.1680180959.git.daniel@makrotopia.org/<br />
<br />
*Discuss on forum :https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757<br />
<br />
*MediaTek Filogic 880 platform : https://www.mediatek.com/products/broadband-wifi/mediatek-filogic-880<br />
<br />
*Key advantages of Wi-Fi 7 : https://mediatek-marketing.files.svdcdn.com/production/documents/Key-Advantages-of-Wi-Fi-7_MediaTek-White-Paper-WF70222.pdf<br />
<br />
*How MLO Smart Link Dispatching drives Wi-Fi 7:https://mediatek-marketing.files.svdcdn.com/production/documents/MLO-Infographic-How-Smart-Link-Dispatching-drives-Wi-Fi-7-White-Paper-Infographic-0223.pdf<br />
<br />
*MLO in Wi-Fi 7: https://mediatek-marketing.files.svdcdn.com/production/documents/Wi-Fi-7-MLO-White-Paper-WF7MLOWP0622.pdf<br />
<br />
=镜像发布=<br />
<br />
==OpenWRT MTK MP3.0 SDK for BE19000 Wifi Card==<br />
* BPI-R4 bl2_emmc-r4.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1gumscZfpJsQr_AROzDevTg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1YVJcLRLvxET2349TCKocK4MtRG5PNbdp/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-EMMC-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1TFYGjP13TEbtFEHpE2aG1Q?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/196J1V5q4s3GgAtCNQBCtzB9h6pGVcdTg/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-NAND-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1NrA3LTEyP8Ht_Ysli-o8og?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1P5dSSaPLQzlYjniHdC-jjKE0PJ2O-Py2/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-SD-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1AW_DJ6pjEh87FJMx6pPYzw?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/146CUGBRC0ce5uN9nCM08Jegc51abAz1b/view?usp=sharing<br />
<br />
==OpenWRT MTK MP3.1 wifi SDK or MT76 wifi driver for BE14000 Wifi Card==<br />
:Baidu Cloud: https://pan.baidu.com/s/1kguTbhlBVGvN7L9G3mgFQg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1DBPwMD-qDAIqPorqJwl3sf8TsAEh0BmF?usp=sharing<br />
<br />
Note: <br />
MTK vendor's MP3.1 wifi image package name: BPI-R4-BE1350-WIFI_MP3_1-SDK-20240202.zip<br />
opensource MT76 wifi image package name : BPI-R4-BE1350-WIFI_MT76-20240202.zip<br />
MTK vendor's MP3.1 wifi driver sourcecode can't be open source. only release Image. But supply all MT76 wifi driver sourcecode.<br />
(support Quectel RM500U-CN & RM520N-GL 5G Modules, EC25 EM05 4G Modules)<br />
<br />
==Debian 11==<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-5.4-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1q2WogyCtNOcejWRG1_GhXg?pwd=8888 (pincode:8888) <br />
:Google drive: https://drive.google.com/file/d/17JVoTtIZdcN-qSElTHpAKY2KlvYCgZPp/view?usp=sharing<br />
<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-6.1-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/199IjDbuzScMiWnwcjRX_Rg?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1ZNwDi9Eg_6SQYyKQgETOhBW7_6ix4Fna/view?usp=sharing<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 BSP repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but debian 11's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
==Ubuntu 22.04==<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-5.4-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1ou2ZHbyZEmquvHNhlZ6QHw?pwd=8888 (pincode:8888) <br />
:Google drive: https://drive.google.com/file/d/1LBBBzHWV_vDAeXDztkYW1TjDnqQweMYj/view?usp=sharing<br />
<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-6.1-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1WzfQWnlaC9zoLVA0JN3RbA?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1ZuLbFnFF7dDlbRw4Dhgkm4ROIl5KYKg7/view?usp=sharing<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 BSP repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but ubuntu-22.04's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
=BPI-R4 配件=<br />
==WiFi7 iPA NIC==<br />
Banana Pi BPI-R4 wifi7 module use MediaTek MT7996+MT7995+MT7977A+MT7977B chip design.<br />
<br />
===Wifi 7 module interface===<br />
<br />
[[File:Banana_Pi_BPI-R4_Wifi_7_interface.jpg]]<br />
<br />
==4G/5G Module==<br />
:BPI-R4 supports M.2 USB Interface Quectel 4G LTE EM25, RM500U-CN & RM520N-GL 5G Modules.<br />
:Theoretically, it also supports PCIe cellular modules, but it has not been tested<br />
:https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#2._4G.2F5G_Module<br />
<br />
==10G SFP Fibre==<br />
*[[Getting_Started_with_BPI-R4#1.10G_SFP_Module]]<br />
<br />
==SSD==<br />
*https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#3._NVMe_SSD<br />
<br />
=样品购买=<br />
*速卖通店铺:<br />
:SINOVOIP 速卖通店铺: https://www.aliexpress.us/item/1005006256712337.html?gatewayAdapt=4itemAdapt<br />
:Bipai 速卖通店铺: https://www.aliexpress.us/item/1005006256988361.html?gatewayAdapt=4itemAdapt<br />
:淘宝店铺: https://shop108780008.taobao.com/category-1744032218.htm?spm<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=%E9%A6%99%E8%95%89%E6%B4%BE_BPI-R4&diff=17123
香蕉派 BPI-R4
2024-03-13T08:06:10Z
<p>Sinovoip: /* 软件源代码 */</p>
<hr />
<div>[[en:Banana Pi BPI-R4]]<br />
<br />
=概要=<br />
<br />
[[File:Banana_Pi_BPI-R4_1.jpg|thumb|[[Banana Pi BPI-R4]] with MediaTek Filogic 800 (MT7988)]]<br />
[[File:Banana_Pi_BPI-R4_PoE_1.jpg|thumb|[[Banana Pi BPI-R4]] with 2.5G ETH and PoE support]]<br />
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MediaTek MT7622]]<br />
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]<br />
[[File:Banana_Pi_BPI-Wifi6_1.jpg|thumb|[[Banana Pi BPI-Wifi6 Router]] with Triductor TR6560 + TR5220 wifi SOC]]<br />
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]<br />
<br />
==BPI-R4介绍==<br />
<br />
香蕉派BPI-R4路由器板采用联发科MT7988A (Filogic 880)四核ARM Corex-A73方案设计,板载4GB DDR4内存,8GB eMMC存储,128MB SPI-NAND闪存,还具有2个10Gbe SFP光电口, 4x Gbe千兆网口,带USB3.2端口,M.2接口支持4G/5G/NVME SSD.2x miniPCIe插槽,带有PCIe3.0 2lane接口,支持Wi-Fi 7网卡(Network interface Card)。它是一个非常高性能的开源路由器开发板。<br />
<br />
==联发科(MediaTek) MT7988(Filogic 880)芯片介绍==<br />
联发科Filogic 880,36Gbps Wi-Fi 7接入点/路由器/网关平台,提供最快和最可靠的网络连接体验.<br />
<br />
联发科Filogic 880强大的四核 CPU 和 MediaTek 网络处理器 (NPU):Filogic 880 的嵌入式 CPU 具有四核 Arm Cortex-A73,具有大型内部缓存和高达 1.8GHz 的速度,可提供接近 30K DMIPS 的同类领先性能。通过 NPU 卸载网络任务,设备制造商可以免费使用 CPE 来提供操作系统定制、内置服务和应用程序以扩展功能,这些功能现在是旗舰路由器/AP 设备的常规功能。<br />
<br />
联发科设计的片内网络处理单元 (NPU) 为 VLAN / PPTP / L2TP / GRE 提供硬件 QoS 加速和隧道卸载引擎。它超越了其他产品,可以同时使用 Wi-Fi 和以太网连接,确保全速性能,同时还卸载了主应用程序处理器。<br />
<br />
联发科 Filogic 880 平台具有高度可扩展性,具有高速内部和外部接口,包括 10Gbps PCI-Express、5Gbps USB、UART、SD、SPI、PWM、GPIO 和 OTP,可提供丰富的平台定制机会。<br />
<br />
联发科MT7988A是世界领先的网络处理平台,可在有线和无线应用中提供高性能和可靠的网络体验。MT7988A包含丰富的连接接口集,包括4个千兆以太网端口。2个UNXGMII接口。4个PCIe接口和2个USB 3.2 接口,MT7988A进一步实现无缝Wi-Fi 7三频段,2.4 GHz.5GHz和6 GHz连接,其Wi-Fi 7配套芯片具有320mhz带宽,4096-QAM,MLO,MRU和AFC。<br />
<br />
为了满足快速发展的隧道应用需求,MT7988A配备了联发科隧道卸载处理器系统(TOPS),有助于处理各种隧道协议。MT7988A通过精心调整的联发科TOPS ISA优化网络性能,致力于将网络传输性能提升到高级水平。<br />
<br />
==应用场景==<br />
*互联网服务路由器<br />
*Wifi 7 无线路由器<br />
*4G/5G 无线路由器<br />
*无线/有线中继通信网关<br />
*家庭安全网关<br />
*智能家居控制网关<br />
*Nas网关<br />
*网络通信应用<br />
*工业控制及整合通信应用<br />
<br />
==关键特性==<br />
*联发科(MediaTek) MT7988A (Filogic 880) 四核 Arm Corex-A73,1.8GHz处理器<br />
*4GB DDR4内存<br />
*8GB eMMC 存储<br />
*128MB SPI-NAND Flash存储<br />
*Micro SD 卡座<br />
*2x 10Gbe SFP 光电口<br />
*4x Gbe 千兆网口<br />
*1x USB3.2 接口<br />
*1x M.2 KEY-B 接口采用 USB3.2 接口连接5G模组<br />
*1x M.2 KEY-M 接口采用 PCIe3.0 1lane 接口连接 NVME SSD硬盘<br />
*2x miniPCIe 接口采用 PCIe3.0 2lane 接口连接 Wi-Fi 7 NIC (网络接口卡)<br />
*26 PIN GPIO 扩展<br />
<br />
==快速上手及开发==<br />
*[[Getting Started with BPI-R4]]<br />
<br />
=硬件=<br />
==硬件接口示意图==<br />
[[File:Banana_Pi_BPI-R4_interface.jpg]]<br />
<br />
==WiFi7 iPA 网口模块支持==<br />
BPI-R4 wifi 7 模组采用MediaTek MT7996+MT7995+MT7977A+MT7977B 芯片方案设计<br />
<br />
[[File:Banana_Pi_BPI-R4_wifi7_1.jpg]]<br />
<br />
==硬件规格==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''Banana pi BPI-R4 硬件规格表'''<br />
|-<br />
| CPU主控 ||MediaTek MT7988A (Filogic 880) 四核Arm Corex-A73,1.8GHz 处理器<br />
|-<br />
| SDRAM内存 || 4 GB DDR4 内存<br />
|-<br />
|板载存储 || MicroSD \(TF\) 卡座,8GB eMMC<br />
|-<br />
| GPIO || 26 Pin GPIO, 26 Pin GPIO,支持 UART, I2C, SPI, PWM, I2S.. <br />
|-<br />
| 网络接口 || 4 Port 10/100/1000Mbps 千兆网口<br />
|-<br />
| SFP光电口 || 2x10G SFP光电口<br />
|-<br />
| mini PCIE||2x miniPCIe PCIe3.0 接口支持Wi-Fi 7 NIC (网络接口卡)<br />
|-<br />
|M.2 interface ||1x M.2 KEY-B 接口采用 USB3.2 支持5G,1x M.2 KEY-M 接口采用PCIe3.0 接口支持NVME SSD硬盘<br />
|-<br />
| USB || 1xUSB 3.2 接口<br />
|-<br />
| 按键 || Reset 按键,WPS 按键, boot switch 按键<br />
|-<br />
| Leds灯 || Power status Led and RJ45 Led <br />
|-<br />
| DC 供电 || 12V/5.2A or 19V 3.2A<br />
|-<br />
| 尺寸 || 100.5x148mm 与 [Banana Pi BPI-R64]] 和 [[Banana Pi BPI-R2]] 尺寸一样<br />
|-<br />
| 重量 || 250g <br />
|- <br />
|}<br />
<br />
=参考资料=<br />
<br />
==软件源代码==<br />
<br />
*source code on github: https://github.com/BPI-SINOVOIP/BPI-R4-bsp<br />
*BPI-R4 OpenWRT BSP on github: https://github.com/BPI-SINOVOIP/BPI-R4-MT76-OPENWRT-V21.02<br />
Note: BPI-R4-MT76-OPENWRT-V21.02 BSP support BPI-R4 and BE13500 wifi Card<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
==参考文档及资料==<br />
<br />
*BPI-R4 DXF 文档<br />
:Baidu Cloud: https://pan.baidu.com/s/1ie_a4lYCjVwW6wD5vl1h-A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1UkZxCi-395Q15tGr12LhG8fgDjzacjGn/view?usp=sharing<br />
<br />
*BPI-R4 原理图<br />
:Baidu Cloud: https://pan.baidu.com/s/1XjSuch4karn6ACJSLwuimQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1r-c2urU-DFVHpZ7cRk2qzKtVB8tg82mZ/view?usp=sharing<br />
<br />
*MT7988A Wi-Fi7 Datasheet&Manual<br />
:Baidu Cloud: https://pan.baidu.com/s/1-eSVD4DhyPAkfgrE9BtLmA?pwd=8888 (pincode:8888) <br />
:Google Drive:https://drive.google.com/drive/folders/1XiVchy0a4syYFVlTndhVCETNJ9x7KOYi?usp=sharing<br />
<br />
* kernel [PATCH net-next 8/8] net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC:https://www.spinics.net/lists/kernel/msg4821673.html<br />
<br />
*[PATCH 15/15] dt-bindings: net: dsa: mediatek,mt7530: add mediatek,mt7988-switch:https://lore.kernel.org/lkml/80a853f182eac24735338f3c1f505e5f580053ca.1680180959.git.daniel@makrotopia.org/<br />
<br />
*Discuss on forum :https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757<br />
<br />
*MediaTek Filogic 880 platform : https://www.mediatek.com/products/broadband-wifi/mediatek-filogic-880<br />
<br />
*Key advantages of Wi-Fi 7 : https://mediatek-marketing.files.svdcdn.com/production/documents/Key-Advantages-of-Wi-Fi-7_MediaTek-White-Paper-WF70222.pdf<br />
<br />
*How MLO Smart Link Dispatching drives Wi-Fi 7:https://mediatek-marketing.files.svdcdn.com/production/documents/MLO-Infographic-How-Smart-Link-Dispatching-drives-Wi-Fi-7-White-Paper-Infographic-0223.pdf<br />
<br />
*MLO in Wi-Fi 7: https://mediatek-marketing.files.svdcdn.com/production/documents/Wi-Fi-7-MLO-White-Paper-WF7MLOWP0622.pdf<br />
<br />
=镜像发布=<br />
<br />
==OpenWRT MTK MP3.0 SDK for BE19000 Wifi Card==<br />
* BPI-R4 bl2_emmc-r4.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1gumscZfpJsQr_AROzDevTg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1YVJcLRLvxET2349TCKocK4MtRG5PNbdp/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-EMMC-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1TFYGjP13TEbtFEHpE2aG1Q?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/196J1V5q4s3GgAtCNQBCtzB9h6pGVcdTg/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-NAND-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1NrA3LTEyP8Ht_Ysli-o8og?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1P5dSSaPLQzlYjniHdC-jjKE0PJ2O-Py2/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-SD-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1AW_DJ6pjEh87FJMx6pPYzw?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/146CUGBRC0ce5uN9nCM08Jegc51abAz1b/view?usp=sharing<br />
<br />
==OpenWRT MTK MP3.1 wifi SDK or MT76 wifi driver for BE14000 Wifi Card==<br />
:Baidu Cloud: https://pan.baidu.com/s/1kguTbhlBVGvN7L9G3mgFQg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1DBPwMD-qDAIqPorqJwl3sf8TsAEh0BmF?usp=sharing<br />
<br />
Note: <br />
MTK vendor's MP3.1 wifi image package name: BPI-R4-BE1350-WIFI_MP3_1-SDK-20240202.zip<br />
opensource MT76 wifi image package name : BPI-R4-BE1350-WIFI_MT76-20240202.zip<br />
MTK vendor's MP3.1 wifi driver sourcecode can't be open source. only release Image. But supply all MT76 wifi driver sourcecode.<br />
(support Quectel RM500U-CN & RM520N-GL 5G Modules, EC25 EM05 4G Modules)<br />
<br />
==Debian 11==<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-5.4-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1q2WogyCtNOcejWRG1_GhXg?pwd=8888 (pincode:8888) <br />
:Google drive: https://drive.google.com/file/d/17JVoTtIZdcN-qSElTHpAKY2KlvYCgZPp/view?usp=sharing<br />
<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-6.1-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/199IjDbuzScMiWnwcjRX_Rg?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1ZNwDi9Eg_6SQYyKQgETOhBW7_6ix4Fna/view?usp=sharing<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 BSP repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but debian 11's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
==Ubuntu 22.04==<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-5.4-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1ou2ZHbyZEmquvHNhlZ6QHw?pwd=8888 (pincode:8888) <br />
:Google drive: https://drive.google.com/file/d/1LBBBzHWV_vDAeXDztkYW1TjDnqQweMYj/view?usp=sharing<br />
<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-6.1-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1WzfQWnlaC9zoLVA0JN3RbA?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1ZuLbFnFF7dDlbRw4Dhgkm4ROIl5KYKg7/view?usp=sharing<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 BSP repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but ubuntu-22.04's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
=BPI-R4 配件=<br />
==WiFi7 iPA NIC==<br />
Banana Pi BPI-R4 wifi7 module use MediaTek MT7996+MT7995+MT7977A+MT7977B chip design.<br />
<br />
===Wifi 7 module interface===<br />
<br />
[[File:Banana_Pi_BPI-R4_Wifi_7_interface.jpg]]<br />
<br />
==4G/5G Module==<br />
:BPI-R4 supports M.2 USB Interface Quectel 4G LTE EM25, RM500U-CN & RM520N-GL 5G Modules.<br />
:Theoretically, it also supports PCIe cellular modules, but it has not been tested<br />
:https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#2._4G.2F5G_Module<br />
<br />
==10G SFP Fibre==<br />
*[[Getting_Started_with_BPI-R4#1.10G_SFP_Module]]<br />
<br />
==SSD==<br />
*https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#3._NVMe_SSD<br />
<br />
=样品购买=<br />
*速卖通店铺:<br />
:SINOVOIP 速卖通店铺: https://www.aliexpress.us/item/1005006256712337.html?gatewayAdapt=4itemAdapt<br />
:Bipai 速卖通店铺: https://www.aliexpress.us/item/1005006256988361.html?gatewayAdapt=4itemAdapt<br />
:淘宝店铺: https://shop108780008.taobao.com/category-1744032218.htm?spm<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=%E9%A6%99%E8%95%89%E6%B4%BE_BPI-R4&diff=17122
香蕉派 BPI-R4
2024-03-13T07:57:08Z
<p>Sinovoip: /* 镜像发布 */</p>
<hr />
<div>[[en:Banana Pi BPI-R4]]<br />
<br />
=概要=<br />
<br />
[[File:Banana_Pi_BPI-R4_1.jpg|thumb|[[Banana Pi BPI-R4]] with MediaTek Filogic 800 (MT7988)]]<br />
[[File:Banana_Pi_BPI-R4_PoE_1.jpg|thumb|[[Banana Pi BPI-R4]] with 2.5G ETH and PoE support]]<br />
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MediaTek MT7622]]<br />
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]<br />
[[File:Banana_Pi_BPI-Wifi6_1.jpg|thumb|[[Banana Pi BPI-Wifi6 Router]] with Triductor TR6560 + TR5220 wifi SOC]]<br />
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]<br />
<br />
==BPI-R4介绍==<br />
<br />
香蕉派BPI-R4路由器板采用联发科MT7988A (Filogic 880)四核ARM Corex-A73方案设计,板载4GB DDR4内存,8GB eMMC存储,128MB SPI-NAND闪存,还具有2个10Gbe SFP光电口, 4x Gbe千兆网口,带USB3.2端口,M.2接口支持4G/5G/NVME SSD.2x miniPCIe插槽,带有PCIe3.0 2lane接口,支持Wi-Fi 7网卡(Network interface Card)。它是一个非常高性能的开源路由器开发板。<br />
<br />
==联发科(MediaTek) MT7988(Filogic 880)芯片介绍==<br />
联发科Filogic 880,36Gbps Wi-Fi 7接入点/路由器/网关平台,提供最快和最可靠的网络连接体验.<br />
<br />
联发科Filogic 880强大的四核 CPU 和 MediaTek 网络处理器 (NPU):Filogic 880 的嵌入式 CPU 具有四核 Arm Cortex-A73,具有大型内部缓存和高达 1.8GHz 的速度,可提供接近 30K DMIPS 的同类领先性能。通过 NPU 卸载网络任务,设备制造商可以免费使用 CPE 来提供操作系统定制、内置服务和应用程序以扩展功能,这些功能现在是旗舰路由器/AP 设备的常规功能。<br />
<br />
联发科设计的片内网络处理单元 (NPU) 为 VLAN / PPTP / L2TP / GRE 提供硬件 QoS 加速和隧道卸载引擎。它超越了其他产品,可以同时使用 Wi-Fi 和以太网连接,确保全速性能,同时还卸载了主应用程序处理器。<br />
<br />
联发科 Filogic 880 平台具有高度可扩展性,具有高速内部和外部接口,包括 10Gbps PCI-Express、5Gbps USB、UART、SD、SPI、PWM、GPIO 和 OTP,可提供丰富的平台定制机会。<br />
<br />
联发科MT7988A是世界领先的网络处理平台,可在有线和无线应用中提供高性能和可靠的网络体验。MT7988A包含丰富的连接接口集,包括4个千兆以太网端口。2个UNXGMII接口。4个PCIe接口和2个USB 3.2 接口,MT7988A进一步实现无缝Wi-Fi 7三频段,2.4 GHz.5GHz和6 GHz连接,其Wi-Fi 7配套芯片具有320mhz带宽,4096-QAM,MLO,MRU和AFC。<br />
<br />
为了满足快速发展的隧道应用需求,MT7988A配备了联发科隧道卸载处理器系统(TOPS),有助于处理各种隧道协议。MT7988A通过精心调整的联发科TOPS ISA优化网络性能,致力于将网络传输性能提升到高级水平。<br />
<br />
==应用场景==<br />
*互联网服务路由器<br />
*Wifi 7 无线路由器<br />
*4G/5G 无线路由器<br />
*无线/有线中继通信网关<br />
*家庭安全网关<br />
*智能家居控制网关<br />
*Nas网关<br />
*网络通信应用<br />
*工业控制及整合通信应用<br />
<br />
==关键特性==<br />
*联发科(MediaTek) MT7988A (Filogic 880) 四核 Arm Corex-A73,1.8GHz处理器<br />
*4GB DDR4内存<br />
*8GB eMMC 存储<br />
*128MB SPI-NAND Flash存储<br />
*Micro SD 卡座<br />
*2x 10Gbe SFP 光电口<br />
*4x Gbe 千兆网口<br />
*1x USB3.2 接口<br />
*1x M.2 KEY-B 接口采用 USB3.2 接口连接5G模组<br />
*1x M.2 KEY-M 接口采用 PCIe3.0 1lane 接口连接 NVME SSD硬盘<br />
*2x miniPCIe 接口采用 PCIe3.0 2lane 接口连接 Wi-Fi 7 NIC (网络接口卡)<br />
*26 PIN GPIO 扩展<br />
<br />
==快速上手及开发==<br />
*[[Getting Started with BPI-R4]]<br />
<br />
=硬件=<br />
==硬件接口示意图==<br />
[[File:Banana_Pi_BPI-R4_interface.jpg]]<br />
<br />
==WiFi7 iPA 网口模块支持==<br />
BPI-R4 wifi 7 模组采用MediaTek MT7996+MT7995+MT7977A+MT7977B 芯片方案设计<br />
<br />
[[File:Banana_Pi_BPI-R4_wifi7_1.jpg]]<br />
<br />
==硬件规格==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''Banana pi BPI-R4 硬件规格表'''<br />
|-<br />
| CPU主控 ||MediaTek MT7988A (Filogic 880) 四核Arm Corex-A73,1.8GHz 处理器<br />
|-<br />
| SDRAM内存 || 4 GB DDR4 内存<br />
|-<br />
|板载存储 || MicroSD \(TF\) 卡座,8GB eMMC<br />
|-<br />
| GPIO || 26 Pin GPIO, 26 Pin GPIO,支持 UART, I2C, SPI, PWM, I2S.. <br />
|-<br />
| 网络接口 || 4 Port 10/100/1000Mbps 千兆网口<br />
|-<br />
| SFP光电口 || 2x10G SFP光电口<br />
|-<br />
| mini PCIE||2x miniPCIe PCIe3.0 接口支持Wi-Fi 7 NIC (网络接口卡)<br />
|-<br />
|M.2 interface ||1x M.2 KEY-B 接口采用 USB3.2 支持5G,1x M.2 KEY-M 接口采用PCIe3.0 接口支持NVME SSD硬盘<br />
|-<br />
| USB || 1xUSB 3.2 接口<br />
|-<br />
| 按键 || Reset 按键,WPS 按键, boot switch 按键<br />
|-<br />
| Leds灯 || Power status Led and RJ45 Led <br />
|-<br />
| DC 供电 || 12V/5.2A or 19V 3.2A<br />
|-<br />
| 尺寸 || 100.5x148mm 与 [Banana Pi BPI-R64]] 和 [[Banana Pi BPI-R2]] 尺寸一样<br />
|-<br />
| 重量 || 250g <br />
|- <br />
|}<br />
<br />
=参考资料=<br />
<br />
==软件源代码==<br />
*source code on github: https://github.com/BPI-SINOVOIP/BPI-R4-bsp<br />
<br />
==参考文档及资料==<br />
<br />
*BPI-R4 DXF 文档<br />
:Baidu Cloud: https://pan.baidu.com/s/1ie_a4lYCjVwW6wD5vl1h-A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1UkZxCi-395Q15tGr12LhG8fgDjzacjGn/view?usp=sharing<br />
<br />
*BPI-R4 原理图<br />
:Baidu Cloud: https://pan.baidu.com/s/1XjSuch4karn6ACJSLwuimQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1r-c2urU-DFVHpZ7cRk2qzKtVB8tg82mZ/view?usp=sharing<br />
<br />
*MT7988A Wi-Fi7 Datasheet&Manual<br />
:Baidu Cloud: https://pan.baidu.com/s/1-eSVD4DhyPAkfgrE9BtLmA?pwd=8888 (pincode:8888) <br />
:Google Drive:https://drive.google.com/drive/folders/1XiVchy0a4syYFVlTndhVCETNJ9x7KOYi?usp=sharing<br />
<br />
* kernel [PATCH net-next 8/8] net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC:https://www.spinics.net/lists/kernel/msg4821673.html<br />
<br />
*[PATCH 15/15] dt-bindings: net: dsa: mediatek,mt7530: add mediatek,mt7988-switch:https://lore.kernel.org/lkml/80a853f182eac24735338f3c1f505e5f580053ca.1680180959.git.daniel@makrotopia.org/<br />
<br />
*Discuss on forum :https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757<br />
<br />
*MediaTek Filogic 880 platform : https://www.mediatek.com/products/broadband-wifi/mediatek-filogic-880<br />
<br />
*Key advantages of Wi-Fi 7 : https://mediatek-marketing.files.svdcdn.com/production/documents/Key-Advantages-of-Wi-Fi-7_MediaTek-White-Paper-WF70222.pdf<br />
<br />
*How MLO Smart Link Dispatching drives Wi-Fi 7:https://mediatek-marketing.files.svdcdn.com/production/documents/MLO-Infographic-How-Smart-Link-Dispatching-drives-Wi-Fi-7-White-Paper-Infographic-0223.pdf<br />
<br />
*MLO in Wi-Fi 7: https://mediatek-marketing.files.svdcdn.com/production/documents/Wi-Fi-7-MLO-White-Paper-WF7MLOWP0622.pdf<br />
<br />
=镜像发布=<br />
<br />
==OpenWRT MTK MP3.0 SDK for BE19000 Wifi Card==<br />
* BPI-R4 bl2_emmc-r4.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1gumscZfpJsQr_AROzDevTg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1YVJcLRLvxET2349TCKocK4MtRG5PNbdp/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-EMMC-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1TFYGjP13TEbtFEHpE2aG1Q?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/196J1V5q4s3GgAtCNQBCtzB9h6pGVcdTg/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-NAND-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1NrA3LTEyP8Ht_Ysli-o8og?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1P5dSSaPLQzlYjniHdC-jjKE0PJ2O-Py2/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-SD-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1AW_DJ6pjEh87FJMx6pPYzw?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/146CUGBRC0ce5uN9nCM08Jegc51abAz1b/view?usp=sharing<br />
<br />
==OpenWRT MTK MP3.1 wifi SDK or MT76 wifi driver for BE14000 Wifi Card==<br />
:Baidu Cloud: https://pan.baidu.com/s/1kguTbhlBVGvN7L9G3mgFQg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1DBPwMD-qDAIqPorqJwl3sf8TsAEh0BmF?usp=sharing<br />
<br />
Note: <br />
MTK vendor's MP3.1 wifi image package name: BPI-R4-BE1350-WIFI_MP3_1-SDK-20240202.zip<br />
opensource MT76 wifi image package name : BPI-R4-BE1350-WIFI_MT76-20240202.zip<br />
MTK vendor's MP3.1 wifi driver sourcecode can't be open source. only release Image. But supply all MT76 wifi driver sourcecode.<br />
(support Quectel RM500U-CN & RM520N-GL 5G Modules, EC25 EM05 4G Modules)<br />
<br />
==Debian 11==<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-5.4-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1q2WogyCtNOcejWRG1_GhXg?pwd=8888 (pincode:8888) <br />
:Google drive: https://drive.google.com/file/d/17JVoTtIZdcN-qSElTHpAKY2KlvYCgZPp/view?usp=sharing<br />
<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-6.1-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/199IjDbuzScMiWnwcjRX_Rg?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1ZNwDi9Eg_6SQYyKQgETOhBW7_6ix4Fna/view?usp=sharing<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 BSP repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but debian 11's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
==Ubuntu 22.04==<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-5.4-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1ou2ZHbyZEmquvHNhlZ6QHw?pwd=8888 (pincode:8888) <br />
:Google drive: https://drive.google.com/file/d/1LBBBzHWV_vDAeXDztkYW1TjDnqQweMYj/view?usp=sharing<br />
<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-6.1-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1WzfQWnlaC9zoLVA0JN3RbA?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1ZuLbFnFF7dDlbRw4Dhgkm4ROIl5KYKg7/view?usp=sharing<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 BSP repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but ubuntu-22.04's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
=BPI-R4 配件=<br />
==WiFi7 iPA NIC==<br />
Banana Pi BPI-R4 wifi7 module use MediaTek MT7996+MT7995+MT7977A+MT7977B chip design.<br />
<br />
===Wifi 7 module interface===<br />
<br />
[[File:Banana_Pi_BPI-R4_Wifi_7_interface.jpg]]<br />
<br />
==4G/5G Module==<br />
:BPI-R4 supports M.2 USB Interface Quectel 4G LTE EM25, RM500U-CN & RM520N-GL 5G Modules.<br />
:Theoretically, it also supports PCIe cellular modules, but it has not been tested<br />
:https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#2._4G.2F5G_Module<br />
<br />
==10G SFP Fibre==<br />
*[[Getting_Started_with_BPI-R4#1.10G_SFP_Module]]<br />
<br />
==SSD==<br />
*https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#3._NVMe_SSD<br />
<br />
=样品购买=<br />
*速卖通店铺:<br />
:SINOVOIP 速卖通店铺: https://www.aliexpress.us/item/1005006256712337.html?gatewayAdapt=4itemAdapt<br />
:Bipai 速卖通店铺: https://www.aliexpress.us/item/1005006256988361.html?gatewayAdapt=4itemAdapt<br />
:淘宝店铺: https://shop108780008.taobao.com/category-1744032218.htm?spm<br />
:OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Getting_Started_with_BPI-R4&diff=17121
Getting Started with BPI-R4
2024-03-13T00:28:27Z
<p>Sinovoip: /* 2.1) M.2 4G/5G Module(USB Interface) */</p>
<hr />
<div><br />
=Development=<br />
==Basic Development==<br />
===Prepare to develop===<br />
<br />
* Prepare 8G/above TF card, USB-Serial cable, Ubuntu System<br />
* '''12V/2A power adapter''' (without any peripherals, the power consumption of BPI-R4 Main Board will not exceed 10W in the most extreme cases. but you need to determine whether you need a higher power power adapter according to your own accessory usage)<br />
* Using your USB-Serial cable(3.3V TTL,Baud=115200) Connect to debug console on BPI-R4<br />
G=GND; RX=BPI-R4 input; TX=BPI-R4 output<br />
* Default IP address for LAN port: '''192.168.1.1'''<br />
* User name/password: '''pi/bananapi''' ,'''root/bananapi'''.<br />
Or the user is '''root without a password'''.<br />
* WIFI: '''AP_MTK_MT7990_2G'''/'''AP_MTK_MT7990_5G'''/'''AP_MTK_MT7990_6G'''<br />
[[File:R4 DebugPort.png|320px]]<br />
<br />
* BPI-R4 bootstrap and device select Jumper Setting<br />
[[File:R4-bootstrip.png|320px]]<br />
<br />
1. All Jumper is "1", BPI-R4 will boot from SD card<br />
[[File:R4 SDBOOT.png|500px]]<br />
<br />
2. SW3-A is "0" and SW3-B is "1" , BPI-R4 will boot from SPI NAND<br />
[[File:R4 NANDBOOT.png|500px]]<br />
<br />
3. SW3-A is "1" and SW3-B is "0" , BPI-R4 will boot from eMMC<br />
[[File:R4 eMMCBOOT.png|500px]]<br />
<br />
4. If the console said "system halt!", it means that the bootup storage does not cotain any OS<br />
F0: 102B 0000<br />
FA: 5100 0000<br />
FA: 5100 0000 [0200]<br />
F9: 1041 0000<br />
F3: 1001 0000 [0200]<br />
F3: 1001 0000<br />
F6: 102C 0000<br />
F5: 1026 0000<br />
00: 1005 0000<br />
FA: 5100 0000<br />
FA: 5100 0000 [0200]<br />
F9: 1041 0000<br />
F3: 1001 0000 [0200]<br />
F3: 1001 0000<br />
F6: 102C 0000<br />
01: 102A 0001<br />
02: 1005 0000<br />
BP: 0200 00C0 [0001]<br />
EC: 0000 0000 [0000]<br />
MK: 0000 0000 [0000]<br />
T0: 0000 00D7 [0101]<br />
System halt!<br />
<br />
===How to burn image for SD, EMMC Nand===<br />
Release Image: https://wiki.banana-pi.org/Banana_Pi_BPI-R4#Release_image<br />
Note: boot device select: https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#Prepare_to_develop<br />
====How to burn image to SD card====<br />
A. Note: burn image to SD card on linux computer<br />
1.You could download latest image from our forum<br />
<br />
2.Install bpi-tools on your Ubuntu. If you can't access this URL or any other problems, please go to [https://github.com/BPI-SINOVOIP/bpi-tools bpi-tools repo] and install this tools manually.<br />
* apt-get install pv<br />
* curl -sL https://github.com/BPI-SINOVOIP/bpi-tools/raw/master/bpi-tools | sudo -E bash<br />
<br />
3.After you download the image, insert your TF card into your Ubuntu<br />
* Execute "bpi-copy xxx.img /dev/sdx" to install image on your TF card<br />
<br />
4.After step 3, then you can insert your TF card into R4, and press power button to setup R4<br />
<br />
B. Note: burn image to SD card on windows computer<br />
[https://balena.io/etcher Balena Etcher] is an opensource GUI flash tool by Balena, Flash OS images to SDcard or USB drive.<br />
Click on "'''Flash from file'''" to select image. <br />
Click on "'''Select target'''" to select USB device. <br />
Click on "'''Flash!'''" Start burning.<br />
[[File:etcher.jpg]]<br />
<br />
C. Change Boot Jumper to boot from SD, Enable SD Card Device.<br />
<br />
* Note: boot device select: https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#Prepare_to_develop<br />
* Note: please low level format the SD and clear all data of SD. it's very important.<br />
<br />
====How to burn image to onboard Nand====<br />
Note: when you want to Update Nand device, Firstly Change boot switch to boot from SD device and insert one SD with SD boot Image, then after boot up,you need flash one nand image into nand device. Finally you change bootstrap to boot from Nand device.<br />
<br />
Before burning image into Nand, please prepare a USB disk. Let's take OpenWrt image (mtk-bpi-r4-NAND-20231030.img) for example, the steps are below:<br />
<br />
1. Copy Nand boot OpenWrt image(mtk-bpi-r4-NAND-20231030.img) to USB disk.<br />
<br />
2. Change boot switch Jumper, the board boot from SD device, then power up the board.<br />
<br />
3. Plug in USB disk to the board, and mount the USB to /mnt or other directory as follows: (you can skip mounting if it is mounted automatically)<br />
* mount -t vfat /dev/sda1 /mnt <br />
* change your directory to the mounting point, here is : cd /mnt<br />
<br />
4. Execute following command to erase the whole Nand flash and copy image to nand device:<br />
* mtd erase /dev/mtd0<br />
* dd if=mtk-bpi-r4-NAND-20231030.img of=/dev/mtdblock0<br />
<br />
5. Power off BPI-R4 board, unplug u-disk driver, change bootstrap to boot from Nand device.<br />
* Note: Enable Nand device, boot strap is from Nand.<br />
* Note: boot device select: https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#Prepare_to_develop<br />
<br />
====How to burn image to onboard eMMC====<br />
Note: because SD card and EMMC device share one SOC's controller, it is necessary to switch to NAND startup and then burn the EMMC image into the EMMC. Finally, you will change the boot to boot from EMMC.<br />
<br />
Before burning image to eMMC, please prepare a USB disk. Let's take OpenWrt image (bl2_emmc-r4.img, mtk-bpi-r4-EMMC-20231030.img) for example, the steps are below:<br />
<br />
1. Copy EMMC boot OpenWrt image(bl2_emmc-r4.img, mtk-bpi-r4-EMMC-20231030.img) to USB disk, if the image is compressed please uncompress it before copying to USB disk.<br />
<br />
2. Change the switch jumper to Nand and start the motherboard from Nand.<br />
Note: Enable Nand device, boot strap is from Nand<br />
<br />
3. Plug in USB disk to the board, and mount the USB to /mnt or other directory as follows: (you can skip mounting if it is mounted automatically)<br />
* mount -t vfat /dev/sda1 /mnt <br />
* change your directory to the mounting point, here is : cd /mnt<br />
<br />
4. Execute :<br />
* echo 0 > /sys/block/mmcblk0boot0/force_ro<br />
* dd if=bl2_emmc-r4.img of=/dev/mmcblk0boot0<br />
* dd if=mtk-bpi-r4-EMMC-20231030.img of=/dev/mmcblk0<br />
* mmc bootpart enable 1 1 /dev/mmcblk0<br />
<br />
5. Power off R4 board, remove u-disk driver, change bootstrap to boot from emmc device.<br />
* Note: Enable EMMC device, boot strap is from EMMC.<br />
* Note: boot device select: https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#Prepare_to_develop<br />
<br />
=== Network-Configuration===<br />
*Network-Configuration refer to: http://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:network:start<br />
*Network Interface: eth2, lan0 is for WAN; eth1, lan0, lan1, lan2, lan3 is for LAN, ra0/ra1 is for 2.4G wireless, rai0 is for 5G wifi6 wireless, rax0 is for 6G wifi7 wireless.<br />
<br />
[[Image:BPI-R4_network_interface.jpg|640px]]<br />
<br />
<br />
root@OpenWrt:/# ifconfig<br />
br-lan Link encap:Ethernet HWaddr EE:A1:57:81:CA:19<br />
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0<br />
inet6 addr: fe80::eca1:57ff:fe81:ca19/64 Scope:Link<br />
inet6 addr: fd63:8bea:d5ce::1/60 Scope:Global<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:2418 (2.3 KiB)<br />
br-wan Link encap:Ethernet HWaddr EE:A1:57:81:CA:19<br />
inet6 addr: fe80::eca1:57ff:fe81:ca19/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:8538 (8.3 KiB)<br />
eth0 Link encap:Ethernet HWaddr EE:A1:57:81:CA:19<br />
inet6 addr: fe80::eca1:57ff:fe81:ca19/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:4408 (4.3 KiB)<br />
Interrupt:124<br />
eth1 Link encap:Ethernet HWaddr 4A:BB:84:B4:5D:3F<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:8674 (8.4 KiB)<br />
Interrupt:124<br />
eth2 Link encap:Ethernet HWaddr 22:02:CE:9C:92:BA<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:8674 (8.4 KiB)<br />
Interrupt:124<br />
lan0 Link encap:Ethernet HWaddr EE:A1:57:81:CA:19<br />
UP BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
lan1 Link encap:Ethernet HWaddr EE:A1:57:81:CA:19<br />
UP BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
lan2 Link encap:Ethernet HWaddr EE:A1:57:81:CA:19<br />
UP BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
lan3 Link encap:Ethernet HWaddr EE:A1:57:81:CA:19<br />
UP BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
lo Link encap:Local Loopback<br />
inet addr:127.0.0.1 Mask:255.0.0.0<br />
inet6 addr: ::1/128 Scope:Host<br />
UP LOOPBACK RUNNING MTU:65536 Metric:1<br />
RX packets:56 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:4368 (4.2 KiB) TX bytes:4368 (4.2 KiB)<br />
ra0 Link encap:Ethernet HWaddr 00:0C:43:26:60:88<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
ra1 Link encap:Ethernet HWaddr 02:0C:43:36:60:88<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
rai0 Link encap:Ethernet HWaddr 00:0C:43:2B:B1:F8<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
rax0 Link encap:Ethernet HWaddr 0C:0C:43:26:60:D8<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
root@OpenWrt:/# brctl show br-wan<br />
bridge name bridge id STP enabled interfaces<br />
br-wan 7fff.eea15781ca19 no lan0, eth2<br />
root@OpenWrt:/# brctl show br-lan<br />
bridge name bridge id STP enabled interfaces<br />
br-lan 7fff.eea15781ca19 no apclii0 apclix0 apcli0 ra1 rai0 rax0 lan2 eth1 ra0 lan3 lan1<br />
root@OpenWrt:/#<br />
<br />
=Accessories=<br />
==1)10G SFP Module==<br />
<br />
The SFP serdes speed of BPI-R4 is fixed at 10Gbps, so only SFP that support this can be used!<br />
<br />
Usually the PIN6 of 10G SFP+ module is GND. After inserting the module, SFP_MOD_DEF0 will be pulled low, thereby turning on the SFP power supply.<br />
<br />
Therefore, if this PIN of the module is not GND, 3.3V_SFP power will not be supplied!<br />
<br />
[[File:R4 SFP Power.png|500px]]<br />
<br />
===1.1)10G SFP+ Copper Module===<br />
<br />
'''''The temperature of this module is very high when used for a long time, It can reach 90℃ without a heat sink or cooling fan. Be careful to prevent burns!<br />
'''''<br />
<br />
[[File:SFP-10G-T-AQR.png|500px]]<br />
<br />
root@R4CN:/# [ 67.870063] sfp sfp@0: SM: enter empty:up:down event insert<br />
[ 67.875642] sfp sfp@0: SM: exit probe:up:down<br />
[ 68.199179] sfp sfp@0: SM: enter probe:up:down event timeout<br />
[ 68.215970] sfp sfp@0: module OEM SFP-10G-T rev 10 sn 2309250003 dc 230925 <br />
[ 68.225443] sfp sfp@0: module OEM SFP-10G-T rev 10 has been found in the quirk list<br />
[ 68.235004] sfp sfp@0: sfp: support mode 00,00000800,00007040<br />
[ 68.240749] sfp sfp@0: tx disable 1 -> 0<br />
[ 68.244681] sfp sfp@0: SM: exit present:up:wait<br />
[ 68.343638] sfp sfp@0: SM: enter present:up:wait event los_high<br />
[ 68.349549] sfp sfp@0: SM: exit present:up:wait<br />
[ 82.476711] sfp sfp@0: SM: enter present:up:wait event los_low<br />
[ 82.482550] sfp sfp@0: SM: exit present:up:wait<br />
[ 83.584504] alloc new entry for 18:f2:2c:6f:45:3e, interface:eth2<br />
[ 83.590595] recv intf mac ae:19:d1:7e:2a:74<br />
[ 95.271188] sfp sfp@0: SM: enter present:up:wait event timeout<br />
[ 95.277715] sfp sfp@0: probing phy device through the [MDIO_I2C_ROLLBALL] protocol<br />
[ 95.821247] sfp sfp@0: CL45 PHY device [0x31c3:0x1c13] found!<br />
[ 95.826999] sfp sfp@0: CL45 PHY device [0x31c3:0x1c13] found!<br />
[ 95.832741] sfp sfp@0: CL45 PHY device [0x31c3:0x1c13] found!<br />
[ 95.838479] sfp sfp@0: CL45 PHY device [0x31c3:0x1c13] found!<br />
[ 95.844217] sfp sfp@0: CL45 PHY driver [Aquantia AQR113C] found!<br />
[ 95.850215] sfp sfp@0: phy: support mode 00,00018000,000e706c<br />
[ 95.855960] mtk_soc_eth 15100000.ethernet eth2: requesting link mode inband/10gbase-kr with support 00,00018000,000a7068<br />
[ 96.273193] mtk_soc_eth 15100000.ethernet eth2: PHY [i2c:sfp@0:11] driver [Aquantia AQR113C]<br />
[ 96.357199] sfp sfp@0: SM: exit present:up:link_up<br />
[ 96.357206] mtk_soc_eth 15100000.ethernet eth2: resolve link status: system iface=1, line iface=0<br />
[ 96.630718] sfp sfp@0: SM: enter present:up:link_up event los_high<br />
[ 96.636904] sfp sfp@0: SM: exit present:up:wait_los<br />
[ 101.395228] sfp sfp@0: SM: enter present:up:wait_los event los_low<br />
[ 101.401416] sfp sfp@0: SM: exit present:up:link_up<br />
[ 101.401426] mtk_soc_eth 15100000.ethernet eth2: resolve link status: system iface=1, line iface=0<br />
[ 101.696172] mtk_soc_eth 15100000.ethernet eth2: Link is Up - 10Gbps/Full - flow control off<br />
[ 101.704534] br-wan: port 2(eth2) entered blocking state<br />
[ 101.709754] br-wan: port 2(eth2) entered forwarding state<br />
root@R4CN:/# <br />
root@R4CN:/# i2cdetect -y 3<br />
0 1 2 3 4 5 6 7 8 9 a b c d e f<br />
00: -- -- -- -- -- -- -- -- <br />
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
50: 50 51 -- -- -- -- 56 -- -- -- -- -- -- -- -- -- <br />
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
70: UU -- -- -- -- -- -- -- <br />
root@R4CN:/# <br />
root@R4CN:/# ethtool eth2<br />
Settings for eth2:<br />
Supported ports: [ ]<br />
Supported link modes: 100baseT/Full <br />
1000baseT/Full <br />
10000baseT/Full <br />
1000baseKX/Full <br />
10000baseKR/Full <br />
2500baseT/Full <br />
5000baseT/Full <br />
Supported pause frame use: Symmetric Receive-only<br />
Supports auto-negotiation: Yes<br />
Supported FEC modes: Not reported<br />
Advertised link modes: 100baseT/Full <br />
1000baseT/Full <br />
10000baseT/Full <br />
1000baseKX/Full <br />
10000baseKR/Full <br />
2500baseT/Full <br />
5000baseT/Full <br />
Advertised pause frame use: Symmetric Receive-only<br />
Advertised auto-negotiation: Yes<br />
Advertised FEC modes: Not reported<br />
Link partner advertised link modes: 10baseT/Full <br />
100baseT/Full <br />
1000baseT/Full <br />
10000baseT/Full <br />
2500baseT/Full <br />
5000baseT/Full <br />
Link partner advertised pause frame use: No<br />
Link partner advertised auto-negotiation: Yes<br />
Link partner advertised FEC modes: Not reported<br />
Speed: 10000Mb/s<br />
Duplex: Full<br />
Port: MII<br />
PHYAD: 17<br />
Transceiver: external<br />
Auto-negotiation: on<br />
Current message level: 0x000000ff (255)<br />
drv probe link timer ifdown ifup rx_err tx_err<br />
Link detected: yes<br />
root@R4CN:/# <br />
<br />
<br />
Note: <br />
<br />
Do not pull out '''this module''' once it is inserted, otherwise it will cause BPI-R4 to reboot.This phenomenon does not exist with other modules.<br />
<br />
root@R4CN:/# [ 201.763041] mapfilter:drop IP addr timeout! stop dropping IP addr.<br />
[ 499.938345] sfp sfp@0: SM: enter present:up:link_up event los_high<br />
[ 499.950712] mtk_soc_eth 15100000.ethernet eth2: Link is Down<br />
[ 499.956370] sfp sfp@0: SM: exit present:up:wait_los<br />
[ 499.961367] br-wan: port 2(eth2) entered disabled state<br />
[ 502.867442] sfp sfp@0: SM: enter present:up:wait_los event remove<br />
[ 502.873705] sfp sfp@0: module removed<br />
[ 502.877937] sfp sfp@0: tx disable 0 -> 1<br />
[ 502.881872] sfp sfp@0: SM: exit empty:up:down<br />
[ 503.164077] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000180<br />
[ 503.172853] Mem abort info:<br />
[ 503.175634] ESR = 0x96000006<br />
[ 503.178683] EC = 0x25: DABT (current EL), IL = 32 bits<br />
[ 503.183985] SET = 0, FnV = 0<br />
[ 503.187030] EA = 0, S1PTW = 0<br />
[ 503.190162] Data abort info:<br />
[ 503.193035] ISV = 0, ISS = 0x00000006<br />
[ 503.196861] CM = 0, WnR = 0<br />
[ 503.199816] user pgtable: 4k pages, 39-bit VAs, pgdp=000000012fd21000<br />
[ 503.206246] [0000000000000180] pgd=0000000132bfb003, pud=0000000132bfb003, pmd=0000000000000000<br />
[ 503.214936] Internal error: Oops: 96000006 [#1] SMP<br />
[ 503.219799] Modules linked in: ksmbd mt7991(P) mt7990(P) iptable_nat ipt_REJECT xt_time xt_tcpudp xt_state xt_socket xt_recent xt_policy xt_nat xt_multiport xt_mark xt_mac xt_limit xt_iprange xt_helper xt_esp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TPROXY xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_FLOWOFFLOAD xt_CT usblp ts_fsm ts_bm spidev rfcomm pptp ppp_mppe nf_tproxy_ipv6 nf_tproxy_ipv4 nf_socket_ipv6 nf_socket_ipv4 nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_irc nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conncount mtqos mtfwd mapfilter libcrc32c l2tp_ppp iptable_raw iptable_mangle iptable_filter ipt_ah ip_tables hidp btusb btintel bnep asn1_decoder mt7990_dbg(P) mtk_wed(P) mtk_pci(P) connac_if(P) mtk_hwifi(P)<br />
[ 503.219869] mt_wifi(P) hid mt_wifi_cmn evdev input_core cfg80211 compat xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 nfsd ip6_gre ip_gre gre l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel ipcomp6 xfrm6_tunnel esp6 ah6 ip6_tunnel tunnel6 ip_tunnel rpcsec_gss_krb5 auth_rpcgss oid_registry af_key lockd sunrpc grace autofs4 dm_mirror dm_region_hash dm_log dm_crypt nls_utf8 nls_iso8859_1 nls_cp437 macsec seqiv md4 ghash_generic gf128mul gcm cts ctr ccm arc4 mtk_warp mtkhnat leds_gpio xhci_plat_hcd ohci_platform ohci_hcd fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd gpio_button_hotplug<br />
[ 503.390068] CPU: 2 PID: 7304 Comm: aqr107_mib_thre Tainted: P 5.4.246 #0<br />
[ 503.398227] Hardware name: Bananapi BPI-R4 (DT)<br />
[ 503.402746] pstate: 80000005 (Nzcv daif -PAN -UAO)<br />
[ 503.407531] pc : __phy_read_mmd+0x20/0xa0<br />
[ 503.411529] lr : phy_read_mmd+0x38/0x60<br />
[ 503.415351] sp : ffffffc01388bd90<br />
[ 503.418653] x29: ffffffc01388bd90 x28: 0000000000000000 <br />
[ 503.423952] x27: ffffff80f2ae3638 x26: ffffffc010a373c0 <br />
[ 503.429250] x25: ffffffc010557918 x24: ffffff80f4ce8800 <br />
[ 503.434547] x23: ffffffc010d83908 x22: ffffffc01388be3c <br />
[ 503.439845] x21: 000000000000e811 x20: 0000000000000003 <br />
[ 503.445142] x19: ffffff80f4ce8800 x18: ffffffc010c0a1a8 <br />
[ 503.450440] x17: 000000000000003c x16: 000000000000003c <br />
[ 503.455738] x15: 0000000000000018 x14: 00000000fffbd1b0 <br />
[ 503.461035] x13: 00000000000001f4 x12: ffffffc010c0a160 <br />
[ 503.466332] x11: 000000000000c503 x10: 0000000000000830 <br />
[ 503.471630] x9 : ffffffc01388bd10 x8 : ffffff80efda0890 <br />
[ 503.476927] x7 : ffffffc0eec26000 x6 : ffffffc0eec26000 <br />
[ 503.482224] x5 : 0000000000000000 x4 : 0000000000000000 <br />
[ 503.487522] x3 : ffffff80f4ce8800 x2 : 000000000000e811 <br />
[ 503.492819] x1 : 0000000000000003 x0 : ffffff80f4ce8800 <br />
[ 503.498117] Call trace:<br />
[ 503.500553] __phy_read_mmd+0x20/0xa0<br />
[ 503.504202] phy_read_mmd+0x38/0x60<br />
[ 503.507680] aqr107_mib_read_word+0x2c/0x60<br />
[ 503.511850] aqr107_mib_read+0x24/0x200<br />
[ 503.515673] aqr107_mib_thread+0x20/0x50<br />
[ 503.519585] kthread+0x120/0x128<br />
[ 503.522801] ret_from_fork+0x10/0x1c<br />
[ 503.526368] Code: a9be7bfd aa0003e3 910003fd f9418005 (f940c0a5) <br />
[ 503.532447] ---[ end trace 3fa317a53584315f ]---<br />
[ 503.538554] Kernel panic - not syncing: Fatal exception<br />
[ 503.543768] SMP: stopping secondary CPUs<br />
[ 503.547680] Kernel Offset: disabled<br />
[ 503.551155] CPU features: 0x10002,20002008<br />
[ 503.555238] Memory Limit: none<br />
[ 503.559792] Starting Memory dump SMCC<br />
[ 503.563452] Memory dump SMCC failed<br />
[ 503.566929] Rebooting in 3 seconds..<br />
<br />
===1.2)10G SFP+ Fibre Module===<br />
<br />
[[File:SFP-10G-BX20.png|500px]]<br />
<br />
root@R4CN:/# [ 455.370399] sfp sfp@1: SM: enter empty:up:down event insert<br />
[ 455.375999] sfp sfp@1: SM: exit probe:up:down<br />
[ 455.687021] sfp sfp@1: SM: enter probe:up:down event timeout<br />
[ 455.703815] sfp sfp@1: module OEM SFP-10G-BX20-U rev 1.0 sn 2309250008 dc 230925 <br />
[ 455.713292] sfp sfp@1: sfp: support mode 00,00001000,00006040<br />
[ 455.719042] mtk_soc_eth 15100000.ethernet eth1: requesting link mode inband/10gbase-kr with support 00,00001000,00006440<br />
[ 455.740862] sfp sfp@1: tx disable 1 -> 0<br />
[ 455.744792] sfp sfp@1: SM: exit present:up:wait<br />
[ 455.799020] sfp sfp@1: SM: enter present:up:wait event timeout<br />
[ 455.804849] sfp sfp@1: probing phy device through the [MDIO_I2C_NONE] protocol<br />
[ 455.812066] sfp sfp@1: SM: exit present:up:link_up<br />
[ 455.833979] mtk_soc_eth 15100000.ethernet eth1: resolve link status: system iface=0<br />
[ 455.843477] sfp sfp@1: SM: enter present:up:link_up event los_high<br />
[ 455.849657] sfp sfp@1: SM: exit present:up:wait_los<br />
[ 476.904686] sfp sfp@1: SM: enter present:up:wait_los event los_low<br />
[ 476.910875] sfp sfp@1: SM: exit present:up:link_up<br />
[ 476.941863] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control off<br />
[ 476.950225] br-lan: port 4(eth1) entered blocking state<br />
[ 476.955445] br-lan: port 4(eth1) entered forwarding state<br />
[ 477.784529] alloc new entry for 18:f2:2c:6f:45:3e, interface:eth1<br />
[ 477.790622] recv intf mac 76:38:02:df:74:7f<br />
root@R4CN:/# <br />
root@R4CN:/# i2cdetect -y 4<br />
0 1 2 3 4 5 6 7 8 9 a b c d e f<br />
00: -- -- -- -- -- -- -- -- <br />
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
50: 50 51 -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
70: UU -- -- -- -- -- -- -- <br />
root@R4CN:/# <br />
root@R4CN:/# ethtool eth1<br />
Settings for eth1:<br />
Supported ports: [ FIBRE ]<br />
Supported link modes: 10000baseLR/Full <br />
Supported pause frame use: Symmetric Receive-only<br />
Supports auto-negotiation: Yes<br />
Supported FEC modes: Not reported<br />
Advertised link modes: 10000baseLR/Full <br />
Advertised pause frame use: Symmetric Receive-only<br />
Advertised auto-negotiation: Yes<br />
Advertised FEC modes: Not reported<br />
Speed: 10000Mb/s<br />
Duplex: Full<br />
Port: FIBRE<br />
PHYAD: 0<br />
Transceiver: internal<br />
Auto-negotiation: on<br />
Current message level: 0x000000ff (255)<br />
drv probe link timer ifdown ifup rx_err tx_err<br />
Link detected: yes<br />
root@R4CN:/#<br />
<br />
==2) 4G/5G Module==<br />
===2.1) M.2 4G/5G Module(USB Interface)===<br />
* BPI-R4 supports M.2 USB Interface Quectel 4G LTE EM05, RM500U-CN & RM520N-GL 5G Modules.<br />
<br />
* If you want to use M.2 Cellular Module on BPI-R4:<br />
1. Install 4G/5G Cellular Module into CN16 Slot(M.2 KEYB)<br />
2. Inset NANOSIM Card into SIMSlot(SIM1) with card tray(pay attention to the direction)<br />
3. Install antenna on the module<br />
4. After powering on, it will automatically dial<br />
Note: The availability of 4G/5G depends on the local carrier frequency band.<br />
<br />
[[File:BPI-R4-cellular.jpg|640px]]<br />
<br />
<br />
[[File:SIMSlot-SIM1.jpg|640px]]<br />
<br />
<br />
[[File:R4-CN16-SCH.jpg|640px]]<br />
<br />
<br />
'''Quectel RM520N-GL'''<br />
wwan0 Link encap:Ethernet HWaddr A6:35:F7:7A:9E:A7 <br />
inet6 addr: fe80::a435:f7ff:fe7a:9ea7/64 Scope:Link<br />
UP RUNNING NOARP MTU:1500 Metric:1<br />
RX packets:4 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:1272 (1.2 KiB) TX bytes:1932 (1.8 KiB)<br />
wwan0_1 Link encap:Ethernet HWaddr A6:35:F7:7A:9E:A7 <br />
inet addr:10.46.121.135 Mask:255.255.255.240<br />
inet6 addr: fe80::a435:f7ff:fe7a:9ea7/64 Scope:Link<br />
UP RUNNING NOARP MTU:1500 Metric:1<br />
RX packets:4 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:1292 (1.2 KiB) TX bytes:1932 (1.8 KiB)<br />
root@R4CN:/# <br />
root@R4CN:/# lsusb<br />
Bus 002 Device 003: ID 2c7c:0801 Quectel RM520N-GL<br />
Bus 002 Device 002: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub <br />
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 001 Device 003: ID 2109:8822 VIA Labs, Inc. USB Billboard Device <br />
Bus 001 Device 002: ID 2109:2822 VIA Labs, Inc. USB2.0 Hub <br />
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
root@R4CN:/# <br />
root@R4CN:/# ping www.baidu.com<br />
PING www.baidu.com (120.232.145.185): 56 data bytes<br />
64 bytes from 120.232.145.185: seq=0 ttl=52 time=30.712 ms<br />
64 bytes from 120.232.145.185: seq=1 ttl=52 time=32.774 ms<br />
64 bytes from 120.232.145.185: seq=2 ttl=52 time=45.222 ms<br />
64 bytes from 120.232.145.185: seq=3 ttl=52 time=37.850 ms<br />
64 bytes from 120.232.145.185: seq=4 ttl=52 time=53.459 ms<br />
^C<br />
--- www.baidu.com ping statistics ---<br />
5 packets transmitted, 5 packets received, 0% packet loss<br />
round-trip min/avg/max = 30.712/40.003/53.459 ms<br />
root@R4CN:/#<br />
<br />
<br />
'''RM500U-CN'''<br />
usb0 Link encap:Ethernet HWaddr 5E:3B:9C:76:7C:46 <br />
inet addr:10.95.9.23 Bcast:10.95.9.255 Mask:255.255.255.0<br />
inet6 addr: fe80::5c3b:9cff:fe76:7c46/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:34 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:62 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:7908 (7.7 KiB) TX bytes:10100 (9.8 KiB)<br />
root@R4CN:/# <br />
root@R4CN:/# lsusb<br />
Bus 002 Device 003: ID 2c7c:0900 Quectel RM500U-CN<br />
Bus 002 Device 002: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub <br />
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 001 Device 003: ID 2109:8822 VIA Labs, Inc. USB Billboard Device <br />
Bus 001 Device 002: ID 2109:2822 VIA Labs, Inc. USB2.0 Hub <br />
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
root@R4CN:/# <br />
root@R4CN:/# ping www.baidu.com<br />
PING www.baidu.com (2409:8c54:870:34e:0:ff:b024:1916): 56 data bytes<br />
64 bytes from 2409:8c54:870:34e:0:ff:b024:1916: seq=0 ttl=51 time=55.105 ms<br />
64 bytes from 2409:8c54:870:34e:0:ff:b024:1916: seq=1 ttl=51 time=38.725 ms<br />
64 bytes from 2409:8c54:870:34e:0:ff:b024:1916: seq=2 ttl=51 time=39.890 ms<br />
^C<br />
--- www.baidu.com ping statistics ---<br />
3 packets transmitted, 3 packets received, 0% packet loss<br />
round-trip min/avg/max = 38.725/44.573/55.105 ms<br />
root@R4CN:/#<br />
<br />
<br />
'''EM05-CE'''<br />
wwan0 Link encap:Ethernet HWaddr F2:CC:52:10:2E:27 <br />
inet addr:10.21.103.116 Bcast:0.0.0.0 Mask:255.255.255.248<br />
inet6 addr: fe80::f0cc:52ff:fe10:2e27/64 Scope:Link<br />
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1<br />
RX packets:56 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:91 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:7868 (7.6 KiB) TX bytes:10133 (9.8 KiB)<br />
root@R4CN:/# <br />
root@R4CN:/# lsusb<br />
Bus 001 Device 012: ID 2c7c:0125 Quectel Incorporated LTE Module<br />
Bus 002 Device 002: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub <br />
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 001 Device 003: ID 2109:8822 VIA Labs, Inc. USB Billboard Device <br />
Bus 001 Device 002: ID 2109:2822 VIA Labs, Inc. USB2.0 Hub <br />
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
root@R4CN:/# <br />
root@R4CN:/# ping www.baidu.com<br />
PING www.baidu.com (120.232.145.144): 56 data bytes<br />
64 bytes from 120.232.145.144: seq=0 ttl=53 time=47.085 ms<br />
64 bytes from 120.232.145.144: seq=1 ttl=53 time=36.447 ms<br />
^C<br />
--- www.baidu.com ping statistics ---<br />
2 packets transmitted, 2 packets received, 0% packet loss<br />
round-trip min/avg/max = 36.447/41.766/47.085 ms<br />
root@R4CN:/#<br />
<br />
===2.2) M.2 4G/5G Module(PCIe Interface)===<br />
Theoretically, it also supports PCIe cellular modules, but it has not been tested<br />
<br />
<br />
===2.3) miniPCIe 4G/5G Module(USB Interface)===<br />
<br />
==3) Storage==<br />
===3.1)NVMe SSD===<br />
<br />
*Please insert one M.2 KeyM SSD(PCIe interface) into KeyM slot(CN18).<br />
No compatibility testing has been done and there is no guarantee that all SSDs can be used.<br />
<br />
[[File:R4-SSD.jpg|640px]]<br />
<br />
root@R4CN:/# lspci<br />
0002:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)<br />
0002:01:00.0 Non-Volatile memory controller: KIOXIA Corporation Device 0001<br />
0004:00:00.0 Unclassified device [0002]: MEDIATEK Corp. Device 7981<br />
root@R4CN:/# <br />
root@R4CN:/# <br />
root@R4CN:/# cat /proc/partitions<br />
major minor #blocks name<br />
31 0 131072 mtdblock0<br />
259 0 125034840 nvme0n1<br />
259 1 125033472 nvme0n1p1<br />
31 1 1024 mtdblock1<br />
31 2 512 mtdblock2<br />
31 3 4096 mtdblock3<br />
31 4 2048 mtdblock4<br />
31 5 115200 mtdblock5<br />
179 0 7634944 mmcblk0<br />
253 0 56172 ubiblock0_1<br />
root@R4CN:/# <br />
root@R4CN:/#<br />
<br />
===3.2) PCIe to SATA===<br />
BPI-R4 supports JMicron's JMB585 (PCIe to 5x SATA chip)<br />
<br />
[[File:BPI-R4-PCIe2SATA.jpg|640px]]<br />
<br />
[[File:BPI-R4-PCIe2SATA-Cable.jpg|640px]]<br />
<br />
<br />
CN19 is a 2.54mm pitch socket(XH-4A) that can power SATA HDD (about 12V/2A, 5V/2A)<br />
<br />
[[File:BPI-R4-SATAPWR.jpg|640px]]<br />
<br />
<br />
root@R4CN:/# lspci<br />
0002:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)<br />
0002:01:00.0 SATA controller: JMicron Technology Corp. JMB58x AHCI SATA controller<br />
0004:00:00.0 Unclassified device [0002]: MEDIATEK Corp. Device 7981<br />
root@R4CN:/# <br />
root@R4CN:/#<br />
root@R4CN:/# [ 743.794932] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)<br />
[ 743.802031] ata1.00: HPA detected: current 234439535, native 234441648<br />
[ 743.808746] ata1.00: ATA-8: Hitachi HTS542512K9SA00, BB2OC31P, max UDMA/133<br />
[ 743.815699] ata1.00: 234439535 sectors, multi 0: LBA48 NCQ (depth 32), AA<br />
[ 743.823749] ata1.00: configured for UDMA/133<br />
[ 743.828182] scsi 0:0:0:0: Direct-Access ATA Hitachi HTS54251 C31P PQ: 0 ANSI: 5<br />
[ 743.836710] sd 0:0:0:0: [sda] 234439535 512-byte logical blocks: (120 GB/112 GiB)<br />
[ 743.844204] sd 0:0:0:0: [sda] Write Protect is off<br />
[ 743.848992] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00<br />
[ 743.854075] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA<br />
[ 744.221268] sda: sda1 sda2<br />
[ 744.224485] sd 0:0:0:0: [sda] Attached SCSI disk<br />
[ 744.459896] EXT4-fs (sda1): The kernel was not built with CONFIG_QUOTA and CONFIG_QFMT_V2<br />
root@R4CN:/# <br />
root@R4CN:/#<br />
root@R4CN:/# cat /proc/partitions<br />
major minor #blocks name<br />
31 0 131072 mtdblock0<br />
31 1 1024 mtdblock1<br />
31 2 512 mtdblock2<br />
31 3 4096 mtdblock3<br />
31 4 2048 mtdblock4<br />
31 5 115200 mtdblock5<br />
179 0 7634944 mmcblk0<br />
253 0 56172 ubiblock0_1<br />
8 0 117219767 sda<br />
8 1 8388608 sda1<br />
8 2 2097152 sda2<br />
root@R4CN:/#<br />
<br />
===3.3) PCIe to USB===<br />
BPI-R4 Also supports ASMedia's ASM2142. But this module requires an additional 5V power supply.<br />
<br />
[[File:BPI-R4-PCIe2USB.jpg|640px]]<br />
<br />
root@R4CN:/# lspci<br />
0002:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)<br />
0002:01:00.0 USB controller: ASMedia Technology Inc. ASM2142 USB 3.1 Host Controller<br />
0004:00:00.0 Unclassified device [0002]: MEDIATEK Corp. Device 7981<br />
root@R4CN:/# <br />
root@R4CN:/# lsusb<br />
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 003 Device 003: ID 2109:8822 VIA Labs, Inc. USB Billboard Device <br />
Bus 003 Device 002: ID 2109:2822 VIA Labs, Inc. USB2.0 Hub <br />
Bus 004 Device 002: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub <br />
Bus 004 Device 001: ID 1d6b:0003 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 003 Device 001: ID 1d6b:0002 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
root@R4CN:/# <br />
root@R4CN:/# [ 65.031157] usb 1-2: new high-speed USB device number 2 using xhci_hcd<br />
[ 65.312671] usb-storage 1-2:1.0: USB Mass Storage device detected<br />
[ 65.318899] scsi host0: usb-storage 1-2:1.0<br />
[ 66.341397] scsi 0:0:0:0: Direct-Access HIKSEMI MD202 1.00 PQ: 0 ANSI: 6<br />
[ 66.351211] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB)<br />
[ 66.359500] sd 0:0:0:0: [sda] Write Protect is off<br />
[ 66.364288] sd 0:0:0:0: [sda] Mode Sense: 37 00 00 08<br />
[ 66.370127] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA<br />
[ 66.399133] sda: sda1 sda2<br />
[ 66.405370] sd 0:0:0:0: [sda] Attached SCSI disk<br />
[ 66.567935] [EXFAT] trying to mount...<br />
[ 66.596276] [EXFAT] mounted successfully<br />
[ 66.688447] FAT-fs (sda2): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!<br />
[ 66.705213] FAT-fs (sda2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.<br />
root@R4CN:/# <br />
root@R4CN:/# lsusb<br />
Bus 001 Device 002: ID 0bda:9210 HIKSEMI MD202<br />
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 003 Device 003: ID 2109:8822 VIA Labs, Inc. USB Billboard Device <br />
Bus 003 Device 002: ID 2109:2822 VIA Labs, Inc. USB2.0 Hub <br />
Bus 004 Device 002: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub <br />
Bus 004 Device 001: ID 1d6b:0003 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 003 Device 001: ID 1d6b:0002 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
root@R4CN:/# <br />
root@R4CN:/# <br />
root@R4CN:/# cat /proc/partitions<br />
major minor #blocks name<br />
31 0 131072 mtdblock0<br />
31 1 1024 mtdblock1<br />
31 2 512 mtdblock2<br />
31 3 4096 mtdblock3<br />
31 4 2048 mtdblock4<br />
31 5 115200 mtdblock5<br />
179 0 7634944 mmcblk0<br />
253 0 56172 ubiblock0_1<br />
8 0 125034840 sda<br />
8 1 125001048 sda1<br />
8 2 32768 sda2<br />
root@R4CN:/#<br />
<br />
<br />
This module can be used on M.2 KEYB Slot (but the module size2260 and has no place to fix it)<br />
<br />
[[File:BPI-R4-KEYB2USB.jpg|640px]]<br />
<br />
root@R4CN:/# lspci<br />
0003:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)<br />
0003:01:00.0 USB controller: ASMedia Technology Inc. ASM2142 USB 3.1 Host Controller<br />
0004:00:00.0 Unclassified device [0002]: MEDIATEK Corp. Device 7981<br />
<br />
==4) Wi-Fi7 NIC==<br />
:You can insert the BPI-R4-NIC into CN12 and CN14 at the bottom of BPI-R4-Main, and then fix it with two M2 screws.<br />
<br />
:The BPI-R4-NIC module requires 12V power supply, so the power supply on the BPI-R4-Main must be turned on before powering on (SW4 is turned to the "ON" position, and the 12V LED will lights up when power on)<br />
<br />
:'''NOTE:The 12V power supply will be supplied to the BPI-R4-NIC through PIN6/8/48 of the miniPCI socket. When plugging in other modules, be sure to turn off SW4 if you cannot confirm whether the module can withstand 12V.'''<br />
<br />
<br />
[[File:BPI-R4-miniPCIeSlot.jpg|640px]]<br />
<br />
<br />
[[File:BPI-R4-miniPCIeSlot-Power.jpg|640px]]<br />
<br />
<br />
===4.1)BPI-R4-NIC-BE14===<br />
<br />
BPI-R4-NIC-BE14 Block_Diagram: MT7995AV+MT7976CN+MT7977IAN<br />
<br />
[[File:BE14-Block Diagram.jpg|640px]]<br />
<br />
<br />
[[File:BPI-R4-NIC-BE14 2.jpg|640px]]<br />
<br />
root@OpenWrt:/# lspci<br />
0000:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)<br />
0000:01:00.0 Network controller: MEDIATEK Corp. Device 7990<br />
0001:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)<br />
0001:01:00.0 Network controller: MEDIATEK Corp. Device 7991<br />
0004:00:00.0 Unclassified device [0002]: MEDIATEK Corp. Device 7981<br />
<br />
===4.2)BPI-R4-NIC-BE19===<br />
<br />
<br />
==5)Heat sink==<br />
<br />
Place two small thermal pads on the DDR and a large thermal pad on the chip. Then cover the heat sink.<br />
<br />
[[File:BPI-R4_Thermal_pad.jpg|680px]]<br />
<br />
Then cover the heat sink.<br />
<br />
[[File:BPI-R4_Heat sink.jpg|680px]]</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Getting_Started_with_BPI-R4&diff=17120
Getting Started with BPI-R4
2024-03-12T06:46:52Z
<p>Sinovoip: /* Prepare to develop */</p>
<hr />
<div><br />
=Development=<br />
==Basic Development==<br />
===Prepare to develop===<br />
<br />
* Prepare 8G/above TF card, USB-Serial cable, Ubuntu System<br />
* '''12V/2A power adapter''' (without any peripherals, the power consumption of BPI-R4 Main Board will not exceed 10W in the most extreme cases. but you need to determine whether you need a higher power power adapter according to your own accessory usage)<br />
* Using your USB-Serial cable(3.3V TTL,Baud=115200) Connect to debug console on BPI-R4<br />
G=GND; RX=BPI-R4 input; TX=BPI-R4 output<br />
* Default IP address for LAN port: '''192.168.1.1'''<br />
* User name/password: '''pi/bananapi''' ,'''root/bananapi'''.<br />
Or the user is '''root without a password'''.<br />
* WIFI: '''AP_MTK_MT7990_2G'''/'''AP_MTK_MT7990_5G'''/'''AP_MTK_MT7990_6G'''<br />
[[File:R4 DebugPort.png|320px]]<br />
<br />
* BPI-R4 bootstrap and device select Jumper Setting<br />
[[File:R4-bootstrip.png|320px]]<br />
<br />
1. All Jumper is "1", BPI-R4 will boot from SD card<br />
[[File:R4 SDBOOT.png|500px]]<br />
<br />
2. SW3-A is "0" and SW3-B is "1" , BPI-R4 will boot from SPI NAND<br />
[[File:R4 NANDBOOT.png|500px]]<br />
<br />
3. SW3-A is "1" and SW3-B is "0" , BPI-R4 will boot from eMMC<br />
[[File:R4 eMMCBOOT.png|500px]]<br />
<br />
4. If the console said "system halt!", it means that the bootup storage does not cotain any OS<br />
F0: 102B 0000<br />
FA: 5100 0000<br />
FA: 5100 0000 [0200]<br />
F9: 1041 0000<br />
F3: 1001 0000 [0200]<br />
F3: 1001 0000<br />
F6: 102C 0000<br />
F5: 1026 0000<br />
00: 1005 0000<br />
FA: 5100 0000<br />
FA: 5100 0000 [0200]<br />
F9: 1041 0000<br />
F3: 1001 0000 [0200]<br />
F3: 1001 0000<br />
F6: 102C 0000<br />
01: 102A 0001<br />
02: 1005 0000<br />
BP: 0200 00C0 [0001]<br />
EC: 0000 0000 [0000]<br />
MK: 0000 0000 [0000]<br />
T0: 0000 00D7 [0101]<br />
System halt!<br />
<br />
===How to burn image for SD, EMMC Nand===<br />
Release Image: https://wiki.banana-pi.org/Banana_Pi_BPI-R4#Release_image<br />
Note: boot device select: https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#Prepare_to_develop<br />
====How to burn image to SD card====<br />
A. Note: burn image to SD card on linux computer<br />
1.You could download latest image from our forum<br />
<br />
2.Install bpi-tools on your Ubuntu. If you can't access this URL or any other problems, please go to [https://github.com/BPI-SINOVOIP/bpi-tools bpi-tools repo] and install this tools manually.<br />
* apt-get install pv<br />
* curl -sL https://github.com/BPI-SINOVOIP/bpi-tools/raw/master/bpi-tools | sudo -E bash<br />
<br />
3.After you download the image, insert your TF card into your Ubuntu<br />
* Execute "bpi-copy xxx.img /dev/sdx" to install image on your TF card<br />
<br />
4.After step 3, then you can insert your TF card into R4, and press power button to setup R4<br />
<br />
B. Note: burn image to SD card on windows computer<br />
[https://balena.io/etcher Balena Etcher] is an opensource GUI flash tool by Balena, Flash OS images to SDcard or USB drive.<br />
Click on "'''Flash from file'''" to select image. <br />
Click on "'''Select target'''" to select USB device. <br />
Click on "'''Flash!'''" Start burning.<br />
[[File:etcher.jpg]]<br />
<br />
C. Change Boot Jumper to boot from SD, Enable SD Card Device.<br />
<br />
* Note: boot device select: https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#Prepare_to_develop<br />
* Note: please low level format the SD and clear all data of SD. it's very important.<br />
<br />
====How to burn image to onboard Nand====<br />
Note: when you want to Update Nand device, Firstly Change boot switch to boot from SD device and insert one SD with SD boot Image, then after boot up,you need flash one nand image into nand device. Finally you change bootstrap to boot from Nand device.<br />
<br />
Before burning image into Nand, please prepare a USB disk. Let's take OpenWrt image (mtk-bpi-r4-NAND-20231030.img) for example, the steps are below:<br />
<br />
1. Copy Nand boot OpenWrt image(mtk-bpi-r4-NAND-20231030.img) to USB disk.<br />
<br />
2. Change boot switch Jumper, the board boot from SD device, then power up the board.<br />
<br />
3. Plug in USB disk to the board, and mount the USB to /mnt or other directory as follows: (you can skip mounting if it is mounted automatically)<br />
* mount -t vfat /dev/sda1 /mnt <br />
* change your directory to the mounting point, here is : cd /mnt<br />
<br />
4. Execute following command to erase the whole Nand flash and copy image to nand device:<br />
* mtd erase /dev/mtd0<br />
* dd if=mtk-bpi-r4-NAND-20231030.img of=/dev/mtdblock0<br />
<br />
5. Power off BPI-R4 board, unplug u-disk driver, change bootstrap to boot from Nand device.<br />
* Note: Enable Nand device, boot strap is from Nand.<br />
* Note: boot device select: https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#Prepare_to_develop<br />
<br />
====How to burn image to onboard eMMC====<br />
Note: because SD card and EMMC device share one SOC's controller, it is necessary to switch to NAND startup and then burn the EMMC image into the EMMC. Finally, you will change the boot to boot from EMMC.<br />
<br />
Before burning image to eMMC, please prepare a USB disk. Let's take OpenWrt image (bl2_emmc-r4.img, mtk-bpi-r4-EMMC-20231030.img) for example, the steps are below:<br />
<br />
1. Copy EMMC boot OpenWrt image(bl2_emmc-r4.img, mtk-bpi-r4-EMMC-20231030.img) to USB disk, if the image is compressed please uncompress it before copying to USB disk.<br />
<br />
2. Change the switch jumper to Nand and start the motherboard from Nand.<br />
Note: Enable Nand device, boot strap is from Nand<br />
<br />
3. Plug in USB disk to the board, and mount the USB to /mnt or other directory as follows: (you can skip mounting if it is mounted automatically)<br />
* mount -t vfat /dev/sda1 /mnt <br />
* change your directory to the mounting point, here is : cd /mnt<br />
<br />
4. Execute :<br />
* echo 0 > /sys/block/mmcblk0boot0/force_ro<br />
* dd if=bl2_emmc-r4.img of=/dev/mmcblk0boot0<br />
* dd if=mtk-bpi-r4-EMMC-20231030.img of=/dev/mmcblk0<br />
* mmc bootpart enable 1 1 /dev/mmcblk0<br />
<br />
5. Power off R4 board, remove u-disk driver, change bootstrap to boot from emmc device.<br />
* Note: Enable EMMC device, boot strap is from EMMC.<br />
* Note: boot device select: https://wiki.banana-pi.org/Getting_Started_with_BPI-R4#Prepare_to_develop<br />
<br />
=== Network-Configuration===<br />
*Network-Configuration refer to: http://www.fw-web.de/dokuwiki/doku.php?id=en:bpi-r2:network:start<br />
*Network Interface: eth2, lan0 is for WAN; eth1, lan0, lan1, lan2, lan3 is for LAN, ra0/ra1 is for 2.4G wireless, rai0 is for 5G wifi6 wireless, rax0 is for 6G wifi7 wireless.<br />
<br />
[[Image:BPI-R4_network_interface.jpg|640px]]<br />
<br />
<br />
root@OpenWrt:/# ifconfig<br />
br-lan Link encap:Ethernet HWaddr EE:A1:57:81:CA:19<br />
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0<br />
inet6 addr: fe80::eca1:57ff:fe81:ca19/64 Scope:Link<br />
inet6 addr: fd63:8bea:d5ce::1/60 Scope:Global<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:2418 (2.3 KiB)<br />
br-wan Link encap:Ethernet HWaddr EE:A1:57:81:CA:19<br />
inet6 addr: fe80::eca1:57ff:fe81:ca19/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:8538 (8.3 KiB)<br />
eth0 Link encap:Ethernet HWaddr EE:A1:57:81:CA:19<br />
inet6 addr: fe80::eca1:57ff:fe81:ca19/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:4408 (4.3 KiB)<br />
Interrupt:124<br />
eth1 Link encap:Ethernet HWaddr 4A:BB:84:B4:5D:3F<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:8674 (8.4 KiB)<br />
Interrupt:124<br />
eth2 Link encap:Ethernet HWaddr 22:02:CE:9C:92:BA<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:34 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:8674 (8.4 KiB)<br />
Interrupt:124<br />
lan0 Link encap:Ethernet HWaddr EE:A1:57:81:CA:19<br />
UP BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
lan1 Link encap:Ethernet HWaddr EE:A1:57:81:CA:19<br />
UP BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
lan2 Link encap:Ethernet HWaddr EE:A1:57:81:CA:19<br />
UP BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
lan3 Link encap:Ethernet HWaddr EE:A1:57:81:CA:19<br />
UP BROADCAST MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
lo Link encap:Local Loopback<br />
inet addr:127.0.0.1 Mask:255.0.0.0<br />
inet6 addr: ::1/128 Scope:Host<br />
UP LOOPBACK RUNNING MTU:65536 Metric:1<br />
RX packets:56 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:56 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:4368 (4.2 KiB) TX bytes:4368 (4.2 KiB)<br />
ra0 Link encap:Ethernet HWaddr 00:0C:43:26:60:88<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
ra1 Link encap:Ethernet HWaddr 02:0C:43:36:60:88<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
rai0 Link encap:Ethernet HWaddr 00:0C:43:2B:B1:F8<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
rax0 Link encap:Ethernet HWaddr 0C:0C:43:26:60:D8<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br />
root@OpenWrt:/# brctl show br-wan<br />
bridge name bridge id STP enabled interfaces<br />
br-wan 7fff.eea15781ca19 no lan0, eth2<br />
root@OpenWrt:/# brctl show br-lan<br />
bridge name bridge id STP enabled interfaces<br />
br-lan 7fff.eea15781ca19 no apclii0 apclix0 apcli0 ra1 rai0 rax0 lan2 eth1 ra0 lan3 lan1<br />
root@OpenWrt:/#<br />
<br />
=Accessories=<br />
==1)10G SFP Module==<br />
<br />
The SFP serdes speed of BPI-R4 is fixed at 10Gbps, so only SFP that support this can be used!<br />
<br />
Usually the PIN6 of 10G SFP+ module is GND. After inserting the module, SFP_MOD_DEF0 will be pulled low, thereby turning on the SFP power supply.<br />
<br />
Therefore, if this PIN of the module is not GND, 3.3V_SFP power will not be supplied!<br />
<br />
[[File:R4 SFP Power.png|500px]]<br />
<br />
===1.1)10G SFP+ Copper Module===<br />
<br />
'''''The temperature of this module is very high when used for a long time, It can reach 90℃ without a heat sink or cooling fan. Be careful to prevent burns!<br />
'''''<br />
<br />
[[File:SFP-10G-T-AQR.png|500px]]<br />
<br />
root@R4CN:/# [ 67.870063] sfp sfp@0: SM: enter empty:up:down event insert<br />
[ 67.875642] sfp sfp@0: SM: exit probe:up:down<br />
[ 68.199179] sfp sfp@0: SM: enter probe:up:down event timeout<br />
[ 68.215970] sfp sfp@0: module OEM SFP-10G-T rev 10 sn 2309250003 dc 230925 <br />
[ 68.225443] sfp sfp@0: module OEM SFP-10G-T rev 10 has been found in the quirk list<br />
[ 68.235004] sfp sfp@0: sfp: support mode 00,00000800,00007040<br />
[ 68.240749] sfp sfp@0: tx disable 1 -> 0<br />
[ 68.244681] sfp sfp@0: SM: exit present:up:wait<br />
[ 68.343638] sfp sfp@0: SM: enter present:up:wait event los_high<br />
[ 68.349549] sfp sfp@0: SM: exit present:up:wait<br />
[ 82.476711] sfp sfp@0: SM: enter present:up:wait event los_low<br />
[ 82.482550] sfp sfp@0: SM: exit present:up:wait<br />
[ 83.584504] alloc new entry for 18:f2:2c:6f:45:3e, interface:eth2<br />
[ 83.590595] recv intf mac ae:19:d1:7e:2a:74<br />
[ 95.271188] sfp sfp@0: SM: enter present:up:wait event timeout<br />
[ 95.277715] sfp sfp@0: probing phy device through the [MDIO_I2C_ROLLBALL] protocol<br />
[ 95.821247] sfp sfp@0: CL45 PHY device [0x31c3:0x1c13] found!<br />
[ 95.826999] sfp sfp@0: CL45 PHY device [0x31c3:0x1c13] found!<br />
[ 95.832741] sfp sfp@0: CL45 PHY device [0x31c3:0x1c13] found!<br />
[ 95.838479] sfp sfp@0: CL45 PHY device [0x31c3:0x1c13] found!<br />
[ 95.844217] sfp sfp@0: CL45 PHY driver [Aquantia AQR113C] found!<br />
[ 95.850215] sfp sfp@0: phy: support mode 00,00018000,000e706c<br />
[ 95.855960] mtk_soc_eth 15100000.ethernet eth2: requesting link mode inband/10gbase-kr with support 00,00018000,000a7068<br />
[ 96.273193] mtk_soc_eth 15100000.ethernet eth2: PHY [i2c:sfp@0:11] driver [Aquantia AQR113C]<br />
[ 96.357199] sfp sfp@0: SM: exit present:up:link_up<br />
[ 96.357206] mtk_soc_eth 15100000.ethernet eth2: resolve link status: system iface=1, line iface=0<br />
[ 96.630718] sfp sfp@0: SM: enter present:up:link_up event los_high<br />
[ 96.636904] sfp sfp@0: SM: exit present:up:wait_los<br />
[ 101.395228] sfp sfp@0: SM: enter present:up:wait_los event los_low<br />
[ 101.401416] sfp sfp@0: SM: exit present:up:link_up<br />
[ 101.401426] mtk_soc_eth 15100000.ethernet eth2: resolve link status: system iface=1, line iface=0<br />
[ 101.696172] mtk_soc_eth 15100000.ethernet eth2: Link is Up - 10Gbps/Full - flow control off<br />
[ 101.704534] br-wan: port 2(eth2) entered blocking state<br />
[ 101.709754] br-wan: port 2(eth2) entered forwarding state<br />
root@R4CN:/# <br />
root@R4CN:/# i2cdetect -y 3<br />
0 1 2 3 4 5 6 7 8 9 a b c d e f<br />
00: -- -- -- -- -- -- -- -- <br />
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
50: 50 51 -- -- -- -- 56 -- -- -- -- -- -- -- -- -- <br />
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
70: UU -- -- -- -- -- -- -- <br />
root@R4CN:/# <br />
root@R4CN:/# ethtool eth2<br />
Settings for eth2:<br />
Supported ports: [ ]<br />
Supported link modes: 100baseT/Full <br />
1000baseT/Full <br />
10000baseT/Full <br />
1000baseKX/Full <br />
10000baseKR/Full <br />
2500baseT/Full <br />
5000baseT/Full <br />
Supported pause frame use: Symmetric Receive-only<br />
Supports auto-negotiation: Yes<br />
Supported FEC modes: Not reported<br />
Advertised link modes: 100baseT/Full <br />
1000baseT/Full <br />
10000baseT/Full <br />
1000baseKX/Full <br />
10000baseKR/Full <br />
2500baseT/Full <br />
5000baseT/Full <br />
Advertised pause frame use: Symmetric Receive-only<br />
Advertised auto-negotiation: Yes<br />
Advertised FEC modes: Not reported<br />
Link partner advertised link modes: 10baseT/Full <br />
100baseT/Full <br />
1000baseT/Full <br />
10000baseT/Full <br />
2500baseT/Full <br />
5000baseT/Full <br />
Link partner advertised pause frame use: No<br />
Link partner advertised auto-negotiation: Yes<br />
Link partner advertised FEC modes: Not reported<br />
Speed: 10000Mb/s<br />
Duplex: Full<br />
Port: MII<br />
PHYAD: 17<br />
Transceiver: external<br />
Auto-negotiation: on<br />
Current message level: 0x000000ff (255)<br />
drv probe link timer ifdown ifup rx_err tx_err<br />
Link detected: yes<br />
root@R4CN:/# <br />
<br />
<br />
Note: <br />
<br />
Do not pull out '''this module''' once it is inserted, otherwise it will cause BPI-R4 to reboot.This phenomenon does not exist with other modules.<br />
<br />
root@R4CN:/# [ 201.763041] mapfilter:drop IP addr timeout! stop dropping IP addr.<br />
[ 499.938345] sfp sfp@0: SM: enter present:up:link_up event los_high<br />
[ 499.950712] mtk_soc_eth 15100000.ethernet eth2: Link is Down<br />
[ 499.956370] sfp sfp@0: SM: exit present:up:wait_los<br />
[ 499.961367] br-wan: port 2(eth2) entered disabled state<br />
[ 502.867442] sfp sfp@0: SM: enter present:up:wait_los event remove<br />
[ 502.873705] sfp sfp@0: module removed<br />
[ 502.877937] sfp sfp@0: tx disable 0 -> 1<br />
[ 502.881872] sfp sfp@0: SM: exit empty:up:down<br />
[ 503.164077] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000180<br />
[ 503.172853] Mem abort info:<br />
[ 503.175634] ESR = 0x96000006<br />
[ 503.178683] EC = 0x25: DABT (current EL), IL = 32 bits<br />
[ 503.183985] SET = 0, FnV = 0<br />
[ 503.187030] EA = 0, S1PTW = 0<br />
[ 503.190162] Data abort info:<br />
[ 503.193035] ISV = 0, ISS = 0x00000006<br />
[ 503.196861] CM = 0, WnR = 0<br />
[ 503.199816] user pgtable: 4k pages, 39-bit VAs, pgdp=000000012fd21000<br />
[ 503.206246] [0000000000000180] pgd=0000000132bfb003, pud=0000000132bfb003, pmd=0000000000000000<br />
[ 503.214936] Internal error: Oops: 96000006 [#1] SMP<br />
[ 503.219799] Modules linked in: ksmbd mt7991(P) mt7990(P) iptable_nat ipt_REJECT xt_time xt_tcpudp xt_state xt_socket xt_recent xt_policy xt_nat xt_multiport xt_mark xt_mac xt_limit xt_iprange xt_helper xt_esp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TPROXY xt_TCPMSS xt_REDIRECT xt_MASQUERADE xt_LOG xt_FLOWOFFLOAD xt_CT usblp ts_fsm ts_bm spidev rfcomm pptp ppp_mppe nf_tproxy_ipv6 nf_tproxy_ipv4 nf_socket_ipv6 nf_socket_ipv4 nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_pptp nf_nat_irc nf_nat_h323 nf_nat_amanda nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conncount mtqos mtfwd mapfilter libcrc32c l2tp_ppp iptable_raw iptable_mangle iptable_filter ipt_ah ip_tables hidp btusb btintel bnep asn1_decoder mt7990_dbg(P) mtk_wed(P) mtk_pci(P) connac_if(P) mtk_hwifi(P)<br />
[ 503.219869] mt_wifi(P) hid mt_wifi_cmn evdev input_core cfg80211 compat xt_set ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 nfsd ip6_gre ip_gre gre l2tp_netlink l2tp_core udp_tunnel ip6_udp_tunnel ipcomp6 xfrm6_tunnel esp6 ah6 ip6_tunnel tunnel6 ip_tunnel rpcsec_gss_krb5 auth_rpcgss oid_registry af_key lockd sunrpc grace autofs4 dm_mirror dm_region_hash dm_log dm_crypt nls_utf8 nls_iso8859_1 nls_cp437 macsec seqiv md4 ghash_generic gf128mul gcm cts ctr ccm arc4 mtk_warp mtkhnat leds_gpio xhci_plat_hcd ohci_platform ohci_hcd fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd gpio_button_hotplug<br />
[ 503.390068] CPU: 2 PID: 7304 Comm: aqr107_mib_thre Tainted: P 5.4.246 #0<br />
[ 503.398227] Hardware name: Bananapi BPI-R4 (DT)<br />
[ 503.402746] pstate: 80000005 (Nzcv daif -PAN -UAO)<br />
[ 503.407531] pc : __phy_read_mmd+0x20/0xa0<br />
[ 503.411529] lr : phy_read_mmd+0x38/0x60<br />
[ 503.415351] sp : ffffffc01388bd90<br />
[ 503.418653] x29: ffffffc01388bd90 x28: 0000000000000000 <br />
[ 503.423952] x27: ffffff80f2ae3638 x26: ffffffc010a373c0 <br />
[ 503.429250] x25: ffffffc010557918 x24: ffffff80f4ce8800 <br />
[ 503.434547] x23: ffffffc010d83908 x22: ffffffc01388be3c <br />
[ 503.439845] x21: 000000000000e811 x20: 0000000000000003 <br />
[ 503.445142] x19: ffffff80f4ce8800 x18: ffffffc010c0a1a8 <br />
[ 503.450440] x17: 000000000000003c x16: 000000000000003c <br />
[ 503.455738] x15: 0000000000000018 x14: 00000000fffbd1b0 <br />
[ 503.461035] x13: 00000000000001f4 x12: ffffffc010c0a160 <br />
[ 503.466332] x11: 000000000000c503 x10: 0000000000000830 <br />
[ 503.471630] x9 : ffffffc01388bd10 x8 : ffffff80efda0890 <br />
[ 503.476927] x7 : ffffffc0eec26000 x6 : ffffffc0eec26000 <br />
[ 503.482224] x5 : 0000000000000000 x4 : 0000000000000000 <br />
[ 503.487522] x3 : ffffff80f4ce8800 x2 : 000000000000e811 <br />
[ 503.492819] x1 : 0000000000000003 x0 : ffffff80f4ce8800 <br />
[ 503.498117] Call trace:<br />
[ 503.500553] __phy_read_mmd+0x20/0xa0<br />
[ 503.504202] phy_read_mmd+0x38/0x60<br />
[ 503.507680] aqr107_mib_read_word+0x2c/0x60<br />
[ 503.511850] aqr107_mib_read+0x24/0x200<br />
[ 503.515673] aqr107_mib_thread+0x20/0x50<br />
[ 503.519585] kthread+0x120/0x128<br />
[ 503.522801] ret_from_fork+0x10/0x1c<br />
[ 503.526368] Code: a9be7bfd aa0003e3 910003fd f9418005 (f940c0a5) <br />
[ 503.532447] ---[ end trace 3fa317a53584315f ]---<br />
[ 503.538554] Kernel panic - not syncing: Fatal exception<br />
[ 503.543768] SMP: stopping secondary CPUs<br />
[ 503.547680] Kernel Offset: disabled<br />
[ 503.551155] CPU features: 0x10002,20002008<br />
[ 503.555238] Memory Limit: none<br />
[ 503.559792] Starting Memory dump SMCC<br />
[ 503.563452] Memory dump SMCC failed<br />
[ 503.566929] Rebooting in 3 seconds..<br />
<br />
===1.2)10G SFP+ Fibre Module===<br />
<br />
[[File:SFP-10G-BX20.png|500px]]<br />
<br />
root@R4CN:/# [ 455.370399] sfp sfp@1: SM: enter empty:up:down event insert<br />
[ 455.375999] sfp sfp@1: SM: exit probe:up:down<br />
[ 455.687021] sfp sfp@1: SM: enter probe:up:down event timeout<br />
[ 455.703815] sfp sfp@1: module OEM SFP-10G-BX20-U rev 1.0 sn 2309250008 dc 230925 <br />
[ 455.713292] sfp sfp@1: sfp: support mode 00,00001000,00006040<br />
[ 455.719042] mtk_soc_eth 15100000.ethernet eth1: requesting link mode inband/10gbase-kr with support 00,00001000,00006440<br />
[ 455.740862] sfp sfp@1: tx disable 1 -> 0<br />
[ 455.744792] sfp sfp@1: SM: exit present:up:wait<br />
[ 455.799020] sfp sfp@1: SM: enter present:up:wait event timeout<br />
[ 455.804849] sfp sfp@1: probing phy device through the [MDIO_I2C_NONE] protocol<br />
[ 455.812066] sfp sfp@1: SM: exit present:up:link_up<br />
[ 455.833979] mtk_soc_eth 15100000.ethernet eth1: resolve link status: system iface=0<br />
[ 455.843477] sfp sfp@1: SM: enter present:up:link_up event los_high<br />
[ 455.849657] sfp sfp@1: SM: exit present:up:wait_los<br />
[ 476.904686] sfp sfp@1: SM: enter present:up:wait_los event los_low<br />
[ 476.910875] sfp sfp@1: SM: exit present:up:link_up<br />
[ 476.941863] mtk_soc_eth 15100000.ethernet eth1: Link is Up - 10Gbps/Full - flow control off<br />
[ 476.950225] br-lan: port 4(eth1) entered blocking state<br />
[ 476.955445] br-lan: port 4(eth1) entered forwarding state<br />
[ 477.784529] alloc new entry for 18:f2:2c:6f:45:3e, interface:eth1<br />
[ 477.790622] recv intf mac 76:38:02:df:74:7f<br />
root@R4CN:/# <br />
root@R4CN:/# i2cdetect -y 4<br />
0 1 2 3 4 5 6 7 8 9 a b c d e f<br />
00: -- -- -- -- -- -- -- -- <br />
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
50: 50 51 -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- <br />
70: UU -- -- -- -- -- -- -- <br />
root@R4CN:/# <br />
root@R4CN:/# ethtool eth1<br />
Settings for eth1:<br />
Supported ports: [ FIBRE ]<br />
Supported link modes: 10000baseLR/Full <br />
Supported pause frame use: Symmetric Receive-only<br />
Supports auto-negotiation: Yes<br />
Supported FEC modes: Not reported<br />
Advertised link modes: 10000baseLR/Full <br />
Advertised pause frame use: Symmetric Receive-only<br />
Advertised auto-negotiation: Yes<br />
Advertised FEC modes: Not reported<br />
Speed: 10000Mb/s<br />
Duplex: Full<br />
Port: FIBRE<br />
PHYAD: 0<br />
Transceiver: internal<br />
Auto-negotiation: on<br />
Current message level: 0x000000ff (255)<br />
drv probe link timer ifdown ifup rx_err tx_err<br />
Link detected: yes<br />
root@R4CN:/#<br />
<br />
==2) 4G/5G Module==<br />
===2.1) M.2 4G/5G Module(USB Interface)===<br />
* BPI-R4 supports M.2 USB Interface Quectel 4G LTE EM25, RM500U-CN & RM520N-GL 5G Modules.<br />
<br />
* If you want to use M.2 Cellular Module on BPI-R4:<br />
1. Install 4G/5G Cellular Module into CN16 Slot(M.2 KEYB)<br />
2. Inset NANOSIM Card into SIMSlot(SIM1) with card tray(pay attention to the direction)<br />
3. Install antenna on the module<br />
4. After powering on, it will automatically dial<br />
Note: The availability of 4G/5G depends on the local carrier frequency band.<br />
<br />
[[File:BPI-R4-cellular.jpg|640px]]<br />
<br />
<br />
[[File:SIMSlot-SIM1.jpg|640px]]<br />
<br />
<br />
[[File:R4-CN16-SCH.jpg|640px]]<br />
<br />
<br />
'''Quectel RM520N-GL'''<br />
wwan0 Link encap:Ethernet HWaddr A6:35:F7:7A:9E:A7 <br />
inet6 addr: fe80::a435:f7ff:fe7a:9ea7/64 Scope:Link<br />
UP RUNNING NOARP MTU:1500 Metric:1<br />
RX packets:4 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:1272 (1.2 KiB) TX bytes:1932 (1.8 KiB)<br />
wwan0_1 Link encap:Ethernet HWaddr A6:35:F7:7A:9E:A7 <br />
inet addr:10.46.121.135 Mask:255.255.255.240<br />
inet6 addr: fe80::a435:f7ff:fe7a:9ea7/64 Scope:Link<br />
UP RUNNING NOARP MTU:1500 Metric:1<br />
RX packets:4 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:9 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:1292 (1.2 KiB) TX bytes:1932 (1.8 KiB)<br />
root@R4CN:/# <br />
root@R4CN:/# lsusb<br />
Bus 002 Device 003: ID 2c7c:0801 Quectel RM520N-GL<br />
Bus 002 Device 002: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub <br />
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 001 Device 003: ID 2109:8822 VIA Labs, Inc. USB Billboard Device <br />
Bus 001 Device 002: ID 2109:2822 VIA Labs, Inc. USB2.0 Hub <br />
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
root@R4CN:/# <br />
root@R4CN:/# ping www.baidu.com<br />
PING www.baidu.com (120.232.145.185): 56 data bytes<br />
64 bytes from 120.232.145.185: seq=0 ttl=52 time=30.712 ms<br />
64 bytes from 120.232.145.185: seq=1 ttl=52 time=32.774 ms<br />
64 bytes from 120.232.145.185: seq=2 ttl=52 time=45.222 ms<br />
64 bytes from 120.232.145.185: seq=3 ttl=52 time=37.850 ms<br />
64 bytes from 120.232.145.185: seq=4 ttl=52 time=53.459 ms<br />
^C<br />
--- www.baidu.com ping statistics ---<br />
5 packets transmitted, 5 packets received, 0% packet loss<br />
round-trip min/avg/max = 30.712/40.003/53.459 ms<br />
root@R4CN:/#<br />
<br />
<br />
'''RM500U-CN'''<br />
usb0 Link encap:Ethernet HWaddr 5E:3B:9C:76:7C:46 <br />
inet addr:10.95.9.23 Bcast:10.95.9.255 Mask:255.255.255.0<br />
inet6 addr: fe80::5c3b:9cff:fe76:7c46/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1<br />
RX packets:34 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:62 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:7908 (7.7 KiB) TX bytes:10100 (9.8 KiB)<br />
root@R4CN:/# <br />
root@R4CN:/# lsusb<br />
Bus 002 Device 003: ID 2c7c:0900 Quectel RM500U-CN<br />
Bus 002 Device 002: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub <br />
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 001 Device 003: ID 2109:8822 VIA Labs, Inc. USB Billboard Device <br />
Bus 001 Device 002: ID 2109:2822 VIA Labs, Inc. USB2.0 Hub <br />
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
root@R4CN:/# <br />
root@R4CN:/# ping www.baidu.com<br />
PING www.baidu.com (2409:8c54:870:34e:0:ff:b024:1916): 56 data bytes<br />
64 bytes from 2409:8c54:870:34e:0:ff:b024:1916: seq=0 ttl=51 time=55.105 ms<br />
64 bytes from 2409:8c54:870:34e:0:ff:b024:1916: seq=1 ttl=51 time=38.725 ms<br />
64 bytes from 2409:8c54:870:34e:0:ff:b024:1916: seq=2 ttl=51 time=39.890 ms<br />
^C<br />
--- www.baidu.com ping statistics ---<br />
3 packets transmitted, 3 packets received, 0% packet loss<br />
round-trip min/avg/max = 38.725/44.573/55.105 ms<br />
root@R4CN:/#<br />
<br />
<br />
'''EM05-CE'''<br />
wwan0 Link encap:Ethernet HWaddr F2:CC:52:10:2E:27 <br />
inet addr:10.21.103.116 Bcast:0.0.0.0 Mask:255.255.255.248<br />
inet6 addr: fe80::f0cc:52ff:fe10:2e27/64 Scope:Link<br />
UP BROADCAST RUNNING NOARP MULTICAST MTU:1500 Metric:1<br />
RX packets:56 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:91 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000 <br />
RX bytes:7868 (7.6 KiB) TX bytes:10133 (9.8 KiB)<br />
root@R4CN:/# <br />
root@R4CN:/# lsusb<br />
Bus 001 Device 012: ID 2c7c:0125 Quectel Incorporated LTE Module<br />
Bus 002 Device 002: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub <br />
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 001 Device 003: ID 2109:8822 VIA Labs, Inc. USB Billboard Device <br />
Bus 001 Device 002: ID 2109:2822 VIA Labs, Inc. USB2.0 Hub <br />
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
root@R4CN:/# <br />
root@R4CN:/# ping www.baidu.com<br />
PING www.baidu.com (120.232.145.144): 56 data bytes<br />
64 bytes from 120.232.145.144: seq=0 ttl=53 time=47.085 ms<br />
64 bytes from 120.232.145.144: seq=1 ttl=53 time=36.447 ms<br />
^C<br />
--- www.baidu.com ping statistics ---<br />
2 packets transmitted, 2 packets received, 0% packet loss<br />
round-trip min/avg/max = 36.447/41.766/47.085 ms<br />
root@R4CN:/#<br />
<br />
===2.2) M.2 4G/5G Module(PCIe Interface)===<br />
Theoretically, it also supports PCIe cellular modules, but it has not been tested<br />
<br />
<br />
===2.3) miniPCIe 4G/5G Module(USB Interface)===<br />
<br />
==3) Storage==<br />
===3.1)NVMe SSD===<br />
<br />
*Please insert one M.2 KeyM SSD(PCIe interface) into KeyM slot(CN18).<br />
No compatibility testing has been done and there is no guarantee that all SSDs can be used.<br />
<br />
[[File:R4-SSD.jpg|640px]]<br />
<br />
root@R4CN:/# lspci<br />
0002:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)<br />
0002:01:00.0 Non-Volatile memory controller: KIOXIA Corporation Device 0001<br />
0004:00:00.0 Unclassified device [0002]: MEDIATEK Corp. Device 7981<br />
root@R4CN:/# <br />
root@R4CN:/# <br />
root@R4CN:/# cat /proc/partitions<br />
major minor #blocks name<br />
31 0 131072 mtdblock0<br />
259 0 125034840 nvme0n1<br />
259 1 125033472 nvme0n1p1<br />
31 1 1024 mtdblock1<br />
31 2 512 mtdblock2<br />
31 3 4096 mtdblock3<br />
31 4 2048 mtdblock4<br />
31 5 115200 mtdblock5<br />
179 0 7634944 mmcblk0<br />
253 0 56172 ubiblock0_1<br />
root@R4CN:/# <br />
root@R4CN:/#<br />
<br />
===3.2) PCIe to SATA===<br />
BPI-R4 supports JMicron's JMB585 (PCIe to 5x SATA chip)<br />
<br />
[[File:BPI-R4-PCIe2SATA.jpg|640px]]<br />
<br />
[[File:BPI-R4-PCIe2SATA-Cable.jpg|640px]]<br />
<br />
<br />
CN19 is a 2.54mm pitch socket(XH-4A) that can power SATA HDD (about 12V/2A, 5V/2A)<br />
<br />
[[File:BPI-R4-SATAPWR.jpg|640px]]<br />
<br />
<br />
root@R4CN:/# lspci<br />
0002:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)<br />
0002:01:00.0 SATA controller: JMicron Technology Corp. JMB58x AHCI SATA controller<br />
0004:00:00.0 Unclassified device [0002]: MEDIATEK Corp. Device 7981<br />
root@R4CN:/# <br />
root@R4CN:/#<br />
root@R4CN:/# [ 743.794932] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)<br />
[ 743.802031] ata1.00: HPA detected: current 234439535, native 234441648<br />
[ 743.808746] ata1.00: ATA-8: Hitachi HTS542512K9SA00, BB2OC31P, max UDMA/133<br />
[ 743.815699] ata1.00: 234439535 sectors, multi 0: LBA48 NCQ (depth 32), AA<br />
[ 743.823749] ata1.00: configured for UDMA/133<br />
[ 743.828182] scsi 0:0:0:0: Direct-Access ATA Hitachi HTS54251 C31P PQ: 0 ANSI: 5<br />
[ 743.836710] sd 0:0:0:0: [sda] 234439535 512-byte logical blocks: (120 GB/112 GiB)<br />
[ 743.844204] sd 0:0:0:0: [sda] Write Protect is off<br />
[ 743.848992] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00<br />
[ 743.854075] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA<br />
[ 744.221268] sda: sda1 sda2<br />
[ 744.224485] sd 0:0:0:0: [sda] Attached SCSI disk<br />
[ 744.459896] EXT4-fs (sda1): The kernel was not built with CONFIG_QUOTA and CONFIG_QFMT_V2<br />
root@R4CN:/# <br />
root@R4CN:/#<br />
root@R4CN:/# cat /proc/partitions<br />
major minor #blocks name<br />
31 0 131072 mtdblock0<br />
31 1 1024 mtdblock1<br />
31 2 512 mtdblock2<br />
31 3 4096 mtdblock3<br />
31 4 2048 mtdblock4<br />
31 5 115200 mtdblock5<br />
179 0 7634944 mmcblk0<br />
253 0 56172 ubiblock0_1<br />
8 0 117219767 sda<br />
8 1 8388608 sda1<br />
8 2 2097152 sda2<br />
root@R4CN:/#<br />
<br />
===3.3) PCIe to USB===<br />
BPI-R4 Also supports ASMedia's ASM2142. But this module requires an additional 5V power supply.<br />
<br />
[[File:BPI-R4-PCIe2USB.jpg|640px]]<br />
<br />
root@R4CN:/# lspci<br />
0002:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)<br />
0002:01:00.0 USB controller: ASMedia Technology Inc. ASM2142 USB 3.1 Host Controller<br />
0004:00:00.0 Unclassified device [0002]: MEDIATEK Corp. Device 7981<br />
root@R4CN:/# <br />
root@R4CN:/# lsusb<br />
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 003 Device 003: ID 2109:8822 VIA Labs, Inc. USB Billboard Device <br />
Bus 003 Device 002: ID 2109:2822 VIA Labs, Inc. USB2.0 Hub <br />
Bus 004 Device 002: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub <br />
Bus 004 Device 001: ID 1d6b:0003 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 003 Device 001: ID 1d6b:0002 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
root@R4CN:/# <br />
root@R4CN:/# [ 65.031157] usb 1-2: new high-speed USB device number 2 using xhci_hcd<br />
[ 65.312671] usb-storage 1-2:1.0: USB Mass Storage device detected<br />
[ 65.318899] scsi host0: usb-storage 1-2:1.0<br />
[ 66.341397] scsi 0:0:0:0: Direct-Access HIKSEMI MD202 1.00 PQ: 0 ANSI: 6<br />
[ 66.351211] sd 0:0:0:0: [sda] 250069680 512-byte logical blocks: (128 GB/119 GiB)<br />
[ 66.359500] sd 0:0:0:0: [sda] Write Protect is off<br />
[ 66.364288] sd 0:0:0:0: [sda] Mode Sense: 37 00 00 08<br />
[ 66.370127] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA<br />
[ 66.399133] sda: sda1 sda2<br />
[ 66.405370] sd 0:0:0:0: [sda] Attached SCSI disk<br />
[ 66.567935] [EXFAT] trying to mount...<br />
[ 66.596276] [EXFAT] mounted successfully<br />
[ 66.688447] FAT-fs (sda2): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!<br />
[ 66.705213] FAT-fs (sda2): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.<br />
root@R4CN:/# <br />
root@R4CN:/# lsusb<br />
Bus 001 Device 002: ID 0bda:9210 HIKSEMI MD202<br />
Bus 002 Device 001: ID 1d6b:0003 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 003 Device 003: ID 2109:8822 VIA Labs, Inc. USB Billboard Device <br />
Bus 003 Device 002: ID 2109:2822 VIA Labs, Inc. USB2.0 Hub <br />
Bus 004 Device 002: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub <br />
Bus 004 Device 001: ID 1d6b:0003 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 001 Device 001: ID 1d6b:0002 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
Bus 003 Device 001: ID 1d6b:0002 Linux 5.4.246 xhci-hcd xHCI Host Controller<br />
root@R4CN:/# <br />
root@R4CN:/# <br />
root@R4CN:/# cat /proc/partitions<br />
major minor #blocks name<br />
31 0 131072 mtdblock0<br />
31 1 1024 mtdblock1<br />
31 2 512 mtdblock2<br />
31 3 4096 mtdblock3<br />
31 4 2048 mtdblock4<br />
31 5 115200 mtdblock5<br />
179 0 7634944 mmcblk0<br />
253 0 56172 ubiblock0_1<br />
8 0 125034840 sda<br />
8 1 125001048 sda1<br />
8 2 32768 sda2<br />
root@R4CN:/#<br />
<br />
<br />
This module can be used on M.2 KEYB Slot (but the module size2260 and has no place to fix it)<br />
<br />
[[File:BPI-R4-KEYB2USB.jpg|640px]]<br />
<br />
root@R4CN:/# lspci<br />
0003:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)<br />
0003:01:00.0 USB controller: ASMedia Technology Inc. ASM2142 USB 3.1 Host Controller<br />
0004:00:00.0 Unclassified device [0002]: MEDIATEK Corp. Device 7981<br />
<br />
==4) Wi-Fi7 NIC==<br />
:You can insert the BPI-R4-NIC into CN12 and CN14 at the bottom of BPI-R4-Main, and then fix it with two M2 screws.<br />
<br />
:The BPI-R4-NIC module requires 12V power supply, so the power supply on the BPI-R4-Main must be turned on before powering on (SW4 is turned to the "ON" position, and the 12V LED will lights up when power on)<br />
<br />
:'''NOTE:The 12V power supply will be supplied to the BPI-R4-NIC through PIN6/8/48 of the miniPCI socket. When plugging in other modules, be sure to turn off SW4 if you cannot confirm whether the module can withstand 12V.'''<br />
<br />
<br />
[[File:BPI-R4-miniPCIeSlot.jpg|640px]]<br />
<br />
<br />
[[File:BPI-R4-miniPCIeSlot-Power.jpg|640px]]<br />
<br />
<br />
===4.1)BPI-R4-NIC-BE14===<br />
<br />
BPI-R4-NIC-BE14 Block_Diagram: MT7995AV+MT7976CN+MT7977IAN<br />
<br />
[[File:BE14-Block Diagram.jpg|640px]]<br />
<br />
<br />
[[File:BPI-R4-NIC-BE14 2.jpg|640px]]<br />
<br />
root@OpenWrt:/# lspci<br />
0000:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)<br />
0000:01:00.0 Network controller: MEDIATEK Corp. Device 7990<br />
0001:00:00.0 PCI bridge: MEDIATEK Corp. Device 7988 (rev 01)<br />
0001:01:00.0 Network controller: MEDIATEK Corp. Device 7991<br />
0004:00:00.0 Unclassified device [0002]: MEDIATEK Corp. Device 7981<br />
<br />
===4.2)BPI-R4-NIC-BE19===<br />
<br />
<br />
==5)Heat sink==<br />
<br />
Place two small thermal pads on the DDR and a large thermal pad on the chip. Then cover the heat sink.<br />
<br />
[[File:BPI-R4_Thermal_pad.jpg|680px]]<br />
<br />
Then cover the heat sink.<br />
<br />
[[File:BPI-R4_Heat sink.jpg|680px]]</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M2%2B&diff=17119
Banana Pi BPI-M2+
2024-03-12T03:53:55Z
<p>Sinovoip: /* Introduction */</p>
<hr />
<div>[[zh:香蕉派_BPI-M2%2B]]<br />
=Introduction=<br />
[[File:Banana_pi_BPI-M2+_2.jpg|thumb|[[Banana Pi BPI-M2+]] with Allwinner H3 chip]]<br />
[[File:BPI-M2_zero_11.JPG|thumb|[[Banana Pi BPI-M2 ZERO]] with Allwinner H3 chip]]<br />
[[File:Banana_pi_BPI-M1_1.jpg|thumb|[[Banana Pi BPI-M1]] with Allwinner A20 chip]]<br />
[[File:Banana_pi_BPI-M1+_1.jpg|thumb|[[Banana Pi BPI-M1+]] with Allwinner A20 chip]]<br />
[[File:BPI-F2_zero_1.JPG|thumb|[[Banana Pi BPI-P2 Zero]] with Allwinner H3 chip]]<br />
<br />
[[File:Banana_pi_bpi-m2_magic_5.JPG|thumb|[[Banana Pi BPI-M2M ]] with Allwinner R16 chip design]]<br />
[[File:Banana_pi_BPI-M2_Berry_5.JPG|thumb|[[Banana Pi BPI-M2 Berry]] with Allwinner A40i]]<br />
[[File:Banana_pi_BPI-M2_Ultra_4.JPG|thumb|[[Banana Pi BPI-M2U]] with Allwinner A40i]]<br />
[[File:Banana_pi_BPI-M64_1.jpg|thumb|[[Banana Pi BPI-M64]] with Allwinner A64 chip design]]<br />
[[File:Banana_pi_BPI-M3_1.jpg|thumb|[[Banana Pi BPI-M3]] with Allwinner A83T chip design]]<br />
<br />
[[File:Bpi-m2-plus-02.JPG|thumb|Overview:3D design]]<br />
[[File:BPI-M2+_case.jpg|thumb|[[Case]] BPI-M2+ Premium Aluminum Enclosure]]<br />
[[File:Newwork_scu.JPG|thumb|BPI-4.0 OEM&ODM [[Successful case]] H3 for Network security information analysis instrument]]<br />
[[File:NEW_eBlocker_Family_Shop_money_back.png|thumb|BPI-4.0 OEM&ODM [[Successful case]]:H3 for eBlocker VPN router]]<br />
[[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design,same size and inerface as BPI-M2+]]<br />
<br />
Banana PI BPI-M2+ is the open source hardware platform, use Alliwnner H3 (option H2+ chip and H5 chip ) chip on board,mini size only 65mm*65mm,<br />
<br />
BPI-M2+ hardware: 1Ghz ARM7 quad-core processor, 1GB DDR3 SDRAM, 8G eMMC flash on board,and SDIO wifi&BT 4.0 moodule on board,Gigabit ethernet.<br />
<br />
[[File:Banana_Pi_BPI-M2+.jpg]]<br />
<br />
BPI-M2+ series run Android,Debian linux,Ubuntu linux, Raspberry Pi image and others image. Banana PI,it can easily run with the game it support 1080P high definition video output and 4K support,the GPIO compatible with Raspberry Pi B+.<br />
<br />
Banana Pi BPI-M2+ not support sata port, so you need use USB for hardisk<br />
<br />
==Key Features==<br />
<br />
* Allwinner H3 Quad-core 1.2GHz Cortex-A7 (option H2+ H5).<br />
* 1GB DDR3<br />
* 8GB eMMC onboard<br />
* HDMI out<br />
* WiFi and BT onboard<br />
* 10/100/1000Mbps Ethernet Port<br />
* CSI camera interface<br />
<br />
==Getting Start==<br />
*[[Quick Start Banana pi SBC]]<br />
*[[Getting Start with M2P]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
<br />
[[File:BPI-M2plus_800.jpg]]<br />
<br />
==Hardware spec==<br />
<br />
{| class="wikitable"<br />
|-<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana Pi M2+(Plus)'''<br />
! <br />
|-<br />
! CPU<br />
| H3 Quad-core Cortex-A7 H.265/HEVC 4K<br />
|-<br />
! GPU<br />
| Mali400MP2 GPU @600&nbsp;MHz,Supports OpenGL ES 2.0<br />
|-<br />
! Memory<br />
| 1GB DDR3 (shared with GPU)<br />
|-<br />
! Flash<br />
| 8GB eMMC flash onboard<br />
|-<br />
! Network<br />
| 10/100/1000 Ethernet <br />
|-<br />
! WIFI&BT<br />
| K016/SDIO AP6212 for Wifi &BT 4.0(option AP6181 AP6335)<br />
|-<br />
! Video Input<br />
| A CSI input connector Camera:1 Supports 8-bit YUV422 CMOS sensor interface,2 Supports CCIR656 protocol for NTSC and PAL, 3 Supports SM pixel camera sensor, 4 Supports video capture solution up to 1080p@30fps<br />
|-<br />
! Video Outputs<br />
| Supports HDMI output with HDCP, Supports HDMI CEC, Supports HDMI 30 function, Integrated CVBS, Supports simultaneous output of HDMI and CVBS<br />
|-<br />
! Audio Outputs<br />
| HDMI<br />
|-<br />
! Power <br />
| 5V/2A DC input can supply power, but USB OTG input don’t supply power<br />
|-<br />
! USB 2.0 ports<br />
| two USB 2.0 HOST, one USB 2.0 OTG<br />
|-<br />
! GPIO<br />
| 40 Pins Header,compatible with Raspberry Pi B+<br />
|-<br />
! LED<br />
| Power led & Status led<br />
|-<br />
! IR<br />
| IR input on board<br />
|-<br />
! OS<br />
| Android, Ubuntu, Debian, Raspberry Pi Image<br />
|}<br />
<br />
==GPIO PIN define ==<br />
<br />
Banana Pi BPI-M2+ (BPI-M2 Plus) has a 40-pin GPIO header that matches that of the Model Raspberry Pi 3. Following is the Banana Pi GPIO Pinout:<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''40 PIN GPIO of Banana pi BPI-M2+'''<br />
|-<br />
| GPIO Pin Name || Default Function || Function2:GPIO || Function3 <br />
|-<br />
| CON2-P01 || VCC-3V3 || || <br />
|-<br />
| CON2-P02 || VCC-5V || || <br />
|-<br />
| CON2-P03 || TWI0-SDA || PA12-EINT12 ||<br />
|-<br />
| CON2-P04 || VCC-5V || || <br />
|-<br />
| CON2-P05 || TWI0-SCK || PA11-EINT11 ||<br />
|-<br />
| CON2-P06 || GND || || <br />
|-<br />
| CON2-P07 || PWM1 || PA6-EINT6 ||<br />
|-<br />
| CON2-P08 || UART3-TX || PA13-EINT13 || SPI1-CS <br />
|-<br />
| CON2-P09 || GND || || <br />
|-<br />
| CON2-P10 || UART3-RX || PA14-EINT14 || SPI1-CLK <br />
|-<br />
| CON2-P11 || UART2-RX || PA1-EINT1 || <br />
|-<br />
| CON2-P12 || UART3-CTS || PA16-EINT16 || SPI1-MISO <br />
|-<br />
| CON2-P13 || UART2-TX || PA0-EINT0 ||<br />
|-<br />
| CON2-P14 || GND || ||<br />
|-<br />
| CON2-P15 || UART2-CTS || PA3-EINT3 ||<br />
|-<br />
| CON2-P16 || UART3-RTS || PA15-EINT15 || SPI1-MOSI <br />
|-<br />
| CON2-P17 || VCC-3V3 || || <br />
|-<br />
| CON2-P18 || PC4 || PC4 ||<br />
|-<br />
| CON2-P19 || SPI0-MOSI || PC0 ||<br />
|-<br />
| CON2-P20 || GND || ||<br />
|-<br />
| CON2-P21 || SPI0-MISO || PC1 ||<br />
|-<br />
| CON2-P22 || UART2-RTS || PA2-EINT2 ||<br />
|-<br />
| CON2-P23 || SPI0-CLK || PC2 ||<br />
|-<br />
| CON2-P24 || SPI0-CS || PC3 ||<br />
|-<br />
| CON2-P25 || GND || || <br />
|-<br />
| CON2-P26 || PC7 || PC7 ||<br />
|-<br />
| CON2-P27 || TWI1-SDA || PA19-EINT19 ||<br />
|-<br />
| CON2-P28 || TWI1-SCK || PA18-EINT18 ||<br />
|-<br />
| CON2-P29 || PA7-EINT7 || PA7-EINT7 ||<br />
|-<br />
| CON2-P30 || GND || || <br />
|-<br />
| CON2-P31 ||PA8-EINT8 || PA8-EINT8 ||<br />
|-<br />
| CON2-P32 || PL2-S-EINT2 || PL2-S-EINT2 ||<br />
|-<br />
| CON2-P33 || PA9-EINT9 || PA9-EINT9 ||<br />
|-<br />
| CON2-P34 || GND || || <br />
|-<br />
| CON2-P35 || PA10-EINT10 || PA10-EINT10 ||<br />
|-<br />
| CON2-P36 || PL4-S-EINT4 || PL4-S-EINT4 ||<br />
|-<br />
| CON2-P37 || PA17-EINT17 || PA17-EINT17 || SPDIF-OUT <br />
|-<br />
| CON2-P38 || PA21-EINT21 || PA21-EINT21 ||<br />
|-<br />
| CON2-P39 || GND || || <br />
|-<br />
| CON2-P40 || PA20-EINT20 || PA20-EINT20 ||<br />
|- <br />
|}<br />
<br />
'''CSI Camera Connector specification:'''<br />
<br />
The CSI Camera Connector is a 24-pin FPC connector which can connect external camera module with proper signal pin mappings. The pin definitions of the CSI interface are shown as below. This is marked on the Banana Pi board as “CSI″.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''CSI Camera PIN of Banana pi BPI-M2+'''<br />
|-<br />
| CSI Pin Name || Default Function || Function2:GPIO <br />
|-<br />
| CN3-P01 || NC ||<br />
|-<br />
| CN3-P02 || GND ||<br />
|-<br />
| CN3-P03 || CSI0-SDA || PE13 <br />
|-<br />
| CN3-P04 || CSI0-AVDD ||<br />
|-<br />
| CN3-P05 || CSI0-SCK || PE12 <br />
|-<br />
| CN3-P06 || CSI0-Reset || PE14 <br />
|-<br />
| CN3-P07 || CSI0-VSYNC || PE3 <br />
|-<br />
| CN3-P08 || CSI0-PWDN || PE15 <br />
|-<br />
| CN3-P09 || CSI0-HSYNC || PE2 <br />
|-<br />
| CN3-P10 || CSI0-DVDD ||<br />
|-<br />
| CN3-P11 || CSI0-DOVDD ||<br />
|-<br />
| CN3-P12 || CSI0-D7 || PE11 <br />
|-<br />
| CN3-P13 || CSI0-MCLK || PE1 <br />
|-<br />
| CN3-P14 || CSI0-D6 || PE10 <br />
|-<br />
| CN3-P15 || GND ||<br />
|-<br />
| CN3-P16 || CSI0-D5 || PE9 <br />
|-<br />
| CN3-P17 || CSI0-PCLK || PE0 <br />
|-<br />
| CN3-P18 || CSI0-D4 || PE8 <br />
|-<br />
| CN3-P19 || CSI0-D0 || PE4 <br />
|-<br />
| CN3-P20 || CSI0-D3 || PE7 <br />
|-<br />
| CN3-P21 || CSI0-D1 || PE5 <br />
|-<br />
| CN3-P22 || CSI0-D2 || PE6 <br />
|-<br />
| CN3-P23 || GND ||<br />
|-<br />
| CN3-P24 || CSI0-DOVDD ||<br />
|- <br />
|}<br />
<br />
'''UART specification:'''<br />
<br />
The jumper CON3 is the UART interface. For developers of Banana Pi, this is an easy way to get the UART console output to check the system status and log message.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''Uart PIN of Banana pi BPI-M2+'''<br />
|-<br />
| CON3 Pin Name || Default Function || GPIO <br />
|-<br />
| CON3 P03 || UART0-TXD || PA4 <br />
|-<br />
| CON3 P02 || UART0-RXD || PA5 <br />
|-<br />
| CON3 P01 || GND ||<br />
|- <br />
|}<br />
<br />
==Hardware V1.2 Version ==<br />
<br />
BPI-M2+ V1.2 hardware version add PMU Voltage regulation design<br />
<br />
How to check BPI-M2+ V1.2 hardware version:<br />
<br />
[[File:V1.2_hardware_2.jpg]]<br />
<br />
BPi-M2+ V1.2 modification<br />
*1,PL0 Instead the drop-down 10K,As a hardware version identification(V1.1 is pull up)<br />
*2,PL1 Change to voltage regulation GPIO<br />
[[File:V1.2_hardware_3.png]]<br />
<br />
voltage regulation schematic diagram:<br />
<br />
[[File:V1.2_hardware_4.png]]<br />
<br />
=Software=<br />
<br />
=Development=<br />
<br />
==Basic Development==<br />
[[OpenCV 3.4x on BananaPi]]<br />
<br />
=Resources=<br />
<br />
== source code==<br />
*linux kernel 4.4 on github :https://github.com/BPI-SINOVOIP/BPI-M2P-bsp-4.4<br />
*Linux kernel 3.4 on bithub:https://github.com/BPI-SINOVOIP/BPI-M2P-bsp<br />
<br />
== documents==<br />
*Because of the Google security update some of the old links will not work if the images you want to use cannot be downloaded from the [https://drive.google.com/drive/folders/0B_YnvHgh2rwjVjNyS2pheEtWQlk?resourcekey=0-U4TI84zIBdId7bHHjf2qKA new link bpi-image Files]<br />
*All banana pi [https://drive.google.com/drive/folders/0B4PAo2nW2Kfndjh6SW9MS2xKSWs?resourcekey=0-qXGFXKmd7AVy0S81OXM1RA&usp=sharing docement(SCH file,DXF file,and doc)]<br />
*How To Change The Boot Logo:http://forum.banana-pi.org/t/how-to-change-the-boot-logo/7660<br />
*BPI-M2+ V1.2 schematic diagram<br />
::google drive: [https://drive.google.com/drive/folders/0B4PAo2nW2KfnflVqbjJGTFlFTTd1b1o1OUxDNk5ackVDM0RNUjBpZ0FQU19SbDk1MngzZWM?resourcekey=0-ZRCiv304nGzvq-w7lwnpjg&usp=sharing google driver]<br />
::baidu cloud : https://pan.baidu.com/s/1vjBURLzFF2LYCe8CBcs9Mg<br />
* BPI-M2+ V1.1 schematic diagram: https://drive.google.com/file/d/0B4PAo2nW2KfnMW5sVkxWSW9qa28/view?usp=sharing<br />
* DXF file google download link :[https://drive.google.com/file/d/0B4PAo2nW2KfnaDRVLUpvV3hIVUk/view?usp=sharing BPI-M2+ DXF file]<br />
* 3D design file google download link: [https://drive.google.com/file/d/0B4PAo2nW2KfnVV8zaDhYazRvOU0/view?usp=sharing BPI-M2+ 3D design]<br />
* BPI-M2+ BT Lab test :[https://bananapi.gitbooks.io/bpi-m2-/content/en/bpi-m2+bt40testreport.html BPI-M2+ BT Lab test report]<br />
* BPI-M2+ WIFI Lab test :[https://bananapi.gitbooks.io/bpi-m2-/content/en/bpi-m2+wifilabtest.html BPI-M2+ WIFI Lab test report]<br />
* Validation test :[https://bananapi.gitbooks.io/bpi-m2-/content/en/bpi-m2+validationtestreport.html BPI-M2+ validation test report]<br />
* CE FCC RoHS : [https://bananapi.gitbooks.io/bpi-m2-/content/en/bpim2+cefccrohscertification.html BPI-M2+ CE,FCC,RoHS ] <br />
* Allwinner documents:<br />
** allwinner H3 chip doc baidu link: https://pan.baidu.com/s/1qTULll2CR02d0Hw9itq1rw<br />
** Allwinner H2+ chip doc baidu link: https://pan.baidu.com/s/1TGMYr3rhizfhlg5hl6hLyg<br />
*Banana Pi M2 Plus - Unboxing e apresentação da placa.: https://www.youtube.com/watch?v=_87uHfyMIUA&feature=youtu.be<br />
*Sinovoip Banana Pi M2+ - linux-sunxi.org wiki : http://linux-sunxi.org/Sinovoip_Banana_Pi_M2%2B<br />
<br />
=Image Release=<br />
<br />
==Android==<br />
===Android 7.0===<br />
2018-10-20 android 7.0 share by https://www.facebook.com/vitor1104<br />
*image download link : http://setordigital.blogspot.com/2018/10/android-70-nougat-para-banana-pi-m2.html<br />
::how to install : http://setordigital.blogspot.com/2017/01/como-instalar-o-android-no-orange-pi.html<br />
::Forum pthread : http://forum.banana-pi.org/t/banana-pi-bpi-m2-new-image-android-7-0-nougat-2018-10-20/7082<br />
<br />
2018-06-30 update HDMI-Version <br />
* Image Link: <br />
:: Google Drive : https://drive.google.com/file/d/1TY4CgFxCT3pR6S2nw5w-_XkNsW9fPBhI<br />
:: Baidu Drive : https://pan.baidu.com/s/1ETpbauIezp1228n7kdWo4A<br />
:: Forum thread: http://forum.banana-pi.org/t/bananapi-bpi-m2p-h3-new-image-android7-0-release-2018-6-30/6147<br />
:: How to Google registration: https://www.google.com/android/uncertified/ Android7.0 needs to register devices by youself<br />
<br />
===Android 4.4 ===<br />
* Image Link: <br />
:: Google Drive: https://drive.google.com/open?id=0B_YnvHgh2rwjOWg4ZzBnR0VieFU <br />
:: Baidu Drive: https://pan.baidu.com/s/1gfr7vJ9<br />
::Forum thread: http://forum.banana-pi.org/t/bpi-m2-new-image-android-4-4-version-v3/2765<br />
<br />
===H3Droid android===<br />
<br />
*H3Droid 1.3.5 version image download: https://h3droid.com/download<br />
::forum pthread:http://forum.banana-pi.org/t/h3droid-android-development-on-allwinner-h3-chip-project/3459/14<br />
<br />
==Linux==<br />
*2020-04-23 update, Ubuntu 16.04 Mate Desktop, Ubuntu 16.04 Server, Debian 9 and Raspbian Stretch images, base on kernel 4.4<br />
::google drive :https://drive.google.com/drive/folders/0B_YnvHgh2rwjNExjUmlRNXdVNUE<br />
::baidu cloud: https://pan.baidu.com/s/1Tay4F7nJJV1MzI_aO4NjHw pincode:ih9p<br />
<br />
===Ubuntu===<br />
<br />
*2022-09-07 Armbian_22.11.0-trunk_Bananapim2zero_jammy_edge_5.19.6_xfce_desktop.img<br />
::Google Drive:https://drive.google.com/file/d/1-BXzCnnXr9NvOsfBr646ZGOicQ7Kv9-o/view?usp=sharing<br />
::Baidu Cloud:https://pan.baidu.com/s/19xg6YfySrUR6jclXYrzdOg?pwd=qfys (pincode: qfys)<br />
<br />
*Banana Pi new image: Ubuntu 16.04 with Allwinner BSP, use MPV play 1080P video,Allwinner BSP kernel 3.4 , BPI-M2 Ultra/Berry use kernel 3.10<br />
::google drive: https://drive.google.com/drive/folders/1DEO7JdMfDhHynC83K7JMxgnNxf1gV82S<br />
::discuss on forum: https://forum.banana-pi.org/t/banana-pi-new-image-ubuntu-16-04-with-allwinner-bsp-use-mpv-play-1080p-video/13272<br />
<br />
*2018-5-17 update : Ubuntu 16.04 V1.1 new eMMC and PMU support, base on kernel 3.4<br />
::Image Link: <br />
::::Google Drive: https://drive.google.com/file/d/1YOiOksFTYwCj0Ow11fiGkb74yEsPpbHJ/view<br />
::::baidu cloud : https://pan.baidu.com/s/1Jf-AZF6a4jZugqqx2QXH3Q<br />
::Source Code Github Repo: https://github.com/BPI-SINOVOIP/BPI-M2P-bsp<br />
::Forum thread:<br />
:::: http://forum.banana-pi.org/t/banana-pi-bpi-m2p-new-image-release-ubuntu-16-04-v1-1/5719<br />
<br />
*2017-07-14 update : ubuntu-16.04-mate-desktop, base on kernel 3.4<br />
::Image Link: <br />
::::Google Drive: Google Drive: https://drive.google.com/open?id=1dlfo9LGNcrc-_cpKd1uJnrNx0PdonBnK<br />
::::baidu cloud : http://pan.baidu.com/s/1dEX2TDR<br />
::Source Code Github Repo: https://github.com/BPI-SINOVOIP/BPI-M2P-bsp<br />
:: Forum thread:<br />
:::: http://forum.banana-pi.org/t/bpi-m2-new-image-ubuntu-16-04-mate-desktop-beta-bpi-m2p-sd-emmc-2017-07-14/3572<br />
<br />
*2018-11-09 update ,This release is for banana pi M2P board which is based on Allwinner H3, We release three images, Ubuntu 16.04, Raspbian 9 and Debian 9, base on kernel 4.4.<br />
::M2P Ubuntu 16.04<br />
::Features Map:http://wiki.banana-pi.org/M2P-H3_Image_Map#Kernel_4.4.55<br />
::Google Drive : https://drive.google.com/file/d/1dgrtVqbR4I6xYlSfWBJeGwh8xI79L1PD/view?usp=sharing<br />
::Baidu Drive : https://pan.baidu.com/s/1RHZ-b7PcY9ybeiy95C_VIg<br />
::md5sum : 59f2cc29ce045c15e51fac20ff6924aa<br />
::forum pthread: http://forum.banana-pi.org/t/bananapi-bpi-m2p-h3-new-demo-images-release-with-kernel-4-4-2018-11-09/7210<br />
<br />
*2018-01-02 update : Ubuntu image, base on Kernel 4.4<br />
::image Link: https://mega.nz/#!haRDBJLC!vE9r-b34WhkPGXt69DJjPdQ65ONuCsuM9RCjnvCUE1s<br />
::Forum thread:<br />
:::: http://forum.banana-pi.org/t/bpi-m2-new-image-bpi-m2-kernel-4-4-55/4577<br />
<br />
=== Armbian image ===<br />
*Armbain have support BPI-M2+,Armbian Bionic and Armbian Stretch version<br />
:Image download : https://www.armbian.com/banana-pi-m2-plus/<br />
<br />
*Armbian Xenial and Armbian Jessie <br />
:Armbin image download: https://www.armbian.com/banana-pi-m2-plus/<br />
<br />
*Image from Banana Pi team, released on 2023-07, Armbian_23.02.0<br />
:Baidu Cloud: https://pan.baidu.com/s/1v0JVs50LCqLuioi9I7fGpw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1f_EuiwpfDbBmwa5F5jUqjpGu9hFM9c2-?usp=sharing<br />
<br />
*Image from Banana Pi team, released on 2023-07, Armbian_23.08.0<br />
:Baidu Cloud: https://pan.baidu.com/s/1UMfEkiWdsnV4Lun0wbu17A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1VGO4iysut1PHOBCc2J5XMGjSo7OJDHTw?usp=sharing<br />
<br />
*Armbian_23.02.0-trunk_Bananapim2plus_bullseye_current_5.15.93.img.xz<br />
*Armbian_23.02.0-trunk_Bananapim2plus_bullseye_edge_6.0.10_xfce_desktop.img.xz<br />
*Armbian_23.02.0-trunk_Bananapim2plus_jammy_edge_6.1.11_xfce_desktop.img.xz<br />
:https://pan.baidu.com/s/1hkkl22uVjvRct1V7N4OK2w?pwd=8888<br />
:https://drive.google.com/drive/folders/1VpvVkYMqgmSnmfKXQSrEY2B6wRa-cggL?usp=share_link<br />
:Discuss on forum: https://forum.banana-pi.org/t/banana-pi-bpi-m2-plus-new-armbian-image/15160<br />
<br />
*2022-12-06 Armbian_22.11.0-trunk_Bananapim2plus_bullseye_edge_6.0.9.img.xz<br />
:Google Drive:https://drive.google.com/file/d/1xnyen2FlP3b5kpIC8C70fIT2RUPaeQxo/view?usp=share_link<br />
:Baidu Cloud:https://pan.baidu.com/s/11z-4c1Gj74D7hrT7R-_xhg?pwd=8888 (pincode: 8888) <br />
:Discuss on forum: https://forum.banana-pi.org/t/bananapi-bpi-m2-plus-new-image-release-armbian-bullseye/14449<br />
<br />
* Armbian 5.51 debin Bananapi-m2+ build by BPI 2018-07-12<br />
:Google download : https://drive.google.com/open?id=1H_KEVWTRwgSgal5gt8jKqBT-y4IqIX84<br />
:Baidu download : https://pan.baidu.com/s/1OaBRKHPGqjgat0mntHyYxg<br />
:Discuss on forum : http://forum.banana-pi.org/t/bpi-m2-new-image-2018-07-12-armbian-5-51-debin-bananapi-m2-build-by-bpi-2018-07-12/6265<br />
<br />
=== Openelec Kodi ===<br />
*Openelec Kodi 16.0 (xbmc) <br />
::file name:http:OpenELEC-H3.arm-7.0-devel-20161026220508-r23113-g64b34b3-bpim2p.img.gz <br />
::download link: http://down.nu/images/2016-10-26<br />
::baidu cloud:http://pan.baidu.com/s/1mhMTEnI<br />
::forum pthread:http://forum.banana-pi.org/t/openelec-kodi-16-0-xbmc-on-the-banana-pi-bpi-m2-project/1600<br />
<br />
===Debian linux===<br />
<br />
*2022-09-07 Armbian_22.11.0-trunk_Bananapim2plus_bullseye_edge_5.19.6_xfce_desktop.img<br />
::Google Drive:https://drive.google.com/file/d/17j0YW8SJKpOG2YKRCuGLKXYHuq1wLSAh/view?usp=sharing<br />
::Baidu Cloud:https://pan.baidu.com/s/1prE9mlVuErHidWNJFynKzA?pwd=8ikd (pincode: 8ikd)<br />
<br />
*2019-09-18 update,Banana Pi BPI-M2+ boot debian 10 with grub (u-boot-2019.07 + kernel 5.1.1)<br />
::google drive: https://drive.google.com/file/d/1ZQx732W8u83LECsFqCT9DtEPiQati-z6/view?usp=sharing<br />
::<br />
*2018-11-09 update ,This release is for banana pi M2P board which is based on Allwinner H3, We release three images, Ubuntu 16.04, Raspbian 9 and Debian 9 with kernel 4.4.<br />
::M2P Debian 9 Features Map :http://wiki.banana-pi.org/M2P-H3_Image_Map#Kernel_4.4.55_2<br />
::Google Drive : https://drive.google.com/file/d/13HTp2smKPPK_4byHCI_T3Atg8_NfyQ5S/view?usp=sharing<br />
::Baidu Drive : https://pan.baidu.com/s/1h3TSAzY8ootahOjxkoTG1Q<br />
::md5sum : f979f1a68d759e804e0a90654f4577f1<br />
::forum pthread :http://forum.banana-pi.org/t/bananapi-bpi-m2p-h3-new-demo-images-release-with-kernel-4-4-2018-11-09/7210<br />
<br />
=== Raspbian ===<br />
*2018-11-09 update ,This release is for banana pi M2P board which is based on Allwinner H3, We release three images, Ubuntu 16.04, Raspbian 9 and Debian 9 with kernel 4.4.<br />
::M2P Raspbian 9 Features Map:http://wiki.banana-pi.org/M2P-H3_Image_Map#Kernel_4.4.55_3 1<br />
::Google Drive :https://drive.google.com/open?id=182a1iSYyW8UMJHOyzbu35RfLi-Wn5H8h <br />
::Baidu Drive : https://pan.baidu.com/s/1g5Suk-Ybd3jdhdX82llBwg<br />
::md5sum : 53ec3986ec3df84fa2548d0742f700fa<br />
::fourm pthread :http://forum.banana-pi.org/t/bananapi-bpi-m2p-h3-new-demo-images-release-with-kernel-4-4-2018-11-09/7210<br />
<br />
*2018-5-22 update : Raspbian jessie 8.0 kernel 3.4<br />
::Image Link: <br />
::::Google Drive: https://drive.google.com/open?id=1-jQNZrJQi_KajZre6c6mbt5bHilF0h1x<br />
::::baidu cloud :https://pan.baidu.com/s/16KJbtwjT_PBCZJkYV79_ag<br />
::Source Code Github Repo: https://github.com/BPI-SINOVOIP/BPI-M2P-bsp<br />
::Forum thread:<br />
::http://forum.banana-pi.org/t/banana-pi-bpi-m2p-new-image-release-raspbian-jessie-8-0-2018-5-22/5788<br />
<br />
* 2018-5-22 update : Raspbian 8.0 V1.1 new eMMC and PMU<br />
::Image Link: <br />
::::Google Drive: https://drive.google.com/open?id=1-jQNZrJQi_KajZre6c6mbt5bHilF0h1x<br />
::::baidu cloud : https://pan.baidu.com/s/16KJbtwjT_PBCZJkYV79_ag<br />
::Forum thread:<br />
:::: http://forum.banana-pi.org/t/banana-pi-bpi-m2p-new-image-release-raspbian-jessie-8-0-2018-5-22/5788<br />
<br />
===OpenSUSE===<br />
*OpenSUSE have official support Banana Pi BPI-M2+<br />
[[File:Opensuse_m2+.png]]<br />
::image download : http://download.opensuse.org/ports/armv7hl/factory/images/<br />
<br />
===FreeBSD===<br />
<br />
FreeBSD on Allwinner (sunxi) systems for banana pi<br />
<br />
Banana pi as the official partner of Allwinner , must banana pi product use Allwinner chip design . such as A20/A31S/H3/H2+/A64/A83T , and FreeBSD have support many Allwinner . so easy to use on banana pi board.<br />
*Allwinner A20 (sun7i), a dual-core Cortex-A7 BPI-M1/BPI-M1+/BPI-R1<br />
*Allwinner A31 and A31s (sun6i), a quad-core Cortex-A7 BPI-M2<br />
*Allwinner A64 (sun50i), a quad-core Cortex-A53 BPI-M64 <br />
*Allwinner A83T (sun8i), an octa-core Cortex-A7 BPI-M3 <br />
*Allwinner H3 (sun8i), a quad-core Cortex-A7 BPI-M2+/BPI-M2+ EDU/<br />
<br />
https://wiki.freebsd.org/FreeBSD/arm/Allwinner<br />
<br />
===Lakka TV===<br />
*Banana Pi M2+ with H3 chip <br />
*Banana Pi M3 with A83T chip<br />
*BPI-M1 and BPI-M1+ use A20 chip <br />
*more about this : https://bananapi.gitbooks.io/bpi-m3/content/en/lakkatv.html<br />
<br />
http://mirror.lakka.tv/nightly/<br />
<br />
===Dietpi ===<br />
*Dietpi have official support BPI-M2+ : http://forum.banana-pi.org/t/dietpi-have-official-support-bpi-m2/1882<br />
<br />
===RetroPie===<br />
*RetroPie for Banana Pi BPI-M2+/M2 Zero v.1.2.1 beta<br />
::image download link: http://www.nintendont.it/download/nintendont-retropie-banana-pi-m2-plus-v-1-1-0-beta/<br />
::forum pthread : http://forum.banana-pi.org/t/bpi-m2-zero-new-image-retropie-for-banana-pi-m2-zero-v-1-2-1-beta/4889<br />
<br />
===retrorangepi===<br />
<br />
* retrorangepi support BPI-M2+ BPI-M2 Zero : http://retrorangepi.download/download/index2.html<br />
<br />
==Others image==<br />
<br />
BPI-M2+ also support other image. such as Centos Kali,Gentoo .... please choose the newset image .<br />
<br />
*others image download link : http://forum.banana-pi.org/c/Banana-pi-BPI-M2/M2image<br />
<br />
=FAQ=<br />
<br />
=Easy to buy=<br />
*SINOVOIP Aliexpress Shop: https://www.aliexpress.com/store/group/BPI-M2-Plus/1100417230_40000003593415.html<br />
*Bipai Aliexpress Shop: https://www.aliexpress.com/store/group/BPI-M2-Plus/1101951077_40000003585461.html<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1694930633.htm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M2%2B&diff=17118
Banana Pi BPI-M2+
2024-03-12T03:52:42Z
<p>Sinovoip: /* Introduction */</p>
<hr />
<div>[[zh:香蕉派_BPI-M2%2B]]<br />
=Introduction=<br />
[[File:Banana_pi_BPI-M2+_2.jpg|thumb|[[Banana Pi BPI-M2+]] with Allwinner H3 chip]]<br />
[[File:BPI-M2_zero_11.JPG|thumb|[[Banana Pi BPI-M2 ZERO]] with Allwinner H3 chip]]<br />
[[File:Banana_pi_BPI-M1_1.jpg|thumb|[[Banana Pi BPI-M1]] with Allwinner A20 chip]]<br />
[[File:Banana_pi_BPI-M1+_1.jpg|thumb|[[Banana Pi BPI-M1+]] with Allwinner A20 chip]]<br />
[[File:BPI-F2_zero_1.JPG|thumb|[[Banana Pi BPI-P2 Zero]] with Allwinner H3 chip]]<br />
<br />
[[File:Banana_pi_bpi-m2_magic_5.JPG|thumb|[[Banana Pi BPI-M2M ]] with Allwinner R16 chip design]]<br />
[[File:Banana_pi_BPI-M2_Berry_5.JPG|thumb|[[Banana Pi BPI-M2 Berry]] with Allwinner A40i]]<br />
[[File:Banana_pi_BPI-M2_Ultra_4.JPG|thumb|[[Banana Pi BPI-M2U]] with Allwinner A40i]]<br />
[[File:Banana_pi_BPI-M64_1.jpg|thumb|[[Banana Pi BPI-M64]] with Allwinner A64 chip design]]<br />
[[File:Banana_pi_BPI-M3_1.jpg|thumb|[[Banana Pi BPI-M3]] with Allwinner A83T chip design]]<br />
<br />
[[File:Bpi-m2-plus-02.JPG|thumb|Overview:3D design]]<br />
[[File:BPI-M2+_case.jpg|thumb|[[Case]] BPI-M2+ Premium Aluminum Enclosure]]<br />
[[File:Newwork_scu.JPG|thumb|BPI-4.0 OEM&ODM [[Successful case]] H3 for Network security information analysis instrument]]<br />
[[File:NEW_eBlocker_Family_Shop_money_back.png|thumb|BPI-4.0 OEM&ODM [[Successful case]]:H3 for eBlocker VPN router]]<br />
[[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design,same size and inerface as BPI-M2+]]<br />
<br />
Banana PI BPI-M2+ is the open source hardware platform, use Alliwnner H3 (option H2+ chip and H5 chip ) chip on board,mini size only 65mm*65mm,<br />
<br />
BPI-M2+ hardware: 1Ghz ARM7 quad-core processor, 1GB DDR3 SDRAM, 8G eMMC flash on board,and SDIO wifi&BT 4.0 moodule on board,Gigabit ethernet.<br />
<br />
[[File:Banana_Pi_BPI-M2+.jpg]]<br />
<br />
BPI-M2+ series run Android,Debian linux,Ubuntu linux, Raspberry Pi image and others image. Banana PI,it can easily run with the game it support 1080P high definition video output and 4K support, the GPIO compatible with Raspberry Pi B+ .<br />
<br />
Banana Pi BPI-M2+ not support sata port, so you need use USB for hardisk<br />
<br />
==Key Features==<br />
<br />
* Allwinner H3 Quad-core 1.2GHz Cortex-A7 (option H2+ H5).<br />
* 1GB DDR3<br />
* 8GB eMMC onboard<br />
* HDMI out<br />
* WiFi and BT onboard<br />
* 10/100/1000Mbps Ethernet Port<br />
* CSI camera interface<br />
<br />
==Getting Start==<br />
*[[Quick Start Banana pi SBC]]<br />
*[[Getting Start with M2P]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
<br />
[[File:BPI-M2plus_800.jpg]]<br />
<br />
==Hardware spec==<br />
<br />
{| class="wikitable"<br />
|-<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana Pi M2+(Plus)'''<br />
! <br />
|-<br />
! CPU<br />
| H3 Quad-core Cortex-A7 H.265/HEVC 4K<br />
|-<br />
! GPU<br />
| Mali400MP2 GPU @600&nbsp;MHz,Supports OpenGL ES 2.0<br />
|-<br />
! Memory<br />
| 1GB DDR3 (shared with GPU)<br />
|-<br />
! Flash<br />
| 8GB eMMC flash onboard<br />
|-<br />
! Network<br />
| 10/100/1000 Ethernet <br />
|-<br />
! WIFI&BT<br />
| K016/SDIO AP6212 for Wifi &BT 4.0(option AP6181 AP6335)<br />
|-<br />
! Video Input<br />
| A CSI input connector Camera:1 Supports 8-bit YUV422 CMOS sensor interface,2 Supports CCIR656 protocol for NTSC and PAL, 3 Supports SM pixel camera sensor, 4 Supports video capture solution up to 1080p@30fps<br />
|-<br />
! Video Outputs<br />
| Supports HDMI output with HDCP, Supports HDMI CEC, Supports HDMI 30 function, Integrated CVBS, Supports simultaneous output of HDMI and CVBS<br />
|-<br />
! Audio Outputs<br />
| HDMI<br />
|-<br />
! Power <br />
| 5V/2A DC input can supply power, but USB OTG input don’t supply power<br />
|-<br />
! USB 2.0 ports<br />
| two USB 2.0 HOST, one USB 2.0 OTG<br />
|-<br />
! GPIO<br />
| 40 Pins Header,compatible with Raspberry Pi B+<br />
|-<br />
! LED<br />
| Power led & Status led<br />
|-<br />
! IR<br />
| IR input on board<br />
|-<br />
! OS<br />
| Android, Ubuntu, Debian, Raspberry Pi Image<br />
|}<br />
<br />
==GPIO PIN define ==<br />
<br />
Banana Pi BPI-M2+ (BPI-M2 Plus) has a 40-pin GPIO header that matches that of the Model Raspberry Pi 3. Following is the Banana Pi GPIO Pinout:<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''40 PIN GPIO of Banana pi BPI-M2+'''<br />
|-<br />
| GPIO Pin Name || Default Function || Function2:GPIO || Function3 <br />
|-<br />
| CON2-P01 || VCC-3V3 || || <br />
|-<br />
| CON2-P02 || VCC-5V || || <br />
|-<br />
| CON2-P03 || TWI0-SDA || PA12-EINT12 ||<br />
|-<br />
| CON2-P04 || VCC-5V || || <br />
|-<br />
| CON2-P05 || TWI0-SCK || PA11-EINT11 ||<br />
|-<br />
| CON2-P06 || GND || || <br />
|-<br />
| CON2-P07 || PWM1 || PA6-EINT6 ||<br />
|-<br />
| CON2-P08 || UART3-TX || PA13-EINT13 || SPI1-CS <br />
|-<br />
| CON2-P09 || GND || || <br />
|-<br />
| CON2-P10 || UART3-RX || PA14-EINT14 || SPI1-CLK <br />
|-<br />
| CON2-P11 || UART2-RX || PA1-EINT1 || <br />
|-<br />
| CON2-P12 || UART3-CTS || PA16-EINT16 || SPI1-MISO <br />
|-<br />
| CON2-P13 || UART2-TX || PA0-EINT0 ||<br />
|-<br />
| CON2-P14 || GND || ||<br />
|-<br />
| CON2-P15 || UART2-CTS || PA3-EINT3 ||<br />
|-<br />
| CON2-P16 || UART3-RTS || PA15-EINT15 || SPI1-MOSI <br />
|-<br />
| CON2-P17 || VCC-3V3 || || <br />
|-<br />
| CON2-P18 || PC4 || PC4 ||<br />
|-<br />
| CON2-P19 || SPI0-MOSI || PC0 ||<br />
|-<br />
| CON2-P20 || GND || ||<br />
|-<br />
| CON2-P21 || SPI0-MISO || PC1 ||<br />
|-<br />
| CON2-P22 || UART2-RTS || PA2-EINT2 ||<br />
|-<br />
| CON2-P23 || SPI0-CLK || PC2 ||<br />
|-<br />
| CON2-P24 || SPI0-CS || PC3 ||<br />
|-<br />
| CON2-P25 || GND || || <br />
|-<br />
| CON2-P26 || PC7 || PC7 ||<br />
|-<br />
| CON2-P27 || TWI1-SDA || PA19-EINT19 ||<br />
|-<br />
| CON2-P28 || TWI1-SCK || PA18-EINT18 ||<br />
|-<br />
| CON2-P29 || PA7-EINT7 || PA7-EINT7 ||<br />
|-<br />
| CON2-P30 || GND || || <br />
|-<br />
| CON2-P31 ||PA8-EINT8 || PA8-EINT8 ||<br />
|-<br />
| CON2-P32 || PL2-S-EINT2 || PL2-S-EINT2 ||<br />
|-<br />
| CON2-P33 || PA9-EINT9 || PA9-EINT9 ||<br />
|-<br />
| CON2-P34 || GND || || <br />
|-<br />
| CON2-P35 || PA10-EINT10 || PA10-EINT10 ||<br />
|-<br />
| CON2-P36 || PL4-S-EINT4 || PL4-S-EINT4 ||<br />
|-<br />
| CON2-P37 || PA17-EINT17 || PA17-EINT17 || SPDIF-OUT <br />
|-<br />
| CON2-P38 || PA21-EINT21 || PA21-EINT21 ||<br />
|-<br />
| CON2-P39 || GND || || <br />
|-<br />
| CON2-P40 || PA20-EINT20 || PA20-EINT20 ||<br />
|- <br />
|}<br />
<br />
'''CSI Camera Connector specification:'''<br />
<br />
The CSI Camera Connector is a 24-pin FPC connector which can connect external camera module with proper signal pin mappings. The pin definitions of the CSI interface are shown as below. This is marked on the Banana Pi board as “CSI″.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''CSI Camera PIN of Banana pi BPI-M2+'''<br />
|-<br />
| CSI Pin Name || Default Function || Function2:GPIO <br />
|-<br />
| CN3-P01 || NC ||<br />
|-<br />
| CN3-P02 || GND ||<br />
|-<br />
| CN3-P03 || CSI0-SDA || PE13 <br />
|-<br />
| CN3-P04 || CSI0-AVDD ||<br />
|-<br />
| CN3-P05 || CSI0-SCK || PE12 <br />
|-<br />
| CN3-P06 || CSI0-Reset || PE14 <br />
|-<br />
| CN3-P07 || CSI0-VSYNC || PE3 <br />
|-<br />
| CN3-P08 || CSI0-PWDN || PE15 <br />
|-<br />
| CN3-P09 || CSI0-HSYNC || PE2 <br />
|-<br />
| CN3-P10 || CSI0-DVDD ||<br />
|-<br />
| CN3-P11 || CSI0-DOVDD ||<br />
|-<br />
| CN3-P12 || CSI0-D7 || PE11 <br />
|-<br />
| CN3-P13 || CSI0-MCLK || PE1 <br />
|-<br />
| CN3-P14 || CSI0-D6 || PE10 <br />
|-<br />
| CN3-P15 || GND ||<br />
|-<br />
| CN3-P16 || CSI0-D5 || PE9 <br />
|-<br />
| CN3-P17 || CSI0-PCLK || PE0 <br />
|-<br />
| CN3-P18 || CSI0-D4 || PE8 <br />
|-<br />
| CN3-P19 || CSI0-D0 || PE4 <br />
|-<br />
| CN3-P20 || CSI0-D3 || PE7 <br />
|-<br />
| CN3-P21 || CSI0-D1 || PE5 <br />
|-<br />
| CN3-P22 || CSI0-D2 || PE6 <br />
|-<br />
| CN3-P23 || GND ||<br />
|-<br />
| CN3-P24 || CSI0-DOVDD ||<br />
|- <br />
|}<br />
<br />
'''UART specification:'''<br />
<br />
The jumper CON3 is the UART interface. For developers of Banana Pi, this is an easy way to get the UART console output to check the system status and log message.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''Uart PIN of Banana pi BPI-M2+'''<br />
|-<br />
| CON3 Pin Name || Default Function || GPIO <br />
|-<br />
| CON3 P03 || UART0-TXD || PA4 <br />
|-<br />
| CON3 P02 || UART0-RXD || PA5 <br />
|-<br />
| CON3 P01 || GND ||<br />
|- <br />
|}<br />
<br />
==Hardware V1.2 Version ==<br />
<br />
BPI-M2+ V1.2 hardware version add PMU Voltage regulation design<br />
<br />
How to check BPI-M2+ V1.2 hardware version:<br />
<br />
[[File:V1.2_hardware_2.jpg]]<br />
<br />
BPi-M2+ V1.2 modification<br />
*1,PL0 Instead the drop-down 10K,As a hardware version identification(V1.1 is pull up)<br />
*2,PL1 Change to voltage regulation GPIO<br />
[[File:V1.2_hardware_3.png]]<br />
<br />
voltage regulation schematic diagram:<br />
<br />
[[File:V1.2_hardware_4.png]]<br />
<br />
=Software=<br />
<br />
=Development=<br />
<br />
==Basic Development==<br />
[[OpenCV 3.4x on BananaPi]]<br />
<br />
=Resources=<br />
<br />
== source code==<br />
*linux kernel 4.4 on github :https://github.com/BPI-SINOVOIP/BPI-M2P-bsp-4.4<br />
*Linux kernel 3.4 on bithub:https://github.com/BPI-SINOVOIP/BPI-M2P-bsp<br />
<br />
== documents==<br />
*Because of the Google security update some of the old links will not work if the images you want to use cannot be downloaded from the [https://drive.google.com/drive/folders/0B_YnvHgh2rwjVjNyS2pheEtWQlk?resourcekey=0-U4TI84zIBdId7bHHjf2qKA new link bpi-image Files]<br />
*All banana pi [https://drive.google.com/drive/folders/0B4PAo2nW2Kfndjh6SW9MS2xKSWs?resourcekey=0-qXGFXKmd7AVy0S81OXM1RA&usp=sharing docement(SCH file,DXF file,and doc)]<br />
*How To Change The Boot Logo:http://forum.banana-pi.org/t/how-to-change-the-boot-logo/7660<br />
*BPI-M2+ V1.2 schematic diagram<br />
::google drive: [https://drive.google.com/drive/folders/0B4PAo2nW2KfnflVqbjJGTFlFTTd1b1o1OUxDNk5ackVDM0RNUjBpZ0FQU19SbDk1MngzZWM?resourcekey=0-ZRCiv304nGzvq-w7lwnpjg&usp=sharing google driver]<br />
::baidu cloud : https://pan.baidu.com/s/1vjBURLzFF2LYCe8CBcs9Mg<br />
* BPI-M2+ V1.1 schematic diagram: https://drive.google.com/file/d/0B4PAo2nW2KfnMW5sVkxWSW9qa28/view?usp=sharing<br />
* DXF file google download link :[https://drive.google.com/file/d/0B4PAo2nW2KfnaDRVLUpvV3hIVUk/view?usp=sharing BPI-M2+ DXF file]<br />
* 3D design file google download link: [https://drive.google.com/file/d/0B4PAo2nW2KfnVV8zaDhYazRvOU0/view?usp=sharing BPI-M2+ 3D design]<br />
* BPI-M2+ BT Lab test :[https://bananapi.gitbooks.io/bpi-m2-/content/en/bpi-m2+bt40testreport.html BPI-M2+ BT Lab test report]<br />
* BPI-M2+ WIFI Lab test :[https://bananapi.gitbooks.io/bpi-m2-/content/en/bpi-m2+wifilabtest.html BPI-M2+ WIFI Lab test report]<br />
* Validation test :[https://bananapi.gitbooks.io/bpi-m2-/content/en/bpi-m2+validationtestreport.html BPI-M2+ validation test report]<br />
* CE FCC RoHS : [https://bananapi.gitbooks.io/bpi-m2-/content/en/bpim2+cefccrohscertification.html BPI-M2+ CE,FCC,RoHS ] <br />
* Allwinner documents:<br />
** allwinner H3 chip doc baidu link: https://pan.baidu.com/s/1qTULll2CR02d0Hw9itq1rw<br />
** Allwinner H2+ chip doc baidu link: https://pan.baidu.com/s/1TGMYr3rhizfhlg5hl6hLyg<br />
*Banana Pi M2 Plus - Unboxing e apresentação da placa.: https://www.youtube.com/watch?v=_87uHfyMIUA&feature=youtu.be<br />
*Sinovoip Banana Pi M2+ - linux-sunxi.org wiki : http://linux-sunxi.org/Sinovoip_Banana_Pi_M2%2B<br />
<br />
=Image Release=<br />
<br />
==Android==<br />
===Android 7.0===<br />
2018-10-20 android 7.0 share by https://www.facebook.com/vitor1104<br />
*image download link : http://setordigital.blogspot.com/2018/10/android-70-nougat-para-banana-pi-m2.html<br />
::how to install : http://setordigital.blogspot.com/2017/01/como-instalar-o-android-no-orange-pi.html<br />
::Forum pthread : http://forum.banana-pi.org/t/banana-pi-bpi-m2-new-image-android-7-0-nougat-2018-10-20/7082<br />
<br />
2018-06-30 update HDMI-Version <br />
* Image Link: <br />
:: Google Drive : https://drive.google.com/file/d/1TY4CgFxCT3pR6S2nw5w-_XkNsW9fPBhI<br />
:: Baidu Drive : https://pan.baidu.com/s/1ETpbauIezp1228n7kdWo4A<br />
:: Forum thread: http://forum.banana-pi.org/t/bananapi-bpi-m2p-h3-new-image-android7-0-release-2018-6-30/6147<br />
:: How to Google registration: https://www.google.com/android/uncertified/ Android7.0 needs to register devices by youself<br />
<br />
===Android 4.4 ===<br />
* Image Link: <br />
:: Google Drive: https://drive.google.com/open?id=0B_YnvHgh2rwjOWg4ZzBnR0VieFU <br />
:: Baidu Drive: https://pan.baidu.com/s/1gfr7vJ9<br />
::Forum thread: http://forum.banana-pi.org/t/bpi-m2-new-image-android-4-4-version-v3/2765<br />
<br />
===H3Droid android===<br />
<br />
*H3Droid 1.3.5 version image download: https://h3droid.com/download<br />
::forum pthread:http://forum.banana-pi.org/t/h3droid-android-development-on-allwinner-h3-chip-project/3459/14<br />
<br />
==Linux==<br />
*2020-04-23 update, Ubuntu 16.04 Mate Desktop, Ubuntu 16.04 Server, Debian 9 and Raspbian Stretch images, base on kernel 4.4<br />
::google drive :https://drive.google.com/drive/folders/0B_YnvHgh2rwjNExjUmlRNXdVNUE<br />
::baidu cloud: https://pan.baidu.com/s/1Tay4F7nJJV1MzI_aO4NjHw pincode:ih9p<br />
<br />
===Ubuntu===<br />
<br />
*2022-09-07 Armbian_22.11.0-trunk_Bananapim2zero_jammy_edge_5.19.6_xfce_desktop.img<br />
::Google Drive:https://drive.google.com/file/d/1-BXzCnnXr9NvOsfBr646ZGOicQ7Kv9-o/view?usp=sharing<br />
::Baidu Cloud:https://pan.baidu.com/s/19xg6YfySrUR6jclXYrzdOg?pwd=qfys (pincode: qfys)<br />
<br />
*Banana Pi new image: Ubuntu 16.04 with Allwinner BSP, use MPV play 1080P video,Allwinner BSP kernel 3.4 , BPI-M2 Ultra/Berry use kernel 3.10<br />
::google drive: https://drive.google.com/drive/folders/1DEO7JdMfDhHynC83K7JMxgnNxf1gV82S<br />
::discuss on forum: https://forum.banana-pi.org/t/banana-pi-new-image-ubuntu-16-04-with-allwinner-bsp-use-mpv-play-1080p-video/13272<br />
<br />
*2018-5-17 update : Ubuntu 16.04 V1.1 new eMMC and PMU support, base on kernel 3.4<br />
::Image Link: <br />
::::Google Drive: https://drive.google.com/file/d/1YOiOksFTYwCj0Ow11fiGkb74yEsPpbHJ/view<br />
::::baidu cloud : https://pan.baidu.com/s/1Jf-AZF6a4jZugqqx2QXH3Q<br />
::Source Code Github Repo: https://github.com/BPI-SINOVOIP/BPI-M2P-bsp<br />
::Forum thread:<br />
:::: http://forum.banana-pi.org/t/banana-pi-bpi-m2p-new-image-release-ubuntu-16-04-v1-1/5719<br />
<br />
*2017-07-14 update : ubuntu-16.04-mate-desktop, base on kernel 3.4<br />
::Image Link: <br />
::::Google Drive: Google Drive: https://drive.google.com/open?id=1dlfo9LGNcrc-_cpKd1uJnrNx0PdonBnK<br />
::::baidu cloud : http://pan.baidu.com/s/1dEX2TDR<br />
::Source Code Github Repo: https://github.com/BPI-SINOVOIP/BPI-M2P-bsp<br />
:: Forum thread:<br />
:::: http://forum.banana-pi.org/t/bpi-m2-new-image-ubuntu-16-04-mate-desktop-beta-bpi-m2p-sd-emmc-2017-07-14/3572<br />
<br />
*2018-11-09 update ,This release is for banana pi M2P board which is based on Allwinner H3, We release three images, Ubuntu 16.04, Raspbian 9 and Debian 9, base on kernel 4.4.<br />
::M2P Ubuntu 16.04<br />
::Features Map:http://wiki.banana-pi.org/M2P-H3_Image_Map#Kernel_4.4.55<br />
::Google Drive : https://drive.google.com/file/d/1dgrtVqbR4I6xYlSfWBJeGwh8xI79L1PD/view?usp=sharing<br />
::Baidu Drive : https://pan.baidu.com/s/1RHZ-b7PcY9ybeiy95C_VIg<br />
::md5sum : 59f2cc29ce045c15e51fac20ff6924aa<br />
::forum pthread: http://forum.banana-pi.org/t/bananapi-bpi-m2p-h3-new-demo-images-release-with-kernel-4-4-2018-11-09/7210<br />
<br />
*2018-01-02 update : Ubuntu image, base on Kernel 4.4<br />
::image Link: https://mega.nz/#!haRDBJLC!vE9r-b34WhkPGXt69DJjPdQ65ONuCsuM9RCjnvCUE1s<br />
::Forum thread:<br />
:::: http://forum.banana-pi.org/t/bpi-m2-new-image-bpi-m2-kernel-4-4-55/4577<br />
<br />
=== Armbian image ===<br />
*Armbain have support BPI-M2+,Armbian Bionic and Armbian Stretch version<br />
:Image download : https://www.armbian.com/banana-pi-m2-plus/<br />
<br />
*Armbian Xenial and Armbian Jessie <br />
:Armbin image download: https://www.armbian.com/banana-pi-m2-plus/<br />
<br />
*Image from Banana Pi team, released on 2023-07, Armbian_23.02.0<br />
:Baidu Cloud: https://pan.baidu.com/s/1v0JVs50LCqLuioi9I7fGpw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1f_EuiwpfDbBmwa5F5jUqjpGu9hFM9c2-?usp=sharing<br />
<br />
*Image from Banana Pi team, released on 2023-07, Armbian_23.08.0<br />
:Baidu Cloud: https://pan.baidu.com/s/1UMfEkiWdsnV4Lun0wbu17A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1VGO4iysut1PHOBCc2J5XMGjSo7OJDHTw?usp=sharing<br />
<br />
*Armbian_23.02.0-trunk_Bananapim2plus_bullseye_current_5.15.93.img.xz<br />
*Armbian_23.02.0-trunk_Bananapim2plus_bullseye_edge_6.0.10_xfce_desktop.img.xz<br />
*Armbian_23.02.0-trunk_Bananapim2plus_jammy_edge_6.1.11_xfce_desktop.img.xz<br />
:https://pan.baidu.com/s/1hkkl22uVjvRct1V7N4OK2w?pwd=8888<br />
:https://drive.google.com/drive/folders/1VpvVkYMqgmSnmfKXQSrEY2B6wRa-cggL?usp=share_link<br />
:Discuss on forum: https://forum.banana-pi.org/t/banana-pi-bpi-m2-plus-new-armbian-image/15160<br />
<br />
*2022-12-06 Armbian_22.11.0-trunk_Bananapim2plus_bullseye_edge_6.0.9.img.xz<br />
:Google Drive:https://drive.google.com/file/d/1xnyen2FlP3b5kpIC8C70fIT2RUPaeQxo/view?usp=share_link<br />
:Baidu Cloud:https://pan.baidu.com/s/11z-4c1Gj74D7hrT7R-_xhg?pwd=8888 (pincode: 8888) <br />
:Discuss on forum: https://forum.banana-pi.org/t/bananapi-bpi-m2-plus-new-image-release-armbian-bullseye/14449<br />
<br />
* Armbian 5.51 debin Bananapi-m2+ build by BPI 2018-07-12<br />
:Google download : https://drive.google.com/open?id=1H_KEVWTRwgSgal5gt8jKqBT-y4IqIX84<br />
:Baidu download : https://pan.baidu.com/s/1OaBRKHPGqjgat0mntHyYxg<br />
:Discuss on forum : http://forum.banana-pi.org/t/bpi-m2-new-image-2018-07-12-armbian-5-51-debin-bananapi-m2-build-by-bpi-2018-07-12/6265<br />
<br />
=== Openelec Kodi ===<br />
*Openelec Kodi 16.0 (xbmc) <br />
::file name:http:OpenELEC-H3.arm-7.0-devel-20161026220508-r23113-g64b34b3-bpim2p.img.gz <br />
::download link: http://down.nu/images/2016-10-26<br />
::baidu cloud:http://pan.baidu.com/s/1mhMTEnI<br />
::forum pthread:http://forum.banana-pi.org/t/openelec-kodi-16-0-xbmc-on-the-banana-pi-bpi-m2-project/1600<br />
<br />
===Debian linux===<br />
<br />
*2022-09-07 Armbian_22.11.0-trunk_Bananapim2plus_bullseye_edge_5.19.6_xfce_desktop.img<br />
::Google Drive:https://drive.google.com/file/d/17j0YW8SJKpOG2YKRCuGLKXYHuq1wLSAh/view?usp=sharing<br />
::Baidu Cloud:https://pan.baidu.com/s/1prE9mlVuErHidWNJFynKzA?pwd=8ikd (pincode: 8ikd)<br />
<br />
*2019-09-18 update,Banana Pi BPI-M2+ boot debian 10 with grub (u-boot-2019.07 + kernel 5.1.1)<br />
::google drive: https://drive.google.com/file/d/1ZQx732W8u83LECsFqCT9DtEPiQati-z6/view?usp=sharing<br />
::<br />
*2018-11-09 update ,This release is for banana pi M2P board which is based on Allwinner H3, We release three images, Ubuntu 16.04, Raspbian 9 and Debian 9 with kernel 4.4.<br />
::M2P Debian 9 Features Map :http://wiki.banana-pi.org/M2P-H3_Image_Map#Kernel_4.4.55_2<br />
::Google Drive : https://drive.google.com/file/d/13HTp2smKPPK_4byHCI_T3Atg8_NfyQ5S/view?usp=sharing<br />
::Baidu Drive : https://pan.baidu.com/s/1h3TSAzY8ootahOjxkoTG1Q<br />
::md5sum : f979f1a68d759e804e0a90654f4577f1<br />
::forum pthread :http://forum.banana-pi.org/t/bananapi-bpi-m2p-h3-new-demo-images-release-with-kernel-4-4-2018-11-09/7210<br />
<br />
=== Raspbian ===<br />
*2018-11-09 update ,This release is for banana pi M2P board which is based on Allwinner H3, We release three images, Ubuntu 16.04, Raspbian 9 and Debian 9 with kernel 4.4.<br />
::M2P Raspbian 9 Features Map:http://wiki.banana-pi.org/M2P-H3_Image_Map#Kernel_4.4.55_3 1<br />
::Google Drive :https://drive.google.com/open?id=182a1iSYyW8UMJHOyzbu35RfLi-Wn5H8h <br />
::Baidu Drive : https://pan.baidu.com/s/1g5Suk-Ybd3jdhdX82llBwg<br />
::md5sum : 53ec3986ec3df84fa2548d0742f700fa<br />
::fourm pthread :http://forum.banana-pi.org/t/bananapi-bpi-m2p-h3-new-demo-images-release-with-kernel-4-4-2018-11-09/7210<br />
<br />
*2018-5-22 update : Raspbian jessie 8.0 kernel 3.4<br />
::Image Link: <br />
::::Google Drive: https://drive.google.com/open?id=1-jQNZrJQi_KajZre6c6mbt5bHilF0h1x<br />
::::baidu cloud :https://pan.baidu.com/s/16KJbtwjT_PBCZJkYV79_ag<br />
::Source Code Github Repo: https://github.com/BPI-SINOVOIP/BPI-M2P-bsp<br />
::Forum thread:<br />
::http://forum.banana-pi.org/t/banana-pi-bpi-m2p-new-image-release-raspbian-jessie-8-0-2018-5-22/5788<br />
<br />
* 2018-5-22 update : Raspbian 8.0 V1.1 new eMMC and PMU<br />
::Image Link: <br />
::::Google Drive: https://drive.google.com/open?id=1-jQNZrJQi_KajZre6c6mbt5bHilF0h1x<br />
::::baidu cloud : https://pan.baidu.com/s/16KJbtwjT_PBCZJkYV79_ag<br />
::Forum thread:<br />
:::: http://forum.banana-pi.org/t/banana-pi-bpi-m2p-new-image-release-raspbian-jessie-8-0-2018-5-22/5788<br />
<br />
===OpenSUSE===<br />
*OpenSUSE have official support Banana Pi BPI-M2+<br />
[[File:Opensuse_m2+.png]]<br />
::image download : http://download.opensuse.org/ports/armv7hl/factory/images/<br />
<br />
===FreeBSD===<br />
<br />
FreeBSD on Allwinner (sunxi) systems for banana pi<br />
<br />
Banana pi as the official partner of Allwinner , must banana pi product use Allwinner chip design . such as A20/A31S/H3/H2+/A64/A83T , and FreeBSD have support many Allwinner . so easy to use on banana pi board.<br />
*Allwinner A20 (sun7i), a dual-core Cortex-A7 BPI-M1/BPI-M1+/BPI-R1<br />
*Allwinner A31 and A31s (sun6i), a quad-core Cortex-A7 BPI-M2<br />
*Allwinner A64 (sun50i), a quad-core Cortex-A53 BPI-M64 <br />
*Allwinner A83T (sun8i), an octa-core Cortex-A7 BPI-M3 <br />
*Allwinner H3 (sun8i), a quad-core Cortex-A7 BPI-M2+/BPI-M2+ EDU/<br />
<br />
https://wiki.freebsd.org/FreeBSD/arm/Allwinner<br />
<br />
===Lakka TV===<br />
*Banana Pi M2+ with H3 chip <br />
*Banana Pi M3 with A83T chip<br />
*BPI-M1 and BPI-M1+ use A20 chip <br />
*more about this : https://bananapi.gitbooks.io/bpi-m3/content/en/lakkatv.html<br />
<br />
http://mirror.lakka.tv/nightly/<br />
<br />
===Dietpi ===<br />
*Dietpi have official support BPI-M2+ : http://forum.banana-pi.org/t/dietpi-have-official-support-bpi-m2/1882<br />
<br />
===RetroPie===<br />
*RetroPie for Banana Pi BPI-M2+/M2 Zero v.1.2.1 beta<br />
::image download link: http://www.nintendont.it/download/nintendont-retropie-banana-pi-m2-plus-v-1-1-0-beta/<br />
::forum pthread : http://forum.banana-pi.org/t/bpi-m2-zero-new-image-retropie-for-banana-pi-m2-zero-v-1-2-1-beta/4889<br />
<br />
===retrorangepi===<br />
<br />
* retrorangepi support BPI-M2+ BPI-M2 Zero : http://retrorangepi.download/download/index2.html<br />
<br />
==Others image==<br />
<br />
BPI-M2+ also support other image. such as Centos Kali,Gentoo .... please choose the newset image .<br />
<br />
*others image download link : http://forum.banana-pi.org/c/Banana-pi-BPI-M2/M2image<br />
<br />
=FAQ=<br />
<br />
=Easy to buy=<br />
*SINOVOIP Aliexpress Shop: https://www.aliexpress.com/store/group/BPI-M2-Plus/1100417230_40000003593415.html<br />
*Bipai Aliexpress Shop: https://www.aliexpress.com/store/group/BPI-M2-Plus/1101951077_40000003585461.html<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1694930633.htm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-M2%2B&diff=17117
Banana Pi BPI-M2+
2024-03-12T02:21:23Z
<p>Sinovoip: /* Introduction */</p>
<hr />
<div>[[zh:香蕉派_BPI-M2%2B]]<br />
=Introduction=<br />
[[File:Banana_pi_BPI-M2+_2.jpg|thumb|[[Banana Pi BPI-M2+]] with Allwinner H3 chip]]<br />
[[File:BPI-M2_zero_11.JPG|thumb|[[Banana Pi BPI-M2 ZERO]] with Allwinner H3 chip]]<br />
[[File:Banana_pi_BPI-M1_1.jpg|thumb|[[Banana Pi BPI-M1]] with Allwinner A20 chip]]<br />
[[File:Banana_pi_BPI-M1+_1.jpg|thumb|[[Banana Pi BPI-M1+]] with Allwinner A20 chip]]<br />
[[File:BPI-F2_zero_1.JPG|thumb|[[Banana Pi BPI-P2 Zero]] with Allwinner H3 chip]]<br />
<br />
[[File:Banana_pi_bpi-m2_magic_5.JPG|thumb|[[Banana Pi BPI-M2M ]] with Allwinner R16 chip design]]<br />
[[File:Banana_pi_BPI-M2_Berry_5.JPG|thumb|[[Banana Pi BPI-M2 Berry]] with Allwinner A40i]]<br />
[[File:Banana_pi_BPI-M2_Ultra_4.JPG|thumb|[[Banana Pi BPI-M2U]] with Allwinner A40i]]<br />
[[File:Banana_pi_BPI-M64_1.jpg|thumb|[[Banana Pi BPI-M64]] with Allwinner A64 chip design]]<br />
[[File:Banana_pi_BPI-M3_1.jpg|thumb|[[Banana Pi BPI-M3]] with Allwinner A83T chip design]]<br />
<br />
[[File:Bpi-m2-plus-02.JPG|thumb|Overview:3D design]]<br />
[[File:BPI-M2+_case.jpg|thumb|[[Case]] BPI-M2+ Premium Aluminum Enclosure]]<br />
[[File:Newwork_scu.JPG|thumb|BPI-4.0 OEM&ODM [[Successful case]] H3 for Network security information analysis instrument]]<br />
[[File:NEW_eBlocker_Family_Shop_money_back.png|thumb|BPI-4.0 OEM&ODM [[Successful case]]:H3 for eBlocker VPN router]]<br />
[[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design,same size and inerface as BPI-M2+]]<br />
<br />
Banana PI BPI-M2+ is the open source hardware platform, use Alliwnner H3 (option H2+ chip and H5 chip ) chip on board. and mini size only 65mm*65mm,<br />
<br />
PBI-M2 hardware: 1Ghz ARM7 quad-core processor, 1GB DDR3 SDRAM, 8G eMMC flash on board,and SDIO wifi&BT 4.0 moodule on board.Gigabit ethernet.<br />
<br />
[[File:Banana_Pi_BPI-M2+.jpg]]<br />
<br />
BPI-M2+ series run Android,Debian linux,Ubuntu linux, Raspberry Pi image and others image. Banana PI,it can easily run with the game it support 1080P high definition video output and 4K support, the GPIO compatible with Raspberry Pi B+ .<br />
<br />
Banana Pi BPI-M2+ not support sata port, so you need use USB for hardisk<br />
<br />
==Key Features==<br />
<br />
* Allwinner H3 Quad-core 1.2GHz Cortex-A7 (option H2+ H5).<br />
* 1GB DDR3<br />
* 8GB eMMC onboard<br />
* HDMI out<br />
* WiFi and BT onboard<br />
* 10/100/1000Mbps Ethernet Port<br />
* CSI camera interface<br />
<br />
==Getting Start==<br />
*[[Quick Start Banana pi SBC]]<br />
*[[Getting Start with M2P]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
<br />
[[File:BPI-M2plus_800.jpg]]<br />
<br />
==Hardware spec==<br />
<br />
{| class="wikitable"<br />
|-<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana Pi M2+(Plus)'''<br />
! <br />
|-<br />
! CPU<br />
| H3 Quad-core Cortex-A7 H.265/HEVC 4K<br />
|-<br />
! GPU<br />
| Mali400MP2 GPU @600&nbsp;MHz,Supports OpenGL ES 2.0<br />
|-<br />
! Memory<br />
| 1GB DDR3 (shared with GPU)<br />
|-<br />
! Flash<br />
| 8GB eMMC flash onboard<br />
|-<br />
! Network<br />
| 10/100/1000 Ethernet <br />
|-<br />
! WIFI&BT<br />
| K016/SDIO AP6212 for Wifi &BT 4.0(option AP6181 AP6335)<br />
|-<br />
! Video Input<br />
| A CSI input connector Camera:1 Supports 8-bit YUV422 CMOS sensor interface,2 Supports CCIR656 protocol for NTSC and PAL, 3 Supports SM pixel camera sensor, 4 Supports video capture solution up to 1080p@30fps<br />
|-<br />
! Video Outputs<br />
| Supports HDMI output with HDCP, Supports HDMI CEC, Supports HDMI 30 function, Integrated CVBS, Supports simultaneous output of HDMI and CVBS<br />
|-<br />
! Audio Outputs<br />
| HDMI<br />
|-<br />
! Power <br />
| 5V/2A DC input can supply power, but USB OTG input don’t supply power<br />
|-<br />
! USB 2.0 ports<br />
| two USB 2.0 HOST, one USB 2.0 OTG<br />
|-<br />
! GPIO<br />
| 40 Pins Header,compatible with Raspberry Pi B+<br />
|-<br />
! LED<br />
| Power led & Status led<br />
|-<br />
! IR<br />
| IR input on board<br />
|-<br />
! OS<br />
| Android, Ubuntu, Debian, Raspberry Pi Image<br />
|}<br />
<br />
==GPIO PIN define ==<br />
<br />
Banana Pi BPI-M2+ (BPI-M2 Plus) has a 40-pin GPIO header that matches that of the Model Raspberry Pi 3. Following is the Banana Pi GPIO Pinout:<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''40 PIN GPIO of Banana pi BPI-M2+'''<br />
|-<br />
| GPIO Pin Name || Default Function || Function2:GPIO || Function3 <br />
|-<br />
| CON2-P01 || VCC-3V3 || || <br />
|-<br />
| CON2-P02 || VCC-5V || || <br />
|-<br />
| CON2-P03 || TWI0-SDA || PA12-EINT12 ||<br />
|-<br />
| CON2-P04 || VCC-5V || || <br />
|-<br />
| CON2-P05 || TWI0-SCK || PA11-EINT11 ||<br />
|-<br />
| CON2-P06 || GND || || <br />
|-<br />
| CON2-P07 || PWM1 || PA6-EINT6 ||<br />
|-<br />
| CON2-P08 || UART3-TX || PA13-EINT13 || SPI1-CS <br />
|-<br />
| CON2-P09 || GND || || <br />
|-<br />
| CON2-P10 || UART3-RX || PA14-EINT14 || SPI1-CLK <br />
|-<br />
| CON2-P11 || UART2-RX || PA1-EINT1 || <br />
|-<br />
| CON2-P12 || UART3-CTS || PA16-EINT16 || SPI1-MISO <br />
|-<br />
| CON2-P13 || UART2-TX || PA0-EINT0 ||<br />
|-<br />
| CON2-P14 || GND || ||<br />
|-<br />
| CON2-P15 || UART2-CTS || PA3-EINT3 ||<br />
|-<br />
| CON2-P16 || UART3-RTS || PA15-EINT15 || SPI1-MOSI <br />
|-<br />
| CON2-P17 || VCC-3V3 || || <br />
|-<br />
| CON2-P18 || PC4 || PC4 ||<br />
|-<br />
| CON2-P19 || SPI0-MOSI || PC0 ||<br />
|-<br />
| CON2-P20 || GND || ||<br />
|-<br />
| CON2-P21 || SPI0-MISO || PC1 ||<br />
|-<br />
| CON2-P22 || UART2-RTS || PA2-EINT2 ||<br />
|-<br />
| CON2-P23 || SPI0-CLK || PC2 ||<br />
|-<br />
| CON2-P24 || SPI0-CS || PC3 ||<br />
|-<br />
| CON2-P25 || GND || || <br />
|-<br />
| CON2-P26 || PC7 || PC7 ||<br />
|-<br />
| CON2-P27 || TWI1-SDA || PA19-EINT19 ||<br />
|-<br />
| CON2-P28 || TWI1-SCK || PA18-EINT18 ||<br />
|-<br />
| CON2-P29 || PA7-EINT7 || PA7-EINT7 ||<br />
|-<br />
| CON2-P30 || GND || || <br />
|-<br />
| CON2-P31 ||PA8-EINT8 || PA8-EINT8 ||<br />
|-<br />
| CON2-P32 || PL2-S-EINT2 || PL2-S-EINT2 ||<br />
|-<br />
| CON2-P33 || PA9-EINT9 || PA9-EINT9 ||<br />
|-<br />
| CON2-P34 || GND || || <br />
|-<br />
| CON2-P35 || PA10-EINT10 || PA10-EINT10 ||<br />
|-<br />
| CON2-P36 || PL4-S-EINT4 || PL4-S-EINT4 ||<br />
|-<br />
| CON2-P37 || PA17-EINT17 || PA17-EINT17 || SPDIF-OUT <br />
|-<br />
| CON2-P38 || PA21-EINT21 || PA21-EINT21 ||<br />
|-<br />
| CON2-P39 || GND || || <br />
|-<br />
| CON2-P40 || PA20-EINT20 || PA20-EINT20 ||<br />
|- <br />
|}<br />
<br />
'''CSI Camera Connector specification:'''<br />
<br />
The CSI Camera Connector is a 24-pin FPC connector which can connect external camera module with proper signal pin mappings. The pin definitions of the CSI interface are shown as below. This is marked on the Banana Pi board as “CSI″.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''CSI Camera PIN of Banana pi BPI-M2+'''<br />
|-<br />
| CSI Pin Name || Default Function || Function2:GPIO <br />
|-<br />
| CN3-P01 || NC ||<br />
|-<br />
| CN3-P02 || GND ||<br />
|-<br />
| CN3-P03 || CSI0-SDA || PE13 <br />
|-<br />
| CN3-P04 || CSI0-AVDD ||<br />
|-<br />
| CN3-P05 || CSI0-SCK || PE12 <br />
|-<br />
| CN3-P06 || CSI0-Reset || PE14 <br />
|-<br />
| CN3-P07 || CSI0-VSYNC || PE3 <br />
|-<br />
| CN3-P08 || CSI0-PWDN || PE15 <br />
|-<br />
| CN3-P09 || CSI0-HSYNC || PE2 <br />
|-<br />
| CN3-P10 || CSI0-DVDD ||<br />
|-<br />
| CN3-P11 || CSI0-DOVDD ||<br />
|-<br />
| CN3-P12 || CSI0-D7 || PE11 <br />
|-<br />
| CN3-P13 || CSI0-MCLK || PE1 <br />
|-<br />
| CN3-P14 || CSI0-D6 || PE10 <br />
|-<br />
| CN3-P15 || GND ||<br />
|-<br />
| CN3-P16 || CSI0-D5 || PE9 <br />
|-<br />
| CN3-P17 || CSI0-PCLK || PE0 <br />
|-<br />
| CN3-P18 || CSI0-D4 || PE8 <br />
|-<br />
| CN3-P19 || CSI0-D0 || PE4 <br />
|-<br />
| CN3-P20 || CSI0-D3 || PE7 <br />
|-<br />
| CN3-P21 || CSI0-D1 || PE5 <br />
|-<br />
| CN3-P22 || CSI0-D2 || PE6 <br />
|-<br />
| CN3-P23 || GND ||<br />
|-<br />
| CN3-P24 || CSI0-DOVDD ||<br />
|- <br />
|}<br />
<br />
'''UART specification:'''<br />
<br />
The jumper CON3 is the UART interface. For developers of Banana Pi, this is an easy way to get the UART console output to check the system status and log message.<br />
<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''Uart PIN of Banana pi BPI-M2+'''<br />
|-<br />
| CON3 Pin Name || Default Function || GPIO <br />
|-<br />
| CON3 P03 || UART0-TXD || PA4 <br />
|-<br />
| CON3 P02 || UART0-RXD || PA5 <br />
|-<br />
| CON3 P01 || GND ||<br />
|- <br />
|}<br />
<br />
==Hardware V1.2 Version ==<br />
<br />
BPI-M2+ V1.2 hardware version add PMU Voltage regulation design<br />
<br />
How to check BPI-M2+ V1.2 hardware version:<br />
<br />
[[File:V1.2_hardware_2.jpg]]<br />
<br />
BPi-M2+ V1.2 modification<br />
*1,PL0 Instead the drop-down 10K,As a hardware version identification(V1.1 is pull up)<br />
*2,PL1 Change to voltage regulation GPIO<br />
[[File:V1.2_hardware_3.png]]<br />
<br />
voltage regulation schematic diagram:<br />
<br />
[[File:V1.2_hardware_4.png]]<br />
<br />
=Software=<br />
<br />
=Development=<br />
<br />
==Basic Development==<br />
[[OpenCV 3.4x on BananaPi]]<br />
<br />
=Resources=<br />
<br />
== source code==<br />
*linux kernel 4.4 on github :https://github.com/BPI-SINOVOIP/BPI-M2P-bsp-4.4<br />
*Linux kernel 3.4 on bithub:https://github.com/BPI-SINOVOIP/BPI-M2P-bsp<br />
<br />
== documents==<br />
*Because of the Google security update some of the old links will not work if the images you want to use cannot be downloaded from the [https://drive.google.com/drive/folders/0B_YnvHgh2rwjVjNyS2pheEtWQlk?resourcekey=0-U4TI84zIBdId7bHHjf2qKA new link bpi-image Files]<br />
*All banana pi [https://drive.google.com/drive/folders/0B4PAo2nW2Kfndjh6SW9MS2xKSWs?resourcekey=0-qXGFXKmd7AVy0S81OXM1RA&usp=sharing docement(SCH file,DXF file,and doc)]<br />
*How To Change The Boot Logo:http://forum.banana-pi.org/t/how-to-change-the-boot-logo/7660<br />
*BPI-M2+ V1.2 schematic diagram<br />
::google drive: [https://drive.google.com/drive/folders/0B4PAo2nW2KfnflVqbjJGTFlFTTd1b1o1OUxDNk5ackVDM0RNUjBpZ0FQU19SbDk1MngzZWM?resourcekey=0-ZRCiv304nGzvq-w7lwnpjg&usp=sharing google driver]<br />
::baidu cloud : https://pan.baidu.com/s/1vjBURLzFF2LYCe8CBcs9Mg<br />
* BPI-M2+ V1.1 schematic diagram: https://drive.google.com/file/d/0B4PAo2nW2KfnMW5sVkxWSW9qa28/view?usp=sharing<br />
* DXF file google download link :[https://drive.google.com/file/d/0B4PAo2nW2KfnaDRVLUpvV3hIVUk/view?usp=sharing BPI-M2+ DXF file]<br />
* 3D design file google download link: [https://drive.google.com/file/d/0B4PAo2nW2KfnVV8zaDhYazRvOU0/view?usp=sharing BPI-M2+ 3D design]<br />
* BPI-M2+ BT Lab test :[https://bananapi.gitbooks.io/bpi-m2-/content/en/bpi-m2+bt40testreport.html BPI-M2+ BT Lab test report]<br />
* BPI-M2+ WIFI Lab test :[https://bananapi.gitbooks.io/bpi-m2-/content/en/bpi-m2+wifilabtest.html BPI-M2+ WIFI Lab test report]<br />
* Validation test :[https://bananapi.gitbooks.io/bpi-m2-/content/en/bpi-m2+validationtestreport.html BPI-M2+ validation test report]<br />
* CE FCC RoHS : [https://bananapi.gitbooks.io/bpi-m2-/content/en/bpim2+cefccrohscertification.html BPI-M2+ CE,FCC,RoHS ] <br />
* Allwinner documents:<br />
** allwinner H3 chip doc baidu link: https://pan.baidu.com/s/1qTULll2CR02d0Hw9itq1rw<br />
** Allwinner H2+ chip doc baidu link: https://pan.baidu.com/s/1TGMYr3rhizfhlg5hl6hLyg<br />
*Banana Pi M2 Plus - Unboxing e apresentação da placa.: https://www.youtube.com/watch?v=_87uHfyMIUA&feature=youtu.be<br />
*Sinovoip Banana Pi M2+ - linux-sunxi.org wiki : http://linux-sunxi.org/Sinovoip_Banana_Pi_M2%2B<br />
<br />
=Image Release=<br />
<br />
==Android==<br />
===Android 7.0===<br />
2018-10-20 android 7.0 share by https://www.facebook.com/vitor1104<br />
*image download link : http://setordigital.blogspot.com/2018/10/android-70-nougat-para-banana-pi-m2.html<br />
::how to install : http://setordigital.blogspot.com/2017/01/como-instalar-o-android-no-orange-pi.html<br />
::Forum pthread : http://forum.banana-pi.org/t/banana-pi-bpi-m2-new-image-android-7-0-nougat-2018-10-20/7082<br />
<br />
2018-06-30 update HDMI-Version <br />
* Image Link: <br />
:: Google Drive : https://drive.google.com/file/d/1TY4CgFxCT3pR6S2nw5w-_XkNsW9fPBhI<br />
:: Baidu Drive : https://pan.baidu.com/s/1ETpbauIezp1228n7kdWo4A<br />
:: Forum thread: http://forum.banana-pi.org/t/bananapi-bpi-m2p-h3-new-image-android7-0-release-2018-6-30/6147<br />
:: How to Google registration: https://www.google.com/android/uncertified/ Android7.0 needs to register devices by youself<br />
<br />
===Android 4.4 ===<br />
* Image Link: <br />
:: Google Drive: https://drive.google.com/open?id=0B_YnvHgh2rwjOWg4ZzBnR0VieFU <br />
:: Baidu Drive: https://pan.baidu.com/s/1gfr7vJ9<br />
::Forum thread: http://forum.banana-pi.org/t/bpi-m2-new-image-android-4-4-version-v3/2765<br />
<br />
===H3Droid android===<br />
<br />
*H3Droid 1.3.5 version image download: https://h3droid.com/download<br />
::forum pthread:http://forum.banana-pi.org/t/h3droid-android-development-on-allwinner-h3-chip-project/3459/14<br />
<br />
==Linux==<br />
*2020-04-23 update, Ubuntu 16.04 Mate Desktop, Ubuntu 16.04 Server, Debian 9 and Raspbian Stretch images, base on kernel 4.4<br />
::google drive :https://drive.google.com/drive/folders/0B_YnvHgh2rwjNExjUmlRNXdVNUE<br />
::baidu cloud: https://pan.baidu.com/s/1Tay4F7nJJV1MzI_aO4NjHw pincode:ih9p<br />
<br />
===Ubuntu===<br />
<br />
*2022-09-07 Armbian_22.11.0-trunk_Bananapim2zero_jammy_edge_5.19.6_xfce_desktop.img<br />
::Google Drive:https://drive.google.com/file/d/1-BXzCnnXr9NvOsfBr646ZGOicQ7Kv9-o/view?usp=sharing<br />
::Baidu Cloud:https://pan.baidu.com/s/19xg6YfySrUR6jclXYrzdOg?pwd=qfys (pincode: qfys)<br />
<br />
*Banana Pi new image: Ubuntu 16.04 with Allwinner BSP, use MPV play 1080P video,Allwinner BSP kernel 3.4 , BPI-M2 Ultra/Berry use kernel 3.10<br />
::google drive: https://drive.google.com/drive/folders/1DEO7JdMfDhHynC83K7JMxgnNxf1gV82S<br />
::discuss on forum: https://forum.banana-pi.org/t/banana-pi-new-image-ubuntu-16-04-with-allwinner-bsp-use-mpv-play-1080p-video/13272<br />
<br />
*2018-5-17 update : Ubuntu 16.04 V1.1 new eMMC and PMU support, base on kernel 3.4<br />
::Image Link: <br />
::::Google Drive: https://drive.google.com/file/d/1YOiOksFTYwCj0Ow11fiGkb74yEsPpbHJ/view<br />
::::baidu cloud : https://pan.baidu.com/s/1Jf-AZF6a4jZugqqx2QXH3Q<br />
::Source Code Github Repo: https://github.com/BPI-SINOVOIP/BPI-M2P-bsp<br />
::Forum thread:<br />
:::: http://forum.banana-pi.org/t/banana-pi-bpi-m2p-new-image-release-ubuntu-16-04-v1-1/5719<br />
<br />
*2017-07-14 update : ubuntu-16.04-mate-desktop, base on kernel 3.4<br />
::Image Link: <br />
::::Google Drive: Google Drive: https://drive.google.com/open?id=1dlfo9LGNcrc-_cpKd1uJnrNx0PdonBnK<br />
::::baidu cloud : http://pan.baidu.com/s/1dEX2TDR<br />
::Source Code Github Repo: https://github.com/BPI-SINOVOIP/BPI-M2P-bsp<br />
:: Forum thread:<br />
:::: http://forum.banana-pi.org/t/bpi-m2-new-image-ubuntu-16-04-mate-desktop-beta-bpi-m2p-sd-emmc-2017-07-14/3572<br />
<br />
*2018-11-09 update ,This release is for banana pi M2P board which is based on Allwinner H3, We release three images, Ubuntu 16.04, Raspbian 9 and Debian 9, base on kernel 4.4.<br />
::M2P Ubuntu 16.04<br />
::Features Map:http://wiki.banana-pi.org/M2P-H3_Image_Map#Kernel_4.4.55<br />
::Google Drive : https://drive.google.com/file/d/1dgrtVqbR4I6xYlSfWBJeGwh8xI79L1PD/view?usp=sharing<br />
::Baidu Drive : https://pan.baidu.com/s/1RHZ-b7PcY9ybeiy95C_VIg<br />
::md5sum : 59f2cc29ce045c15e51fac20ff6924aa<br />
::forum pthread: http://forum.banana-pi.org/t/bananapi-bpi-m2p-h3-new-demo-images-release-with-kernel-4-4-2018-11-09/7210<br />
<br />
*2018-01-02 update : Ubuntu image, base on Kernel 4.4<br />
::image Link: https://mega.nz/#!haRDBJLC!vE9r-b34WhkPGXt69DJjPdQ65ONuCsuM9RCjnvCUE1s<br />
::Forum thread:<br />
:::: http://forum.banana-pi.org/t/bpi-m2-new-image-bpi-m2-kernel-4-4-55/4577<br />
<br />
=== Armbian image ===<br />
*Armbain have support BPI-M2+,Armbian Bionic and Armbian Stretch version<br />
:Image download : https://www.armbian.com/banana-pi-m2-plus/<br />
<br />
*Armbian Xenial and Armbian Jessie <br />
:Armbin image download: https://www.armbian.com/banana-pi-m2-plus/<br />
<br />
*Image from Banana Pi team, released on 2023-07, Armbian_23.02.0<br />
:Baidu Cloud: https://pan.baidu.com/s/1v0JVs50LCqLuioi9I7fGpw?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1f_EuiwpfDbBmwa5F5jUqjpGu9hFM9c2-?usp=sharing<br />
<br />
*Image from Banana Pi team, released on 2023-07, Armbian_23.08.0<br />
:Baidu Cloud: https://pan.baidu.com/s/1UMfEkiWdsnV4Lun0wbu17A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1VGO4iysut1PHOBCc2J5XMGjSo7OJDHTw?usp=sharing<br />
<br />
*Armbian_23.02.0-trunk_Bananapim2plus_bullseye_current_5.15.93.img.xz<br />
*Armbian_23.02.0-trunk_Bananapim2plus_bullseye_edge_6.0.10_xfce_desktop.img.xz<br />
*Armbian_23.02.0-trunk_Bananapim2plus_jammy_edge_6.1.11_xfce_desktop.img.xz<br />
:https://pan.baidu.com/s/1hkkl22uVjvRct1V7N4OK2w?pwd=8888<br />
:https://drive.google.com/drive/folders/1VpvVkYMqgmSnmfKXQSrEY2B6wRa-cggL?usp=share_link<br />
:Discuss on forum: https://forum.banana-pi.org/t/banana-pi-bpi-m2-plus-new-armbian-image/15160<br />
<br />
*2022-12-06 Armbian_22.11.0-trunk_Bananapim2plus_bullseye_edge_6.0.9.img.xz<br />
:Google Drive:https://drive.google.com/file/d/1xnyen2FlP3b5kpIC8C70fIT2RUPaeQxo/view?usp=share_link<br />
:Baidu Cloud:https://pan.baidu.com/s/11z-4c1Gj74D7hrT7R-_xhg?pwd=8888 (pincode: 8888) <br />
:Discuss on forum: https://forum.banana-pi.org/t/bananapi-bpi-m2-plus-new-image-release-armbian-bullseye/14449<br />
<br />
* Armbian 5.51 debin Bananapi-m2+ build by BPI 2018-07-12<br />
:Google download : https://drive.google.com/open?id=1H_KEVWTRwgSgal5gt8jKqBT-y4IqIX84<br />
:Baidu download : https://pan.baidu.com/s/1OaBRKHPGqjgat0mntHyYxg<br />
:Discuss on forum : http://forum.banana-pi.org/t/bpi-m2-new-image-2018-07-12-armbian-5-51-debin-bananapi-m2-build-by-bpi-2018-07-12/6265<br />
<br />
=== Openelec Kodi ===<br />
*Openelec Kodi 16.0 (xbmc) <br />
::file name:http:OpenELEC-H3.arm-7.0-devel-20161026220508-r23113-g64b34b3-bpim2p.img.gz <br />
::download link: http://down.nu/images/2016-10-26<br />
::baidu cloud:http://pan.baidu.com/s/1mhMTEnI<br />
::forum pthread:http://forum.banana-pi.org/t/openelec-kodi-16-0-xbmc-on-the-banana-pi-bpi-m2-project/1600<br />
<br />
===Debian linux===<br />
<br />
*2022-09-07 Armbian_22.11.0-trunk_Bananapim2plus_bullseye_edge_5.19.6_xfce_desktop.img<br />
::Google Drive:https://drive.google.com/file/d/17j0YW8SJKpOG2YKRCuGLKXYHuq1wLSAh/view?usp=sharing<br />
::Baidu Cloud:https://pan.baidu.com/s/1prE9mlVuErHidWNJFynKzA?pwd=8ikd (pincode: 8ikd)<br />
<br />
*2019-09-18 update,Banana Pi BPI-M2+ boot debian 10 with grub (u-boot-2019.07 + kernel 5.1.1)<br />
::google drive: https://drive.google.com/file/d/1ZQx732W8u83LECsFqCT9DtEPiQati-z6/view?usp=sharing<br />
::<br />
*2018-11-09 update ,This release is for banana pi M2P board which is based on Allwinner H3, We release three images, Ubuntu 16.04, Raspbian 9 and Debian 9 with kernel 4.4.<br />
::M2P Debian 9 Features Map :http://wiki.banana-pi.org/M2P-H3_Image_Map#Kernel_4.4.55_2<br />
::Google Drive : https://drive.google.com/file/d/13HTp2smKPPK_4byHCI_T3Atg8_NfyQ5S/view?usp=sharing<br />
::Baidu Drive : https://pan.baidu.com/s/1h3TSAzY8ootahOjxkoTG1Q<br />
::md5sum : f979f1a68d759e804e0a90654f4577f1<br />
::forum pthread :http://forum.banana-pi.org/t/bananapi-bpi-m2p-h3-new-demo-images-release-with-kernel-4-4-2018-11-09/7210<br />
<br />
=== Raspbian ===<br />
*2018-11-09 update ,This release is for banana pi M2P board which is based on Allwinner H3, We release three images, Ubuntu 16.04, Raspbian 9 and Debian 9 with kernel 4.4.<br />
::M2P Raspbian 9 Features Map:http://wiki.banana-pi.org/M2P-H3_Image_Map#Kernel_4.4.55_3 1<br />
::Google Drive :https://drive.google.com/open?id=182a1iSYyW8UMJHOyzbu35RfLi-Wn5H8h <br />
::Baidu Drive : https://pan.baidu.com/s/1g5Suk-Ybd3jdhdX82llBwg<br />
::md5sum : 53ec3986ec3df84fa2548d0742f700fa<br />
::fourm pthread :http://forum.banana-pi.org/t/bananapi-bpi-m2p-h3-new-demo-images-release-with-kernel-4-4-2018-11-09/7210<br />
<br />
*2018-5-22 update : Raspbian jessie 8.0 kernel 3.4<br />
::Image Link: <br />
::::Google Drive: https://drive.google.com/open?id=1-jQNZrJQi_KajZre6c6mbt5bHilF0h1x<br />
::::baidu cloud :https://pan.baidu.com/s/16KJbtwjT_PBCZJkYV79_ag<br />
::Source Code Github Repo: https://github.com/BPI-SINOVOIP/BPI-M2P-bsp<br />
::Forum thread:<br />
::http://forum.banana-pi.org/t/banana-pi-bpi-m2p-new-image-release-raspbian-jessie-8-0-2018-5-22/5788<br />
<br />
* 2018-5-22 update : Raspbian 8.0 V1.1 new eMMC and PMU<br />
::Image Link: <br />
::::Google Drive: https://drive.google.com/open?id=1-jQNZrJQi_KajZre6c6mbt5bHilF0h1x<br />
::::baidu cloud : https://pan.baidu.com/s/16KJbtwjT_PBCZJkYV79_ag<br />
::Forum thread:<br />
:::: http://forum.banana-pi.org/t/banana-pi-bpi-m2p-new-image-release-raspbian-jessie-8-0-2018-5-22/5788<br />
<br />
===OpenSUSE===<br />
*OpenSUSE have official support Banana Pi BPI-M2+<br />
[[File:Opensuse_m2+.png]]<br />
::image download : http://download.opensuse.org/ports/armv7hl/factory/images/<br />
<br />
===FreeBSD===<br />
<br />
FreeBSD on Allwinner (sunxi) systems for banana pi<br />
<br />
Banana pi as the official partner of Allwinner , must banana pi product use Allwinner chip design . such as A20/A31S/H3/H2+/A64/A83T , and FreeBSD have support many Allwinner . so easy to use on banana pi board.<br />
*Allwinner A20 (sun7i), a dual-core Cortex-A7 BPI-M1/BPI-M1+/BPI-R1<br />
*Allwinner A31 and A31s (sun6i), a quad-core Cortex-A7 BPI-M2<br />
*Allwinner A64 (sun50i), a quad-core Cortex-A53 BPI-M64 <br />
*Allwinner A83T (sun8i), an octa-core Cortex-A7 BPI-M3 <br />
*Allwinner H3 (sun8i), a quad-core Cortex-A7 BPI-M2+/BPI-M2+ EDU/<br />
<br />
https://wiki.freebsd.org/FreeBSD/arm/Allwinner<br />
<br />
===Lakka TV===<br />
*Banana Pi M2+ with H3 chip <br />
*Banana Pi M3 with A83T chip<br />
*BPI-M1 and BPI-M1+ use A20 chip <br />
*more about this : https://bananapi.gitbooks.io/bpi-m3/content/en/lakkatv.html<br />
<br />
http://mirror.lakka.tv/nightly/<br />
<br />
===Dietpi ===<br />
*Dietpi have official support BPI-M2+ : http://forum.banana-pi.org/t/dietpi-have-official-support-bpi-m2/1882<br />
<br />
===RetroPie===<br />
*RetroPie for Banana Pi BPI-M2+/M2 Zero v.1.2.1 beta<br />
::image download link: http://www.nintendont.it/download/nintendont-retropie-banana-pi-m2-plus-v-1-1-0-beta/<br />
::forum pthread : http://forum.banana-pi.org/t/bpi-m2-zero-new-image-retropie-for-banana-pi-m2-zero-v-1-2-1-beta/4889<br />
<br />
===retrorangepi===<br />
<br />
* retrorangepi support BPI-M2+ BPI-M2 Zero : http://retrorangepi.download/download/index2.html<br />
<br />
==Others image==<br />
<br />
BPI-M2+ also support other image. such as Centos Kali,Gentoo .... please choose the newset image .<br />
<br />
*others image download link : http://forum.banana-pi.org/c/Banana-pi-BPI-M2/M2image<br />
<br />
=FAQ=<br />
<br />
=Easy to buy=<br />
*SINOVOIP Aliexpress Shop: https://www.aliexpress.com/store/group/BPI-M2-Plus/1100417230_40000003593415.html<br />
*Bipai Aliexpress Shop: https://www.aliexpress.com/store/group/BPI-M2-Plus/1101951077_40000003585461.html<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1694930633.htm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-R64&diff=17116
Banana Pi BPI-R64
2024-03-12T02:12:25Z
<p>Sinovoip: /* Introduction */</p>
<hr />
<div>[[zh:香蕉派_BPI-R64]]<br />
<br />
=Summary=<br />
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MT7622]]<br />
[[File:BPI-R64_case_1.jpg|thumb|[[Banana Pi BPI-R64]] Metal [[Case]]]]<br />
<br />
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]<br />
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__case_1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
<br />
[[File:O2A0500.jpg|thumb|[[Banana Pi BPI-W2]] with Realtek RTK1296 chip design]]<br />
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]<br />
[[File:BPI-R64_4.JPG|thumb|BPI-R64 with BPI-7402 POE function support]]<br />
[[File:Banana_Pi_BPI-R64_1.jpg|thumb|Overview:banana Pi BPI-R64]]<br />
<br />
[[File:BPI-7402_IEEE_802.3at_PoE_module_2.jpg|thumb|[[BPI-7402 IEEE 802.3at PoE module]]]]<br />
[[File:MTK_MT7615_1.JPG|thumb|[[BPI-MT7615 802.11 ac wifi 4x4 dual-band module]]]]<br />
[[File:5G_gateway_2.jpg|thumb|BPI:4.0 [[Successful case]] 5G Converged communication gateway]]<br />
[[File:BPI-4G 5.JPG|thumb|4G with USB [[4G module via USB]]]]<br />
[[File:BPI-R64_4g_1.JPG|thumb|[[5G + 4G LTE+Wifi AC+Gigabit Multiplex aggregate route]]]]<br />
[[File:BPI-R64_case.JPG|thumb|BPI-R64 case]]<br />
<br />
==Introduction==<br />
The Banana Pi R64 is a router based development board, which can run on a variety of open source operating systems including OpenWrt,Linux. It has 4 Gigabit LAN ports, 1 Gigabit WAN, and AC wifi AP function.<br />
use 64 bit chip design<br />
<br />
[[File:Banana_Pi_BPI-R64.png]]<br />
<br />
'''Note: this board doesn't have HDMI interface'''<br />
<br />
==MTK MT7622== <br />
<br />
Highly integrated 4x4 802.11n and Bluetooth 5.0 platform with dedicated Network Accelerator<br />
[https://www.mediatek.com/products/homeNetworking/mt7622 MediaTek MT7622] is the world’s first with 4x4n 802.11n/Bluetooth 5.0 system-on-chip designed and built for premium networking devices across several applications including routers/repeaters, home automation gateways, wireless audio, and wireless storage. The highly versatile chipset provides a single platform for popular 4X4 dual-band and tri-band routers/repeaters, providing maximum flexibility for manufacturers looking to build top-tier networking devices. The platform pairs high performance and extensively integrated functionality with a cost-effective approach.<br />
<br />
The MT7622 contains MediaTek’s Adaptive Network technology that allows for easy setup, network self-healing, roaming, band steering, Smart quality of service, advanced security and more. For audio and voice control applications, essential audio interfaces such as I2S, TDM and S/PDIF are included. And for Home Automation Gateways there is a rich array of slow I/O in addition to the integrated Wi-Fi, Bluetooth and Zigbee co-existence.<br />
<br />
Powered by a 64-bit dual-core ARM Cortex-A53 processor clocked at 1.35GHz, the MT7622 provides a host of advanced connectivity options like SGMII/RGMII, PCIe, and USB, and 4X4 802.11n FEM integration. Extending the platform with 802.11ac to meet additional markets is simply done via MT7615 SoC.<br />
<br />
The MT7622 introduces several best-in-class features such as Bluetooth 5.0 and a dedicated Network Accelerator engine with the MediaTek Wi-Fi Warp Accelerator, storage accelerator (SATA 3.0/eSATA Gen2) and HNAT HQoS calculations are offloaded from the CPU, lowering overall power-use and freeing up resources to avoid any potential slow-downs.<br />
<br />
The advantage of the MediaTek Wi-Fi Warp Accelerator is two-fold. Firstly it connects the Gigabit+ class 802.11ac networking through to the Gigabit switch/WAN connection via multi-Gigabit internal pathways, ensuring no bottleneck. Secondly, its specialized design not only offloads the CPU from many-user throughput and QoS calculations, it does so at lower power. The result is the MediaTek Wi-Fi Warp Accelerator maintains a sustained high-performance when even supporting multiple, simultaneous heavy users.<br />
<br />
Integrated Bluetooth allows for a direct, local wireless connection via App for easy configuration of the router/Wi-Fi settings. The latest Bluetooth 5.0 quadruples range and doubles speed versus previous 4.x technologies, allowing new and innovative possibilities.<br />
<br />
==Key Features==<br />
<br />
* MediaTek MT7622,1.35GHZ 64 bit dual-core ARM Cortex-A53<br />
* 1G DDR3 SDRAM<br />
* Mini PCIE interface support 4G module<br />
* built-in 4x4n 802.11n/Bluetooth 5.0 system-on-chip<br />
* MTK7615 4x4ac wifi (option)<br />
* support 1 SATA interface<br />
* MicroSD slot supports up to 256GB expansion<br />
* 8G eMMC flash (option 16/32/64G)<br />
* 128MB nand flash<br />
* 5 port 10/100/1000 Mb Ethernet port<br />
* (1) USB 3.0<br />
* Slow I/O:ADC, Audio Amplifier, GPIO, I2C, I2S, IR, PMIC I/F, PWM, RTC, SPI, UART<br />
* POE function support<br />
<br />
==Getting Start==<br />
<br />
Read more for development :[[Getting Started with R64]]<br />
<br />
Frank wiki : http://fw-web.de/dokuwiki/doku.php?id=en:bpi-r64:start<br />
<br />
=Hardware Revision=<br />
==Hardware interface==<br />
<br />
[[File:BPI-R64_interface.JPG]]<br />
<br />
the inner and outer diameter of the power plug adapter datasheet:https://drive.google.com/file/d/1k3AWmYOs2XE7lnRxCyytZu0Vpq_Bzcu_/view?usp=sharing<br />
<br />
[[File:Dc090_size.png]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-R64'''<br />
|-<br />
| CPU ||MediaTek MT7622,1.35GHZ 64 bit dual-core ARM Cortex-A53<br />
|-<br />
| SDRAM || 1 GB DDR3 <br />
|-<br />
| SATA || support 1 SATA interface <br />
|-<br />
| GPIO || 40 Pins Header, 28×GPIO, some of which can be used for specific functions including UART, I2C, SPI, PWM, I2S. <br />
|-<br />
| On board Network || 5 10/100/1000Mbps Ethernet <br />
|-<br />
| Wifi || built-in 4x4n 802.11n (800Mbps) sysem-on-chip and MTK7615 4x4ac wifi Module (1733Mbps) (option)<br />
|-<br />
| Bluetooth || Bluetooth 5.0 system-on-chip<br />
|-<br />
| On board Storage || MicroSD \(TF\) card,8GB eMMC onboard <br />
|-<br />
| mini PCIE||1 mini pcie interface for 4G <br />
|-<br />
| USB || 1 USB 3.0 host <br />
|-<br />
| Buttons || Reset button<br />
|-<br />
| Leds || Power status Led and RJ45 Led <br />
|-<br />
| IR || PIN define with GPIO<br />
|-<br />
| DC Power || 12V/2A with DC in<br />
|-<br />
| POE || support POE module interface,can add POE module <br />
|-<br />
| Sizes || 148 mm × 100.5mm same as [[Banana Pi BPI-R3]] and [[Banana Pi BPI-R2]]<br />
|-<br />
| Weight || 100g <br />
|- <br />
|}<br />
<br />
==PoE support ==<br />
<br />
we design PoE function for BPI-R64 ,so easy to add PoE module to support PoE function,PoE modue can support IEEE 802.3bt PoE standard ,Max support 12V/3A to power BPI-R64<br />
<br />
[[File:BPI-R64_POE.jpg]]<br />
<br />
more PoE module spec <br />
<br />
[[BPI-7402 IEEE 802.3at PoE module]]<br />
<br />
==4G support==<br />
<br />
1, use pcie interface standard module ,and use SIM card slot onboard<br />
<br />
::[[File:4g_onboard.jpg]]<br />
<br />
2,use 4G extend module via USB port<br />
<br />
*USB 4G module : http://wiki.banana-pi.org/4G_module_via_USB<br />
<br />
==BPI-MT7615 802.11 ac wifi 4x4 dual-band==<br />
<br />
we have design a MT7615 802.11 ac wifi module ,can use on BPI-R64<br />
<br />
MT7615 is a highly integrated Wi-Fi single chip which support 1733 Mbps PHY rate,It fully compies with IEEE 802.11ac and IEEE802.11 a/b/n standards,offering feature-rich wireless connecivity at high standards,and delivering reliable,cost-effective throughput from and extended distance.<br />
<br />
[[BPI-MT7615 802.11 ac wifi 4x4 dual-band module]]<br />
<br />
[[BPI-R64 + MT7615 function test]]<br />
<br />
==BPI-R64 GPIO Pin define==<br />
<br />
[[Image:R64_gpio_40.jpg]]<br />
<br />
=Resources=<br />
==Source code==<br />
*Banana Pi BPI-R64 (MT7622) openwrt (Kernel 4.19) : https://github.com/BPI-SINOVOIP/BPI-R64-openwrt<br />
*BPI-R64 Linux BSP(kernel 5.4):https://github.com/BPI-SINOVOIP/BPI-R64-bsp-5.4<br />
*BPI-R64 Linux BSP(kernel 4.19):https://github.com/BPI-SINOVOIP/BPI-R64-bsp-4.19<br />
*BPI-R64 Linux BSP(kernel 4.4) : https://github.com/BPI-SINOVOIP/BPI-R64-bsp<br />
*frank github(kernel 5.4): https://github.com/frank-w/BPI-R2-4.14/tree/5.4-r64-dsa<br />
* OpenWRT: https://github.com/openwrt/openwrt/tree/master/target/linux/mediatek/mt7622<br />
<br />
==Documents==<br />
*Because of the Google security update some of the old links will not work if the images you want to use cannot be downloaded from the [https://drive.google.com/drive/folders/0B_YnvHgh2rwjVjNyS2pheEtWQlk?resourcekey=0-U4TI84zIBdId7bHHjf2qKA new link bpi-image Files]<br />
*All banana pi [https://drive.google.com/drive/folders/0B4PAo2nW2Kfndjh6SW9MS2xKSWs?resourcekey=0-qXGFXKmd7AVy0S81OXM1RA&usp=sharing docement(SCH file,DXF file,and doc)]<br />
*BPI-R64 schematic diagram <br />
:Google https://drive.google.com/file/d/1QzKmIwgSNbCIXQbqLsTUELJCEPik3VGr/view?usp=sharing<br />
:baidu cloud link: https://pan.baidu.com/s/18MEJpr5OTYmySZoyk3bO5Q pincode: amqt<br />
* BPI-R64 DXF file for case deign : https://drive.google.com/file/d/1_YNsdQ9Cv7FVOGrqd6GP0Tu5u2cjLwTA/view?usp=sharing<br />
* BPI-R64 DXF file and the parts used for the assembly datasheet: https://drive.google.com/file/d/1LK5HkP4AfE8xNLJMRHvc7JgexfkDBUAF/view?usp=sharing<br />
* 3D printed case for Banana PI R-64. Link https://www.thingiverse.com/thing:4261948<br />
* BPI-R64 3D design file update with SolidWorks :http://forum.banana-pi.org/t/bpi-r64-3d-design-file-with-solidworks/10910<br />
* MTK 7622 chip : https://www.mediatek.com/products/homeNetworking/mt7622<br />
* MTK MT7622A_Datasheet_for_BananaPi_Only : https://drive.google.com/file/d/1DVEv3bovA8cPti3Ln7d9lDBjMCGFSE5m/view?usp=sharing<br />
* MT7622 Reference Manual for Develope Board(BPi) : https://drive.google.com/file/d/1cW8KQmmVpwDGmBd48KNQes9CRn7FEgBb/view?usp=sharing<br />
*MT7531 switch chip datasheet: https://drive.google.com/file/d/1aVdQz3rbKWjkvdga8-LQ-VFXjmHR8yf9/view?usp=sharing<br />
*Banana Pi BPI-R64 debian Linux boot demo and bootlog:http://forum.banana-pi.org/t/banana-pi-bpi-r64-debian-linux-boot-demo-and-bootlog/8155<br />
*Banana Pi BPI-R64 passed AWS Greengrass : https://devices.amazonaws.com/detail/a3G0h000000OvObEAK/Banana-Pi-R64<br />
*Bpi-r64 quick start (boot from eMMC):http://forum.banana-pi.org/t/bpi-r64-quick-start-boot-from-emmc/9809<br />
*Banana Pi BPI-R64 CE,FCC,RoHS Certification : http://forum.banana-pi.org/t/banana-pi-bpi-r64-open-source-router-board-ce-fcc-rohs-certification/10094<br />
*Patchwork/Mailinglist there was a DSA-driver for mt7531 released : https://patchwork.kernel.org/project/linux-mediatek/list/?submitter=189635<br />
*MTK chip mailline Linux effort :https://mtk.bcnfs.org/doku.php?id=linux_mainline_effort<br />
*BPI-R64 current u-boot support:http://forum.banana-pi.org/t/bpi-r64-current-u-boot-support/10077<br />
*New netfilter flow table based HNAT:http://forum.banana-pi.org/t/new-netfilter-flow-table-based-hnat/12049<br />
*[Tutorial] Build, customize and use MediaTek open-source U-Boot and ATF : https://forum.banana-pi.org/t/tutorial-build-customize-and-use-mediatek-open-source-u-boot-and-atf/13785<br />
*[BPI-R2/R64/R3] OpenWrt built on devices : https://openwrt.org/docs/guide-developer/toolchain/building_openwrt_on_openwrt<br />
<br />
== Amazon AWS Greengrass==<br />
<br />
Banana Pi BPI-R64 passed Amazon AWS Greengrass:https://devices.amazonaws.com/detail/a3G0h000000OvObEAK/Banana-Pi-BPI-R64<br />
<br />
=Release=<br />
<br />
*Download and setup separate ATF image for booting directly into kernel or u-boot<br />
::https://forum.banana-pi.org/t/bpi-r64-download-and-setup-separate-atf-image-for-booting-directly-into-kernel-or-u-boot/12806<br />
<br />
==OpenWRT & LEDE==<br />
*Banana Pi BPI-R64 19.07.7 OpenWRT Router image 2021-05-01 <br />
::google driver:https://drive.google.com/file/d/1YHSU8BHG-k0EcHNp0-F73Xlpiqq1ho4v/view?usp=sharing<br />
::baidu link : https://pan.baidu.com/s/1RxtvekBOxP0UtNSzx5mpEg Pincode: fthx <br />
::source code on github:https://github.com/BPI-SINOVOIP/BPI-R64-openwrt.git<br />
::discuss on forum :http://forum.banana-pi.org/t/banana-pi-bpi-r64-19-07-7-openwrt-router-image-2021-05-01/12209<br />
<br />
* Custom OpenWrt build for Banana Pi R64:<br />
::http://forum.banana-pi.org/t/bpi-r64-custom-openwrt-build-for-banana-pi-r64/10973<br />
<br />
*BPI-R64 new image : LEDE17 (OpenWRT) image Kernel:4.4.177 2020-04-09<br />
::google driver : https://drive.google.com/drive/folders/1EK6fkGivZB3OmY38W8gN4rFAsnInMlNl<br />
::baidu cloud : https://pan.baidu.com/s/1UR-Uli2chQ5tO9VCl5Yz6A Pincode:j00s<br />
::Boot media: SD Card & eMMC ,two image <br />
::MD5: 21a6d89979d473cde59f7d61f3<br />
::discuss on forum: http://forum.banana-pi.org/t/bpi-r64-new-image-lede17-openwrt-image-kernel-4-4-177-2020-04-09/10924<br />
<br />
*Mainline OpenWRT image<br />
::https://drive.google.com/drive/folders/1LQaxUAWPh6Q3QbLEIxN3JP3soIDEPzGD<br />
::discuss on forum : http://forum.banana-pi.org/t/r64-mainline-openwrt-image/11415<br />
<br />
==Ubuntu ==<br />
*2021-6-16 update BPI-R64 Ubuntu Server 21.04 image <br />
::Baidu link: https://pan.baidu.com/s/1nEfneNrFND1dfDLBAekdsg Pincode: dfvv <br />
::Google link : https://drive.google.com/file/d/1ieF-qTyt8LDJiaGqr0uCL4QmAxJZpjhH/view?usp=drivesdk<br />
<br />
*2020-05-08 updae ,Ubuntu 18.04 with kernel 5.4.0<br />
::donload link : https://download.banana-pi.dev/d/3ebbfa04265d4dddb81b/?p=%2FImages%2FBPI-R64%2FUbuntu18.04&mode=list<br />
::discuss on forum : http://forum.banana-pi.org/t/bpi-r64-new-image-debian10-and-ubuntu18-04-linux-kernel-5-4-0-2020-05-08/11106<br />
<br />
*2019-08-23 update,Ubuntu Server 16.04,This release is for banana pi R64 board, and it is based on kernel 4.19.<br />
::Fetures Map:<br />
::Google Drive : https://drive.google.com/open?id=1zrOSS2QJPirSwoK5yJFx10SiOtxRjXPt <br />
::Baidu Drive : https://pan.baidu.com/s/1iOtk-OnC9yNTMzdhSeOCJA(PinCode:ew9c)<br />
::MD5 : 79fc190def54140dd9bf12b73e263bd0<br />
::username : root/pi ; password : bananapi<br />
::Forum Pthread:http://forum.banana-pi.org/t/bpi-r64-ubuntu-16-04-aarch64-linux-lite-debian-10-buster-lite-demo-images-release-2019-08-23/9759<br />
*2020-12-22 Ubuntu 18.04 with kernel 5.4.0<br />
::download link : https://download.banana-pi.dev/d/3ebbfa04265d4dddb81b/files/?p=%2FImages%2FBPI-R64%2FUbuntu18.04%2F2020-12-20-ubuntu-18.04.3-bpi-r64-5.4-sd-emmc.img.zip<br />
::supports 4G Module(EC20)<br />
::username : root/pi ; password : bananapi<br />
<br />
==Debian==<br />
*[BPI-R64] debian buster with new bootchain and linux 5.10,frank share this image<br />
::http://forum.banana-pi.org/t/bpi-r64-debian-buster-with-new-bootchain-and-linux-5-10/11850<br />
<br />
*2020-05-08 updae ,Debian10 with kernel 5.4.0<br />
::download link : https://download.banana-pi.dev/d/3ebbfa04265d4dddb81b/?p=%2FImages%2FBPI-R64%2FDebian10&mode=list<br />
::discuss on forum : http://forum.banana-pi.org/t/bpi-r64-new-image-debian10-and-ubuntu18-04-linux-kernel-5-4-0-2020-05-08/11106<br />
<br />
*2019-08-23 update,Debian 10 buster lite,This release is for banana pi R64 board, and it is based on Debian 10 Buster Lite Operation system with kernel 4.19.<br />
::Fetures Map:<br />
::Google Drive : https://drive.google.com/open?id=1p4WImHkItdSYGRV5jtMdfYHm5PD4dl-q<br />
::Baidu Drive : https://pan.baidu.com/s/1hVQj-1_rYc74QQ1Z4WoaiQ (PinCode:g1j5)<br />
::MD5 : fa3f6a7f7a4bcf2c5a8072301cf8c268<br />
::username : root/pi ; password : bananapi<br />
::Forum Pthread:http://forum.banana-pi.org/t/bpi-r64-ubuntu-16-04-aarch64-linux-lite-debian-10-buster-lite-demo-images-release-2019-08-23/9759<br />
<br />
*2018-12-11 update This release is for banana pi R64 board which is based on Mtk 7622, Debian 8 AARCH64 is based on kernel 4.4.92<br />
::Features Map: http://wiki.banana-pi.org/Getting_Started_with_R64<br />
::Google Drive : https://drive.google.com/open?id=1Xnz327Mm24WoVwAsj4yPPek09bP3yv7P<br />
::Baidu Drive : https://pan.baidu.com/s/1AdCM9lTuWP9oXiOE2qGsDw<br />
::md5sum : 4b43980375c3f9692c1f0585ca6b541a<br />
::discuss on forum:http://forum.banana-pi.org/t/banana-pi-bpi-r64-new-image-debian-8-11-aarch64-release-2018-12-11/7447<br />
<br />
==AArch64 Linux==<br />
*Image builder Arch Linux v2 with image ready for download<br />
::https://forum.banana-pi.org/t/bpi-r64-image-builder-arch-linux-v2-with-image-ready-for-download/13646<br />
<br />
*2019-08-23 update,AArch64 Linux lite,This release is for banana pi R64 board, and it is based on kernel 4.19.<br />
::Fetures Map:<br />
::Google Drive : https://drive.google.com/open?id=1x7_Iu1D9jJGvAExdNZGDVGuv7CbDp4ep<br />
::Baidu Drive : https://pan.baidu.com/s/15X6XtRuab08_N2T0vgoVOQ (PinCode:j4f7)<br />
::MD5 :ed579320359fdc471eeaf37f98d5874d<br />
::username : root/pi ; password : bananapi<br />
::Forum Pthread:http://forum.banana-pi.org/t/bpi-r64-ubuntu-16-04-aarch64-linux-lite-debian-10-buster-lite-demo-images-release-2019-08-23/9759<br />
<br />
=FAQ=<br />
*easy to buy sample: [https://pt.aliexpress.com/store/group/R64-Board/302756_516275551.html?spm=2114.12010608.0.0.408a18d6rdUraV BPI official Aliexpress shop]<br />
===TTL Voltage===<br />
:: The debug-uart TTL is tolerant to 3.3V.<br />
<br />
=Easy to buy=<br />
*SINOVOIP Aliexpress Shop: https://www.aliexpress.com/store/group/BPI-R64-MTK7622/1100417230_40000003430450.html<br />
*Bipai Aliexpress Shop: https://www.aliexpress.com/store/group/BPI-R64-MTK7622/1101951077_40000002157510.html<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1694930645.htm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=File:Banana_Pi_BPI-M2%2B.jpg&diff=17115
File:Banana Pi BPI-M2+.jpg
2024-03-12T02:12:04Z
<p>Sinovoip: Sinovoip uploaded a new version of File:Banana Pi BPI-M2+.jpg</p>
<hr />
<div></div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=File:Banana_Pi_BPI-R64.png&diff=17114
File:Banana Pi BPI-R64.png
2024-03-12T02:07:18Z
<p>Sinovoip: Sinovoip uploaded a new version of File:Banana Pi BPI-R64.png</p>
<hr />
<div></div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=File:Banana_Pi_BPI-M2_Zero.jpg&diff=17113
File:Banana Pi BPI-M2 Zero.jpg
2024-03-12T02:00:48Z
<p>Sinovoip: Sinovoip uploaded a new version of File:Banana Pi BPI-M2 Zero.jpg</p>
<hr />
<div></div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=File:Banana_Pi_BPI-M2_Berry.jpg&diff=17112
File:Banana Pi BPI-M2 Berry.jpg
2024-03-12T01:49:17Z
<p>Sinovoip: Sinovoip uploaded a new version of File:Banana Pi BPI-M2 Berry.jpg</p>
<hr />
<div></div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-R4&diff=17111
Banana Pi BPI-R4
2024-03-12T01:44:13Z
<p>Sinovoip: /* Ubuntu 22.04 */</p>
<hr />
<div>[[zh:香蕉派 BPI-R4]]<br />
<br />
=Summary=<br />
<br />
[[File:Banana_Pi_BPI-R4_1.jpg|thumb|[[Banana Pi BPI-R4]] with MediaTek Filogic 800 (MT7988)]]<br />
[[File:Banana_Pi_BPI-R4_PoE_1.jpg|thumb|[[Banana Pi BPI-R4]] with 2.5G ETH and PoE support]]<br />
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MediaTek MT7622]]<br />
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]<br />
[[File:Banana_Pi_BPI-Wifi6_1.jpg|thumb|[[Banana Pi BPI-Wifi6 Router]] with Triductor TR6560 + TR5220 wifi SOC]]<br />
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]<br />
<br />
==Introduction==<br />
<br />
[[File:Banana_Pi_BPI-R4_Banner_2.jpg]]<br />
<br />
Banana Pi BPI-R4 Router board with MediaTek MT7988A (Filogic 880) quad-core ARM Corex-A73 design ,4GB DDR4 RAM,8GB eMMC,128MB SPI-NAND flash onboard, also have 2x 10Gbe SFP, 4x Gbe network port,with USB3.2 port,M.2 support 4G/5G/NVME SSD.2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card). It is a very high performance open source router development board.<br />
<br />
==MediaTek MT7988(Filogic 880)==<br />
<br />
Mediatek Filogic 880. the 36Gbps Wi-Fi 7 access point/router/gateway platform delivers the fastest and most reliable connection experience<br />
<br />
The MediaTek MT7988A is a world-Leading network processing platform for high-performance and reliable networking experiences,both in wired and wireless applications. The MT7988A comprises a rich connection interface sets include 4 Gigabit Ethernet ports. 2 US下GMII interfaces. 4 PCIe Interfaces,and 2 USB 3.2 en1 Ports<br />
<br />
the MT7988A further enables seamless Wi-Fi 7 tri-band,2.4 GHz.5 GHz and 6 GHz,connectivity,with its Wi-Fi 7 companion chip that features 320-MHz bandwidth,4096-QAM ,MLO,MRU,and AFC.<br />
<br />
To answer the need of fast-evolving tunneling applications,the MT7988A comes with MediaTek Tunnel offload processor System(TOPS),which facilitates the processing of a wide range of tunneling protocols.The MT7988A optimizes networking performance with exquistitely tuned ISA of MediaTek TOPS,and is dedicated to lifting networking offloading performance to premium level.<br />
<br />
==Application direction==<br />
<br />
*Internet service Router<br />
*Wifi 7 Wireless Router<br />
*4G/5G Wireless Router<br />
*Wireless Repeater<br />
*Home security Gateway<br />
*Home Automation<br />
*Nas device<br />
*Network and communication applications<br />
<br />
==Key Features==<br />
*MediaTek MT7988A (Filogic 880) quad-core Arm Corex-A73,1.8GHz processor<br />
*4GB DDR4<br />
*8GB eMMC flash<br />
*128MB SPI-NAND Flash<br />
*Micro SD card slot<br />
*2x 10Gbe SFP slot<br />
*4x Gbe network port<br />
*1x USB3.2 slot<br />
*1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G<br />
*1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
*2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card)<br />
*26 PIN GPIO Header for expanding application<br />
*POE function customizable (present version not support POE function)<br />
<br />
==Getting Start==<br />
*[[Getting Started with BPI-R4]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-R4_interface.jpg]]<br />
<br />
==WiFi7 iPA NIC Module support==<br />
BPI-R4-NIC-BE14: MT7995AV+MT7976CN+MT7977IAN<br />
<br />
[[File:BPI-R4-NIC-BE14 2.jpg|640px]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-R4'''<br />
|-<br />
| CPU ||MediaTek MT7988A (Filogic 880) Quad-core Arm Corex-A73,1.8GHz processor<br />
|-<br />
| SDRAM || 4 GB DDR4 <br />
|-<br />
| On board Storage || MicroSD (TF) card,128MB SPI NAND, 8GB eMMC<br />
|-<br />
| GPIO || 26 Pin GPIO,some of which can be used for specific functions including UART, I2C, SPI, PWM, I2S. <br />
|-<br />
| On board Network || 4 Port 10/100/1000Mbps Ethernet <br />
|-<br />
| SFP || 2x10G SFP<br />
|-<br />
| mini PCIE||2x miniPCIe slots with PCIe3.0 2lane interface for BPI Wi-Fi 7 NIC (Network Interface Card)<br />
|-<br />
|M.2 interface ||1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G,1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
|-<br />
| USB || 1xUSB 3.2 slot<br />
|-<br />
| Buttons || Reset button,WPS botton, boot switch<br />
|-<br />
| Leds || Power status Led and RJ45 Led <br />
|-<br />
| DC Power || 12V/5.2A or 19V 3.2A(The power consumption will not exceed 10W without any peripheral equipment, and 12V/2A can be used.)<br />
|-<br />
| Sizes || 100.5x148mm same as [[Banana Pi BPI-R64]] and [[Banana Pi BPI-R2]]<br />
|-<br />
| Weight || 250g <br />
|- <br />
|}<br />
<br />
=Resources=<br />
<br />
==Source code==<br />
*source code on github: https://github.com/BPI-SINOVOIP/BPI-R4-bsp<br />
*BPI-R4 OpenWRT BSP on github: https://github.com/BPI-SINOVOIP/BPI-R4-MT76-OPENWRT-V21.02<br />
Note: BPI-R4-MT76-OPENWRT-V21.02 BSP support BPI-R4 and BE13500 wifi Card<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
==Documents==<br />
*BPI-R4-Main-V11-ASSY<br />
:Baidu Cloud: https://pan.baidu.com/s/1ZjcsbMKiiEEDV9lCzW0vrg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1FDr47zcd-b2n8qiXFb-DxcuQ-6ye8OCB/view?usp=sharing<br />
<br />
*BPI-R4 DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1ie_a4lYCjVwW6wD5vl1h-A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1UkZxCi-395Q15tGr12LhG8fgDjzacjGn/view?usp=sharing<br />
<br />
*BPI-R4 Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1XjSuch4karn6ACJSLwuimQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1r-c2urU-DFVHpZ7cRk2qzKtVB8tg82mZ/view?usp=sharing<br />
<br />
*MT7988A Wi-Fi7 Datasheet&Manual<br />
:Baidu Cloud: https://pan.baidu.com/s/1-eSVD4DhyPAkfgrE9BtLmA?pwd=8888 (pincode:8888) <br />
:Google Drive:https://drive.google.com/drive/folders/1XiVchy0a4syYFVlTndhVCETNJ9x7KOYi?usp=sharing<br />
<br />
* kernel [PATCH net-next 8/8] net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC:https://www.spinics.net/lists/kernel/msg4821673.html<br />
<br />
*[PATCH 15/15] dt-bindings: net: dsa: mediatek,mt7530: add mediatek,mt7988-switch:https://lore.kernel.org/lkml/80a853f182eac24735338f3c1f505e5f580053ca.1680180959.git.daniel@makrotopia.org/<br />
<br />
*Discuss on forum :https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757<br />
<br />
*MediaTek Filogic 880 platform : https://www.mediatek.com/products/broadband-wifi/mediatek-filogic-880<br />
<br />
*Key advantages of Wi-Fi 7 : https://mediatek-marketing.files.svdcdn.com/production/documents/Key-Advantages-of-Wi-Fi-7_MediaTek-White-Paper-WF70222.pdf<br />
<br />
*How MLO Smart Link Dispatching drives Wi-Fi 7:https://mediatek-marketing.files.svdcdn.com/production/documents/MLO-Infographic-How-Smart-Link-Dispatching-drives-Wi-Fi-7-White-Paper-Infographic-0223.pdf<br />
<br />
*MLO in Wi-Fi 7: https://mediatek-marketing.files.svdcdn.com/production/documents/Wi-Fi-7-MLO-White-Paper-WF7MLOWP0622.pdf<br />
<br />
=Release image=<br />
==OpenWRT MTK MP3.0 SDK for BE19000 Wifi Card==<br />
* BPI-R4 bl2_emmc-r4.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1gumscZfpJsQr_AROzDevTg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1YVJcLRLvxET2349TCKocK4MtRG5PNbdp/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-EMMC-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1TFYGjP13TEbtFEHpE2aG1Q?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/196J1V5q4s3GgAtCNQBCtzB9h6pGVcdTg/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-NAND-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1NrA3LTEyP8Ht_Ysli-o8og?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1P5dSSaPLQzlYjniHdC-jjKE0PJ2O-Py2/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-SD-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1AW_DJ6pjEh87FJMx6pPYzw?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/146CUGBRC0ce5uN9nCM08Jegc51abAz1b/view?usp=sharing<br />
<br />
==OpenWRT MTK MP3.1 wifi SDK or MT76 wifi driver for BE14000 Wifi Card==<br />
:Baidu Cloud: https://pan.baidu.com/s/1kguTbhlBVGvN7L9G3mgFQg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1DBPwMD-qDAIqPorqJwl3sf8TsAEh0BmF?usp=sharing<br />
<br />
Note: <br />
MTK vendor's MP3.1 wifi image package name: BPI-R4-BE1350-WIFI_MP3_1-SDK-20240202.zip<br />
opensource MT76 wifi image package name : BPI-R4-BE1350-WIFI_MT76-20240202.zip<br />
MTK vendor's MP3.1 wifi driver sourcecode can't be open source. only release Image. But supply all MT76 wifi driver sourcecode.<br />
(support Quectel RM500U-CN & RM520N-GL 5G Modules, EC25 EM05 4G Modules)<br />
<br />
==Debian 11==<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-5.4-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1q2WogyCtNOcejWRG1_GhXg?pwd=8888 (pincode:8888) <br />
:Google drive: https://drive.google.com/file/d/17JVoTtIZdcN-qSElTHpAKY2KlvYCgZPp/view?usp=sharing<br />
<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-6.1-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/199IjDbuzScMiWnwcjRX_Rg?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1ZNwDi9Eg_6SQYyKQgETOhBW7_6ix4Fna/view?usp=sharing<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 BSP repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but debian 11's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
==Ubuntu 22.04==<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-5.4-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1ou2ZHbyZEmquvHNhlZ6QHw?pwd=8888 (pincode:8888) <br />
:Google drive: https://drive.google.com/file/d/1LBBBzHWV_vDAeXDztkYW1TjDnqQweMYj/view?usp=sharing<br />
<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-6.1-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1WzfQWnlaC9zoLVA0JN3RbA?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1ZuLbFnFF7dDlbRw4Dhgkm4ROIl5KYKg7/view?usp=sharing<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 BSP repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but ubuntu-22.04's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
=BPI-R4 Accessories=<br />
<br />
* 10G SFP+ Module<br />
:[[Getting_Started_with_BPI-R4#1.EF.BC.8910G_SFP_Module]]<br />
<br />
* 4G/5G Module<br />
:[[Getting_Started_with_BPI-R4#2.EF.BC.89_4G.2F5G_Module]]<br />
<br />
* Storage<br />
:[[Getting_Started_with_BPI-R4#3.29_Storage]]<br />
<br />
* Wi-Fi7 NIC<br />
:[[Getting_Started_with_BPI-R4#4.29_Wi-Fi7_NIC]]<br />
<br />
=Easy to buy=<br />
*Aliexpress shop:<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006256712337.html?gatewayAdapt=4itemAdapt<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006256988361.html?gatewayAdapt=4itemAdapt<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1744032218.htm?spm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-R4&diff=17110
Banana Pi BPI-R4
2024-03-12T01:22:58Z
<p>Sinovoip: /* Ubuntu 22.04 */</p>
<hr />
<div>[[zh:香蕉派 BPI-R4]]<br />
<br />
=Summary=<br />
<br />
[[File:Banana_Pi_BPI-R4_1.jpg|thumb|[[Banana Pi BPI-R4]] with MediaTek Filogic 800 (MT7988)]]<br />
[[File:Banana_Pi_BPI-R4_PoE_1.jpg|thumb|[[Banana Pi BPI-R4]] with 2.5G ETH and PoE support]]<br />
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MediaTek MT7622]]<br />
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]<br />
[[File:Banana_Pi_BPI-Wifi6_1.jpg|thumb|[[Banana Pi BPI-Wifi6 Router]] with Triductor TR6560 + TR5220 wifi SOC]]<br />
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]<br />
<br />
==Introduction==<br />
<br />
[[File:Banana_Pi_BPI-R4_Banner_2.jpg]]<br />
<br />
Banana Pi BPI-R4 Router board with MediaTek MT7988A (Filogic 880) quad-core ARM Corex-A73 design ,4GB DDR4 RAM,8GB eMMC,128MB SPI-NAND flash onboard, also have 2x 10Gbe SFP, 4x Gbe network port,with USB3.2 port,M.2 support 4G/5G/NVME SSD.2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card). It is a very high performance open source router development board.<br />
<br />
==MediaTek MT7988(Filogic 880)==<br />
<br />
Mediatek Filogic 880. the 36Gbps Wi-Fi 7 access point/router/gateway platform delivers the fastest and most reliable connection experience<br />
<br />
The MediaTek MT7988A is a world-Leading network processing platform for high-performance and reliable networking experiences,both in wired and wireless applications. The MT7988A comprises a rich connection interface sets include 4 Gigabit Ethernet ports. 2 US下GMII interfaces. 4 PCIe Interfaces,and 2 USB 3.2 en1 Ports<br />
<br />
the MT7988A further enables seamless Wi-Fi 7 tri-band,2.4 GHz.5 GHz and 6 GHz,connectivity,with its Wi-Fi 7 companion chip that features 320-MHz bandwidth,4096-QAM ,MLO,MRU,and AFC.<br />
<br />
To answer the need of fast-evolving tunneling applications,the MT7988A comes with MediaTek Tunnel offload processor System(TOPS),which facilitates the processing of a wide range of tunneling protocols.The MT7988A optimizes networking performance with exquistitely tuned ISA of MediaTek TOPS,and is dedicated to lifting networking offloading performance to premium level.<br />
<br />
==Application direction==<br />
<br />
*Internet service Router<br />
*Wifi 7 Wireless Router<br />
*4G/5G Wireless Router<br />
*Wireless Repeater<br />
*Home security Gateway<br />
*Home Automation<br />
*Nas device<br />
*Network and communication applications<br />
<br />
==Key Features==<br />
*MediaTek MT7988A (Filogic 880) quad-core Arm Corex-A73,1.8GHz processor<br />
*4GB DDR4<br />
*8GB eMMC flash<br />
*128MB SPI-NAND Flash<br />
*Micro SD card slot<br />
*2x 10Gbe SFP slot<br />
*4x Gbe network port<br />
*1x USB3.2 slot<br />
*1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G<br />
*1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
*2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card)<br />
*26 PIN GPIO Header for expanding application<br />
*POE function customizable (present version not support POE function)<br />
<br />
==Getting Start==<br />
*[[Getting Started with BPI-R4]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-R4_interface.jpg]]<br />
<br />
==WiFi7 iPA NIC Module support==<br />
BPI-R4-NIC-BE14: MT7995AV+MT7976CN+MT7977IAN<br />
<br />
[[File:BPI-R4-NIC-BE14 2.jpg|640px]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-R4'''<br />
|-<br />
| CPU ||MediaTek MT7988A (Filogic 880) Quad-core Arm Corex-A73,1.8GHz processor<br />
|-<br />
| SDRAM || 4 GB DDR4 <br />
|-<br />
| On board Storage || MicroSD (TF) card,128MB SPI NAND, 8GB eMMC<br />
|-<br />
| GPIO || 26 Pin GPIO,some of which can be used for specific functions including UART, I2C, SPI, PWM, I2S. <br />
|-<br />
| On board Network || 4 Port 10/100/1000Mbps Ethernet <br />
|-<br />
| SFP || 2x10G SFP<br />
|-<br />
| mini PCIE||2x miniPCIe slots with PCIe3.0 2lane interface for BPI Wi-Fi 7 NIC (Network Interface Card)<br />
|-<br />
|M.2 interface ||1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G,1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
|-<br />
| USB || 1xUSB 3.2 slot<br />
|-<br />
| Buttons || Reset button,WPS botton, boot switch<br />
|-<br />
| Leds || Power status Led and RJ45 Led <br />
|-<br />
| DC Power || 12V/5.2A or 19V 3.2A(The power consumption will not exceed 10W without any peripheral equipment, and 12V/2A can be used.)<br />
|-<br />
| Sizes || 100.5x148mm same as [[Banana Pi BPI-R64]] and [[Banana Pi BPI-R2]]<br />
|-<br />
| Weight || 250g <br />
|- <br />
|}<br />
<br />
=Resources=<br />
<br />
==Source code==<br />
*source code on github: https://github.com/BPI-SINOVOIP/BPI-R4-bsp<br />
*BPI-R4 OpenWRT BSP on github: https://github.com/BPI-SINOVOIP/BPI-R4-MT76-OPENWRT-V21.02<br />
Note: BPI-R4-MT76-OPENWRT-V21.02 BSP support BPI-R4 and BE13500 wifi Card<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
==Documents==<br />
*BPI-R4-Main-V11-ASSY<br />
:Baidu Cloud: https://pan.baidu.com/s/1ZjcsbMKiiEEDV9lCzW0vrg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1FDr47zcd-b2n8qiXFb-DxcuQ-6ye8OCB/view?usp=sharing<br />
<br />
*BPI-R4 DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1ie_a4lYCjVwW6wD5vl1h-A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1UkZxCi-395Q15tGr12LhG8fgDjzacjGn/view?usp=sharing<br />
<br />
*BPI-R4 Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1XjSuch4karn6ACJSLwuimQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1r-c2urU-DFVHpZ7cRk2qzKtVB8tg82mZ/view?usp=sharing<br />
<br />
*MT7988A Wi-Fi7 Datasheet&Manual<br />
:Baidu Cloud: https://pan.baidu.com/s/1-eSVD4DhyPAkfgrE9BtLmA?pwd=8888 (pincode:8888) <br />
:Google Drive:https://drive.google.com/drive/folders/1XiVchy0a4syYFVlTndhVCETNJ9x7KOYi?usp=sharing<br />
<br />
* kernel [PATCH net-next 8/8] net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC:https://www.spinics.net/lists/kernel/msg4821673.html<br />
<br />
*[PATCH 15/15] dt-bindings: net: dsa: mediatek,mt7530: add mediatek,mt7988-switch:https://lore.kernel.org/lkml/80a853f182eac24735338f3c1f505e5f580053ca.1680180959.git.daniel@makrotopia.org/<br />
<br />
*Discuss on forum :https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757<br />
<br />
*MediaTek Filogic 880 platform : https://www.mediatek.com/products/broadband-wifi/mediatek-filogic-880<br />
<br />
*Key advantages of Wi-Fi 7 : https://mediatek-marketing.files.svdcdn.com/production/documents/Key-Advantages-of-Wi-Fi-7_MediaTek-White-Paper-WF70222.pdf<br />
<br />
*How MLO Smart Link Dispatching drives Wi-Fi 7:https://mediatek-marketing.files.svdcdn.com/production/documents/MLO-Infographic-How-Smart-Link-Dispatching-drives-Wi-Fi-7-White-Paper-Infographic-0223.pdf<br />
<br />
*MLO in Wi-Fi 7: https://mediatek-marketing.files.svdcdn.com/production/documents/Wi-Fi-7-MLO-White-Paper-WF7MLOWP0622.pdf<br />
<br />
=Release image=<br />
==OpenWRT MTK MP3.0 SDK for BE19000 Wifi Card==<br />
* BPI-R4 bl2_emmc-r4.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1gumscZfpJsQr_AROzDevTg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1YVJcLRLvxET2349TCKocK4MtRG5PNbdp/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-EMMC-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1TFYGjP13TEbtFEHpE2aG1Q?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/196J1V5q4s3GgAtCNQBCtzB9h6pGVcdTg/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-NAND-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1NrA3LTEyP8Ht_Ysli-o8og?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1P5dSSaPLQzlYjniHdC-jjKE0PJ2O-Py2/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-SD-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1AW_DJ6pjEh87FJMx6pPYzw?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/146CUGBRC0ce5uN9nCM08Jegc51abAz1b/view?usp=sharing<br />
<br />
==OpenWRT MTK MP3.1 wifi SDK or MT76 wifi driver for BE14000 Wifi Card==<br />
:Baidu Cloud: https://pan.baidu.com/s/1kguTbhlBVGvN7L9G3mgFQg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1DBPwMD-qDAIqPorqJwl3sf8TsAEh0BmF?usp=sharing<br />
<br />
Note: <br />
MTK vendor's MP3.1 wifi image package name: BPI-R4-BE1350-WIFI_MP3_1-SDK-20240202.zip<br />
opensource MT76 wifi image package name : BPI-R4-BE1350-WIFI_MT76-20240202.zip<br />
MTK vendor's MP3.1 wifi driver sourcecode can't be open source. only release Image. But supply all MT76 wifi driver sourcecode.<br />
(support Quectel RM500U-CN & RM520N-GL 5G Modules, EC25 EM05 4G Modules)<br />
<br />
==Debian 11==<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-5.4-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1q2WogyCtNOcejWRG1_GhXg?pwd=8888 (pincode:8888) <br />
:Google drive: https://drive.google.com/file/d/17JVoTtIZdcN-qSElTHpAKY2KlvYCgZPp/view?usp=sharing<br />
<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-6.1-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/199IjDbuzScMiWnwcjRX_Rg?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1ZNwDi9Eg_6SQYyKQgETOhBW7_6ix4Fna/view?usp=sharing<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 BSP repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but debian 11's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
==Ubuntu 22.04==<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-5.4-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1ou2ZHbyZEmquvHNhlZ6QHw?pwd=8888 (pincode:8888) <br />
:Google drive: https://drive.google.com/file/d/1LBBBzHWV_vDAeXDztkYW1TjDnqQweMYj/view?usp=sharing<br />
<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-6.1-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1WzfQWnlaC9zoLVA0JN3RbA?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 BSP repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but ubuntu-22.04's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
=BPI-R4 Accessories=<br />
<br />
* 10G SFP+ Module<br />
:[[Getting_Started_with_BPI-R4#1.EF.BC.8910G_SFP_Module]]<br />
<br />
* 4G/5G Module<br />
:[[Getting_Started_with_BPI-R4#2.EF.BC.89_4G.2F5G_Module]]<br />
<br />
* Storage<br />
:[[Getting_Started_with_BPI-R4#3.29_Storage]]<br />
<br />
* Wi-Fi7 NIC<br />
:[[Getting_Started_with_BPI-R4#4.29_Wi-Fi7_NIC]]<br />
<br />
=Easy to buy=<br />
*Aliexpress shop:<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006256712337.html?gatewayAdapt=4itemAdapt<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006256988361.html?gatewayAdapt=4itemAdapt<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1744032218.htm?spm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-R4&diff=17109
Banana Pi BPI-R4
2024-03-12T01:21:29Z
<p>Sinovoip: /* Debian 11 */</p>
<hr />
<div>[[zh:香蕉派 BPI-R4]]<br />
<br />
=Summary=<br />
<br />
[[File:Banana_Pi_BPI-R4_1.jpg|thumb|[[Banana Pi BPI-R4]] with MediaTek Filogic 800 (MT7988)]]<br />
[[File:Banana_Pi_BPI-R4_PoE_1.jpg|thumb|[[Banana Pi BPI-R4]] with 2.5G ETH and PoE support]]<br />
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MediaTek MT7622]]<br />
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]<br />
[[File:Banana_Pi_BPI-Wifi6_1.jpg|thumb|[[Banana Pi BPI-Wifi6 Router]] with Triductor TR6560 + TR5220 wifi SOC]]<br />
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]<br />
<br />
==Introduction==<br />
<br />
[[File:Banana_Pi_BPI-R4_Banner_2.jpg]]<br />
<br />
Banana Pi BPI-R4 Router board with MediaTek MT7988A (Filogic 880) quad-core ARM Corex-A73 design ,4GB DDR4 RAM,8GB eMMC,128MB SPI-NAND flash onboard, also have 2x 10Gbe SFP, 4x Gbe network port,with USB3.2 port,M.2 support 4G/5G/NVME SSD.2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card). It is a very high performance open source router development board.<br />
<br />
==MediaTek MT7988(Filogic 880)==<br />
<br />
Mediatek Filogic 880. the 36Gbps Wi-Fi 7 access point/router/gateway platform delivers the fastest and most reliable connection experience<br />
<br />
The MediaTek MT7988A is a world-Leading network processing platform for high-performance and reliable networking experiences,both in wired and wireless applications. The MT7988A comprises a rich connection interface sets include 4 Gigabit Ethernet ports. 2 US下GMII interfaces. 4 PCIe Interfaces,and 2 USB 3.2 en1 Ports<br />
<br />
the MT7988A further enables seamless Wi-Fi 7 tri-band,2.4 GHz.5 GHz and 6 GHz,connectivity,with its Wi-Fi 7 companion chip that features 320-MHz bandwidth,4096-QAM ,MLO,MRU,and AFC.<br />
<br />
To answer the need of fast-evolving tunneling applications,the MT7988A comes with MediaTek Tunnel offload processor System(TOPS),which facilitates the processing of a wide range of tunneling protocols.The MT7988A optimizes networking performance with exquistitely tuned ISA of MediaTek TOPS,and is dedicated to lifting networking offloading performance to premium level.<br />
<br />
==Application direction==<br />
<br />
*Internet service Router<br />
*Wifi 7 Wireless Router<br />
*4G/5G Wireless Router<br />
*Wireless Repeater<br />
*Home security Gateway<br />
*Home Automation<br />
*Nas device<br />
*Network and communication applications<br />
<br />
==Key Features==<br />
*MediaTek MT7988A (Filogic 880) quad-core Arm Corex-A73,1.8GHz processor<br />
*4GB DDR4<br />
*8GB eMMC flash<br />
*128MB SPI-NAND Flash<br />
*Micro SD card slot<br />
*2x 10Gbe SFP slot<br />
*4x Gbe network port<br />
*1x USB3.2 slot<br />
*1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G<br />
*1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
*2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card)<br />
*26 PIN GPIO Header for expanding application<br />
*POE function customizable (present version not support POE function)<br />
<br />
==Getting Start==<br />
*[[Getting Started with BPI-R4]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-R4_interface.jpg]]<br />
<br />
==WiFi7 iPA NIC Module support==<br />
BPI-R4-NIC-BE14: MT7995AV+MT7976CN+MT7977IAN<br />
<br />
[[File:BPI-R4-NIC-BE14 2.jpg|640px]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-R4'''<br />
|-<br />
| CPU ||MediaTek MT7988A (Filogic 880) Quad-core Arm Corex-A73,1.8GHz processor<br />
|-<br />
| SDRAM || 4 GB DDR4 <br />
|-<br />
| On board Storage || MicroSD (TF) card,128MB SPI NAND, 8GB eMMC<br />
|-<br />
| GPIO || 26 Pin GPIO,some of which can be used for specific functions including UART, I2C, SPI, PWM, I2S. <br />
|-<br />
| On board Network || 4 Port 10/100/1000Mbps Ethernet <br />
|-<br />
| SFP || 2x10G SFP<br />
|-<br />
| mini PCIE||2x miniPCIe slots with PCIe3.0 2lane interface for BPI Wi-Fi 7 NIC (Network Interface Card)<br />
|-<br />
|M.2 interface ||1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G,1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
|-<br />
| USB || 1xUSB 3.2 slot<br />
|-<br />
| Buttons || Reset button,WPS botton, boot switch<br />
|-<br />
| Leds || Power status Led and RJ45 Led <br />
|-<br />
| DC Power || 12V/5.2A or 19V 3.2A(The power consumption will not exceed 10W without any peripheral equipment, and 12V/2A can be used.)<br />
|-<br />
| Sizes || 100.5x148mm same as [[Banana Pi BPI-R64]] and [[Banana Pi BPI-R2]]<br />
|-<br />
| Weight || 250g <br />
|- <br />
|}<br />
<br />
=Resources=<br />
<br />
==Source code==<br />
*source code on github: https://github.com/BPI-SINOVOIP/BPI-R4-bsp<br />
*BPI-R4 OpenWRT BSP on github: https://github.com/BPI-SINOVOIP/BPI-R4-MT76-OPENWRT-V21.02<br />
Note: BPI-R4-MT76-OPENWRT-V21.02 BSP support BPI-R4 and BE13500 wifi Card<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
==Documents==<br />
*BPI-R4-Main-V11-ASSY<br />
:Baidu Cloud: https://pan.baidu.com/s/1ZjcsbMKiiEEDV9lCzW0vrg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1FDr47zcd-b2n8qiXFb-DxcuQ-6ye8OCB/view?usp=sharing<br />
<br />
*BPI-R4 DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1ie_a4lYCjVwW6wD5vl1h-A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1UkZxCi-395Q15tGr12LhG8fgDjzacjGn/view?usp=sharing<br />
<br />
*BPI-R4 Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1XjSuch4karn6ACJSLwuimQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1r-c2urU-DFVHpZ7cRk2qzKtVB8tg82mZ/view?usp=sharing<br />
<br />
*MT7988A Wi-Fi7 Datasheet&Manual<br />
:Baidu Cloud: https://pan.baidu.com/s/1-eSVD4DhyPAkfgrE9BtLmA?pwd=8888 (pincode:8888) <br />
:Google Drive:https://drive.google.com/drive/folders/1XiVchy0a4syYFVlTndhVCETNJ9x7KOYi?usp=sharing<br />
<br />
* kernel [PATCH net-next 8/8] net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC:https://www.spinics.net/lists/kernel/msg4821673.html<br />
<br />
*[PATCH 15/15] dt-bindings: net: dsa: mediatek,mt7530: add mediatek,mt7988-switch:https://lore.kernel.org/lkml/80a853f182eac24735338f3c1f505e5f580053ca.1680180959.git.daniel@makrotopia.org/<br />
<br />
*Discuss on forum :https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757<br />
<br />
*MediaTek Filogic 880 platform : https://www.mediatek.com/products/broadband-wifi/mediatek-filogic-880<br />
<br />
*Key advantages of Wi-Fi 7 : https://mediatek-marketing.files.svdcdn.com/production/documents/Key-Advantages-of-Wi-Fi-7_MediaTek-White-Paper-WF70222.pdf<br />
<br />
*How MLO Smart Link Dispatching drives Wi-Fi 7:https://mediatek-marketing.files.svdcdn.com/production/documents/MLO-Infographic-How-Smart-Link-Dispatching-drives-Wi-Fi-7-White-Paper-Infographic-0223.pdf<br />
<br />
*MLO in Wi-Fi 7: https://mediatek-marketing.files.svdcdn.com/production/documents/Wi-Fi-7-MLO-White-Paper-WF7MLOWP0622.pdf<br />
<br />
=Release image=<br />
==OpenWRT MTK MP3.0 SDK for BE19000 Wifi Card==<br />
* BPI-R4 bl2_emmc-r4.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1gumscZfpJsQr_AROzDevTg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1YVJcLRLvxET2349TCKocK4MtRG5PNbdp/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-EMMC-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1TFYGjP13TEbtFEHpE2aG1Q?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/196J1V5q4s3GgAtCNQBCtzB9h6pGVcdTg/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-NAND-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1NrA3LTEyP8Ht_Ysli-o8og?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1P5dSSaPLQzlYjniHdC-jjKE0PJ2O-Py2/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-SD-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1AW_DJ6pjEh87FJMx6pPYzw?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/146CUGBRC0ce5uN9nCM08Jegc51abAz1b/view?usp=sharing<br />
<br />
==OpenWRT MTK MP3.1 wifi SDK or MT76 wifi driver for BE14000 Wifi Card==<br />
:Baidu Cloud: https://pan.baidu.com/s/1kguTbhlBVGvN7L9G3mgFQg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1DBPwMD-qDAIqPorqJwl3sf8TsAEh0BmF?usp=sharing<br />
<br />
Note: <br />
MTK vendor's MP3.1 wifi image package name: BPI-R4-BE1350-WIFI_MP3_1-SDK-20240202.zip<br />
opensource MT76 wifi image package name : BPI-R4-BE1350-WIFI_MT76-20240202.zip<br />
MTK vendor's MP3.1 wifi driver sourcecode can't be open source. only release Image. But supply all MT76 wifi driver sourcecode.<br />
(support Quectel RM500U-CN & RM520N-GL 5G Modules, EC25 EM05 4G Modules)<br />
<br />
==Debian 11==<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-5.4-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1q2WogyCtNOcejWRG1_GhXg?pwd=8888 (pincode:8888) <br />
:Google drive: https://drive.google.com/file/d/17JVoTtIZdcN-qSElTHpAKY2KlvYCgZPp/view?usp=sharing<br />
<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-6.1-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/199IjDbuzScMiWnwcjRX_Rg?pwd=8888 (pincode:8888)<br />
:Google drive: https://drive.google.com/file/d/1ZNwDi9Eg_6SQYyKQgETOhBW7_6ix4Fna/view?usp=sharing<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 BSP repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but debian 11's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
==Ubuntu 22.04==<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-5.4-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1ou2ZHbyZEmquvHNhlZ6QHw?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-6.1-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1WzfQWnlaC9zoLVA0JN3RbA?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 BSP repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but ubuntu-22.04's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
=BPI-R4 Accessories=<br />
<br />
* 10G SFP+ Module<br />
:[[Getting_Started_with_BPI-R4#1.EF.BC.8910G_SFP_Module]]<br />
<br />
* 4G/5G Module<br />
:[[Getting_Started_with_BPI-R4#2.EF.BC.89_4G.2F5G_Module]]<br />
<br />
* Storage<br />
:[[Getting_Started_with_BPI-R4#3.29_Storage]]<br />
<br />
* Wi-Fi7 NIC<br />
:[[Getting_Started_with_BPI-R4#4.29_Wi-Fi7_NIC]]<br />
<br />
=Easy to buy=<br />
*Aliexpress shop:<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006256712337.html?gatewayAdapt=4itemAdapt<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006256988361.html?gatewayAdapt=4itemAdapt<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1744032218.htm?spm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-R4&diff=17108
Banana Pi BPI-R4
2024-03-11T07:25:48Z
<p>Sinovoip: /* Debian 11 */</p>
<hr />
<div>[[zh:香蕉派 BPI-R4]]<br />
<br />
=Summary=<br />
<br />
[[File:Banana_Pi_BPI-R4_1.jpg|thumb|[[Banana Pi BPI-R4]] with MediaTek Filogic 800 (MT7988)]]<br />
[[File:Banana_Pi_BPI-R4_PoE_1.jpg|thumb|[[Banana Pi BPI-R4]] with 2.5G ETH and PoE support]]<br />
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MediaTek MT7622]]<br />
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]<br />
[[File:Banana_Pi_BPI-Wifi6_1.jpg|thumb|[[Banana Pi BPI-Wifi6 Router]] with Triductor TR6560 + TR5220 wifi SOC]]<br />
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]<br />
<br />
==Introduction==<br />
<br />
[[File:Banana_Pi_BPI-R4_Banner_2.jpg]]<br />
<br />
Banana Pi BPI-R4 Router board with MediaTek MT7988A (Filogic 880) quad-core ARM Corex-A73 design ,4GB DDR4 RAM,8GB eMMC,128MB SPI-NAND flash onboard, also have 2x 10Gbe SFP, 4x Gbe network port,with USB3.2 port,M.2 support 4G/5G/NVME SSD.2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card). It is a very high performance open source router development board.<br />
<br />
==MediaTek MT7988(Filogic 880)==<br />
<br />
Mediatek Filogic 880. the 36Gbps Wi-Fi 7 access point/router/gateway platform delivers the fastest and most reliable connection experience<br />
<br />
The MediaTek MT7988A is a world-Leading network processing platform for high-performance and reliable networking experiences,both in wired and wireless applications. The MT7988A comprises a rich connection interface sets include 4 Gigabit Ethernet ports. 2 US下GMII interfaces. 4 PCIe Interfaces,and 2 USB 3.2 en1 Ports<br />
<br />
the MT7988A further enables seamless Wi-Fi 7 tri-band,2.4 GHz.5 GHz and 6 GHz,connectivity,with its Wi-Fi 7 companion chip that features 320-MHz bandwidth,4096-QAM ,MLO,MRU,and AFC.<br />
<br />
To answer the need of fast-evolving tunneling applications,the MT7988A comes with MediaTek Tunnel offload processor System(TOPS),which facilitates the processing of a wide range of tunneling protocols.The MT7988A optimizes networking performance with exquistitely tuned ISA of MediaTek TOPS,and is dedicated to lifting networking offloading performance to premium level.<br />
<br />
==Application direction==<br />
<br />
*Internet service Router<br />
*Wifi 7 Wireless Router<br />
*4G/5G Wireless Router<br />
*Wireless Repeater<br />
*Home security Gateway<br />
*Home Automation<br />
*Nas device<br />
*Network and communication applications<br />
<br />
==Key Features==<br />
*MediaTek MT7988A (Filogic 880) quad-core Arm Corex-A73,1.8GHz processor<br />
*4GB DDR4<br />
*8GB eMMC flash<br />
*128MB SPI-NAND Flash<br />
*Micro SD card slot<br />
*2x 10Gbe SFP slot<br />
*4x Gbe network port<br />
*1x USB3.2 slot<br />
*1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G<br />
*1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
*2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card)<br />
*26 PIN GPIO Header for expanding application<br />
*POE function customizable (present version not support POE function)<br />
<br />
==Getting Start==<br />
*[[Getting Started with BPI-R4]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-R4_interface.jpg]]<br />
<br />
==WiFi7 iPA NIC Module support==<br />
BPI-R4-NIC-BE14: MT7995AV+MT7976CN+MT7977IAN<br />
<br />
[[File:BPI-R4-NIC-BE14 2.jpg|640px]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-R4'''<br />
|-<br />
| CPU ||MediaTek MT7988A (Filogic 880) Quad-core Arm Corex-A73,1.8GHz processor<br />
|-<br />
| SDRAM || 4 GB DDR4 <br />
|-<br />
| On board Storage || MicroSD (TF) card,128MB SPI NAND, 8GB eMMC<br />
|-<br />
| GPIO || 26 Pin GPIO,some of which can be used for specific functions including UART, I2C, SPI, PWM, I2S. <br />
|-<br />
| On board Network || 4 Port 10/100/1000Mbps Ethernet <br />
|-<br />
| SFP || 2x10G SFP<br />
|-<br />
| mini PCIE||2x miniPCIe slots with PCIe3.0 2lane interface for BPI Wi-Fi 7 NIC (Network Interface Card)<br />
|-<br />
|M.2 interface ||1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G,1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
|-<br />
| USB || 1xUSB 3.2 slot<br />
|-<br />
| Buttons || Reset button,WPS botton, boot switch<br />
|-<br />
| Leds || Power status Led and RJ45 Led <br />
|-<br />
| DC Power || 12V/5.2A or 19V 3.2A(The power consumption will not exceed 10W without any peripheral equipment, and 12V/2A can be used.)<br />
|-<br />
| Sizes || 100.5x148mm same as [[Banana Pi BPI-R64]] and [[Banana Pi BPI-R2]]<br />
|-<br />
| Weight || 250g <br />
|- <br />
|}<br />
<br />
=Resources=<br />
<br />
==Source code==<br />
*source code on github: https://github.com/BPI-SINOVOIP/BPI-R4-bsp<br />
*BPI-R4 OpenWRT BSP on github: https://github.com/BPI-SINOVOIP/BPI-R4-MT76-OPENWRT-V21.02<br />
Note: BPI-R4-MT76-OPENWRT-V21.02 BSP support BPI-R4 and BE13500 wifi Card<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
==Documents==<br />
*BPI-R4-Main-V11-ASSY<br />
:Baidu Cloud: https://pan.baidu.com/s/1ZjcsbMKiiEEDV9lCzW0vrg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1FDr47zcd-b2n8qiXFb-DxcuQ-6ye8OCB/view?usp=sharing<br />
<br />
*BPI-R4 DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1ie_a4lYCjVwW6wD5vl1h-A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1UkZxCi-395Q15tGr12LhG8fgDjzacjGn/view?usp=sharing<br />
<br />
*BPI-R4 Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1XjSuch4karn6ACJSLwuimQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1r-c2urU-DFVHpZ7cRk2qzKtVB8tg82mZ/view?usp=sharing<br />
<br />
*MT7988A Wi-Fi7 Datasheet&Manual<br />
:Baidu Cloud: https://pan.baidu.com/s/1-eSVD4DhyPAkfgrE9BtLmA?pwd=8888 (pincode:8888) <br />
:Google Drive:https://drive.google.com/drive/folders/1XiVchy0a4syYFVlTndhVCETNJ9x7KOYi?usp=sharing<br />
<br />
* kernel [PATCH net-next 8/8] net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC:https://www.spinics.net/lists/kernel/msg4821673.html<br />
<br />
*[PATCH 15/15] dt-bindings: net: dsa: mediatek,mt7530: add mediatek,mt7988-switch:https://lore.kernel.org/lkml/80a853f182eac24735338f3c1f505e5f580053ca.1680180959.git.daniel@makrotopia.org/<br />
<br />
*Discuss on forum :https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757<br />
<br />
*MediaTek Filogic 880 platform : https://www.mediatek.com/products/broadband-wifi/mediatek-filogic-880<br />
<br />
*Key advantages of Wi-Fi 7 : https://mediatek-marketing.files.svdcdn.com/production/documents/Key-Advantages-of-Wi-Fi-7_MediaTek-White-Paper-WF70222.pdf<br />
<br />
*How MLO Smart Link Dispatching drives Wi-Fi 7:https://mediatek-marketing.files.svdcdn.com/production/documents/MLO-Infographic-How-Smart-Link-Dispatching-drives-Wi-Fi-7-White-Paper-Infographic-0223.pdf<br />
<br />
*MLO in Wi-Fi 7: https://mediatek-marketing.files.svdcdn.com/production/documents/Wi-Fi-7-MLO-White-Paper-WF7MLOWP0622.pdf<br />
<br />
=Release image=<br />
==OpenWRT MTK MP3.0 SDK for BE19000 Wifi Card==<br />
* BPI-R4 bl2_emmc-r4.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1gumscZfpJsQr_AROzDevTg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1YVJcLRLvxET2349TCKocK4MtRG5PNbdp/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-EMMC-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1TFYGjP13TEbtFEHpE2aG1Q?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/196J1V5q4s3GgAtCNQBCtzB9h6pGVcdTg/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-NAND-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1NrA3LTEyP8Ht_Ysli-o8og?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1P5dSSaPLQzlYjniHdC-jjKE0PJ2O-Py2/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-SD-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1AW_DJ6pjEh87FJMx6pPYzw?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/146CUGBRC0ce5uN9nCM08Jegc51abAz1b/view?usp=sharing<br />
<br />
==OpenWRT MTK MP3.1 wifi SDK or MT76 wifi driver for BE14000 Wifi Card==<br />
:Baidu Cloud: https://pan.baidu.com/s/1kguTbhlBVGvN7L9G3mgFQg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1DBPwMD-qDAIqPorqJwl3sf8TsAEh0BmF?usp=sharing<br />
<br />
Note: <br />
MTK vendor's MP3.1 wifi image package name: BPI-R4-BE1350-WIFI_MP3_1-SDK-20240202.zip<br />
opensource MT76 wifi image package name : BPI-R4-BE1350-WIFI_MT76-20240202.zip<br />
MTK vendor's MP3.1 wifi driver sourcecode can't be open source. only release Image. But supply all MT76 wifi driver sourcecode.<br />
(support Quectel RM500U-CN & RM520N-GL 5G Modules, EC25 EM05 4G Modules)<br />
<br />
==Debian 11==<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-5.4-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1q2WogyCtNOcejWRG1_GhXg?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-6.1-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/199IjDbuzScMiWnwcjRX_Rg?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 BSP repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but debian 11's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
==Ubuntu 22.04==<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-5.4-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1ou2ZHbyZEmquvHNhlZ6QHw?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-6.1-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1WzfQWnlaC9zoLVA0JN3RbA?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 BSP repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but ubuntu-22.04's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
=BPI-R4 Accessories=<br />
<br />
* 10G SFP+ Module<br />
:[[Getting_Started_with_BPI-R4#1.EF.BC.8910G_SFP_Module]]<br />
<br />
* 4G/5G Module<br />
:[[Getting_Started_with_BPI-R4#2.EF.BC.89_4G.2F5G_Module]]<br />
<br />
* Storage<br />
:[[Getting_Started_with_BPI-R4#3.29_Storage]]<br />
<br />
* Wi-Fi7 NIC<br />
:[[Getting_Started_with_BPI-R4#4.29_Wi-Fi7_NIC]]<br />
<br />
=Easy to buy=<br />
*Aliexpress shop:<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006256712337.html?gatewayAdapt=4itemAdapt<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006256988361.html?gatewayAdapt=4itemAdapt<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1744032218.htm?spm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-R4&diff=17107
Banana Pi BPI-R4
2024-03-11T07:25:32Z
<p>Sinovoip: /* Ubuntu 22.04 */</p>
<hr />
<div>[[zh:香蕉派 BPI-R4]]<br />
<br />
=Summary=<br />
<br />
[[File:Banana_Pi_BPI-R4_1.jpg|thumb|[[Banana Pi BPI-R4]] with MediaTek Filogic 800 (MT7988)]]<br />
[[File:Banana_Pi_BPI-R4_PoE_1.jpg|thumb|[[Banana Pi BPI-R4]] with 2.5G ETH and PoE support]]<br />
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MediaTek MT7622]]<br />
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]<br />
[[File:Banana_Pi_BPI-Wifi6_1.jpg|thumb|[[Banana Pi BPI-Wifi6 Router]] with Triductor TR6560 + TR5220 wifi SOC]]<br />
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]<br />
<br />
==Introduction==<br />
<br />
[[File:Banana_Pi_BPI-R4_Banner_2.jpg]]<br />
<br />
Banana Pi BPI-R4 Router board with MediaTek MT7988A (Filogic 880) quad-core ARM Corex-A73 design ,4GB DDR4 RAM,8GB eMMC,128MB SPI-NAND flash onboard, also have 2x 10Gbe SFP, 4x Gbe network port,with USB3.2 port,M.2 support 4G/5G/NVME SSD.2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card). It is a very high performance open source router development board.<br />
<br />
==MediaTek MT7988(Filogic 880)==<br />
<br />
Mediatek Filogic 880. the 36Gbps Wi-Fi 7 access point/router/gateway platform delivers the fastest and most reliable connection experience<br />
<br />
The MediaTek MT7988A is a world-Leading network processing platform for high-performance and reliable networking experiences,both in wired and wireless applications. The MT7988A comprises a rich connection interface sets include 4 Gigabit Ethernet ports. 2 US下GMII interfaces. 4 PCIe Interfaces,and 2 USB 3.2 en1 Ports<br />
<br />
the MT7988A further enables seamless Wi-Fi 7 tri-band,2.4 GHz.5 GHz and 6 GHz,connectivity,with its Wi-Fi 7 companion chip that features 320-MHz bandwidth,4096-QAM ,MLO,MRU,and AFC.<br />
<br />
To answer the need of fast-evolving tunneling applications,the MT7988A comes with MediaTek Tunnel offload processor System(TOPS),which facilitates the processing of a wide range of tunneling protocols.The MT7988A optimizes networking performance with exquistitely tuned ISA of MediaTek TOPS,and is dedicated to lifting networking offloading performance to premium level.<br />
<br />
==Application direction==<br />
<br />
*Internet service Router<br />
*Wifi 7 Wireless Router<br />
*4G/5G Wireless Router<br />
*Wireless Repeater<br />
*Home security Gateway<br />
*Home Automation<br />
*Nas device<br />
*Network and communication applications<br />
<br />
==Key Features==<br />
*MediaTek MT7988A (Filogic 880) quad-core Arm Corex-A73,1.8GHz processor<br />
*4GB DDR4<br />
*8GB eMMC flash<br />
*128MB SPI-NAND Flash<br />
*Micro SD card slot<br />
*2x 10Gbe SFP slot<br />
*4x Gbe network port<br />
*1x USB3.2 slot<br />
*1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G<br />
*1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
*2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card)<br />
*26 PIN GPIO Header for expanding application<br />
*POE function customizable (present version not support POE function)<br />
<br />
==Getting Start==<br />
*[[Getting Started with BPI-R4]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-R4_interface.jpg]]<br />
<br />
==WiFi7 iPA NIC Module support==<br />
BPI-R4-NIC-BE14: MT7995AV+MT7976CN+MT7977IAN<br />
<br />
[[File:BPI-R4-NIC-BE14 2.jpg|640px]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-R4'''<br />
|-<br />
| CPU ||MediaTek MT7988A (Filogic 880) Quad-core Arm Corex-A73,1.8GHz processor<br />
|-<br />
| SDRAM || 4 GB DDR4 <br />
|-<br />
| On board Storage || MicroSD (TF) card,128MB SPI NAND, 8GB eMMC<br />
|-<br />
| GPIO || 26 Pin GPIO,some of which can be used for specific functions including UART, I2C, SPI, PWM, I2S. <br />
|-<br />
| On board Network || 4 Port 10/100/1000Mbps Ethernet <br />
|-<br />
| SFP || 2x10G SFP<br />
|-<br />
| mini PCIE||2x miniPCIe slots with PCIe3.0 2lane interface for BPI Wi-Fi 7 NIC (Network Interface Card)<br />
|-<br />
|M.2 interface ||1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G,1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
|-<br />
| USB || 1xUSB 3.2 slot<br />
|-<br />
| Buttons || Reset button,WPS botton, boot switch<br />
|-<br />
| Leds || Power status Led and RJ45 Led <br />
|-<br />
| DC Power || 12V/5.2A or 19V 3.2A(The power consumption will not exceed 10W without any peripheral equipment, and 12V/2A can be used.)<br />
|-<br />
| Sizes || 100.5x148mm same as [[Banana Pi BPI-R64]] and [[Banana Pi BPI-R2]]<br />
|-<br />
| Weight || 250g <br />
|- <br />
|}<br />
<br />
=Resources=<br />
<br />
==Source code==<br />
*source code on github: https://github.com/BPI-SINOVOIP/BPI-R4-bsp<br />
*BPI-R4 OpenWRT BSP on github: https://github.com/BPI-SINOVOIP/BPI-R4-MT76-OPENWRT-V21.02<br />
Note: BPI-R4-MT76-OPENWRT-V21.02 BSP support BPI-R4 and BE13500 wifi Card<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
==Documents==<br />
*BPI-R4-Main-V11-ASSY<br />
:Baidu Cloud: https://pan.baidu.com/s/1ZjcsbMKiiEEDV9lCzW0vrg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1FDr47zcd-b2n8qiXFb-DxcuQ-6ye8OCB/view?usp=sharing<br />
<br />
*BPI-R4 DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1ie_a4lYCjVwW6wD5vl1h-A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1UkZxCi-395Q15tGr12LhG8fgDjzacjGn/view?usp=sharing<br />
<br />
*BPI-R4 Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1XjSuch4karn6ACJSLwuimQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1r-c2urU-DFVHpZ7cRk2qzKtVB8tg82mZ/view?usp=sharing<br />
<br />
*MT7988A Wi-Fi7 Datasheet&Manual<br />
:Baidu Cloud: https://pan.baidu.com/s/1-eSVD4DhyPAkfgrE9BtLmA?pwd=8888 (pincode:8888) <br />
:Google Drive:https://drive.google.com/drive/folders/1XiVchy0a4syYFVlTndhVCETNJ9x7KOYi?usp=sharing<br />
<br />
* kernel [PATCH net-next 8/8] net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC:https://www.spinics.net/lists/kernel/msg4821673.html<br />
<br />
*[PATCH 15/15] dt-bindings: net: dsa: mediatek,mt7530: add mediatek,mt7988-switch:https://lore.kernel.org/lkml/80a853f182eac24735338f3c1f505e5f580053ca.1680180959.git.daniel@makrotopia.org/<br />
<br />
*Discuss on forum :https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757<br />
<br />
*MediaTek Filogic 880 platform : https://www.mediatek.com/products/broadband-wifi/mediatek-filogic-880<br />
<br />
*Key advantages of Wi-Fi 7 : https://mediatek-marketing.files.svdcdn.com/production/documents/Key-Advantages-of-Wi-Fi-7_MediaTek-White-Paper-WF70222.pdf<br />
<br />
*How MLO Smart Link Dispatching drives Wi-Fi 7:https://mediatek-marketing.files.svdcdn.com/production/documents/MLO-Infographic-How-Smart-Link-Dispatching-drives-Wi-Fi-7-White-Paper-Infographic-0223.pdf<br />
<br />
*MLO in Wi-Fi 7: https://mediatek-marketing.files.svdcdn.com/production/documents/Wi-Fi-7-MLO-White-Paper-WF7MLOWP0622.pdf<br />
<br />
=Release image=<br />
==OpenWRT MTK MP3.0 SDK for BE19000 Wifi Card==<br />
* BPI-R4 bl2_emmc-r4.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1gumscZfpJsQr_AROzDevTg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1YVJcLRLvxET2349TCKocK4MtRG5PNbdp/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-EMMC-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1TFYGjP13TEbtFEHpE2aG1Q?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/196J1V5q4s3GgAtCNQBCtzB9h6pGVcdTg/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-NAND-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1NrA3LTEyP8Ht_Ysli-o8og?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1P5dSSaPLQzlYjniHdC-jjKE0PJ2O-Py2/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-SD-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1AW_DJ6pjEh87FJMx6pPYzw?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/146CUGBRC0ce5uN9nCM08Jegc51abAz1b/view?usp=sharing<br />
<br />
==OpenWRT MTK MP3.1 wifi SDK or MT76 wifi driver for BE14000 Wifi Card==<br />
:Baidu Cloud: https://pan.baidu.com/s/1kguTbhlBVGvN7L9G3mgFQg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1DBPwMD-qDAIqPorqJwl3sf8TsAEh0BmF?usp=sharing<br />
<br />
Note: <br />
MTK vendor's MP3.1 wifi image package name: BPI-R4-BE1350-WIFI_MP3_1-SDK-20240202.zip<br />
opensource MT76 wifi image package name : BPI-R4-BE1350-WIFI_MT76-20240202.zip<br />
MTK vendor's MP3.1 wifi driver sourcecode can't be open source. only release Image. But supply all MT76 wifi driver sourcecode.<br />
(support Quectel RM500U-CN & RM520N-GL 5G Modules, EC25 EM05 4G Modules)<br />
<br />
==Debian 11==<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-5.4-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1q2WogyCtNOcejWRG1_GhXg?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-6.1-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/199IjDbuzScMiWnwcjRX_Rg?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but debian 11's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
==Ubuntu 22.04==<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-5.4-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1ou2ZHbyZEmquvHNhlZ6QHw?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-6.1-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1WzfQWnlaC9zoLVA0JN3RbA?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 BSP repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but ubuntu-22.04's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
=BPI-R4 Accessories=<br />
<br />
* 10G SFP+ Module<br />
:[[Getting_Started_with_BPI-R4#1.EF.BC.8910G_SFP_Module]]<br />
<br />
* 4G/5G Module<br />
:[[Getting_Started_with_BPI-R4#2.EF.BC.89_4G.2F5G_Module]]<br />
<br />
* Storage<br />
:[[Getting_Started_with_BPI-R4#3.29_Storage]]<br />
<br />
* Wi-Fi7 NIC<br />
:[[Getting_Started_with_BPI-R4#4.29_Wi-Fi7_NIC]]<br />
<br />
=Easy to buy=<br />
*Aliexpress shop:<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006256712337.html?gatewayAdapt=4itemAdapt<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006256988361.html?gatewayAdapt=4itemAdapt<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1744032218.htm?spm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-R4&diff=17106
Banana Pi BPI-R4
2024-03-11T07:25:22Z
<p>Sinovoip: /* Ubuntu 22.04 */</p>
<hr />
<div>[[zh:香蕉派 BPI-R4]]<br />
<br />
=Summary=<br />
<br />
[[File:Banana_Pi_BPI-R4_1.jpg|thumb|[[Banana Pi BPI-R4]] with MediaTek Filogic 800 (MT7988)]]<br />
[[File:Banana_Pi_BPI-R4_PoE_1.jpg|thumb|[[Banana Pi BPI-R4]] with 2.5G ETH and PoE support]]<br />
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MediaTek MT7622]]<br />
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]<br />
[[File:Banana_Pi_BPI-Wifi6_1.jpg|thumb|[[Banana Pi BPI-Wifi6 Router]] with Triductor TR6560 + TR5220 wifi SOC]]<br />
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]<br />
<br />
==Introduction==<br />
<br />
[[File:Banana_Pi_BPI-R4_Banner_2.jpg]]<br />
<br />
Banana Pi BPI-R4 Router board with MediaTek MT7988A (Filogic 880) quad-core ARM Corex-A73 design ,4GB DDR4 RAM,8GB eMMC,128MB SPI-NAND flash onboard, also have 2x 10Gbe SFP, 4x Gbe network port,with USB3.2 port,M.2 support 4G/5G/NVME SSD.2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card). It is a very high performance open source router development board.<br />
<br />
==MediaTek MT7988(Filogic 880)==<br />
<br />
Mediatek Filogic 880. the 36Gbps Wi-Fi 7 access point/router/gateway platform delivers the fastest and most reliable connection experience<br />
<br />
The MediaTek MT7988A is a world-Leading network processing platform for high-performance and reliable networking experiences,both in wired and wireless applications. The MT7988A comprises a rich connection interface sets include 4 Gigabit Ethernet ports. 2 US下GMII interfaces. 4 PCIe Interfaces,and 2 USB 3.2 en1 Ports<br />
<br />
the MT7988A further enables seamless Wi-Fi 7 tri-band,2.4 GHz.5 GHz and 6 GHz,connectivity,with its Wi-Fi 7 companion chip that features 320-MHz bandwidth,4096-QAM ,MLO,MRU,and AFC.<br />
<br />
To answer the need of fast-evolving tunneling applications,the MT7988A comes with MediaTek Tunnel offload processor System(TOPS),which facilitates the processing of a wide range of tunneling protocols.The MT7988A optimizes networking performance with exquistitely tuned ISA of MediaTek TOPS,and is dedicated to lifting networking offloading performance to premium level.<br />
<br />
==Application direction==<br />
<br />
*Internet service Router<br />
*Wifi 7 Wireless Router<br />
*4G/5G Wireless Router<br />
*Wireless Repeater<br />
*Home security Gateway<br />
*Home Automation<br />
*Nas device<br />
*Network and communication applications<br />
<br />
==Key Features==<br />
*MediaTek MT7988A (Filogic 880) quad-core Arm Corex-A73,1.8GHz processor<br />
*4GB DDR4<br />
*8GB eMMC flash<br />
*128MB SPI-NAND Flash<br />
*Micro SD card slot<br />
*2x 10Gbe SFP slot<br />
*4x Gbe network port<br />
*1x USB3.2 slot<br />
*1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G<br />
*1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
*2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card)<br />
*26 PIN GPIO Header for expanding application<br />
*POE function customizable (present version not support POE function)<br />
<br />
==Getting Start==<br />
*[[Getting Started with BPI-R4]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-R4_interface.jpg]]<br />
<br />
==WiFi7 iPA NIC Module support==<br />
BPI-R4-NIC-BE14: MT7995AV+MT7976CN+MT7977IAN<br />
<br />
[[File:BPI-R4-NIC-BE14 2.jpg|640px]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-R4'''<br />
|-<br />
| CPU ||MediaTek MT7988A (Filogic 880) Quad-core Arm Corex-A73,1.8GHz processor<br />
|-<br />
| SDRAM || 4 GB DDR4 <br />
|-<br />
| On board Storage || MicroSD (TF) card,128MB SPI NAND, 8GB eMMC<br />
|-<br />
| GPIO || 26 Pin GPIO,some of which can be used for specific functions including UART, I2C, SPI, PWM, I2S. <br />
|-<br />
| On board Network || 4 Port 10/100/1000Mbps Ethernet <br />
|-<br />
| SFP || 2x10G SFP<br />
|-<br />
| mini PCIE||2x miniPCIe slots with PCIe3.0 2lane interface for BPI Wi-Fi 7 NIC (Network Interface Card)<br />
|-<br />
|M.2 interface ||1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G,1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
|-<br />
| USB || 1xUSB 3.2 slot<br />
|-<br />
| Buttons || Reset button,WPS botton, boot switch<br />
|-<br />
| Leds || Power status Led and RJ45 Led <br />
|-<br />
| DC Power || 12V/5.2A or 19V 3.2A(The power consumption will not exceed 10W without any peripheral equipment, and 12V/2A can be used.)<br />
|-<br />
| Sizes || 100.5x148mm same as [[Banana Pi BPI-R64]] and [[Banana Pi BPI-R2]]<br />
|-<br />
| Weight || 250g <br />
|- <br />
|}<br />
<br />
=Resources=<br />
<br />
==Source code==<br />
*source code on github: https://github.com/BPI-SINOVOIP/BPI-R4-bsp<br />
*BPI-R4 OpenWRT BSP on github: https://github.com/BPI-SINOVOIP/BPI-R4-MT76-OPENWRT-V21.02<br />
Note: BPI-R4-MT76-OPENWRT-V21.02 BSP support BPI-R4 and BE13500 wifi Card<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
==Documents==<br />
*BPI-R4-Main-V11-ASSY<br />
:Baidu Cloud: https://pan.baidu.com/s/1ZjcsbMKiiEEDV9lCzW0vrg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1FDr47zcd-b2n8qiXFb-DxcuQ-6ye8OCB/view?usp=sharing<br />
<br />
*BPI-R4 DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1ie_a4lYCjVwW6wD5vl1h-A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1UkZxCi-395Q15tGr12LhG8fgDjzacjGn/view?usp=sharing<br />
<br />
*BPI-R4 Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1XjSuch4karn6ACJSLwuimQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1r-c2urU-DFVHpZ7cRk2qzKtVB8tg82mZ/view?usp=sharing<br />
<br />
*MT7988A Wi-Fi7 Datasheet&Manual<br />
:Baidu Cloud: https://pan.baidu.com/s/1-eSVD4DhyPAkfgrE9BtLmA?pwd=8888 (pincode:8888) <br />
:Google Drive:https://drive.google.com/drive/folders/1XiVchy0a4syYFVlTndhVCETNJ9x7KOYi?usp=sharing<br />
<br />
* kernel [PATCH net-next 8/8] net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC:https://www.spinics.net/lists/kernel/msg4821673.html<br />
<br />
*[PATCH 15/15] dt-bindings: net: dsa: mediatek,mt7530: add mediatek,mt7988-switch:https://lore.kernel.org/lkml/80a853f182eac24735338f3c1f505e5f580053ca.1680180959.git.daniel@makrotopia.org/<br />
<br />
*Discuss on forum :https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757<br />
<br />
*MediaTek Filogic 880 platform : https://www.mediatek.com/products/broadband-wifi/mediatek-filogic-880<br />
<br />
*Key advantages of Wi-Fi 7 : https://mediatek-marketing.files.svdcdn.com/production/documents/Key-Advantages-of-Wi-Fi-7_MediaTek-White-Paper-WF70222.pdf<br />
<br />
*How MLO Smart Link Dispatching drives Wi-Fi 7:https://mediatek-marketing.files.svdcdn.com/production/documents/MLO-Infographic-How-Smart-Link-Dispatching-drives-Wi-Fi-7-White-Paper-Infographic-0223.pdf<br />
<br />
*MLO in Wi-Fi 7: https://mediatek-marketing.files.svdcdn.com/production/documents/Wi-Fi-7-MLO-White-Paper-WF7MLOWP0622.pdf<br />
<br />
=Release image=<br />
==OpenWRT MTK MP3.0 SDK for BE19000 Wifi Card==<br />
* BPI-R4 bl2_emmc-r4.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1gumscZfpJsQr_AROzDevTg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1YVJcLRLvxET2349TCKocK4MtRG5PNbdp/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-EMMC-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1TFYGjP13TEbtFEHpE2aG1Q?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/196J1V5q4s3GgAtCNQBCtzB9h6pGVcdTg/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-NAND-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1NrA3LTEyP8Ht_Ysli-o8og?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1P5dSSaPLQzlYjniHdC-jjKE0PJ2O-Py2/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-SD-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1AW_DJ6pjEh87FJMx6pPYzw?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/146CUGBRC0ce5uN9nCM08Jegc51abAz1b/view?usp=sharing<br />
<br />
==OpenWRT MTK MP3.1 wifi SDK or MT76 wifi driver for BE14000 Wifi Card==<br />
:Baidu Cloud: https://pan.baidu.com/s/1kguTbhlBVGvN7L9G3mgFQg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1DBPwMD-qDAIqPorqJwl3sf8TsAEh0BmF?usp=sharing<br />
<br />
Note: <br />
MTK vendor's MP3.1 wifi image package name: BPI-R4-BE1350-WIFI_MP3_1-SDK-20240202.zip<br />
opensource MT76 wifi image package name : BPI-R4-BE1350-WIFI_MT76-20240202.zip<br />
MTK vendor's MP3.1 wifi driver sourcecode can't be open source. only release Image. But supply all MT76 wifi driver sourcecode.<br />
(support Quectel RM500U-CN & RM520N-GL 5G Modules, EC25 EM05 4G Modules)<br />
<br />
==Debian 11==<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-5.4-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1q2WogyCtNOcejWRG1_GhXg?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-6.1-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/199IjDbuzScMiWnwcjRX_Rg?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but debian 11's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
==Ubuntu 22.04==<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-5.4-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1ou2ZHbyZEmquvHNhlZ6QHw?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-6.1-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1WzfQWnlaC9zoLVA0JN3RbA?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but ubuntu-22.04's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
=BPI-R4 Accessories=<br />
<br />
* 10G SFP+ Module<br />
:[[Getting_Started_with_BPI-R4#1.EF.BC.8910G_SFP_Module]]<br />
<br />
* 4G/5G Module<br />
:[[Getting_Started_with_BPI-R4#2.EF.BC.89_4G.2F5G_Module]]<br />
<br />
* Storage<br />
:[[Getting_Started_with_BPI-R4#3.29_Storage]]<br />
<br />
* Wi-Fi7 NIC<br />
:[[Getting_Started_with_BPI-R4#4.29_Wi-Fi7_NIC]]<br />
<br />
=Easy to buy=<br />
*Aliexpress shop:<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006256712337.html?gatewayAdapt=4itemAdapt<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006256988361.html?gatewayAdapt=4itemAdapt<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1744032218.htm?spm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-R4&diff=17105
Banana Pi BPI-R4
2024-03-11T07:25:08Z
<p>Sinovoip: /* Debian 11 */</p>
<hr />
<div>[[zh:香蕉派 BPI-R4]]<br />
<br />
=Summary=<br />
<br />
[[File:Banana_Pi_BPI-R4_1.jpg|thumb|[[Banana Pi BPI-R4]] with MediaTek Filogic 800 (MT7988)]]<br />
[[File:Banana_Pi_BPI-R4_PoE_1.jpg|thumb|[[Banana Pi BPI-R4]] with 2.5G ETH and PoE support]]<br />
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MediaTek MT7622]]<br />
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]<br />
[[File:Banana_Pi_BPI-Wifi6_1.jpg|thumb|[[Banana Pi BPI-Wifi6 Router]] with Triductor TR6560 + TR5220 wifi SOC]]<br />
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]<br />
<br />
==Introduction==<br />
<br />
[[File:Banana_Pi_BPI-R4_Banner_2.jpg]]<br />
<br />
Banana Pi BPI-R4 Router board with MediaTek MT7988A (Filogic 880) quad-core ARM Corex-A73 design ,4GB DDR4 RAM,8GB eMMC,128MB SPI-NAND flash onboard, also have 2x 10Gbe SFP, 4x Gbe network port,with USB3.2 port,M.2 support 4G/5G/NVME SSD.2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card). It is a very high performance open source router development board.<br />
<br />
==MediaTek MT7988(Filogic 880)==<br />
<br />
Mediatek Filogic 880. the 36Gbps Wi-Fi 7 access point/router/gateway platform delivers the fastest and most reliable connection experience<br />
<br />
The MediaTek MT7988A is a world-Leading network processing platform for high-performance and reliable networking experiences,both in wired and wireless applications. The MT7988A comprises a rich connection interface sets include 4 Gigabit Ethernet ports. 2 US下GMII interfaces. 4 PCIe Interfaces,and 2 USB 3.2 en1 Ports<br />
<br />
the MT7988A further enables seamless Wi-Fi 7 tri-band,2.4 GHz.5 GHz and 6 GHz,connectivity,with its Wi-Fi 7 companion chip that features 320-MHz bandwidth,4096-QAM ,MLO,MRU,and AFC.<br />
<br />
To answer the need of fast-evolving tunneling applications,the MT7988A comes with MediaTek Tunnel offload processor System(TOPS),which facilitates the processing of a wide range of tunneling protocols.The MT7988A optimizes networking performance with exquistitely tuned ISA of MediaTek TOPS,and is dedicated to lifting networking offloading performance to premium level.<br />
<br />
==Application direction==<br />
<br />
*Internet service Router<br />
*Wifi 7 Wireless Router<br />
*4G/5G Wireless Router<br />
*Wireless Repeater<br />
*Home security Gateway<br />
*Home Automation<br />
*Nas device<br />
*Network and communication applications<br />
<br />
==Key Features==<br />
*MediaTek MT7988A (Filogic 880) quad-core Arm Corex-A73,1.8GHz processor<br />
*4GB DDR4<br />
*8GB eMMC flash<br />
*128MB SPI-NAND Flash<br />
*Micro SD card slot<br />
*2x 10Gbe SFP slot<br />
*4x Gbe network port<br />
*1x USB3.2 slot<br />
*1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G<br />
*1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
*2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card)<br />
*26 PIN GPIO Header for expanding application<br />
*POE function customizable (present version not support POE function)<br />
<br />
==Getting Start==<br />
*[[Getting Started with BPI-R4]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-R4_interface.jpg]]<br />
<br />
==WiFi7 iPA NIC Module support==<br />
BPI-R4-NIC-BE14: MT7995AV+MT7976CN+MT7977IAN<br />
<br />
[[File:BPI-R4-NIC-BE14 2.jpg|640px]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-R4'''<br />
|-<br />
| CPU ||MediaTek MT7988A (Filogic 880) Quad-core Arm Corex-A73,1.8GHz processor<br />
|-<br />
| SDRAM || 4 GB DDR4 <br />
|-<br />
| On board Storage || MicroSD (TF) card,128MB SPI NAND, 8GB eMMC<br />
|-<br />
| GPIO || 26 Pin GPIO,some of which can be used for specific functions including UART, I2C, SPI, PWM, I2S. <br />
|-<br />
| On board Network || 4 Port 10/100/1000Mbps Ethernet <br />
|-<br />
| SFP || 2x10G SFP<br />
|-<br />
| mini PCIE||2x miniPCIe slots with PCIe3.0 2lane interface for BPI Wi-Fi 7 NIC (Network Interface Card)<br />
|-<br />
|M.2 interface ||1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G,1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
|-<br />
| USB || 1xUSB 3.2 slot<br />
|-<br />
| Buttons || Reset button,WPS botton, boot switch<br />
|-<br />
| Leds || Power status Led and RJ45 Led <br />
|-<br />
| DC Power || 12V/5.2A or 19V 3.2A(The power consumption will not exceed 10W without any peripheral equipment, and 12V/2A can be used.)<br />
|-<br />
| Sizes || 100.5x148mm same as [[Banana Pi BPI-R64]] and [[Banana Pi BPI-R2]]<br />
|-<br />
| Weight || 250g <br />
|- <br />
|}<br />
<br />
=Resources=<br />
<br />
==Source code==<br />
*source code on github: https://github.com/BPI-SINOVOIP/BPI-R4-bsp<br />
*BPI-R4 OpenWRT BSP on github: https://github.com/BPI-SINOVOIP/BPI-R4-MT76-OPENWRT-V21.02<br />
Note: BPI-R4-MT76-OPENWRT-V21.02 BSP support BPI-R4 and BE13500 wifi Card<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
==Documents==<br />
*BPI-R4-Main-V11-ASSY<br />
:Baidu Cloud: https://pan.baidu.com/s/1ZjcsbMKiiEEDV9lCzW0vrg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1FDr47zcd-b2n8qiXFb-DxcuQ-6ye8OCB/view?usp=sharing<br />
<br />
*BPI-R4 DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1ie_a4lYCjVwW6wD5vl1h-A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1UkZxCi-395Q15tGr12LhG8fgDjzacjGn/view?usp=sharing<br />
<br />
*BPI-R4 Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1XjSuch4karn6ACJSLwuimQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1r-c2urU-DFVHpZ7cRk2qzKtVB8tg82mZ/view?usp=sharing<br />
<br />
*MT7988A Wi-Fi7 Datasheet&Manual<br />
:Baidu Cloud: https://pan.baidu.com/s/1-eSVD4DhyPAkfgrE9BtLmA?pwd=8888 (pincode:8888) <br />
:Google Drive:https://drive.google.com/drive/folders/1XiVchy0a4syYFVlTndhVCETNJ9x7KOYi?usp=sharing<br />
<br />
* kernel [PATCH net-next 8/8] net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC:https://www.spinics.net/lists/kernel/msg4821673.html<br />
<br />
*[PATCH 15/15] dt-bindings: net: dsa: mediatek,mt7530: add mediatek,mt7988-switch:https://lore.kernel.org/lkml/80a853f182eac24735338f3c1f505e5f580053ca.1680180959.git.daniel@makrotopia.org/<br />
<br />
*Discuss on forum :https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757<br />
<br />
*MediaTek Filogic 880 platform : https://www.mediatek.com/products/broadband-wifi/mediatek-filogic-880<br />
<br />
*Key advantages of Wi-Fi 7 : https://mediatek-marketing.files.svdcdn.com/production/documents/Key-Advantages-of-Wi-Fi-7_MediaTek-White-Paper-WF70222.pdf<br />
<br />
*How MLO Smart Link Dispatching drives Wi-Fi 7:https://mediatek-marketing.files.svdcdn.com/production/documents/MLO-Infographic-How-Smart-Link-Dispatching-drives-Wi-Fi-7-White-Paper-Infographic-0223.pdf<br />
<br />
*MLO in Wi-Fi 7: https://mediatek-marketing.files.svdcdn.com/production/documents/Wi-Fi-7-MLO-White-Paper-WF7MLOWP0622.pdf<br />
<br />
=Release image=<br />
==OpenWRT MTK MP3.0 SDK for BE19000 Wifi Card==<br />
* BPI-R4 bl2_emmc-r4.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1gumscZfpJsQr_AROzDevTg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1YVJcLRLvxET2349TCKocK4MtRG5PNbdp/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-EMMC-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1TFYGjP13TEbtFEHpE2aG1Q?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/196J1V5q4s3GgAtCNQBCtzB9h6pGVcdTg/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-NAND-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1NrA3LTEyP8Ht_Ysli-o8og?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1P5dSSaPLQzlYjniHdC-jjKE0PJ2O-Py2/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-SD-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1AW_DJ6pjEh87FJMx6pPYzw?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/146CUGBRC0ce5uN9nCM08Jegc51abAz1b/view?usp=sharing<br />
<br />
==OpenWRT MTK MP3.1 wifi SDK or MT76 wifi driver for BE14000 Wifi Card==<br />
:Baidu Cloud: https://pan.baidu.com/s/1kguTbhlBVGvN7L9G3mgFQg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1DBPwMD-qDAIqPorqJwl3sf8TsAEh0BmF?usp=sharing<br />
<br />
Note: <br />
MTK vendor's MP3.1 wifi image package name: BPI-R4-BE1350-WIFI_MP3_1-SDK-20240202.zip<br />
opensource MT76 wifi image package name : BPI-R4-BE1350-WIFI_MT76-20240202.zip<br />
MTK vendor's MP3.1 wifi driver sourcecode can't be open source. only release Image. But supply all MT76 wifi driver sourcecode.<br />
(support Quectel RM500U-CN & RM520N-GL 5G Modules, EC25 EM05 4G Modules)<br />
<br />
==Debian 11==<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-5.4-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1q2WogyCtNOcejWRG1_GhXg?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-6.1-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/199IjDbuzScMiWnwcjRX_Rg?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but debian 11's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
==Ubuntu 22.04==<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-5.4-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1ou2ZHbyZEmquvHNhlZ6QHw?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-6.1-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1WzfQWnlaC9zoLVA0JN3RbA?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but ubuntu-22.04's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
=BPI-R4 Accessories=<br />
<br />
* 10G SFP+ Module<br />
:[[Getting_Started_with_BPI-R4#1.EF.BC.8910G_SFP_Module]]<br />
<br />
* 4G/5G Module<br />
:[[Getting_Started_with_BPI-R4#2.EF.BC.89_4G.2F5G_Module]]<br />
<br />
* Storage<br />
:[[Getting_Started_with_BPI-R4#3.29_Storage]]<br />
<br />
* Wi-Fi7 NIC<br />
:[[Getting_Started_with_BPI-R4#4.29_Wi-Fi7_NIC]]<br />
<br />
=Easy to buy=<br />
*Aliexpress shop:<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006256712337.html?gatewayAdapt=4itemAdapt<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006256988361.html?gatewayAdapt=4itemAdapt<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1744032218.htm?spm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-R4&diff=17104
Banana Pi BPI-R4
2024-03-11T07:24:40Z
<p>Sinovoip: /* Source code */</p>
<hr />
<div>[[zh:香蕉派 BPI-R4]]<br />
<br />
=Summary=<br />
<br />
[[File:Banana_Pi_BPI-R4_1.jpg|thumb|[[Banana Pi BPI-R4]] with MediaTek Filogic 800 (MT7988)]]<br />
[[File:Banana_Pi_BPI-R4_PoE_1.jpg|thumb|[[Banana Pi BPI-R4]] with 2.5G ETH and PoE support]]<br />
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MediaTek MT7622]]<br />
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]<br />
[[File:Banana_Pi_BPI-Wifi6_1.jpg|thumb|[[Banana Pi BPI-Wifi6 Router]] with Triductor TR6560 + TR5220 wifi SOC]]<br />
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]<br />
<br />
==Introduction==<br />
<br />
[[File:Banana_Pi_BPI-R4_Banner_2.jpg]]<br />
<br />
Banana Pi BPI-R4 Router board with MediaTek MT7988A (Filogic 880) quad-core ARM Corex-A73 design ,4GB DDR4 RAM,8GB eMMC,128MB SPI-NAND flash onboard, also have 2x 10Gbe SFP, 4x Gbe network port,with USB3.2 port,M.2 support 4G/5G/NVME SSD.2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card). It is a very high performance open source router development board.<br />
<br />
==MediaTek MT7988(Filogic 880)==<br />
<br />
Mediatek Filogic 880. the 36Gbps Wi-Fi 7 access point/router/gateway platform delivers the fastest and most reliable connection experience<br />
<br />
The MediaTek MT7988A is a world-Leading network processing platform for high-performance and reliable networking experiences,both in wired and wireless applications. The MT7988A comprises a rich connection interface sets include 4 Gigabit Ethernet ports. 2 US下GMII interfaces. 4 PCIe Interfaces,and 2 USB 3.2 en1 Ports<br />
<br />
the MT7988A further enables seamless Wi-Fi 7 tri-band,2.4 GHz.5 GHz and 6 GHz,connectivity,with its Wi-Fi 7 companion chip that features 320-MHz bandwidth,4096-QAM ,MLO,MRU,and AFC.<br />
<br />
To answer the need of fast-evolving tunneling applications,the MT7988A comes with MediaTek Tunnel offload processor System(TOPS),which facilitates the processing of a wide range of tunneling protocols.The MT7988A optimizes networking performance with exquistitely tuned ISA of MediaTek TOPS,and is dedicated to lifting networking offloading performance to premium level.<br />
<br />
==Application direction==<br />
<br />
*Internet service Router<br />
*Wifi 7 Wireless Router<br />
*4G/5G Wireless Router<br />
*Wireless Repeater<br />
*Home security Gateway<br />
*Home Automation<br />
*Nas device<br />
*Network and communication applications<br />
<br />
==Key Features==<br />
*MediaTek MT7988A (Filogic 880) quad-core Arm Corex-A73,1.8GHz processor<br />
*4GB DDR4<br />
*8GB eMMC flash<br />
*128MB SPI-NAND Flash<br />
*Micro SD card slot<br />
*2x 10Gbe SFP slot<br />
*4x Gbe network port<br />
*1x USB3.2 slot<br />
*1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G<br />
*1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
*2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card)<br />
*26 PIN GPIO Header for expanding application<br />
*POE function customizable (present version not support POE function)<br />
<br />
==Getting Start==<br />
*[[Getting Started with BPI-R4]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-R4_interface.jpg]]<br />
<br />
==WiFi7 iPA NIC Module support==<br />
BPI-R4-NIC-BE14: MT7995AV+MT7976CN+MT7977IAN<br />
<br />
[[File:BPI-R4-NIC-BE14 2.jpg|640px]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-R4'''<br />
|-<br />
| CPU ||MediaTek MT7988A (Filogic 880) Quad-core Arm Corex-A73,1.8GHz processor<br />
|-<br />
| SDRAM || 4 GB DDR4 <br />
|-<br />
| On board Storage || MicroSD (TF) card,128MB SPI NAND, 8GB eMMC<br />
|-<br />
| GPIO || 26 Pin GPIO,some of which can be used for specific functions including UART, I2C, SPI, PWM, I2S. <br />
|-<br />
| On board Network || 4 Port 10/100/1000Mbps Ethernet <br />
|-<br />
| SFP || 2x10G SFP<br />
|-<br />
| mini PCIE||2x miniPCIe slots with PCIe3.0 2lane interface for BPI Wi-Fi 7 NIC (Network Interface Card)<br />
|-<br />
|M.2 interface ||1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G,1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
|-<br />
| USB || 1xUSB 3.2 slot<br />
|-<br />
| Buttons || Reset button,WPS botton, boot switch<br />
|-<br />
| Leds || Power status Led and RJ45 Led <br />
|-<br />
| DC Power || 12V/5.2A or 19V 3.2A(The power consumption will not exceed 10W without any peripheral equipment, and 12V/2A can be used.)<br />
|-<br />
| Sizes || 100.5x148mm same as [[Banana Pi BPI-R64]] and [[Banana Pi BPI-R2]]<br />
|-<br />
| Weight || 250g <br />
|- <br />
|}<br />
<br />
=Resources=<br />
<br />
==Source code==<br />
*source code on github: https://github.com/BPI-SINOVOIP/BPI-R4-bsp<br />
*BPI-R4 OpenWRT BSP on github: https://github.com/BPI-SINOVOIP/BPI-R4-MT76-OPENWRT-V21.02<br />
Note: BPI-R4-MT76-OPENWRT-V21.02 BSP support BPI-R4 and BE13500 wifi Card<br />
<br />
*Official BPI-R4 kernel v5.4 or v6.1 repo:<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-5.4<br />
::https://github.com/BPI-SINOVOIP/BPI-R4-bsp-6.1<br />
<br />
==Documents==<br />
*BPI-R4-Main-V11-ASSY<br />
:Baidu Cloud: https://pan.baidu.com/s/1ZjcsbMKiiEEDV9lCzW0vrg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1FDr47zcd-b2n8qiXFb-DxcuQ-6ye8OCB/view?usp=sharing<br />
<br />
*BPI-R4 DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1ie_a4lYCjVwW6wD5vl1h-A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1UkZxCi-395Q15tGr12LhG8fgDjzacjGn/view?usp=sharing<br />
<br />
*BPI-R4 Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1XjSuch4karn6ACJSLwuimQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1r-c2urU-DFVHpZ7cRk2qzKtVB8tg82mZ/view?usp=sharing<br />
<br />
*MT7988A Wi-Fi7 Datasheet&Manual<br />
:Baidu Cloud: https://pan.baidu.com/s/1-eSVD4DhyPAkfgrE9BtLmA?pwd=8888 (pincode:8888) <br />
:Google Drive:https://drive.google.com/drive/folders/1XiVchy0a4syYFVlTndhVCETNJ9x7KOYi?usp=sharing<br />
<br />
* kernel [PATCH net-next 8/8] net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC:https://www.spinics.net/lists/kernel/msg4821673.html<br />
<br />
*[PATCH 15/15] dt-bindings: net: dsa: mediatek,mt7530: add mediatek,mt7988-switch:https://lore.kernel.org/lkml/80a853f182eac24735338f3c1f505e5f580053ca.1680180959.git.daniel@makrotopia.org/<br />
<br />
*Discuss on forum :https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757<br />
<br />
*MediaTek Filogic 880 platform : https://www.mediatek.com/products/broadband-wifi/mediatek-filogic-880<br />
<br />
*Key advantages of Wi-Fi 7 : https://mediatek-marketing.files.svdcdn.com/production/documents/Key-Advantages-of-Wi-Fi-7_MediaTek-White-Paper-WF70222.pdf<br />
<br />
*How MLO Smart Link Dispatching drives Wi-Fi 7:https://mediatek-marketing.files.svdcdn.com/production/documents/MLO-Infographic-How-Smart-Link-Dispatching-drives-Wi-Fi-7-White-Paper-Infographic-0223.pdf<br />
<br />
*MLO in Wi-Fi 7: https://mediatek-marketing.files.svdcdn.com/production/documents/Wi-Fi-7-MLO-White-Paper-WF7MLOWP0622.pdf<br />
<br />
=Release image=<br />
==OpenWRT MTK MP3.0 SDK for BE19000 Wifi Card==<br />
* BPI-R4 bl2_emmc-r4.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1gumscZfpJsQr_AROzDevTg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1YVJcLRLvxET2349TCKocK4MtRG5PNbdp/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-EMMC-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1TFYGjP13TEbtFEHpE2aG1Q?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/196J1V5q4s3GgAtCNQBCtzB9h6pGVcdTg/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-NAND-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1NrA3LTEyP8Ht_Ysli-o8og?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1P5dSSaPLQzlYjniHdC-jjKE0PJ2O-Py2/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-SD-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1AW_DJ6pjEh87FJMx6pPYzw?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/146CUGBRC0ce5uN9nCM08Jegc51abAz1b/view?usp=sharing<br />
<br />
==OpenWRT MTK MP3.1 wifi SDK or MT76 wifi driver for BE14000 Wifi Card==<br />
:Baidu Cloud: https://pan.baidu.com/s/1kguTbhlBVGvN7L9G3mgFQg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1DBPwMD-qDAIqPorqJwl3sf8TsAEh0BmF?usp=sharing<br />
<br />
Note: <br />
MTK vendor's MP3.1 wifi image package name: BPI-R4-BE1350-WIFI_MP3_1-SDK-20240202.zip<br />
opensource MT76 wifi image package name : BPI-R4-BE1350-WIFI_MT76-20240202.zip<br />
MTK vendor's MP3.1 wifi driver sourcecode can't be open source. only release Image. But supply all MT76 wifi driver sourcecode.<br />
(support Quectel RM500U-CN & RM520N-GL 5G Modules, EC25 EM05 4G Modules)<br />
<br />
==Debian 11==<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-5.4-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1q2WogyCtNOcejWRG1_GhXg?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-6.1-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/199IjDbuzScMiWnwcjRX_Rg?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but debian 11's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
==Ubuntu 22.04==<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-5.4-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1ou2ZHbyZEmquvHNhlZ6QHw?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-6.1-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1WzfQWnlaC9zoLVA0JN3RbA?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but ubuntu-22.04's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
=BPI-R4 Accessories=<br />
<br />
* 10G SFP+ Module<br />
:[[Getting_Started_with_BPI-R4#1.EF.BC.8910G_SFP_Module]]<br />
<br />
* 4G/5G Module<br />
:[[Getting_Started_with_BPI-R4#2.EF.BC.89_4G.2F5G_Module]]<br />
<br />
* Storage<br />
:[[Getting_Started_with_BPI-R4#3.29_Storage]]<br />
<br />
* Wi-Fi7 NIC<br />
:[[Getting_Started_with_BPI-R4#4.29_Wi-Fi7_NIC]]<br />
<br />
=Easy to buy=<br />
*Aliexpress shop:<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006256712337.html?gatewayAdapt=4itemAdapt<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006256988361.html?gatewayAdapt=4itemAdapt<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1744032218.htm?spm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-R4&diff=17103
Banana Pi BPI-R4
2024-03-11T07:22:11Z
<p>Sinovoip: /* Debian 11 */</p>
<hr />
<div>[[zh:香蕉派 BPI-R4]]<br />
<br />
=Summary=<br />
<br />
[[File:Banana_Pi_BPI-R4_1.jpg|thumb|[[Banana Pi BPI-R4]] with MediaTek Filogic 800 (MT7988)]]<br />
[[File:Banana_Pi_BPI-R4_PoE_1.jpg|thumb|[[Banana Pi BPI-R4]] with 2.5G ETH and PoE support]]<br />
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MediaTek MT7622]]<br />
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]<br />
[[File:Banana_Pi_BPI-Wifi6_1.jpg|thumb|[[Banana Pi BPI-Wifi6 Router]] with Triductor TR6560 + TR5220 wifi SOC]]<br />
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]<br />
<br />
==Introduction==<br />
<br />
[[File:Banana_Pi_BPI-R4_Banner_2.jpg]]<br />
<br />
Banana Pi BPI-R4 Router board with MediaTek MT7988A (Filogic 880) quad-core ARM Corex-A73 design ,4GB DDR4 RAM,8GB eMMC,128MB SPI-NAND flash onboard, also have 2x 10Gbe SFP, 4x Gbe network port,with USB3.2 port,M.2 support 4G/5G/NVME SSD.2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card). It is a very high performance open source router development board.<br />
<br />
==MediaTek MT7988(Filogic 880)==<br />
<br />
Mediatek Filogic 880. the 36Gbps Wi-Fi 7 access point/router/gateway platform delivers the fastest and most reliable connection experience<br />
<br />
The MediaTek MT7988A is a world-Leading network processing platform for high-performance and reliable networking experiences,both in wired and wireless applications. The MT7988A comprises a rich connection interface sets include 4 Gigabit Ethernet ports. 2 US下GMII interfaces. 4 PCIe Interfaces,and 2 USB 3.2 en1 Ports<br />
<br />
the MT7988A further enables seamless Wi-Fi 7 tri-band,2.4 GHz.5 GHz and 6 GHz,connectivity,with its Wi-Fi 7 companion chip that features 320-MHz bandwidth,4096-QAM ,MLO,MRU,and AFC.<br />
<br />
To answer the need of fast-evolving tunneling applications,the MT7988A comes with MediaTek Tunnel offload processor System(TOPS),which facilitates the processing of a wide range of tunneling protocols.The MT7988A optimizes networking performance with exquistitely tuned ISA of MediaTek TOPS,and is dedicated to lifting networking offloading performance to premium level.<br />
<br />
==Application direction==<br />
<br />
*Internet service Router<br />
*Wifi 7 Wireless Router<br />
*4G/5G Wireless Router<br />
*Wireless Repeater<br />
*Home security Gateway<br />
*Home Automation<br />
*Nas device<br />
*Network and communication applications<br />
<br />
==Key Features==<br />
*MediaTek MT7988A (Filogic 880) quad-core Arm Corex-A73,1.8GHz processor<br />
*4GB DDR4<br />
*8GB eMMC flash<br />
*128MB SPI-NAND Flash<br />
*Micro SD card slot<br />
*2x 10Gbe SFP slot<br />
*4x Gbe network port<br />
*1x USB3.2 slot<br />
*1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G<br />
*1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
*2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card)<br />
*26 PIN GPIO Header for expanding application<br />
*POE function customizable (present version not support POE function)<br />
<br />
==Getting Start==<br />
*[[Getting Started with BPI-R4]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-R4_interface.jpg]]<br />
<br />
==WiFi7 iPA NIC Module support==<br />
BPI-R4-NIC-BE14: MT7995AV+MT7976CN+MT7977IAN<br />
<br />
[[File:BPI-R4-NIC-BE14 2.jpg|640px]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-R4'''<br />
|-<br />
| CPU ||MediaTek MT7988A (Filogic 880) Quad-core Arm Corex-A73,1.8GHz processor<br />
|-<br />
| SDRAM || 4 GB DDR4 <br />
|-<br />
| On board Storage || MicroSD (TF) card,128MB SPI NAND, 8GB eMMC<br />
|-<br />
| GPIO || 26 Pin GPIO,some of which can be used for specific functions including UART, I2C, SPI, PWM, I2S. <br />
|-<br />
| On board Network || 4 Port 10/100/1000Mbps Ethernet <br />
|-<br />
| SFP || 2x10G SFP<br />
|-<br />
| mini PCIE||2x miniPCIe slots with PCIe3.0 2lane interface for BPI Wi-Fi 7 NIC (Network Interface Card)<br />
|-<br />
|M.2 interface ||1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G,1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
|-<br />
| USB || 1xUSB 3.2 slot<br />
|-<br />
| Buttons || Reset button,WPS botton, boot switch<br />
|-<br />
| Leds || Power status Led and RJ45 Led <br />
|-<br />
| DC Power || 12V/5.2A or 19V 3.2A(The power consumption will not exceed 10W without any peripheral equipment, and 12V/2A can be used.)<br />
|-<br />
| Sizes || 100.5x148mm same as [[Banana Pi BPI-R64]] and [[Banana Pi BPI-R2]]<br />
|-<br />
| Weight || 250g <br />
|- <br />
|}<br />
<br />
=Resources=<br />
<br />
==Source code==<br />
*source code on github: https://github.com/BPI-SINOVOIP/BPI-R4-bsp<br />
*BPI-R4 OpenWRT BSP on github: https://github.com/BPI-SINOVOIP/BPI-R4-MT76-OPENWRT-V21.02<br />
Note: BPI-R4-MT76-OPENWRT-V21.02 BSP support BPI-R4 and BE13500 wifi Card<br />
<br />
==Documents==<br />
*BPI-R4-Main-V11-ASSY<br />
:Baidu Cloud: https://pan.baidu.com/s/1ZjcsbMKiiEEDV9lCzW0vrg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1FDr47zcd-b2n8qiXFb-DxcuQ-6ye8OCB/view?usp=sharing<br />
<br />
*BPI-R4 DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1ie_a4lYCjVwW6wD5vl1h-A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1UkZxCi-395Q15tGr12LhG8fgDjzacjGn/view?usp=sharing<br />
<br />
*BPI-R4 Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1XjSuch4karn6ACJSLwuimQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1r-c2urU-DFVHpZ7cRk2qzKtVB8tg82mZ/view?usp=sharing<br />
<br />
*MT7988A Wi-Fi7 Datasheet&Manual<br />
:Baidu Cloud: https://pan.baidu.com/s/1-eSVD4DhyPAkfgrE9BtLmA?pwd=8888 (pincode:8888) <br />
:Google Drive:https://drive.google.com/drive/folders/1XiVchy0a4syYFVlTndhVCETNJ9x7KOYi?usp=sharing<br />
<br />
* kernel [PATCH net-next 8/8] net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC:https://www.spinics.net/lists/kernel/msg4821673.html<br />
<br />
*[PATCH 15/15] dt-bindings: net: dsa: mediatek,mt7530: add mediatek,mt7988-switch:https://lore.kernel.org/lkml/80a853f182eac24735338f3c1f505e5f580053ca.1680180959.git.daniel@makrotopia.org/<br />
<br />
*Discuss on forum :https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757<br />
<br />
*MediaTek Filogic 880 platform : https://www.mediatek.com/products/broadband-wifi/mediatek-filogic-880<br />
<br />
*Key advantages of Wi-Fi 7 : https://mediatek-marketing.files.svdcdn.com/production/documents/Key-Advantages-of-Wi-Fi-7_MediaTek-White-Paper-WF70222.pdf<br />
<br />
*How MLO Smart Link Dispatching drives Wi-Fi 7:https://mediatek-marketing.files.svdcdn.com/production/documents/MLO-Infographic-How-Smart-Link-Dispatching-drives-Wi-Fi-7-White-Paper-Infographic-0223.pdf<br />
<br />
*MLO in Wi-Fi 7: https://mediatek-marketing.files.svdcdn.com/production/documents/Wi-Fi-7-MLO-White-Paper-WF7MLOWP0622.pdf<br />
<br />
=Release image=<br />
==OpenWRT MTK MP3.0 SDK for BE19000 Wifi Card==<br />
* BPI-R4 bl2_emmc-r4.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1gumscZfpJsQr_AROzDevTg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1YVJcLRLvxET2349TCKocK4MtRG5PNbdp/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-EMMC-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1TFYGjP13TEbtFEHpE2aG1Q?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/196J1V5q4s3GgAtCNQBCtzB9h6pGVcdTg/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-NAND-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1NrA3LTEyP8Ht_Ysli-o8og?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1P5dSSaPLQzlYjniHdC-jjKE0PJ2O-Py2/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-SD-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1AW_DJ6pjEh87FJMx6pPYzw?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/146CUGBRC0ce5uN9nCM08Jegc51abAz1b/view?usp=sharing<br />
<br />
==OpenWRT MTK MP3.1 wifi SDK or MT76 wifi driver for BE14000 Wifi Card==<br />
:Baidu Cloud: https://pan.baidu.com/s/1kguTbhlBVGvN7L9G3mgFQg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1DBPwMD-qDAIqPorqJwl3sf8TsAEh0BmF?usp=sharing<br />
<br />
Note: <br />
MTK vendor's MP3.1 wifi image package name: BPI-R4-BE1350-WIFI_MP3_1-SDK-20240202.zip<br />
opensource MT76 wifi image package name : BPI-R4-BE1350-WIFI_MT76-20240202.zip<br />
MTK vendor's MP3.1 wifi driver sourcecode can't be open source. only release Image. But supply all MT76 wifi driver sourcecode.<br />
(support Quectel RM500U-CN & RM520N-GL 5G Modules, EC25 EM05 4G Modules)<br />
<br />
==Debian 11==<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-5.4-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1q2WogyCtNOcejWRG1_GhXg?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-6.1-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/199IjDbuzScMiWnwcjRX_Rg?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but debian 11's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
==Ubuntu 22.04==<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-5.4-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1ou2ZHbyZEmquvHNhlZ6QHw?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-6.1-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1WzfQWnlaC9zoLVA0JN3RbA?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but ubuntu-22.04's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
=BPI-R4 Accessories=<br />
<br />
* 10G SFP+ Module<br />
:[[Getting_Started_with_BPI-R4#1.EF.BC.8910G_SFP_Module]]<br />
<br />
* 4G/5G Module<br />
:[[Getting_Started_with_BPI-R4#2.EF.BC.89_4G.2F5G_Module]]<br />
<br />
* Storage<br />
:[[Getting_Started_with_BPI-R4#3.29_Storage]]<br />
<br />
* Wi-Fi7 NIC<br />
:[[Getting_Started_with_BPI-R4#4.29_Wi-Fi7_NIC]]<br />
<br />
=Easy to buy=<br />
*Aliexpress shop:<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006256712337.html?gatewayAdapt=4itemAdapt<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006256988361.html?gatewayAdapt=4itemAdapt<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1744032218.htm?spm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip
https://wiki.banana-pi.org/index.php?title=Banana_Pi_BPI-R4&diff=17102
Banana Pi BPI-R4
2024-03-11T07:21:57Z
<p>Sinovoip: /* Ubuntu 22.04 */</p>
<hr />
<div>[[zh:香蕉派 BPI-R4]]<br />
<br />
=Summary=<br />
<br />
[[File:Banana_Pi_BPI-R4_1.jpg|thumb|[[Banana Pi BPI-R4]] with MediaTek Filogic 800 (MT7988)]]<br />
[[File:Banana_Pi_BPI-R4_PoE_1.jpg|thumb|[[Banana Pi BPI-R4]] with 2.5G ETH and PoE support]]<br />
[[File:Banana_Pi_BPI-R3_Router_2.jpg|thumb|[[Banana Pi BPI-R3]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R3_Mini__1.jpg|thumb|[[Banana Pi BPI-R3 Mini]] with MediaTek MT7986(Filogic 830)]]<br />
[[File:Banana_Pi_BPI-R2_Pro_1_750.jpg|thumb|[[Banana Pi BPI-R2 Pro]] Rockchip RK3568 design]]<br />
[[File:BPI-R64_3.JPG|thumb|[[Banana Pi BPI-R64]] with MediaTek MT7622]]<br />
[[File:BPI-R2_3.JPG|thumb|[[Banana Pi BPI-R2]] with MTK MT7623N chip design]]<br />
[[File:Banana_Pi_BPI-Wifi6_1.jpg|thumb|[[Banana Pi BPI-Wifi6 Router]] with Triductor TR6560 + TR5220 wifi SOC]]<br />
[[File:Banana_pi_BPI-R1_1.JPG|thumb|[[Banana Pi BPI-R1]] with allwinner A20 chip design]]<br />
<br />
==Introduction==<br />
<br />
[[File:Banana_Pi_BPI-R4_Banner_2.jpg]]<br />
<br />
Banana Pi BPI-R4 Router board with MediaTek MT7988A (Filogic 880) quad-core ARM Corex-A73 design ,4GB DDR4 RAM,8GB eMMC,128MB SPI-NAND flash onboard, also have 2x 10Gbe SFP, 4x Gbe network port,with USB3.2 port,M.2 support 4G/5G/NVME SSD.2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card). It is a very high performance open source router development board.<br />
<br />
==MediaTek MT7988(Filogic 880)==<br />
<br />
Mediatek Filogic 880. the 36Gbps Wi-Fi 7 access point/router/gateway platform delivers the fastest and most reliable connection experience<br />
<br />
The MediaTek MT7988A is a world-Leading network processing platform for high-performance and reliable networking experiences,both in wired and wireless applications. The MT7988A comprises a rich connection interface sets include 4 Gigabit Ethernet ports. 2 US下GMII interfaces. 4 PCIe Interfaces,and 2 USB 3.2 en1 Ports<br />
<br />
the MT7988A further enables seamless Wi-Fi 7 tri-band,2.4 GHz.5 GHz and 6 GHz,connectivity,with its Wi-Fi 7 companion chip that features 320-MHz bandwidth,4096-QAM ,MLO,MRU,and AFC.<br />
<br />
To answer the need of fast-evolving tunneling applications,the MT7988A comes with MediaTek Tunnel offload processor System(TOPS),which facilitates the processing of a wide range of tunneling protocols.The MT7988A optimizes networking performance with exquistitely tuned ISA of MediaTek TOPS,and is dedicated to lifting networking offloading performance to premium level.<br />
<br />
==Application direction==<br />
<br />
*Internet service Router<br />
*Wifi 7 Wireless Router<br />
*4G/5G Wireless Router<br />
*Wireless Repeater<br />
*Home security Gateway<br />
*Home Automation<br />
*Nas device<br />
*Network and communication applications<br />
<br />
==Key Features==<br />
*MediaTek MT7988A (Filogic 880) quad-core Arm Corex-A73,1.8GHz processor<br />
*4GB DDR4<br />
*8GB eMMC flash<br />
*128MB SPI-NAND Flash<br />
*Micro SD card slot<br />
*2x 10Gbe SFP slot<br />
*4x Gbe network port<br />
*1x USB3.2 slot<br />
*1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G<br />
*1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
*2x miniPCIe slots with PCIe3.0 2lane interface for Wi-Fi 7 NIC (Network Interface Card)<br />
*26 PIN GPIO Header for expanding application<br />
*POE function customizable (present version not support POE function)<br />
<br />
==Getting Start==<br />
*[[Getting Started with BPI-R4]]<br />
<br />
=Hardware=<br />
==Hardware interface==<br />
[[File:Banana_Pi_BPI-R4_interface.jpg]]<br />
<br />
==WiFi7 iPA NIC Module support==<br />
BPI-R4-NIC-BE14: MT7995AV+MT7976CN+MT7977IAN<br />
<br />
[[File:BPI-R4-NIC-BE14 2.jpg|640px]]<br />
<br />
==Hardware spec==<br />
{| class="wikitable"<br />
|-<br />
| style="background: PaleTurquoise; color: black" colspan="4"| '''HardWare Specification of Banana pi BPI-R4'''<br />
|-<br />
| CPU ||MediaTek MT7988A (Filogic 880) Quad-core Arm Corex-A73,1.8GHz processor<br />
|-<br />
| SDRAM || 4 GB DDR4 <br />
|-<br />
| On board Storage || MicroSD (TF) card,128MB SPI NAND, 8GB eMMC<br />
|-<br />
| GPIO || 26 Pin GPIO,some of which can be used for specific functions including UART, I2C, SPI, PWM, I2S. <br />
|-<br />
| On board Network || 4 Port 10/100/1000Mbps Ethernet <br />
|-<br />
| SFP || 2x10G SFP<br />
|-<br />
| mini PCIE||2x miniPCIe slots with PCIe3.0 2lane interface for BPI Wi-Fi 7 NIC (Network Interface Card)<br />
|-<br />
|M.2 interface ||1x M.2 KEY-B slot with USB3.2/PCIe3.0 interface for 5G,1x M.2 KEY-M slot with PCIe3.0 1lane interface for NVME SSD<br />
|-<br />
| USB || 1xUSB 3.2 slot<br />
|-<br />
| Buttons || Reset button,WPS botton, boot switch<br />
|-<br />
| Leds || Power status Led and RJ45 Led <br />
|-<br />
| DC Power || 12V/5.2A or 19V 3.2A(The power consumption will not exceed 10W without any peripheral equipment, and 12V/2A can be used.)<br />
|-<br />
| Sizes || 100.5x148mm same as [[Banana Pi BPI-R64]] and [[Banana Pi BPI-R2]]<br />
|-<br />
| Weight || 250g <br />
|- <br />
|}<br />
<br />
=Resources=<br />
<br />
==Source code==<br />
*source code on github: https://github.com/BPI-SINOVOIP/BPI-R4-bsp<br />
*BPI-R4 OpenWRT BSP on github: https://github.com/BPI-SINOVOIP/BPI-R4-MT76-OPENWRT-V21.02<br />
Note: BPI-R4-MT76-OPENWRT-V21.02 BSP support BPI-R4 and BE13500 wifi Card<br />
<br />
==Documents==<br />
*BPI-R4-Main-V11-ASSY<br />
:Baidu Cloud: https://pan.baidu.com/s/1ZjcsbMKiiEEDV9lCzW0vrg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1FDr47zcd-b2n8qiXFb-DxcuQ-6ye8OCB/view?usp=sharing<br />
<br />
*BPI-R4 DXF file<br />
:Baidu Cloud: https://pan.baidu.com/s/1ie_a4lYCjVwW6wD5vl1h-A?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1UkZxCi-395Q15tGr12LhG8fgDjzacjGn/view?usp=sharing<br />
<br />
*BPI-R4 Schematic diagram<br />
:Baidu Cloud: https://pan.baidu.com/s/1XjSuch4karn6ACJSLwuimQ?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1r-c2urU-DFVHpZ7cRk2qzKtVB8tg82mZ/view?usp=sharing<br />
<br />
*MT7988A Wi-Fi7 Datasheet&Manual<br />
:Baidu Cloud: https://pan.baidu.com/s/1-eSVD4DhyPAkfgrE9BtLmA?pwd=8888 (pincode:8888) <br />
:Google Drive:https://drive.google.com/drive/folders/1XiVchy0a4syYFVlTndhVCETNJ9x7KOYi?usp=sharing<br />
<br />
* kernel [PATCH net-next 8/8] net: ethernet: mtk_eth_soc: add basic support for MT7988 SoC:https://www.spinics.net/lists/kernel/msg4821673.html<br />
<br />
*[PATCH 15/15] dt-bindings: net: dsa: mediatek,mt7530: add mediatek,mt7988-switch:https://lore.kernel.org/lkml/80a853f182eac24735338f3c1f505e5f580053ca.1680180959.git.daniel@makrotopia.org/<br />
<br />
*Discuss on forum :https://forum.banana-pi.org/t/banana-pi-bpi-r4-wifi-7-router-board-with-mediatek-mt7988a-filogic-880-4g-ram-and-8g-emmc/15757<br />
<br />
*MediaTek Filogic 880 platform : https://www.mediatek.com/products/broadband-wifi/mediatek-filogic-880<br />
<br />
*Key advantages of Wi-Fi 7 : https://mediatek-marketing.files.svdcdn.com/production/documents/Key-Advantages-of-Wi-Fi-7_MediaTek-White-Paper-WF70222.pdf<br />
<br />
*How MLO Smart Link Dispatching drives Wi-Fi 7:https://mediatek-marketing.files.svdcdn.com/production/documents/MLO-Infographic-How-Smart-Link-Dispatching-drives-Wi-Fi-7-White-Paper-Infographic-0223.pdf<br />
<br />
*MLO in Wi-Fi 7: https://mediatek-marketing.files.svdcdn.com/production/documents/Wi-Fi-7-MLO-White-Paper-WF7MLOWP0622.pdf<br />
<br />
=Release image=<br />
==OpenWRT MTK MP3.0 SDK for BE19000 Wifi Card==<br />
* BPI-R4 bl2_emmc-r4.img<br />
:Baidu Cloud: https://pan.baidu.com/s/1gumscZfpJsQr_AROzDevTg?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/1YVJcLRLvxET2349TCKocK4MtRG5PNbdp/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-EMMC-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1TFYGjP13TEbtFEHpE2aG1Q?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/196J1V5q4s3GgAtCNQBCtzB9h6pGVcdTg/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-NAND-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1NrA3LTEyP8Ht_Ysli-o8og?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/file/d/1P5dSSaPLQzlYjniHdC-jjKE0PJ2O-Py2/view?usp=sharing<br />
<br />
*BPI-R4-mtk-bpi-r4-SD-20231030<br />
:Baidu Cloud: https://pan.baidu.com/s/1AW_DJ6pjEh87FJMx6pPYzw?pwd=8888 (pincode:8888) <br />
:Google Drive: https://drive.google.com/file/d/146CUGBRC0ce5uN9nCM08Jegc51abAz1b/view?usp=sharing<br />
<br />
==OpenWRT MTK MP3.1 wifi SDK or MT76 wifi driver for BE14000 Wifi Card==<br />
:Baidu Cloud: https://pan.baidu.com/s/1kguTbhlBVGvN7L9G3mgFQg?pwd=8888 (pincode:8888)<br />
:Google Drive: https://drive.google.com/drive/folders/1DBPwMD-qDAIqPorqJwl3sf8TsAEh0BmF?usp=sharing<br />
<br />
Note: <br />
MTK vendor's MP3.1 wifi image package name: BPI-R4-BE1350-WIFI_MP3_1-SDK-20240202.zip<br />
opensource MT76 wifi image package name : BPI-R4-BE1350-WIFI_MT76-20240202.zip<br />
MTK vendor's MP3.1 wifi driver sourcecode can't be open source. only release Image. But supply all MT76 wifi driver sourcecode.<br />
(support Quectel RM500U-CN & RM520N-GL 5G Modules, EC25 EM05 4G Modules)<br />
<br />
==Debian 11==<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-5.4-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1q2WogyCtNOcejWRG1_GhXg?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
*2024-03-10-debian-11-bullseye-lite-bpi-r4-6.1-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/199IjDbuzScMiWnwcjRX_Rg?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but debian's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
==Ubuntu 22.04==<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-5.4-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1ou2ZHbyZEmquvHNhlZ6QHw?pwd=8888 (pincode:8888) <br />
:Google drive:<br />
<br />
*2024-03-10-ubuntu-22.04-server-bpi-r4-6.1-aarch64-sd-emmc.img<br />
:Baidu cloud: https://pan.baidu.com/s/1WzfQWnlaC9zoLVA0JN3RbA?pwd=8888 (pincode:8888)<br />
:Google drive:<br />
<br />
Note:linux-5.4 kernel include MT76 wifi driver, it can only support BE14000 wifi card. it can support 2.4G, 5G and 6G, but ubuntu-22.04's network-manager utility package can't support 6G wifi. So we are waiting for the latest package.<br />
linux-6.1 kernel don't include MT76 wifi driver, it can't support BE14000 wifi card<br />
<br />
=BPI-R4 Accessories=<br />
<br />
* 10G SFP+ Module<br />
:[[Getting_Started_with_BPI-R4#1.EF.BC.8910G_SFP_Module]]<br />
<br />
* 4G/5G Module<br />
:[[Getting_Started_with_BPI-R4#2.EF.BC.89_4G.2F5G_Module]]<br />
<br />
* Storage<br />
:[[Getting_Started_with_BPI-R4#3.29_Storage]]<br />
<br />
* Wi-Fi7 NIC<br />
:[[Getting_Started_with_BPI-R4#4.29_Wi-Fi7_NIC]]<br />
<br />
=Easy to buy=<br />
*Aliexpress shop:<br />
:SINOVOIP Aliexpress shop: https://www.aliexpress.us/item/1005006256712337.html?gatewayAdapt=4itemAdapt<br />
:Bipai Aliexpress shop: https://www.aliexpress.us/item/1005006256988361.html?gatewayAdapt=4itemAdapt<br />
*Taobao Shop: https://shop108780008.taobao.com/category-1744032218.htm?spm<br />
*OEM&ODM, please contact: judyhuang@banana-pi.com</div>
Sinovoip