[RFT 0/5] realtek: support boards similar to DGS-1210-10
mail at birger-koblitz.de
Sun Jul 17 03:38:07 PDT 2022
On 7/17/22 11:55, Paul Fertser wrote:
> On Sat, Jul 16, 2022 at 11:32:52PM -0300, Luiz Angelo Daros de Luca wrote:
>> It uses SOC := rtl8380 while all existing dgs-1210 F1 variants use
>> rtl8382 (except for the pending -52 variant). The commit didn't
>> mention why that happened.
> It's just cosmetic AFAICT but the datasheet clearly states that the
> SoC used for <=18 ports switches is called RTL8380.
during OpenWRT boot, the SoC is identified by reading out a
configuration register. It will say something like
[ 0.000000] Linux version 5.10.127 (birger at MintDesktop)
(mips-openwrt-linux-musl-gcc (OpenWrt GCC 11.3.0 r18457+1542-4b587f2561)
11.3.0, GNU ld (GNU Binutils) 2.37) #0 SMP Tue Jul 12 19:01:38 2022
[ 0.000000] RTL838X model is 8380XXXX (4 first hex digits give model ID)
[ 0.000000] SoC Type: RTL8380
That should always be correct, unless there is something we are missing.
More information about the openwrt-devel