Difference between revisions of "RockpiN10/Fedora"
(Created page with "{{rockpiN10_header}} {{Languages|rockpiN10/Fedora}} ROCK Pi N10 > Fedora __TOC__ === Changelogs === ==== 2020.01.11 ==== ''...") |
|||
Line 8: | Line 8: | ||
+ | == Work with ROCK Pi N10 Fedora == | ||
+ | |||
+ | |||
+ | === Introduction to ROCK Pi N10 Fedora === | ||
+ | |||
+ | === RPM Packages Mangement === | ||
+ | |||
+ | 1. Add Rockchip Official Source: | ||
+ | |||
+ | sudo dnf localinstall --nogpgcheck http://repo.rock-chips.com/fedora/rockchip-repo-1.0-4.fc28.aarch64.rpm | ||
+ | |||
+ | 2. Install Packages: | ||
+ | |||
+ | example-devel-1.0.1-2.fc28.aarch64.rpm | ||
+ | sudo dnf install example-devel | ||
+ | |||
+ | 3. Uninstall Packages: | ||
+ | |||
+ | example-devel-1.0.1-2.fc28.aarch64.rpm | ||
+ | sudo dnf remove example-devel | ||
+ | |||
+ | 4. Upgrade Packages: | ||
+ | |||
+ | sudo dnf clean all | ||
+ | sudo dnf update | ||
+ | |||
+ | === Rockchip VPU/ISP/NPU Package === | ||
+ | |||
+ | ==== ISP ==== | ||
+ | |||
+ | 1、Install ISP Lib: | ||
+ | |||
+ | sudo dnf install librockchip_isp | ||
+ | |||
+ | 2、Compiling And linking: | ||
+ | |||
+ | LDDFLAGS: = -lcam_engine_cifisp -lcam_ia | ||
+ | |||
+ | 3、Include Header Files: | ||
+ | |||
+ | #include <rockchip/rockchip_isp.h> | ||
+ | |||
+ | ==== MPP ==== | ||
+ | MPP Install And Compile | ||
+ | |||
+ | 1、Install MPP Lib: | ||
+ | |||
+ | sudo dnf install librockchip_mpp-devel | ||
+ | |||
+ | 2、Compiling And linking: | ||
+ | |||
+ | LDDFLAGS: = -lrockchip_mpp | ||
+ | |||
+ | 3、Include Header Files: | ||
+ | |||
+ | #include <rockchip/rockchip_mpp.h> | ||
+ | |||
+ | ==== RGA ==== | ||
+ | |||
+ | RGA Install And Compile | ||
+ | |||
+ | 1、Install RGA Lib: | ||
+ | |||
+ | sudo dnf install librockchip_rga-devel | ||
+ | |||
+ | 2、Compiling And linking: | ||
+ | |||
+ | LDDFLAGS: = -lrockchip_rga -ldrm | ||
+ | |||
+ | 3、Include Header Files: | ||
+ | |||
+ | extern “c” {#include <rockchip/rockchip_rga.h>} | ||
=== Changelogs === | === Changelogs === |
Revision as of 10:07, 11 January 2020
ROCK Pi N10 > Fedora
Contents
Work with ROCK Pi N10 Fedora
Introduction to ROCK Pi N10 Fedora
RPM Packages Mangement
1. Add Rockchip Official Source:
sudo dnf localinstall --nogpgcheck http://repo.rock-chips.com/fedora/rockchip-repo-1.0-4.fc28.aarch64.rpm
2. Install Packages:
example-devel-1.0.1-2.fc28.aarch64.rpm sudo dnf install example-devel
3. Uninstall Packages:
example-devel-1.0.1-2.fc28.aarch64.rpm sudo dnf remove example-devel
4. Upgrade Packages:
sudo dnf clean all sudo dnf update
Rockchip VPU/ISP/NPU Package
ISP
1、Install ISP Lib:
sudo dnf install librockchip_isp
2、Compiling And linking:
LDDFLAGS: = -lcam_engine_cifisp -lcam_ia
3、Include Header Files:
#include <rockchip/rockchip_isp.h>
MPP
MPP Install And Compile
1、Install MPP Lib:
sudo dnf install librockchip_mpp-devel
2、Compiling And linking:
LDDFLAGS: = -lrockchip_mpp
3、Include Header Files:
#include <rockchip/rockchip_mpp.h>
RGA
RGA Install And Compile
1、Install RGA Lib:
sudo dnf install librockchip_rga-devel
2、Compiling And linking:
LDDFLAGS: = -lrockchip_rga -ldrm
3、Include Header Files:
extern “c” {#include <rockchip/rockchip_rga.h>}
Changelogs
2020.01.11
rockpin10_fedora_28_server_edition_arm64_20200111_1749-gpt.img
- U-boot version: 2017.09-2685-g26d3cbeb61
- Kernel version: 4.4.167-5-rockchip-g1e62a6825bfc
- System partitions: boot and rootfs
- Default serial console: UART2
- Default non-root user: toybrick (password: toybrick)
- Support SSH by default.
- Resize root filesystem to fit available disk space for the first boot