9.5.3. Common Operations

9.5.3.1. View Dev Board’s Image Version

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

# uname -a
Linux buildroot 6.1.12-rt7+ #48 SMP PREEMPT Fri Mar 29 18:42:21 CST 2024 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.

9.5.3.2. View System Logs

Run dmesg to check system logs, as shown below:

root@x5dvb:/userdata# dmesg
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[    0.000000] Linux version 6.1.12-rt7+ (river@10010201-380) (aarch64-none-linux-gnu-gcc (Arm GNU Toolchain 11.3.Rel1) 11.3.1 20220712, GNU ld (Arm GNU Toolchain 11.3.Rel1) 2.38.20220708) #48 SMP PREEMPT Fri Mar 29 18:42:21 CST 2024
[    0.000000] Machine model: D-Robotics Sunrise 5 DVB
[    0.000000] cvsubsys: get_hobot_socver socver:2
[    0.000000] Reserved memory: created CMA memory pool at 0x0000000170000000, size 256 MiB
...

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.

9.5.3.3. View BPU Utilization

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

=====================1=====================
temperature-->
        DDR      : 27.9 (C)
26859
        BPU      : 26.8 (C)
        CPU      : 27.4 (C)
cpu frequency-->
              min(M)    cur(M)  max(M)
        cpu0: 300       1500    1500
        cpu1: 300       1500    1500
        cpu2: 300       1500    1500
        cpu3: 300       1500    1500
        cpu4: 300       1500    1500
        cpu5: 300       1500    1500
        cpu6: 300       1500    1500
        cpu7: 300       1500    1500
bpu status information---->
              min(M)    cur(M)  max(M)  ratio
        bpu0: 500       1000    1000    0
ddr frequency information---->
              min(M)    cur(M)  max(M)
        ddr:  266       3200    3200
GPU gc8000 frequency information---->
            min(M)    cur(M)  max(M)
      gc8000:  200    1000    1000