musashino-build/openwrt in GitHub: https://github.com/musashino-build/openwrt
name | summary | note |
---|---|---|
old/tgtbump/rtk_5.15 | main branch |
|
old/tgtbump/rtk_5.15_linux_socsel | SoC family separation |
|
Maker | Model | SoC | Specification (summary) |
---|---|---|---|
Panasonic | Switch-M8eG PN28080K | RTL8380M Rev.C | 8 (TP) + 1 (SFP) ports, 128 MiB RAM, 32 MiB Flash |
Panasonic | Switch-M24eG PN28240K | RTL8382M Rev.C | 22 (TP) + 2 (TP/SFP) ports, 128 MiB RAM, 32 MiB Flash |
Panasonic | Switch-M48eG PN28480K | RTL8393M Rev.B | 44 (TP) + 4 (TP/SFP) ports, 128 MiB RAM, 32 MiB Flash |
generic 5.15 support based on the works by Ansuel (PR#4748)
platform support
trying to migrate to mips/generic on the Linux Kernel
add detailed SoC identification
[ 0.000000] Linux version 5.15.4 (musashino205@TAIHA.NET) (mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.2.0 r18378+14-25d81d83cd) 11.2.0, GNU ld (GNU Binutils) 2.37) #0 SMP Sat Dec 18 13:38:07 2021
[ 0.000000] printk: bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019555 (MIPS 34Kc)
[ 0.000000] RTL83XX/RTL93XX model is 83936802
[ 0.000000] SoC Type: RTL8393 <--- existing identification
[ 0.000000] SoC: RTL8393M rev.B <--- additional identification
[ 0.000000] MIPS: machine is Panasonic Switch-M48eG PN28480K
register SoC device
soc_device_attribute
with the informations collected by the additional identificationroot@OpenWrt:/# ls -alh /sys/devices/soc0/
drwxr-xr-x 2 root root 0 Jan 1 1970 .
drwxr-xr-x 6 root root 0 Jan 1 1970 ..
-r--r--r-- 1 root root 4.0K Dec 18 13:42 family
-r--r--r-- 1 root root 4.0K Dec 18 13:42 revision
-r--r--r-- 1 root root 4.0K Dec 18 13:42 soc_id
lrwxrwxrwx 1 root root 0 Dec 18 13:42 subsystem -> ../../bus/soc
-rw-r--r-- 1 root root 4.0K Dec 18 13:42 uevent
root@OpenWrt:/# cat /sys/devices/soc0/soc_id
RTL8393M
root@OpenWrt:/# cat /sys/devices/soc0/revision
B
root@OpenWrt:/# cat /sys/devices/soc0/family
RTL8390
Ethernet/phy/DSA driver
randomly reset while booting with SMP
network is broken
dts-5.15
directory