[root@luckfox root]# ls
[root@luckfox root]# ls -l
total 0
[root@luckfox root]# dmesg
[ 1.792070] ubi4: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1042280637
[ 1.792080] ubi4: available PEBs: 0, total reserved PEBs: 240, PEBs reserved for bad PEB handling: 20
[ 1.793290] ubi4: background thread "ubi_bgt4d" started, PID 131
[ 1.819116] UBIFS (ubi4:0): Mounting in unauthenticated mode
[ 1.819355] UBIFS (ubi4:0): background thread "ubifs_bgt4_0" started, PID 136
[ 1.834485] UBIFS (ubi4:0): recovery needed
[ 1.891447] UBIFS (ubi4:0): recovery completed
[ 1.891569] UBIFS (ubi4:0): UBIFS: mounted UBI device 4, volume 0, name "oem"
[ 1.891584] UBIFS (ubi4:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 1.891597] UBIFS (ubi4:0): FS size: 26157056 bytes (24 MiB, 206 LEBs), journal size 4190208 bytes (3 MiB, 33 LEBs)
[ 1.891607] UBIFS (ubi4:0): reserved for root: 0 bytes (0 KiB)
[ 1.891620] UBIFS (ubi4:0): media format: w4/r0 (latest is w5/r0), UUID BDCD6E53-0087-41CB-93A3-8960162893D4, small LPT model
[ 1.932303] ubi5: attaching mtd5
[ 1.943453] ubi5: scanning is finished
[ 1.951264] ubi5: attached mtd5 (name "userdata", size 6 MiB)
[ 1.951291] ubi5: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 1.951302] ubi5: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 1.951312] ubi5: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 1.951320] ubi5: good PEBs: 48, bad PEBs: 0, corrupted PEBs: 0
[ 1.951329] ubi5: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 1.951339] ubi5: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 679847914
[ 1.951348] ubi5: available PEBs: 0, total reserved PEBs: 48, PEBs reserved for bad PEB handling: 20
[ 1.953516] ubi5: background thread "ubi_bgt5d" started, PID 145
[ 1.973338] UBIFS (ubi5:0): Mounting in unauthenticated mode
[ 1.973569] UBIFS (ubi5:0): background thread "ubifs_bgt5_0" started, PID 150
[ 1.988587] UBIFS (ubi5:0): recovery needed
[ 2.038573] UBIFS (ubi5:0): recovery completed
[ 2.038695] UBIFS (ubi5:0): UBIFS: mounted UBI device 5, volume 0, name "userdata"
[ 2.038711] UBIFS (ubi5:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 2.038723] UBIFS (ubi5:0): FS size: 1777664 bytes (1 MiB, 14 LEBs), journal size 1142785 bytes (1 MiB, 9 LEBs)
[ 2.038732] UBIFS (ubi5:0): reserved for root: 0 bytes (0 KiB)
[ 2.038744] UBIFS (ubi5:0): media format: w4/r0 (latest is w5/r0), UUID CE7AE82C-CF10-4EDD-9BED-F504EDEC203F, small LPT model
[ 2.169414] rk_dvbm ffa70000.rkdvbm: probe start
[ 2.169461] rk_dvbm ffa70000.rkdvbm: dvbm ctx be451353
[ 2.170034] rk_dvbm ffa70000.rkdvbm: probe success
[ 2.194507] sc3336 4-0030: driver version: 00.01.01
[ 2.194593] sc3336 4-0030: Failed to get reset-gpios
[ 2.194648] sc3336 4-0030: could not get default pinstate
[ 2.194658] sc3336 4-0030: could not get sleep pinstate
[ 2.194685] sc3336 4-0030: supply avdd not found, using dummy regulator
[ 2.194965] sc3336 4-0030: supply dovdd not found, using dummy regulator
[ 2.195034] sc3336 4-0030: supply dvdd not found, using dummy regulator
[ 2.212908] sc3336 4-0030: Detected OV00cc41 sensor
[ 2.280425] rkcifhw ffa10000.rkcif: no iommu attached, using non-iommu buffers
[ 2.280466] rkcifhw ffa10000.rkcif: No reserved memory region assign to CIF
[ 2.280902] rkcif rkcif-mipi-lvds: rkcif driver version: v00.02.00
[ 2.281027] rkcif rkcif-mipi-lvds: attach to cif hw node
[ 2.281040] rkcif rkcif-mipi-lvds: failed to get dphy hw node
[ 2.281051] rkcif rkcif-mipi-lvds: rkcif wait line 0
[ 2.281061] rkcif rkcif-mipi-lvds: rkcif fastboot reserve bufs num 3
[ 2.281076] : terminal subdev does not exist
[ 2.281089] : terminal subdev does not exist
[ 2.281097] : terminal subdev does not exist
[ 2.281106] : terminal subdev does not exist
[ 2.281117] : get_remote_sensor: video pad[0] is null
[ 2.281125] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[ 2.281136] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
[ 2.281144] : get_remote_sensor: video pad[0] is null
[ 2.281151] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[ 2.281159] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
[ 2.281167] : get_remote_sensor: video pad[0] is null
[ 2.281173] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[ 2.281182] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
[ 2.281189] : get_remote_sensor: video pad[0] is null
[ 2.281195] : rkcif_update_sensor_info: stream[0] get remote sensor_sd failed!
[ 2.281204] : rkcif_scale_set_fmt: req(80, 60) src out(0, 0)
[ 2.295755] rkcif rkcif-mipi-lvds: No memory-region-thunderboot specified
[ 2.297015] rockchip-mipi-csi2-hw ffa20000.mipi-csi2-hw: enter mipi csi2 hw probe!
[ 2.297213] rockchip-mipi-csi2-hw ffa20000.mipi-csi2-hw: probe success, v4l2_dev:mipi-csi2-hw!
[ 2.297360] rockchip-mipi-csi2-hw ffa30000.mipi-csi2-hw: enter mipi csi2 hw probe!
[ 2.297502] rockchip-mipi-csi2-hw ffa30000.mipi-csi2-hw: probe success, v4l2_dev:mipi-csi2-hw!
[ 2.298012] rockchip-mipi-csi2 mipi0-csi2: attach to csi2 hw node
[ 2.298088] rkcif rkcif-mipi-lvds: Entity type for entity rockchip-mipi-csi2 was not initialized!
[ 2.298109] rockchip-mipi-csi2: Async registered subdev
[ 2.298122] rockchip-mipi-csi2: probe success, v4l2_dev:rkcif-mipi-lvds!
[ 2.356573] rkisp_hw ffa00000.rkisp: is_thunderboot: 0
[ 2.356605] rkisp_hw ffa00000.rkisp: Missing rockchip,grf property
[ 2.356656] rkisp_hw ffa00000.rkisp: max input:0x0@0fps
[ 2.356834] rkisp_hw ffa00000.rkisp: get sram size:253952
[ 2.356848] rkisp_hw ffa00000.rkisp: no iommu attached, using non-iommu buffers
[ 2.356859] rkisp_hw ffa00000.rkisp: No reserved memory region. default cma area!
[ 2.357266] rkisp rkisp-vir0: rkisp driver version: v02.05.00
[ 2.357424] rkisp rkisp-vir0: No memory-region-thunderboot specified
[ 2.358850] rkisp rkisp-vir0: Entity type for entity rkisp-isp-subdev was not initialized!
[ 2.389796] rockchip-csi2-dphy-hw ff3e8000.csi2-dphy-hw: csi2 dphy hw probe successfully!
[ 2.407166] rockchip-csi2-dphy csi2-dphy0: dphy0 matches m00_b_sc3336 4-0030:bus type 5
[ 2.407196] rockchip-csi2-dphy csi2-dphy0: csi2 dphy0 probe successfully!
[ 2.699694] rkcif rkcif-mipi-lvds: clear unready subdev num: 2
[ 2.701501] rkcif-mipi-lvds: Async subdev notifier completed
[ 2.702895] rkisp-vir0: Async subdev notifier completed
[ 2.704733] rkisp rkisp-vir0: clear unready subdev num: 0
[ 2.741438] rga: rga2, irq = 37, match scheduler
[ 2.742627] rga: rga2 hardware loaded successfully, hw_version:3.3.87975.
[ 2.742654] rga: rga2 probe successfully
[ 2.742962] rga_iommu: IOMMU binding successfully, default mapping core[0x4]
[ 2.744979] rga: Module initialized. v1.3.1
[ 2.847303] mpp_vcodec: loading out-of-tree module taints kernel.
[ 2.862353] mpp_vcodec: init new
[ 2.862544] mpp_service mpp-srv: 424abb9b author: Yandong Lin 2024-04-29 [mpp_enc]: fix wrap enc sw timeout when resolution switch
[ 2.862556] mpp_service mpp-srv: probe start
[ 2.865599] mpp_rkvenc_540c ffa50000.rkvenc: probing start
[ 2.865880] mpp_rkvenc_540c ffa50000.rkvenc: probing finish
[ 2.866389] mpp_vepu_pp ffa60000.rkvenc-pp: probe device
[ 2.866499] mpp_vepu_pp ffa60000.rkvenc-pp: shared_rst_a_pp is not found!
[ 2.866512] vepu_pp_init:526: No aclk reset resource define
[ 2.866523] mpp_vepu_pp ffa60000.rkvenc-pp: shared_rst_h_pp is not found!
[ 2.866530] vepu_pp_init:529: No hclk reset resource define
[ 2.868099] mpp_vepu_pp ffa60000.rkvenc-pp: probing finish
[ 2.868409] mpp_service mpp-srv: probe success
[ 2.896327] RKNPU ff660000.npu: RKNPU: rknpu iommu device-tree entry not found!, using non-iommu mode
[ 2.896884] RKNPU ff660000.npu: RKNPU: Initialized RKNPU driver: v0.9.2 for 20230825
[ 2.897003] RKNPU ff660000.npu: dev_pm_opp_set_regulators: no regulator (rknpu) found: -19
[ 2.973691] rockit_load start
[ 2.991165] rockit_load end
[ 3.009998] rve: rve_irq, irq = 51, match scheduler
[ 3.010810] rve: Driver loaded successfully rve[2] ver:[2021]58.1a
[ 3.010837] rve: probe successfully
[ 3.012693] rve: Module initialized. v1.0.6
[ 3.501408] file system registered
[ 3.617011] using random self ethernet address
[ 3.617051] using random host ethernet address
[ 3.673566] Mass Storage Function, version: 2009/09/11
[ 3.673612] LUN: removable file: (no medium)
[ 3.817747] read descriptors
[ 3.818044] read strings
[ 3.909819] stream_cif_mipi_id0: s_power 1, entity use_count 1
[ 3.910696] stream_cif_mipi_id0: s_power 0, entity use_count 0
[ 4.141980] stream_cif_mipi_id0: s_power 1, entity use_count 1
[ 4.143654] stream_cif_mipi_id0: open video, entity use_countt 2
[ 4.143793] stream_cif_mipi_id1: open video, entity use_countt 1
[ 4.177368] rkisp rkisp-vir0: first params buf queue
[ 4.317192] vsys dev open 27
[ 4.331886] stream_cif_mipi_id0: open video, entity use_countt 3
[ 4.331989] stream_cif_mipi_id0: close video, entity use_count 2
[ 4.338257] stream_cif_mipi_id0: open video, entity use_countt 3
[ 4.339705] stream_cif_mipi_id0: close video, entity use_count 2
[ 4.353475] stream_cif_mipi_id0: open video, entity use_countt 3
[ 4.353564] stream_cif_mipi_id0: close video, entity use_count 2
[ 4.359827] stream_cif_mipi_id0: open video, entity use_countt 3
[ 4.359918] stream_cif_mipi_id0: close video, entity use_count 2
[ 4.364096] rkisp-vir0: rockit wrap buf:0x2d12000
[ 4.364116] rkisp queue buf done
[ 4.365454] rkisp-vir0: wrap_line mode can not set the mirror
[ 4.365696] rkisp_hw ffa00000.rkisp: set isp clk = 198000000Hz
[ 4.367552] rkcif-mipi-lvds: stream[0] start streaming
[ 4.367706] rockchip-mipi-csi2 mipi0-csi2: stream on, src_sd: 74c5eb7b, sd_name:rockchip-csi2-dphy0
[ 4.367720] rockchip-mipi-csi2 mipi0-csi2: stream ON
[ 4.367776] rockchip-csi2-dphy0: dphy0, data_rate_mbps 510
[ 4.367816] rockchip-csi2-dphy csi2-dphy0: csi2_dphy_s_stream stream on:1, dphy0, ret 0
[ 4.391603] rkisp-vir0: wrap_line mode can not set the mirror
[ 4.397102] mpp_vcodec: 45: num_chan = 0
[ 4.397328] mpp_vcodec: 387: attr->max_width = 2304, attr->max_height = 1296
[ 4.404850] mpp_vcodec: 103: create channel 0 handle 42238600 online 1
[ 4.412654] 836: MPP_ENC_SET_CFG in
[ 4.412692] 532: MPP_ENC_SET_RC_CFG bps 11197440 [10497600 : 11897280] fps [30:30] gop 60
[ 4.412710] h265e_proc_prep_cfg:422: MPP_ENC_SET_PREP_CFG w:h [2304:1296] stride [2304:1296]
[ 4.412721] 270: send header for set cfg change input/format
[ 4.415345] 836: MPP_ENC_SET_CFG in
[ 4.415378] 532: MPP_ENC_SET_RC_CFG bps 2048000 [1920000 : 2176000] fps [30:30] gop 50
[ 4.415394] 270: send header for set cfg change rc_mode/fps/gop
[ 4.415627] 836: MPP_ENC_SET_CFG in
[ 4.415648] 532: MPP_ENC_SET_RC_CFG bps 2048000 [1920000 : 2176000] fps [25:25] gop 50
[ 4.415659] 270: send header for set cfg change rc_mode/fps/gop
[ 4.415830] 836: MPP_ENC_SET_CFG in
[ 4.415848] 532: MPP_ENC_SET_RC_CFG bps 2048000 [1920000 : 2176000] fps [25:25] gop 50
[ 4.415858] 270: send header for set cfg change rc_mode/fps/gop
[ 4.416561] 836: MPP_ENC_SET_CFG in
[ 4.416587] 532: MPP_ENC_SET_RC_CFG bps 2048000 [1920000 : 2176000] fps [25:25] gop 50
[ 4.416600] 270: send header for set cfg change rc_mode/fps/gop
[ 4.417853] 836: MPP_ENC_SET_CFG in
[ 4.417881] 532: MPP_ENC_SET_RC_CFG bps 2048000 [1920000 : 2176000] fps [25:25] gop 50
[ 4.417898] 270: send header for set cfg change rc_mode/fps/gop
[ 4.418416] 836: MPP_ENC_SET_CFG in
[ 4.418441] 532: MPP_ENC_SET_RC_CFG bps 2048000 [1920000 : 2176000] fps [25:25] gop 50
[ 4.418456] 270: send header for set cfg change rc_mode/fps/gop
[ 4.418690] 1155: mode cbr bps [1920000:2048000:2176000] fps fix [25/1] -> fix [25/1] gop i [50] v [0]
[ 4.430810] stream_cif_mipi_id0: open video, entity use_countt 3
[ 4.430984] stream_cif_mipi_id0: close video, entity use_count 2
[ 4.445447] stream_cif_mipi_id0: open video, entity use_countt 3
[ 4.445548] stream_cif_mipi_id0: close video, entity use_count 2
[ 4.447781] rkisp queue buf done
[ 4.448007] rkisp-vir0: wrap_line mode can not set the mirror
[ 4.449020] rkisp-vir0: wrap_line mode can not set the mirror
[ 4.449935] mpp_vcodec: 45: num_chan = 1
[ 4.450140] mpp_vcodec: 387: attr->max_width = 704, attr->max_height = 576
[ 4.451850] mpp_vcodec: 103: create channel 1 handle e3a5c993 online 0
[ 4.452698] 836: MPP_ENC_SET_CFG in
[ 4.452735] 532: MPP_ENC_SET_RC_CFG bps 1520640 [1425600 : 1615680] fps [30:30] gop 60
[ 4.452757] h265e_proc_prep_cfg:422: MPP_ENC_SET_PREP_CFG w:h [704:576] stride [704:576]
[ 4.452769] 270: send header for set cfg change input/format
[ 4.453051] 836: MPP_ENC_SET_CFG in
[ 4.453069] 532: MPP_ENC_SET_RC_CFG bps 512000 [480000 : 544000] fps [30:30] gop 50
[ 4.453077] 270: send header for set cfg change rc_mode/fps/gop
[ 4.453239] 836: MPP_ENC_SET_CFG in
[ 4.453255] 532: MPP_ENC_SET_RC_CFG bps 512000 [480000 : 544000] fps [30:30] gop 50
[ 4.453264] 270: send header for set cfg change rc_mode/fps/gop
[ 4.453406] 836: MPP_ENC_SET_CFG in
[ 4.453422] 532: MPP_ENC_SET_RC_CFG bps 512000 [480000 : 544000] fps [30:30] gop 50
[ 4.453431] 270: send header for set cfg change rc_mode/fps/gop
[ 4.453616] 836: MPP_ENC_SET_CFG in
[ 4.453630] 532: MPP_ENC_SET_RC_CFG bps 512000 [480000 : 544000] fps [30:30] gop 50
[ 4.453642] 270: send header for set cfg change rc_mode/fps/gop
[ 4.470159] 836: MPP_ENC_SET_CFG in
[ 4.470197] 532: MPP_ENC_SET_RC_CFG bps 512000 [480000 : 544000] fps [30:30] gop 50
[ 4.470222] 270: send header for set cfg change rc_mode/fps/gop
[ 4.470659] 836: MPP_ENC_SET_CFG in
[ 4.470709] 532: MPP_ENC_SET_RC_CFG bps 512000 [480000 : 544000] fps [30:30] gop 50
[ 4.470728] 270: send header for set cfg change rc_mode/fps/gop
[ 4.476433] mpp_vcodec: 45: num_chan = 2
[ 4.478245] mpp_vcodec: 103: create channel 4 handle c9bcb906 online 1
[ 4.479015] 836: MPP_ENC_SET_CFG in
[ 4.479043] 532: MPP_ENC_SET_RC_CFG bps 11197440 [10497600 : 11897280] fps [30:30] gop 60
[ 4.482056] 836: MPP_ENC_SET_CFG in
[ 4.482100] 532: MPP_ENC_SET_RC_CFG bps 11197440 [10497600 : 11897280] fps [30:30] gop 0
[ 4.482291] 836: MPP_ENC_SET_CFG in
[ 4.482306] 532: MPP_ENC_SET_RC_CFG bps 11197440 [10497600 : 11897280] fps [30:30] gop 0
[ 4.488291] 1155: mode cbr bps [480000:512000:544000] fps fix [30/1] -> fix [30/1] gop i [50] v [0]
[ 4.499435] stream_cif_mipi_id0: open video, entity use_countt 3
[ 4.499630] stream_cif_mipi_id0: close video, entity use_count 2
[ 4.507453] stream_cif_mipi_id0: open video, entity use_countt 3
[ 4.507582] stream_cif_mipi_id0: close video, entity use_count 2
[ 4.510477] rkisp queue buf done
[ 4.510732] rkisp-vir0: wrap_line mode can not set the mirror
[ 4.513535] vepu_pp_create_chn 0
[ 4.848272] usb0: HOST MAC ba:3d:a4:de:51:ac
[ 4.848297] usb0: MAC ba:59:11:5d:19:d0
[ 4.964041] dwc3 ffb00000.usb: device reset
[ 5.085897] android_work: sent uevent USB_STATE=CONNECTED
[ 5.426354] dwc3 ffb00000.usb: device reset
[ 5.530179] dwc3 ffb00000.usb: device reset
[ 5.814514] dwc3 ffb00000.usb: device reset
[ 5.918221] dwc3 ffb00000.usb: device reset
[ 6.286980] android_work: sent uevent USB_STATE=CONFIGURED
[root@luckfox root]#