16 Commits

Author SHA1 Message Date
lean
4f056f8ef3 autocore: ethinfo: rewritten in lua 2022-09-21 18:12:59 +08:00
lean
86eb0f2e34 autocore-arm: disable wireless port info show 2022-09-18 21:42:25 +08:00
AmadeusGhost
176c77d7ee autocore-arm: add filogic subtarget support 2022-09-16 22:50:09 +08:00
lean
9ae4851e10 autocore: fix arm eth port seq 2022-07-14 15:08:46 +08:00
hubbylei
bde47d3529
Update cpuinfo (#8250)
Fix errors in scripts
2021-11-13 21:30:01 +08:00
i=菜鸡一批
2c139883e4
Make up the ipq temperature (#8244)
* Make up the ipq temperature

* Update cpuinfo

* 给bcm27xx加个温度吧。
2021-11-13 00:17:35 +08:00
i=菜鸡一批
e65535d3cf
rockchip:rk3399 increases the frequency of complete information of the big core (#8232)
* Update cpuinfo

* Add files via upload

Co-authored-by: KLT007 <84753324+KLT007@users.noreply.github.com>
2021-11-11 18:09:46 +08:00
lean
d48fb0f877 autocore: add eth info for arm/armv8 target 2021-10-11 17:12:01 +08:00
coolsnowwolf
24714104cc autocore-arm: drop lm-sensor for ipq806x 2021-06-22 13:18:56 +08:00
coolsnowwolf
84d1b74472 autocore-arm: get rip of lm-sensor to speedup display index.html 2021-06-22 12:57:40 +08:00
lean
744d1ed2c7 autocore: add ax feature 2021-06-16 10:44:10 +08:00
Chuck
e17961f67e
optimize the performance of obtaining CPU temperature (#6398)
Preformance Test (on NanoPi R2s, repeat 1000 times):

old command:

temp="$(awk "BEGIN{printf (\"%.1f\n\",$(cat /sys/class/thermal/thermal_zone0/temp)/1000) }")°C"

```
real    0m 9.20s
user    0m 3.29s
sys     0m 6.24s
```

new command:

temp="$(awk '{ printf("%.1f °C", $0 / 1000) }' /sys/class/thermal/thermal_zone0/temp)"

```
real    0m 5.57s
user    0m 1.78s
sys     0m 3.97s
```

Signed-off-by: Chuck <fanck0605@qq.com>
2021-02-21 12:27:55 +08:00
Chuck
aaba169f2f
optimize the performance of obtaining CPU usage (#6399)
Preformance Test (on NanoPi R2s, repeat 1000 times):

old command

cpu_usage=$(expr 100 - $(cat /tmp/top_tmp | grep 'CPU:' | awk -F '%' '{print$4}' | awk -F ' ' '{print$2}'))

```
real    0m 14.25s
user    0m 7.96s
sys     0m 20.33s
```

new command

cpu_usage=$(cat /tmp/top_tmp | awk '/^CPU/ { printf("%d%%", 100 - $8) }')

```
real    0m 6.91s
user    0m 4.29s
sys     0m 6.06s
```

Signed-off-by: Chuck <fanck0605@qq.com>
2021-02-21 12:26:19 +08:00
AmadeusGhost
9f9bc95d6b
autocore: avoid resource busy issue on rpi4 (#6095) 2020-12-25 14:32:13 +08:00
CN_SZTL
1e36f5d11c
autocore-arm: add support for mvebu (#5781)
Co-authored-by: 486057 <4860575@qq.com>
2020-11-14 00:52:55 +08:00
CN_SZTL
c39177efcf
autocore: add cpu freq & temp display for some arm devices (#5657)
* autocore: add cpu freq & temp display for some arm devices

Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>

* Revert "show CPU Temperature for NanoPi R2S (#5612)"

This reverts commit 099439f051a8b2393554eb26cec2df074f653fae.

Co-authored-by: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com>
2020-10-13 01:07:17 +08:00