@wjp2547532
怎么识别不到的?

whycan 发布的帖子
-
回复: 配置ts_uinput后,在编译的固件中没有ts_uinput
@damifan110
那可能有bug,跟踪一下编译脚本。或者自己下载tslib编译一个,复制到 target/ 目录下板级文件夹rootfs对应的 /usr/bin 目录。 -
回复: V853无法烧写固件
一个简单的LVGL仪表demo@V853官方开发板
https://bbs.aw-ol.com/topic/2762/share/3烧这个固件试一试
-
回复: 全志V851S SDK编译错误 Prerequisite check failed. Use FORCE=1 to override.
@mysteryli
source是把一堆环境变量导入当前shell -
回复: v853编译打包pack时出现Segmentation fault错误
那试一试 tools/pack/pctools/linux/openssl/dragonsecboot 能否正常运行?
-
回复: v853编译打包pack时出现Segmentation fault错误
sudo apt-get install build-essential subversion git-core repo libncurses5-dev zlib1g-dev \ gawk flex quilt libssl-dev xsltproc libxml-parser-perl \ mercurial bzr ecj cvs unzip lib32z1 lib32z1-dev lib32stdc++6 libstdc++6 \ libncurses-dev zlib1g-dev gawk openssl libssl-dev linux-tools-common gperf -y
-
回复: 请问V853 开发板 IR-CUT 怎么开关?
cd /sys/kernel/debug/sunxi_pinctrl echo PD14 1 > function #ENB echo PD13 1 > function #FBC echo PD14 0 > data #开始控制 echo PD13 0 > data #正转 echo PD13 1 > data #反转 echo PD14 1 > data #释放
释放后 IR-CUT 不再发热
-
V853 LVGL app添加slider change调节屏幕亮度回调事件
diff --git a/demos/widgets/lv_demo_widgets.c b/demos/widgets/lv_demo_widgets.c index 839b999c0..d2a6f4ac5 100644 --- a/demos/widgets/lv_demo_widgets.c +++ b/demos/widgets/lv_demo_widgets.c @@ -304,6 +304,8 @@ static void profile_create(lv_obj_t * parent) lv_obj_add_style(experience_label, &style_text_muted, 0); lv_obj_t * slider1 = lv_slider_create(panel3); + lv_slider_set_range(slider1, 0, 255); + lv_slider_set_value(slider1, 255, LV_ANIM_ON); lv_obj_set_width(slider1, LV_PCT(95)); lv_obj_add_event_cb(slider1, slider_event_cb, LV_EVENT_ALL, NULL); lv_obj_refresh_ext_draw_size(slider1); @@ -1275,14 +1277,24 @@ static void calendar_event_cb(lv_event_t * e) static void slider_event_cb(lv_event_t * e) { + char cmd[512]; lv_event_code_t code = lv_event_get_code(e); lv_obj_t * obj = lv_event_get_target(e); + int32_t value = lv_slider_get_value(obj); if(code == LV_EVENT_REFR_EXT_DRAW_SIZE) { lv_coord_t * s = lv_event_get_param(e); *s = LV_MAX(*s, 60); } + else if(code == LV_EVENT_VALUE_CHANGED) + { + memset(cmd, sizeof(cmd), 0); + snprintf(cmd, sizeof(cmd)-1, "cd /sys/kernel/debug/dispdbg; echo lcd0 > name; echo setbl > command; echo %d > param; echo 1 > start\n", value); + system(cmd); + printf(cmd); + } else if(code == LV_EVENT_DRAW_PART_END) { + lv_obj_draw_part_dsc_t * dsc = lv_event_get_param(e); if(dsc->part == LV_PART_KNOB && lv_obj_has_state(obj, LV_STATE_PRESSED)) { char buf[8];
-
回复: T113-Pro+lvgl如何实现多点触控对图片进行放大缩小查看
@techxie123
https://github.com/lvgl/lvgl/issues/500kisvegabor commented on Nov 28, 2018
Yes, LittlevGL doesn't support multi touch because there is nothing to use it for. Zoom and rotate could be a good purpose but they are not implemented.
是的,LittlevGL 不支持多点触控,因为没有什么用。缩放和旋转可能是一个很好的目的,但它们没有实现。
-
回复: V851s最小系统板(啥资源也没有)安排上了
@mysteryli
先 检测 3.3V与核心0.9v是否正常,确认 3.9, 0.9 对地 无短路 。确认 芯片背面焊接良好 ,确认无误 连接 debug 串口 按复位 能看到CCC 。
-
回复: 全志v853没有启用/dev/mem
@zealsoft
make kernel_menuconfig按 / 搜索 /dev/mem 找到这个选项,勾选重新make&pack即可。
-
回复: tina d1 开机屏上下反
@anruliu 在 tina d1 开机屏上下反 中说:
@chdeng1 可以拍照看下是怎么相反的,如果只是需要旋转屏幕的功能,可以在应用层旋转。
RGB的LCD一般是通过default_pannel.c点亮,去掉当然不行了。一般uboot和kernel显示开机log,可以自己把开机log旋转后再打包放进去,应用层的旋转一般是用UI框架来旋转。如果是用lvgl,那么就可以选上LVGL8_USE_SUNXIFB_G2D_ROTATE 这个配置,应用初始化的时候调用sunxifb_init(rotated),rotated就是要旋转的角度
-
回复: D1S刷机识别不到设备
烧录的时候串口有输出的,得检查一下原因。
也支持TF卡启动,用烧卡软件烧录就行。
W25N01 FLASH:https://item.taobao.com/item.htm?id=671719430455
-
回复: 使用ssh命令测试公钥成功,但下载需要输入密码
试一试这个命令: git clone ssh://whycan@sdk.allwinnertech.com/git_repo/D1_Tina_Open/tina-d1-h/lichee/device/config/d1 (记得替换用户名)
whycan@ubuntu:/tmp$ git clone ssh://whycan@sdk.allwinnertech.com/git_repo/D1_Tina_Open/tina-d1-h/lichee/device/config/d1 Cloning into 'd1'... remote: Counting objects: 69, done. remote: Compressing objects: 100% (66/66), done. remote: Total 69 (delta 15), reused 0 (delta 0) Receiving objects: 100% (69/69), 779.32 KiB | 3.00 MiB/s, done. Resolving deltas: 100% (15/15), done.
-
回复: D1s 的 usb host 口插U盘正常,插键盘没有生成 /dev/input/event* ,这个怎么解决呢?
CONFIG_USB_KBD
CONFIG_USB_MOUSE -
回复: 第一次调试D1 MIPI DSI 发现一些奇怪问题,也不知道到底是哪里出了问题。。。
我前面驱动mipi屏也出现这个问题,后来发现是排线拔插次数多废了,换一根新排线就好了。
-
回复: D1-h启动softap_up失败
if [ -n "/opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61" ]; t hen make -C /opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61 M= /opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/xtables-addons-2.10/extensi ons modules; fi; make[7]: Entering directory '/opt/D1/tina_d1_open_v2_for_whycanpi/lichee/linux-5.4' CC [M] /opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/xtables-addons-2. 10/extensions/ACCOUNT/xt_ACCOUNT.o In file included from /opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/xtabl es-addons-2.10/extensions/ACCOUNT/xt_ACCOUNT.c:35: /opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/xtables-addons-2.10/extensi ons/ACCOUNT/../compat_xtables.h: In function 'par_net': /opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/xtables-addons-2.10/extensi ons/ACCOUNT/../compat_xtables.h:86:12: error: 'const struct xt_action_param' has no member named 'net' return par->net; ^~ scripts/Makefile.build:286: recipe for target '/opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/tar get/linux-d1s-nezha/xtables-addons-2.10/extensions/ACCOUNT/xt_ACCOUNT.o' failed make[9]: *** [/opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/xtables-addon s-2.10/extensions/ACCOUNT/xt_ACCOUNT.o] Error 1 scripts/Makefile.build:556: recipe for target '/opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/tar get/linux-d1s-nezha/xtables-addons-2.10/extensions/ACCOUNT' failed make[8]: *** [/opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/xtables-addon s-2.10/extensions/ACCOUNT] Error 2 Makefile:1810: recipe for target '/opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s -nezha/xtables-addons-2.10/extensions' failed make[7]: *** [/opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/xtables-addon s-2.10/extensions] Error 2 make[7]: Leaving directory '/opt/D1/tina_d1_open_v2_for_whycanpi/lichee/linux-5.4' Makefile:456: recipe for target 'modules' failed make[6]: *** [modules] Error 2 make[6]: Leaving directory '/opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s-nezha /xtables-addons-2.10/extensions' Makefile:492: recipe for target 'all-recursive' failed make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory '/opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s-nezha /xtables-addons-2.10' Makefile:377: recipe for target 'all' failed make[4]: *** [all] Error 2 make[4]: Leaving directory '/opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s-nezha /xtables-addons-2.10' Makefile:128: recipe for target '/opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s- nezha/xtables-addons-2.10/.built' failed make[3]: *** [/opt/D1/tina_d1_open_v2_for_whycanpi/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/xtables-addon s-2.10/.built] Error 2 make[3]: Leaving directory '/opt/D1/tina_d1_open_v2_for_whycanpi/package/network/utils/xtables-addons' package/Makefile:192: recipe for target 'package/network/utils/xtables-addons/compile' failed make[2]: *** [package/network/utils/xtables-addons/compile] Error 2
一顿骚操作勾选各种模块,编译失败,不折腾了,还是 buildroot 用着舒服。