Difference between revisions of "Template:RK3399-Android7"
(updated by API) |
(updated by API) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
FriendlyElec provides a full Android7.1 BSP for RK3399 board. The source code is hosted at gitlab.com and is open source. The BSP supports GPU and VPU hardware acceleration. | FriendlyElec provides a full Android7.1 BSP for RK3399 board. The source code is hosted at gitlab.com and is open source. The BSP supports GPU and VPU hardware acceleration. | ||
− | ===Connect MIPI Camera to | + | ===Connect MIPI Camera to {{{1}}}=== |
− | FriendlyElec developed a MIPI camera CAM1320 for board and it works under Android. You can use this camera to take pictures and record video. The operation is straightforward. You just need to connect the camera at your board's MIPI interface, boot your | + | FriendlyElec developed a MIPI camera CAM1320 for board and it works under Android. You can use this camera to take pictures and record video. The operation is straightforward. You just need to connect the camera at your board's MIPI interface, boot your board to Android and start Android's camera app.<br /> |
− | + | {{#switch: {{{1}}} | |
− | The board has two MIPI interfaces: one front camera and the other rear camera | + | | NanoPC-T4 = |
− | : | + | The board has two MIPI interfaces: one front camera and the other rear camera:<br /> |
− | |- | + | '''MIPI-CSI1''' <--> '''Android rear camera'''<br /> |
− | + | '''MIPI-CSI2''' <--> '''Android front camera'''<br /><br /> | |
− | + | How to connect:<br /> | |
− | + | [[File:T4-mipi-dual-camera.jpg|frameless|600px]]<br> | |
− | + | | NanoPi-M4 = | |
− | |MIPI-CSI2 | + | The board has two MIPI interfaces: one front camera and the other rear camera:<br /> |
− | | | + | '''MIPI-CSI1''' <--> '''Android rear camera'''<br /> |
− | + | '''MIPI-CSI2''' <--> '''Android front camera'''<br /><br /> | |
− | + | How to connect:<br /> | |
− | + | [[File:M4-mipi-dual-camera.jpg|frameless|600px]]<br> | |
− | + | | NanoPi-M4V2 = | |
− | [[File: | + | The board has two MIPI interfaces: one front camera and the other rear camera:<br /> |
− | + | '''MIPI-CSI1''' <--> '''Android rear camera'''<br /> | |
− | <br /> | + | '''MIPI-CSI2''' <--> '''Android front camera'''<br /><br /> |
− | + | How to connect:<br /> | |
− | <br /> | + | [[File:M4-mipi-dual-camera.jpg|frameless|600px]]<br> |
+ | | NanoPi-M4B = | ||
+ | The board has two MIPI interfaces: one front camera and the other rear camera:<br /> | ||
+ | '''MIPI-CSI1''' <--> '''Android rear camera'''<br /> | ||
+ | '''MIPI-CSI2''' <--> '''Android front camera'''<br /><br /> | ||
+ | How to connect:<br /> | ||
+ | [[File:M4-mipi-dual-camera.jpg|frameless|600px]]<br> | ||
+ | | NanoPi-NEO4 = | ||
+ | The board has one MIPI interfaces:<br /> | ||
+ | '''MIPI-CSI1''' <--> '''Android rear camera'''<br /><br /> | ||
+ | How to connect:<br /> | ||
+ | [[File:Neo4-mipi-single-camera.jpg|frameless|600px]]<br> | ||
+ | | #default = | ||
+ | }} | ||
<!--- | <!--- | ||
Line 50: | Line 63: | ||
===Android7 hardware access=== | ===Android7 hardware access=== | ||
You can use the FriendlyThings SDK to access and control hardware resources on the motherboard in the Android App, such as Uart, SPI, I2C, GPIO and other interfaces. For details, please refer to the following two documents.: | You can use the FriendlyThings SDK to access and control hardware resources on the motherboard in the Android App, such as Uart, SPI, I2C, GPIO and other interfaces. For details, please refer to the following two documents.: | ||
− | *[[FriendlyThings for | + | *[[FriendlyThings for Rockchip|Android: FriendlyThings for Rockchip]] |
*[[FriendlyThings APIs|Android: FriendlyThings APIs]] | *[[FriendlyThings APIs|Android: FriendlyThings APIs]] |
Latest revision as of 02:46, 4 August 2023
Contents
1 Work with Android7.1
FriendlyElec provides a full Android7.1 BSP for RK3399 board. The source code is hosted at gitlab.com and is open source. The BSP supports GPU and VPU hardware acceleration.
1.1 Connect MIPI Camera to {{{1}}}
FriendlyElec developed a MIPI camera CAM1320 for board and it works under Android. You can use this camera to take pictures and record video. The operation is straightforward. You just need to connect the camera at your board's MIPI interface, boot your board to Android and start Android's camera app.
1.2 Set HDMI Display
If your board is connected to an HDMI monitor and it runs Android you can go to "Settings -> Display -> HDMI" to make your setting.
HDMI Resolution By default it is "Auto". You can set its resolution up to 4K Screen Zoom There will be four arrows you can click on to zoom in/out HDMI Rotation Set it landscape or portrait.
1.3 Rotate Display
Enter Android's Settings -> Display -> HDMI -> HDMI Rotation. It supports both landscape and portrait.
1.4 Android7 hardware access
You can use the FriendlyThings SDK to access and control hardware resources on the motherboard in the Android App, such as Uart, SPI, I2C, GPIO and other interfaces. For details, please refer to the following two documents.: