- RK3229_Android9.0_Box 4G模块EC200A调试
suifen_
网络
0、kernel修改这部分完全可以参考Linux的移植:RK3588EC200A-CN【4G模块】调试_rkec200a-cn-CSDN博客1、修改device/rockchip/rk322xdiff--gita/device.mkb/device.mkindexec6bfaa..e7c32d1100755---a/device.mk+++b/device.mk@@-105,6+105,8@@en
- 【RKNN系列】常用函数:使用RGA加速画框
jcfszxc
RKNN系列Rockchiprknn-toolkit2c++RKNN
以下是针对convert_and_draw_rectangle函数的详细使用说明:convert_and_draw_rectangle函数功能在给定的图像数据上使用RGA(RockchipGraphicsAcceleration)绘制矩形框。语法IM_STATUSconvert_and_draw_rectangle(uint8_t*dst_data,intwidth,intheight,const
- 2. 下载rknn-toolkit2项目
jcfszxc
RKNN系列rknn-toolkit2RKNN
官网链接:https://github.com/airockchip/rknn-toolkit2安装好git:[[1.Git的安装]]下载项目:gitclonehttps://github.com/airockchip/rknn-toolkit2.git或者直接去github下载压缩文件,解压即可。
- RK3568-设备树休眠唤醒
Paper_Love
RK3568linux
设备树rockchip_suspend:rockchip-suspend{compatible="rockchip,pm-rk3568";status="disabled";rockchip,sleep-debug-en=;rockchip,sleep-mode-config=;rockchip,wakeup-config=;};休眠唤醒功能宏定义文件:include/dt-bindings/su
- Android11.0系统中启用以太网网络ADB调试
yjz_0314
Android11.0android
Android11.0系统中启用以太网网络ADB调试启用以太网网络ADB调试封装的jar中添加对应方法供第三方应用开发者调用在系统设置中添加控制开关参见其它文章自行实现启用以太网网络ADB调试添加自定义属性,路径为/device/rockchip/rk356x/rk356x.prop;persist.sys.adb_network_debug_open=0启用以太网网络ADB调试属性,路径为/de
- RK3568笔记十二:Zlmedia拉流显示测试
殷忆枫
RK3568学习笔记笔记
若该文为原创文章,转载请注明原文出处。Zlmediakit功能很强大,测试一下拉流,在通过解码显示。一、环境1、平台:rk35682、开发板:ATK-RK3568正点原子板子3、环境:buildroot测试的代码在GitHub-airockchip/rknpu2main_video.cc主要功能是通过Zlmedia拉取RTSP流,并解码,然后重新编码保存成视频,所以直接在例子上修改程序,增加DRM
- [RK3588 Android12]设置语言和默认时区
~生而为赢~
RK3588Android12定制开发ubuntuandroid
修改文件:device/rockchip/rk3588/rk3588_s/rk3588_s.mk,添加如下内容:PRODUCT_PROPERTY_OVERRIDES+=\persist.sys.language=zh\persist.sys.country=CN\persist.sys.timezone=Asia/Shanghai
- rockchip的yocto编译环境搭建
良知犹存
作者:良知犹存转载授权以及围观:欢迎添加微信公众号:Conscience_Remains总述嵌入式的朋友们,应该知道Linux驱动开发过程中,需要进行搭建交叉编译工具链环境、移植u-boot、kernel、根文件系统的几个部分工作。最开始我们的学习是把几个模块分开使用学习使用,各个部分生成代码,然后进行烧录,有时候我们会用脚本去把各个部分的代码打包到一起进行烧录。后来随着工具的发,我们只需要一个S
- LangChain pdf的读取以及向量数据库的使用
hehui0921
LangChain数据库langchainpdf
以下使用了3399.pdf,RockchipRK3399TRMPart1importChatGLMfromlangchain.chainsimportLLMChainfromlangchain_core.output_parsersimportStrOutputParserfromlangchain_core.promptsimportChatPromptTemplatefromlangchain
- Rockchip RK3588 - OpenCL环境搭建
Graceful_scenery
在上一节《RockchipRK3588-基于Qt的视频监控和控制系统》,我们介绍了实时监控的实现,在实时监控中我们需要将分辨率为1920x1080的图像缩放为指定窗口大小的图像,当采样帧率比较高时,会占用大量的CPU资源;root@NanoPC-T6:/opt/qt-project/FloatVideo-TouchScreen#exportDISPLAY=:0.0;./FloatVideo-Tou
- Rockchip RK3588 - linux下Qt和opencv交叉编译环境搭建
Graceful_scenery
linuxqt运维服务器开发语言
----------------------------------------------------------------------------------------------------------------------------开发板:NanoPC-T6开发板eMMC:256GBLPDDR4:16GB显示屏:15.6英寸HDMI接口显示屏u-boot:2017.09linux:
- Rockchip RK3588 - USB基础 & 调试
Graceful_scenery
开发板:NanoPC-T6开发板eMMC:256GBLPDDR4:16GB显示屏:15.6英寸HDMI接口显示屏u-boot:2017.09linux:6.1-------------------------------------------------------------------------------------------------------------------------
- RK3568-GPIO扩展-TCA9539/PCA9539驱动加载
荻夜
RK35XX系列调试记录linuxrk3568pca9539
简介TCA9539/PCA9539是一款I2C接口的IO扩展芯片,很多需要IO不够的场合都需要使用IO扩展芯片;在RK3568平台加载驱动在/home/fdkj/Neardi-3568-SDK-Linux-V2.2/Neardi-3568-SDK-Linux-V2.2/kernel/arch/arm64/boot/dts/rockchip/rk3568-neardi-linux-ld120-bas
- rk3588 pwm-fan风扇调试
月山知了
BSPlinux
rk3588pwm-fan风扇调试:参考文档:http://www.taodudu.cc/news/show-2282037.html?action=onClickRockchip平台cpu散热风扇随温度自动调速的配置方法http://www.coloradmin.cn/o/576106.html?action=onClickrk3568适配温控风扇https://www.kernel.org/d
- MDK3308-EK更改根文件系统为ext2
叶迎宪
默认生成的根文件系统是只读的squashfs,不方便修改。想修改为ext2。前面三步都是参考《RockchipLinux软件开发指南》1、修改kernel的bootargs参数,文件位于kernel/arch/arm64/boot/dts/rockchip/rk3308-evb-v10.dtsicompatible="firefly,rk3308-firefly","firefly,rk3308"
- RK3588 Android12强制HDMI输出特殊分辨率timing
ewin2012
android
1.把白名单去掉,device/rockchip/common/device.mk中如下位置注释掉PRODUCT_COPY_FILES+=\$(TARGET_DEVICE_DIR)/resolution_white.xml:/system/usr/share/resolution_white.xml2.安照下面补丁修改,在kernel-5.10/drivers/gpu/drm/bridge/syn
- Rockchip RK3399 - HDMI音频
Graceful_scenery
RockChipRK3399音视频
----------------------------------------------------------------------------------------------------------------------------开发板:NanoPC-T4开发板eMMC:16GBLPDDR3:4GB显示屏:15.6英寸HDMI接口显示屏u-boot:2023.04linux:6.
- 瑞芯微1808模型转换(onnx到rknn)环境配置过程
Midsummer啦啦啦
解决方案嵌入式硬件pytorch深度学习python
瑞芯微1808模型转换(onnx→\to→rknn)环境配置阅读本解决方案前,请读者确保已经根据官方的相关教程【rknn_model_zoo/common/rknn_converteratv1.5.0·airockchip/rknn_model_zoo(github.com)】完成其他配置文件的修改,以便和您的模型参数相符合,才能转换成功一、基本配置创建虚拟环境condacreate-nrknnp
- RK3568 Android 13 系统裁剪
青春给了狗
android
android13系统裁剪是个大工程,裁剪也是需要大量的测试,才能保证系统的稳定性,以下是RK官方给出的裁剪方案,有兴趣的可以去看一下,对裁剪不是要求过高的可以根据官方的建议,对系统进行裁剪:RockchipAndroid平台内存优化及系统裁剪_build_with_go_opt-CSDN博客然后官方的裁剪比较少,往往达不到我们自身需求想要的,所以我总结了我在开发过程中,精简系统的部分经验,望大家
- RockChip DRM Display Driver
猩猩の點燈
Rockchiplinux
资料来源:《Rockchip_DRM_Display_Driver_Development_Guide_V1.0.pdf》《Rockchip_Developer_Guide_DRM_Display_Driver_CN.pdf》一:DRM概述DRM(DirectRenderingManager)直接渲染管理,buffer分配,帧缓冲。对应userspace库位libdrm,libdrm库提供了一系列
- Buildroot显示kernel logo
zoipuus
TinkerBoard2嵌入式linuxBuildRoot
buildroot开机时DSI屏幕变成跟uart一样输出log,现在想显示logo1、failedtoshowloaderlogo[2.467479]mmcblk1:p1p2p3p4p5p6p7p8p9[2.468827]rockchip-drmdisplay-subsystem:can'tnotfindanyloaderdisplay[2.468859]rockchip-drmdisplay-s
- Rockchip RK3399 - 移植uboot 2023.04 & linux 6.3
Graceful_scenery
RockChipRK3399linux运维服务器
----------------------------------------------------------------------------------------------------------------------------开发板:NanoPC-T4开发板eMMC:16GBLPDDR3:4GB显示屏:15.6HDMI接口显示屏u-boot:2023.04linux:6.3-
- Rockchip | FIQ-Debugger调试工具
嵌入式逍遥
RK开发指南rockchiprk3568linuxfiqdebug调试工具
FIQ-Debuggerfiqdebugger是集成到内核中的一种系统调试手段。FIQ在arm架构中相当于nmi中断,fiqdebugger把串口注册成fiq中断,在串口fiq中断服务程序中集成了一些系统调试命令。一般情况下串口是普通的console模式,在串口工具下键盘输入fiq,串口会切换到fiqdebugger模式。因为FIQ是不可屏蔽中断,所以这种调试手段适合调试cpu被hang住的情况,
- RK356x U-Boot研究所(驱动篇)4.2.1 DRM分析之LOGO显示
嵌入式逍遥
RK356xU-Boot研究所rk3568ubootdrmlogohdmimipiedp
U-Boot启动流程在加载内核设备树后,会根据显示配置初始化drm相关驱动,入口是在rockchip_show_logo函数:intboard_late_init(void){rockchip_set_ethaddr();rockchip_set_serialno();setup_download_mode();#</
- Rockchip linux USB 驱动开发
一叶知秋yyds
驱动开发瑞芯微平台linux驱动开发c语言linux
LinuxUSB驱动架构LinuxUSB协议栈是一个分层的架构,如下图5-1所示,左边是USBDevice驱动,右边是USBHost驱动,最底层是Rockchip系列芯片不同USB控制器和PHY的驱动。LinuxUSB驱动架构USBPHY驱动开发USB2.0PHY驱动开发Rockchip系列芯片,主要使用两种USB2.0PHYIP:InnosiliconIP和SynopsisIP。这两种IP的硬件
- BuildRoot配置RTL8822CE WIFI&BT模块(BT部分)
zoipuus
TinkerBoard2嵌入式linuxRTL8822CEBT
BuildRoot配置RTL8822CEWIFI&BT模块(WIFI部分)-CSDN博客WIFI部分更新一下:①、rkwifibt.mk查看了output/rockchip_rk3399_tinkerboard2/build/的两个目录都有wifi相关的ko(后面makeclean之后剩下linux-headers-custom路径的),md5都一样,随便选了一个,拷贝所有kozoipuus@AD
- RK3566 linux加入uvc app
火柴棍mcu
linux系统及驱动开发linux运维服务器
SDK中external/uvc_app/目录提供了将板卡模拟成uvccamera的功能。一、buildroot使能uvc_app1、进入到buildroot目录在sdk目录下执行以下命令:cdbuildroot2、选择defconfig执行命令:sourcebuild/envsetup.sh输入数字然后回车选择板卡,如:Whichwouldyoulike?[1]:42选择rockchip_rk3
- rockchip 平台 linux FIT 打包格式介绍
一叶知秋yyds
驱动开发瑞芯微平台linuxlinux驱动开发c语言
1基础介绍FIT(flattenedimagetree)是U-Boot⽀持的⼀种新固件类型的引导⽅案,⽀持任意多个image打包和校验。FIT使⽤its(imagesourcefile)⽂件描述image信息,最后通过mkimage⼯具⽣成itb(flattenedimagetreeblob)镜像。its⽂件使⽤DTS的语法规则,⾮常灵活,可以直接使⽤libfdt库和相关⼯具。FIT是U-Boot
- 制作RK3568 ubuntu20.04桌面版镜像
ansondroider
Linuxubuntu20.04RK3568镜像
平台主控:RK3568编译主机:Ubuntu20.04AMD64目标版本:Ubuntu20.04概述RK3568是极具性价比的高能国产“芯“,是Rockchip面向与AIOT和工业市场打造的一款高性能、低功耗、功能丰富的国产化应用处理器。采用四核64位Cortex-A55架构,主频高达2.0GHz,集成Rockchip自研NPU,1TOPS算力,满足轻量级端侧AI计算。并提供简单易用的模型转换工具
- Alsa交叉编译
Kingkim180
音视频linuxarm开发音视频
alsa交叉编译下载源码需要编译两个库首先编译lib库./configure--host=armCC=arm-rockchip830-linux-uclibcgnueabihf-gcc--prefix=$(pwd)/output--disable-python--with-configdir=/usr/share/alsa--with-plugindir=/usr/share/alsa--with
- java Illegal overloaded getter method with ambiguous type for propert的解决
zwllxs
javajdk
好久不来iteye,今天又来看看,哈哈,今天碰到在编码时,反射中会抛出
Illegal overloaded getter method with ambiguous type for propert这么个东东,从字面意思看,是反射在获取getter时迷惑了,然后回想起java在boolean值在生成getter时,分别有is和getter,也许我们的反射对象中就有is开头的方法迷惑了jdk,
- IT人应当知道的10个行业小内幕
beijingjava
工作互联网
10. 虽然IT业的薪酬比其他很多行业要好,但有公司因此视你为其“佣人”。
尽管IT人士的薪水没有互联网泡沫之前要好,但和其他行业人士比较,IT人的薪资还算好点。在接下的几十年中,科技在商业和社会发展中所占分量会一直增加,所以我们完全有理由相信,IT专业人才的需求量也不会减少。
然而,正因为IT人士的薪水普遍较高,所以有些公司认为给了你这么多钱,就把你看成是公司的“佣人”,拥有你的支配
- java 实现自定义链表
CrazyMizzz
java数据结构
1.链表结构
链表是链式的结构
2.链表的组成
链表是由头节点,中间节点和尾节点组成
节点是由两个部分组成:
1.数据域
2.引用域
3.链表的实现
&nbs
- web项目发布到服务器后图片过一会儿消失
麦田的设计者
struts2上传图片永久保存
作为一名学习了android和j2ee的程序员,我们必须要意识到,客服端和服务器端的交互是很有必要的,比如你用eclipse写了一个web工程,并且发布到了服务器(tomcat)上,这时你在webapps目录下看到了你发布的web工程,你可以打开电脑的浏览器输入http://localhost:8080/工程/路径访问里面的资源。但是,有时你会突然的发现之前用struts2上传的图片
- CodeIgniter框架Cart类 name 不能设置中文的解决方法
IT独行者
CodeIgniterCart框架
今天试用了一下CodeIgniter的Cart类时遇到了个小问题,发现当name的值为中文时,就写入不了session。在这里特别提醒一下。 在CI手册里也有说明,如下:
$data = array(
'id' => 'sku_123ABC',
'qty' => 1,
'
- linux回收站
_wy_
linux回收站
今天一不小心在ubuntu下把一个文件移动到了回收站,我并不想删,手误了。我急忙到Nautilus下的回收站中准备恢复它,但是里面居然什么都没有。 后来我发现这是由于我删文件的地方不在HOME所在的分区,而是在另一个独立的Linux分区下,这是我专门用于开发的分区。而我删除的东东在分区根目录下的.Trash-1000/file目录下,相关的删除信息(删除时间和文件所在
- jquery回到页面顶端
知了ing
htmljquerycss
html代码:
<h1 id="anchor">页面标题</h1>
<div id="container">页面内容</div>
<p><a href="#anchor" class="topLink">回到顶端</a><
- B树、B-树、B+树、B*树
矮蛋蛋
B树
原文地址:
http://www.cnblogs.com/oldhorse/archive/2009/11/16/1604009.html
B树
即二叉搜索树:
1.所有非叶子结点至多拥有两个儿子(Left和Right);
&nb
- 数据库连接池
alafqq
数据库连接池
http://www.cnblogs.com/xdp-gacl/p/4002804.html
@Anthor:孤傲苍狼
数据库连接池
用MySQLv5版本的数据库驱动没有问题,使用MySQLv6和Oracle的数据库驱动时候报如下错误:
java.lang.ClassCastException: $Proxy0 cannot be cast to java.sql.Connec
- java泛型
百合不是茶
java泛型
泛型
在Java SE 1.5之前,没有泛型的情况的下,通过对类型Object的引用来实现参数的“任意化”,任意化的缺点就是要实行强制转换,这种强制转换可能会带来不安全的隐患
泛型的特点:消除强制转换 确保类型安全 向后兼容
简单泛型的定义:
泛型:就是在类中将其模糊化,在创建对象的时候再具体定义
class fan
- javascript闭包[两个小测试例子]
bijian1013
JavaScriptJavaScript
一.程序一
<script>
var name = "The Window";
var Object_a = {
name : "My Object",
getNameFunc : function(){
var that = this;
return function(){
- 探索JUnit4扩展:假设机制(Assumption)
bijian1013
javaAssumptionJUnit单元测试
一.假设机制(Assumption)概述 理想情况下,写测试用例的开发人员可以明确的知道所有导致他们所写的测试用例不通过的地方,但是有的时候,这些导致测试用例不通过的地方并不是很容易的被发现,可能隐藏得很深,从而导致开发人员在写测试用例时很难预测到这些因素,而且往往这些因素并不是开发人员当初设计测试用例时真正目的,
- 【Gson四】范型POJO的反序列化
bit1129
POJO
在下面这个例子中,POJO(Data类)是一个范型类,在Tests中,指定范型类为PieceData,POJO初始化完成后,通过
String str = new Gson().toJson(data);
得到范型化的POJO序列化得到的JSON串,然后将这个JSON串反序列化为POJO
import com.google.gson.Gson;
import java.
- 【Spark八十五】Spark Streaming分析结果落地到MySQL
bit1129
Stream
几点总结:
1. DStream.foreachRDD是一个Output Operation,类似于RDD的action,会触发Job的提交。DStream.foreachRDD是数据落地很常用的方法
2. 获取MySQL Connection的操作应该放在foreachRDD的参数(是一个RDD[T]=>Unit的函数类型),这样,当foreachRDD方法在每个Worker上执行时,
- NGINX + LUA实现复杂的控制
ronin47
nginx lua
安装lua_nginx_module 模块
lua_nginx_module 可以一步步的安装,也可以直接用淘宝的OpenResty
Centos和debian的安装就简单了。。
这里说下freebsd的安装:
fetch http://www.lua.org/ftp/lua-5.1.4.tar.gz
tar zxvf lua-5.1.4.tar.gz
cd lua-5.1.4
ma
- java-递归判断数组是否升序
bylijinnan
java
public class IsAccendListRecursive {
/*递归判断数组是否升序
* if a Integer array is ascending,return true
* use recursion
*/
public static void main(String[] args){
IsAccendListRecursiv
- Netty源码学习-DefaultChannelPipeline2
bylijinnan
javanetty
Netty3的API
http://docs.jboss.org/netty/3.2/api/org/jboss/netty/channel/ChannelPipeline.html
里面提到ChannelPipeline的一个“pitfall”:
如果ChannelPipeline只有一个handler(假设为handlerA)且希望用另一handler(假设为handlerB)
来
- Java工具之JPS
chinrui
java
JPS使用
熟悉Linux的朋友们都知道,Linux下有一个常用的命令叫做ps(Process Status),是用来查看Linux环境下进程信息的。同样的,在Java Virtual Machine里面也提供了类似的工具供广大Java开发人员使用,它就是jps(Java Process Status),它可以用来
- window.print分页打印
ctrain
window
function init() {
var tt = document.getElementById("tt");
var childNodes = tt.childNodes[0].childNodes;
var level = 0;
for (var i = 0; i < childNodes.length; i++) {
- 安装hadoop时 执行jps命令Error occurred during initialization of VM
daizj
jdkhadoopjps
在安装hadoop时,执行JPS出现下面错误
[slave16]
[email protected]:/tmp/hsperfdata_hdfs# jps
Error occurred during initialization of VM
java.lang.Error: Properties init: Could not determine current working
- PHP开发大型项目的一点经验
dcj3sjt126com
PHP重构
一、变量 最好是把所有的变量存储在一个数组中,这样在程序的开发中可以带来很多的方便,特别是当程序很大的时候。变量的命名就当适合自己的习惯,不管是用拼音还是英语,至少应当有一定的意义,以便适合记忆。变量的命名尽量规范化,不要与PHP中的关键字相冲突。 二、函数 PHP自带了很多函数,这给我们程序的编写带来了很多的方便。当然,在大型程序中我们往往自己要定义许多个函数,几十
- android笔记之--向网络发送GET/POST请求参数
dcj3sjt126com
android
使用GET方法发送请求
private static boolean sendGETRequest (String path,
Map<String, String> params) throws Exception{
//发送地http://192.168.100.91:8080/videoServi
- linux复习笔记 之bash shell (3) 通配符
eksliang
linux 通配符linux通配符
转载请出自出处:
http://eksliang.iteye.com/blog/2104387
在bash的操作环境中有一个非常有用的功能,那就是通配符。
下面列出一些常用的通配符,如下表所示 符号 意义 * 万用字符,代表0个到无穷个任意字符 ? 万用字符,代表一定有一个任意字符 [] 代表一定有一个在中括号内的字符。例如:[abcd]代表一定有一个字符,可能是a、b、c
- Android关于短信加密
gqdy365
android
关于Android短信加密功能,我初步了解的如下(只在Android应用层试验):
1、因为Android有短信收发接口,可以调用接口完成短信收发;
发送过程:APP(基于短信应用修改)接受用户输入号码、内容——>APP对短信内容加密——>调用短信发送方法Sm
- asp.net在网站根目录下创建文件夹
hvt
.netC#hovertreeasp.netWeb Forms
假设要在asp.net网站的根目录下建立文件夹hovertree,C#代码如下:
string m_keleyiFolderName = Server.MapPath("/hovertree");
if (Directory.Exists(m_keleyiFolderName))
{
//文件夹已经存在
return;
}
else
{
try
{
D
- 一个合格的程序员应该读过哪些书
justjavac
程序员书籍
编者按:2008年8月4日,StackOverflow 网友 Bert F 发帖提问:哪本最具影响力的书,是每个程序员都应该读的?
“如果能时光倒流,回到过去,作为一个开发人员,你可以告诉自己在职业生涯初期应该读一本, 你会选择哪本书呢?我希望这个书单列表内容丰富,可以涵盖很多东西。”
很多程序员响应,他们在推荐时也写下自己的评语。 以前就有国内网友介绍这个程序员书单,不过都是推荐数
- 单实例实践
跑龙套_az
单例
1、内部类
public class Singleton {
private static class SingletonHolder {
public static Singleton singleton = new Singleton();
}
public Singleton getRes
- PO VO BEAN 理解
q137681467
VODTOpo
PO:
全称是 persistant object持久对象 最形象的理解就是一个PO就是数据库中的一条记录。 好处是可以把一条记录作为一个对象处理,可以方便的转为其它对象。
BO:
全称是 business object:业务对象 主要作用是把业务逻辑封装为一个对象。这个对
- 战胜惰性,暗自努力
金笛子
努力
偶然看到一句很贴近生活的话:“别人都在你看不到的地方暗自努力,在你看得到的地方,他们也和你一样显得吊儿郎当,和你一样会抱怨,而只有你自己相信这些都是真的,最后也只有你一人继续不思进取。”很多句子总在不经意中就会戳中一部分人的软肋,我想我们每个人的周围总是有那么些表现得“吊儿郎当”的存在,是否你就真的相信他们如此不思进取,而开始放松了对自己的要求随波逐流呢?
我有个朋友是搞技术的,平时嘻嘻哈哈,以
- NDK/JNI二维数组多维数组传递
wenzongliang
二维数组jniNDK
多维数组和对象数组一样处理,例如二维数组里的每个元素还是一个数组 用jArray表示,直到数组变为一维的,且里面元素为基本类型,去获得一维数组指针。给大家提供个例子。已经测试通过。
Java_cn_wzl_FiveChessView_checkWin( JNIEnv* env,jobject thiz,jobjectArray qizidata)
{
jint i,j;
int s