SMlight SMHUB OpenWrt support

seems to be a competent Linux radio device. Hopefully, the chipset is supportable with openwrt too.

1 Like

1x100Mb Ethernet port

Impressive specs….

It is not meant as wifi router. It is zigbee, matter, z-wave hub.

It's telling that there is (almost) no mention of the host SOC, while there is rather extensive listing about the radios. But as brada4 implied, the CPU specs (1000+700 MHz) and the single 100 MBit/s ethernet core are suggesting an 'unconventional' and low-end SOC (the RAM and eMMC provide a little more hope); I wouldn't hold my breath.

1 Like

This might give us some hints

1 Like

I for one will want one, and from the looks of the firmware update linked from their site, this is a RISC-V platform:

_boot.emmc.extracted/158: Linux kernel RISC-V boot executable Image, little-endian

started by Uboot (most likely U-boot-2021.1):

$ cat partition_emmc.xml 
<physical_partition type="emmc">
 <partition label="BOOT" size_in_kb="8192" file="boot.emmc" />
 <partition label="MISC" size_in_kb="2048" file="logo.jpg" />
 <!-- Beware that in emmc u-boot environment should be 0x40000 alignment -->
 <partition label="ENV" size_in_kb="128" file="" />
 <partition label="ROOTFS" size_in_kb="1573120" file="rootfs_ext4.emmc" type="ext4"/>
 <partition label="USER" size_in_kb="4194304" file="user_ext4.emmc" type="ext4"/>
</physical_partition>

The device has USB-Host Connections, as well as a USB-Device-Connection (USB-C), which should be at least wired for USB2, and should thus support more than 100Mbit.
Digging a bit further, the SOC seems to be a CVITEK CV1800B SoC (“cv181x” in file flash.bat, but “cv182x” is mentioned a lot in the DTS), for which there is:

I still need to check this out further, but on first glance, this might turn out to be an interesting device. A device tree for the kernel running is also in the images.

A similar device seems to be the “Milk-V Duo”, which has among the specs:

2x RISC V cores, C906@1Ghz + C906@700Mhz
4 UART

, which is like the SMHUB.

Mainline kernel support is nearly finished.

At least one other person has interest of porting openwrt to it:
https://blog.obsoletemadness.com/2024/12/29/low-cost-localtalk-to-ethernet-bridge-aka-low-end-embedded-linux-part-1/ (see “Chapter 4”).

EDIT: It would seem from the video , that UART is available on a row of pins accessible from the outside, without opening. Along with other signals and GPIOs. I would love to run openwrt on these types of IOT devices too, even if their application as a “router” might not make much sense. But maybe this thing can run EDIT: (a Wifi bridge) to some device/network, that would not need more than 100Mbit.

The device easily opens, and can be outfitted with an internal POE module. an LTE-Modem and/or a mini-UPS (via a bottom connector). So, that makes it even more interesting (imo).

1 Like

Not in next release realistically.

The mainline support matrix here looks fairly advanced, though:

Edit:
I don’t care much about (next) release date, I build from master anyway for most of my stuff.

Most of Ethernet support is in 6.17, just missing this patch under review:

Board support for the milk-v:

EDIT, The CPU (in single-core) is already supported in the the allwinner d1 RISC-V devices in master. Hmm, the CVITEC CPU/SOC supports secure-boot. I’m hoping, it’s not switched on.

this is how I flashed SMhub OS 0.12

[INFO] Waiting for USB device connection: ---
[INFO] found usb device vid=0x3346 pid=0x1000
[INFO] USB download start...

[INFO] Waiting for USB device connection:  \
[INFO] found usb device vid=0x3346 pid=0x1000
[INFO] Waiting for USB device connection:  \
[INFO] found usb device vid=0x3346 pid=0x1000
[INFO] set MGN1 flag
[INFO] break
[INFO] Connecting to ROM 2nd stage...
[INFO] Waiting for USB device connection:  \
[INFO] found usb device vid=0x3346 pid=0x1000
[INFO] fip_tx_offset: 4096, fip_tx_size: 33792
[INFO] set MGN1 flag
[INFO] break

[INFO] Waiting for USB device connection:  \
[INFO] found usb device vid=0x3346 pid=0x1000
[INFO] fip_tx_offset: 37888, fip_tx_size: 4096
[INFO] set MGN1 flag
[INFO] break

[INFO] Waiting for USB device connection:  |
[INFO] found usb device vid=0x3346 pid=0x1000
[INFO] Waiting for USB device connection:  |
[INFO] found usb device vid=0x3346 pid=0x1000
[INFO] fip_tx_offset: 41984, fip_tx_size: 8192
[INFO] set MGN1 flag
[INFO] break

[INFO] Waiting for USB device connection:  \
[INFO] found usb device vid=0x3346 pid=0x1000
[INFO] Waiting for USB device connection:  |
[INFO] found usb device vid=0x3346 pid=0x1000
[INFO] fip_tx_offset: 50176, fip_tx_size: 116736
[INFO] set MGN1 flag
[INFO] break

[INFO] Waiting for USB device connection:  \
[INFO] found usb device vid=0x3346 pid=0x1000
[INFO] Waiting for USB device connection:  |
[INFO] found usb device vid=0x3346 pid=0x1000
[INFO] fip_tx_offset: 166912, fip_tx_size: 512
[INFO] set MGN1 flag
[INFO] break

[INFO] Waiting for USB device connection:  \
[INFO] found usb device vid=0x3346 pid=0x1000
[INFO] fip_tx_offset: 166912, fip_tx_size: 273408
[INFO] set MGN1 flag
[INFO] break

[INFO] Waiting for USB device connection: ---
[INFO] found usb device vid=0x3346 pid=0x1000
[INFO] Waiting for USB device connection: ---
[INFO] found usb device vid=0x3346 pid=0x1000
[INFO] xml file is partition_emmc.xml
[INFO] xml storage type: emmc
[INFO] update total size: 2034168599 byte
[INFO] downloading file: .\rom\fip.bin
[INFO] send fip.bin finish
[INFO] break

[INFO] Waiting for USB device connection: ---
[INFO] found usb device vid=0x3346 pid=0x1000
[INFO] downloading file: .\rom\boot.emmc
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 4107148/2034168599(0%)
[INFO] downloading file: .\rom\logo.jpg
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 4117463/2034168599(0%)
[INFO] downloading file: .\rom\rootfs_ext4.emmc
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 20894743/2034168599(1%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 37672023/2034168599(1%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 54449303/2034168599(2%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 71226583/2034168599(3%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 88003863/2034168599(4%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 104781143/2034168599(5%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 121558423/2034168599(5%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 138335703/2034168599(6%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 155112983/2034168599(7%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 171890263/2034168599(8%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 188667543/2034168599(9%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 205444823/2034168599(10%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 222222103/2034168599(10%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 238999383/2034168599(11%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 255776663/2034168599(12%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 272553943/2034168599(13%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 289331223/2034168599(14%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 306108503/2034168599(15%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 322885783/2034168599(15%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 339663063/2034168599(16%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 356440343/2034168599(17%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 373217623/2034168599(18%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 389994903/2034168599(19%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 406772183/2034168599(19%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 423549463/2034168599(20%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 440326743/2034168599(21%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 457104023/2034168599(22%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 473881303/2034168599(23%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 490658583/2034168599(24%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 507435863/2034168599(24%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 524213143/2034168599(25%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 540990423/2034168599(26%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 557767703/2034168599(27%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 574544983/2034168599(28%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 591322263/2034168599(29%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 608099543/2034168599(29%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 624876823/2034168599(30%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 641654103/2034168599(31%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 658431383/2034168599(32%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 675208663/2034168599(33%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 691985943/2034168599(34%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 708763223/2034168599(34%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 725540503/2034168599(35%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 742317783/2034168599(36%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 759095063/2034168599(37%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 775872343/2034168599(38%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 792649623/2034168599(38%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 809426903/2034168599(39%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 826204183/2034168599(40%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 842981463/2034168599(41%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 859758743/2034168599(42%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 876536023/2034168599(43%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 893313303/2034168599(43%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 910090583/2034168599(44%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 926867863/2034168599(45%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 943645143/2034168599(46%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 960422423/2034168599(47%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 977199703/2034168599(48%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 993976983/2034168599(48%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1010754263/2034168599(49%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1027531543/2034168599(50%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1044308823/2034168599(51%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1061086103/2034168599(52%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1077863383/2034168599(52%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1094640663/2034168599(53%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1111417943/2034168599(54%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1128195223/2034168599(55%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1144972503/2034168599(56%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1161749783/2034168599(57%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1178527063/2034168599(57%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1195304343/2034168599(58%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1212081623/2034168599(59%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1228858903/2034168599(60%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1245636183/2034168599(61%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1262413463/2034168599(62%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1279190743/2034168599(62%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1295968023/2034168599(63%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1312745303/2034168599(64%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1329522583/2034168599(65%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1346299863/2034168599(66%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1363077143/2034168599(67%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1379854423/2034168599(67%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1396631703/2034168599(68%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1413408983/2034168599(69%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1430186263/2034168599(70%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1446963543/2034168599(71%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1463740823/2034168599(71%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1480518103/2034168599(72%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1497295383/2034168599(73%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1514072663/2034168599(74%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1530849943/2034168599(75%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1547627223/2034168599(76%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1564404503/2034168599(76%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1581181783/2034168599(77%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1597959063/2034168599(78%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1614736343/2034168599(79%)
[INFO] downloading file: .\rom\user_ext4.emmc
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1631513623/2034168599(80%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1648290903/2034168599(81%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1665068183/2034168599(81%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1681845463/2034168599(82%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1698622743/2034168599(83%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1715400023/2034168599(84%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1732177303/2034168599(85%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1748954583/2034168599(85%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1765731863/2034168599(86%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1782509143/2034168599(87%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1799286423/2034168599(88%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1816063703/2034168599(89%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1832840983/2034168599(90%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1849618263/2034168599(90%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1866395543/2034168599(91%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1883172823/2034168599(92%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1899950103/2034168599(93%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1916727383/2034168599(94%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1933504663/2034168599(95%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1950281943/2034168599(95%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1967059223/2034168599(96%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 1983836503/2034168599(97%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 2000613783/2034168599(98%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 2017391063/2034168599(99%)
[INFO] CVI_USB_PROGRAM
[INFO] updated size: 2034168343/2034168599(99%)
[INFO] USB download complete

command line ssh acess

[smlight@SMHUB]~$ help
GNU bash, version 5.2.37(1)-release (riscv64-buildroot-linux-gnu)
These shell commands are defined internally.  Type `help' to see this list.
Type `help name' to find out more about the function `name'.
Use `info bash' to find out more about the shell in general.
Use `man -k' or `info' to find out more about commands not in this list.

A star (*) next to a name means that the command is disabled.

 job_spec [&]                            history [-c] [-d offset] [n] or hist>
 (( expression ))                        if COMMANDS; then COMMANDS; [ elif C>
 . filename [arguments]                  jobs [-lnprs] [jobspec ...] or jobs >
 :                                       kill [-s sigspec | -n signum | -sigs>
 [ arg... ]                              let arg [arg ...]
 [[ expression ]]                        local [option] name[=value] ...
 alias [-p] [name[=value] ... ]          logout [n]
 bg [job_spec ...]                       mapfile [-d delim] [-n count] [-O or>
 bind [-lpsvPSVX] [-m keymap] [-f file>  popd [-n] [+N | -N]
 break [n]                               printf [-v var] format [arguments]
 builtin [shell-builtin [arg ...]]       pushd [-n] [+N | -N | dir]
 caller [expr]                           pwd [-LP]
 case WORD in [PATTERN [| PATTERN]...)>  read [-ers] [-a array] [-d delim] [->
 cd [-L|[-P [-e]] [-@]] [dir]            readarray [-d delim] [-n count] [-O >
 command [-pVv] command [arg ...]        readonly [-aAf] [name[=value] ...] o>
 compgen [-abcdefgjksuv] [-o option] [>  return [n]
 complete [-abcdefgjksuv] [-pr] [-DEI]>  select NAME [in WORDS ... ;] do COMM>
 compopt [-o|+o option] [-DEI] [name .>  set [-abefhkmnptuvxBCEHPT] [-o optio>
 continue [n]                            shift [n]
 coproc [NAME] command [redirections]    shopt [-pqsu] [-o] [optname ...]
 declare [-aAfFgiIlnrtux] [name[=value>  source filename [arguments]
 dirs [-clpv] [+N] [-N]                  suspend [-f]
 disown [-h] [-ar] [jobspec ... | pid >  test [expr]
 echo [-neE] [arg ...]                   time [-p] pipeline
 enable [-a] [-dnps] [-f filename] [na>  times
 eval [arg ...]                          trap [-lp] [[arg] signal_spec ...]
 exec [-cl] [-a name] [command [argume>  true
 exit [n]                                type [-afptP] name [name ...]
 export [-fn] [name[=value] ...] or ex>  typeset [-aAfFgiIlnrtux] name[=value>
 false                                   ulimit [-SHabcdefiklmnpqrstuvxPRT] [>
 fc [-e ename] [-lnr] [first] [last] o>  umask [-p] [-S] [mode]
 fg [job_spec]                           unalias [-a] name [name ...]
 for NAME [in WORDS ... ] ; do COMMAND>  unset [-f] [-v] [-n] [name ...]
 for (( exp1; exp2; exp3 )); do COMMAN>  until COMMANDS; do COMMANDS-2; done
 function name { COMMANDS ; } or name >  variables - Names and meanings of so>
 getopts optstring name [arg ...]        wait [-fn] [-p var] [id ...]
 hash [-lr] [-p pathname] [-dt] [name >  while COMMANDS; do COMMANDS-2; done
 help [-dms] [pattern ...]               { COMMANDS ; }
[smlight@SMHUB]~$
1 Like

Mine(with just +POE module) (currently 52€ on fr.aliex) arrives mid-October. If you want, we(the forum and I) can maybe guide you through some experiments or commands-to-run to do some recon on the device?

if you’d be willing, you could start by posting the output of commands like dmesg, lspci, `id`, … the usual?

yes
I am willing to experiment

[smlight@SMHUB]~$ sudo [smlight@SMHUB]~$ lspci
Password:
sudo: [smlight@SMHUB]~$: command not found
[smlight@SMHUB]~$ id
uid=1000(smlight) gid=1000(smlight) groups=10(wheel),18(dialout),82(netdev),106(sudo),1000(smlight)
[smlight@SMHUB]~$

1 Like

The current state of mainline for this family of CPU looks good:

@KOA : Could you run some/all of these, and post them:

cat /proc/cpuinfo;
free;
cat /etc/os-release;
lsblk;
cat /proc/partitions;
lsusb;
ip link show;
cat /proc/interrupts;
cat /proc/loadavg;
df -T;
mount;
lsmod;
ps aux; 

Edit: And please, if possible make some high-res pictures of the board, front and back, and -if you can- please also connect to UART? And also connect the device via the USB-C power connector once to another linux-PC, and then run lsusb -t to see, what it enumerates as. It should show as minimum an network card(according to manual) , but may also additionally show up as serial port, or other devices.

If you can find the pins for the (main) 3.3v UART, it would be great, if you could catch then entire serial boot log from power on, so that we can see the U-Boot output

cat /proc/cpuinfo;
processor       : 0
hart            : 0
isa             : rv64imafdvcsu
mmu             : sv39
 free;
              total        used        free      shared  buff/cache   available
Mem:         503144      116648      100196        7796      286300      367364
cat /etc/os-release;
NAME=Buildroot
VERSION=-gaadaa24c69
ID=buildroot
VERSION_ID=2025.05.2
PRETTY_NAME="Buildroot 2025.05.2"

 lsblk;
NAME         MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
mmcblk0      179:0    0  7.1G  0 disk
|-mmcblk0p1  179:1    0    8M  0 part
|-mmcblk0p2  179:2    0    2M  0 part
|-mmcblk0p3  179:3    0  128K  0 part
|-mmcblk0p4  179:4    0  1.5G  0 part /
`-mmcblk0p5  179:5    0  5.6G  0 part /var
                                      /opt
                                      /home
                                      /mnt/user
mmcblk0boot0 179:8    0    2M  1 disk
mmcblk0boot1 179:16   0    2M  1 disk

 cat /proc/partitions;
major minor  #blocks  name

 179        0    7471104 mmcblk0
 179        1       8192 mmcblk0p1
 179        2       2048 mmcblk0p2
 179        3        128 mmcblk0p3
 179        4    1573120 mmcblk0p4
 179        5    5887616 mmcblk0p5
 lsusb;
Bus 001 Device 001: ID 1d6b:0002 Linux 5.10.4 dwc2_hsotg DWC OTG Controller

 cat /proc/interrupts;
           CPU0
  5:     518974  RISC-V INTC   5  riscv-timer
 11:          0  T-Head PLIC  29  dw_dmac
 12:         88  T-Head PLIC  54  4180000.spi0
 13:          0  T-Head PLIC  57  41b0000.spi3
 14:        100  T-Head PLIC  44  ttyS0
 15:       4868  T-Head PLIC  45
 19:          3  T-Head PLIC  50  4010000.i2c
 20:          0  T-Head PLIC  53  4040000.i2c
 21:     102479  T-Head PLIC  31  eth0
 22:      26902  T-Head PLIC  34  mmc0
 23:          0  T-Head PLIC  36  mmc1
 24:      22173  T-Head PLIC  38  mmc2
 25:          0  T-Head PLIC  40  4100000.i2s
 26:          0  T-Head PLIC  43  4130000.i2s
 36:         65  T-Head PLIC  30  4340000.usb, 4340000.usb, dwc2_hsotg:usb1
 44:          0  gpio-dwapb   6  cviusb-otg
 45:          0  gpio-dwapb   4  gpio-ir-recv-irq
 46:          0  gpio-dwapb  13  cd-gpio-irq

 cat /proc/loadavg;
0.00 0.00 0.00 1/97 1071

 df -T;
Filesystem           Type       1K-blocks      Used Available Use% Mounted on
/dev/root            ext4         1513096    467808    950264  33% /
devtmpfs             devtmpfs      251492         0    251492   0% /dev
tmpfs                tmpfs         251572         4    251568   0% /dev/shm
tmpfs                tmpfs         251572      7536    244036   3% /tmp
tmpfs                tmpfs         251572       240    251332   0% /run
/dev/mmcblk0p5       ext4          373376    179261    169539  51% /mnt/user
/dev/mmcblk0p5       ext4          373376    179261    169539  51% /home
/dev/mmcblk0p5       ext4          373376    179261    169539  51% /opt
/dev/mmcblk0p5       ext4          373376    179261    169539  51% /var

 mount;
/dev/root on / type ext4 (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=251492k,nr_inodes=62873,mode=755)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=666)
tmpfs on /dev/shm type tmpfs (rw,relatime,mode=777)
tmpfs on /tmp type tmpfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
sysfs on /sys type sysfs (rw,relatime)
debug on /sys/kernel/debug type debugfs (rw,relatime)
config on /sys/kernel/config type configfs (rw,relatime)
/dev/mmcblk0p5 on /mnt/user type ext4 (rw,relatime)
/dev/mmcblk0p5 on /home type ext4 (rw,relatime)
/dev/mmcblk0p5 on /opt type ext4 (rw,relatime)
/dev/mmcblk0p5 on /var type ext4 (rw,relatime)

 lsmod;
Module                  Size  Used by    Tainted: GF
aic8800_fdrv          767242  0
aic8800_bsp           129728  1 aic8800_fdrv
tun                    64657  0

 ps aux;
PID   USER     COMMAND
    1 root     init
    2 root     [kthreadd]
    3 root     [rcu_gp]
    4 root     [rcu_par_gp]
    8 root     [mm_percpu_wq]
    9 root     [ksoftirqd/0]
   10 root     [rcu_preempt]
   11 root     [kdevtmpfs]
   12 root     [rcu_tasks_kthre]
   13 root     [oom_reaper]
   14 root     [writeback]
   15 root     [kcompactd0]
   35 root     [kblockd]
   37 root     [watchdogd]
   38 root     [kworker/0:1H-kb]
   39 root     [rpciod]
   40 root     [kworker/u3:0]
   41 root     [xprtiod]
   42 root     [cfg80211]
   43 root     [kswapd0]
   44 root     [nfsiod]
   49 root     [kworker/u2:4-ev]
   50 root     [spi0]
   51 root     [spi1]
   52 root     [stmmac_wq]
   85 root     [irq/44-cviusb-o]
   86 root     [rc0]
   87 root     [sdhci]
   88 root     [irq/22-mmc0]
   89 root     [irq/46-cd-gpio-]
   90 root     [sdhci]
   91 root     [irq/23-mmc1]
   93 root     [mmc_complete]
   94 root     [sdhci]
   95 root     [irq/24-mmc2]
   96 root     [ion_system_heap]
   97 root     [ipv6_addrconf]
  106 root     [krfcommd]
  111 root     [jbd2/mmcblk0p4-]
  112 root     [ext4-rsv-conver]
  118 root     [jbd2/mmcblk0p5-]
  119 root     [ext4-rsv-conver]
  133 root     [aicwf_bustx_thr]
  134 root     [aicwf_busrx_thr]
  135 root     [aicwf_pwrctl]
  136 root     [aicwf_bustx_thr]
  137 root     [aicwf_busrx_thr]
  138 root     [cmd_wq]
  139 root     [apmStaloss_wq]
  145 root     /sbin/syslogd -n
  149 root     /sbin/klogd -n
  164 root     /sbin/udevd -d
  185 root     /usr/sbin/haveged -w 1024 -r 0
  187 root     /usr/sbin/haveged -w 1024 -r 0
  192 root     /usr/sbin/lircd -n -O /etc/lirc/lirc_options.conf
  198 root     [uname]
  199 dbus     dbus-daemon --system
  295 root     /usr/libexec/bluetooth/bluetoothd -n
  311 root     /usr/sbin/ModemManager
  319 root     /usr/sbin/NetworkManager --pid-file=/var/run/NetworkManager.pid
  337 ntp      /usr/sbin/ntpd -u ntp:ntp -g -p /var/run/ntpd.pid
  343 avahi    avahi-daemon: running [SMHUB.local]
  344 avahi    avahi-daemon: chroot helper
  350 root     /usr/sbin/crond -f
  355 mosquitt /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
  364 root     nginx: master process /usr/sbin/nginx
  365 www-data nginx: worker process
  371 root     /usr/sbin/wpa_supplicant -u
  374 root     /usr/sbin/ser2net -P /var/run/ser2net.pid
  377 root     sshd: /usr/sbin/sshd [listener] 0 of 10-100 startups
  380 root     /usr/bin/stunnel
  387 root     {smhub-services} /opt/smhub-services/venv/bin/python /usr/bin/sm
  403 root     /sbin/getty -L console 0 vt100
  404 root     init
  405 root     /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /run/Ne
  985 root     [kworker/0:0H-kb]
  988 root     [kworker/u2:1-ev]
 1001 root     [kworker/0:0-eve]
 1013 root     [kworker/0:1-eve]
 1016 root     sshd-session: smlight [priv]
 1018 smlight  sshd-session: smlight@pts/0
 1019 smlight  -bash
 1094 root     [kworker/0:2]
 1095 smlight  ps aux
1 Like

Please also fw_printenv , cat /proc/cmdline

For video of internal

That’s a good video, but I can’t make out the details needed. Can you please open it, like shown in the video, and then make some Hi-Res pictures of the board? Ideally both sides? Thank you

I will try to make one when I get back home. I did try to initially pry open it but couldn't. Will try again.

Cool, thanks. Maybe there are screws? The video above makes it look like it’s only weakly held together by some clips

[smlight@SMHUB]~$ fw_printenv
-bash: fw_printenv: command not found



[smlight@SMHUB]~$ cat /proc/cmdline
root=/dev/mmcblk0p4 rootwait rw blkdevparts=mmcblk0:8192K(BOOT),2048K(MISC),128K(ENV),1573120K(ROOTFS),-(USER);mmcblk0boot0:1M(fip),1M(fip_bak); console=ttyS0,115200 earlycon=sbi riscv.fwsz=0x80000 loglevel=9

1 Like