@kunyi 好的,谢谢你的帮助。
Ary_Ye 发布的帖子
-
回复: Ubuntu18.04配置livesuit环境时报错insmod: ERROR: could not insert module awusb.ko: Invalid module format
linxiaoyan@WP:~/sunxi-livesuite-master/awusb$ modinfo ./awusb.ko filename: /home/linxiaoyan/sunxi-livesuite-master/awusb/./awusb.ko license: GPL description: AW USB driver author: Jojo srcversion: E085DDDF9EB284306C544FA alias: usb:v1F3ApEFE8d*dc*dsc*dp*ic*isc*ip*in* depends: retpoline: Y name: awusb vermagic: 5.15.0-41-generic SMP mod_unload modversions linxiaoyan@WP:~/sunxi-livesuite-master/awusb$ uname -r 5.15.0-41-generic linxiaoyan@WP:~/sunxi-livesuite-master/awusb$ sudo insmod ./awusb.ko [sudo] linxiaoyan 的密码: insmod: ERROR: could not insert module ./awusb.ko: Invalid module format linxiaoyan@WP:~/sunxi-livesuite-master/awusb$
内核版本对的上,livesuit上说重新安装dkms我也照做了,还是用不了,奇怪了
-
Ubuntu18.04配置livesuit环境时报错insmod: ERROR: could not insert module awusb.ko: Invalid module format
如题
linxiaoyan@WP:~/sunxi-livesuite-master$ cd awusb/ linxiaoyan@WP:~/sunxi-livesuite-master/awusb$ ls awusb.c awusb.mod awusb.mod.o dkms.conf modules.order awusb.ko awusb.mod.c awusb.o Makefile Module.symvers linxiaoyan@WP:~/sunxi-livesuite-master/awusb$ sudo insmod awusb.ko [sudo] linxiaoyan 的密码: insmod: ERROR: could not insert module awusb.ko: Invalid module format linxiaoyan@WP:~/sunxi-livesuite-master/awusb$
-
回复: libstdc++.so.6: No such file or directory请问下大佬们,这种库缺失是因为啥引起的
在menuconfig里面勾选了libstdcpp,但是在lib里面死活都没有这个.so文件
-
libstdc++.so.6: No such file or directory请问下大佬们,这种库缺失是因为啥引起的
用的是mango的T113,交叉编译链为prebuilt里面的musl交叉编译链
-
回复: Yuzuki Lizard V851S开发板 –获取正确的本地时间
@bayche 在 Yuzuki Lizard V851S开发板 –获取正确的本地时间 中说:
@ary_ye 有一点不同
具体参考
https://forums.100ask.net/t/topic/3021
是基于docker版V851S开发环境好的,受教了
-
回复: Yuzuki Lizard V851S开发板 –获取正确的本地时间
@bayche 在 Yuzuki Lizard V851S开发板 –获取正确的本地时间 中说:
@ary_ye 你跑tina的话是没有systemd注册,ntpd是service用不了ntpdate
那大佬你用的不是Tina嘛?有啥办法解决捏?
-
新手求助!T113 Tina-Linux添加systemd后编译报错
如题,由于要通过ntpdate进行网络对时,但是出现了
Error resolving ntp.aliyun.com: Unrecognized service (-8)
根据小正太大佬的说法是要添加systemd,但是在下列添加systemd-timedate服务以后就编译不通过了,而且整个编译过程没有ERROR的标识,唯一感觉有问题的只有缺了这堆文件
ln -sf ../../lib/libc.so /home/linxiaoyan/Tina-Linux/out/t113-mq_r/staging_dir/target/rootfs/tmp-libc/usr/bin/ldd; exit 0 cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libanl-*.so': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libanl.so*': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libc-*.so': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libgomp-*.so': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libcidn-*.so': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libcidn.so*': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libcrypt-*.so': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libcrypt.so*': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libdl-*.so': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libdl.so*': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libm-*.so': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libm.so*': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libnsl-*.so': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libnsl.so*': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libnss_dns-*.so': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libnss_dns.so*': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libnss_files-*.so': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libnss_files.so*': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libresolv-*.so': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libresolv.so*': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libutil-*.so': No such file or directory cp: cannot stat '/home/linxiaoyan/Tina-Linux/prebuilt/gcc/linux-x86/arm/toolchain-sunxi-musl/toolchain/./lib/libutil.so*': No such file or directory
求大佬们指点指点 -
回复: Yuzuki Lizard V851S开发板 –获取正确的本地时间
大佬,出现Error resolving ntp.aliyun.com: Unrecognized service (-8)怎么解决呢?能ping通ntp.aliyun.com
-
编译T113时,添加时钟同步ntp出错
用的TinaLinux,错误信息如下,请大佬们帮忙看看是哪里出了问题。
ntp_crypto.c:1613:31: error: 'RSA_PKCS1_OAEP_PADDING' undeclared (first use in this function) EVP_PKEY_get0_RSA(pkey), RSA_PKCS1_OAEP_PADDING) <= 0) { ^~~~~~~~~~~~~~~~~~~~~~ ntp_crypto.c: In function 'crypto_alice2': ntp_crypto.c:2516:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion] if ((rsa = EVP_PKEY_get0_RSA(peer->ident_pkey->pkey)) == NULL)
-
回复: 新手求助!MQR-T113编译的LED内核驱动没有出现在/dev里面。
@whycan晕哥 晕哥好,教程地址是 https://v853.docs.aw-ol.com/soft/dev_gpio/ ,里面是没有设置gpio的设备树的,刚接触不太懂,大概要怎么改呢?
-
新手求助!MQR-T113编译的LED内核驱动没有出现在/dev里面。
按照V853的在线文档的GPIO内核驱动教程,一步一步来,按照教程,led.c已经被编译了
但是烧录固件后没有在/dev里面发现驱动,用的是mango最新的固件,求大佬看看大概是出了啥问题。
-
回复: T113用gui-guider生成lvgl只显示一点内容
@name_10____231 这个帖子是我发在whycan的,有点奇怪为啥会在这里
总得来说就是要把generated的文件放进工程内,如果你的custom里面有你设置的文件也要加进去,其次就是更改.mk文件夹,将里面的.mk路径改成你的工程对应的目录路径就可以了。 -
回复: MQ-T113使用xboot驱动GT911时中断无法使用
@steward 啊啊啊,谢谢你的解决方法,我一直没怀疑是xboot中断设置问题,还在抓I2C信号,感谢你的解决方法,真心感谢XD
-
回复: MQ-T113使用xboot驱动GT911时中断无法使用
@steward 是RST和INT引脚的时序,我直接用XBOOT主线上的程序调不通,网络上有说这两个引脚的时序问题会影响GT911的启动,现在我主要是排查I2C通信的问题,发现读触摸数据寄存器也读不通还是在排查过程中,不过还是你的谢谢回答
-
回复: MQ-T113使用xboot驱动GT911时中断无法使用
@steward 感谢大佬的回答:),触控的信息是可以读取的,现在正打算用单片机发送这些数据看看能不能正常工作@_@
-
MQ-T113使用xboot驱动GT911时中断无法使用
大佬们好,我使用xboot主线里的gt911驱动,发现无法使用触摸屏(在tina里面是可以用的),后来用逻辑分析仪发现rst和int的启动时序和tina里面的不一样,我猜测是启动时序出了问题,因为我也没自己写过gt911的驱动,麻烦各位大佬帮我看看启动时序有啥问题。
gpio_set_cfg(rst, rstcfg); gpio_set_pull(rst, GPIO_PULL_UP); gpio_set_direction(rst, GPIO_DIRECTION_OUTPUT); gpio_set_value(rst, 0); mdelay(10); gpio_set_pull(gpio, GPIO_PULL_UP); gpio_set_direction(gpio, GPIO_DIRECTION_OUTPUT); gpio_set_value(gpio, 1); udelay(100); gpio_set_value(rst, 1); mdelay(5);
逻辑分析仪结果如下,触摸时没有变化
我改成了gpio_set_cfg(rst, rstcfg); gpio_set_direction(rst,GPIO_DIRECTION_OUTPUT); gpio_set_direction(gpio,GPIO_DIRECTION_OUTPUT); gpio_set_value(rst,0); gpio_set_value(gpio,1); udelay(200); gpio_set_value(rst,1); mdelay(6); gpio_set_value(gpio,0); mdelay(55); gpio_set_direction(gpio, GPIO_DIRECTION_INPUT); gpio_set_pull(gpio, GPIO_PULL_NONE); mdelay(50);
时序如下,感觉出现了异常,我尝试根据网上的程序修改,但是并没有驱动成功,求求大佬们看看是哪里出了问题。