Difference between revisions of "RockpiN10/Fedora"
(Created page with "{{rockpiN10_header}} {{Languages|rockpiN10/Fedora}} ROCK Pi N10 > Fedora __TOC__ === Changelogs === ==== 2020.01.11 ==== ''...") |
(→Changelogs) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
__TOC__ | __TOC__ | ||
+ | == 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>} | ||
+ | |||
+ | === Storage device === | ||
+ | |||
+ | * uSD Card: /dev/mmcblk1 | ||
+ | * eMMC: /dev/mmcblk2 | ||
+ | * NVME M.2 SDD: /dev/nvme0n1 | ||
+ | |||
+ | === Boot device order === | ||
+ | |||
+ | SD Nand -> uSD Card | ||
=== Changelogs === | === Changelogs === | ||
+ | |||
+ | ==== 2020.02.29 ==== | ||
+ | |||
+ | '''rockpin10a_fedora_28_server_edition_arm64_20200229_1446-gpt.img / rockpin10bc_fedora_28_server_edition_arm64_20200229_1533-gpt.img''' | ||
+ | * U-boot version: 2017.09-00007-ge00fb1f | ||
+ | * Kernel version: 4.4.167 | ||
+ | * 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 | ||
+ | * Fix NPU issue: Init runtime environment failed | ||
+ | |||
+ | ==== 2020.01.14 ==== | ||
+ | |||
+ | '''rockpin10_fedora_28_server_edition_arm64_20200114_1533-gpt.img''' | ||
+ | * U-boot version: 2017.09-00007-ge00fb1f | ||
+ | * Kernel version: 4.4.167 | ||
+ | * 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 | ||
+ | * Fix NPU issue: Init runtime environment failed | ||
==== 2020.01.11 ==== | ==== 2020.01.11 ==== | ||
Line 16: | Line 119: | ||
'''rockpin10_fedora_28_server_edition_arm64_20200111_1749-gpt.img''' | '''rockpin10_fedora_28_server_edition_arm64_20200111_1749-gpt.img''' | ||
− | * U-boot version: 2017.09- | + | * U-boot version: 2017.09-00007-ge00fb1f |
− | * Kernel version: 4.4.167 | + | * Kernel version: 4.4.167 |
* System partitions: boot and rootfs | * System partitions: boot and rootfs | ||
* Default serial console: UART2 | * Default serial console: UART2 |
Latest revision as of 08:05, 29 February 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>}
Storage device
- uSD Card: /dev/mmcblk1
- eMMC: /dev/mmcblk2
- NVME M.2 SDD: /dev/nvme0n1
Boot device order
SD Nand -> uSD Card
Changelogs
2020.02.29
rockpin10a_fedora_28_server_edition_arm64_20200229_1446-gpt.img / rockpin10bc_fedora_28_server_edition_arm64_20200229_1533-gpt.img
- U-boot version: 2017.09-00007-ge00fb1f
- Kernel version: 4.4.167
- 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
- Fix NPU issue: Init runtime environment failed
2020.01.14
rockpin10_fedora_28_server_edition_arm64_20200114_1533-gpt.img
- U-boot version: 2017.09-00007-ge00fb1f
- Kernel version: 4.4.167
- 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
- Fix NPU issue: Init runtime environment failed
2020.01.11
rockpin10_fedora_28_server_edition_arm64_20200111_1749-gpt.img
- U-boot version: 2017.09-00007-ge00fb1f
- Kernel version: 4.4.167
- 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