logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

站着拉屎,坐着拉尿

可提供的服务

暂无可提供的服务

linux 5.10 kernel添加xpm模块

kernel 添加此commit内容https://gitcode.com/openharmony/kernel_linux_5.10/commit/28807d3beffd4a730a1e318ef53c1ea5b9a27f82?ref=28807d3beffd4a730a1e318ef53c1ea5b9a27f82 git remote add gitcode_kernel https://g

ohos启动播放视频,加入launcher ready后自动退出视频的功能

代码修改如下,验证通过。在系统启动后直接执行bootanimation会瞬时退出,启动时launcher ready后自动退出视频播放 diff --git a/frameworks/bootanimation/src/boot_animation_operation.cpp b/frameworks/bootanimation/src/boot_animation_operation.cpp i

稳定性问题解析,进程: usb_service,崩溃 libusbservice.z.so

1.crash栈信息 Fingerprint:ede3e3264303154e8b40565f7a980b5494a723894369e41dc007865f39a8fd5b Module name:usb_service Timestamp:1970-01-01 08:00:14.000 Pid:2754 Uid:1018 Process name:usb_service Process lif

Openharmony 5.1.0 小型系统编译报错处理过程

编译hi3516 small系统报错 ./build.sh --product-name ipcamera_hispark_taurus_linux 1.修改内核版本 build/ohos/kernel/kernel.gni # Copyright (c) 2021 Huawei Device Co., Ltd. # Licensed under the Apache License, Ver

强化openharmony osal_mutex 互斥锁

#include "osal_mutex.h" #include <pthread.h> #include <stdatomic.h> #include "securec.h" #include "hdf_core_log.h" #include "osal_mem.h" #define HDF

rust的借用规则详解

Rust 的借用规则(Borrowing Rules)是其所有权系统的核心,目的是在编译期避免数据竞争和悬垂引用,保证内存安全。借用规则可以概括为以下三条,且编译器会严格检查这些规则: 核心借用规则 同一时间,要么只能有一个可变借用(&mut T),要么可以有多个不可变借用(&T),但二者不能同时存在。(避免读写冲突:多个读者或一个写者,不能同时读写) 借用的生命周期不能超过被借用

适配新SOC时,shell无法正常启动的问题修复

现象: 新 SOC启动后,没有命令行输入界面 手动执行可以启动shell,但是init.cfg配置的命令执行后确无法启动shell 分析: 发现/dev 下没有ttyS0,手动生成并设置权限可以解决 方案实施: sed -i '5i \t\t"mknod /dev/ttyS0 c 4 64",\n\t\t"chmod 666 /dev/ttyS0&qu

openharmony使用低版本内核4.9时,如何解决397及403syscall 报错

[ 30.642753] devicemanagerse[271]: syscall 403 [ 30.647108] Code: e1a00005 e3007193 e1a01004 ef000000 (e3700026) [ 30.653175] CPU: 3 PID: 271 Comm: devicemanagerse Not tainted 4.9.38 #1 [ 30.65976

cppcrash进程: av_session,崩溃so: libavsession_service.z.so

1.日志内容 Process name:av_session Process life time:15s Reason:Signal:SIGABRT(SI_TKILL)@0x0000098c from:2444:6700 LastFatalMessage:terminating due to uncaught exception of type std::__h::bad_function_cal

cppcrash进程: /system/bin/bootanimation,崩溃libskia_canvaskit.z.so

日志信息: #00 pc 000718ae /system/lib/ld-musl-arm.so.1(strlen+174)(f8f8d3840b4171fc7a9ce04e7eeaec87) #01 pc 000dd9f4 /system/lib/ld-musl-arm.so.1(__isoc99_sscanf+64)(f8f8d3840b4171fc7a9ce04e7eeaec87) #02

    共 14 条
  • 1
  • 2
  • 请选择