T536主板的Linux系统基础信息查询-盈鹏飞嵌入式

CoM-T536产品特性:

  • 采用Allwinner公司Cortex-A55四核T536处理器,最高速度为1.6GHZ;
  • 支持2TOPS NPU,仅特定型号支持;
  • 支持4K/25fps H.264视频编码,支持4K/15fps MJPEG编码;
  • 支持1-4G Bytes LPDDR4 SDRAM;
  • 支持EMMC 4G-64G大容量电子盘,可启动;或支持SPI NAND启动;
  • 支持双通道LVDS,分辨率最高1920x1080@60fps;支持MIPI DSI显示, 分辨率最高1920x1020@60fps;
  • 支持PCIE2.1;支持最多17路UART;支持四路CANFD;支持双路千兆以太网;
  • 稳定的操作系统的支持,可预装LINUX 5.10/Ubuntu 20.04
  • 邮票孔198POS设计, 尺寸为:53.5*45MM

CoM-T536功能图:

CoM-T536(1)
STK-T536评估板功能图:
image

2、系统启动

2.1、评估板启动测试

硬件一切准备就绪,评估板接入12V电源,可以看到调试串口终端输出打印信息。

点击查看代码
U-Boot 2023.04-rc4 (Feb 13 2026 - 14:17:10 +0800) Allwinner Technology
U-Boot bsp (Feb 13 2026 - 14:17:10 +0800) Allwinner Technology

14/40 CPU:   SUNXI Family
Model: sun55iw6
DRAM:  2 GiB
[00.687]Relocation Offset is: 71d8f000
[00.768]set_sunxi_flash_curdev...65:cur_sunxi_flash :mmc@0x04022000L.sunxi_flash
[00.776][mmc]: mmc driver ver uboot2023:2024-11-15 16:03:00
[00.783][mmc]: get sdc_type fail and use default host:tm4.
[00.788][mmc]: SUNXI SDMMC Controller Version:0x50520
[00.796][mmc]: 200 MHz...
[00.798][mmc]: sample: 16 - 156(ps)
[00.801][mmc]: ds: 16 - 156(ps)
Working FDT set to b7d85e70
[00.809]secure enable bit: 0
[00.813][AXP2202] comm status : 0x0 = 0x20, 0x1 = 0x90
[00.819][AXP2202] onoff status : 0x20 = 0x4, 0x21 = 0x0
[00.824][[AXP2202] reboot/charge status: 0xf0 = 0x0
[00.829][[AXP2202] reboot/charge status: 0x17 = 0x26
[00.833]no axp start up debug function
[00.838]axp2202_dcdc1_mode = 1[now:1]
[00.842]axp2202_dcdc2_mode = 1[now:1]
[00.847]axp2202_dcdc3_mode = 1[now:1]
[00.853]axp2202_aldo1_vol = 1800[now:1800], onoff=1[now:1]
[00.860]axp2202_bldo1_vol = 1800[now:1800], onoff=0[now:0]
[00.868]axp2202_bldo2_vol = 1800[now:1800], onoff=1[now:1]
[00.875]axp2202_bldo3_vol = 1800[now:1800], onoff=0[now:0]
[00.883]axp2202_cldo4_vol = 3300[now:3300], onoff=1[now:1]
[00.888]workmode = 0,storage type = emmc
SUNXI SD/MMC: 0
[00.893]sunxi_rproc e907_rproc@1a00000: version: 1.0.0
[00.898]sunxi_twi twi0@0x02510000L: pinctrl_select_state_full: pinctrl_config_one: err=-38
[00.906]twi-1: bus is busy, lcr = 0
[00.930]twi-1: SDA is still Stuck Low, failed.
uclass probe fail.
Core:  154 devices, 32 uclasses, devicetree: separate
WDT:   Not starting watchdog@0x02050000L
MMC:   Loading Environment from SUNXI_FLASH... [00.955][mmc]: mmc 2 cmd timeout 100 status 100
[00.959][mmc]: smc 2 err, cmd 8,  RTO
[00.963][mmc]: mmc 2 close bus gating and reset
[00.968][mmc]: mmc 2 cmd timeout 100 status 100
[00.972][mmc]: smc 2 err, cmd 55,  RTO
[00.975][mmc]: mmc 2 close bus gating and reset
[00.998][mmc]: Best spd md: 4-HS400, freq: 4-150000000, Bus width: 8
OK
In:    serial
Out:   serial
Err:   serial
gic: sec monitor mode
[01.016]skip update boot_param
[01.019]update bootcmd
Net:
ethernet@4500000 (eth0) using static MAC address - c6:00:92:24:8d:28
eth0: ethernet@4500000
ethernet@4510000 (eth1) using static MAC address - 70:d5:c6:00:92:24
, eth1: ethernet@4510000
cann't get the boot_base from the env
[01.053]root_partition is rootfs
[01.056]set root to /dev/mmcblk2p5
[01.059]update part info
[01.067]Fail to get reset clk for rst_bus_de_sys
[01.071]Fail to get de's irq!
[01.074]sunxi_de_get_disp_sys:Get top phandle fail!
[01.091]panel_dsi dsi0@5506000.0: failed to request regulator(power2-supply): -2
[01.098]panel_dsi dsi0@5506000.0: failed to request enable0-gpios GPIO: -2
[01.104]panel_dsi dsi0@5506000.0: failed to request enable1-gpios GPIO: -2
[01.111]panel_dsi dsi0@5506000.0: failed to request enable2-gpios GPIO: -2
[01.117]panel_dsi dsi0@5506000.0: failed to request reset GPIO: -2
[01.126]Using display timing dts
dsi0@5506000:  detailed mode clock 148500 kHz, flags[5]
    H: 1920 2008 2052 2200
    V: 1080 1084 1089 1125
bus_format: 0
1123254 bytes read in 10 ms (107.1 MiB/s)
[01.160]irq no:123
[lowlevel] x:1920, y:1080, vt:1125, vbp:36, vspw:5, ht:2200, hbp:148, hspw:44
Working FDT set to 42000000
[01.275]change working_fdt 0xb7d85e70 to 0x42000000
ret 0
[01.294][mmc]: get ctl-cmdq-md ok 2
[01.297][mmc]: update dtb ok, ctl-cmdq-md
[01.306]update dts
[01.309]Item0 (Map) magic is bad
[01.312]the secure storage item0 copy0 magic is bad
[01.316]Item0 (Map) magic is bad
[01.319]the secure storage item0 copy1 magic is bad
[01.324]Item0 (Map) magic is bad
delay time 0
Autoboot in 0 seconds , Hit Ctrl+C to stop autoboot
## Booting Android Image at 0x4007f800 ...
Android's image name: sun55i_arm64
Kernel load addr 0x40080000 size 24625 KiB
## Flattened Device Tree blob at 42000000
   Booting using the fdt blob at 0x42000000
Working FDT set to 42000000
   XIP Kernel Image
   Using Device Tree in place at 42000000, end 42042fff
Working FDT set to 42000000
[01.904]Starting kernel ...

NOTICE:  [SCP] :wait arisc ready....
NOTICE:  [SCP] :arisc version: []
NOTICE:  [SCP] :arisc startup ready
NOTICE:  [SCP] :arisc startup notify message feedback
NOTICE:  [SCP] :sunxi-arisc driver is starting
NOTICE:  BL3-1: Next image address = 0x40080000
NOTICE:  BL3-1: Next image spsr = 0x3c5
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050]
[    0.000000] Linux version 5.10.198 (ping@embfly-server) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #58 SMP PREEMPT Fri Feb 13 14:17:25 CST 2026
[    0.000000] Machine model: STK-536 HDMI
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000042380000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node e907_rpbuf@42380000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000042400000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vdev0buffer@42400000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000042444000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vdev0buffer@42444000, compatible id shared-dma-pool
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x000000004237ffff]
[    0.000000]   node   0: [mem 0x0000000042380000-0x0000000042488fff]
[    0.000000]   node   0: [mem 0x0000000042489000-0x0000000048ffffff]
[    0.000000]   node   0: [mem 0x0000000049000000-0x00000000499fffff]
[    0.000000]   node   0: [mem 0x0000000049a00000-0x000000005fffffff]
[    0.000000]   node   0: [mem 0x0000000060000000-0x00000000601fffff]
[    0.000000]   node   0: [mem 0x0000000060200000-0x00000000bfffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x00000000bfffffff]
[    0.000000] On node 0 totalpages: 524288
[    0.000000]   DMA zone: 8192 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 524288 pages, LIFO batch:63
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 21 pages/cpu s48216 r8192 d29608 u86016
[    0.000000] pcpu-alloc: s48216 r8192 d29608 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation forced ON by KASLR
[    0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516096
[    0.000000] Kernel command line: earlyprintk=sunxi-uart,0x02600000 initcall_debug=0 console=ttyAS0,115200 loglevel=8 root=/dev/mmcblk2p5 rootwait init=/init rdinit=/rdinit partitions=boot-resource@mmcblk2p1:env@mmcblk2p2:boot@mmcblk2p3:private@mmcblk2p4:rootfs@mmcblk2p5:UDISK@mmcblk2p6 cma= snum=3c000c6d570288d2492 mac_addr= wifi_mac= bt_mac= selinux= specialstr= coherent_pool=16K ion_carveout_list= gpt=1 androidboot.serialno=3c000c6d570288d2492 androidboot.hardware=sun55iw6p1 boot_type=2 androidboot.boot_type=2 gpt=1 uboot_message=2023.04-rc4 mbr_offset=20971520 androidboot.dramfreq=1200 androidboot.dramsize=2048
[    0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1991196K/2097152K available (11774K kernel code, 2736K rwdata, 5012K rodata, 5056K init, 381K bss, 105956K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000003460000
[    0.000000] ITS: No ITS available, not enabling LPIs
[    0.000000] AW BSP version: UNKNOWN, 2026-02-13 14:17:21
[    0.000000] sunxi:ccu-ng:[INFO]: ccu: sunxi ccu init OK
[    0.000000] sunxi:ccu-ng:[INFO]: sunxi ccu common driver version: 1.2.1
[    0.000000] sunxi:ccu-ng:[INFO]: sunxi ccu driver version: 0.6.3
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008269] sunxi:hstimer:[INFO]: sun50i timer init:0xffffff00000004, driver version: 1.1.3
[    0.016296] clocksource: timer: mask: 0xffffffffffffff max_cycles: 0x1623fa770, max_idle_ns: 440795202238 ns
[    0.026846] Console: colour dummy device 80x25
[    0.030534] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.040747] pid_max: default: 32768 minimum: 301
[    0.045454] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.052715] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    0.062327] rcu: Hierarchical SRCU implementation.
[    0.067226] smp: Bringing up secondary CPUs ...
[    0.070460] Detected VIPT I-cache on CPU1
[    0.070498] GICv3: CPU1: found redistributor 100 region 0:0x0000000003480000
[    0.070543] CPU1: Booted secondary processor 0x0000000100 [0x412fd050]
[    0.071293] Detected VIPT I-cache on CPU2
[    0.071324] GICv3: CPU2: found redistributor 200 region 0:0x00000000034a0000
[    0.071361] CPU2: Booted secondary processor 0x0000000200 [0x412fd050]
[    0.072053] Detected VIPT I-cache on CPU3
[    0.072079] GICv3: CPU3: found redistributor 300 region 0:0x00000000034c0000
[    0.072112] CPU3: Booted secondary processor 0x0000000300 [0x412fd050]
[    0.072230] smp: Brought up 1 node, 4 CPUs
[    0.126386] SMP: Total of 4 processors activated.
[    0.131051] CPU features: detected: Privileged Access Never
[    0.136619] CPU features: detected: LSE atomic instructions
[    0.142147] CPU features: detected: User Access Override
[    0.147445] CPU features: detected: 32-bit EL0 Support
[    0.152544] CPU features: detected: Common not Private translations
[    0.158800] CPU features: detected: RAS Extension Support
[    0.164158] CPU features: detected: Data cache clean to the PoU not required for I/D coherence
[    0.172733] CPU features: detected: CRC32 instructions
[    0.177846] CPU features: detected: Speculative Store Bypassing Safe (SSBS)
[    0.211812] CPU: All CPU(s) started at EL1
[    0.211893] alternatives: patching kernel code
[    0.216315] devtmpfs: initialized
[    0.242168] KASLR disabled due to lack of seed
[    0.242418] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.250720] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.257671] pinctrl core: initialized pinctrl subsystem
[    0.263917] NET: Registered protocol family 16
[    0.267752] DMA: preallocated 16 KiB GFP_KERNEL pool for atomic allocations
[    0.274123] DMA: preallocated 16 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.281741] DMA: preallocated 16 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.290010] thermal_sys: Registered thermal governor 'fair_share'
[    0.290016] thermal_sys: Registered thermal governor 'bang_bang'
[    0.295594] thermal_sys: Registered thermal governor 'step_wise'
[    0.301577] thermal_sys: Registered thermal governor 'user_space'
[    0.307548] thermal_sys: Registered thermal governor 'power_allocator'
[    0.314326] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.326974] ASID allocator initialised with 32768 entries
[    0.380907] sunxi:ccu-ng:[INFO]: sunxi rtc-ccu version: 0.0.2
[    0.381942] sunxi:ccu-ng:[INFO]: rtc_ccu: sunxi ccu init OK
[    0.387078] sunxi:ccu-ng:[INFO]: clock: sunxi ccu init OK
[    0.391980] sunxi:ccu-ng:[INFO]: sunxi pll_cpu driver version: 0.0.2
[    0.399949] sunxi:ccu-ng:[INFO]: r_ccu: sunxi ccu init OK
[    0.403657] sunxi:ccu-ng:[INFO]: sunxi r-ccu driver version: 0.2.8
[    0.409910] sunxi:pin:[INFO]: sunxi r-pinctrl version: 0.8.3
[    0.417777] sunxi:pin-7096000.pinctrl:[INFO]: pinctrl withstand voltage config mode=auto_hard
[    0.423940] sunxi:pin:[INFO]: sunxi pinctrl core driver version: 1.3.7
[    0.448152] iommu: Default domain type: Translated
[    0.448342] vgaarb: loaded
[    0.450375] SCSI subsystem initialized

启动到最后的信息如下,回车即可进入shell操作。
root@T536-embfly:~#

2.2、系统信息查询

2.2.1、查看CPU信息

Target# cat /proc/cpuinfo

点击查看代码
root@T536-embfly:/# cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 48.00
Features        : fp asimd aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x2
CPU part        : 0xd05
CPU revision    : 0

processor       : 1
BogoMIPS        : 48.00
Features        : fp asimd aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x2
CPU part        : 0xd05
CPU revision    : 0

processor       : 2
BogoMIPS        : 48.00
Features        : fp asimd aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x2
CPU part        : 0xd05
CPU revision    : 0

processor       : 3
BogoMIPS        : 48.00
Features        : fp asimd aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x2
CPU part        : 0xd05
CPU revision    : 0

root@T536-embfly:/#

2.2.2、查看CPU温度

CPU内部含有温度传感器,执行如下命令可查看CPU的温度值。实际温度为:53354/1000=53.354℃。
Target# cat /sys/class/thermal/thermal_zone0/temp
root@T536-embfly:/# cat /sys/class/thermal/thermal_zone0/temp 53354

2.2.3、查看Linux内核版本

Target# cat /proc/version

点击查看代码
root@T536-embfly:/# cat /proc/version
Linux version 5.10.198 (ping@embfly-server) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #58 SMP PREEMPT Fri Feb 13 14:17:25 CST 2026

2.2.4、查看文件系统版本信息

Target# cat /etc/os-release

点击查看代码
root@T536-embfly:/# cat /proc/version
Linux version 5.10.198 (ping@embfly-server) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #58 SMP PREEMPT Fri Feb 13 14:17:25 CST 2026
root@T536-embfly:/# ^C
root@T536-embfly:/# cat /etc/os-release
NAME=Buildroot
VERSION=2022.05
ID=buildroot
VERSION_ID=2022.05
PRETTY_NAME="Buildroot 2022.05"
root@T536-embfly:/#

2.2.5、查看当前CPU使用率

Target# top

点击查看代码
Mem: 248328K used, 1747924K free, 696K shrd, 10464K buff, 123716K cached
CPU:   0% usr   1% sys   0% nic  97% idle   0% io   0% irq   0% sirq
Load average: 0.06 0.13 0.09 1/143 1382
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
  109     2 root     IW       0   0%   1% [kworker/1:3-eve]
  575     1 root     S    29468   1%   1% lv_examples 0
  613     1 root     S     1960   0%   0% /sbin/swupdate-progress -w
  125     2 root     IW       0   0%   0% [kworker/0:6-eve]
   11     2 root     IW       0   0%   0% [rcu_preempt]
  608   507 root     S    1372m  70%   0% containerd --config /var/run/docker/containerd/containerd.toml --log-level info
 1367   616 root     R     3452   0%   0% top
    1     0 root     S     3316   0%   0% init
   22     2 root     IW       0   0%   0% [kworker/2:0-eve]
   10     2 root     SW       0   0%   0% [ksoftirqd/0]
  507     1 root     S    1383m  71%   0% /usr/bin/dockerd
  480     1 root     S<    219m  11%   0% /usr/bin/pulseaudio --daemon --exit-idle-time=-1 -v
  460     1 root     S     218m  11%   0% adbd
  492   480 root     S    84388   4%   0% /usr/libexec/pulse/gsettings-helper
  432     1 root     S    74028   4%   0% /usr/sbin/ntpd -g -p /var/run/ntpd.pid
  171     1 root     S    16364   1%   0% /sbin/udevd -d
  582     1 root     S     9964   0%   0% /usr/sbin/cupsd -C /etc/cups/cupsd.conf -s /etc/cups/cups-files
  616     1 root     S     7336   0%   0% -/bin/bash
  471     1 mosquitt S     6804   0%   0% /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
  498     1 root     S     6632   0%   0% sshd: /usr/sbin/sshd [listener] 0 of 10-100 startups
  573     1 root     S     5844   0%   0% /usr/sbin/vsftpd
  770     1 root     S     5484   0%   0% bluetoothd
  382     1 root     S     3744   0%   0% dbus-daemon --system
  155     1 root     S     3316   0%   0% /sbin/syslogd -n
  159     1 root     S     3316   0%   0% /sbin/klogd -n
  503     1 root     S     3316   0%   0% /usr/sbin/telnetd -F
  564     1 root     S     3076   0%   0% /usr/sbin/ptp4l -f /etc/linuxptp.cfg
  568     1 root     S     3024   0%   0% /usr/sbin/phc2sys -a -r -S 1.0
  408   407 root     S     2952   0%   0% dhcpcd: [privileged proxy]
  407     1 dhcpcd   S     2752   0%   0% dhcpcd: [manager] [ip4] [ip6]
  550     1 root     S     2748   0%   0% rpc.statd
  409   407 dhcpcd   S     2620   0%   0% dhcpcd: [network proxy]
  410   407 dhcpcd   S     2620   0%   0% dhcpcd: [control proxy]
  386     1 root     S     2536   0%   0% /usr/sbin/rpcbind
  602     1 root     S     2320   0%   0% hciattach -s 1500000 /dev/ttyAS1 any 1500000 flow nosleep
  106     2 root     IW       0   0%   0% [kworker/3:8-eve]
  599     2 root     SW       0   0%   0% [irq/124-usb_id]
   33     2 root     IW       0   0%   0% [kworker/0:3-eve]
    7     2 root     IW       0   0%   0% [kworker/u8:0-ev]
   95     2 root     IW       0   0%   0% [kworker/2:3-mm_]
   74     2 root     IW<      0   0%   0% [kworker/0:1H-mm]
   36     2 root     SW       0   0%   0% [kcompactd0]
  133     2 root     IW<      0   0%   0% [kworker/3:1H-kb]
  132     2 root     IW<      0   0%   0% [kworker/2:1H-kb]
  211     2 root     IW<      0   0%   0% [kworker/1:2H-kb]
   93     2 root     SW       0   0%   0% [irq/49-mmc2]
    2     0 root     SW       0   0%   0% [kthreadd]
  108     2 root     IW       0   0%   0% [kworker/1:2-eve]
 1336     2 root     IW       0   0%   0% [kworker/u8:1-ev]
    3     2 root     IW<      0   0%   0% [rcu_gp]
    4     2 root     IW<      0   0%   0% [rcu_par_gp]
    8     2 root     IW<      0   0%   0% [mm_percpu_wq]
    9     2 root     SW       0   0%   0% [rcu_tasks_kthre]
   12     2 root     SW       0   0%   0% [migration/0]
   13     2 root     SW       0   0%   0% [cpuhp/0]
   14     2 root     SW       0   0%   0% [cpuhp/1]
   15     2 root     SW       0   0%   0% [migration/1]
   16     2 root     SW       0   0%   0% [ksoftirqd/1]
   19     2 root     SW       0   0%   0% [cpuhp/2]

备注:出厂时,固件的不同会导致以上信息不同,请知悉!

2.2.6、查看当前内存使用情况

Target# cat /proc/meminfo

点击查看代码
root@T536-embfly:/# cat /proc/meminfo
MemTotal:        1996252 kB
MemFree:         1748680 kB
MemAvailable:    1861312 kB
Buffers:           10464 kB
Cached:           123780 kB
SwapCached:            0 kB
Active:            22168 kB
Inactive:         146888 kB
Active(anon):        568 kB
Inactive(anon):    44464 kB
Active(file):      21600 kB
Inactive(file):   102424 kB
Unevictable:        9460 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                 0 kB
Writeback:             0 kB
AnonPages:         44272 kB
Mapped:            94044 kB
Shmem:               760 kB
KReclaimable:      11716 kB
Slab:              33244 kB
SReclaimable:      11716 kB
SUnreclaim:        21528 kB
KernelStack:        2352 kB
PageTables:         1620 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      998124 kB
Committed_AS:     334764 kB
VmallocTotal:   262930368 kB
VmallocUsed:        3532 kB
VmallocChunk:          0 kB
Percpu:              544 kB
CmaTotal:              0 kB
CmaFree:               0 kB
root@T536-embfly:/#

2.2.7、查看系统环境变量信息

Target# env

点击查看代码
root@T536-embfly:/# env
SHELL=/bin/sh
bt_mac=
QT_QPA_PLUGINS=1
snum=3c000c6d570288d2492
mbr_offset=20971520
selinux=
EDITOR=/bin/vi
PWD=/
wifi_mac=
TSLIB_CONSOLEDEVICE=none
HOME=/
uboot_message=2023.04-rc4
mac_addr=
boot_type=2
QT_QPA_PLATFORM=linuxfb:tty=/dev/fb0
TSLIB_CALIBFILE=/etc/pointercal
TERM=vt102
USER=root
ion_carveout_list=
SHLVL=1
TSLIB_PLUGINDIR=/usr/lib/ts
specialstr=
LC_CTYPE=zh_CN.UTF-8
QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS=/dev/input/touchscreen0
PS1=\u@\h:\w\$
TSLIB_TSEVENTTYPE=input
TSLIB_TSDEVICE=/dev/input/touchscreen0
partitions=boot-resource@mmcblk2p1:env@mmcblk2p2:boot@mmcblk2p3:private@mmcblk2p4:rootfs@mmcblk2p5:UDISK@mmcblk2p6
TSLIB_CONFFILE=/etc/ts.conf
TSLIB_FBDEVICE=/dev/fb0
PATH=/bin:/sbin:/usr/bin:/usr/sbin
QT_QPA_GENERIC_PLUGINS=tslib
_=/usr/bin/env
root@T536-embfly:/#

2.2.8、查看处理器的性能模式与频率

T536处理器一共有4个核心,通过如下指令可以查看核心的运行频率是1.5GHZ。
Target# cat /sys/devices/system/cpu/cpu/cpufreq/cpuinfo_max_freq
//CPU最大频率,
代表0-3

点击查看代码
root@T536-embfly:/# cat /sys/devices/system/cpu/cpu*/cpufreq/cpuinfo_max_freq
1512000
1512000
1512000
1512000
root@T536-embfly:/#

从以上信息可以得知,0-3核心工作的最高频率是1.5GHZ,另外还可以通过如下指令判断当前处理器的处于什么样的工作方式,例如性能模式还是省电模式:
Target# cat /sys/devices/system/cpu/cpu/cpufreq/scaling_available_governors
//可用的CPU工作模式,
代表0-3
Target# cat /sys/devices/system/cpu/cpu/cpufreq/scaling_governor
//当前CPU运行模式,
代表0-3
Target# cat /sys/devices/system/cpu/cpu/cpufreq/scaling_cur_freq
//当前CPU频率,
代表0-3
处理器的工作模式有如下:
image

用于连接远程SSH服务器和安全文件传输,评估板根文件系统默认已支持SSH库。2.3、OpenSSH使用
OpenSSH是一个用于安全远程登录和其他安全网络服务的工具集,其组件包括:ssh、sshd、scp、sftp等。广泛

2.3.1、通过OpenSSH登录系统

在Ubuntu执行如下命令并输入密码root(默认用户名和密码均为:root/embfly)即可登录评估板根文件系统,执行exit或者logout命令退出登录。
Host#sudo ssh root@192.168.0.64 //192.168.0.64为评估板IP
image

2.3.2、使用scp拷贝文件

(1)从PC机传送文件至评估板
执行如下命令,将使用OpenSSH工具集中scp将test文件拷贝至评估板文件系统根目录。如传输的是文件夹,请在scp后面添加参数"-r"。
Host# scp test1 root@192.168.0.64:/
image
在评估板根目录可看到从PC机拷贝过来的文件,如下图所示:
image
(2)从评估板传送文件至PC机
在Ubuntu上执行如下命令将评估板文件test1拷贝至PC机"/home/embfly/"目录下。
Host# scp root@192.168.0.64:/test1 /home/embfly/
image

posted @ 2026-04-17 14:56  embfly168  阅读(40)  评论(0)    收藏  举报