@jihuacheng 是USB接口吗?

whycan 发布的帖子
-
回复: 全志V583交叉编译中编译工具和交叉工具链如何设置?
用这个命令 *find $PWD -name -gcc -type f 查找一下:
whycan@ubuntu:/opt/V85x/tina-v853-open$ find $PWD -name *-gcc -type f /opt/V85x/tina-v853-open/out/toolchain/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc /opt/V85x/tina-v853-open/brandy/brandy-2.0/tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc /opt/V85x/tina-v853-open/prebuilt/rootfsbuilt/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf-gcc
-
回复: 全志D1 原理图问题
@lgkgkfg
UD1 的SCS1接的是UD2的CS0,其他标出的同理,有控制器不会乱套。一定要两个单die的ddr3才能这样接。或者只能接一个双die的ddr3。因为d1的数据线只有8位,所以不能外扩接更大内存。
-
回复: 全志D1 原理图问题
@lgkgkfg
UD1的CS0是必接的,也是必贴的,UD2的CS0要在UD1的CS使能后才能用。不可以随便指定其中一片工作(除非改寄存器)。 -
回复: Porject Yosemite - 基于全志V853的开发板
make[3]: Entering directory '/opt/V85x/tina-v853-open/openwrt/openwrt/package/firmware/prism54-firmware' make[3]: Nothing to be done for 'compile'. make[3]: Leaving directory '/opt/V85x/tina-v853-open/openwrt/openwrt/package/firmware/prism54-firmware' time: package/firmware/prism54-firmware/compile#0.11#0.04#0.14 make[3]: Entering directory '/opt/V85x/tina-v853-open/openwrt/openwrt/package/kernel/linux' mkdir -p /opt/V85x/tina-v853-open/openwrt/openwrt/staging_dir/target/root-v853-yosemite/stamp SHELL= flock /opt/V85x/tina-v853-open/openwrt/openwrt/tmp/.root-copy.flock -c 'cp -fpR /opt/V85x/tina-v853-open/out/v853/yosemite/openwrt/build_dir/target/linux-v853-yosemite/packages/.pkgdir/kernel/. /opt/V85x/tina-v853-open/openwrt/openwrt/staging_dir/target/root-v853-yosemite/' touch /opt/V85x/tina-v853-open/openwrt/openwrt/staging_dir/target/root-v853-yosemite/stamp/.kernel_installed ERROR: module '/opt/V85x/tina-v853-open/out/v853/yosemite/openwrt/build_dir/target/linux-v853-yosemite/linux-4.9/drivers/media/platform/sunxi-vin/modules/sensor/ov5648_mipi.ko' is missing. /opt/V85x/tina-v853-open/openwrt/openwrt/target/linux/v853-yosemite/modules.mk:29: recipe for target '/opt/V85x/tina-v853-open/out/v853/yosemite/openwrt/extra/targets/v853-yosemite/generic/packages/kmod-vin-v4l2_4.9-1_arm_cortex-a7_neon.ipk' failed make[3]: *** [/opt/V85x/tina-v853-open/out/v853/yosemite/openwrt/extra/targets/v853-yosemite/generic/packages/kmod-vin-v4l2_4.9-1_arm_cortex-a7_neon.ipk] Error 1 make[3]: Leaving directory '/opt/V85x/tina-v853-open/openwrt/openwrt/package/kernel/linux' time: package/kernel/linux/compile#1.16#0.07#1.24 ERROR: package/kernel/linux failed to build. package/Makefile:114: recipe for target 'package/kernel/linux/compile' failed make[2]: *** [package/kernel/linux/compile] Error 1 make[2]: Leaving directory '/opt/V85x/tina-v853-open/openwrt/openwrt' package/Makefile:110: recipe for target '/opt/V85x/tina-v853-open/openwrt/openwrt/staging_dir/target/stamp/.package_compile' failed make[1]: *** [/opt/V85x/tina-v853-open/openwrt/openwrt/staging_dir/target/stamp/.package_compile] Error 2 make[1]: Leaving directory '/opt/V85x/tina-v853-open/openwrt/openwrt' /opt/V85x/tina-v853-open/openwrt/openwrt/include/toplevel.mk:236: recipe for target 'world' failed make: *** [world] Error 2 make: Leaving directory '/opt/V85x/tina-v853-open/openwrt/openwrt' INFO: build_openwrt_rootfs failed
翻车了,补丁包还缺 ov5648_mipi.c ,麻烦楼主有空更新一下补丁包。
-
回复: f1c200 的 nand-flash怎么分开烧录 uboot dtb kernel
board/allwinner/suniv-f1c100s/genimage-nand.cfg
flash nand-128M { pebsize = 128K numpebs = 1024 minimum-io-unit-size = 2048 } image sysimage-nand.img { flash { } flashtype = "nand-128M" partition u-boot { image = "u-boot-sunxi-with-nand-spl.bin" size = 512K } partition dtb { offset = 0x80000 image = "devicetree.dtb" size = 128K } partition kernel { offset = 0x100000 image = "zImage" size = 7M } partition rom { offset = 0x800000 image = "rootfs.squashfs" } }
-
回复: T507 sdk下载repo init失败
@dongb 在 T507 sdk下载repo init失败 中说:
Please make sure you have the correct access rights
可能是没权限,你可以试一试开放的仓库下载:
repo init -u ssh://whycan@sdk.allwinnertech.com/git_repo/D1_Tina_Open/manifest.git -b master -m tina-d1-h.xml
如果这个仓库下载正常,就联系官方人员.
-
回复: F1C200S官方下载melis2.0的 1.6 boot0不能正常使用
@whycan
可以不用ARMCC编译,改用MDK自带的编译器编译:修改两处即可:
melis2.0-sdk-release\includes\cfgs\CROSSTOOL.CFG
melis2.0-sdk-release\eMod\drv_usbh\func_drv\UVC\Include\videodev2.h
-
回复: F1C200S官方下载melis2.0的 1.6 boot0不能正常使用
我还真测试了一遍,发现果然如楼主所说.
追踪了一下,发现v1.4 v1.6 都是共一个仓库,一个git clone 命令行.
楼主你试一试这个命令强行复位到1.4:
git reset --hard 41a201d4a45247d08486c096ff8ddb503282fb1d -
回复: 在D1的tina上整上overlayfs
@how0723
e2fsprogs 这个包没有编译通过.make menuconfig勾选 e2fsprogs之后,
然后
执行 make package/utils/e2fsprogs/compile 编译
执行make package/utils/e2fsprogs/install安装 -
回复: 用buildroot自带的genimage把tina dragon的活干完,让dragon无活可干。
@captain 在 用buildroot自带的genimage把tina dragon的活干完,让dragon无活可干。 中说:
dsp0
你搜一下 dsp0 有没有用到,如果没有用到,我觉得这样改也没有多大问题.
-
回复: lvgl电阻触摸
可以参考这个帖子: D1S芒果派MQ-R在tina-sdk2.0下无法识别电阻触摸屏
① 用这个先生成校准文件:
TSLIB_TSDEVICE=/dev/input/event0 ts_calibrate
② 后台运行 uinput:
TSLIB_TSDEVICE=/dev/input/event0 ts_uinput
③ 前台执行 测试:
TSLIB_TSDEVICE=/dev/input/event2 ts_test
这个坐标应该是正确的。
注意看环境变量!
-
回复: 开发板ping虚拟机
或者 https://forum.doozan.com/read.php?3,16003,16014,quote=1
setenv dnsip 192.168.0.1 setenv gatewayip 192.168.0.1 setenv netmask 255.255.255.0
-
回复: 没有网络,也通过rz命令可以串口z-modem协议传输文件;没有开发板,在x86电脑上面一样可以跑arm程序。
在x86 ubuntu 上执行arm linux 程序:① sudo apt-get install qemu-user-static
② cp /usr/bin/qemu-arm-static output/target/usr/bin/qemu-arm-static
③ 此处可以为所欲为 -
回复: 司徒gpsp游戏机模拟器源码移植到全志V3s/R11等soc (转)
@yuwei 在 司徒gpsp游戏机模拟器源码移植到全志V3s/R11等soc (转) 中说:
SDL_NOMOUSE=1 输入这个命令再运行 ./gpsp XXX.gba
也可以这样:SDL_NOMOUSE=1 ./gpsp XXX.gba
-
回复: ARM Cortex A7 NEON 指令加速
转载: 数组相加
#include <arm_neon.h> #include <iostream> int main(int argc, char** argv) { unsigned char src0[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15}; unsigned char src1[] = {100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115}; unsigned char dst [] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; uint8x16_t s0 = vld1q_u8(src0); uint8x16_t s1 = vld1q_u8(src1); uint8x16_t d = vaddq_u8(s0, s1); // ここで足し算 vst1q_u8(dst, d); for( auto i = 0;i < 16;i++) { std::cout << i << '\t' << (int)src0[i] << '\t' << (int)src1[i] << '\t' << (int)dst[i] << std::endl; } return 0; }
编译指令:
arm-linux-gnueabihf-g++ -mfpu=neon -o test1 test1.cpp
执行结果:
0 0 100 100 1 1 101 102 2 2 102 104 3 3 103 106 4 4 104 108 5 5 105 110 6 6 106 112 7 7 107 114 8 8 108 116 9 9 109 118 10 10 110 120 11 11 111 122 12 12 112 124 13 13 113 126 14 14 114 128 15 15 115 130
试了一下,果然好用:
-
回复: D1s RTL8723DS 蓝牙起不来,大伙帮我瞅瞅。
start_hci_attach() { h=`ps | grep "$bt_hciattach" | grep -v grep` [ -n "$h" ] && { killall "$bt_hciattach" sleep 1 } #8723ds h5 init echo 0 > /sys/class/rfkill/rfkill0/state; sleep 1 echo 1 > /sys/class/rfkill/rfkill0/state; sleep 1 "$bt_hciattach" -n ttyS1 xradio >/dev/null 2>&1 & sleep 1 wait_hci0_count=0 while true do [ -d /sys/class/bluetooth/hci0 ] && break sleep 1 let wait_hci0_count++ [ $wait_hci0_count -eq 8 ] && { echo "bring up hci0 failed" exit 1 } done }
看到bring up hci0 failed没?你一行一行手动执行这个脚本吧,看卡哪里了.
-
回复: 全志D1-H,官方SDK Tina2.0 移植 ffmpeg (交叉编译成功,运行时出问题)
@zjw123
曲线救国,① 用buildroot设置tina同一个编译器,把生成的文件拷贝过去.
② 或者在pack 命令前把buildroot生成的rootfs image 复制到 tina的rootfs.fex指向的img文件
-
回复: T113-S3 Longan SDK 调试AP6212问题求助
@zhangwei 在 T113-S3 Longan SDK 调试AP6212问题求助 中说:
[ 30.879805] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43362-sdio.allwinner,r528.txt failed with error -2
[ 30.892404] brcmfmac mmc1:0001:1: loading /lib/firmware/brcm/brcmfmac43362-sdio.txt failed with error -22
[ 30.903234] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43362-sdio.txt failed with error -22感觉有可能这里的问题,先把固件复制到文件系统试一试.
-
回复: 求教,关于LicheeRV 86 Panel在tina2.0配置lcd的问题
pin 140 (PE12): UNCLAIMED pin 141 (PE13): UNCLAIMED pin 142 (PE14): UNCLAIMED pin 143 (PE15): UNCLAIMED
感觉你的 st7701s_rgb.c 没有编译,你看下
find . -name st7701s_rgb.o
-
回复: 求教,关于LicheeRV 86 Panel在tina2.0配置lcd的问题
是这个 rgb18_20_pins_a 吗?
但是 LCD0 用得是这个: rgb18_pins_a
-
回复: nv3052cRGB 720*720屏出现花屏,颜色失真,请问是什么原因
@fans168168 在 nv3052cRGB 720*720屏出现花屏,颜色失真,请问是什么原因 中说:
@lovexulu 大佬,高低位反了,是不是和rgb数据线的接法有关
那可能是接法有问题了。
-
回复: nv3052cRGB 720*720屏出现花屏,颜色失真,请问是什么原因
@anruliu 在 nv3052cRGB 720*720屏出现花屏,颜色失真,请问是什么原因 中说:
@fans168168 可以检查下RGB各颜色pin脚是否有复用,导致RGB有些脚没有输出
@fans168168 这个方法不错, 一个一个脚用示波器看下,如果没有信号,可能是被别的功能占用了。
-
回复: 哪吒开发板可用的ICN6211 MIPI转接板开源了
原理图PCB下载: 哪吒开发板_ICN6211_原理图PCB_BOM.rar
单片机I2C初始化代码: icn6211_mcu_init.rar (该单片机可以省略,用soc的MIPI CMD初始化,或者用soc的i2c初始化)
-
回复: 安装repo引导脚本时出错了
https://v853.docs.aw-ol.com/study/study_3getsdk/
如果此时提示 fatal: manifest 'xxxxx.xml' not available ,请检查 repo init -u 后面的初始化地址是否错误
如果此时提示 fatal: empty ident name (for <xxxx>) not allowed 请使用下面的命令配置git用户名与邮箱。
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
-
回复: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)
@rockenergytech
我记得D1s那个板级文件默认是spi nor 配置? -
回复: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)
@rockenergytech
D1 SDK TINA v1.0 / v2.0 默认就是使用 SPI NAND的。