@aldfaaa OTG接口连电脑,修改之前只有用flash可以这么烧录,用tf卡要拔卡用读卡器烧录。按键楼主的方法修改后,用tf卡也能直接OTG烧录。
H
huanian 发布的帖子
-
回复: 因为喜欢用ADB,因为不喜欢插拔TF卡,所以D1直接用PhoenixSuit烧录TF(SDNAND)
-
LonganSDK如何配置mipi屏幕驱动
T113芯片配置MIPI屏幕,设备树参照芒果的教程(https://bbs.aw-ol.com/topic/808/小麻雀直接驱动树莓派的dsi屏)已改,但是编译好不亮屏。查手册有说到要修改内核配置。
手册上说是这个路径:
这是我的配置界面,没有该项可选
-
芒果MQ-R t113-S3功耗真的低
芒果MQ-R t113-S3 + 800X480 4.3寸屏(亮度50%)电源输入显示5V 0.16A,整机功耗基本就是1W以内。接一个2500mah电池,待机可以达到5个小时 -
回复: QT时钟程序报不能加载.so库
@yuzukitsuru 感谢回复,我自己摸索解决了。
我用LonganSDK,参照/etc/init.d/rcS里的开机启动脚本,用下面这个指令可以正常启动QT的app# /etc/qtenv.sh & ./analogclock
[1] 16558 /etc/qtenv.sh: line 17: [: too many arguments add /dev/input/event5 to Qt Application. find qt5 installed done xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb Failed to create xkb context
这个xkbcommon: ERROR 报错不影响使用,就没管他
-
QT时钟程序报不能加载.so库
这是t113 linux下的错误提示:
# ./analogclock ./analogclock: error while loading shared libraries: libQt5Gui.so.5: cannot open shared object file: No such file or directory
此文件是存在的
# cd /usr/local/Qt_5.12.5/lib/ # find ./ -name libQt5Gui.so.5 ./libQt5Gui.so.5 #
在PC端查看的analogclock的文件属性:
$ file analogclock analogclock: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 3.2.0, BuildID[sha1]=619b54200f46c1ace574d1d6bd79ada7441318e4, with debug_info, not stripped $ readelf -d analogclock File: analogclock Dynamic section at offset 0x31ac contains 31 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libQt5Gui.so.5] 0x00000001 (NEEDED) Shared library: [libQt5Core.so.5] 0x00000001 (NEEDED) Shared library: [libpthread.so.0] 0x00000001 (NEEDED) Shared library: [libstdc++.so.6] 0x00000001 (NEEDED) Shared library: [libm.so.6] 0x00000001 (NEEDED) Shared library: [libgcc_s.so.1] 0x00000001 (NEEDED) Shared library: [libc.so.6] 0x0000000f (RPATH) Library rpath: [/usr/local/Qt-5.12.5/lib] 0x0000000c (INIT) 0x11ea4 0x0000000d (FINI) 0x12cac 0x00000019 (INIT_ARRAY) 0x23000 0x0000001b (INIT_ARRAYSZ) 4 (bytes) 0x0000001a (FINI_ARRAY) 0x23004 0x0000001c (FINI_ARRAYSZ) 4 (bytes) 0x00000004 (HASH) 0x1018c 0x00000005 (STRTAB) 0x10d78 0x00000006 (SYMTAB) 0x10698 0x0000000a (STRSZ) 3253 (bytes) 0x0000000b (SYMENT) 16 (bytes) 0x00000015 (DEBUG) 0x0 0x00000003 (PLTGOT) 0x232cc 0x00000002 (PLTRELSZ) 712 (bytes) 0x00000014 (PLTREL) REL 0x00000017 (JMPREL) 0x11bdc 0x00000011 (REL) 0x11bbc 0x00000012 (RELSZ) 32 (bytes) 0x00000013 (RELENT) 8 (bytes) 0x6ffffffe (VERNEED) 0x11b0c 0x6fffffff (VERNEEDNUM) 5 0x6ffffff0 (VERSYM) 0x11a2e 0x00000000 (NULL) 0x0
-
mq-r t113 开启gt9xx触摸屏不生效上电报错日志,
mq-r t113 开启gt9xx触摸屏不生效上电报错日志,有大佬帮忙看看吗?
MQ-R 触摸屏挂在iic2 ,原理图
/device/config/chips/t113/configs/evb1_auto/board.dts 配置如下,不确定PB2 PB3这样配置对不对
&twi2 { clock-frequency = <400000>; pinctrl-0 = <&twi2_pins_a>; pinctrl-1 = <&twi2_pins_b>; pinctrl-names = "default", "sleep"; /*twi_drv_used = <1>; */ dmas = <&dma 45>, <&dma 45>; dma-names = "tx", "rx"; status = "okay"; ctp@14 { compatible = "allwinner,goodix"; device_type = "ctp"; reg = <0x14>; status = "okay"; ctp_name = "gt9xxnew_ts"; ctp_twi_id = <0x2>; ctp_twi_addr = <0x14>; ctp_screen_max_x = <0x320>; ctp_screen_max_y = <0x1E0>; ctp_revert_x_flag = <0x0>; ctp_revert_y_flag = <0x0>; ctp_exchange_x_y_flag = <0x0>; ctp_int_port = <&pio PB 3 GPIO_ACTIVE_HIGH>; ctp_wakeup = <&pio PB 2 GPIO_ACTIVE_HIGH>; }; };
[ 5.020379] hub 2-0:1.0: USB hub found [ 5.024809] hub 2-0:1.0: 1 port detected [ 5.072298] get ctp_power is fail, -22 [ 5.076654] get ctp_power_ldo_vol is fail, -22 [ 5.081656] sunxi_ctp_startup: ctp_power_io is invalid. [ 5.087588] get ctp_gesture_wakeup fail, no gesture wakeup [ 5.093781] gt9xxnew_ts 2-0014: 2-0014 supply ctp not found, using dummy regulator [ 5.102580] wakeup gpio_request is failed [ 5.107079] startup:ctp_ops.input_sensor_init err. [ 5.112480] can not startup device! [ 5.116395] regulator-dummy: Underflow of regulator enable count [ 5.123165] regulator-dummy: Underflow of regulator enable count [ 5.130121] gt9xxnew_ts: probe of 2-0014 failed with error -1 [ 5.147897] vin_csi 5801000.csi: Adding to iommu group 0 [ 5.229924] sunxi-vin-core 5809000.vinc: Adding to iommu group 0 [ 5.253641] sunxi-vin-core 5809200.vinc: Adding to iommu group 0 [ 5.282072] [VIN_WARN]get csi isp clk fail [ 5.286750] [VIN_WARN]get csi isp src clk fail [ 5.291737] [VIN_WARN]get csi mipi clk fail [ 5.296453] [VIN_WARN]get csi mipi src clk fail [ 5.301570] [VIN_WARN]get csi isp clk fail [ 5.306197] [VIN_WARN]Get isp reset control fail
已找到报错的对应代码
-
回复: T113 如何同时输出开机log 到lcd和串口?
@captain D1咋把控制台弄到hdmi上呢?
https://bbs.aw-ol.com/topic/1320/share/4 参照这个设置好menuconfig