您尚未登录。

#1 Re: 技术人生/软件使用技巧/破解经验/技术吐槽/灌水 » Shipping problems … continue » 2023-01-20 09:35:32

都说不建议你到中国买东西,你还是厚着脸皮买了三年,一边骂骗子,一边买买买,没见过这么不要脸的.

奥斯曼帝国,苏联帝国先后奴役的国家,居然有脸搞种族歧视,滚远点!

#2 Re: 全志 SOC » 开源全志V3S 两层板PCB 支持OV7725 OV2640摄像头 » 2021-01-19 09:54:50

varzhou 说:
varzhou 说:
Kevincoooool 说:

PCB和原理图都在Github

可以吧uboot和kernel以及文件系统的配置一起github吗? 你共享那些有些不清晰哈

uboot和kernel直接上源码吧,不大,buildroot就上配置就好了,哈哈哈,白嫖党

辣个不是有了么:

br2配置文件: https://github.com/Kevincoooool/KS_V3S/blob/main/Buildroot/ksdiy.config

linux zImage & 设备树: https://github.com/Kevincoooool/KS_V3S/tree/main/Kernel

u-boot bin: https://github.com/Kevincoooool/KS_V3S/tree/main/Uboot

NES模拟器与游戏文件: https://github.com/Kevincoooool/KS_V3S/tree/main/Nes

硬件: https://github.com/Kevincoooool/KS_V3S/tree/main/Hardware

#3 Re: NB-IoT/2G模块/4G模块/GPRS模块/GPS/北斗 » 自个电脑的浏览器,只能查看阿里云物联网的隔天日志,其它电脑能查到即时的日志。 » 2020-12-21 17:59:02

达克罗德 说:

估计是某个cookie导致的,等cookie过期就能看到了。这种问题清理一下cookie就能解决。就是不知道不同浏览器是否也是共享同一个cookie,以前类似问题不记得换浏览器是否可以解决

开始我也觉得是浏览器日志问题, 后来看到每个浏览器都不行, 这估计不是日志问题了, 看看是不是dns问题?

#8 Re: 全志 SOC » 投屏软件scrcpy在Linux上的移植(porting scrcpy to linux) » 2020-11-27 09:38:17

2020-11-27_093000.png

diff --git a/QtScrcpy/QtScrcpy.pro b/QtScrcpy/QtScrcpy.pro
index 0afdc4e..d0ba2cd 100644
--- a/QtScrcpy/QtScrcpy.pro
+++ b/QtScrcpy/QtScrcpy.pro
@@ -142,7 +142,7 @@ win32 {
     QMAKE_POST_LINK += $$quote($$QMAKE_COPY $$WIN_FFMPEG_SRC $$WIN_DST$$escape_expand(\n\t))
 
     # windows rc file
-    RC_FILE = $$PWD/res/QtScrcpy.rc
+    #RC_FILE = $$PWD/res/QtScrcpy.rc
 }
 
 # ***********************************************************
diff --git a/QtScrcpy/adb/adbprocess.cpp b/QtScrcpy/adb/adbprocess.cpp
index ad14835..7af3685 100644
--- a/QtScrcpy/adb/adbprocess.cpp
+++ b/QtScrcpy/adb/adbprocess.cpp
@@ -1,4 +1,4 @@
-#include <QCoreApplication>
+#include <QCoreApplication>
 #include <QDebug>
 #include <QDir>
 #include <QFileInfo>
@@ -116,9 +116,9 @@ QStringList AdbProcess::getDevicesSerialFromStdOut()
 {
     // get devices serial by adb devices
     QStringList serials;
-    QStringList devicesInfoList = m_standardOutput.split(QRegExp("\r\n|\n"), Qt::SkipEmptyParts);
+    QStringList devicesInfoList = m_standardOutput.split(QRegExp("\r\n|\n"), QString::SkipEmptyParts);
     for (QString deviceInfo : devicesInfoList) {
-        QStringList deviceInfos = deviceInfo.split(QRegExp("\t"), Qt::SkipEmptyParts);
+        QStringList deviceInfos = deviceInfo.split(QRegExp("\t"), QString::SkipEmptyParts);
         if (2 == deviceInfos.count() && 0 == deviceInfos[1].compare("device")) {
             serials << deviceInfos[0];
         }
diff --git a/QtScrcpy/device/controller/inputconvert/inputconvertnormal.cpp b/QtScrcpy/device/controller/inputconvert/inputconvertnormal.cpp
index 63924e1..6362231 100644
--- a/QtScrcpy/device/controller/inputconvert/inputconvertnormal.cpp
+++ b/QtScrcpy/device/controller/inputconvert/inputconvertnormal.cpp
@@ -1,4 +1,4 @@
-#include <cmath>
+#include <cmath>
 
 #include "inputconvertnormal.h"
 
@@ -59,7 +59,7 @@ void InputConvertNormal::wheelEvent(const QWheelEvent *from, const QSize &frameS
     qint32 vScroll = from->angleDelta().y() == 0 ? 0 : from->angleDelta().y() / abs(from->angleDelta().y()) * 2;
 
     // pos
-    QPointF pos = from->position();
+    QPointF pos = from->posF();
     // convert pos
     pos.setX(pos.x() * frameSize.width() / showSize.width());
     pos.setY(pos.y() * frameSize.height() / showSize.height());
diff --git a/QtScrcpy/device/ui/videoform.cpp b/QtScrcpy/device/ui/videoform.cpp
index 36a6ef4..7fb9468 100644
--- a/QtScrcpy/device/ui/videoform.cpp
+++ b/QtScrcpy/device/ui/videoform.cpp
@@ -1,4 +1,4 @@
-#include <QDesktopWidget>
+#include <QDesktopWidget>
 #include <QFileInfo>
 #include <QLabel>
 #include <QMessageBox>
@@ -611,13 +611,13 @@ void VideoForm::mouseDoubleClickEvent(QMouseEvent *event)
 
 void VideoForm::wheelEvent(QWheelEvent *event)
 {
-    if (m_videoWidget->geometry().contains(event->position().toPoint())) {
+    if (m_videoWidget->geometry().contains(event->posF().toPoint())) {
         if (!m_device) {
             return;
         }
-        QPointF pos = m_videoWidget->mapFrom(this, event->position().toPoint());
+        QPointF pos = m_videoWidget->mapFrom(this, event->posF().toPoint());
         QWheelEvent wheelEvent(
-            pos, event->globalPosition(), event->pixelDelta(), event->angleDelta(), event->buttons(), event->modifiers(), event->phase(), event->inverted());
+            pos, event->globalPosF(), event->pixelDelta(), event->angleDelta(), event->buttons(), event->modifiers(), event->phase(), event->inverted());
         emit m_device->wheelEvent(&wheelEvent, m_videoWidget->frameSize(), m_videoWidget->size());
     }
 }
diff --git a/QtScrcpy/dialog.cpp b/QtScrcpy/dialog.cpp
index e5f6827..d143f67 100644
--- a/QtScrcpy/dialog.cpp
+++ b/QtScrcpy/dialog.cpp
@@ -1,4 +1,4 @@
-#include <QDebug>
+#include <QDebug>
 #include <QFile>
 #include <QFileDialog>
 #include <QKeyEvent>
@@ -137,7 +137,7 @@ void Dialog::execAdbCmd()
     }
     QString cmd = ui->adbCommandEdt->text().trimmed();
     outLog("adb " + cmd, false);
-    m_adb.execute(ui->serialBox->currentText().trimmed(), cmd.split(" ", Qt::SkipEmptyParts));
+    m_adb.execute(ui->serialBox->currentText().trimmed(), cmd.split(" ", QString::SkipEmptyParts));
 }
 
 QString Dialog::getGameScript(const QString &fileName)

Qt5.12.3 mingw64 可以编译成功 ^_^

#9 Re: 全志 SOC » 请问一下,X3开发板有没有人实现过在启动的时候加入一个启动进度条???? » 2020-10-29 11:02:57

redstar 说:

请问linux驱动可以访问bootargs参数吗?我想传递几个参数给这个进度条驱动程序。

$ find . |grep cmdline |grep \\.h$
./block/partitions/cmdline.h
./kernel/printk/console_cmdline.h
./include/config/fb/cmdline.h
./include/config/cmdline/from/bootloader.h
./include/config/mtd/cmdline/parts.h
./include/config/cmdline.h
./include/config/arm/atag/dtb/compat/cmdline/from/bootloader.h
./include/linux/cmdline-parser.h
./arch/x86/include/asm/cmdline.h
$ find . |grep cmdline |grep \\.c$
./block/cmdline-parser.c
./block/partitions/cmdline.c
./fs/proc/cmdline.c
./drivers/video/fbdev/core/fb_cmdline.c
./drivers/mtd/cmdlinepart.c
./arch/x86/boot/cmdline.c
./arch/x86/boot/compressed/cmdline.c
./arch/x86/lib/cmdline.c
./arch/mips/loongson64/common/cmdline.c
./arch/mips/fw/arc/cmdline.c
./arch/mips/fw/lib/cmdline.c
./arch/mips/dec/prom/cmdline.c
./lib/cmdline.c

可以从这里面找代码

#10 Re: 全志 SOC » buildroot-tiny200 (F1C100/200s) 开发包近期更新内容 * 已支持DVP摄像头 *,支持SPI NAND » 2020-10-28 21:31:20

xpf170702031 说:

@aodzip 大神,我的板子使用buildroot-tiny200编译的镜像,flash-mmc-all.sh 烧写到SD卡,然后插上SD卡(对应MMC0)上电,系统没有反应,必须插上USB_DEVICE线,系统才能启动,请问是什么原因啊?

电源有问题?

#12 Re: 技术人生/软件使用技巧/破解经验/技术吐槽/灌水 » 我用一条命令就把哇酷网备份了, web.archive.org 时光机(wayback)你值得拥有. » 2020-10-22 14:49:48

wayback.sh

#!/bin/bash

BEGIN=1
END=6000

for i in $(seq $BEGIN $END); do echo $i; done | xargs -i curl https://web.archive.org/save/https://whycan.com/t_{}.html

做成脚本执行

#14 Re: VMWare/Linux/Ubuntu/Fedora/CentOS/U-BOOT » 请问linux平台下有没什么api能够获取当前进程用了多少内存的 » 2020-10-21 11:49:29

http://hutaow.com/blog/2014/08/28/display-process-memory-in-linux/

VmPeak	进程所使用的虚拟内存的峰值
VmSize	进程当前使用的虚拟内存的大小
VmLck	已经锁住的物理内存的大小(锁住的物理内存不能交换到硬盘)
VmHWM	进程所使用的物理内存的峰值
VmRSS	进程当前使用的物理内存的大小
VmData	进程占用的数据段大小
VmStk	进程占用的栈大小
VmExe	进程占用的代码段大小(不包括库)
VmLib	进程所加载的动态库所占用的内存大小(可能与其它进程共享)
VmPTE	进程占用的页表大小(交换表项数量)
VmSwap	进程所使用的交换区的大小

举例
显示进程cron的内存信息,通过pidof cron获取进程ID,或者通过ps -aux | grep cron查找进程ID。

$ cat /proc/1161/status
Name:   cron
State:  S (sleeping)
Tgid:   1161
Ngid:   0
Pid:    1161
PPid:   1
TracerPid:  0
Uid:    0   0   0   0
Gid:    0   0   0   0
FDSize: 64
Groups: 0 
VmPeak:    23792 kB
VmSize:    23656 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:      1040 kB
VmRSS:      1004 kB
VmData:      260 kB
VmStk:       136 kB
VmExe:        40 kB
VmLib:      2668 kB
VmPTE:        72 kB
VmSwap:        0 kB
Threads:    1
SigQ:   0/15442
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000000000
SigCgt: 0000000000010001
CapInh: 0000000000000000
CapPrm: 0000001fffffffff
CapEff: 0000001fffffffff
CapBnd: 0000001fffffffff
Seccomp:    0
Cpus_allowed:   3
Cpus_allowed_list:  0-1
Mems_allowed:   00000000,00000001
Mems_allowed_list:  0
voluntary_ctxt_switches:    151
nonvoluntary_ctxt_switches: 0

#15 Re: 全志 SOC » 分享一下我知道的 aodzip tiny200 buildroot patch dfu windows 更新固件 » 2020-10-09 21:07:51

aodzip 说:

不是很完美,我补充几句
1. Zadig只要VID PID写对了就可以安装成功驱动,不需要一定要电脑先发现DFU设备,也就是可以完全不插设备就可以实现安装驱动。
2. 这50秒每次板子上电都需要等,不值得,一般电脑给3秒钟足够了。
3. Linux免驱,不用这么折腾

感谢大佬指点, 一开始就是usb 设备一闪而过zadig安装驱动总是失败, 所以不得不出此下策.

#16 全志 SOC » 分享一下我知道的 aodzip tiny200 buildroot patch dfu windows 更新固件 » 2020-10-09 17:31:39

农夫三拳
回复: 11

1. 修改 ./board/allwinner/suniv-f1c100s/uboot.env
    建议把 dfu_wait_timeout=5 改为 dfu_wait_timeout=30
   
    然后执行 ./rebuild-uboot.sh & ./rebuild-kernel.sh

2. 烧录 TF卡镜像, USB线插入OTG口重启, 串口出现musb-hdrc: peripheral reset irq lost!时使用zadig安装libusb驱动程序

U-Boot 2020.07 (Oct 09 2020 - 17:01:22 +0800) Allwinner Technology

CPU:   Allwinner F Series (SUNIV)
Model: Allwinner F1C100s Generic Device
DRAM:  64 MiB
MMC:   mmc@1c0f000: 0, mmc@1c10000: 1
Setting up a 800x480 lcd console (overscan 0x0)
In:    serial
Out:   vga
Err:   vga
Allwinner mUSB OTG (Peripheral)
Hit any key to stop autoboot:  0
Booting from FEL...
unknown raw ID 82e625a8
List of MTD devices:
No MTD device found
SF: Detected w25q128 with page size 256 Bytes, erase size 4 KiB, total 16 MiB
DFU waiting on SPI-NOR...
musb-hdrc: peripheral reset irq lost!

2020-10-09_172803.png


3. 执行烧录命令: "D:\aabb\dfu-util-0.9-win64\dfu-util-static.exe" -R -a all -D sysimage-nor.img 

2020-10-09_173018.png






buildroot-tiny200 (F1C100/200s) 开发包近期更新内容 * 已支持DVP摄像头 *
http://whycan.com/t_5221.html
(出处:哇酷开发者社区【全志 V3S/F1C100s/X3】)

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn