本文主要是介绍20240820飞凌的OK3588-C的核心板在Linux R4下使用poweroff关机,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
20240820飞凌的OK3588-C的核心板在Linux R4下使用poweroff关机
2024/8/20 14:03
经过测试,poweroff有效,关机之后,12V/0.024A=12*0.024=0.288W
shutdown无效。
reboot -p无效。
root@ok3588:/#
root@ok3588:/# shutdown -h now
sh: shutdown: command not found
root@ok3588:/#
root@ok3588:/# sh
sh sha224sum sha384sum sha512sum shopt shuf
sha1sum sha256sum sha3sum shift shred
root@ok3588:/# shuf
root@ok3588:/#
root@ok3588:/# reboot -p
reboot: invalid option -- 'p'
BusyBox v1.34.1 (2023-03-09 17:13:33 CST) multi-call binary.
Usage: reboot [-d DELAY] [-nf]
Reboot the system
-d SEC Delay interval
-n Do not sync
-f Force (don't go through init)
root@ok3588:/#
完整的LOG:
[BEGIN] 2024/8/20 13:59:55
DDR Version V1.07 20220412
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=2048MB
change to F1: 528MHz
change to F2: 1068MHz
change to F3: 1560MHz
change to F0: 2112MHz
out
U-Boot SPL board init
U-Boot SPL 2017.09-g5f53abfa1e-221223 #zzz (Dec 26 2022 - 09:10:09)
unknown raw ID 0 0 0
unrecognized JEDEC id bytes: 00, 00, 00
Trying to boot from MMC2
MMC: no card present
mmc_init: -123, time 2
spl: mmc init failed with error: -123
Trying to boot from MMC1
SPL: A/B-slot: _a, successful: 0, tries-remain: 7
Trying fit image at 0x4000 sector
## Verified-boot: 0
## Checking atf-1 0x00040000 ... sha256(5ae6932916...) + OK
## Checking uboot 0x00200000 ... sha256(5ca6150e38...) + OK
## Checking fdt 0x00325ad0 ... sha256(6c1121228f...) + OK
## Checking atf-2 0x000f0000 ... sha256(c00c7fd75b...) + OK
## Checking atf-3 0xff100000 ... sha256(71c3a5841b...) + OK
## Checking atf-4 0xff001000 ... sha256(2301cf73be...) + OK
## Checking optee 0x08400000 ... sha256(4ed9cd20b5...) + OK
Jumping to U-Boot(0x00200000) via ARM Trusted Firmware(0x00040000)
Total: 183.372 ms
INFO: Preloader serial: 2
NOTICE: BL31: v2.3():v2.3-384-g45c8fcb44:derrick.huang
NOTICE: BL31: Built : 15:14:04, Jun 18 2022
INFO: ext 32k is not valid
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: system boots from cpu-hwid-0
INFO: idle_st=0x21fff, pd_st=0x11fff9, repair_st=0xfff70001
INFO: dfs DDR fsp_params[0].freq_mhz= 2112MHz
INFO: dfs DDR fsp_params[1].freq_mhz= 528MHz
INFO: dfs DDR fsp_params[2].freq_mhz= 1068MHz
INFO: dfs DDR fsp_params[3].freq_mhz= 1560MHz
INFO: BL31: Initialising Exception Handling Framework
INFO: BL31: Initializing runtime services
INFO: BL31: Initializing BL32
INFO: hdmirx_handler: dma not on, ret
I/TC:
I/TC: OP-TEE version: 3.13.0-645-g87d94c5ef8 #xb.wang (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #1 Tue Jun 14 10:44:31 CST 2022 aarch64
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x200000
INFO: SPSR = 0x3c9
U-Boot 2017.09 (Dec 21 2023 - 09:45:34 +0800)
Model: Forlinx OK3588-C Board
PreSerial: 2, raw, 0xfeb50000
DRAM: 7.7 GiB
Sysmem: init
Relocation Offset: edb51000
Relocation fdt: eb9fa7a8 - eb9fecd8
CR: M/C/I
mmc@fe2c0000: 1, mmc@fe2e0000: 0
Bootdev(atags): mmc 0
MMC0: HS200, 200Mhz
PartType: EFI
DM: v2
boot mode: None
FIT: no signed, no conf required
DTB: rk-kernel.dtb
HASH(c): OK
I2c0 speed: 100000Hz
vsel-gpios- not found!
en-gpios- not found!
vdd_cpu_big0_s0 800000 uV
vsel-gpios- not found!
en-gpios- not found!
vdd_cpu_big1_s0 800000 uV
I2c1 speed: 400000Hz
vsel-gpios- not found!
en-gpios- not found!
vdd_npu_s0 800000 uV
spi2: RK806: 2
ON=0x00, OFF=0x00
vdd_gpu_s0 750000 uV
vdd_cpu_lit_s0 750000 uV
vdd_log_s0 750000 uV
vdd_vdenc_s0 init 750000 uV
vdd_ddr_s0 850000 uV
Auth Success!
normal mode
Writing to mmc(0)... done
get vp0 plane mask:0x5, primary id:2, cursor_plane:-1, from dts
get vp1 plane mask:0xa, primary id:3, cursor_plane:-1, from dts
get vp2 plane mask:0x140, primary id:8, cursor_plane:-1, from dts
get vp3 plane mask:0x280, primary id:9, cursor_plane:-1, from dts
Could not find baseparameter partition
Model: Forlinx OK3588 Board
Rockchip UBOOT DRM driver version: v1.0.1
vp0 have layer nr:2[0 2 ], primary plane: 2
vp1 have layer nr:2[1 3 ], primary plane: 3
vp2 have layer nr:2[6 8 ], primary plane: 8
vp3 have layer nr:2[7 9 ], primary plane: 9
Using display timing dts
dsi@fde20000: detailed mode clock 45000 kHz, flags[a]
H: 1024 1064 1112 1160
V: 0600 0640 0644 0692
bus_format: 100e
VOP update mode to: 1024x600p0, type: MIPI0 for VP2
rockchip_vop2_init:No hdmiphypll clk1 found, use system clk
VOP VP2 enable Esmart2[400x300->400x300@312x150] fmt[1] addr[0xedf58000]
final DSI-Link bandwidth: 293333 Kbps x 4
Using display timing dts
dsi@fde30000: detailed mode clock 45000 kHz, flags[a]
H: 1024 1064 1112 1160
V: 0600 0640 0644 0692
bus_format: 100e
VOP update mode to: 1024x600p0, type: MIPI1 for VP3
rockchip_vop2_init:No hdmiphypll clk1 found, use system clk
VOP VP3 enable Esmart3[400x300->400x300@312x150] fmt[1] addr[0xedf58000]
final DSI-Link bandwidth: 294113 Kbps x 4
hdmi@fde80000 disconnected
dp@fde60000 disconnected
CLK: (uboot. arm: enter 1008000 KHz, init 1008000 KHz, kernel 0N/A)
b0pll 24000 KHz
b1pll 24000 KHz
lpll 24000 KHz
v0pll 24000 KHz
aupll 786215 KHz
cpll 1500000 KHz
gpll 1188000 KHz
npll 850000 KHz
ppll 1100000 KHz
aclk_center_root 702000 KHz
pclk_center_root 100000 KHz
hclk_center_root 396000 KHz
aclk_center_low_root 500000 KHz
aclk_top_root 750000 KHz
pclk_top_root 100000 KHz
aclk_low_top_root 396000 KHz
Net: eth1: ethernet@fe1c0000
Hit key to stop autoboot('Spacebar'): 0
ANDROID: reboot reason: "(none)"
No valid android hdr
Android image load failed
Android boot failed, error -1.
## Booting FIT Image at 0xe97d8980 with size 0x02020e00
Fdt Ramdisk skip relocation
## Loading kernel from FIT Image at e97d8980 ...
Using 'conf' configuration
optee api revision: 2.0
TEEC: Waring: Could not find security partition
## Verified-boot: 0
Trying 'kernel' kernel subimage
Description: unavailable
Type: Kernel Image
Compression: uncompressed
Data Start: 0xe9804580
Data Size: 33509888 Bytes = 32 MiB
Architecture: AArch64
OS: Linux
Load Address: 0x00400000
Entry Point: 0x00400000
Hash algo: sha256
Hash value: a3f070c303d63a566c8f5aafb77cfba6ca217c153d0bb37e350e4155be8e4775
Verifying Hash Integrity ... sha256+ OK
## Loading fdt from FIT Image at e97d8980 ...
Using 'conf' configuration
Trying 'fdt' fdt subimage
Description: unavailable
Type: Flat Device Tree
Compression: uncompressed
Data Start: 0xe97d9180
Data Size: 177129 Bytes = 173 KiB
Architecture: AArch64
Load Address: 0x0a100000
Hash algo: sha256
Hash value: 23503f1d3f0307b0e1d5ac6e61c0e309de8e083591594d4fe2a5811d8e8cc36f
Verifying Hash Integrity ... sha256+ OK
Loading fdt from 0x0a100000 to 0x0a100000
Booting using the fdt blob at 0x0a100000
Loading Kernel Image from 0xe9804580 to 0x00400000 ... OK
kernel loaded at 0x00400000, end = 0x023f5200
'reserved-memory' dma-trans@8c000000: addr=8c000000 size=4000000
'reserved-memory' cma: addr=10000000 size=8000000
Using Device Tree in place at 000000000a100000, end 000000000a12e3e8
Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000)
Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000)
Adding bank: 0x100000000 - 0x200000000 (size: 0x100000000)
Total: 1910.534 ms
Starting kernel ...
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
I/TC: Secondary CPU 4 initializing
I/TC: Secondary CPU 4 switching to normal world boot
I/TC: Secondary CPU 5 initializing
I/TC: Secondary CPU 5 switching to normal world boot
I/TC: Secondary CPU 6 initializing
I/TC: Secondary CPU 6 switching to normal world boot
I/TC: Secondary CPU 7 initializing
I/TC: Secondary CPU 7 switching to normal world boot
mount: mounting PARTLABEL=oem on /oem failed: No such file or directory
mount: mounting PARTLABEL=userdata on /userdata failed: No such file or directory
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
/usr/bin/modetest
Populating /dev using udev: done
Initializing random number generator: OK
Saving random seed: OK
Will now mount all partitions in /etc/fstab
Note: Will skip fsck, remove /.skip_fsck to enable
Handling rootfs: /dev/mmcblk0p6 / ext4 rw,noauto 1
Handling oem: /dev/mmcblk0p7 /oem ext2 defaults 2
Mounting /dev/mmcblk0p7(ext2) on /oem
Handling userdata: /dev/mmcblk0p8 /userdata ext2 defaults 2
Mounting /dev/mmcblk0p8(ext2) on /userdata
Log saved to /tmp/mountall.log
Starting system message bus: done
Starting iptables: OK
Starting bluetoothd: OK
Starting network: OK
starting weston... done.
Starting dropbear sshd: OK
Starting lighttpd: OK
Starting matrix: /etc/init.d/S50matrix-browser: line 12: warning: setlocale: LC_ALL: cannot change locale (zh_CN.utf8): No such file or directory
Starting pulseaudio: W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
Date: 1970-01-01 CST
[08:00:10.176] weston 10.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: v0.3-8-g8cb8c2b72+
[08:00:10.177] Command line: /usr/bin/weston
[08:00:10.177] OS: Linux, 5.10.66, #10 SMP Mon Aug 19 17:01:40 CST 2024, aarch64
[08:00:10.177] Flight recorder: enabled
[08:00:10.177] warning: XDG_RUNTIME_DIR "/var/run" is not configured
correctly. Unix access mode must be 0700 (current mode is 0755),
and must be owned by the user UID 0 (current owner is UID 0).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[08:00:10.177] Using config file '/etc/xdg/weston/weston.ini'
[08:00:10.178] Output repaint window is -1 ms maximum.
[08:00:10.178] Loading module '/usr/lib/libweston-10/drm-backend.so'
[08:00:10.182] initializing drm backend
[08:00:10.182] Entering mirror mode.
[08:00:10.182] Trying weston_launch launcher...
[08:00:10.182] could not get launcher fd from env
[08:00:10.182] Trying direct launcher...
[08:00:10.184] using /dev/dri/card0
[08:00:10.184] DRM: does not support atomic modesetting
[08:00:10.184] DRM: does not support GBM modifiers
[08:00:10.184] DRM: supports picture aspect ratio
[08:00:10.186] Loading module '/usr/lib/libweston-10/gl-renderer.so'
[08:00:10.189] EGL client extensions: EGL_EXT_client_extensions
EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses
EGL_KHR_platform_gbm EGL_KHR_platform_wayland
EGL_EXT_platform_wayland
arm_release_ver of this libmali is 'g6p0-01eac0', rk_so_ver is '6'.
[08:00:10.206] EGL version: 1.4 Valhall-"g6p0-01eac0"
[08:00:10.206] EGL vendor: ARM
[08:00:10.206] EGL client APIs: OpenGL_ES
[08:00:10.206] EGL extensions: EGL_WL_bind_wayland_display
EGL_NV_context_priority_realtime EGL_KHR_partial_update
EGL_KHR_config_attribs EGL_KHR_image EGL_KHR_image_base
EGL_KHR_fence_sync EGL_KHR_wait_sync EGL_KHR_gl_colorspace
EGL_KHR_get_all_proc_addresses EGL_IMG_context_priority
EGL_KHR_no_config_context EGL_EXT_image_dma_buf_import
EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface
EGL_EXT_pixel_format_float EGL_ARM_pixmap_multisample_discard
EGL_KHR_gl_texture_2D_image EGL_KHR_gl_renderbuffer_image
EGL_KHR_create_context EGL_KHR_surfaceless_context
EGL_KHR_gl_texture_cubemap_image EGL_EXT_image_gl_colorspace
EGL_EXT_create_context_robustness
[08:00:10.206] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension
[08:00:10.207] EGL_KHR_surfaceless_context available
[08:00:10.226] GL version: OpenGL ES 3.2 v1.g6p0-01eac0.ba52c908d926792b8f5fe28f383a2b03
[08:00:10.227] GLSL version: OpenGL ES GLSL ES 3.20
[08:00:10.227] GL vendor: ARM
[08:00:10.227] GL renderer: Mali-LODX
[08:00:10.227] GL extensions: GL_ARM_rgba8 GL_ARM_mali_shader_binary
GL_OES_depth24 GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra
GL_OES_compressed_paletted_texture
GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives
GL_OES_EGL_image GL_OES_EGL_image_external
GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync
GL_OES_texture_npot GL_OES_vertex_half_float
GL_OES_required_internalformat GL_OES_vertex_array_object
GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888
GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV
GL_OES_fbo_render_mipmap GL_OES_element_index_uint
GL_EXT_shadow_samplers GL_OES_texture_compression_astc
GL_KHR_texture_compression_astc_ldr
GL_KHR_texture_compression_astc_hdr
GL_KHR_texture_compression_astc_sliced_3d
GL_EXT_texture_compression_astc_decode_mode
GL_EXT_texture_compression_astc_decode_mode_rgb9e5 GL_KHR_debug
GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query
GL_EXT_blend_minmax GL_EXT_discard_framebuffer
GL_OES_get_program_binary GL_OES_texture_3D
GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2
GL_OES_surfaceless_context GL_OES_texture_stencil8
GL_EXT_shader_pixel_local_storage
GL_ARM_shader_framebuffer_fetch
GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_ARM_mali_program_binary GL_EXT_sRGB
GL_EXT_sRGB_write_control GL_EXT_texture_sRGB_decode
GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8
GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent
GL_OES_texture_storage_multisample_2d_array
GL_OES_shader_image_atomic GL_EXT_robustness
GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed
GL_EXT_texture_border_clamp GL_OES_texture_border_clamp
GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array
GL_OES_sample_variables GL_OES_sample_shading
GL_OES_shader_multisample_interpolation GL_EXT_shader_io_blocks
GL_OES_shader_io_blocks GL_EXT_tessellation_shader
GL_OES_tessellation_shader GL_EXT_primitive_bounding_box
GL_OES_primitive_bounding_box GL_EXT_geometry_shader
GL_OES_geometry_shader GL_ANDROID_extension_pack_es31a
GL_EXT_gpu_shader5 GL_OES_gpu_shader5 GL_EXT_texture_buffer
GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image
GL_EXT_shader_non_constant_global_initializers
GL_EXT_color_buffer_half_float GL_EXT_unpack_subimage
GL_EXT_color_buffer_float GL_EXT_float_blend GL_EXT_YUV_target
GL_OVR_multiview GL_OVR_multiview2
GL_OVR_multiview_multisampled_render_to_texture
GL_KHR_robustness GL_KHR_robust_buffer_access_behavior
GL_EXT_draw_elements_base_vertex
GL_OES_draw_elements_base_vertex GL_EXT_buffer_storage
GL_EXT_texture_filter_anisotropic GL_OES_texture_float_linear
GL_ARM_texture_unnormalized_coordinates
GL_EXT_shader_framebuffer_fetch
[08:00:10.307] GL ES 3.2 - renderer features:
read-back format: BGRA
wl_shm sub-image to texture: yes
EGL Wayland extension: yes
[08:00:10.307] couldn't fstat launcher tty: Bad file descriptor
[08:00:10.314] event2 - adc-keys: is tagged by udev as: Keyboard
[08:00:10.314] event2 - adc-keys: device is a keyboard
[08:00:10.314] event1 - rockchip,dp1 rockchip,dp1: is tagged by udev as: Switch
[08:00:10.403] event1 - not using input device '/dev/input/event1'
[08:00:10.405] event0 - rk805 pwrkey: is tagged by udev as: Keyboard
[08:00:10.405] event0 - rk805 pwrkey: device is a keyboard
[08:00:10.406] event3 - rockchip-hdmi0 rockchip-hdmi0: is tagged by udev as: Switch
[08:00:10.493] event3 - not using input device '/dev/input/event3'
[08:00:10.535] libinput: configuring device "adc-keys".
[08:00:10.535] libinput: configuring device "rk805 pwrkey".
[08:00:10.646] DRM: head 'HDMI-A-1' updated, connector 409 is connected, EDID make 'GSM', model '27MP35', serial 'unknown'
[08:00:10.647] DRM: head 'HDMI-A-1' found, connector 409 is connected, EDID make 'GSM', model '27MP35', serial 'unknown'
[08:00:10.647] DRM: head 'DSI-1' updated, connector 419 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[08:00:10.647] DRM: head 'DSI-1' found, connector 419 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[08:00:10.648] DRM: head 'DSI-2' updated, connector 422 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[08:00:10.648] DRM: head 'DSI-2' found, connector 422 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[08:00:10.648] DRM: head 'DP-1' updated, connector 425 is disconnected.
[08:00:10.649] DRM: head 'DP-1' found, connector 425 is disconnected.
[08:00:10.649] Registered plugin API 'weston_drm_output_api_v1' of size 24
[08:00:10.649] Color manager: no-op
[08:00:10.649] Output 'HDMI-A-1' using color profile: built-in default sRGB SDR profile
[08:00:10.650] Chosen EGL config details: id: 9 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 0-1 type: win|pbf|swap_preserved vis_id: XRGB8888 (0x34325258)
[08:00:10.650] Output HDMI-A-1 (crtc 68) video modes:
1920x1080@60.0, preferred, current, 148.5 MHz
1920x1080@60.0 16:9, 148.5 MHz
1920x1080@59.9 16:9, 148.4 MHz
1920x1080i@60.0, 74.2 MHz
1920x1080i@60.0 16:9, 74.2 MHz
1920x1080i@59.9 16:9, 74.2 MHz
1920x1080@50.0 16:9, 148.5 MHz
1920x1080i@50.0 16:9, 74.2 MHz
1680x1050@59.9, 119.0 MHz
1400x1050@59.9, 101.0 MHz
1600x900@60.0, 108.0 MHz
1280x1024@75.0, 135.0 MHz
1280x1024@60.0, 108.0 MHz
1440x900@59.9, 88.8 MHz
1280x800@59.9, 71.0 MHz
1152x864@75.0, 108.0 MHz
1280x720@60.0, 74.2 MHz
1280x720@60.0 16:9, 74.2 MHz
1280x720@59.9 16:9, 74.2 MHz
1280x720@50.0 16:9, 74.2 MHz
1024x768@75.0, 78.8 MHz
1024x768@60.0, 65.0 MHz
800x600@75.0, 49.5 MHz
800x600@60.3, 40.0 MHz
720x576@50.0 16:9, 27.0 MHz
720x480@60.0 4:3, 27.0 MHz
720x480@60.0 16:9, 27.0 MHz
720x480@59.9, 27.0 MHz
720x480@59.9 16:9, 27.0 MHz
640x480@75.0, 31.5 MHz
640x480@60.0 4:3, 25.2 MHz
640x480@59.9, 25.2 MHz
640x480@59.9 4:3, 25.2 MHz
720x400@70.1, 28.3 MHz
[08:00:10.650] associating input device event2 with output HDMI-A-1 (none by udev)
[08:00:10.650] associating input device event0 with output HDMI-A-1 (none by udev)
[08:00:10.650] Output HDMI-A-1 changed to mirror output
[08:00:10.650] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
[08:00:10.650] Output 'DSI-1' using color profile: built-in default sRGB SDR profile
[08:00:10.651] Chosen EGL config details: id: 9 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 0-1 type: win|pbf|swap_preserved vis_id: XRGB8888 (0x34325258)
[08:00:10.651] Output DSI-1 (crtc 102) video modes:
1024x600@56.1, preferred, current, 45.0 MHz
[08:00:10.651] associating input device event2 with output DSI-1 (none by udev)
[08:00:10.651] associating input device event0 with output DSI-1 (none by udev)
[08:00:10.651] Output 'DSI-1' enabled with head(s) DSI-1
[08:00:10.651] Output 'DSI-2' using color profile: built-in default sRGB SDR profile
[08:00:10.651] Chosen EGL config details: id: 9 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 0-1 type: win|pbf|swap_preserved vis_id: XRGB8888 (0x34325258)
[08:00:10.652] Output DSI-2 (crtc 119) video modes:
1024x600@56.1, preferred, current, 45.0 MHz
[08:00:10.652] Output DSI-2 changed to mirror output
[08:00:10.652] Output 'DSI-2' enabled with head(s) DSI-2
[08:00:10.652] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
cursor planes: yes
arbitrary resolutions: no
view mask clipping: yes
explicit sync: no
color operations: yes
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[08:00:10.657] Loading module '/usr/lib/weston/desktop-shell.so'
[08:00:10.659] launching '/usr/libexec/weston-keyboard'
[08:00:10.662] Note: support for the deprecated wl_shell interface is disabled. If a legacy client still needs it, it can be re-enabled by passing -Ddeprecated-wl-shell=true to Meson when building Weston.
[08:00:10.662] launching '/usr/libexec/weston-desktop-shell'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
QStandardPaths: runtime directory '/var/run' is not a directory, but a symbolic link to a directory permissions 0755 owned by UID 0 GID 0
xkbcommon: ERROR: couldn't find a Compose file for locale "C" (mapped to "C")
could not create XKB compose table for locale 'C'. Disabiling compose
Failure: No such entity
OK
Starting sshd: OK
Debug: configfs_init
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/uac1.gs0': No such file or directory
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/uac2.gs0': No such file or directory
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/mtp.gs0': No such file or directory
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/rndis.gs0': No such file or directory
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/acm.gs6': No such file or directory
mkdir: cannot create directory '/sys/kernel/config/usb_gadget/rockchip/functions/hid.usb0': No such file or directory
xkbcommon: ERROR: couldn't find a Compose file for locale "C" (mapped to "C")
could not create XKB compose table for locale 'C'. Disabiling compose
[08:00:11.755] Detected a monitor change on head 'HDMI-A-1', not bothering to do anything about it.
[08:00:11.755] Detected a monitor change on head 'DSI-1', not bothering to do anything about it.
[08:00:11.755] Detected a monitor change on head 'DSI-2', not bothering to do anything about it.
Starting vsftpd: OK
Starting dnsmasq:
dnsmasq: unknown interface uap0
FAIL
Starting input-event-daemon: input-event-daemon: Start parsing /etc/input-event-daemon.conf...
input-event-daemon: Adding device: /dev/input/event0...
input-event-daemon: Adding device: /dev/input/event1...
input-event-daemon: Adding device: /dev/input/event2...
input-event-daemon: Adding device: /dev/input/event3...
input-event-daemon: Start listening on 4 devices...
done
root@ok3588:/# [08:00:17.230] Detected a monitor change on head 'HDMI-A-1', not bothering to do anything about it.
[08:00:17.230] Detected a monitor change on head 'DSI-1', not bothering to do anything about it.
[08:00:17.230] Detected a monitor change on head 'DSI-2', not bothering to do anything about it.
root@ok3588:/#
root@ok3588:/# uname -a
Linux ok3588 5.10.66 #10 SMP Mon Aug 19 17:01:40 CST 2024 aarch64 GNU/Linux
root@ok3588:/#
root@ok3588:/#
root@ok3588:/# poweroff
root@ok3588:/# Stopping input-event-daemon:
input-event-daemon: Exiting...
done
Stopping dnsmasq: FAIL
Stopping vsftpd: stopped /usr/sbin/vsftpd (pid 1472)
OK
Stopping sshd: killall: sshd: no process killed
OK
Stopping pulseaudio: OK
stop finishedStopping lighttpd: OK
Stopping dropbear sshd: OK
stoping weston... [08:00:37.037] caught signal 15
[08:00:37.037] destroy output while page flip pending
[08:00:37.037] destroy output while page flip pending
[08:00:37.037] destroy output while page flip pending
done.
[08:00:37.037] background surface gone
[08:00:37.038] event2 - adc-keys: device removed
killall: rkaiq_3A_server: no process killed
Stopping network: [08:00:37.077] event0 - rk805 pwrkey: device removed
[08:00:37.118] destroy output while page flip pending
[08:00:37.118] destroy output while page flip pending
[08:00:37.118] destroy output while page flip pending
OK
Stopping bluetoothd: OK
Stopping iptables: [08:00:37.153] destroy output while page flip pending
[08:00:37.154] Output 'HDMI-A-1' no heads left, disabling.
[08:00:37.154] destroy output while page flip pending
[08:00:37.154] Output 'DSI-1' no heads left, disabling.
[08:00:37.154] destroy output while page flip pending
OK
[08:00:37.154] Output 'DSI-2' no heads left, disabling.
Stopping system message bus: done
Saving random seed: OK
/usr/bin/modetest
Stopping klogd: OK
Stopping syslogd: OK
umount: devtmpfs busy - remounted read-only
The system is going down NOW!
Sent SIGTERM to all processes
Sent SIGKILL to all processes
Requesting system poweroff
[ 42.276835] reboot: Power down
[END] 2024/8/20 14:03:45
这篇关于20240820飞凌的OK3588-C的核心板在Linux R4下使用poweroff关机的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!