Difference between revisions of "Banana Pi BPI-M2S"
(→Easy to buy sample) |
|||
(134 intermediate revisions by 4 users not shown) | |||
Line 3: | Line 3: | ||
[[File:Banana_Pi_BPI-M2S_1.jpg|thumb|[[Banana Pi BPI-M2S]] Amlogic A311D chip]] | [[File:Banana_Pi_BPI-M2S_1.jpg|thumb|[[Banana Pi BPI-M2S]] Amlogic A311D chip]] | ||
− | [[File: | + | [[File:Banana_Pi_BPI-M2S_S922_1.jpg|thumb|[[Banana Pi BPI-M2S]] Amlogic S922x chip]] |
− | [[File: | + | [[File:Banana_Pi_BPI-CM4_1.jpg|thumb|[[BPI-CM4 Computer module and development Kit]] with A311D design]] |
+ | [[File:Banana_Pi_BPI-M2S_with_poe.jpg|thumb|BPI-M2S with [[BPI-9600 IEEE 802.3af PoE module]]]] | ||
+ | [[File:Banana_Pi_BPI-M2S_with_wifi_and_BT_module.jpg|thumb|BPI-M2S with Wifi&BT module]] | ||
+ | [[File:BPI-M2_Pro_2.jpg|thumb|[[Banana Pi BPI-M2 Pro]] S905x3 design]] | ||
+ | [[File:Banana_Pi_BPI-M5_4.JPG|thumb|[[Banana Pi BPI-M5]] Amlogic S905x3 design]] | ||
+ | [[File:BPi-9600 Poe 5.jpg|thumb|[[BPI-9600 IEEE 802.3af PoE module]](5V 2A)]] | ||
− | BananaPi BPI-M2S new design with Amlogic A311D Quad core ARM Cortex-A73 and dual core ARM Cortex-A53 CPU ,ARM G52 MP4(6EE) GPU,NPU for AI at 5.0 TOPS, support Camera and MIPI-CSI interface ,HDMI output,2 Gigabit port | + | |
+ | BananaPi BPI-M2S new design with Amlogic A311D, Quad core ARM Cortex-A73 and dual core ARM Cortex-A53 CPU,ARM G52 MP4(6EE) GPU,NPU for AI at 5.0 TOPS, support Camera and MIPI-CSI interface ,HDMI output,2 Gigabit port, 4G RAM and 16 GB eMMC flash. | ||
+ | |||
+ | Amlogic S922X variant M2S board is 2G ram, 16G eMMC, NOT support npu, mipi panel and mipi camera. | ||
BPI-M2S same size as [[Banana Pi BPI-M2+ ]] and [[Banana Pi BPI-M2 Pro]] | BPI-M2S same size as [[Banana Pi BPI-M2+ ]] and [[Banana Pi BPI-M2 Pro]] | ||
+ | |||
+ | ==Introduction Video== | ||
+ | [[File:BananaPi-BPI-M2S-YouTube-Video.jpg|640px|link=https://youtu.be/0s3seudNXdE]] | ||
=Key Features= | =Key Features= | ||
Line 15: | Line 26: | ||
* 4GB LPDDR4 RAM | * 4GB LPDDR4 RAM | ||
* 16GB eMMC flash (Max 128G) | * 16GB eMMC flash (Max 128G) | ||
− | * support MIPI DSI | + | * support MIPI-DSI Dispaly Serial interface |
− | * support MIPI CSI | + | * support MIPI-CSI Camera Serial interface |
− | * 2 Gigabit port | + | * 2 Gigabit ethernet port |
* HDMI output | * HDMI output | ||
* 40 PIN GPIO | * 40 PIN GPIO | ||
− | * support Android and Linux system | + | * support Android and Linux system |
==Getting Start== | ==Getting Start== | ||
+ | [[Getting Started with M2S]] | ||
=Hardware= | =Hardware= | ||
− | ==Hardware | + | ==BPI-M2S(Amlogic A311D) Hardware interface== |
− | [[File:BPI- | + | [[File:BPI-M2S_NEW_VERSION.jpg]] |
+ | |||
+ | ==BPI-M2S(Amlogic S922X) Hardware interface== | ||
+ | [[File:BPI-M2S_S922X_NEW.jpg]] | ||
==Banana Pi BPI-M2S SBC specifications== | ==Banana Pi BPI-M2S SBC specifications== | ||
Line 45: | Line 60: | ||
*Power Supply – Via USB-C port or pin header | *Power Supply – Via USB-C port or pin header | ||
*Dimensions – 65 x 65mm | *Dimensions – 65 x 65mm | ||
+ | |||
+ | ==PoE Wifi&BT== | ||
+ | |||
+ | [[File:Banana_Pi_BPI-M2S_with_PoE_wifi_bt.jpg]] | ||
+ | |||
+ | BPI-M5 rtl8822cs WiFi&BT board,SDIO interface, 802.11 a/b/g/n/ac 2T2R WiFi and Bluectooch 5.0 | ||
+ | *discuss on forum : https://forum.banana-pi.org/t/bpi-m5-rtl8822cs-wifi-bt-board-sdio-interface-802-11-a-b-g-n-ac-2t2r-wifi-and-bluectooch-5-0/11846 | ||
+ | |||
+ | PoE support RT9600-5V PoE module | ||
+ | |||
+ | [[BPI-9600 IEEE 802.3af PoE module]] | ||
==GPIO PIN define == | ==GPIO PIN define == | ||
===BPI-M2S 40PIN GPIO (CON2)=== | ===BPI-M2S 40PIN GPIO (CON2)=== | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | |GPIO Pin Name|| Default :GPIO ||Function2 ||Function3 | ||
+ | |- | ||
+ | |CON2-P01 ||VCC-3V3 || || | ||
+ | |- | ||
+ | |CON2-P02 ||DCIN || || | ||
+ | |- | ||
+ | |CON2-P03 ||GPIOX_17 ||I2C_EE_M2_SDA ||BT_EN | ||
+ | |- | ||
+ | |CON2-P04 ||DCIN || || | ||
+ | |- | ||
+ | |CON2-P05 ||GPIOX_18 ||I2C_EE_M2_SCL ||BT_WAKE_HOST | ||
+ | |- | ||
+ | |CON2-P06 ||GND || || | ||
+ | |- | ||
+ | |CON2-P07 ||GPIOX_5 ||PWM_C ||WIFI_SD_CMD | ||
+ | |- | ||
+ | |CON2-P08 ||GPIOX_12 ||UART_EE_A_TX || | ||
+ | |- | ||
+ | |CON2-P09 ||GND || || | ||
+ | |- | ||
+ | |CON2-P10 ||GPIOX_13 ||UART_EE_A_RX || | ||
+ | |- | ||
+ | |CON2-P11 ||GPIOX_3 || ||WIFI_SD_D3 | ||
+ | |- | ||
+ | |CON2-P12 ||GPIOA_1 || ||I2SB_SCLK | ||
+ | |- | ||
+ | |CON2-P13 ||GPIOX_4 || ||WIFI_SD_CLK | ||
+ | |- | ||
+ | |CON2-P14 ||GND || || | ||
+ | |- | ||
+ | |CON2-P15 ||GPIOX_7 || || WIFI_WAKE_HOST | ||
+ | |- | ||
+ | |CON2-P16 ||GPIOX_0 || ||WIFI_SD_D0 | ||
+ | |- | ||
+ | |CON2-P17 ||VCC-3V3 || || | ||
+ | |- | ||
+ | |CON2-P18 ||GPIOX_1 || ||WIFI_SD_D1 | ||
+ | |- | ||
+ | |CON2-P19 ||GPIOX_8 ||SPI_A_MOSI ||BTPCM_DIN | ||
+ | |- | ||
+ | |CON2-P20 ||GND || || | ||
+ | |- | ||
+ | |CON2-P21 ||GPIOX_9 ||SPI_A_MISO ||BTPCM_DOUT | ||
+ | |- | ||
+ | |CON2-P22 ||GPIOX_2 || ||WIFI_SD_D2 | ||
+ | |- | ||
+ | |CON2-P23 ||GPIOX_11 ||SPI_A_CLK ||BTPCM_CLK | ||
+ | |- | ||
+ | |CON2-P24 ||GPIOX_10 ||SPI_A_CS ||BTPCM_SYNC | ||
+ | |- | ||
+ | |CON2-P25 ||GND || || | ||
+ | |- | ||
+ | |CON2-P26 ||GPIOX_16 || ||BT_32K | ||
+ | |- | ||
+ | |CON2-P27 ||GPIOH_5 || || | ||
+ | |- | ||
+ | |CON2-P28 ||GPIOH_4 || || | ||
+ | |- | ||
+ | |CON2-P29 ||GPIOX_14 || ||BTUART_A_CTS_N | ||
+ | |- | ||
+ | |CON2-P30 ||GND || || | ||
+ | |- | ||
+ | |CON2-P31 ||GPIOX_15 || ||BTUART_A_RTS_N | ||
+ | |- | ||
+ | |CON2-P32 ||GPIOX_19 || ||HOST_WAKE_BT | ||
+ | |- | ||
+ | |CON2-P33 ||GPIOX_6 || ||WIFI_PWREN | ||
+ | |- | ||
+ | |CON2-P34 ||GND || || | ||
+ | |- | ||
+ | |CON2-P35 ||GPIOA_2 || ||I2SB_LRCLK | ||
+ | |- | ||
+ | |CON2-P36 ||GPIOAO_5 || ||IR_IN | ||
+ | |- | ||
+ | |CON2-P37 ||GPIOA_0 || ||I2S_MCLK_0 | ||
+ | |- | ||
+ | |CON2-P38 ||GPIOA_4 || ||I2SB_DOUT_DIN_1 | ||
+ | |- | ||
+ | |CON2-P39 ||GND || || | ||
+ | |- | ||
+ | |CON2-P40 ||GPIOA_3 || ||I2SB_DOUT_DIN_0 | ||
+ | |} | ||
+ | |||
+ | ===BPI-M2S Debug UART(CON1)=== | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | |CON2-P1 || GND | ||
+ | |- | ||
+ | |CON2-P2 ||UART0-RX | ||
+ | |- | ||
+ | |CON2-P3 ||UART0-TX | ||
+ | |} | ||
+ | |||
+ | ===BPI-M2S Camera(CN10)=== | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | |CSI Pin Name ||Default Function ||Function2:GPIO | ||
+ | |- | ||
+ | |CN10-P01 ||GND || | ||
+ | |- | ||
+ | |CN10-P02 ||MIPI_CSI_D3N || | ||
+ | |- | ||
+ | |CN10-P03 ||MIPI_CSI_D3P || | ||
+ | |- | ||
+ | |CN10-P04 ||GND || | ||
+ | |- | ||
+ | |CN10-P05 ||MIPI_CSI_D2N || | ||
+ | |- | ||
+ | |CN10-P06 ||MIPI_CSI_D2P || | ||
+ | |- | ||
+ | |CN10-P07 ||GND || | ||
+ | |- | ||
+ | |CN10-P08 ||MIPI_CSI_CLKBN|| | ||
+ | |- | ||
+ | |CN10-P09 ||MIPI_CSI_CLKBP|| | ||
+ | |- | ||
+ | |CN10-P10 ||GND || | ||
+ | |- | ||
+ | |CN10-P11 ||MIPI_CSI_D1N || | ||
+ | |- | ||
+ | |CN10-P12 ||MIPI_CSI_D1P || | ||
+ | |- | ||
+ | |CN10-P13 ||GND || | ||
+ | |- | ||
+ | |CN10-P14 ||MIPI_CSI_D0N || | ||
+ | |- | ||
+ | |CN10-P15 ||MIPI_CSI_D0P || | ||
+ | |- | ||
+ | |CN10-P16 ||GND || | ||
+ | |- | ||
+ | |CN10-P17 ||MIPI_CSI_CLKAN|| | ||
+ | |- | ||
+ | |CN10-P18 ||MIPI_CSI_CLKAP|| | ||
+ | |- | ||
+ | |CN10-P19 ||NC || | ||
+ | |- | ||
+ | |CN10-P20 ||CAM0_MCLK|| | ||
+ | |- | ||
+ | |CN10-P21 ||CAM0_IRCUT|| | ||
+ | |- | ||
+ | |CN10-P22 ||CAM0_SCL|| | ||
+ | |- | ||
+ | |CN10-P23 ||CAM0_SDA || | ||
+ | |- | ||
+ | |CN10-P24 ||CAM0_RESET || | ||
+ | |- | ||
+ | |CN10-P25 ||VCC1V8_DOVDD || | ||
+ | |- | ||
+ | |CN10-P26 ||GND || | ||
+ | |- | ||
+ | |CN10-P27 ||GND || | ||
+ | |- | ||
+ | |CN10-P28 ||VCC33 || | ||
+ | |- | ||
+ | |CN10-P29 ||VCC33 || | ||
+ | |- | ||
+ | |CN10-P30 ||VCC33 || | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ===BPI-M2S LCD(CN9)=== | ||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | |DSI Pin Name ||Default Function|| Function2:GPIO | ||
+ | |- | ||
+ | |CN9-P01 ||MIPI_D0_N || | ||
+ | |- | ||
+ | |CN9-P02 ||MIPI_D0_P || | ||
+ | |- | ||
+ | |CN9-P03 ||MIPI_D1_N || | ||
+ | |- | ||
+ | |CN9-P04 ||MIPI_D1_P || | ||
+ | |- | ||
+ | |CN9-P05 ||MIPI_CLK_N || | ||
+ | |- | ||
+ | |CN9-P06 ||MIPI_CLK_P || | ||
+ | |- | ||
+ | |CN9-P07 ||MIPI_D2_N || | ||
+ | |- | ||
+ | |CN9-P08 ||MIPI_D2_P || | ||
+ | |- | ||
+ | |CN9-P09 ||MIPI_D3_N || | ||
+ | |- | ||
+ | |CN9-P10 ||MIPI_D3_P || | ||
+ | |- | ||
+ | |CN9-P11 ||TP_INT_3V3 || | ||
+ | |- | ||
+ | |CN9-P12 ||TP_RST_3V3 || | ||
+ | |- | ||
+ | |CN9-P13 ||I2C_M3_SCL_3V3|| | ||
+ | |- | ||
+ | |CN9-P14 ||I2C_M3_SDA_3V3|| | ||
+ | |- | ||
+ | |CN9-P15 ||LCD_BL_EN_3V3 || | ||
+ | |- | ||
+ | |CN9-P16 ||LCD_PWM_3V3|| | ||
+ | |- | ||
+ | |CN9-P17 ||GND || | ||
+ | |- | ||
+ | |CN9-P18 ||GND || | ||
+ | |- | ||
+ | |CN9-P19 ||VLCD_5V || | ||
+ | |- | ||
+ | |CN9-P20 ||VLCD_5V || | ||
+ | |- | ||
+ | |} | ||
=Development= | =Development= | ||
==Source code== | ==Source code== | ||
+ | * '''Linux BSP source code :''' https://github.com/BPI-SINOVOIP/BPI-M2S-bsp | ||
+ | * '''Android 9:''' https://github.com/BPI-SINOVOIP/BPI-A311D-Android9 | ||
+ | * '''BPI-M2S/CM4 Android9 Source Code''' | ||
+ | :Baidu Cloud: https://pan.baidu.com/s/1rANGEB-1MLPCBXqOR5aYCg?pwd=8888 (pincode: 8888) | ||
+ | :Google Drive: https://drive.google.com/drive/folders/1INIABp_MbB5UcwfqujTngGLOZN7YGuWp?usp=share_link | ||
+ | == Resources== | ||
+ | *Banana PI BPI-M2S Amlogic A311D / S922X : https://www.youtube.com/watch?v=9eFXiOtzFl0 | ||
+ | *BPI-M2S DXF file | ||
+ | :Baidu Cloud: https://pan.baidu.com/s/1eKLdicH0v_XBkUyX9aVRhw?pwd=ikme (pincode: ikme) | ||
+ | :Google Drive:https://drive.google.com/file/d/1kZjWV91WUNK7rNJQw5HNUNMf5Lob2qsi/view?usp=share_link | ||
− | == | + | *BPI-M2S Schematic diagram |
+ | :Baidu Cloud: https://pan.baidu.com/s/1i6VMpHsCEL6Nwxu282epLA?pwd=8888 (pincode:8888) | ||
+ | :Google Drive: https://drive.google.com/file/d/176LPTjQgcXXNNibSbRRXKqTYxZHQqLDu/view?usp=sharing | ||
+ | |||
+ | *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] | ||
+ | *All banana pi [https://drive.google.com/drive/folders/0B4PAo2nW2Kfndjh6SW9MS2xKSWs?resourcekey=0-qXGFXKmd7AVy0S81OXM1RA&usp=sharing docement(SCH file,DXF file,and doc)] | ||
*Amlogic A311D datasheet: https://drive.google.com/file/d/1SRAY_RDxKhw819uyo9H13zNN2wlG6LDq/view?usp=sharing | *Amlogic A311D datasheet: https://drive.google.com/file/d/1SRAY_RDxKhw819uyo9H13zNN2wlG6LDq/view?usp=sharing | ||
=System image= | =System image= | ||
+ | |||
+ | ==Android== | ||
+ | :[https://wiki.banana-pi.org/Getting_Started_with_M2S#Android How to flash Android Image] | ||
+ | |||
+ | *2023-01-12-bpi-m2s-cm4-android9.img | ||
+ | :Baidu Cloud: https://pan.baidu.com/s/1YVl0T9rSNqM3D0I1BRUr7A?pwd=8888 (pincode): 8888 | ||
+ | :Google Drive:https://drive.google.com/drive/folders/1u8flA6zsMOLnr75U4rvbph02z8YUKe2Y?usp=share_link | ||
+ | |||
+ | ==Linux== | ||
+ | :[https://wiki.banana-pi.org/Getting_Started_with_M2S#Linux How to flash Linux Image] | ||
+ | |||
+ | ===Ubuntu=== | ||
+ | *2022-06-20-ubuntu-20.04-mate-desktop-bpi-m2s-aarch64-sd-emmc.img.zip | ||
+ | ::Baidu Cloud: https://pan.baidu.com/s/1kRukI-H-xliNqIqVacXWRw?pwd=8888 (pincode:8888) | ||
+ | ::Google drive: https://drive.google.com/file/d/1P2YQUwdrREdiwidr8YtCvOdMmwLPerVu/view?usp=share_link | ||
+ | ::MD5:2945f225eadba1b350cd49f47817c0cd | ||
+ | |||
+ | * 2022-06-20-ubuntu-20.04-server-bpi-m2s-aarch64-sd-emmc.img.zip | ||
+ | ::Baidu Cloud:https://pan.baidu.com/s/1UoYR0k9YH9SE_A-MpqZ2fg?pwd=8888 (pincode: 8888) | ||
+ | ::Google Drive:https://drive.google.com/file/d/1y0DUVDhLyhw_C7p6SD2q1EjOZLEV_c_w/view?usp=share_link | ||
+ | ::MD5:9b17a00cbc17c46e414a906e659e7ca2 | ||
+ | |||
+ | ===Debian=== | ||
+ | *:2022-06-20-debian-10-buster-bpi-m2s-aarch64-sd-emmc.img.zip | ||
+ | ::Baidu Cloud: https://pan.baidu.com/s/1TTsdyy5I7HLWS_Tptg7r2w?pwd=8888 (pincode: 8888) | ||
+ | ::Google Drive:https://drive.google.com/file/d/116ZydpggYpZ1WoSyVsc4QuchdIa3vGyI/view?usp=share_link | ||
+ | ::MD5:9d39558ad37e5da47d7d144c8afec45e | ||
+ | |||
+ | ==Third part image== | ||
+ | ===Armbian=== | ||
+ | *Armbian official support for BPI-M2S: | ||
+ | ::https://www.armbian.com/bananapi-m2s/ | ||
+ | |||
+ | |||
+ | '''Armbian Image release on 2023-01-06''' | ||
+ | |||
+ | *:Armbian_23.02.0-trunk_Bananapim2s_bullseye_current_6.0.14_minimal.img.xz | ||
+ | ::Baidu Cloud:https://pan.baidu.com/s/1iEO_GcFa6Gy-cC0pnT4H3A?pwd=8888 (pincode: 8888) | ||
+ | ::Google Drive:https://drive.google.com/drive/folders/1TDXuFliLZr4BY7NO5m_ijL4FxjsZNY8a?usp=share_link | ||
+ | ::Discuss on the forum:https://forum.banana-pi.org/t/banana-pi-bpi-m2s-new-image-release-armbian-bullseye-current-minimal/14635 | ||
+ | |||
+ | |||
+ | *:Armbian_23.02.0-trunk_Bananapim2s_jammy_current_6.0.14_cinnamon_desktop.img.xz | ||
+ | ::Baidu Cloud:https://pan.baidu.com/s/1aqvVJXy1MqSVUHL-DD5Rpw?pwd=8888 (pincode: 8888) | ||
+ | ::Googel Drive:https://drive.google.com/drive/folders/1MPxwSg38uu0hVllUgqqmxKGsEMpfm-lM?usp=share_link | ||
+ | ::Discuss on the forum:https://forum.banana-pi.org/t/banana-pi-bpi-m2s-new-image-release-armbian-jammy-current-cinnamon-desktop/14642 | ||
+ | |||
+ | |||
+ | *:Armbian_23.02.0-trunk_Bananapim2s_bullseye_current_6.0.14.img.xz | ||
+ | ::Baidu Cloud:https://pan.baidu.com/s/1j0GVw3-ULFnWUFhwxr7muQ?pwd=8888 (pincode: 8888) | ||
+ | ::Google Drive:https://drive.google.com/drive/folders/1Psku14DtTONHJD-73G58sD7CEoWfk4tT?usp=share_link | ||
+ | ::Discuss on the forum:https://forum.banana-pi.org/t/banana-pi-bpi-m2s-new-image-release-armbian-bullseye-current/14634 | ||
+ | |||
+ | |||
+ | *:Armbian_23.02.0-trunk_Bananapim2s_jammy_current_6.0.14_minimal.img.xz | ||
+ | ::Baidu Cloud:https://pan.baidu.com/s/1MevqHbBTX8S-fsXuy9SahA?pwd=8888 (pincode: 8888) | ||
+ | ::Google Drive:https://drive.google.com/drive/folders/1Psku14DtTONHJD-73G58sD7CEoWfk4tT?usp=share_link | ||
+ | ::Discuss on the forum:https://forum.banana-pi.org/t/banana-pi-bpi-m2s-new-image-release-armbian-jammy-current-minimal/14639 | ||
+ | |||
+ | |||
+ | *:Armbian_23.02.0-trunk_Bananapim2s_bullseye_current_6.0.14_xfce_desktop.img.xz | ||
+ | ::Baidu Cloud:https://pan.baidu.com/s/1ZcsXrj1lmYu6-ol6F0r-yA?pwd=8888 | ||
+ | ::Google Drive:https://drive.google.com/drive/folders/1ugybAUZ4W2ov2Xy0yMsc9aTrGIBXVomI?usp=share_link | ||
+ | ::Discuss on the forum:https://forum.banana-pi.org/t/banana-pi-bpi-m2s-new-image-release-armbian-bullseye-current-desktop/14636 | ||
+ | |||
+ | |||
+ | *:Armbian_23.02.0-trunk_Bananapim2s_jammy_current_6.0.14_gnome_desktop.img.xz | ||
+ | ::Baidu Cloud:https://pan.baidu.com/s/107kO-hGlyWMJFD9vpvKA-g?pwd=8888 (pincode: 8888) | ||
+ | ::Google Drive:https://drive.google.com/drive/folders/19mLva4UQgON8exl5xuF2T9HD-Wy2eH94?usp=share_link | ||
+ | ::Discuss on the forum:https://forum.banana-pi.org/t/banana-pi-bpi-m2s-new-image-release-jammy-current-gnome-desktop/14640 | ||
+ | |||
+ | |||
+ | *:2023-01-6 Armbian_23.02.0-trunk_Bananapim2s_jammy_current_6.0.14.img.xz | ||
+ | ::Baidu Cloud:https://pan.baidu.com/s/1xPL6t4sbJjv3DzwPddZ2GQ?pwd=8888 | ||
+ | ::Google Drive:https://drive.google.com/drive/folders/1vCpzC7sM42amOHqGcSjaZF6YovGg-xk3?usp=share_link | ||
+ | ::Discuss on the forum:https://forum.banana-pi.org/t/banana-pi-bpi-m2s-new-image-release-armbian-jammy-current/14637 | ||
+ | |||
+ | =Easy to buy sample= | ||
+ | *Sinovoip Aliexpress shop: https://www.aliexpress.com/store/group/BPI-M2S/1100417230_40000003430398.html? | ||
+ | *Bipai Aliexpress shop : https://www.aliexpress.us/item/3256804873308120.html | ||
+ | *Taobao shop : https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-5702805387.9.2c3c159aK33lv9&id=695345271372 |
Revision as of 20:20, 26 September 2023
Contents
BPI-M2S Introduction
![](/images/thumb/6/6e/Banana_Pi_BPI-M2S_1.jpg/300x225x300px-Banana_Pi_BPI-M2S_1.jpg.pagespeed.ic.09oBHwAysc.jpg)
Banana Pi BPI-M2S Amlogic A311D chip
![](/images/thumb/4/41/Banana_Pi_BPI-M2S_S922_1.jpg/300x225x300px-Banana_Pi_BPI-M2S_S922_1.jpg.pagespeed.ic.IcJz-Fy_Vj.jpg)
Banana Pi BPI-M2S Amlogic S922x chip
![](/images/thumb/3/31/Banana_Pi_BPI-CM4_1.jpg/300x300x300px-Banana_Pi_BPI-CM4_1.jpg.pagespeed.ic.vegDz3DSjR.jpg)
BPI-CM4 Computer module and development Kit with A311D design
![](/images/thumb/f/fb/Banana_Pi_BPI-M2S_with_poe.jpg/300x219x300px-Banana_Pi_BPI-M2S_with_poe.jpg.pagespeed.ic.IRnW0aHEpT.jpg)
BPI-M2S with BPI-9600 IEEE 802.3af PoE module
![](/images/thumb/a/a9/BPI-M2_Pro_2.jpg/300x225x300px-BPI-M2_Pro_2.jpg.pagespeed.ic.QwYAEL6-Jj.jpg)
Banana Pi BPI-M2 Pro S905x3 design
![](/images/thumb/4/4f/Banana_Pi_BPI-M5_4.JPG/300x225x300px-Banana_Pi_BPI-M5_4.JPG.pagespeed.ic.5eDUNHGM8e.jpg)
Banana Pi BPI-M5 Amlogic S905x3 design
BananaPi BPI-M2S new design with Amlogic A311D, Quad core ARM Cortex-A73 and dual core ARM Cortex-A53 CPU,ARM G52 MP4(6EE) GPU,NPU for AI at 5.0 TOPS, support Camera and MIPI-CSI interface ,HDMI output,2 Gigabit port, 4G RAM and 16 GB eMMC flash.
Amlogic S922X variant M2S board is 2G ram, 16G eMMC, NOT support npu, mipi panel and mipi camera.
BPI-M2S same size as Banana Pi BPI-M2+ and Banana Pi BPI-M2 Pro
Introduction Video
Key Features
- Amlogic A311D Quad core ARM Cortex-A73 and dual core ARM Cortex-A53 CPU ,ARM G52 MP4(6EE) GPU
- NPU for AI :Next generation, deep-neural-network applications, at 5.0 TOPS
- 4GB LPDDR4 RAM
- 16GB eMMC flash (Max 128G)
- support MIPI-DSI Dispaly Serial interface
- support MIPI-CSI Camera Serial interface
- 2 Gigabit ethernet port
- HDMI output
- 40 PIN GPIO
- support Android and Linux system
Getting Start
Hardware
BPI-M2S(Amlogic A311D) Hardware interface
BPI-M2S(Amlogic S922X) Hardware interface
Banana Pi BPI-M2S SBC specifications
- SoC – Amlogic A311D hexa-core processor with 4x Arm Cortex-A73 cores, 2x Arm Cortex-A53 cores, Arm Mali-G52 MP4 (6EE) GPU with OpenGL ES 3.2, Vulkan 1.0 and OpenCL 2.0 support, 5 TOPS NPU
- System Memory – 4GB LPDDR4
- Storage – 16GB eMMC flash (option up to 128GB), MicroSD card slot
- Video interfaces
- HDMI 2.1 output up to 4Kp60
- MIPI DSI connector for display
- MIPI CSI connector for camera
- Networking – 2x Gigabit Ethernet ports one via RTL8211F GbE transceiver, the other through RTL8111H PCIe to Gigabit Ethernet transceiver
- USB – 1x USB 2.0 Type-A port, 1x USB Type-C port
- Expansion – 40-pin GPIO header
- Debugging – 3-pin header for serial console
- Misc – 3x buttons
- Power Supply – Via USB-C port or pin header
- Dimensions – 65 x 65mm
PoE Wifi&BT
BPI-M5 rtl8822cs WiFi&BT board,SDIO interface, 802.11 a/b/g/n/ac 2T2R WiFi and Bluectooch 5.0
- discuss on forum : https://forum.banana-pi.org/t/bpi-m5-rtl8822cs-wifi-bt-board-sdio-interface-802-11-a-b-g-n-ac-2t2r-wifi-and-bluectooch-5-0/11846
PoE support RT9600-5V PoE module
BPI-9600 IEEE 802.3af PoE module
GPIO PIN define
BPI-M2S 40PIN GPIO (CON2)
GPIO Pin Name | Default :GPIO | Function2 | Function3 |
CON2-P01 | VCC-3V3 | ||
CON2-P02 | DCIN | ||
CON2-P03 | GPIOX_17 | I2C_EE_M2_SDA | BT_EN |
CON2-P04 | DCIN | ||
CON2-P05 | GPIOX_18 | I2C_EE_M2_SCL | BT_WAKE_HOST |
CON2-P06 | GND | ||
CON2-P07 | GPIOX_5 | PWM_C | WIFI_SD_CMD |
CON2-P08 | GPIOX_12 | UART_EE_A_TX | |
CON2-P09 | GND | ||
CON2-P10 | GPIOX_13 | UART_EE_A_RX | |
CON2-P11 | GPIOX_3 | WIFI_SD_D3 | |
CON2-P12 | GPIOA_1 | I2SB_SCLK | |
CON2-P13 | GPIOX_4 | WIFI_SD_CLK | |
CON2-P14 | GND | ||
CON2-P15 | GPIOX_7 | WIFI_WAKE_HOST | |
CON2-P16 | GPIOX_0 | WIFI_SD_D0 | |
CON2-P17 | VCC-3V3 | ||
CON2-P18 | GPIOX_1 | WIFI_SD_D1 | |
CON2-P19 | GPIOX_8 | SPI_A_MOSI | BTPCM_DIN |
CON2-P20 | GND | ||
CON2-P21 | GPIOX_9 | SPI_A_MISO | BTPCM_DOUT |
CON2-P22 | GPIOX_2 | WIFI_SD_D2 | |
CON2-P23 | GPIOX_11 | SPI_A_CLK | BTPCM_CLK |
CON2-P24 | GPIOX_10 | SPI_A_CS | BTPCM_SYNC |
CON2-P25 | GND | ||
CON2-P26 | GPIOX_16 | BT_32K | |
CON2-P27 | GPIOH_5 | ||
CON2-P28 | GPIOH_4 | ||
CON2-P29 | GPIOX_14 | BTUART_A_CTS_N | |
CON2-P30 | GND | ||
CON2-P31 | GPIOX_15 | BTUART_A_RTS_N | |
CON2-P32 | GPIOX_19 | HOST_WAKE_BT | |
CON2-P33 | GPIOX_6 | WIFI_PWREN | |
CON2-P34 | GND | ||
CON2-P35 | GPIOA_2 | I2SB_LRCLK | |
CON2-P36 | GPIOAO_5 | IR_IN | |
CON2-P37 | GPIOA_0 | I2S_MCLK_0 | |
CON2-P38 | GPIOA_4 | I2SB_DOUT_DIN_1 | |
CON2-P39 | GND | ||
CON2-P40 | GPIOA_3 | I2SB_DOUT_DIN_0 |
BPI-M2S Debug UART(CON1)
CON2-P1 | GND |
CON2-P2 | UART0-RX |
CON2-P3 | UART0-TX |
BPI-M2S Camera(CN10)
CSI Pin Name | Default Function | Function2:GPIO |
CN10-P01 | GND | |
CN10-P02 | MIPI_CSI_D3N | |
CN10-P03 | MIPI_CSI_D3P | |
CN10-P04 | GND | |
CN10-P05 | MIPI_CSI_D2N | |
CN10-P06 | MIPI_CSI_D2P | |
CN10-P07 | GND | |
CN10-P08 | MIPI_CSI_CLKBN | |
CN10-P09 | MIPI_CSI_CLKBP | |
CN10-P10 | GND | |
CN10-P11 | MIPI_CSI_D1N | |
CN10-P12 | MIPI_CSI_D1P | |
CN10-P13 | GND | |
CN10-P14 | MIPI_CSI_D0N | |
CN10-P15 | MIPI_CSI_D0P | |
CN10-P16 | GND | |
CN10-P17 | MIPI_CSI_CLKAN | |
CN10-P18 | MIPI_CSI_CLKAP | |
CN10-P19 | NC | |
CN10-P20 | CAM0_MCLK | |
CN10-P21 | CAM0_IRCUT | |
CN10-P22 | CAM0_SCL | |
CN10-P23 | CAM0_SDA | |
CN10-P24 | CAM0_RESET | |
CN10-P25 | VCC1V8_DOVDD | |
CN10-P26 | GND | |
CN10-P27 | GND | |
CN10-P28 | VCC33 | |
CN10-P29 | VCC33 | |
CN10-P30 | VCC33 |
BPI-M2S LCD(CN9)
DSI Pin Name | Default Function | Function2:GPIO |
CN9-P01 | MIPI_D0_N | |
CN9-P02 | MIPI_D0_P | |
CN9-P03 | MIPI_D1_N | |
CN9-P04 | MIPI_D1_P | |
CN9-P05 | MIPI_CLK_N | |
CN9-P06 | MIPI_CLK_P | |
CN9-P07 | MIPI_D2_N | |
CN9-P08 | MIPI_D2_P | |
CN9-P09 | MIPI_D3_N | |
CN9-P10 | MIPI_D3_P | |
CN9-P11 | TP_INT_3V3 | |
CN9-P12 | TP_RST_3V3 | |
CN9-P13 | I2C_M3_SCL_3V3 | |
CN9-P14 | I2C_M3_SDA_3V3 | |
CN9-P15 | LCD_BL_EN_3V3 | |
CN9-P16 | LCD_PWM_3V3 | |
CN9-P17 | GND | |
CN9-P18 | GND | |
CN9-P19 | VLCD_5V | |
CN9-P20 | VLCD_5V |
Development
Source code
- Linux BSP source code : https://github.com/BPI-SINOVOIP/BPI-M2S-bsp
- Android 9: https://github.com/BPI-SINOVOIP/BPI-A311D-Android9
- BPI-M2S/CM4 Android9 Source Code
- Baidu Cloud: https://pan.baidu.com/s/1rANGEB-1MLPCBXqOR5aYCg?pwd=8888 (pincode: 8888)
- Google Drive: https://drive.google.com/drive/folders/1INIABp_MbB5UcwfqujTngGLOZN7YGuWp?usp=share_link
Resources
- Banana PI BPI-M2S Amlogic A311D / S922X : https://www.youtube.com/watch?v=9eFXiOtzFl0
- BPI-M2S DXF file
- Baidu Cloud: https://pan.baidu.com/s/1eKLdicH0v_XBkUyX9aVRhw?pwd=ikme (pincode: ikme)
- Google Drive:https://drive.google.com/file/d/1kZjWV91WUNK7rNJQw5HNUNMf5Lob2qsi/view?usp=share_link
- BPI-M2S Schematic diagram
- Baidu Cloud: https://pan.baidu.com/s/1i6VMpHsCEL6Nwxu282epLA?pwd=8888 (pincode:8888)
- Google Drive: https://drive.google.com/file/d/176LPTjQgcXXNNibSbRRXKqTYxZHQqLDu/view?usp=sharing
- 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 new link bpi-image Files
- All banana pi docement(SCH file,DXF file,and doc)
- Amlogic A311D datasheet: https://drive.google.com/file/d/1SRAY_RDxKhw819uyo9H13zNN2wlG6LDq/view?usp=sharing
System image
Android
- 2023-01-12-bpi-m2s-cm4-android9.img
- Baidu Cloud: https://pan.baidu.com/s/1YVl0T9rSNqM3D0I1BRUr7A?pwd=8888 (pincode): 8888
- Google Drive:https://drive.google.com/drive/folders/1u8flA6zsMOLnr75U4rvbph02z8YUKe2Y?usp=share_link
Linux
Ubuntu
- 2022-06-20-ubuntu-20.04-mate-desktop-bpi-m2s-aarch64-sd-emmc.img.zip
- Baidu Cloud: https://pan.baidu.com/s/1kRukI-H-xliNqIqVacXWRw?pwd=8888 (pincode:8888)
- Google drive: https://drive.google.com/file/d/1P2YQUwdrREdiwidr8YtCvOdMmwLPerVu/view?usp=share_link
- MD5:2945f225eadba1b350cd49f47817c0cd
- 2022-06-20-ubuntu-20.04-server-bpi-m2s-aarch64-sd-emmc.img.zip
- Baidu Cloud:https://pan.baidu.com/s/1UoYR0k9YH9SE_A-MpqZ2fg?pwd=8888 (pincode: 8888)
- Google Drive:https://drive.google.com/file/d/1y0DUVDhLyhw_C7p6SD2q1EjOZLEV_c_w/view?usp=share_link
- MD5:9b17a00cbc17c46e414a906e659e7ca2
Debian
- 2022-06-20-debian-10-buster-bpi-m2s-aarch64-sd-emmc.img.zip
- Baidu Cloud: https://pan.baidu.com/s/1TTsdyy5I7HLWS_Tptg7r2w?pwd=8888 (pincode: 8888)
- Google Drive:https://drive.google.com/file/d/116ZydpggYpZ1WoSyVsc4QuchdIa3vGyI/view?usp=share_link
- MD5:9d39558ad37e5da47d7d144c8afec45e
Third part image
Armbian
- Armbian official support for BPI-M2S:
Armbian Image release on 2023-01-06
- Armbian_23.02.0-trunk_Bananapim2s_bullseye_current_6.0.14_minimal.img.xz
- Baidu Cloud:https://pan.baidu.com/s/1iEO_GcFa6Gy-cC0pnT4H3A?pwd=8888 (pincode: 8888)
- Google Drive:https://drive.google.com/drive/folders/1TDXuFliLZr4BY7NO5m_ijL4FxjsZNY8a?usp=share_link
- Discuss on the forum:https://forum.banana-pi.org/t/banana-pi-bpi-m2s-new-image-release-armbian-bullseye-current-minimal/14635
- Armbian_23.02.0-trunk_Bananapim2s_jammy_current_6.0.14_cinnamon_desktop.img.xz
- Baidu Cloud:https://pan.baidu.com/s/1aqvVJXy1MqSVUHL-DD5Rpw?pwd=8888 (pincode: 8888)
- Googel Drive:https://drive.google.com/drive/folders/1MPxwSg38uu0hVllUgqqmxKGsEMpfm-lM?usp=share_link
- Discuss on the forum:https://forum.banana-pi.org/t/banana-pi-bpi-m2s-new-image-release-armbian-jammy-current-cinnamon-desktop/14642
- Armbian_23.02.0-trunk_Bananapim2s_bullseye_current_6.0.14.img.xz
- Baidu Cloud:https://pan.baidu.com/s/1j0GVw3-ULFnWUFhwxr7muQ?pwd=8888 (pincode: 8888)
- Google Drive:https://drive.google.com/drive/folders/1Psku14DtTONHJD-73G58sD7CEoWfk4tT?usp=share_link
- Discuss on the forum:https://forum.banana-pi.org/t/banana-pi-bpi-m2s-new-image-release-armbian-bullseye-current/14634
- Armbian_23.02.0-trunk_Bananapim2s_jammy_current_6.0.14_minimal.img.xz
- Baidu Cloud:https://pan.baidu.com/s/1MevqHbBTX8S-fsXuy9SahA?pwd=8888 (pincode: 8888)
- Google Drive:https://drive.google.com/drive/folders/1Psku14DtTONHJD-73G58sD7CEoWfk4tT?usp=share_link
- Discuss on the forum:https://forum.banana-pi.org/t/banana-pi-bpi-m2s-new-image-release-armbian-jammy-current-minimal/14639
- Armbian_23.02.0-trunk_Bananapim2s_bullseye_current_6.0.14_xfce_desktop.img.xz
- Armbian_23.02.0-trunk_Bananapim2s_jammy_current_6.0.14_gnome_desktop.img.xz
- Baidu Cloud:https://pan.baidu.com/s/107kO-hGlyWMJFD9vpvKA-g?pwd=8888 (pincode: 8888)
- Google Drive:https://drive.google.com/drive/folders/19mLva4UQgON8exl5xuF2T9HD-Wy2eH94?usp=share_link
- Discuss on the forum:https://forum.banana-pi.org/t/banana-pi-bpi-m2s-new-image-release-jammy-current-gnome-desktop/14640
- 2023-01-6 Armbian_23.02.0-trunk_Bananapim2s_jammy_current_6.0.14.img.xz
Easy to buy sample
- Sinovoip Aliexpress shop: https://www.aliexpress.com/store/group/BPI-M2S/1100417230_40000003430398.html?
- Bipai Aliexpress shop : https://www.aliexpress.us/item/3256804873308120.html
- Taobao shop : https://item.taobao.com/item.htm?spm=a1z10.3-c.w4002-5702805387.9.2c3c159aK33lv9&id=695345271372