news 2026/5/15 17:13:05

Toybrik RK3588 npu内核0.8.2升级到0.9.3

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
Toybrik RK3588 npu内核0.8.2升级到0.9.3

一、准备工作

(1)获源代码、rootfs.img和npu所需内核

https://github.com/rockchip-toybrick/edgehttps://github.com/rockchip-toybrick/edge
https://meta.box.lenovo.com/v/link/view/37f602e289fb4dc391d4d084548f9617https://meta.box.lenovo.com/v/link/view/37f602e289fb4dc391d4d084548f9617

https://github.com/armbian/linux-rockchip/tree/rk-6.1-rkr1/drivers/rknpuhttps://github.com/armbian/linux-rockchip/tree/rk-6.1-rkr1/drivers/rknpu

(2)在Ubuntu22.04的x86系统搭建编译环境

官方Ubuntu系统安装依赖

sudo apt -y install python lz4 coreutils qemu qemu-user-static python3 \ device-tree-compiler clang bison flex lld libssl-dev bc genext2fs git make

结果:一直报错

自己的安装依赖步骤

1、安装lz4

git clone https://github.com/lz4/lz4.git cd lz4 make sudo make install

2、安装qemu-user-static

sudo apt-get remove qemu-user-static sudo apt-get install qemu-user-static

或者

sudo apt-get install qemu-user-static sudo apt install qemu-user-binfmt sudo update-binfmts

3、安装device-tree-compiler

git clone git://git.kernel.org/pub/scm/utils/dtc/dtc.git cd dtc make

或者

sudo apt-get install device-tree-compiler

二、根据官方文档进行编译

参考

https://t.rock-chips.com/wiki/CN/tb-rk3588x/02-2Linux%E5%BC%80%E5%8F%91.html#id2

./edge set #执行如下命令编译生成内核镜像,保存在OUT_DIR目录: ./edge build -k

三、烧录镜像

替换images中的recovery.img、boot_linux.img、resource.img、misc.img文件,然后进行烧录。

四、烧录完成

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/5/15 17:12:03

BlindWatermark:基于小波变换与SVD分解的数字水印技术深度解析

BlindWatermark:基于小波变换与SVD分解的数字水印技术深度解析 【免费下载链接】BlindWatermark 使用盲水印保护创作者的知识产权using invisible watermark to protect creators intellectual property 项目地址: https://gitcode.com/gh_mirrors/bl/BlindWaterm…

作者头像 李华
网站建设 2026/5/15 17:07:05

基于ECANet与迁移学习的RAF-DB表情分类实战

1. 从零开始理解表情分类任务 表情识别是计算机视觉领域一个非常有趣的应用方向。想象一下,如果手机能根据你的表情自动切换滤镜,或者智能客服能通过用户表情调整服务策略,这些场景都需要准确的表情分类技术支撑。RAF-DB(Real-wor…

作者头像 李华