Common Operations

View Dev Board's Image Version

Run uname -a to check system version, as shown below:

root@j6dvb-hynix8G:/userdata# uname -a Linux j6dvb-hynix8G 4.14.74-00695-gb3d914ab7-dirty #1 SMP Sun Aug 15 14:41:13 CST 2021 aarch64 GNU/Linux
Note
  • SMP indicates that the system supports Symmetrical Multi-Processing.

  • PREEMPT indicates that the system supports the preemption core.

  • Oct 23 10:47:39 CST 2020 indicates the release time of the system image.

  • aarch64 indicates that the platform supported by the system is the aarch64.

View System Logs

Run dmesg to check system logs, as shown below:

root@j6dvb:/userdata# dmesg [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd422] [ 0.000000] Linux version 6.1.83-rt28-g6af6c0ebfe37 (root@b3105a78-c80b-40b4-be46-d6a608621fb7-g6z51-g9w0q) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP PREEMPT_RT Thu May 23 23:10:08 CST 2024 [ 0.000000] Machine model: Horizon Robotics J6E MatrixA Development Board [ 0.000000] earlycon: uart8250 at MMIO32 0x00000000394b0000 (options '') [ 0.000000] printk: bootconsole [uart8250] enabled ...

If a system error occurs while running a program on the board (such as a killed program or mem allocation failure), execute dmesg to check the exact cause of the system error.

View BPU Utilization

Run hrut_somstatus to check the BPU utilization of the current dev board, as shown below:

=====================1===================== temperature--> ddr_cv_cam-thermal : 35.7 (C) soc-thermal : 35.6 (C) bpu0_r-thermal : 34.3 (C) ddr0_sram : 35.3 (C) bpu0_b_top : 34.1 (C) bpu0_video : 35.1 (C) ddr0_video : 35.2 (C) peri : 35.1 (C) bpu1_cpu-thermal : 34.7 (C) bpu1_sram : 35.3 (C) bpu1_top : 34.4 (C) bpu1_left : 34.4 (C) bpu0_cam_cv : 35.2 (C) ddr1_cam : 35.7 (C) cpu-thermal : 35.0 (C) cpu_t-thermal : 35.0 (C) cpu frequency--> min cur max cpu0: 24000 1200000 1200000 cpu1: 24000 1200000 1200000 cpu2: 24000 1200000 1200000 cpu3: 24000 1200000 1200000 cpu4: 24000 1200000 1200000 cpu5: 24000 1200000 1200000 cpu6: 24000 1200000 1200000 cpu7: 24000 1200000 1200000 bpu status information----> min cur max ratio bpu0: 200000000 1200000000 1200000000 0 bpu1: 200000000 1200000000 1200000000 0