I tried this on my X96-X4 Hardware Rev 1.3 box, which currently runs on 20.5-Nexus (Amlogic-ng.arm), Linux version 4.9.269 (portisch@ubuntu) (gcc version 12.2.0 (GCC) ) #1 SMP PREEMPT Tue Mar 5 10:40:40 CET 2024
CoreELEC:~ # lscpu
Architecture: aarch64
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Vendor ID: ARM
Model name: Cortex-A55
Model: 0
Thread(s) per core: 1
Core(s) per cluster: 4
Socket(s): -
Cluster(s): 1
Stepping: r2p0
CPU(s) scaling MHz: 100%
CPU max MHz: 2000.0000
CPU min MHz: 100.0000
BogoMIPS: 48.00
Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp
asimdhp asimddp
Caches (sum of all):
L1d: 128 KiB (4 instances)
L1i: 128 KiB (4 instances)
L2: 256 KiB (4 instances)
L3: 512 KiB (1 instance)
CoreELEC:~ # lscpu --caches
NAME ONE-SIZE ALL-SIZE WAYS TYPE LEVEL SETS PHY-LINE COHERENCY-SIZE
L1d 32K 128K 4 Data 1 128 64
L1i 32K 128K 4 Instruction 1 128 64
L2 64K 256K 4 Unified 2 256 64
L3 512K 512K 16 Unified 3 512 64
CoreELEC:~ # lscpu --output-all -e
BOGOMIPS CPU CORE SOCKET CLUSTER NODE BOOK DRAWER L1d:L1i:L2:L3 POLARIZATION ADDRESS CONFIGURED ONLINE MHZ SCALMHZ% MAXMHZ MINMHZ
48.00 0 0 0 0 - - - 0:0:0:0 - - - yes 2000.0000 100% 2000.0000 100.0000
48.00 1 1 0 0 - - - 1:1:1:0 - - - yes 2000.0000 100% 2000.0000 100.0000
48.00 2 2 0 0 - - - 2:2:2:0 - - - yes 2000.0000 100% 2000.0000 100.0000
48.00 3 3 0 0 - - - 3:3:3:0 - - - yes 2000.0000 100% 2000.0000 100.0000
CoreELEC:~ # cat /sys/class/aml_ddr/freq
396 MHz