Sipeed Lichee RV 86 Panel 智能家居 中控开发板 支持Linux WAFT
-
-
-
-
-
开箱
-
-
咦,怎么没外壳呢。
喔,补发,还好去看了一下。
-
这下给我挖坑了,这里前不着村后不着店的,哪里去找这个M.2螺丝。
-
垃圾堆翻出了一个螺丝,然后用老虎钳夹了前面一部分,终于把它怼进去了。
-
有线网络正常。
-
意外发现, RX- / RX+ 交换, 网络还能正常工作。
-
-
@jordonwu
孤陋寡闻了,以前只听说过 RX / TX 整组翻转自适应,还不知道 + / - 自适应。 -
rate_lavcrate.c: In function 'pcm_src_init': rate_lavcrate.c:96:19: warning: implicit declaration of function 'av_resample_init'; did you mean 'av_get_sample_fmt'? [-Wimplicit-function-declaration] rate->context = av_resample_init(info->out.rate, info->in.rate, ^~~~~~~~~~~~~~~~ av_get_sample_fmt rate_lavcrate.c:96:17: warning: assignment to 'struct AVResampleContext *' from 'int' makes pointer from integer without a cast [-Wint-conversion] rate->context = av_resample_init(info->out.rate, info->in.rate, ^ rate_lavcrate.c: In function 'pcm_src_convert_s16': rate_lavcrate.c:186:9: warning: implicit declaration of function 'av_resample'; did you mean 'av_rescale'? [-Wimplicit-function-declaration] ret = av_resample(rate->context, rate->out[i], ^~~~~~~~~~~ av_rescale rate_lavcrate.c:194:2: warning: implicit declaration of function 'av_resample_compensate'; did you mean 'av_get_sample_fmt_name'? [-Wimplicit-function-declaration] av_resample_compensate(rate->context, ^~~~~~~~~~~~~~~~~~~~~~ av_get_sample_fmt_name mv -f .deps/rate_lavcrate.Tpo .deps/rate_lavcrate.Plo /bin/bash ../libtool --tag=CC --mode=link riscv64-unknown-linux-gnu-gcc -Wall -g -I/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/usr/include -I/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/usr/include/alsa -I/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/usr/include -DAVCODEC_HEADER="<libavcodec/avcodec.h>" -Os -pipe -mcmodel=medany -mabi=lp64d -march=rv64gcxthead -g3 -fno-caller-saves -Wno-format-truncation -Wno-unused-result -Wl,-z,now -Wl,-z,relro -fpic -pthread -module -avoid-version -export-dynamic -no-undefined -Wl,--no-undefined -L/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/usr/lib -L/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/lib -L/opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/usr/lib -L/opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/lib -znow -zrelro -lm -ldl -o libasound_module_rate_lavcrate.la -rpath /usr/lib/alsa-lib rate_lavcrate.lo -L/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/usr/lib -lasound -L/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/usr/lib -lavcodec -lavutil -lasound OpenWrt-libtool: link: riscv64-unknown-linux-gnu-gcc -shared -fPIC -DPIC .libs/rate_lavcrate.o -L/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/usr/lib -L/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/lib -L/opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/usr/lib -L/opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/lib -lm -ldl -lavcodec -lavutil -lasound -Os -mcmodel=medany -mabi=lp64d -march=rv64gcxthead -Wl,-z -Wl,now -Wl,-z -Wl,relro -pthread -Wl,--no-undefined -pthread -Wl,-soname -Wl,libasound_module_rate_lavcrate.so -o .libs/libasound_module_rate_lavcrate.so /opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/../lib/gcc/riscv64-unknown-linux-gnu/8.1.0/../../../../riscv64-unknown-linux-gnu/bin/ld: .libs/rate_lavcrate.o: in function `pcm_src_convert_s16': /opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/rate-lavc/rate_lavcrate.c:194: undefined reference to `av_resample_compensate' /opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/../lib/gcc/riscv64-unknown-linux-gnu/8.1.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/rate-lavc/rate_lavcrate.c:187: undefined reference to `av_resample' /opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/../lib/gcc/riscv64-unknown-linux-gnu/8.1.0/../../../../riscv64-unknown-linux-gnu/bin/ld: .libs/rate_lavcrate.o: in function `pcm_src_free': /opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/rate-lavc/rate_lavcrate.c:51: undefined reference to `av_resample_close' /opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/../lib/gcc/riscv64-unknown-linux-gnu/8.1.0/../../../../riscv64-unknown-linux-gnu/bin/ld: .libs/rate_lavcrate.o: in function `pcm_src_init': /opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/rate-lavc/rate_lavcrate.c:91: undefined reference to `av_resample_init' collect2: error: ld returned 1 exit status Makefile:419: recipe for target 'libasound_module_rate_lavcrate.la' failed make[6]: *** [libasound_module_rate_lavcrate.la] Error 1 make[6]: Leaving directory '/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/rate-lavc' Makefile:431: recipe for target 'all-recursive' failed make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory '/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4' Makefile:363: recipe for target 'all' failed make[4]: *** [all] Error 2 make[4]: Leaving directory '/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4' Makefile:89: recipe for target '/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/.built' failed make[3]: *** [/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/.built] Error 2 make[3]: Leaving directory '/opt/D1/home/nihao/sdk/tina-d1-open_new/package/libs/alsa-plugins' package/Makefile:192: recipe for target 'package/libs/alsa-plugins/compile' failed make[2]: *** [package/libs/alsa-plugins/compile] Error 2 make[2]: Leaving directory '/opt/D1/home/nihao/sdk/tina-d1-open_new' package/Makefile:189: recipe for target '/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/stamp/.package_compile' failed make[1]: *** [/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/stamp/.package_compile] Error 2 make[1]: Leaving directory '/opt/D1/home/nihao/sdk/tina-d1-open_new' Build failed - please re-run with -j1 to see the real error message /opt/D1/home/nihao/sdk/tina-d1-open_new/build/toplevel.mk:304: recipe for target 'world' failed make: *** [world] Error 1 #### make failed to build some targets (39:16 (mm:ss)) #### ubuntu:/opt/D1/home/nihao/sdk/tina-d1-open_new$
编译出错了。
-
-
TF卡固件下载: tina_d1-sipeed_licheerv_86panel_rgb480x480_uart0_20211226_开机运行lvgl_demo_带触摸.img.7z (SPI NAND FLASH 未测试)
-
发现一个比较棘手的问题,
如果 ST7701s LCD 在 uboot 初始化,那么颜色对不上,而且几乎所有像素点都在抖动,
而且进入Linux之后一直保持这个状态。
但是进入Linux之后用命令行对 LCD进行重新初始化:
mount -t debugfs none /sys/kernel/debug; cd /sys/kernel/debug/dispdbg; echo suspend > command; echo disp0 > name; echo 1 > start echo resume > command; echo disp0 > name; echo 1 > start
那么LCD也正常了,百思不得其解。
参考: 整理一些 D1 / D1s 的 DisplayEngine / LCD / HDMI 常用骚操作
https://whycan.com/t_7726.html#p73690 -
-
-
-
@memory 请问颜色对不上的问题解决了吗?如何解决的?
-
@memory 在 Sipeed Lichee RV 86 Panel 智能家居 中控开发板 支持Linux WAFT 中说:
rate_lavcrate.c: In function 'pcm_src_init': rate_lavcrate.c:96:19: warning: implicit declaration of function 'av_resample_init'; did you mean 'av_get_sample_fmt'? [-Wimplicit-function-declaration] rate->context = av_resample_init(info->out.rate, info->in.rate, ^~~~~~~~~~~~~~~~ av_get_sample_fmt rate_lavcrate.c:96:17: warning: assignment to 'struct AVResampleContext *' from 'int' makes pointer from integer without a cast [-Wint-conversion] rate->context = av_resample_init(info->out.rate, info->in.rate, ^ rate_lavcrate.c: In function 'pcm_src_convert_s16': rate_lavcrate.c:186:9: warning: implicit declaration of function 'av_resample'; did you mean 'av_rescale'? [-Wimplicit-function-declaration] ret = av_resample(rate->context, rate->out[i], ^~~~~~~~~~~ av_rescale rate_lavcrate.c:194:2: warning: implicit declaration of function 'av_resample_compensate'; did you mean 'av_get_sample_fmt_name'? [-Wimplicit-function-declaration] av_resample_compensate(rate->context, ^~~~~~~~~~~~~~~~~~~~~~ av_get_sample_fmt_name mv -f .deps/rate_lavcrate.Tpo .deps/rate_lavcrate.Plo /bin/bash ../libtool --tag=CC --mode=link riscv64-unknown-linux-gnu-gcc -Wall -g -I/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/usr/include -I/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/usr/include/alsa -I/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/usr/include -DAVCODEC_HEADER="<libavcodec/avcodec.h>" -Os -pipe -mcmodel=medany -mabi=lp64d -march=rv64gcxthead -g3 -fno-caller-saves -Wno-format-truncation -Wno-unused-result -Wl,-z,now -Wl,-z,relro -fpic -pthread -module -avoid-version -export-dynamic -no-undefined -Wl,--no-undefined -L/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/usr/lib -L/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/lib -L/opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/usr/lib -L/opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/lib -znow -zrelro -lm -ldl -o libasound_module_rate_lavcrate.la -rpath /usr/lib/alsa-lib rate_lavcrate.lo -L/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/usr/lib -lasound -L/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/usr/lib -lavcodec -lavutil -lasound OpenWrt-libtool: link: riscv64-unknown-linux-gnu-gcc -shared -fPIC -DPIC .libs/rate_lavcrate.o -L/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/usr/lib -L/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/lib -L/opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/usr/lib -L/opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/lib -lm -ldl -lavcodec -lavutil -lasound -Os -mcmodel=medany -mabi=lp64d -march=rv64gcxthead -Wl,-z -Wl,now -Wl,-z -Wl,relro -pthread -Wl,--no-undefined -pthread -Wl,-soname -Wl,libasound_module_rate_lavcrate.so -o .libs/libasound_module_rate_lavcrate.so /opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/../lib/gcc/riscv64-unknown-linux-gnu/8.1.0/../../../../riscv64-unknown-linux-gnu/bin/ld: .libs/rate_lavcrate.o: in function `pcm_src_convert_s16': /opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/rate-lavc/rate_lavcrate.c:194: undefined reference to `av_resample_compensate' /opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/../lib/gcc/riscv64-unknown-linux-gnu/8.1.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/rate-lavc/rate_lavcrate.c:187: undefined reference to `av_resample' /opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/../lib/gcc/riscv64-unknown-linux-gnu/8.1.0/../../../../riscv64-unknown-linux-gnu/bin/ld: .libs/rate_lavcrate.o: in function `pcm_src_free': /opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/rate-lavc/rate_lavcrate.c:51: undefined reference to `av_resample_close' /opt/D1/home/nihao/sdk/tina-d1-open_new/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/../lib/gcc/riscv64-unknown-linux-gnu/8.1.0/../../../../riscv64-unknown-linux-gnu/bin/ld: .libs/rate_lavcrate.o: in function `pcm_src_init': /opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/rate-lavc/rate_lavcrate.c:91: undefined reference to `av_resample_init' collect2: error: ld returned 1 exit status Makefile:419: recipe for target 'libasound_module_rate_lavcrate.la' failed make[6]: *** [libasound_module_rate_lavcrate.la] Error 1 make[6]: Leaving directory '/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/rate-lavc' Makefile:431: recipe for target 'all-recursive' failed make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory '/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4' Makefile:363: recipe for target 'all' failed make[4]: *** [all] Error 2 make[4]: Leaving directory '/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4' Makefile:89: recipe for target '/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/.built' failed make[3]: *** [/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/compile_dir/target/alsa-plugins-1.1.4/.built] Error 2 make[3]: Leaving directory '/opt/D1/home/nihao/sdk/tina-d1-open_new/package/libs/alsa-plugins' package/Makefile:192: recipe for target 'package/libs/alsa-plugins/compile' failed make[2]: *** [package/libs/alsa-plugins/compile] Error 2 make[2]: Leaving directory '/opt/D1/home/nihao/sdk/tina-d1-open_new' package/Makefile:189: recipe for target '/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/stamp/.package_compile' failed make[1]: *** [/opt/D1/home/nihao/sdk/tina-d1-open_new/out/d1-nezha/staging_dir/target/stamp/.package_compile] Error 2 make[1]: Leaving directory '/opt/D1/home/nihao/sdk/tina-d1-open_new' Build failed - please re-run with -j1 to see the real error message /opt/D1/home/nihao/sdk/tina-d1-open_new/build/toplevel.mk:304: recipe for target 'world' failed make: *** [world] Error 1 #### make failed to build some targets (39:16 (mm:ss)) #### ubuntu:/opt/D1/home/nihao/sdk/tina-d1-open_new$
编译出错了。
遇到同样问题, make -j1也没有解决
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号