root@rk3566-buildroot:/# sync
root@rk3566-buildroot:/# poweroff
20250322在荣品的PRO-RK3566开发板的buildroot系统下使用poweroff关机
2025/3/22 9:09
缘起:在使用gstreamer进行机芯录像烤机的时候,一个分辨率+帧率录像2分钟,然后直接断电关机。
在飞凌的OK3588-C下大概有50%的概率保存的mp4录像不能打开。
为了安全起见,飞凌建议:使用sync同步强制写eMMC之后,使用poweroff关机。
root@rk3566-buildroot:/#
root@rk3566-buildroot:/#
root@rk3566-buildroot:/# poweroff[ 111.676087] rk_gmac-dwmac fe010000.ethernet eth0: Link is Down
[ 130.931292] rk_gmac-dwmac fe010000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
root@rk3566-buildroot:/# Stopping input-event-daemon: done
Starting mobilenet:OK
root@rk3566-buildroot:/# alsa-lib main.c:1541:(snd_use_case_mgr_open) error: failed to import hw:1 use case configuration -2
-i use default asound.conf
Not stop quntionstop auto-reboot finished
Stopping dnsmasq: OK
Stopping pulseaudio: E: [pulseaudio] main.c: Failed to kill daemon: No such process
OK
Stopping dropbear sshd: OK
stoping weston... [17:02:29.108] caught signal 15
[17:02:29.109] event4 - adc-keys: device removed
done.
Stopping ntpd: OK
[17:02:29.139] event0 - rk805 pwrkey: device removed
Stopping dhcpcd...
no /sbin/dhcpcd found; none killed
killall: rkaiq_3A_server: no process killed
Stopping network: [17:02:29.193] event3 - hdmi_cec_key: device removed
[17:02:29.240] event2 - gpio_event: device removed
OK
Stopping bluetoothd: OK
Stopping Wi-Fi/BT...
Stopping iptables: OK
Stopping system message bus: done
Saving random seed: OK
Stopping irqbalance: OK
Stopping klogd: OK
Stopping syslogd: OK
no stop function
[ 149.775387] ffs_data_put(): freeing
umount: /var/log: target is busy.
umount: /run: target is busy.
umount: /tmp: target is busy.
[ 149.794671] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp1
[ 149.795264] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
The system is going down NOW!
Sent SIGTERM to all processes
[ 149.828138] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp0
[ 149.858189] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_enable] Update mode to 1920x1080p60, type: 11(if:800, flag:0x0) for vp0 dclk: 148500000
[ 149.892033] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_enable] Update mode to 1024x600p61, type: 16(if:20, flag:0x0) for vp1 dclk: 51000000
[ 150.452834] dw-mipi-dsi-rockchip fe060000.dsi: [drm:dw_mipi_dsi_bridge_enable] final DSI-Link bandwidth: 480 x 4 Mbps
Sent SIGKILL to all processes
Requesting system poweroff
[ 151.745165] sched: RT throttling activated
[ 151.819970] rk808 0-0020: reboot: not restore POWER_EN
[ 152.180015] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp0
[ 152.208839] rockchip-vop2 fe040000.vop: [drm:vop2_crtc_atomic_disable] Crtc atomic disable vp1
[ 152.246097] mpp_rkvdec2 fdf80200.rkvdec: shutdown device
[ 152.251441] mpp_rkvdec2 fdf80200.rkvdec: shutdown success
[ 152.256870] mpp_rkvenc fdf40000.rkvenc: shutdown device
[ 152.262120] mpp_rkvenc fdf40000.rkvenc: shutdown success
[ 152.279969] fan53555-regulator 0-001c: fan53555..... reset
[ 152.286571] fan53555-regulator 0-001c: reset: force fan53555_reset ok!
[ 152.302776] [WLAN_RFKILL]: Enter rfkill_wlan_shutdown
[ 152.307858] [WLAN_RFKILL]: rockchip_wifi_power: 0
[ 152.312576] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 152.318423] [WLAN_RFKILL]: rockchip_wifi_power: toggle = false
[ 152.324270] [WLAN_RFKILL]: wifi shut off power [GPIO-1-1]
[ 152.329698] [WLAN_RFKILL]: rfkill_set_wifi_bt_power: 0
[ 152.335658] rkisp_hw fdff0000.rkisp: rkisp_hw_shutdown
[ 152.340940] mpp-iep2 fdef0000.iep: shutdown device
[ 152.345796] mpp-iep2 fdef0000.iep: shutdown success
[ 152.350739] mpp_vepu2 fdee0000.vepu: shutdown device
[ 152.355725] mpp_vepu2 fdee0000.vepu: shutdown success
[ 152.360832] mpp_jpgdec fded0000.jpegd: shutdown device
[ 152.365986] mpp_jpgdec fded0000.jpegd: shutdown success
[ 152.371275] mpp_vdpu2 fdea0400.vdpu: shutdown device
[ 152.376261] mpp_vdpu2 fdea0400.vdpu: shutdown success
[ 152.381651] xhci-hcd xhci-hcd.1.auto: remove, state 4
[ 152.386737] usb usb8: USB disconnect, device number 1
[ 152.392714] xhci-hcd xhci-hcd.1.auto: USB bus 8 deregistered
[ 152.398806] xhci-hcd xhci-hcd.1.auto: remove, state 4
[ 152.403908] usb usb7: USB disconnect, device number 1
[ 152.409995] xhci-hcd xhci-hcd.1.auto: USB bus 7 deregistered
[ 152.417216] xhci-hcd xhci-hcd.0.auto: remove, state 4
[ 152.422308] usb usb6: USB disconnect, device number 1
[ 152.428151] xhci-hcd xhci-hcd.0.auto: USB bus 6 deregistered
[ 152.434129] xhci-hcd xhci-hcd.0.auto: remove, state 4
[ 152.439221] usb usb5: USB disconnect, device number 1
[ 152.445319] xhci-hcd xhci-hcd.0.auto: USB bus 5 deregistered
[ 152.456048] reboot: Power down