- 博客(61)
- 收藏
- 关注
原创 Kernel panic - not syncing: compression method gzip not configured
君正的编译器和sigmastar 的uclibc编译器有冲突, 不能同时设置到PATH里,clean后重新编译。
2024-12-17 21:45:28
212
原创 fatal error: dt-bindings/interrupt-controller/irq.h: No such file or directory
打包压缩文件只能用命令行,用图形界面会导致符号链接没有压缩到,编译报错。
2023-12-20 16:54:16
640
2
原创 http异常
java.io.IOException: unexpected end of stream on com.android.okhttp.Address@1ec3569f2023-07-20 18:08:02.905 6807-8973 System.err pid-6807 W at com.android.okhttp.internal.http.Http1xStream.readResponse(Http1
2023-07-20 19:16:14
814
原创 SigmaStar内核编译出错drivers/sstar/Kconfig:35: can‘t open file “drivers/sstar/include//Kconfig“
帮助解决SigmaStar内核编译问题
2022-11-16 08:47:30
892
原创 【无标题】
W/System.err: ErrorCode = 204W/System.err: com.alibaba.wireless.security.open.SecException:W/System.err: at com.taobao.wireless.security.adapter.JNICLibrary.doCommandNative(Native Method)W/System.err: at com.alibaba.wireless.security.mainplugin...
2022-03-16 14:55:56
3959
2
原创 configure: error: libpq is not installed or libpq is old
sudo apt-get install libpq-devsudo apt-get install postgresql-server-dev-all
2022-02-11 08:47:35
380
原创 【无标题】调试记录
Program terminated with signal SIGSEGV, Segmentation fault.#0 0x000b3e3e in linkvisual::DeviceAuthService::GetAuth(int) ()[Current thread is 1 (LWP 342)](gdb) set solib-search-path /opt/gcc-sigmastar-9.1.0-2019.11-x86_64_arm-linux-gnueabihf/arm-linux-g.
2022-01-07 09:04:36
285
原创 【无标题】调试记录
[Current thread is 1 (LWP 353)](gdb) set solib-search-path /opt/gcc-sigmastar-9.1.0-2019.11-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/lib(gdb) set solib-search-path /opt/gcc-sigmastar-9.1.0-2019.11-x86_64_arm-linux-gnueabihf/arm-linux-gnueabihf/libc
2021-12-11 16:01:23
659
原创 包名和安全图片保存一致
错误编码 = 12 错误消息 = 未找到资源文件 inputBox 解决建议 = 请检查所依赖的 SDK 项目,或若是手动拷贝 SDK 至当前开发应用所在项目,请检查是否漏拷文件 ***********************************************************2021-11-02 10:02:03.706 25641-25641/com.demo.iot D/AndroidRuntime: Shutting down VM2021-1...
2021-11-05 08:17:53
1368
原创 Gerrit 异常断电导致SSH host key无法使用
[2021-04-25 16:47:49,783] [sshd-SshServer[3fe1b278]-nio2-thread-3] WARN org.apache.sshd.common.keyprovider.FileKeyPairProvider : Failed (StreamCorruptedException) to load key resource=/home/gerrit/gerrit_application/etc/ssh_host_ecdsa_key: Invalid DER: ob.
2021-04-25 19:18:34
409
原创 Gerrit显示隐藏的项目
1、使用管理员账号ssh -p 29418 user@review.example.com gerrit set-project example --project-state ACTIVE
2021-02-03 09:31:59
541
原创 Kernel panic - not syncing
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,2)可以检查一下是不是文件系统太大了,和指定的分区大小不一致...
2021-01-31 09:32:10
609
原创 arm-buildroot-linux-uclibcgnueabihf-gdb: error while loading shared libraries: libncurses.so.6: cann
arm-buildroot-linux-uclibcgnueabihf-gdb: error while loading shared libraries: libncurses.so.6: cannot open shared object file: No such file or directory在Sigmastar交叉编译工具链目录lib下有这个库,需要设置一下LD_LIBRARY_PATH例如:export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/h.
2020-12-24 11:29:16
895
原创 Gerrit修改Full Name
git clone "ssh://username@gerrithost:29418/All-Users"cd All-Usersgit fetch ssh://username@gerrithost:29418/All-Users refs/users/self && git checkout FETCH_HEAD修改account.config文件git add a...
2020-03-28 17:59:09
1254
原创 arch/arm/boot/dts/***.dtsi:21:48: fatal error: dt-bindings/clock/***-clock.h: No such file or direct
In file included from arch/arm/boot/dts/hi3556v200-demb.dts:21:0:arch/arm/boot/dts/hi3556v200.dtsi:21:48: fatal error: dt-bindings/clock/hi3556v200-clock.h: No such file or directory#include <dt...
2020-02-15 22:02:02
2277
1
原创 CPU内部工作原理
通过But How Do It Know?这本书找到的,很形象、可以修改代码观看内部执行流程http://www.buthowdoitknow.com/but_how_do_it_know_cpu_model.html
2018-10-02 16:55:41
1132
转载 内核态I2C 读写程序示例
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <fcntl.h>#include <sys/types.h>#include <sys/ioctl.h>#include <sys/stat.h>#i
2018-09-29 10:54:48
1332
原创 Hi3520D使用512M内存和128M内存
修改uboot-Hi3520D-bvt_No1_660_330_660_ddr_innerFEPHY.xls128M内存修改:DDRC_RNKCFG 0x2c 0x122 DDRC_TIMING1 0x54 0xFF637A22 512M内存修改:DDRC_RNKCFG 0x2c 0x142 DDRC_TIMING1 ...
2018-09-28 09:11:24
606
原创 自动安装eclipse和jdk
#!/bin/bashJDK_INSTALL_DIR=/usr/localJAVA_HOME=$JDK_INSTALL_DIR/jdk1.8.0_92JAVA_HOME_BIN_DIR=$JAVA_HOME/binECLIPSE_INSTALL_DIR=~/ECLIPSE_DIR=$ECLIPSE_INSTALL_DIR/eclipseECLIPSE_JRE_DIR=$ECLIP...
2018-09-22 15:49:19
288
原创 Ubuntu安装tftp
sudo apt-get install tftpd-hpa tftp-hpasudo vim /etc/default/tftpd-hpa# /etc/default/tftpd-hpaTFTP_USERNAME="tftp"TFTP_DIRECTORY="/home/hi/tftpboot"TFTP_ADDRESS=":69"TFTP_OPTIONS="-l-c -s"...
2018-09-21 17:59:42
326
原创 使用/proc/cmdline加载海思驱动
在load3520D脚本中加入如下代码:HVRMEM=`cat /proc/cmdline | awk '{print $1}' | sed s/mem=//`HVRMEM_OS=`echo $HVRMEM | sed s/M//`MEM_LEN=`echo "$MEM_ALL $HVRMEM_OS"|awk '{printf("%d",$1-$2)}'`MMEM_START=`ec...
2018-09-18 16:27:16
1185
1
转载 如何让udhcpc 占用更少的内存?
这个问题的表面现象是用system 调用的方式执行udhcpc 会失败。解释:由于system 是通过fork 实现的,而子进程会复制父进程的VM 空间,当父进程占用较多VM 空间,很容易导致system 调用失败。其本质是子进程分配VM 空间失败导致的。解决方法:执行一下:echo 1 > /proc/sys/vm/overcommit_memory即可。更好的解决办法是不...
2018-09-15 17:19:43
296
原创 Hi3520DV200 Uboot升级USB读写慢问题
把common/usb_storage.c文件里的int usb_stor_BBB_transport(ccb *srb, struct us_data *us)里wait_ms(200);改成wait_ms(5);
2018-09-15 10:38:18
1198
2
转载 sofia.txt
[root@LocalHost /var]$ lsSofia lockfile[root@LocalHost /var]$ ./SofiaLibCrypto : FILE -> crypto.c, LINE -> 1339: CryptoCreate Open Crypto Failed!atmagic[0]=d2,atmagic[1]=d4, ret[0], cpta...
2018-09-11 16:46:18
822
转载 gistfile
max$ telnet 192.168.0.112 9527Trying 192.168.0.112...Connected to 192.168.0.112.Escape character is '^]'.AVdec - PlayGetChannels(2857): enter 4 channlesAVenc - CaptureGetChannels(756): 1AVdec - ...
2018-09-11 16:43:32
1675
转载 RvR4V7
U-Boot 2010.06 (Jan 09 2013 - 13:05:11)DRAM: 256 MiBNAND: Special Nand id table Version 1.35Nand ID: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00No NAND device found!!!0 MiBCheck spi flash contro...
2018-09-11 16:25:26
850
转载 biji
Trying 192.168.1.32...Connected to 192.168.1.32.Escape character is '^]'.? login: rootPassword: [1;32mWelcome to Monitor Tech.[0;39m# /usr/bin/SofiaLibCrypto : g_cryptotype = 2****************...
2018-09-11 16:23:04
981
转载 如何配置WiFi 适用的国家或地域?
问题描述在中国之外的市场,为何WiFi 总会出现连接不上AP 的情况?问题分析不同的国家或地域,WiFi 使用的信道不一样,比如中国使用信道1~13,美国使用1~11。WiFi 默认设置成中国,如果产品所发布的市场是中国之外的国家或区域,那么在编译前需要根据产品所发布的市场设置好WiFi 的国家或区域,否则可能会出现无法连接上AP 的问题。解决办法解决办法编译前要根据产品所发布的市场设置好WiFi...
2018-05-23 08:31:12
6413
转载 udhcpc不能自动设置IP
udhcpc只是获取一个IP,我们需要把\busybox-1.16.1\examples\udhcp下的脚本simple.script改名为default.script,放在开发板上的/usr/share/dhcpc/目录下,才能将获取的IP写到指定的网卡中。...
2018-04-16 20:31:27
2454
1
转载 HDMI 接口干扰WiFi 信号
HDMI 使用74.2MHz 频率时,其33 倍频正好处于WiFi 的2.4G 频段内,会严重的干扰WiFi 信号。如果使用148.5MHz 频率,虽然其16 倍频没有处于WiFi 频段内,但是由于频率的隔离度也不好,也会在一定程度上干扰WiFi 的信号。 由于HDMI 连接器焊接处也无法屏蔽,如果PCB 板上HDMI 接口和WiFi 模块距离小于5cm,HDMI 的输出显示都会...
2018-04-11 17:43:01
7445
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人