20250818在荣品的PRO-RK3566开发板跑Buildroot的时候使用在线秒表https://tool.hiofd.com/stopwatch/
20250818在荣品的PRO-RK3566开发板跑Buildroot的时候使用在线秒表https://tool.hiofd.com/stopwatch/
2025/8/18 20:25
缘起:在荣品的PRO-RK3566开发板跑Linux/Buildroot的时候,有些时候需要测试延迟。
于是就有了测试在线秒表的需求。
开发板默认是【8线的】千兆网卡,一般不会卡带。
但是如果你自制的底板使用的是【4线的】百兆网卡,就有可能卡顿了。
可能你需要挑一个网络良好的时间段来测试了!
需要进行的操作步骤:
1、【可选】配置截屏。如果你不介意直接使用手机拍照的清晰度,也可以直接使用手机拍照的。
https://blog.csdn.net/wb4916/article/details/145613420?spm=1011.2415.3001.5331
20250213在飞凌的OK3588-C_Linux5.10.209+Qt5.15.10_用户资料_R1下使用weston-screenshooter截屏的方法
修改步骤:
将/etc/init.d/S49weston中的:
/usr/bin/weston&
修改成为:
/usr/bin/weston --debug &
重启就可以使用weston-screenshooter了!
2、【可选】在buildroot下,荣品的PRO-RK3566开发板的SSH的登录。
https://doc.rpdzkj.cn/#/zh_cn/1%E7%BC%96%E8%AF%91%E7%8E%AF%E5%A2%83%E6%90%AD%E5%BB%BA%E5%92%8C%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98/docker%E9%95%9C%E5%83%8F%E7%BC%96%E8%AF%91SDK%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E
荣品的PRO-RK3566的linux/Buildroot可以用的SSH 用户密码:
root rpdzkj
3、在线秒表
https://www.lddgo.net/common/stopwatch
在线秒表计时器
https://tool.hiofd.com/stopwatch/
在线工具网
工具中心
语言:简体中文
在线秒表计时器
更新时间: 2025-06-28 10:41
完整的LOG:
rootroot@rootroot-X99-Turbo:~$ ssh root@192.168.3.45
root@192.168.3.45's password:
root@rk3566-buildroot:~# ll
total 8
drwx------ 2 root root 4096 Mar 12 11:25 ./
drwxr-xr-x 25 root root 4096 Aug 4 2017 ../
root@rk3566-buildroot:~#
root@rk3566-buildroot:~# pwd
/root
root@rk3566-buildroot:~# weston
weston weston-constraints weston-eventdemo weston-presentation-shm weston-simple-dmabuf-egl weston-smoke weston-touch-calibrator
weston-calibration-helper.sh weston-content_protection weston-flower weston-resizor weston-simple-dmabuf-v4l weston-stacking weston-transformed
weston-calibrator weston-debug weston-fullscreen weston-scaler weston-simple-egl weston-subsurfaces
weston-clickdot weston-dnd weston-image weston-screenshooter weston-simple-shm weston-tablet
weston-cliptest weston-editor weston-multi-resource weston-simple-damage weston-simple-touch weston-terminal
root@rk3566-buildroot:~# weston-screenshooter
Output capture error: unauthorized
Error: screenshot or protocol failure
root@rk3566-buildroot:~# weston-screenshooter 01.png
Output capture error: unauthorized
Error: screenshot or protocol failure
root@rk3566-buildroot:~#
root@rk3566-buildroot:~#
root@rk3566-buildroot:~#
root@rk3566-buildroot:~# cd /etc/init.d/
root@rk3566-buildroot:/etc/init.d# ll
total 148
drwxr-xr-x 2 root root 4096 Jul 11 11:00 ./
drwxr-xr-x 25 root root 4096 Aug 18 19:55 ../
-rwxr-xr-x 1 root root 427 Jul 11 11:00 S00mountall.sh*
-rwxr-xr-x 1 root root 520 Mar 12 11:25 S01boot-complete.sh*
-rwxr-xr-x 1 root root 1012 Mar 21 11:19 S01syslogd*
-rwxr-xr-x 1 root root 1004 Mar 21 11:19 S02klogd*
-rwxr-xr-x 1 root root 2804 Mar 21 11:18 S02sysctl*
-rwxr-xr-x 1 root root 369 Jul 11 11:00 S05async-commit.sh*
-rwxr-xr-x 1 root root 1594 Mar 21 11:04 S10udev*
-rwxr-xr-x 1 root root 620 Apr 23 19:51 S13irqbalance*
-rwxr-xr-x 1 root root 1684 Mar 21 12:22 S20urandom*
-rwxr-xr-x 1 root root 1619 Mar 21 10:59 S30dbus*
-rwxr-xr-x 1 root root 820 Mar 21 11:13 S35iptables*
-rwxr-xr-x 1 root root 358 Jul 11 11:00 S36wifibt-init.sh*
-rwxr-xr-x 1 root root 61 Mar 12 11:25 S40_ec801e*
-rwxr-xr-x 1 root root 1001 Mar 21 11:04 S40bluetoothd*
-rwxr-xr-x 1 root root 438 Mar 21 11:48 S40network*
-rwxr-xr-x 1 root root 457 Mar 12 11:25 S40rkaiq_3A*
-rwxr-xr-x 1 root root 619 Mar 21 11:23 S41dhcpcd*
-rwxr-xr-x 1 root root 917 Mar 21 11:18 S49ntp*
-rwxr-xr-x 1 root root 914 Mar 21 12:23 S49weston*
-rwxr-xr-x 1 root root 1354 Mar 21 11:24 S50dropbear*
-rwxr-xr-x 1 root root 592 Mar 21 11:05 S50pulseaudio*
-rwxr-xr-x 1 root root 386 Mar 21 12:18 S50usbdevice.sh*
-rwxr-xr-x 1 root root 427 Mar 21 11:23 S80dnsmasq*
-rwxr-xr-x 1 root root 237 Mar 21 12:18 S98iodomain.sh*
-rwxr-xr-x 1 root root 546 Mar 21 12:18 S99-auto-reboot*
-rwxr-xr-x 1 root root 263 Mar 12 11:25 S99_camera_node*
-rwxr-xr-x 1 root root 757 Mar 12 11:25 S99_config_soundcard*
-rwxr-xr-x 1 root root 407 Mar 12 11:25 S99_rpdzkj-mobilenet*
-rwxr-xr-x 1 root root 293 Mar 21 11:23 S99chromium-wayland.sh*
-rwxr-xr-x 1 root root 447 Mar 21 11:48 S99input-event-daemon*
-rwxr-xr-x 1 root root 1950 Mar 21 11:25 fuse3*
-rw-r--r-- 1 root root 471 Mar 21 11:15 ninfod.sh
-rwxr-xr-x 1 root root 423 Mar 21 11:48 rcK*
-rwxr-xr-x 1 root root 408 Mar 21 11:48 rcS*
-rwxr-xr-x 1 root root 1429 Mar 21 12:19 socketcand*
root@rk3566-buildroot:/etc/init.d# cat S49weston
#!/bin/sh
### BEGIN INIT INFO
# Provides: weston
# Required-Start: mountvirtfs
# Required-Stop:
# Should-Start:
# Should-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Linux weston daemon
### END INIT INFO
PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin"
# Load default env variables from profiles(e.g. /etc/profile.d/weston.sh)
. /etc/profile
start_weston()
{
/usr/bin/weston&
}
stop_weston()
{
killall weston
}
case "$1" in
start)
echo -n "starting weston... "
start_weston
echo "done."
;;
stop)
echo -n "stoping weston... "
stop_weston || true
echo "done."
;;
restart|reload)
echo -n "stoping weston... "
stop_weston
while pgrep -x weston; do
sleep .1
done
echo "done."
echo -n "starting weston... "
start_weston
echo "done."
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
root@rk3566-buildroot:/etc/init.d#
root@rk3566-buildroot:/etc/init.d#
root@rk3566-buildroot:/etc/init.d# ll
total 148
drwxr-xr-x 2 root root 4096 Jul 11 11:00 ./
drwxr-xr-x 25 root root 4096 Aug 18 19:55 ../
-rwxr-xr-x 1 root root 427 Jul 11 11:00 S00mountall.sh*
-rwxr-xr-x 1 root root 520 Mar 12 11:25 S01boot-complete.sh*
-rwxr-xr-x 1 root root 1012 Mar 21 11:19 S01syslogd*
-rwxr-xr-x 1 root root 1004 Mar 21 11:19 S02klogd*
-rwxr-xr-x 1 root root 2804 Mar 21 11:18 S02sysctl*
-rwxr-xr-x 1 root root 369 Jul 11 11:00 S05async-commit.sh*
-rwxr-xr-x 1 root root 1594 Mar 21 11:04 S10udev*
-rwxr-xr-x 1 root root 620 Apr 23 19:51 S13irqbalance*
-rwxr-xr-x 1 root root 1684 Mar 21 12:22 S20urandom*
-rwxr-xr-x 1 root root 1619 Mar 21 10:59 S30dbus*
-rwxr-xr-x 1 root root 820 Mar 21 11:13 S35iptables*
-rwxr-xr-x 1 root root 358 Jul 11 11:00 S36wifibt-init.sh*
-rwxr-xr-x 1 root root 61 Mar 12 11:25 S40_ec801e*
-rwxr-xr-x 1 root root 1001 Mar 21 11:04 S40bluetoothd*
-rwxr-xr-x 1 root root 438 Mar 21 11:48 S40network*
-rwxr-xr-x 1 root root 457 Mar 12 11:25 S40rkaiq_3A*
-rwxr-xr-x 1 root root 619 Mar 21 11:23 S41dhcpcd*
-rwxr-xr-x 1 root root 917 Mar 21 11:18 S49ntp*
-rwxr-xr-x 1 root root 914 Mar 21 12:23 S49weston*
-rwxr-xr-x 1 root root 1354 Mar 21 11:24 S50dropbear*
-rwxr-xr-x 1 root root 592 Mar 21 11:05 S50pulseaudio*
-rwxr-xr-x 1 root root 386 Mar 21 12:18 S50usbdevice.sh*
-rwxr-xr-x 1 root root 427 Mar 21 11:23 S80dnsmasq*
-rwxr-xr-x 1 root root 237 Mar 21 12:18 S98iodomain.sh*
-rwxr-xr-x 1 root root 546 Mar 21 12:18 S99-auto-reboot*
-rwxr-xr-x 1 root root 263 Mar 12 11:25 S99_camera_node*
-rwxr-xr-x 1 root root 757 Mar 12 11:25 S99_config_soundcard*
-rwxr-xr-x 1 root root 407 Mar 12 11:25 S99_rpdzkj-mobilenet*
-rwxr-xr-x 1 root root 293 Mar 21 11:23 S99chromium-wayland.sh*
-rwxr-xr-x 1 root root 447 Mar 21 11:48 S99input-event-daemon*
-rwxr-xr-x 1 root root 1950 Mar 21 11:25 fuse3*
-rw-r--r-- 1 root root 471 Mar 21 11:15 ninfod.sh
-rwxr-xr-x 1 root root 423 Mar 21 11:48 rcK*
-rwxr-xr-x 1 root root 408 Mar 21 11:48 rcS*
-rwxr-xr-x 1 root root 1429 Mar 21 12:19 socketcand*
root@rk3566-buildroot:/etc/init.d#
root@rk3566-buildroot:/etc/init.d# vi S49weston
root@rk3566-buildroot:/etc/init.d# sync
root@rk3566-buildroot:/etc/init.d# sync
root@rk3566-buildroot:/etc/init.d# cat S49weston
#!/bin/sh
### BEGIN INIT INFO
# Provides: weston
# Required-Start: mountvirtfs
# Required-Stop:
# Should-Start:
# Should-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Linux weston daemon
### END INIT INFO
PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin"
# Load default env variables from profiles(e.g. /etc/profile.d/weston.sh)
. /etc/profile
start_weston()
{
/usr/bin/weston --debug &
}
stop_weston()
{
killall weston
}
case "$1" in
start)
echo -n "starting weston... "
start_weston
echo "done."
;;
stop)
echo -n "stoping weston... "
stop_weston || true
echo "done."
;;
restart|reload)
echo -n "stoping weston... "
stop_weston
while pgrep -x weston; do
sleep .1
done
echo "done."
echo -n "starting weston... "
start_weston
echo "done."
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
root@rk3566-buildroot:/etc/init.d# reboot
root@rk3566-buildroot:/etc/init.d# Connection to 192.168.3.45 closed by remote host.
Connection to 192.168.3.45 closed.
rootroot@rootroot-X99-Turbo:~$ ssh root@192.168.3.45
root@192.168.3.45's password:
root@rk3566-buildroot:~# ll
total 8
drwx------ 2 root root 4096 Mar 12 11:25 ./
drwxr-xr-x 25 root root 4096 Aug 4 2017 ../
root@rk3566-buildroot:~#
root@rk3566-buildroot:~#
root@rk3566-buildroot:~# pwd
/root
root@rk3566-buildroot:~# weston-screenshooter
rga_api version 1.10.0_[9]
root@rk3566-buildroot:~#
root@rk3566-buildroot:~# ls -l
total 312
-rw-r--r-- 1 root root 317969 Aug 18 20:17 wayland-screenshot-2025-08-18_20-17-42.png
root@rk3566-buildroot:~#
root@rk3566-buildroot:~#
root@rk3566-buildroot:~# weston-screenshooter
rga_api version 1.10.0_[9]
root@rk3566-buildroot:~# ls -l
total 484
-rw-r--r-- 1 root root 317969 Aug 18 20:17 wayland-screenshot-2025-08-18_20-17-42.png
-rw-r--r-- 1 root root 175964 Aug 18 20:19 wayland-screenshot-2025-08-18_20-19-41.png
root@rk3566-buildroot:~#
root@rk3566-buildroot:~# ls -l
total 484
-rw-r--r-- 1 root root 317969 Aug 18 20:17 wayland-screenshot-2025-08-18_20-17-42.png
-rw-r--r-- 1 root root 175964 Aug 18 20:19 wayland-screenshot-2025-08-18_20-19-41.png
root@rk3566-buildroot:~# weston-screenshooter
rga_api version 1.10.0_[9]
root@rk3566-buildroot:~# ls -l
total 664
-rw-r--r-- 1 root root 317969 Aug 18 20:17 wayland-screenshot-2025-08-18_20-17-42.png
-rw-r--r-- 1 root root 175964 Aug 18 20:19 wayland-screenshot-2025-08-18_20-19-41.png
-rw-r--r-- 1 root root 181353 Aug 18 20:20 wayland-screenshot-2025-08-18_20-20-09.png
root@rk3566-buildroot:~# weston-screenshooter
rga_api version 1.10.0_[9]
root@rk3566-buildroot:~#
root@rk3566-buildroot:~#
root@rk3566-buildroot:~# weston-screenshooter
rga_api version 1.10.0_[9]
root@rk3566-buildroot:~#
root@rk3566-buildroot:~# poweroff