ArmSoM
← 所有故事

Mainline Linux vs BSP on Rockchip: Choosing a Maintainable Software Base

主线和供应商内核可以在 RK3588 上提供上游维护和外设支持的不同组合。实际选择取决于应用程序所需的驱动程序。仅较新的版本号并不能解决相机、图形或 NPU 的部署问题。

ArmSoM Sige7

ArmSoM Sige7

列出保持应用程序运行的驱动程序

包括相关的存储、网络、显示、摄像头和加速后端。将这些要求与候选图像及其已知限制进行比较。特定硬件路径可能需要供应商内核;面向上游的图像可能更适合其他服务。记录选择的原因,以便可以根据它评估未来的更新。

评估维护负担

供应商映像可以提供集成功能的实用途径,但产品团队仍然需要更新和安全维护信息。面向上游的映像可以减少一些下游依赖性,同时需要对特定外围设备进行额外验证。维护您的应用程序所依赖的补丁、外部模块和固件的列表。

比较两个完整的系统

使用单独的存储介质和可重复的工作负载。记录启动时间、接口可用性、服务行为以及中断后的恢复。比较相同冷却和功率条件下的持续应用结果。保持首选图像固定,直到升级通过相同的验收流程。

ArmSoM AIM7

ArmSoM AIM7

根据您的要求进行选择

要求或情况

评估什么

决定详情

所需的硬件功能

驱动程序和用户空间依赖

验证完整路径。

维护

修补和更新所有权

明确分配责任。

升级

备用设备回归运行

保留已知良好的回滚。

示例设计

根据应用程序的缺失部分选择内核

供应商映像可以提供立即需要的外围路径,而基于主线的映像对于不同的维护策略可能很有吸引力。比较实际要求:仅启动和网络并不能满足相机加速或图形堆栈的要求。维护决策包括用户空间库和固件以及内核补丁。在测试时保持两个候选图像的可重复性,而不是一次更改多个堆栈组件。

Separate the distribution from the kernel

Debian or Ubuntu identifies a userspace distribution, not a guarantee about the kernel branch underneath it. Two images with the same distribution name can use different bootloaders, device trees, drivers and graphics libraries.

Record the image release and repository, kernel build, bootloader and relevant userspace components. The kernel version alone may not reveal a vendor patch set. For a production image, keep the source revision and build configuration as well.

uname -a
cat /etc/os-release
cat /proc/cmdline

These observations help identify the running system. They are not a complete provenance record; retain the image manifest or build inputs that produced it.

Build a function-level support matrix

List the hardware and software paths the application uses. For each candidate image, record whether the function has been demonstrated on the exact board revision, and retain the test that proves it.

功能

Evidence to collect

Boot and storage

Cold boot, recovery and sustained access to the intended medium

网络

Required wired or wireless device and reconnect behavior

Display and touch

Actual panel, mode, orientation and input handling

摄像头

Sensor, CSI/ISP path, frame format and stable capture

Video acceleration

Required codec through the application's actual media framework

NPU

Compatible driver, runtime and model execution

Mark support as verified, partially verified or unresolved, with a date and software revision. A patch submitted upstream, a patch merged into a tree and a feature included in your released image are different states.

Treat accelerator software as a dependency chain

NPU deployment involves a model converter, runtime and kernel driver. Media acceleration also depends on userspace integration. Upgrading one component without checking the others can break an application even when the board still boots.

Use the RKNN release resources for the AI stack and your application's own platform documentation. For example, Frigate publishes a specific Rockchip installation route; generic Linux support is not enough to establish that its acceleration configuration will work.

Additional references

硬件和文档

Sige7 · RK3588

RK3588、6 TOPS NPU、双 2.5GbE 和 M.2 PCIe 3.0 x4。检查所选的eMMC和无线配置。

硬件文档 · 产品详情

AIM7 · RK3588

RK3588 模块,带有 6 TOPS NPU 和 260 引脚 SO-DIMM 连接器。 ArmSoM测试了Jetson Nano B01载体;这并不与所有 Jetson 运营商或 NVIDIA 软件建立兼容性。

硬件文档 · 产品详情

常见问题

主线总是更快吗?

不。性能取决于驱动程序、配置和工作负载。

可以只切换内核包吗?

这可以更改启动和设备支持。遵循映像维护者支持的升级流程并保留恢复介质。

产品信息和支持

了解 Sige7

联系 ArmSoM

来源

由 ArmSoM 使用以下文档编写。示例设计是建议,而不是测量的客户安装。

相关阅读