Thermal_zone type and temp merge

@efahl

Do you expect that I can update OpenWrt 19.07-SNAPSHOT, Without being affected or causing a malfunction of router firmware?

cat /etc/os-release
NAME="OpenWrt"
VERSION="19.07-SNAPSHOT"
ID="openwrt"
ID_LIKE="lede openwrt"
PRETTY_NAME="OpenWrt 19.07-SNAPSHOT"
VERSION_ID="19.07-snapshot"
HOME_URL="https://openwrt.org/"
BUG_URL="https://bugs.openwrt.org/"
SUPPORT_URL="https://forum.openwrt.org/"
BUILD_ID="r11306-c4a6851c72"
OPENWRT_BOARD="mt6890/evb6890v1_64_cpe_nand"
OPENWRT_ARCH="aarch64_cortex-a55_neon-vfpv4"
OPENWRT_TAINTS="no-all busybox"
OPENWRT_DEVICE_MANUFACTURER="OpenWrt"
OPENWRT_DEVICE_MANUFACTURER_URL="https://openwrt.org/"
OPENWRT_DEVICE_PRODUCT="Generic"
OPENWRT_DEVICE_REVISION="v0"
OPENWRT_RELEASE="OpenWrt 19.07-SNAPSHOT r11306-c4a6851c72"
cat /etc/opkg/distfeeds.conf
src/gz openwrt_core http://downloads.openwrt.org/releases/19.07-SNAPSHOT/targets/mt6890/evb6890v1_64_cpe_nand/packages
src/gz openwrt_base http://downloads.openwrt.org/releases/19.07-SNAPSHOT/packages/aarch64_cortex-a55_neon-vfpv4/base
cat /proc/version
Linux version 4.19.205 (build01@build) (gcc version 7.5.0 (OpenWrt GCC 7.5.0 r11306-c4a6851c72), GNU ld (GNU Binutils) 2.31.1) #0 SMP Wed Jul 19 03:41:58 UTC 2023
root@ODU:~# cat /proc/cpuinfo
processor       : 0
model name      : ARMv8 Processor rev 0 (v8l)
BogoMIPS        : 26.00
Features        : fp asimd evtstrm 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
model name      : ARMv8 Processor rev 0 (v8l)
BogoMIPS        : 26.00
Features        : fp asimd evtstrm 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
model name      : ARMv8 Processor rev 0 (v8l)
BogoMIPS        : 26.00
Features        : fp asimd evtstrm 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
model name      : ARMv8 Processor rev 0 (v8l)
BogoMIPS        : 26.00
Features        : fp asimd evtstrm 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

Hardware        : MediaTek evb6890v1_64_cpe_nand
cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00400000 00040000 "preloader"
mtd1: 00200000 00040000 "preloader_backup"
mtd2: 00100000 00040000 "proinfo"
mtd3: 00100000 00040000 "misc"
mtd4: 00100000 00040000 "para"
mtd5: 01400000 00040000 "expdb"
mtd6: 02000000 00040000 "nvcfg"
mtd7: 02000000 00040000 "nvdata"
mtd8: 00800000 00040000 "protect1"
mtd9: 00800000 00040000 "protect2"
mtd10: 00800000 00040000 "mcf1_a"
mtd11: 00800000 00040000 "mcf2_a"
mtd12: 00800000 00040000 "mcf1_b"
mtd13: 00800000 00040000 "mcf2_b"
mtd14: 00100000 00040000 "seccfg"
mtd15: 00200000 00040000 "boot_para"
mtd16: 02000000 00040000 "nvram"
mtd17: 05000000 00040000 "md1img_a"
mtd18: 00a00000 00040000 "md1dsp_a"
mtd19: 00100000 00040000 "spmfw_a"
mtd20: 00100000 00040000 "pi_img_a"
mtd21: 00100000 00040000 "dpm_a"
mtd22: 00100000 00040000 "medmcu_a"
mtd23: 00200000 00040000 "sspm_a"
mtd24: 00200000 00040000 "mcupm_a"
mtd25: 00200000 00040000 "lk_a"
mtd26: 00100000 00040000 "tee_a"
mtd27: 02000000 00040000 "boot_a"
mtd28: 00100000 00040000 "rootfs_sig_a"
mtd29: 04000000 00040000 "rootfs_a"
mtd30: 05000000 00040000 "md1img_b"
mtd31: 00a00000 00040000 "md1dsp_b"
mtd32: 00100000 00040000 "spmfw_b"
mtd33: 00100000 00040000 "pi_img_b"
mtd34: 00100000 00040000 "dpm_b"
mtd35: 00100000 00040000 "medmcu_b"
mtd36: 00200000 00040000 "sspm_b"
mtd37: 00200000 00040000 "mcupm_b"
mtd38: 00200000 00040000 "lk_b"
mtd39: 00100000 00040000 "tee_b"
mtd40: 02000000 00040000 "boot_b"
mtd41: 00100000 00040000 "rootfs_sig_b"
mtd42: 04000000 00040000 "rootfs_b"
mtd43: 00100000 00040000 "loader_ext_a"
mtd44: 00100000 00040000 "loader_ext_b"
mtd45: 00400000 00040000 "fibo_para"
mtd46: 02000000 00040000 "fibonv"
mtd47: 19c80000 00040000 "user_data"
cat /proc/modules
ssv6x5x 544768 0 - Live 0xffffff80013f6000 (O)
compat 16384 0 - Live 0xffffff8000e72000 (O)
iptable_nat 16384 1 - Live 0xffffff80013f1000
ipt_TRIGGER 16384 0 - Live 0xffffff80013e9000
ipt_REJECT 16384 2 - Live 0xffffff80013e1000
ipt_MASQUERADE 16384 2 - Live 0xffffff80013d9000
ebtable_nat 16384 0 - Live 0xffffff80013d1000
ebtable_filter 16384 0 - Live 0xffffff80013c9000
ebtable_broute 16384 0 - Live 0xffffff80013c1000
xt_time 16384 0 - Live 0xffffff80013b9000
xt_tcpudp 16384 32 - Live 0xffffff80013b1000
xt_tcpmss 16384 0 - Live 0xffffff80013a9000
xt_string 16384 0 - Live 0xffffff80013a1000
xt_statistic 16384 0 - Live 0xffffff8001399000
xt_state 16384 0 - Live 0xffffff8001391000
xt_recent 20480 0 - Live 0xffffff8001388000
xt_policy 16384 0 - Live 0xffffff8001380000
xt_nat 16384 0 - Live 0xffffff8001378000
xt_multiport 16384 0 - Live 0xffffff8001370000
xt_mark 16384 0 - Live 0xffffff8001368000
xt_mac 16384 0 - Live 0xffffff8001360000
xt_limit 16384 20 - Live 0xffffff8001358000
xt_length 16384 0 - Live 0xffffff8001350000
xt_hl 16384 0 - Live 0xffffff8001348000
xt_helper 16384 0 - Live 0xffffff8001340000
xt_esp 16384 0 - Live 0xffffff8001338000
xt_ecn 16384 0 - Live 0xffffff8001330000
xt_dscp 16384 0 - Live 0xffffff8001328000
xt_conntrack 16384 38 - Live 0xffffff8001320000
xt_connmark 16384 0 - Live 0xffffff8001318000
xt_connlimit 16384 0 - Live 0xffffff8001310000
xt_connbytes 16384 0 - Live 0xffffff8001308000
xt_comment 16384 296 - Live 0xffffff8001300000
xt_bpf 16384 0 - Live 0xffffff80012f8000
xt_TCPMSS 16384 16 - Live 0xffffff80012f0000
xt_REDIRECT 16384 0 - Live 0xffffff80012e8000
xt_LOG 16384 0 - Live 0xffffff80012e0000
xt_HL 16384 1 - Live 0xffffff80012d8000
xt_DSCP 16384 0 - Live 0xffffff80012d0000
xt_CT 16384 2 - Live 0xffffff80012c8000
xt_CLASSIFY 16384 0 - Live 0xffffff80012c0000
wireguard 147456 0 - Live 0xffffff8001293000
ts_kmp 16384 0 - Live 0xffffff800128b000
ts_fsm 16384 0 - Live 0xffffff8001283000
ts_bm 16384 0 - Live 0xffffff800127b000
pppoe 24576 0 - Live 0xffffff8001270000
ppp_async 24576 0 - Live 0xffffff8001266000
nf_reject_ipv4 16384 1 ipt_REJECT, Live 0xffffff800125e000
nf_nat_ipv4 20480 2 iptable_nat,ipt_MASQUERADE, Live 0xffffff8001255000
nf_nat_ftp 16384 0 - Live 0xffffff800124d000
nf_nat 36864 5 ipt_TRIGGER,xt_nat,xt_REDIRECT,nf_nat_ipv4,nf_nat_ftp, Live 0xffffff800123f000
nf_log_ipv4 16384 0 - Live 0xffffff8001237000
nf_conntrack_rtcache 16384 0 - Live 0xffffff800122f000
nf_conntrack_netlink 40960 0 - Live 0xffffff8001220000
nf_conntrack_ftp 16384 3 nf_nat_ftp, Live 0xffffff8001218000
nf_conncount 20480 1 xt_connlimit, Live 0xffffff800120f000
mapfilter 73728 0 - Live 0xffffff80011f8000 (O)
macvlan 24576 0 - Live 0xffffff80011ed000
iptable_raw 16384 1 - Live 0xffffff80011e5000
iptable_mangle 16384 1 - Live 0xffffff80011dd000
iptable_filter 16384 1 - Live 0xffffff80011d5000
ipt_ah 16384 0 - Live 0xffffff80011cd000
ipt_ECN 16384 0 - Live 0xffffff80011c5000
ip_tables 28672 5 iptable_nat,iptable_raw,iptable_mangle,iptable_filter, Live 0xffffff80011b9000
ebtables 36864 3 ebtable_nat,ebtable_filter,ebtable_broute, Live 0xffffff80011ab000
ebt_vlan 16384 0 - Live 0xffffff80011a3000
ebt_stp 16384 0 - Live 0xffffff800119b000
ebt_snat 16384 0 - Live 0xffffff8001193000
ebt_redirect 16384 0 - Live 0xffffff800118b000
ebt_pkttype 16384 0 - Live 0xffffff8001183000
ebt_nflog 16384 0 - Live 0xffffff800117b000
ebt_mark_m 16384 0 - Live 0xffffff8001173000
ebt_mark 16384 0 - Live 0xffffff800116b000
ebt_log 16384 0 - Live 0xffffff8001163000
ebt_limit 16384 0 - Live 0xffffff800115b000
ebt_ip6 16384 0 - Live 0xffffff8001153000
ebt_ip 16384 0 - Live 0xffffff800114b000
ebt_dnat 16384 0 - Live 0xffffff8001143000
ebt_arpreply 16384 0 - Live 0xffffff800113b000
ebt_arp 16384 0 - Live 0xffffff8001133000
ebt_among 16384 0 - Live 0xffffff800112b000
ebt_802_3 16384 0 - Live 0xffffff8001123000
crc_ccitt 16384 1 ppp_async, Live 0xffffff800111b000
btmtk_uart 53248 0 - Live 0xffffff8001109000 (O)
bluetooth 344064 1 btmtk_uart, Live 0xffffff80010ab000
act_connmark 16384 0 - Live 0xffffff80010a3000
nf_conntrack 126976 19 ipt_TRIGGER,ipt_MASQUERADE,xt_state,xt_nat,xt_helper,xt_conntrack,xt_connmark,xt_connlimit,xt_connbytes,xt_REDIRECT,xt_CT,nf_nat_ipv4,nf_nat_ftp,nf_nat,nf_conntrack_rtcache,nf_conntrack_netlink,nf_conntrack_ftp,nf_conncount,act_connmark, Live 0xffffff800107b000
nf_defrag_ipv6 20480 1 nf_conntrack, Live 0xffffff8001072000
nf_defrag_ipv4 16384 1 nf_conntrack, Live 0xffffff800106a000
sch_tbf 20480 0 - Live 0xffffff8001061000
sch_hfsc 24576 0 - Live 0xffffff8001057000
cls_tcindex 20480 0 - Live 0xffffff800104e000
cls_route 20480 0 - Live 0xffffff8001045000
cls_matchall 16384 0 - Live 0xffffff800103d000
cls_basic 16384 0 - Live 0xffffff8001035000
act_skbedit 16384 0 - Live 0xffffff800102d000
hw_nat 163840 0 - Live 0xffffff8000ffd000 (O)
cryptodev 49152 0 - Live 0xffffff8000fec000 (O)
xt_set 20480 0 - Live 0xffffff8000fe3000
ip_set_list_set 20480 0 - Live 0xffffff8000fda000
ip_set_hash_netportnet 36864 0 - Live 0xffffff8000fcd000
ip_set_hash_netport 32768 0 - Live 0xffffff8000fc1000
ip_set_hash_netnet 36864 0 - Live 0xffffff8000fb4000
ip_set_hash_netiface 32768 0 - Live 0xffffff8000fa8000
ip_set_hash_net 32768 0 - Live 0xffffff8000f9c000
ip_set_hash_mac 24576 0 - Live 0xffffff8000f92000
ip_set_hash_ipportnet 36864 0 - Live 0xffffff8000f85000
ip_set_hash_ipportip 32768 0 - Live 0xffffff8000f79000
ip_set_hash_ipport 32768 0 - Live 0xffffff8000f6d000
ip_set_hash_ipmark 32768 0 - Live 0xffffff8000f61000
ip_set_hash_ip 32768 0 - Live 0xffffff8000f55000
ip_set_bitmap_port 20480 0 - Live 0xffffff8000f4c000
ip_set_bitmap_ipmac 20480 0 - Live 0xffffff8000f43000
ip_set_bitmap_ip 20480 0 - Live 0xffffff8000f3a000
ip_set 40960 16 xt_set,ip_set_list_set,ip_set_hash_netportnet,ip_set_hash_netport,ip_set_hash_netnet,ip_set_hash_netiface,ip_set_hash_net,ip_set_hash_mac,ip_set_hash_ipportnet,ip_set_hash_ipportip,ip_set_hash_ipport,ip_set_hash_ipmark,ip_set_hash_ip,ip_set_bitmap_port,ip_set_bitmap_ipmac,ip_set_bitmap_ip, Live 0xffffff8000f2b000
nfnetlink 16384 2 nf_conntrack_netlink,ip_set, Live 0xffffff8000f23000
nf_log_ipv6 16384 0 - Live 0xffffff8000f1b000
nf_log_common 16384 2 nf_log_ipv4,nf_log_ipv6, Live 0xffffff8000f13000
ip6table_mangle 16384 1 - Live 0xffffff8000f0b000
ip6table_filter 16384 1 - Live 0xffffff8000f03000
ip6_tables 28672 33 ip6table_mangle,ip6table_filter, Live 0xffffff8000ef7000
ip6t_REJECT 16384 2 - Live 0xffffff8000eef000
x_tables 36864 64 ipt_TRIGGER,ipt_REJECT,ipt_MASQUERADE,xt_time,xt_tcpudp,xt_tcpmss,xt_string,xt_statistic,xt_state,xt_recent,xt_policy,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limit,xt_length,xt_hl,xt_helper,xt_esp,xt_ecn,xt_dscp,xt_conntrack,xt_connmark,xt_connlimit,xt_connbytes,xt_comment,xt_bpf,xt_TCPMSS,xt_REDIRECT,xt_LOG,xt_HL,xt_DSCP,xt_CT,xt_CLASSIFY,iptable_raw,iptable_mangle,iptable_filter,ipt_ah,ipt_ECN,ip_tables,ebtables,ebt_vlan,ebt_stp,ebt_snat,ebt_redirect,ebt_pkttype,ebt_nflog,ebt_mark_m,ebt_mark,ebt_log,ebt_limit,ebt_ip6,ebt_ip,ebt_dnat,ebt_arpreply,ebt_arp,ebt_among,ebt_802_3,xt_set,ip6table_mangle,ip6table_filter,ip6_tables,ip6t_REJECT, Live 0xffffff8000ee0000
nf_reject_ipv6 16384 1 ip6t_REJECT, Live 0xffffff8000ed8000
ip6_gre 36864 0 - Live 0xffffff8000eca000
ip_gre 32768 0 - Live 0xffffff8000ebe000
ifb 16384 0 - Live 0xffffff8000eb6000
nat46 36864 0 - Live 0xffffff8000ea8000 (O)
xfrm4_mode_beet 16384 0 - Live 0xffffff8000ea0000
snd_pcm_oss 53248 0 - Live 0xffffff8000e8e000
snd_mixer_oss 28672 1 snd_pcm_oss, Live 0xffffff8000e83000
snd_compress 20480 0 - Live 0xffffff8000e7a000
conninfra 217088 0 - Live 0xffffff8000e3c000 (O)
algif_skcipher 16384 0 - Live 0xffffff8000e34000
algif_hash 16384 0 - Live 0xffffff8000e2c000
af_alg 24576 2 algif_skcipher,algif_hash, Live 0xffffff8000e21000
gpio_button_hotplug 20480 0 - Live 0xffffff8000e18000 (O)
fibocom_pin_driver 16384 0 - Live 0xffffff8000e10000 (O)
fibocom_pcb_verison_driver 16384 0 - Live 0xffffff8000e08000 (O)
ff_pcb_ver 16384 0 - Live 0xffffff8000e00000 (O)
cat /proc/devices
Character devices:
  1 mem
  2 pty
  3 ttyp
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  7 vcs
 10 misc
 13 input
 14 sound
 29 fb
 81 video4linux
 89 i2c
 90 mtd
108 ppp
116 alsa
121 hwnat0
128 ptm
136 pts
153 spi
164 conninfra_drv
180 usb
189 usb_device
226 drm
234 ttyGS
235 vfio
236 mdio_ops
237 nvme
238 pmic_ftm
239 cros_ec
240 pcie_smt
241 ccci
242 ccci_fsm
243 mediatek-disp-pwm
244 bsg
245 watchdog
246 iio
247 media
248 rtc
249 gz_ipc_mod
250 ccci_md_sta
251 hf_manager
252 tpm
253 pmsg
254 gpiochip
506 BT_chrdevfwlog
507 ubi1
508 fibocom_pin_device
509 fibocom_pcb_version
510 ubi0
511 rpmb

Block devices:
  1 ramdisk
  7 loop
  8 sd
 31 mtdblock
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
179 mmc
252 ubiblock
253 zram
254 virtblk
259 blkext
free
              total        used        free      shared  buff/cache   available
Mem:         653468      198284      389872         532       65312      424132
Swap:        237564           0      237564

I'm definitely the wrong person to ask, I try to keep up with a couple of devices, but this one is completely unfamiliar to me. Try starting a new thread (or get a mod, @psherman maybe) to split that last post off into a new thread to prompt fresh eyes on it.

I did a scan through the build targets and can't find "mt6890" mentioned, for what that's worth. Maybe it got renamed since 19.07 was released... Is this it? The a55 above and a15 below make me think not.

        "armsr/armv7": "arm_cortex-a15_neon-vfpv4",
1 Like

This is not likely anything from the OpenWrt project. It seems that the company that produced this device has taken OpenWrt 19.07 and then heavily modified it for their device.

What is the output of

ubus call system board
2 Likes
ubus call system board
{
        "kernel": "4.19.205",
        "hostname": "ODU",
        "system": "ARMv8 Processor rev 0 (v8l)",
        "model": "evb6890v1_64_cpe",
        "board_name": "evb6890v1_64_cpe",
        "release": {
                "distribution": "OpenWrt",
                "version": "19.07-SNAPSHOT",
                "revision": "r11306-c4a6851c72",
                "target": "mt6890/evb6890v1_64_cpe_nand",
                "description": "OpenWrt 19.07-SNAPSHOT r11306-c4a6851c72"
        }
}

Router Model: Yeacomm NR610 SA/NSA NR Modem IP67 Outdoor 5G CPE Router.

5G Module: Fibocom FG360-EAU Based on (MediaTek T750)

This is not supported by the official OpenWrt project. To get help, you'll need to reach out to the support channels for the manufacturer of the device and/or the maintainers of the firmware that you are currently running on it. Whatever it is, though, it is likely quite heavily modified compared to the official version.

1 Like