IlPuntoTecnico

Hardware e Software => Hardware e Software => Topic aperto da: Porske - 26 Maggio 2021, 20:32

Titolo: d-link dsl-624t OpenWRT
Inserito da: Porske - 26 Maggio 2021, 20:32
Salve a tutti,
Ho salvato dalla discarica questo d-link dsl-624t, appurato che fosse funzionante ho deciso di installarci OpenWRT 14.07 seguendo la guida ufficiale https://openwrt.org/toh/d-link/dsl-624t (https://openwrt.org/toh/d-link/dsl-624t)

(https://i.postimg.cc/t4tkZPBf/photo-2021-05-26-19-13-49.jpg)

è andato tutto a buon fine, ma durante la procedura ho scoperto che la revisione hw in mio possesso (A5) è dotata di RAM 32Mb e Flash 32Mb 4Mb! (vedere qui https://www.ilpuntotecnico.com/forum/index.php/topic,84867.msg273184.html#msg273184 (https://www.ilpuntotecnico.com/forum/index.php/topic,84867.msg273184.html#msg273184))

(https://i.postimg.cc/0N4wby1F/photo-2021-05-26-19-13-52.jpg) (https://i.postimg.cc/9MqqTHWM/photo-2021-05-26-20-26-31.jpg)

Mi chiedevo questo:

Codice: [Seleziona]
[email protected]'s password:


BusyBox v1.22.1 (2014-09-20 21:35:17 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (14.07, r42625)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
[email protected]:~# uname -a
Linux OpenWrt 3.10.49 #3 Wed Oct 1 13:55:11 CEST 2014 mips GNU/Linux

cpuinfo
Codice: [Seleziona]
[email protected]:~# cat /proc/cpuinfo
system type : TI AR7 (TNETD7300)
machine : Unknown
processor : 0
cpu model : MIPS 4KEc V4.8
BogoMIPS : 148.88
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 1, address/irw mask: [0x0fff]
isa : mips1 mips2 mips32r1
ASEs implemented :
shadow register sets : 1
kscratch registers : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available

ram
Codice: [Seleziona]
[email protected]:~# free
             total         used         free       shared      buffers
Mem:         29156        17880        11276            0         1984
-/+ buffers:              15896        13260
Swap:            0            0            0

flash
Codice: [Seleziona]
[email protected]:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                   14576        56     14520   0% /
/dev/root                 2624      2624         0 100% /rom
tmpfs                    14576       524     14052   4% /tmp
tmpfs                    14576        56     14520   0% /tmp/root
overlayfs:/tmp/root      14576        56     14520   0% /
tmpfs                      512         0       512   0% /dev

ifconfig
Codice: [Seleziona]
[email protected]:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:19:5B:1F:37:2D 
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fd55:a7c1:ba01::1/60 Scope:Global
          inet6 addr: fe80::219:5bff:fe1f:372d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:44069 errors:0 dropped:0 overruns:0 frame:0
          TX packets:42921 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3741157 (3.5 MiB)  TX bytes:4288185 (4.0 MiB)

eth0      Link encap:Ethernet  HWaddr 00:19:5B:1F:37:2D 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:44168 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43166 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:4372780 (4.1 MiB)  TX bytes:4323457 (4.1 MiB)
          Interrupt:41

eth0.1    Link encap:Ethernet  HWaddr 00:19:5B:1F:37:2D 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:150 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:19499 (19.0 KiB)

eth0.2    Link encap:Ethernet  HWaddr 00:19:5B:1F:37:2D 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:149 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:19421 (18.9 KiB)

eth1      Link encap:Ethernet  HWaddr 00:19:5B:1F:37:2D 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:150 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:19499 (19.0 KiB)
          Interrupt:27

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:4104 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4104 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:281182 (274.5 KiB)  TX bytes:281182 (274.5 KiB)

Se avete bisogno di altre informazioni non esitate a chiedere.

Grazie.

P.S.
Sono un Ing. Inf. potete andarci pesante  :D
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: MisterFTTH - 26 Maggio 2021, 20:41
Sono un Ing. Inf. potete andarci pesante  :D

Agli ingegneri piace risolvere i problemi. Se non ci sono problemi sottomano, gli ingegneri li creeranno. (Scott Adams)

 :giggle:
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: Porske - 27 Maggio 2021, 08:04
Touché

Allora provo da solo, se combino qualcosa magari scrivo una guida.
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: larsen64it - 27 Maggio 2021, 10:03
Visto che sei nato per soffrire, gli AR7 sono supportati fino alla 18.06:
https://github.com/openwrt/openwrt/tree/openwrt-18.06/target/linux/ar7
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: Porske - 29 Maggio 2021, 12:44
Buonsalve
ho fatto alcune ricerche e sono un attimo perplesso, non riesco a capire come è stato impostato lo spazio a disposizione sulla flash, mi spiego

Questo è il setup preso direttamente da adam e come flashsize mi da 4Mb in fatti sottraendo 0x90400000 (fine di md3) a 0x90000000 (inizio di md0) ottengo quella dimensione
(https://i.postimg.cc/GhKd1xgG/photo-2021-05-29-12-11-42.jpg)

ma dando il comando df -h su OpenWRT la dimensione della sola rootfs è maggiore di 4Mb e il file /proc/mtd contiene degli indirizzi diversi rispetto a quelli di adam
(https://i.postimg.cc/c400jbhd/photo-2021-05-29-12-11-40.jpg)

volendo vederci chiaro ho staccato il gancetto che ferma il filo dell'antenna wifi (ma serve realmente a qualcosa quel gancetto?)
(https://i.postimg.cc/SxKqQYH5/photo-2021-05-29-12-11-49.jpg)
La flash è una Samsung K8D3216UBC e se non ho capito male è da 32Mb (8+24) https://www.elnec.com/en/device/Samsung/K8D3216UBC-D+%5BFBGA48%5D/ (https://www.elnec.com/en/device/Samsung/K8D3216UBC-D+%5BFBGA48%5D/) https://www.arrow.com/en/products/k8d3216ubc-pi07000/samsung-electronics (https://www.arrow.com/en/products/k8d3216ubc-pi07000/samsung-electronics)
Quindi il "partizionamento" non sfrutta tutta la flash? ma perchè?

In ultimo facendo qualche ricerca ho scoperto che è possibile sostituire Adam2 con PSPBoot, mi chiedo se nel mio caso possa valere la candela e quali reali benefici porterebbe il cambio di bootloader; l'unico confronto decente tra i due che ho trovato è questo qui https://webcache.googleusercontent.com/search?q=cache:http://wikibin.org/articles/adam2.html (https://webcache.googleusercontent.com/search?q=cache:http://wikibin.org/articles/adam2.html)

Visto che sei nato per soffrire, gli AR7 sono supportati fino alla 18.06:
https://github.com/openwrt/openwrt/tree/openwrt-18.06/target/linux/ar7
Mi stai tentando  :smirk:

Sono alle prime armi, me ne rendo conto e forse sto mettendo un po' troppa carne al fuoco  :D
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: zoomx - 03 Giugno 2021, 21:00
La flash è divisa in 2 banchi indipendenti di 8 e 24 Mb
https://www.datasheets360.com/pdf/-6100829957635998730
quindi penso che le ulteriori suddivisioni debbano tenere conto di questo.
L'altro link non funziona ma questo credo di si
https://web.archive.org/web/20201030000441/http://wikibin.org/articles/adam2.html (https://web.archive.org/web/20201030000441/http://wikibin.org/articles/adam2.html)
Il gancetto serve ad evitare che il cavetto di antenna ballonzoli dentro al dispositivo.
Per il resto non conosco le MCU AR7 della TI

Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: Porske - 06 Giugno 2021, 18:59
Si ho dato anche io un'occhiata al datasheet, quello che hai detto è corretto, mi sembra di aver capito anche che possa gestirla solo con queste due configurazioni:
Non ne capisco il motivo però...

In questi giorni ho fatto un salto su RouterTech e seguendo una guida ho flashato il bootloader!! ora utilizzo PSPboot 1.4!!!
(https://i.postimg.cc/zBhT5jHS/photo-2021-06-06-18-47-19.jpg)

Ho anche smontato la scheda wifi per accertarmi fosse una TNETW1130ZVF come è risultato essere
(https://i.postimg.cc/xdcKpY0Z/photo-2021-06-06-18-47-15.jpg) (https://i.postimg.cc/Lsw-jr758/photo-2021-06-06-18-47-17.jpg)

Attualmente non sapendo come sfruttare (o se è effettivamente possibile) tutta la flash a disposizione, anche solo gli 8M del bank 1 sarebbe fantastico, proverò a compilare una versione di OpenWRT ultra minimale per vedere se riesco almeno a terminare il boot, poi si vedrà. In caso di fallimento rimarrò col firmware RouterTech  ::)

Grazie a tutti per l'aiuto  ;)
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: zoomx - 07 Giugno 2021, 19:18
Non ne capisco il motivo però...
Di solito le flash per doppio firmware (uno di emergenza se quello che di solito va si corrompe) hanno 2 banchi con la stessa dimensione. Qui o il firmware d'emergenza è magari più piccolo, oppure lo scopo è diverso, tipo che il gruppo minimo da riscrivere tutto assieme è di lunghezza diversa e uno dei 2 è dedicato alla scrittura più frequente di piccoli dati, avendo questo gruppo minimo più piccolo. Se è così c'è scritto nel datasheet che, ti confesso, non ho letto integralmente ma solo la prima pagina e neanche con attenzione..
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: Porske - 10 Giugno 2021, 20:18
Salve a tutti
ho cercato di modificare il bootloader per espandere i 4M di flash in cui sono confinato... senza successo
(https://i.postimg.cc/pT2tmH8Z/errore.png)
Oltretutto ho scoperto che se provo a cambiare qualche impostazione che non gli va a genio resetta completamente tutte le impostazioni.

Allora mi sono scaricato la repo di OpenWRT e mi sono dato da fare e ragazzi ci siamo!!!!
(https://i.postimg.cc/VLrYcK47/Schermata-del-2021-06-09-18-45-39.png)
Dopo giorni passati a compilare e flashare ho trovato la giusta combinazione delle mtd e la giusta configurazione per un firmware bootabile (ah non abbiate paura di abusare del comando defragenv salva la vita anche quando meno ve lo aspettate  :D).
Questi sono i settaggi fatti al botloader
Codice: [Seleziona]
Basic POST completed...     Success.
Last reset cause: Software reset (memory controller also reset)

PSPBoot 1.4 rev: 1.4.0.8
(c) Copyright 2002-2009 Texas Instruments, Inc. All Rights Reserved.

Press ESC for monitor..09
psbl> printenv

BUILD_OPS       0x201
bootloaderVersion       1.4.0.8
ProductID       AR7WRD
HWRevision      Unknown
SerialNumber    none
IPA             192.168.1.1
HWA_0           00:50:F1:12:27:06
mtd2            0x90000000,0x90010000
mtd3            0x90010000,0x90020000
mtd0            0x900B1000,0x90400000
mtd1            0x90020000,0x90400000
mtd4            0x90020000,0x90400000
MAC_PORT        1
MODETTY0        38400,n,8,1,hw
MODETTY1        38400,n,8,1,hw
CPUFREQ         150000000
MIPSFREQ        150000000
SYSFREQ         125000000
PROMPT          psbl>
MEMSZ           0x01000000
FLASHSZ         0x00400000
BOOTCFG         m:f:"mtd4"

psbl> info

CHIP ID: TNETD73XX (0x5), REV: 0x22

MIPS Processor   : 4KEc rev: 2.2.0
Cache mode       : write-back, write-allocate.
Instruction cache: Associativity: 4, Line size: 16, Total size: 16KB
Data cache       : Associativity: 4, Line size: 16, Total size: 16KB

Last reset cause: Software reset (memory controller also reset)

EMIF is running at the same speed of the processor.
Processor running in little endian mode.
Processor clock is asynchronous to internal bus clock.

psbl> fa
Current Flash Allocation:

section :   PSBL, base : 0xb0000000, size :      64336 bytes
section :    ENV, base : 0xb0010000, size :      65535 bytes

unallocated Space Start: 0xb0020000
unallocated Space End  : 0xb0400000

Seguendo questa guida https://openwrt.org/docs/guide-user/additional-software/saving_space (https://openwrt.org/docs/guide-user/additional-software/saving_space) ho alleggerito la versione di OpenWRT 18.06, appena 3,7Mb  :happy:
Ma anche se il boot avviene correttamente il router non risponde al ping  :'( anche con IP statico, ho aspettato ore, l'unico modo che ho per interagire è tramite la seriale.

Ecco un po' di dati
Codice: [Seleziona]
[email protected]:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:50:F1:12:27:06
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:138 (138.0 B)  TX bytes:492 (492.0 B)

eth0      Link encap:Ethernet  HWaddr 00:50:F1:12:27:06
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:180 (180.0 B)  TX bytes:1535 (1.4 KiB)
          Interrupt:41

eth1      Link encap:Ethernet  HWaddr 00:50:F1:12:27:06
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:384 (384.0 B)
          Interrupt:27

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:132 errors:0 dropped:0 overruns:0 frame:0
          TX packets:132 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:8976 (8.7 KiB)  TX bytes:8976 (8.7 KiB)

Codice: [Seleziona]
[email protected]:~# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root                 2368      2368         0 100% /rom
tmpfs                    14264        52     14212   0% /tmp
tmpfs                    14264        52     14212   0% /tmp/root
tmpfs                      512         0       512   0% /dev
/dev/mtdblock4             384       228       156  59% /overlay
overlayfs:/overlay         384       228       156  59% /
[email protected]:~# cat /proc/mtd
dev:    size   erasesize  name
mtd0: 00010000 00002000 "loader"
mtd1: 00010000 00010000 "config"
mtd2: 003e0000 00010000 "linux"
mtd3: 002b1060 00010000 "rootfs"
mtd4: 00060000 00010000 "rootfs_data"
[email protected]:~# free
             total       used       free     shared    buffers     cached
Mem:         28528      16700      11828        104       1816       6052
-/+ buffers/cache:       8832      19696
Swap:        13308          0      13308

Codice: [Seleziona]
[email protected]:~# uname -a
Linux OpenWrt 4.9.243 #0 Tue Nov 24 09:03:27 2020 mips GNU/Linux
[email protected]:~# cat /proc/cpuinfo
system type             : TI AR7 (TNETD7300)
machine                 : Unknown
processor               : 0
cpu model               : MIPS 4KEc V4.8
BogoMIPS                : 148.88
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 1, address/irw mask: [0x0fff]
isa                     : mips1 mips2 mips32r1
ASEs implemented        :
shadow register sets    : 1
kscratch registers      : 0
package                 : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available

network
Codice: [Seleziona]
[email protected]:/etc/config# cat network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0 eth1'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'

dhcp
Codice: [Seleziona]
[email protected]:/etc/config# cat dhcp
config dnsmasq
        option domainneeded     1
        option boguspriv        1
        option filterwin2k      0  # enable for dial on demand
        option localise_queries 1
        option rebind_protection 1  # disable if upstream must serve RFC1918 add     resses
        option rebind_localhost 1  # enable for RBL checking and similar service     s
        #list rebind_domain example.lan  # whitelist RFC1918 responses for domai     ns
        option local    '/lan/'
        option domain   'lan'
        option expandhosts      1
        option nonegcache       0
        option authoritative    1
        option readethers       1
        option leasefile        '/tmp/dhcp.leases'
        option resolvfile       '/tmp/resolv.conf.auto'
        #list server            '/mycompany.local/1.2.3.4'
        option nonwildcard      1 # bind to & keep track of interfaces
        #list interface         br-lan
        #list notinterface      lo
        #list bogusnxdomain     '64.94.110.11'
        option localservice     1  # disable to allow DNS requests from non-loca     l subnets

config dhcp lan
        option interface        lan
        option start    100
        option limit    150
        option leasetime        12h

config dhcp wan
        option interface        wan
        option ignore   1

firewall
Codice: [Seleziona]
[email protected]:/etc/config# cat firewall
config defaults
        option syn_flood        1
        option input            ACCEPT
        option output           ACCEPT
        option forward          REJECT
# Uncomment this line to disable ipv6 rules
#       option disable_ipv6     1

config zone
        option name             lan
        list   network          'lan'
        option input            ACCEPT
        option output           ACCEPT
        option forward          ACCEPT

config zone
        option name             wan
        list   network          'wan'
        list   network          'wan6'
        option input            REJECT
        option output           ACCEPT
        option forward          REJECT
        option masq             1
        option mtu_fix          1

config forwarding
        option src              lan
        option dest             wan

# We need to accept udp packets on port 68,
# see https://dev.openwrt.org/ticket/4108
config rule
        option name             Allow-DHCP-Renew
        option src              wan
        option proto            udp
        option dest_port        68
        option target           ACCEPT
        option family           ipv4

# Allow IPv4 ping
config rule
        option name             Allow-Ping
        option src              wan
        option proto            icmp
        option icmp_type        echo-request
        option family           ipv4
        option target           ACCEPT

config rule
        option name             Allow-IGMP
        option src              wan
        option proto            igmp
        option family           ipv4
        option target           ACCEPT

# Allow DHCPv6 replies
# see https://dev.openwrt.org/ticket/10381
config rule
        option name             Allow-DHCPv6
        option src              wan
        option proto            udp
        option src_ip           fc00::/6
        option dest_ip          fc00::/6
        option dest_port        546
        option family           ipv6
        option target           ACCEPT

config rule
        option name             Allow-MLD
        option src              wan
        option proto            icmp
        option src_ip           fe80::/10
        list icmp_type          '130/0'
        list icmp_type          '131/0'
        list icmp_type          '132/0'
        list icmp_type          '143/0'
        option family           ipv6
        option target           ACCEPT

# Allow essential incoming IPv6 ICMP traffic
config rule
        option name             Allow-ICMPv6-Input
        option src              wan
        option proto    icmp
        list icmp_type          echo-request
        list icmp_type          echo-reply
        list icmp_type          destination-unreachable
        list icmp_type          packet-too-big
        list icmp_type          time-exceeded
        list icmp_type          bad-header
        list icmp_type          unknown-header-type
        list icmp_type          router-solicitation
        list icmp_type          neighbour-solicitation
        list icmp_type          router-advertisement
        list icmp_type          neighbour-advertisement
        option limit            1000/sec
        option family           ipv6
        option target           ACCEPT

# Allow essential forwarded IPv6 ICMP traffic
config rule
        option name             Allow-ICMPv6-Forward
        option src              wan
        option dest             *
        option proto            icmp
        list icmp_type          echo-request
        list icmp_type          echo-reply
        list icmp_type          destination-unreachable
        list icmp_type          packet-too-big
        list icmp_type          time-exceeded
        list icmp_type          bad-header
        list icmp_type          unknown-header-type
        option limit            1000/sec
        option family           ipv6
        option target           ACCEPT

config rule
        option name             Allow-IPSec-ESP
        option src              wan
        option dest             lan
        option proto            esp
        option target           ACCEPT

config rule
        option name             Allow-ISAKMP
        option src              wan
        option dest             lan
        option dest_port        500
        option proto            udp
        option target           ACCEPT

# include a file with users custom iptables rules
config include
        option path /etc/firewall.user


### EXAMPLE CONFIG SECTIONS
# do not allow a specific ip to access wan
#config rule
#       option src              lan
#       option src_ip   192.168.45.2
#       option dest             wan
#       option proto    tcp
#       option target   REJECT

# block a specific mac on wan
#config rule
#       option dest             wan
#       option src_mac  00:11:22:33:44:66
#       option target   REJECT

# block incoming ICMP traffic on a zone
#config rule
#       option src              lan
#       option proto    ICMP
#       option target   DROP

# port redirect port coming in on wan to lan
#config redirect
#       option src                      wan
#       option src_dport        80
#       option dest                     lan
#       option dest_ip          192.168.16.235
#       option dest_port        80
#       option proto            tcp

# port redirect of remapped ssh port (22001) on wan
#config redirect
#       option src              wan
#       option src_dport        22001
#       option dest             lan
#       option dest_port        22
#       option proto            tcp

### FULL CONFIG SECTIONS
#config rule
#       option src              lan
#       option src_ip   192.168.45.2
#       option src_mac  00:11:22:33:44:55
#       option src_port 80
#       option dest             wan
#       option dest_ip  194.25.2.129
#       option dest_port        120
#       option proto    tcp
#       option target   REJECT

#config redirect
#       option src              lan
#       option src_ip   192.168.45.2
#       option src_mac  00:11:22:33:44:55
#       option src_port         1024
#       option src_dport        80
#       option dest_ip  194.25.2.129
#       option dest_port        120
#       option proto    tcp

wireless
Codice: [Seleziona]
[email protected]:/etc/config# cat wireless

config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'platform/vlynq.0/vlynq0'
        option disabled '1'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

dmesg
Codice: [Seleziona]
[email protected]:/etc/config# dmesg
[    0.000000] Linux version 4.9.243 ([email protected]) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r8080-9f2a40c72f) ) #0 Tue Nov 24 09:03:27 2020
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00018448 (MIPS 4KEc)
[    0.000000] TI AR7 (TNETD7300), ID: 0x0005, Revision: 0x22
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 14000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000014000000-0x0000000015ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000014000000-0x0000000015ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000014000000-0x0000000015ffffff]
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat 9449c044, node_mem_map 95000020
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  console=ttyS0,38400n8 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 27376K/32768K available (2926K kernel code, 147K rwdata, 628K rodata, 132K init, 198K bss, 5392K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] Clocks: prediv: 1, postdiv: 1, mul: 10
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 25483472618 ns
[    0.000044] sched_clock: 32 bits at 75MHz, resolution 13ns, wraps every 28633115129ns
[    0.024312] Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
[    0.113213] pid_max: default: 32768 minimum: 301
[    0.128030] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148142] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.186194] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.216306] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.238058] NET: Registered protocol family 16
[    0.353746] clocksource: Switched to clocksource MIPS
[    0.375195] NET: Registered protocol family 2
[    0.392485] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.414036] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.433447] TCP: Hash tables configured (established 1024 bind 1024)
[    0.454152] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.472008] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.492215] NET: Registered protocol family 1
[    0.534197] ar7-gpio: registered 32 GPIOs
[    0.629416] No memory allocated for crashlog
[    0.657714] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.712237] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.730018] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.838742] io scheduler noop registered
[    0.850612] io scheduler deadline registered (default)
[    0.867074] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.887120] serial8250: ttyS0 at MMIO 0x8610e00 (irq = 15, base_baud = 3906250) is a AR7
[    0.911986] console [ttyS0] enabled
[    0.932998] bootconsole [early0] disabled
[    0.958365] serial8250: ttyS1 at MMIO 0x8610f00 (irq = 16, base_baud = 3906250) is a AR7
[    0.986972] physmap platform flash device: 02000000 at 10000000
[    1.005489] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000ec Chip ID 0x0022a2
[    1.036866] physmap-flash.0: Found an alias at 0x400000 for the chip at 0x0
[    1.036919] physmap-flash.0: Found an alias at 0x800000 for the chip at 0x0
[    1.036964] physmap-flash.0: Found an alias at 0xc00000 for the chip at 0x0
[    1.037009] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    1.037053] physmap-flash.0: Found an alias at 0x1400000 for the chip at 0x0
[    1.037098] physmap-flash.0: Found an alias at 0x1800000 for the chip at 0x0
[    1.037143] physmap-flash.0: Found an alias at 0x1c00000 for the chip at 0x0
[    1.037227] Amd/Fujitsu Extended Query Table at 0x0040
[    1.053045]   Fixing Samsung's Amd/Fujitsu Extended Query version to 1.3
[    1.073560]   Amd/Fujitsu Extended Query version 1.3.
[    1.089092] number of CFI chips: 1
[    1.111890] 4 ar7part partitions found on MTD device physmap-flash.0
[    1.131453] Creating 4 MTD partitions on "physmap-flash.0":
[    1.148604] 0x000000000000-0x000000010000 : "loader"
[    1.175835] 0x000000010000-0x000000020000 : "config"
[    1.204316] 0x000000020000-0x000000400000 : "linux"
[    1.232178] 0x00000014efa0-0x000000400000 : "rootfs"
[    1.257435] mtd: device 3 (rootfs) set to be root filesystem
[    1.274993] 1 squashfs-split partitions found on MTD device rootfs
[    1.294016] 0x0000003a0000-0x000000400000 : "rootfs_data"
[    1.344140] libphy: Fixed MDIO Bus: probed
[    1.786274] libphy: cpmac-mii: probed
[    1.880078] cpmac cpmac.1: regs: 08612800, irq: 41, phy: fixed-0:01, mac: 00:50:f1:12:27:06
[    1.990149] cpmac cpmac.0: regs: 08610000, irq: 27, phy: fixed-0:00, mac: 00:50:f1:12:27:06
[    2.018705] vlynq0: regs 0x08611800, irq 29, mem 0x04000000
[    2.410911] vlynq0: local VLYNQ protocol rev. is 0x0001010b
[    2.428034] vlynq0: remote VLYNQ protocol rev. is 0x00010108
[    2.445408] vlynq0: using local clock divisor 8
[    2.573832] Found a VLYNQ device: 00000009
[    2.587187] vlynq1: regs 0x08611c00, irq 33, mem 0x0c000000
[    2.993785] random: fast init done
[    3.855710] NET: Registered protocol family 17
[    3.869834] 8021q: 802.1Q VLAN Support v1.8
[    3.904763] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    3.953395] Freeing prom memory: 1020k freed
[    3.970063] Freeing unused kernel memory: 132K
[    3.983837] This architecture does not have kernel memory protection.
[    5.355029] init: Console is alive
[    6.786665] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.810303] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.844574] init: - preinit -
[    8.393663] random: jshn: uninitialized urandom read (4 bytes read)
[    8.599642] random: jshn: uninitialized urandom read (4 bytes read)
[    8.751622] random: jshn: uninitialized urandom read (4 bytes read)
[    9.089269] cpmac cpmac.1 eth0: Link is Up - 100Mbps/Full - flow control off
[   12.811596] mount_root: loading kmods from internal overlay
[   12.919971] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   12.943249] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   13.749705] block: attempting to load /etc/config/fstab
[   13.766990] block: unable to load configuration (fstab: Entry not found)
[   13.788114] block: no usable configuration
[   13.804423] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[   13.917417] urandom-seed: Seed file not found (/etc/urandom.seed)
[   14.258507] procd: - early -
[   14.416204] cpmac cpmac.1 eth0: Link is Down
[   15.186337] procd: - ubus -
[   15.584711] urandom_read: 1 callbacks suppressed
[   15.584748] random: ubusd: uninitialized urandom read (4 bytes read)
[   15.842322] random: ubusd: uninitialized urandom read (4 bytes read)
[   16.181593] random: ubusd: uninitialized urandom read (4 bytes read)
[   16.210325] procd: - init -
[   17.482432] kmodloader: loading kernel modules from /etc/modules.d/*
[   17.535264] zram: Added device: zram0
[   17.598924] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   17.623478] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   17.777872] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   18.074244] xt_time: kernel timezone is -0000
[   18.253363] ip_tables: (C) 2000-2006 Netfilter Core Team
[   18.864390] PPP generic driver version 2.4.2
[   18.890087] NET: Registered protocol family 24
[   18.935485] acx.acx_init_module: acx-mac80211, version: v0.6.0 (git: unknown)
[   18.957425] acx.acx_init_module: this driver is still EXPERIMENTAL
[   18.957425] acx: please read the README file and/or go to http://acx100.sourceforge.net/wiki for further information
[   19.008353] acx.acxpci_init_module: built with CONFIG_ACX_MAC80211_PCI
[   19.028385] acx.acxpci_init_module: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
[   19.069181] acx.acxpci_init_module: acx: running on a little-endian CPU
[   19.069181]  PCI/VLYNQ module initialized, waiting for cards to probe...
[   19.109877] Driver found for VLYNQ device: 00000009
[   19.125410] acx.acx_alloc_hw: wiphy: phy0
[   19.137350] acx.acx_init_mechanics: ie_cmd_buf_len=336
[   19.521142] vlynq0: local VLYNQ protocol rev. is 0x0001010b
[   19.538267] vlynq0: remote VLYNQ protocol rev. is 0x00010108
[   19.555637] vlynq0: using local clock divisor 1
[   19.569848] acx.vlynq_probe: found TI TNETW1130-based wireless network card at vlynq0, irq:80, phymem:0x4000000, mem:0xa4000000
[   19.604862] acx.vlynq_probe: the initial debug setting is 0x000A
[   19.623320] acx.vlynq_probe: using IRQ 80
[   19.635731] acx.acx_get_hardware_info: form_factor=0x01, radio_type=0x16
[   19.656301] acx.acxpci_load_firmware: Need firmware for acx111 chipset with radio ID 0x16: either combined firmware (single file 'tiacx111c16'), or two files: base-fw file 'tiacx111' + radio-fw file 'tiacx111r16'
[   19.713646] acx.acx_load_firmware: Required firmware: fw_image='tiacx111c16', radio_image='(null)'
[   19.741148] acx.acx_read_fw: requesting firmware image 'tiacx111c16'
[   20.049037] acx._acx_upload_fw: acx_write_fw (main): 0
[   20.128868] acx._acx_upload_fw: acx_validate_fw (main): 0
[   20.652526] acx.acx_init_packet_templates: initializing max packet templates
[   20.825044] acx.acx_allocate: bdev:95d50240 size:37536 phy:15ff0000 ptr:b5ff0000
[   20.848214] acx.acx_allocate: bdev:95d50240 size:1024 phy:15f9c000 ptr:b5f9c000
[   20.871765] acx.acx_allocate: bdev:95d50240 size:37536 phy:15440000 ptr:b5440000
[   20.894977] acx.acx_allocate: bdev:95d50240 size:1024 phy:15f9a000 ptr:b5f9a000
[   20.918544] acx.acx_allocate: bdev:95d50240 size:37536 phy:15450000 ptr:b5450000
[   20.941728] acx.acx_allocate: bdev:95d50240 size:1024 phy:15fe7000 ptr:b5fe7000
[   20.965329] acx.acx_allocate: bdev:95d50240 size:37536 phy:15460000 ptr:b5460000
[   20.988509] acx.acx_allocate: bdev:95d50240 size:1024 phy:1556e000 ptr:b556e000
[   21.012066] acx.acx_allocate: bdev:95d50240 size:37536 phy:15470000 ptr:b5470000
[   21.035230] acx.acx_allocate: bdev:95d50240 size:1024 phy:15578000 ptr:b5578000
[   21.057707] acx.acx_allocate: bdev:95d50240 size:448 phy:15579000 ptr:b5579000
[   21.081008] acx.acx_allocate: bdev:95d50240 size:38336 phy:15480000 ptr:b5480000
[   21.133894] acx.acx_interrogate: (type:ACX111_IE_QUEUE_CONFIG,len:56)
[   21.173921] acx.acx111_create_dma_regions: Queue head: len=56, tx_memory_block_address=1A7A0, rx_memory_block_address=163A0
[   21.207872] acx.acx111_create_dma_regions: Queue head: rx_queue_start=13994
[   21.229178] acx.acx111_create_dma_regions: Queue head: tx_queue_start[0]=149D4
[   21.251326] acx.acx111_create_dma_regions: Queue head: tx_queue_start[1]=14694
[   21.273445] acx.acx111_create_dma_regions: Queue head: tx_queue_start[2]=14354
[   21.295553] acx.acx111_create_dma_regions: Queue head: tx_queue_start[3]=14014
[   21.317657] acx.acx111_create_dma_regions: Queue head: tx_queue_start[4]=13CD4
[   21.339773] acx.acx_create_tx_desc_queue: adev->iobase2=a4022000,tx_queue_start=000149D4,tx->desc_start=a40369d4
[   21.370306] acx.acx_create_tx_desc_queue: adev->iobase2=a4022000,tx_queue_start=00014694,tx->desc_start=a4036694
[   21.401421] acx.acx_create_tx_desc_queue: adev->iobase2=a4022000,tx_queue_start=00014354,tx->desc_start=a4036354
[   21.431968] acx.acx_create_tx_desc_queue: adev->iobase2=a4022000,tx_queue_start=00014014,tx->desc_start=a4036014
[   21.463053] acx.acx_create_tx_desc_queue: adev->iobase2=a4022000,tx_queue_start=00013CD4,tx->desc_start=a4035cd4
[   21.494035] acx.acx_interrogate: (type:ACX111_IE_CONFIG_OPTIONS,len:332)
[   21.543969] acx.acx_parse_configoption: NVSv:
[   21.557127] 01
[   21.562457] 16
[   21.567408] 05
[   21.572734] 00
[   21.577687] 02
[   21.583014] 41
[   21.587966] 01
[   21.593290] 00
[   21.598228]
[   21.602812] acx.acx_parse_configoption: NVS_vendor_offs:01CD probe_delay:200 eof_memory:1114112
[   21.629400] acx.acx_parse_configoption: CCAModes:04 Diversity:01 ShortPreOpt:01 PBCC:01 ChanAgil:00 PHY:05 Temp:01
[   21.661007] acx.acx_parse_configoption: AntennaID:00 Len:02 Data:
[   21.679149] 01
[   21.684672] 02
[   21.689461]
[   21.694184] acx.acx_parse_configoption: PowerLevelID:01 Len:02 Data:
[   21.713086] 001E
[   21.719131] 000A
[   21.724610]
[   21.729177] acx.acx_parse_configoption: DataRatesID:02 Len:05 Data:
[   21.747820] 02
[   21.753148] 04
[   21.758115] 11
[   21.763441] 22
[   21.768406] 44
[   21.773913]
[   21.778476] acx.acx_parse_configoption: DomainID:03 Len:06 Data:
[   21.796334] 41
[   21.801664] 20
[   21.806630] 30
[   21.811957] 31
[   21.816920] 32
[   21.822247] 40
[   21.827193]
[   21.831771] acx.acx_parse_configoption: ProductID:04 Len:09 Data:TI ACX100
[   21.852838] acx.acx_parse_configoption: ManufacturerID:05 Len:07 Data:TI Test
[   21.874697] acx.acx_interrogate: (type:ACX1xx_IE_FWREV,len:24)
[   21.913881] acx.acx_get_firmware_version: Firmware: firmware_version='Rev 2.3.1.31' hw_id=03010101
[   21.941299] acx.acx_display_hardware_details: chipset TNETW1130, radio type 0x16 (Radia (RC2422?)), form factor 0x01 ((mini-)PCI / CardBus), EEPROM version 0x05, uploaded firmware 'Rev 2.3.1.31'
[   21.993898] acx.acx_interrogate: (type:ACX1xx_IE_DOT11_STATION_ID,len:6)
[   22.043899] acx.acx1xx_get_station_id: Got station_id: 00:19:5B:2F:EB:FB
[   22.064486] acx.acx_interrogate: (type:ACX1xx_IE_DOT11_CURRENT_ANTENNA,len:2)
[   22.113873] acx.acx1xx_get_antenna: Got antenna[0,1]: 0x4A 0x04
[   22.132047] acx.acx_interrogate: (type:ACX1xx_IE_DOT11_CURRENT_REG_DOMAIN,len:2)
[   22.183930] acx.acx_get_reg_domain: Got regulatory domain 0x41
[   22.201845] acx.acx_get_sensitivity: don't know how to get sensitivity for radio type 0x16
[   22.227104] acx.acx_set_interrupt_mask: adev->irq_mask: before: 0 devtype:0 chiptype:2 tobe: 39157
[   22.254463] acx.acx_update_ratevector: new ratevector:
[   22.269951] 82
[   22.275492] 84
[   22.280288] 0B
[   22.285836] 0C
[   22.290635] 12
[   22.296147] 16
[   22.300939] 18
[   22.306438] 24
[   22.311230] 2C
[   22.316729] 30
[   22.321520] 48
[   22.327019] 60
[   22.331812] 6C
[   22.337071] acx.acx_interrogate: (type:ACX1xx_IE_DOT11_TX_POWER_LEVEL,len:1)
[   22.383863] acx.acx1xx_get_tx_level: Got tx-power-level: 1
[   22.400713] acx.acx_update_hw_encryption: Enabling hw-encryption
[   22.419134] acx.acx_interrogate: (type:ACX1xx_IE_FEATURE_CONFIG,len:8)
[   22.494078] acx.acx_debugfs_add_adev: adev:95f214c0 nm:phy0 dirp:9589c5d8
[   22.518006] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   22.523216] Not using the 00000009 VLYNQ device's driver for VLYNQ device: 00000000
[   22.584733] kmodloader: done loading kernel modules from /etc/modules.d/*
[   32.183214] zram0: detected capacity change from 0 to 13631488
[   32.418085] Adding 13308k swap on /dev/zram0.  Priority:-1 extents:1 across:13308k SS
[   64.809406] br-lan: port 1(eth0) entered blocking state
[   64.825578] br-lan: port 1(eth0) entered disabled state
[   64.843337] device eth0 entered promiscuous mode
[   64.858978] cpmac cpmac.1 eth0: Link is Up - 100Mbps/Full - flow control off
[   65.039927] br-lan: port 1(eth0) entered blocking state
[   65.056087] br-lan: port 1(eth0) entered forwarding state
[   65.589701] cpmac cpmac.0 eth1: Link is Up - 100Mbps/Full - flow control off
[   65.710654] br-lan: port 2(eth1) entered blocking state
[   65.726824] br-lan: port 2(eth1) entered disabled state
[   65.744767] device eth1 entered promiscuous mode
[   65.759384] br-lan: port 2(eth1) entered blocking state
[   65.775512] br-lan: port 2(eth1) entered forwarding state
[   70.003692] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   70.143962] jffs2_build_filesystem(): unlocking the mtd device...
[   70.162379] done.
[   70.168474] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   73.431758] done.
[   73.438018] jffs2: notice: (971) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[  133.112029] random: crng init done
[  133.122406] random: 3 urandom warning(s) missed due to ratelimiting

Non so che pesci pigliare, mi sembra tutto corretto, anche il wifi funziona!
Qualcuno ha un'idea? o vede qulcosa che mi è sfuggito?

Grazie.
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: larsen64it - 11 Giugno 2021, 07:11
Mi viene da pensare che lo switch non sia configurato correttamente.
Questo è quello che c'era su BB e CC
Codice: [Seleziona]
config interface loopback
option ifname lo
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0

config interface lan
option type bridge
option ifname "eth0 eth1 eth0.1 eth0.2"
option proto static
option ipaddr 192.168.1.1
option netmask 255.255.255.0
option nat 1
option ip6assign 60

config interface wan6
        option ifname   @wan
        option proto    dhcpv6

config globals globals
        option ula_prefix auto
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: Porske - 11 Giugno 2021, 16:40
Provato ma nulla  :'(

Codice: [Seleziona]
[email protected]:/# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP qlen 1000
    link/ether 00:50:f1:12:27:06 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP qlen 1000
    link/ether 00:50:f1:12:27:06 brd ff:ff:ff:ff:ff:ff
4: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
    link/ether 00:19:5b:2f:eb:fb brd ff:ff:ff:ff:ff:ff
5: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
    link/ether 00:50:f1:12:27:06 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
       valid_lft forever preferred_lft forever
6: [email protected]: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
    link/ether 00:50:f1:12:27:06 brd ff:ff:ff:ff:ff:ff
7: [email protected]: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master br-lan state UP qlen 1000
    link/ether 00:50:f1:12:27:06 brd ff:ff:ff:ff:ff:ff
[email protected]:/# ls -l /sys/class/net
lrwxrwxrwx    1 root     root             0 Nov 24 09:06 br-lan -> ../../devices/virtual/net/br-lan
lrwxrwxrwx    1 root     root             0 Jan  1  1970 eth0 -> ../../devices/platform/cpmac.1/net/eth0
lrwxrwxrwx    1 root     root             0 Nov 24 09:08 eth0.1 -> ../../devices/virtual/net/eth0.1
lrwxrwxrwx    1 root     root             0 Nov 24 09:08 eth0.2 -> ../../devices/virtual/net/eth0.2
lrwxrwxrwx    1 root     root             0 Jan  1  1970 eth1 -> ../../devices/platform/cpmac.0/net/eth1
lrwxrwxrwx    1 root     root             0 Jan  1  1970 lo -> ../../devices/virtual/net/lo
lrwxrwxrwx    1 root     root             0 Nov 24 09:06 wlan0 -> ../../devices/platform/vlynq.0/vlynq0/net/wlan0
[email protected]:/# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:50:F1:12:27:06
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:1 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:358 (358.0 B)  TX bytes:342 (342.0 B)

eth0      Link encap:Ethernet  HWaddr 00:50:F1:12:27:06
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:386 (386.0 B)  TX bytes:1385 (1.3 KiB)
          Interrupt:41

eth0.1    Link encap:Ethernet  HWaddr 00:50:F1:12:27:06
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth0.2    Link encap:Ethernet  HWaddr 00:50:F1:12:27:06
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth1      Link encap:Ethernet  HWaddr 00:50:F1:12:27:06
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:728 (728.0 B)
          Interrupt:27

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:144 errors:0 dropped:0 overruns:0 frame:0
          TX packets:144 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:9792 (9.5 KiB)  TX bytes:9792 (9.5 KiB)

[email protected]:/#


Codice: [Seleziona]
[email protected]:/# cat /etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0 eth1 eth0.1 eth0.2'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'


Il fatto è che quando pingo la lucina sul router corrispondente alla porta dello switch alla quale sono collegato lampeggia, significa che qualcosa arriva, ma il router non risponde.
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: larsen64it - 11 Giugno 2021, 17:31
Hai provato ad usare solo una sola ethX, configurandola manualmente e pingando da router verso pc o altra device.
Inserendo il cavo su tutte le porte nel log non succede nulla?
Con swconfig  o alro comando  non hai nessun segno?

Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: Porske - 12 Giugno 2021, 00:46
Si si ho provato tutte le combinazioni possibili, ma nulla.
Il comando swconfig list non restituisce nulla  :wtf: però lo switch ADM6996M appare tra quelli supportati https://openwrt.org/docs/techref/swconfig (https://openwrt.org/docs/techref/swconfig) e comunque con Backfire funzionava, darò una ricompilata domani.
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: Porske - 12 Giugno 2021, 19:37
È stata una lunghissima giornata...
Ho ricompilato un migliaio di volte il firmware con varie combinazioni di pacchetti per fare alcuni test, preso dalla disperazione ho anche ri-flashato 14.07 ed appurato che tutte le porte dello switch funzionano, pingo in tutti i versi e il comando swconfig list non restituisce nulla anche qui.
A quanto ho capito il driver per ADM6996M viene caricato in automatico in quanto uso architettura AR7? https://dev.archive.openwrt.org/ticket/9057.html (https://dev.archive.openwrt.org/ticket/9057.html) ma non so come verificarlo e cercando nel menu di compilazione non trovo nessuna voce a riguardo, ho solo trovato i sorgenti nella cartella della repo (qualcosa c'è ma non posso installarlo esplicitamente)
(https://i.postimg.cc/y86GFSQ4/Schermata-del-2021-06-12-19-29-10.png)

Nell'ultimo firmware ho installato ethtool ed ho ottenuto questo
Codice: [Seleziona]
[email protected]:~# ethtool eth0
Settings for eth0:
        Supported ports: [ TP AUI BNC MII FIBRE ]
        Supported link modes:   100baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  100baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  100baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: No
        Link partner advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Link detected: yes
[email protected]:~# ethtool eth1
Settings for eth1:
        Supported ports: [ TP AUI BNC MII FIBRE ]
        Supported link modes:   100baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  100baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  100baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: No
        Link partner advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 0
        Transceiver: internal
        Auto-negotiation: on
        Link detected: yes
[email protected]:~# ethtool wlan0
Settings for wlan0:
        Link detected: yes
[email protected]:~# ethtool eth0.1
Settings for eth0.1:
        Supported ports: [ TP AUI BNC MII FIBRE ]
        Supported link modes:   100baseT/Full
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Supported FEC modes: Not reported
        Advertised link modes:  100baseT/Full
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Advertised FEC modes: Not reported
        Link partner advertised link modes:  100baseT/Full
        Link partner advertised pause frame use: No
        Link partner advertised auto-negotiation: No
        Link partner advertised FEC modes: Not reported
        Speed: 100Mb/s
        Duplex: Full
        Port: MII
        PHYAD: 1
        Transceiver: internal
        Auto-negotiation: on
        Link detected: yes

E la configurazione che sto utilizzando (presa pari pari da 14.07)
Codice: [Seleziona]
[email protected]:/# cat /etc/config/network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'lan'
        option type 'bridge'
        option ifname 'eth0 eth1 eth0.1 eth0.2'
        option proto 'static'
        option ipaddr '192.168.1.1'
        option netmask '255.255.255.0'
        option nat '1'
        option ip6assign '60'

config interface 'wan6'
        option ifname '@wan'
        option proto 'dhcpv6'

config globals 'globals'
        option ula_prefix 'fd6f:41a7:754f::/48'

[email protected]:/# ls -l /sys/class/net
lrwxrwxrwx    1 root     root             0 Oct  1 11:58 br-lan -> ../../devices/virtual/net/br-lan
lrwxrwxrwx    1 root     root             0 Jan  1  1970 eth0 -> ../../devices/virtual/net/eth0
lrwxrwxrwx    1 root     root             0 Oct  1 11:58 eth0.1 -> ../../devices/virtual/net/eth0.1
lrwxrwxrwx    1 root     root             0 Oct  1 11:58 eth0.2 -> ../../devices/virtual/net/eth0.2
lrwxrwxrwx    1 root     root             0 Jan  1  1970 eth1 -> ../../devices/virtual/net/eth1
lrwxrwxrwx    1 root     root             0 Jan  1  1970 lo -> ../../devices/virtual/net/lo
[email protected]:/#

Sembra che lo switch venga riconosciuto, ma continua a non funzionare.

Cambiando approccio sono riuscito ad attivare l'AP wifi e collegarmi a LuCI!!!!
(https://i.postimg.cc/bvbR7ydN/photo-2021-06-12-18-59-37.jpg)
In wifi pingo in tutte le direzioni e anche la shell SSH funziona.

Ho modo di verificare quali driver sono istallati? Se volessi installare a mano quel driver come posso fare se non c'è un pacchetto kmod già pronto?
Grazie a tutti.
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: larsen64it - 12 Giugno 2021, 21:27
lsmod
opkg list-installed | grep kmod*
swconfig credo che controlli kmod-swconfig
https://downloads.openwrt.org/releases/18.06.0/targets/ar7/generic/packages/
ma non credo che coincida con la versione da te compilata.
Puoi sempre ricompilare un singolo pacchetto senza ricompilare tutto.
Se bisogna modificare qualche parametro del kernel bisogna usare
make kernel_menuconfig
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: Porske - 13 Giugno 2021, 00:06
Ecco qua
Codice: [Seleziona]
[email protected]:~# lsmod
acx_mac80211           86513  0
cfg80211              212634  1 mac80211
compat                  5560  2 mac80211,cfg80211
ip_tables               9613  4 iptable_nat,iptable_mangle,iptable_filter
ipt_MASQUERADE           688  1
ipt_REJECT               944  2
iptable_filter           752  1
iptable_mangle           944  0
iptable_nat              784  1
lz4                      912  0
lz4_compress            2638  1 lz4
lz4_decompress          1921  1 lz4
lzo                     1040  1
lzo_compress            2066  1 lzo
lzo_decompress          1431  1 lzo
mac80211              425196  1 acx_mac80211
nf_conntrack           53412  7 xt_state,xt_conntrack,nf_nat_masquerade_ipv4,nf_conntrack_ipv4,nf_nat_ipv4,nf_nat,nf_conntrack_rtcache
nf_conntrack_ipv4       4848  9
nf_conntrack_rtcache    2352  0
nf_defrag_ipv4           822  1 nf_conntrack_ipv4
nf_log_common           2511  1 nf_log_ipv4
nf_log_ipv4             3440  0
nf_nat                  9515  4 xt_nat,nf_nat_redirect,nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_nat_ipv4             3601  1 iptable_nat
nf_nat_masquerade_ipv4    1596  1 ipt_MASQUERADE
nf_nat_redirect         1019  1 xt_REDIRECT
nf_reject_ipv4          2147  1 ipt_REJECT
x_tables               12522 18 iptable_mangle,iptable_filter,ipt_REJECT,ipt_MASQUERADE,ip_tables,xt_time,xt_tcpudp,xt_state,xt_nat,xt_multiport,xt_mark,xt_mac,xt_limit,xt_conntrack,xt_comment,xt_TCPMSS,xt_REDIRECT,xt_LOG
xt_LOG                   720  0
xt_REDIRECT              688  0
xt_TCPMSS               2128  0
xt_comment               528 50
xt_conntrack            2352  8
xt_limit                1136  1
xt_mac                   656  0
xt_mark                  688  0
xt_multiport            1264  0
xt_nat                  1168  0
xt_state                 752  0
xt_tcpudp               1840  4
xt_time                 1648  0
zram                   15036  1
zsmalloc               13414  1 zram

opkg list-installed | grep kmod*
Purtroppo ho tolto opkg per risparmiare spazio  :doh: se non c'è altro modo provo a ricompilarlo togliendo altre cose.

swconfig credo che controlli kmod-swconfig
Forse installare swconfig senza kmod-swconfig non è una mossa geniale  :rotfl: risolvo subito.

Se bisogna modificare qualche parametro del kernel bisogna usare make kernel_menuconfig
Ecco questo è interessante!!! Nei prossimi giorni ci spaciugo e vediamo cosa ne viene fuori.

Grazie mille!!
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: Porske - 14 Giugno 2021, 17:15
Nulla, comincio a pensare che il problema non sia in un pacchetto da installare, questo ha un problema simile al mio https://forum.archive.openwrt.org/viewtopic.php?id=48631 (https://forum.archive.openwrt.org/viewtopic.php?id=48631)
mentre qui si può notare come nel log si veda chiaramente
eth0: ADM6996M model PHY found.
eth0: attached PHY [Infineon ADM6996] (phy_addr=0:00, irq=-1)
  https://dev.archive.openwrt.org/ticket/10123 (https://dev.archive.openwrt.org/ticket/10123)

questo è il mio log preso direttamente dalla seriale con debug impostato a livello 4
Codice: [Seleziona]
Basic POST completed...     Success.
Last reset cause: Software reset (memory controller also reset)

PSPBoot 1.4 rev: 1.4.0.8
(c) Copyright 2002-2009 Texas Instruments, Inc. All Rights Reserved.

Press ESC for monitor..01

psbl>

Booting...
[    0.000000] Linux version 4.9.243 ([email protected]) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r8080-9f2a40c72f) ) #0 Tue Nov 24 09:03:27 2020
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00018448 (MIPS 4KEc)
[    0.000000] TI AR7 (TNETD7300), ID: 0x0005, Revision: 0x22
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 14000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 16kB, VIPT, 4-way, linesize 16 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 16 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000014000000-0x0000000015ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000014000000-0x0000000015ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000014000000-0x0000000015ffffff]
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  console=ttyS0,38400n8 rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 27376K/32768K available (2926K kernel code, 147K rwdata, 628K rodata, 132K init, 198K bss, 5392K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 25483472618 ns
[    0.000044] sched_clock: 32 bits at 75MHz, resolution 13ns, wraps every 28633115129ns
[    0.024312] Calibrating delay loop... 148.88 BogoMIPS (lpj=744448)
[    0.113213] pid_max: default: 32768 minimum: 301
[    0.128030] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.148142] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.186193] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.216306] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.238058] NET: Registered protocol family 16
[    0.353730] clocksource: Switched to clocksource MIPS
[    0.375173] NET: Registered protocol family 2
[    0.392465] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.414016] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.433427] TCP: Hash tables configured (established 1024 bind 1024)
[    0.454135] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.471991] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.492200] NET: Registered protocol family 1
[    0.534182] ar7-gpio: registered 32 GPIOs
[    0.629392] No memory allocated for crashlog
[    0.657753] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.712280] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.730062] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.838691] io scheduler noop registered
[    0.850561] io scheduler deadline registered (default)
[    0.867023] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.887070] serial8250: ttyS0 at MMIO 0x8610e00 (irq = 15, base_baud = 3906250) is a AR7
[    0.911935] console [ttyS0] enabled
[    0.911935] console [ttyS0] enabled
[    0.932945] bootconsole [early0] disabled
[    0.932945] bootconsole [early0] disabled
[    0.958312] serial8250: ttyS1 at MMIO 0x8610f00 (irq = 16, base_baud = 3906250) is a AR7
[    0.986926] physmap platform flash device: 02000000 at 10000000
[    1.005446] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000ec Chip ID 0x0022a2
[    1.037181] Amd/Fujitsu Extended Query Table at 0x0040
[    1.052998]   Fixing Samsung's Amd/Fujitsu Extended Query version to 1.3
[    1.073511]   Amd/Fujitsu Extended Query version 1.3.
[    1.089043] number of CFI chips: 1
[    1.111876] 4 ar7part partitions found on MTD device physmap-flash.0
[    1.131439] Creating 4 MTD partitions on "physmap-flash.0":
[    1.148591] 0x000000000000-0x000000010000 : "loader"
[    1.175824] 0x000000010000-0x000000020000 : "config"
[    1.204314] 0x000000020000-0x000000400000 : "linux"
[    1.232170] 0x00000014efa0-0x000000400000 : "rootfs"
[    1.257420] mtd: device 3 (rootfs) set to be root filesystem
[    1.274978] 1 squashfs-split partitions found on MTD device rootfs
[    1.294001] 0x0000003a0000-0x000000400000 : "rootfs_data"
[    1.344096] libphy: Fixed MDIO Bus: probed
[    1.786250] libphy: cpmac-mii: probed
[    1.880060] cpmac cpmac.1: regs: 08612800, irq: 41, phy: fixed-0:01, mac: 00:50:f1:12:27:06
[    1.990131] cpmac cpmac.0: regs: 08610000, irq: 27, phy: fixed-0:00, mac: 00:50:f1:12:27:06
[    2.018682] vlynq0: regs 0x08611800, irq 29, mem 0x04000000
[    2.410893] vlynq0: local VLYNQ protocol rev. is 0x0001010b
[    2.428016] vlynq0: remote VLYNQ protocol rev. is 0x00010108
[    2.445390] vlynq0: using local clock divisor 8
[    2.573814] Found a VLYNQ device: 00000009
[    2.587169] vlynq1: regs 0x08611c00, irq 33, mem 0x0c000000
[    2.993769] random: fast init done
[    3.855691] NET: Registered protocol family 17
[    3.869817] 8021q: 802.1Q VLAN Support v1.8
[    3.903571] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    3.952242] Freeing prom memory: 1020k freed
[    3.968911] Freeing unused kernel memory: 132K
[    3.982648] This architecture does not have kernel memory protection.
[    5.341330] init: Console is alive
[    6.675733] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.762279] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.796243] init: - preinit -
[    8.429989] random: jshn: uninitialized urandom read (4 bytes read)
[    8.700712] random: jshn: uninitialized urandom read (4 bytes read)
[    8.852892] random: jshn: uninitialized urandom read (4 bytes read)
[    9.189261] cpmac cpmac.1 eth0: Link is Up - 100Mbps/Full - flow control off
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
4
[   12.483145] mount_root: loading kmods from internal overlay
[   12.585152] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[   12.610177] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[   13.426640] jffs2: notice: (283) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   13.475954] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   13.502907] block: extroot: not configured
[   13.537773] jffs2: notice: (281) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   13.780659] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[   13.807135] block: extroot: not configured
[   13.824330] mount_root: switching to jffs2 overlay
[   13.930468] urandom-seed: Seeding with /etc/urandom.seed
[   14.299174] procd: Change state 0 -> 1
[   14.311938] procd: - early -
[   14.472494] cpmac cpmac.1 eth0: Link is Down
[   14.678802] procd: {{"ACTION":"add","DEVPATH":"\/devices\/virtual\/mem\/full","SUBSYSTEM":"mem","MAJOR":"1","MINOR":"7","DEVNAME":"full","DEVMODE":"0666","SEQNUM":"220"}}
[   14.726039] procd: Command: makedev
[   14.737488] procd:  /dev/full
[   14.747977] procd:  0666
[   14.756504] procd: Message:
[   14.765809] procd:  ACTION=add
[   14.775914] procd:  DEVPATH=/devices/virtual/mem/full
[   14.792057] procd:  SUBSYSTEM=mem
[   14.802940] procd:  MAJOR=1
[   14.812277] procd:  MINOR=7
[   14.822158] procd:  DEVNAME=full
[   14.832797] procd:  DEVMODE=0666
[   14.843422] procd:  SEQNUM=220
[   14.854671] procd: {{"ACTION":"add","DEVPATH":"\/devices\/virtual\/mem\/urandom","SUBSYSTEM":"mem","MAJOR":"1","MINOR":"9","DEVNAME":"urandom","DEVMODE":"0666","SEQNUM":"221"}}
[   14.903510] procd: Command: makedev
[   14.915579] procd:  /dev/urandom
[   14.926207] procd:  0666
[   14.934714] procd: Message:
[   14.944038] procd:  ACTION=add
[   14.954151] procd:  DEVPATH=/devices/virtual/mem/urandom
[   14.971101] procd:  SUBSYSTEM=mem
[   14.982014] procd:  MAJOR=1
[   14.992142] procd:  MINOR=9
[   15.001472] procd:  DEVNAME=urandom
[   15.012877] procd:  DEVMODE=0666
[   15.023498] procd:  SEQNUM=221
[   15.034760] procd: {{"ACTION":"add","DEVPATH":"\/devices\/virtual\/mem\/null","SUBSYSTEM":"mem","MAJOR":"1","MINOR":"3","DEVNAME":"null","DEVMODE":"0666","SEQNUM":"222"}}
[   15.081991] procd: Command: makedev
[   15.094218] procd:  /dev/null
[   15.104090] procd:  0666
[   15.112377] procd: Message:
[   15.121684] procd:  ACTION=add
[   15.131788] procd:  DEVPATH=/devices/virtual/mem/null
[   15.147973] procd:  SUBSYSTEM=mem
[   15.159506] procd:  MAJOR=1
[   15.168830] procd:  MINOR=3
[   15.178135] procd:  DEVNAME=null
[   15.188755] procd:  DEVMODE=0666
[   15.199380] procd:  SEQNUM=222
[   15.210412] procd: {{"ACTION":"add","DEVPATH":"\/devices\/virtual\/mem\/random","SUBSYSTEM":"mem","MAJOR":"1","MINOR":"8","DEVNAME":"random","DEVMODE":"0666","SEQNUM":"223"}}
[   15.258713] procd: Command: makedev
[   15.270714] procd:  /dev/random
[   15.281081] procd:  0666
[   15.289585] procd: Message:
[   15.298896] procd:  ACTION=add
[   15.309001] procd:  DEVPATH=/devices/virtual/mem/random
[   15.325736] procd:  SUBSYSTEM=mem
[   15.337165] procd:  MAJOR=1
[   15.346482] procd:  MINOR=8
[   15.355790] procd:  DEVNAME=random
[   15.366938] procd:  DEVMODE=0666
[   15.377794] procd:  SEQNUM=223
[   15.388819] procd: {{"ACTION":"add","DEVPATH":"\/devices\/virtual\/misc\/hw_random","SUBSYSTEM":"misc","MAJOR":"10","MINOR":"183","DEVNAME":"hwrng","SEQNUM":"224"}}
[   15.435650] procd: Command: makedev
[   15.447094] procd:  /dev/hwrng
[   15.457178] procd:  0600
[   15.465681] procd: Message:
[   15.474989] procd:  ACTION=add
[   15.485092] procd:  DEVPATH=/devices/virtual/misc/hw_random
[   15.502845] procd:  SUBSYSTEM=misc
[   15.514790] procd:  MAJOR=10
[   15.524376] procd:  MINOR=183
[   15.534474] procd:  DEVNAME=hwrng
[   15.545360] procd:  SEQNUM=224
[   15.556921] procd: {{"ACTION":"add","DEVPATH":"\/devices\/virtual\/misc\/network_latency","SUBSYSTEM":"misc","MAJOR":"10","MINOR":"62","DEVNAME":"network_latency","SEQNUM":"225"}}
[   15.606982] procd: Command: makedev
[   15.619015] procd:  /dev/network_latency
[   15.631754] procd:  0600
[   15.640258] procd: Message:
[   15.649571] procd:  ACTION=add
[   15.659675] procd:  DEVPATH=/devices/virtual/misc/network_latency
[   15.679011] procd:  SUBSYSTEM=misc
[   15.690872] procd:  MAJOR=10
[   15.700466] procd:  MINOR=62
[   15.710036] procd:  DEVNAME=network_latency
[   15.723552] procd:  SEQNUM=225
[   15.735152] procd: {{"ACTION":"add","DEVPATH":"\/devices\/virtual\/misc\/memory_bandwidth","SUBSYSTEM":"misc","MAJOR":"10","MINOR":"60","DEVNAME":"memory_bandwidth","SEQNUM":"226"}}
[   15.785761] procd: Command: makedev
[   15.797651] procd:  /dev/memory_bandwidth
[   15.810648] procd:  0600
[   15.819183] procd: Message:
[   15.828497] procd:  ACTION=add
[   15.838608] procd:  DEVPATH=/devices/virtual/misc/memory_bandwidth
[   15.858205] procd:  SUBSYSTEM=misc
[   15.869888] procd:  MAJOR=10
[   15.879472] procd:  MINOR=60
[   15.889045] procd:  DEVNAME=memory_bandwidth
[   15.902820] procd:  SEQNUM=226
[   15.914406] procd: {{"ACTION":"add","DEVPATH":"\/devices\/virtual\/misc\/cpu_dma_latency","SUBSYSTEM":"misc","MAJOR":"10","MINOR":"63","DEVNAME":"cpu_dma_latency","SEQNUM":"227"}}
[   15.965190] procd: Command: makedev
[   15.976626] procd:  /dev/cpu_dma_latency
[   15.989340] procd:  0600
[   15.997875] procd: Message:
[   16.007183] procd:  ACTION=add
[   16.017288] procd:  DEVPATH=/devices/virtual/misc/cpu_dma_latency
[   16.036621] procd:  SUBSYSTEM=misc
[   16.048270] procd:  MAJOR=10
[   16.057856] procd:  MINOR=63
[   16.067431] procd:  DEVNAME=cpu_dma_latency
[   16.080943] procd:  SEQNUM=227
[   16.092258] procd: {{"ACTION":"add","DEVPATH":"\/devices\/virtual\/misc\/network_throughput","SUBSYSTEM":"misc","MAJOR":"10","MINOR":"61","DEVNAME":"network_throughput","SEQNUM":"228"}}
[   16.144127] procd: Command: makedev
[   16.155534] procd:  /dev/network_throughput
[   16.169033] procd:  0600
[   16.177539] procd: Message:
[   16.186842] procd:  ACTION=add
[   16.196944] procd:  DEVPATH=/devices/virtual/misc/network_throughput
[   16.217062] procd:  SUBSYSTEM=misc
[   16.228210] procd:  MAJOR=10
[   16.237776] procd:  MINOR=61
[   16.247352] procd:  DEVNAME=network_throughput
[   16.261654] procd:  SEQNUM=228
[   16.272974] procd: {{"ACTION":"add","DEVPATH":"\/devices\/virtual\/tty\/ptmx","SUBSYSTEM":"tty","MAJOR":"5","MINOR":"2","DEVNAME":"ptmx","DEVMODE":"0666","SEQNUM":"229"}}
[   16.320184] procd: Command: makedev
[   16.331599] procd:  /dev/ptmx
[   16.341426] procd:  0666
[   16.349931] procd: Message:
[   16.359240] procd:  ACTION=add
[   16.369340] procd:  DEVPATH=/devices/virtual/tty/ptmx
[   16.385487] procd:  SUBSYSTEM=tty
[   16.396373] procd:  MAJOR=5
[   16.405679] procd:  MINOR=2
[   16.415251] procd:  DEVNAME=ptmx
[   16.425911] procd:  DEVMODE=0666
[   16.436532] procd:  SEQNUM=229
[   16.447807] procd: {{"ACTION":"add","DEVPATH":"\/devices\/virtual\/tty\/console","SUBSYSTEM":"tty","MAJOR":"5","MINOR":"1","DEVNAME":"console","SEQNUM":"230"}}
[   16.492586] procd: Command: makedev
[   16.504218] procd:  /dev/console
[   16.514830] procd:  0600
[   16.523102] procd: Message:
[   16.532411] procd:  ACTION=add
[   16.542514] procd:  DEVPATH=/devices/virtual/tty/console
[   16.559451] procd:  SUBSYSTEM=tty
[   16.570340] procd:  MAJOR=5
[   16.579908] procd:  MINOR=1
[   16.589230] procd:  DEVNAME=console
[   16.600637] procd:  SEQNUM=230
[   16.612166] procd: {{"ACTION":"add","DEVPATH":"\/devices\/platform\/serial8250\/tty\/ttyS0","SUBSYSTEM":"tty","MAJOR":"4","MINOR":"64","DEVNAME":"ttyS0","SEQNUM":"231"}}
[   16.659586] procd: Command: makedev
[   16.671012] procd:  /dev/ttyS0
[   16.681100] procd:  0600
[   16.689636] procd: Message:
[   16.698945] procd:  ACTION=add
[   16.709053] procd:  DEVPATH=/devices/platform/serial8250/tty/ttyS0
[   16.728626] procd:  SUBSYSTEM=tty
[   16.739509] procd:  MAJOR=4
[   16.748815] procd:  MINOR=64
[   16.758383] procd:  DEVNAME=ttyS0
[   16.769268] procd:  SEQNUM=231
[   16.780576] procd: {{"ACTION":"add","DEVPATH":"\/devices\/virtual\/tty\/tty","SUBSYSTEM":"tty","MAJOR":"5","MINOR":"0","DEVNAME":"tty","DEVMODE":"0666","SEQNUM":"232"}}
[   16.827265] procd: Command: makedev
[   16.838682] procd:  /dev/tty
[   16.848246] procd:  0666
[   16.856752] procd: Message:
[   16.866089] procd:  ACTION=add
[   16.876195] procd:  DEVPATH=/devices/virtual/tty/tty
[   16.892078] procd:  SUBSYSTEM=tty
[   16.902964] procd:  MAJOR=5
[   16.912285] procd:  MINOR=0
[   16.921596] procd:  DEVNAME=tty
[   16.931965] procd:  DEVMODE=0666
[   16.942591] procd:  SEQNUM=232
[   16.953629] procd: {{"ACTION":"add","DEVPATH":"\/devices\/platform\/serial8250\/tty\/ttyS1","SUBSYSTEM":"tty","MAJOR":"4","MINOR":"65","DEVNAME":"ttyS1","SEQNUM":"233"}}
[   17.001145] procd: Command: makedev
[   17.012567] procd:  /dev/ttyS1
[   17.022660] procd:  0600
[   17.031168] procd: Message:
[   17.040478] procd:  ACTION=add
[   17.050580] procd:  DEVPATH=/devices/platform/serial8250/tty/ttyS1
[   17.070146] procd:  SUBSYSTEM=tty
[   17.081059] procd:  MAJOR=4
[   17.090363] procd:  MINOR=65
[   17.099934] procd:  DEVNAME=ttyS1
[   17.110829] procd:  SEQNUM=233
[   17.122166] procd: {{"ACTION":"add","DEVPATH":"\/devices\/platform\/physmap-flash.0\/mtd\/mtd4\/mtdblock4","SUBSYSTEM":"block","MAJOR":"31","MINOR":"4","DEVNAME":"mtdblock4","DEVTYPE":"disk","SEQNUM":"234"}}
[   17.179544] procd: Command: makedev
[   17.190973] procd:  /dev/mtdblock4
[   17.202112] procd:  0600
[   17.210613] procd: Message:
[   17.219922] procd:  ACTION=add
[   17.230051] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd4/mtdblock4
[   17.253295] procd:  SUBSYSTEM=block
[   17.264710] procd:  MAJOR=31
[   17.274280] procd:  MINOR=4
[   17.283358] procd:  DEVNAME=mtdblock4
[   17.295333] procd:  DEVTYPE=disk
[   17.305958] procd:  SEQNUM=234
[   17.317197] procd: Command: exec
[   17.327839] procd:  /sbin/hotplug-call
[   17.340021] procd:  block
[   17.348781] procd: Message:
[   17.358083] procd:  ACTION=add
[   17.368188] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd4/mtdblock4
[   17.391440] procd:  SUBSYSTEM=block
[   17.402840] procd:  MAJOR=31
[   17.412395] procd:  MINOR=4
[   17.421694] procd:  DEVNAME=mtdblock4
[   17.433621] procd:  DEVTYPE=disk
[   17.444371] procd:  SEQNUM=234
[   17.459451] procd: Launched hotplug exec instance, pid=326
[   17.541301] procd: {{"ACTION":"add","DEVPATH":"\/devices\/platform\/physmap-flash.0\/mtd\/mtd2\/mtdblock2","SUBSYSTEM":"block","MAJOR":"31","MINOR":"2","DEVNAME":"mtdblock2","DEVTYPE":"disk","SEQNUM":"235"}}
[   17.615671] procd: Command: makedev
[   17.644626] procd:  /dev/mtdblock2
[   17.664761] procd:  0600
[   17.673040] procd: Message:
[   17.694616] procd:  ACTION=add
[   17.714800] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd2/mtdblock2
[   17.764666] procd:  SUBSYSTEM=block
[   17.792585] procd:  MAJOR=31
[   17.814742] procd:  MINOR=2
[   17.834615] procd:  DEVNAME=mtdblock2
[   17.854566] procd:  DEVTYPE=disk
[   17.884640] procd:  SEQNUM=235
[   17.909894] procd: Command: exec
[   17.920547] procd:  /sbin/hotplug-call
[   17.932762] procd:  block
[   17.941523] procd: Message:
[   17.950824] procd:  ACTION=add
[   17.960922] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd2/mtdblock2
[   17.984308] procd:  SUBSYSTEM=block
[   17.995710] procd:  MAJOR=31
[   18.005269] procd:  MINOR=2
[   18.014565] procd:  DEVNAME=mtdblock2
[   18.026493] procd:  DEVTYPE=disk
[   18.037106] procd:  SEQNUM=235
[   18.047491] procd: Finished hotplug exec instance, pid=326
[   18.069523] procd: Launched hotplug exec instance, pid=331
[   18.105469] procd: {{"ACTION":"add","DEVPATH":"\/devices\/platform\/physmap-flash.0\/mtd\/mtd0\/mtdblock0","SUBSYSTEM":"block","MAJOR":"31","MINOR":"0","DEVNAME":"mtdblock0","DEVTYPE":"disk","SEQNUM":"236"}}
[   18.225715] procd: Command: makedev
[   18.255833] procd:  /dev/mtdblock0
[   18.284619] procd:  0600
[   18.292894] procd: Message:
[   18.314727] procd:  ACTION=add
[   18.334582] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd0/mtdblock0
[   18.389180] procd:  SUBSYSTEM=block
[   18.400633] procd:  MAJOR=31
[   18.410201] procd:  MINOR=0
[   18.419509] procd:  DEVNAME=mtdblock0
[   18.431450] procd:  DEVTYPE=disk
[   18.442083] procd:  SEQNUM=236
[   18.453035] procd: Command: exec
[   18.463875] procd:  /sbin/hotplug-call
[   18.475994] procd:  block
[   18.484751] procd: Message:
[   18.494258] procd:  ACTION=add
[   18.504366] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd0/mtdblock0
[   18.527606] procd:  SUBSYSTEM=block
[   18.539005] procd:  MAJOR=31
[   18.548561] procd:  MINOR=0
[   18.557858] procd:  DEVNAME=mtdblock0
[   18.569785] procd:  DEVTYPE=disk
[   18.580438] procd:  SEQNUM=236
[   18.590825] procd: Finished hotplug exec instance, pid=331
[   18.612867] procd: Launched hotplug exec instance, pid=336
[   18.655581] procd: {{"ACTION":"add","DEVPATH":"\/devices\/platform\/physmap-flash.0\/mtd\/mtd3\/mtdblock3","SUBSYSTEM":"block","MAJOR":"31","MINOR":"3","DEVNAME":"mtdblock3","DEVTYPE":"disk","SEQNUM":"237"}}
[   18.765435] procd: Command: makedev
[   18.794580] procd:  /dev/mtdblock3
[   18.819815] procd:  0600
[   18.835209] procd: Message:
[   18.854752] procd:  ACTION=add
[   18.874851] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd3/mtdblock3
[   18.924832] procd:  SUBSYSTEM=block
[   18.946765] procd:  MAJOR=31
[   18.956372] procd:  MINOR=3
[   18.965682] procd:  DEVNAME=mtdblock3
[   18.977621] procd:  DEVTYPE=disk
[   18.988248] procd:  SEQNUM=237
[   18.999238] procd: Command: exec
[   19.009872] procd:  /sbin/hotplug-call
[   19.022083] procd:  block
[   19.030839] procd: Message:
[   19.040137] procd:  ACTION=add
[   19.050237] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd3/mtdblock3
[   19.073475] procd:  SUBSYSTEM=block
[   19.084881] procd:  MAJOR=31
[   19.094444] procd:  MINOR=3
[   19.103519] procd:  DEVNAME=mtdblock3
[   19.115461] procd:  DEVTYPE=disk
[   19.126071] procd:  SEQNUM=237
[   19.136457] procd: Finished hotplug exec instance, pid=336
[   19.158668] procd: Launched hotplug exec instance, pid=341
[   19.195251] procd: {{"ACTION":"add","DEVPATH":"\/devices\/platform\/physmap-flash.0\/mtd\/mtd1\/mtdblock1","SUBSYSTEM":"block","MAJOR":"31","MINOR":"1","DEVNAME":"mtdblock1","DEVTYPE":"disk","SEQNUM":"238"}}
[   19.315670] procd: Command: makedev
[   19.344995] procd:  /dev/mtdblock1
[   19.365954] procd:  0600
[   19.384672] procd: Message:
[   19.404253] procd:  ACTION=add
[   19.424503] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd1/mtdblock1
[   19.479190] procd:  SUBSYSTEM=block
[   19.490643] procd:  MAJOR=31
[   19.500207] procd:  MINOR=1
[   19.509518] procd:  DEVNAME=mtdblock1
[   19.521454] procd:  DEVTYPE=disk
[   19.532076] procd:  SEQNUM=238
[   19.543279] procd: Command: exec
[   19.554133] procd:  /sbin/hotplug-call
[   19.566303] procd:  block
[   19.575057] procd: Message:
[   19.584352] procd:  ACTION=add
[   19.594450] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd1/mtdblock1
[   19.617687] procd:  SUBSYSTEM=block
[   19.629085] procd:  MAJOR=31
[   19.638644] procd:  MINOR=1
[   19.647939] procd:  DEVNAME=mtdblock1
[   19.659866] procd:  DEVTYPE=disk
[   19.670513] procd:  SEQNUM=238
[   19.680899] procd: Finished hotplug exec instance, pid=341
[   19.703265] procd: Launched hotplug exec instance, pid=346
[   19.890957] procd: Finished hotplug exec instance, pid=346
[   20.181326] procd: Coldplug complete
[   20.193000] procd: Change state 1 -> 2
[   20.207439] procd: - ubus -
[   20.216993] procd: Create service ubus
[   20.229514] procd: Start instance ubus::instance1
[   20.248024] procd: Started instance ubus::instance1[351]
[   20.341878] procd: running /etc/init.d/ubus running
[   20.362765] procd: glob failed on /etc/init.d/ubus
[   20.381432] procd: Connection to ubus failed
[   20.490630] urandom_read: 1 callbacks suppressed
[   20.490668] random: ubusd: uninitialized urandom read (4 bytes read)
[   20.597483] random: ubusd: uninitialized urandom read (4 bytes read)
[   20.619101] random: ubusd: uninitialized urandom read (4 bytes read)
[   20.645816] procd: Connected to ubus, id=d42dfcca
[   20.661202] procd: Change state 2 -> 3
[   20.673386] procd: - init -
[   20.741036] procd: Parsing inittab - ::sysinit:/etc/init.d/rcS S boot
[   20.761749] procd: Parsing inittab - ::shutdown:/etc/init.d/rcS K shutdown
[   20.783961] procd: Parsing inittab - ::askconsole:/usr/libexec/login.sh
[   20.809910] procd: Launched new askconsole action, pid=352
[   20.891954] procd: running /etc/rc.d/S* boot
Please press Enter to activate this console.
[   21.865197] kmodloader: loading kernel modules from /etc/modules.d/*
[   21.975895] zram: Added device: zram0
[   22.026101] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   22.050656] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   22.196604] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
/sbin/hotplug-call: /etc/hotplug.d/block/00-media-change: line 8: can't create /sys/block/zram0/events_poll_msecs: Permission denied
[   22.548889] xt_time: kernel timezone is -0000
[   22.730781] ip_tables: (C) 2000-2006 Netfilter Core Team
[   23.352132] acx.acx_init_module: acx-mac80211, version: v0.6.0 (git: unknown)
[   23.374090] acx.acx_init_module: this driver is still EXPERIMENTAL
[   23.374090] acx: please read the README file and/or go to http://acx100.sourceforge.net/wiki for further information
[   23.424960] acx.acxpci_init_module: built with CONFIG_ACX_MAC80211_PCI
[   23.445069] acx.acxpci_init_module: compiled to use 32bit I/O access. I/O timing issues might occur, such as non-working firmware upload. Report them
[   23.485853] acx.acxpci_init_module: acx: running on a little-endian CPU
[   23.485853]  PCI/VLYNQ module initialized, waiting for cards to probe...
[   23.526532] Driver found for VLYNQ device: 00000009
[   23.542059] acx.acx_alloc_hw: wiphy: phy0[   23.554007] acx.acx_init_mechanics: ie_cmd_buf_len=336
[   23.941166] vlynq0: local VLYNQ protocol rev. is 0x0001010b
[   23.958289] vlynq0: remote VLYNQ protocol rev. is 0x00010108
[   23.975658] vlynq0: using local clock divisor 1
[   23.989865] acx.vlynq_probe: found TI TNETW1130-based wireless network card at vlynq0, irq:80, phymem:0x4000000, mem:0xa4000000
[   24.024876] acx.vlynq_probe: the initial debug setting is 0x000A
[   24.043333] acx.vlynq_probe: using IRQ 80
[   24.055743] acx.acx_get_hardware_info: form_factor=0x01, radio_type=0x16
[   24.076345] acx.acxpci_load_firmware: Need firmware for acx111 chipset with radio ID 0x16: either combined firmware (single file 'tiacx111c16'), or two files: base-fw file 'tiacx111' + radio-fw file 'tiacx111r16'
[   24.133741] acx.acx_load_firmware: Required firmware: fw_image='tiacx111c16', radio_image='(null)'
[   24.161080] acx.acx_read_fw: requesting firmware image 'tiacx111c16'
[   24.468879] acx._acx_upload_fw: acx_write_fw (main): 0
[   24.548741] acx._acx_upload_fw: acx_validate_fw (main): 0
[   25.072509] acx.acx_init_packet_templates: initializing max packet templates
[   25.245034] acx.acx_allocate: bdev:95d58240 size:37536 phy:15fe0000 ptr:b5fe0000
[   25.268203] acx.acx_allocate: bdev:95d58240 size:1024 phy:15ff1000 ptr:b5ff1000
[   25.291750] acx.acx_allocate: bdev:95d58240 size:37536 phy:15490000 ptr:b5490000
[   25.314903] acx.acx_allocate: bdev:95d58240 size:1024 phy:15fff000 ptr:b5fff000
[   25.338515] acx.acx_allocate: bdev:95d58240 size:37536 phy:154a0000 ptr:b54a0000
[   25.361734] acx.acx_allocate: bdev:95d58240 size:1024 phy:1557a000 ptr:b557a000
[   25.385312] acx.acx_allocate: bdev:95d58240 size:37536 phy:154b0000 ptr:b54b0000
[   25.408472] acx.acx_allocate: bdev:95d58240 size:1024 phy:15ff5000 ptr:b5ff5000
[   25.432032] acx.acx_allocate: bdev:95d58240 size:37536 phy:15400000 ptr:b5400000
[   25.455193] acx.acx_allocate: bdev:95d58240 size:1024 phy:1548c000 ptr:b548c000
[   25.477672] acx.acx_allocate: bdev:95d58240 size:448 phy:15578000 ptr:b5578000
[   25.500966] acx.acx_allocate: bdev:95d58240 size:38336 phy:15410000 ptr:b5410000
[   25.553898] acx.acx_interrogate: (type:ACX111_IE_QUEUE_CONFIG,len:56)
[   25.593875] acx.acx111_create_dma_regions: Queue head: len=56, tx_memory_block_address=1A7A0, rx_memory_block_address=163A0
[   25.627821] acx.acx111_create_dma_regions: Queue head: rx_queue_start=13994
[   25.649127] acx.acx111_create_dma_regions: Queue head: tx_queue_start[0]=149D4
[   25.671273] acx.acx111_create_dma_regions: Queue head: tx_queue_start[1]=14694
[   25.693391] acx.acx111_create_dma_regions: Queue head: tx_queue_start[2]=14354
[   25.715499] acx.acx111_create_dma_regions: Queue head: tx_queue_start[3]=14014
[   25.737604] acx.acx111_create_dma_regions: Queue head: tx_queue_start[4]=13CD4
[   25.759749] acx.acx_create_tx_desc_queue: adev->iobase2=a4022000,tx_queue_start=000149D4,tx->desc_start=a40369d4[   25.790320] acx.acx_create_tx_desc_queue: adev->iobase2=a4022000,tx_queue_start=00014694,tx->desc_start=a4036694
[   25.821408] acx.acx_create_tx_desc_queue: adev->iobase2=a4022000,tx_queue_start=00014354,tx->desc_start=a4036354[   25.851941] acx.acx_create_tx_desc_queue: adev->iobase2=a4022000,tx_queue_start=00014014,tx->desc_start=a4036014
[   25.883023] acx.acx_create_tx_desc_queue: adev->iobase2=a4022000,tx_queue_start=00013CD4,tx->desc_start=a4035cd4[   25.914006] acx.acx_interrogate: (type:ACX111_IE_CONFIG_OPTIONS,len:332)
[   25.963976] acx.acx_parse_configoption: NVSv: [   25.977140] 01
[   25.982471] 16 [   25.987423] 05
[   25.992748] 00 [   25.997701] 02
[   26.003029] 41 [   26.007982] 01
[   26.013308] 00 [   26.018245]
[   26.022828] acx.acx_parse_configoption: NVS_vendor_offs:01CD probe_delay:200 eof_memory:1114112
[   26.049389] acx.acx_parse_configoption: CCAModes:04 Diversity:01 ShortPreOpt:01 PBCC:01 ChanAgil:00 PHY:05 Temp:01
[   26.080985] acx.acx_parse_configoption: AntennaID:00 Len:02 Data:[   26.099129] 01
[   26.104654] 02 [   26.109443]
[   26.114166] acx.acx_parse_configoption: PowerLevelID:01 Len:02 Data:[   26.133070] 001E
[   26.139115] 000A [   26.144594]
[   26.149162] acx.acx_parse_configoption: DataRatesID:02 Len:05 Data:[   26.167806] 02
[   26.173136] 04 [   26.178133] 11
[   26.183463] 22 [   26.188439] 44
[   26.193946]
[   26.198509] acx.acx_parse_configoption: DomainID:03 Len:06 Data:[   26.216368] 41
[   26.221697] 20 [   26.226664] 30
[   26.231991] 31 [   26.236954] 32
[   26.242279] 40 [   26.247225]
[   26.251802] acx.acx_parse_configoption: ProductID:04 Len:09 Data:TI ACX100
[   26.272862] acx.acx_parse_configoption: ManufacturerID:05 Len:07 Data:TI Test
[   26.294711] acx.acx_interrogate: (type:ACX1xx_IE_FWREV,len:24)
[   26.333866] acx.acx_get_firmware_version: Firmware: firmware_version='Rev 2.3.1.31' hw_id=03010101
[   26.361309] acx.acx_display_hardware_details: chipset TNETW1130, radio type 0x16 (Radia (RC2422?)), form factor 0x01 ((mini-)PCI / CardBus), EEPROM version 0x05, uploaded firmware 'Rev 2.3.1.31'
[   26.413944] acx.acx_interrogate: (type:ACX1xx_IE_DOT11_STATION_ID,len:6)
[   26.463884] acx.acx1xx_get_station_id: Got station_id: 00:19:5B:2F:EB:FB
[   26.484441] acx.acx_interrogate: (type:ACX1xx_IE_DOT11_CURRENT_ANTENNA,len:2)
[   26.533843] acx.acx1xx_get_antenna: Got antenna[0,1]: 0x4A 0x04
[   26.552018] acx.acx_interrogate: (type:ACX1xx_IE_DOT11_CURRENT_REG_DOMAIN,len:2)
[   26.603851] acx.acx_get_reg_domain: Got regulatory domain 0x41
[   26.621768] acx.acx_get_sensitivity: don't know how to get sensitivity for radio type 0x16
[   26.647057] acx.acx_set_interrupt_mask: adev->irq_mask: before: 0 devtype:0 chiptype:2 tobe: 39157
[   26.674428] acx.acx_update_ratevector: new ratevector: [   26.689919] 82
[   26.695433] 84 [   26.700225] 0B
[   26.705760] 0C [   26.710558] 12
[   26.716071] 16 [   26.720863] 18
[   26.726362] 24 [   26.731154] 2C
[   26.736653] 30 [   26.741445] 48
[   26.746945] 60 [   26.751737] 6C
[   26.756997] acx.acx_interrogate: (type:ACX1xx_IE_DOT11_TX_POWER_LEVEL,len:1)
[   26.803848] acx.acx1xx_get_tx_level: Got tx-power-level: 1
[   26.820700] acx.acx_update_hw_encryption: Enabling hw-encryption
[   26.839122] acx.acx_interrogate: (type:ACX1xx_IE_FEATURE_CONFIG,len:8)
[   26.914061] acx.acx_debugfs_add_adev: adev:95f514c0 nm:phy0 dirp:958a03b8
[   26.975502] kmodloader: done loading kernel modules from /etc/modules.d/*
[   33.783129] zram0: detected capacity change from 0 to 13631488
[   34.019761] Adding 13308k swap on /dev/zram0.  Priority:-1 extents:1 across:13308k SS
[   59.049218] br-lan: port 1(eth0) entered blocking state
[   59.065387] br-lan: port 1(eth0) entered disabled state
[   59.083048] device eth0 entered promiscuous mode
[   59.098699] cpmac cpmac.1 eth0: Link is Up - 100Mbps/Full - flow control off
[   59.230449] br-lan: port 1(eth0) entered blocking state
[   59.246608] br-lan: port 1(eth0) entered forwarding state
[   59.709559] cpmac cpmac.0 eth1: Link is Up - 100Mbps/Full - flow control off
[   59.819120] br-lan: port 2(eth1) entered blocking state
[   59.835338] br-lan: port 2(eth1) entered disabled state
[   59.853007] device eth1 entered promiscuous mode
[   59.867700] br-lan: port 2(eth1) entered blocking state
[   59.883843] br-lan: port 2(eth1) entered forwarding state
[   60.697568] br-lan: port 3(eth0.1) entered blocking state
[   60.714297] br-lan: port 3(eth0.1) entered disabled state
[   60.732619] device eth0.1 entered promiscuous mode
[   60.748266] br-lan: port 3(eth0.1) entered blocking state
[   60.764936] br-lan: port 3(eth0.1) entered forwarding state
[   62.077256] br-lan: port 4(eth0.2) entered blocking state
[   62.093946] br-lan: port 4(eth0.2) entered disabled state
[   62.295017] device eth0.2 entered promiscuous mode
[   62.310359] br-lan: port 4(eth0.2) entered blocking state
[   62.327043] br-lan: port 4(eth0.2) entered forwarding state
udhcpc: started, v1.28.4
udhcpc: sending discover
udhcpc: no lease, failing
[   72.765737] acx.acx_update_settings: Updating initial settings
[   72.783826] acx.acx1xx_update_station_id: Updating station_id to: 00:19:5B:2F:EB:FB
[   72.924138] acx.acx1xx_update_rate_fallback: Updating Tx fallback to 1 retries
[   73.014354] acx.acx1xx_update_tx_level: Updating tx-power-level to: 1
[   73.085025] acx.acx1xx_update_antenna: Updating antenna[0,1]: 0x4A 0x04
[   73.172720] acx.acx1xx_update_ed_threshold: Updating the Energy Detect (ED) threshold: 0
[   73.197543] acx.acx1xx_update_ed_threshold: acx111 doesn't support ED threshold
[   73.220018] acx.acx1xx_update_cca: Updating the Channel Clear Assessment (CCA) value: 0x00
[   73.245305] acx.acx1xx_update_cca: acx111 doesn't support CCA
[   73.262972] acx.acx1xx_update_tx: Updating TX: disable, channel=1
[   73.650919] acx.acx1xx_update_rx: Updating RX: disable, channel=1
[   73.718985] acx.acx1xx_update_retry: Updating the short retry limit: 7, long retry limit: 4
[   73.874089] acx.acx1xx_update_msdu_lifetime: Updating the tx MSDU lifetime: 4096
[   73.966819] acx.acx_update_reg_domain: Updating the regulatory domain: 0x41
[   74.068912] acx.acx_update_hw_encryption: Enabling hw-encryption
[   74.087442] acx.acx_interrogate: (type:ACX1xx_IE_FEATURE_CONFIG,len:8)
[   74.274075] acx.acx_update_mode: Updating to mode=0x0002
[   74.290433] acx.acx1xx_update_rx: Updating RX: disable, channel=1
[   74.394002] acx.acx_update_rx_config: acx_update_rx_config: default
[   74.413270] acx.acx_update_rx_config: Updating RXconfig to mode=0x0002,rx_config_1:2=2010:0FD5
[   74.534041] acx.acx1xx_update_rx: Updating RX: enable, channel=1
[   74.586368] acx.acx1xx_update_tx: Updating TX: enable, channel=1
[   74.652075] acx.acx_update_sensitivity: updating sensitivity value: 2
[   74.671933] acx.acx_interrogate: (type:ACX1xx_IE_FEATURE_CONFIG,len:8)
[   74.814244] acx.acx111_update_recalib_auto: Enabling firmware auto radio-recalibration.
[   74.974172] acx.acx_op_add_interface: vif_type=0003
[   74.989216] acx.acx_op_add_interface: NL80211_IFTYPE_AP
[   75.005377] acx.acx_update_mode: Updating to mode=0x0003
[   75.021734] acx.acx1xx_update_rx: Updating RX: disable, channel=1
[   75.264003] acx.acx_update_rx_config: acx_update_rx_config: ACX_MODE_3_AP
[   75.284858] acx.acx_update_rx_config: Updating RXconfig to mode=0x0003,rx_config_1:2=2010:0DD5
[   75.418606] acx.acx1xx_update_rx: Updating RX: enable, channel=1
[   75.504020] acx.acx1xx_update_tx: Updating TX: enable, channel=1
[   75.578403] acx.acx_op_add_interface: Redoing cmd_join_bssid() after add_interface
[   75.601670] acx.acx_cmd_join_bssid: rates_basic:0003, rates_supported:1FFF
[   75.734219] acx.acx_cmd_join_bssid: BSS_Type = 3
[   75.748510] acx.acx_print_mac2: JoinBSSID MAC:00:19:5B:2F:EB:FB
[   75.766767] acx.acx_op_add_interface: Virtual interface added (type: 0x00000003, MAC: 00:19:5B:2F:EB:FB)
[   75.795883] acx.acx1xx_update_tx_level: Updating tx-power-level to: 1
[   75.974161] acx.acx1xx_update_tx: Updating TX: enable, channel=1
[   76.014035] acx.acx1xx_update_rx: Updating RX: enable, channel=1
[   76.090607] br-lan: port 5(wlan0) entered blocking state
[   76.107102] br-lan: port 5(wlan0) entered disabled state
[   76.125378] device wlan0 entered promiscuous mode
[   76.236432] acx.acx1xx_update_tx: Updating TX: enable, channel=11
[   76.284150] acx.acx1xx_update_rx: Updating RX: enable, channel=11
[   76.414961] acx.acx_set_beacon: Redoing cmd_join_bssid() following template cfg
[   76.437439] acx.acx_cmd_join_bssid: rates_basic:0003, rates_supported:1FFF
[   76.514011] acx.acx_cmd_join_bssid: BSS_Type = 3
[   76.528333] acx.acx_print_mac2: JoinBSSID MAC:00:19:5B:2F:EB:FB
[   76.546993] br-lan: port 5(wlan0) entered blocking state
[   76.563391] br-lan: port 5(wlan0) entered forwarding state
[   82.324045] acx.acx_set_beacon: Redoing cmd_join_bssid() following template cfg
[   82.346483] acx.acx_cmd_join_bssid: rates_basic:0003, rates_supported:1FFF
[   82.398192] acx.acx_cmd_join_bssid: BSS_Type = 3
[   82.412569] acx.acx_print_mac2: JoinBSSID MAC:00:19:5B:2F:EB:FB
[   88.523833] acx.acx_set_beacon: Redoing cmd_join_bssid() following template cfg
[   88.546314] acx.acx_cmd_join_bssid: rates_basic:0003, rates_supported:1FFF
[   88.593842] acx.acx_cmd_join_bssid: BSS_Type = 3
[   88.608104] acx.acx_print_mac2: JoinBSSID MAC:00:19:5B:2F:EB:FB
[   94.713834] acx.acx_set_beacon: Redoing cmd_join_bssid() following template cfg
[   94.736296] acx.acx_cmd_join_bssid: rates_basic:0003, rates_supported:1FFF
[   94.783843] acx.acx_cmd_join_bssid: BSS_Type = 3
[   94.798103] acx.acx_print_mac2: JoinBSSID MAC:00:19:5B:2F:EB:FB
[  100.913837] acx.acx_set_beacon: Redoing cmd_join_bssid() following template cfg
[  100.936260] acx.acx_cmd_join_bssid: rates_basic:0003, rates_supported:1FFF
[  100.983909] acx.acx_cmd_join_bssid: BSS_Type = 3
[  100.998171] acx.acx_print_mac2: JoinBSSID MAC:00:19:5B:2F:EB:FB
[  104.936072] device wlan0 left promiscuous mode
[  104.950203] br-lan: port 5(wlan0) entered disabled state
[  104.975416] acx.acx1xx_update_tx: Updating TX: enable, channel=11
[  105.023858] acx.acx1xx_update_rx: Updating RX: enable, channel=11
[  105.070755] acx.acx_update_mode: Updating to mode=0x00ff
[  105.087207] acx.acx1xx_update_tx: Updating TX: disable, channel=11
[  105.133968] acx.acx1xx_update_rx: Updating RX: disable, channel=11
[  105.173885] acx.acx_op_remove_interface: Virtual interface removed: type=3, MAC=00:19:5B:2F:EB:FB
[  105.201275] acx.acx_op_stop: [  105.210092] acx.acx_op_stop: acx: closed device
[  107.624909] acx.acx_update_settings: Updating initial settings
[  107.642927] acx.acx1xx_update_station_id: Updating station_id to: 00:19:5B:2F:EB:FB
[  107.754254] acx.acx1xx_update_rate_fallback: Updating Tx fallback to 1 retries
[  107.842140] acx.acx1xx_update_tx_level: Updating tx-power-level to: 1
[  107.914057] acx.acx1xx_update_antenna: Updating antenna[0,1]: 0x4A 0x04
[  107.977855] acx.acx1xx_update_ed_threshold: Updating the Energy Detect (ED) threshold: 0
[  108.002733] acx.acx1xx_update_ed_threshold: acx111 doesn't support ED threshold
[  108.025183] acx.acx1xx_update_cca: Updating the Channel Clear Assessment (CCA) value: 0x00
[  108.050461] acx.acx1xx_update_cca: acx111 doesn't support CCA
[  108.068138] acx.acx1xx_update_tx: Updating TX: disable, channel=1
[  108.120694] acx.acx1xx_update_rx: Updating RX: disable, channel=1
[  108.163857] acx.acx1xx_update_retry: Updating the short retry limit: 7, long retry limit: 4
[  108.243862] acx.acx1xx_update_msdu_lifetime: Updating the tx MSDU lifetime: 4096
[  108.293878] acx.acx_update_reg_domain: Updating the regulatory domain: 0x41
[  108.343980] acx.acx_update_hw_encryption: Enabling hw-encryption
[  108.362444] acx.acx_interrogate: (type:ACX1xx_IE_FEATURE_CONFIG,len:8)
[  108.433867] acx.acx_update_mode: Updating to mode=0x00ff
[  108.450212] acx.acx1xx_update_tx: Updating TX: disable, channel=1
[  108.493852] acx.acx1xx_update_rx: Updating RX: disable, channel=1
[  108.533869] acx.acx_update_sensitivity: updating sensitivity value: 2
[  108.553632] acx.acx_interrogate: (type:ACX1xx_IE_FEATURE_CONFIG,len:8)
[  108.633870] acx.acx111_update_recalib_auto: Enabling firmware auto radio-recalibration.
[  108.683917] acx.acx_op_add_interface: vif_type=0003
[  108.698950] acx.acx_op_add_interface: NL80211_IFTYPE_AP
[  108.715071] acx.acx_update_mode: Updating to mode=0x0003
[  108.731421] acx.acx1xx_update_rx: Updating RX: disable, channel=1
[  108.773833] acx.acx_update_rx_config: acx_update_rx_config: ACX_MODE_3_AP
[  108.794708] acx.acx_update_rx_config: Updating RXconfig to mode=0x0003,rx_config_1:2=2010:0DD5
[  108.843873] acx.acx1xx_update_rx: Updating RX: enable, channel=1
[  108.883915] acx.acx1xx_update_tx: Updating TX: enable, channel=1
[  108.923839] acx.acx_op_add_interface: Redoing cmd_join_bssid() after add_interface
[  108.947041] acx.acx_cmd_join_bssid: rates_basic:0003, rates_supported:1FFF
[  108.993840] acx.acx_cmd_join_bssid: BSS_Type = 3
[  109.008150] acx.acx_print_mac2: JoinBSSID MAC:00:19:5B:2F:EB:FB
[  109.026402] acx.acx_op_add_interface: Virtual interface added (type: 0x00000003, MAC: 00:19:5B:2F:EB:FB)
[  109.055503] acx.acx1xx_update_tx_level: Updating tx-power-level to: 1
[  109.106739] acx.acx1xx_update_tx: Updating TX: enable, channel=11
[  109.153854] acx.acx1xx_update_rx: Updating RX: enable, channel=11
[  109.218228] br-lan: port 5(wlan0) entered blocking state
[  109.234662] br-lan: port 5(wlan0) entered disabled state
[  109.252740] device wlan0 entered promiscuous mode
[  109.291363] acx.acx1xx_update_tx: Updating TX: enable, channel=11
[  109.333968] acx.acx1xx_update_rx: Updating RX: enable, channel=11
[  109.463929] acx.acx_set_beacon: Redoing cmd_join_bssid() following template cfg
[  109.486360] acx.acx_cmd_join_bssid: rates_basic:0003, rates_supported:1FFF
[  109.533841] acx.acx_cmd_join_bssid: BSS_Type = 3
[  109.548103] acx.acx_print_mac2: JoinBSSID MAC:00:19:5B:2F:EB:FB
[  109.567597] br-lan: port 5(wlan0) entered blocking state
[  109.584044] br-lan: port 5(wlan0) entered forwarding state
[  115.383900] acx.acx_set_beacon: Redoing cmd_join_bssid() following template cfg
[  115.406326] acx.acx_cmd_join_bssid: rates_basic:0003, rates_supported:1FFF
[  115.453989] acx.acx_cmd_join_bssid: BSS_Type = 3
[  115.468263] acx.acx_print_mac2: JoinBSSID MAC:00:19:5B:2F:EB:FB
[email protected]:/# wifi down radio0
[  121.584246] acx.acx_set_beacon: Redoing cmd_join_bssid() following template cfg
[  121.606700] acx.acx_cmd_join_bssid: rates_basic:0003, rates_supported:1FFF
[  121.694182] acx.acx_cmd_join_bssid: BSS_Type = 3
[  121.708472] acx.acx_print_mac2: JoinBSSID MAC:00:19:5B:2F:EB:FB
[  122.175517] device wlan0 left promiscuous mode
[  122.189643] br-lan: port 5(wlan0) entered disabled state
[  122.214929] acx.acx1xx_update_tx: Updating TX: enable, channel=11
[  122.263856] acx.acx1xx_update_rx: Updating RX: enable, channel=11
[  122.310685] acx.acx_update_mode: Updating to mode=0x00ff
[  122.327112] acx.acx1xx_update_tx: Updating TX: disable, channel=11
[  122.373855] acx.acx1xx_update_rx: Updating RX: disable, channel=11
[  122.413949] acx.acx_op_remove_interface: Virtual interface removed: type=3, MAC=00:19:5B:2F:EB:FB
[  122.441299] acx.acx_op_stop: [  122.450146] acx.acx_op_stop: acx: closed device
[  133.794067] random: crng init done
[  133.804446] random: 3 urandom warning(s) missed due to ratelimiting

cpmac trova qualcosa, ma nulla su ADM6996M
Codice: [Seleziona]
[email protected]:/# dmesg | grep cpmac
[    1.786250] libphy: cpmac-mii: probed
[    1.880060] cpmac cpmac.1: regs: 08612800, irq: 41, phy: fixed-0:01, mac: 00:50:f1:12:27:06
[    1.990131] cpmac cpmac.0: regs: 08610000, irq: 27, phy: fixed-0:00, mac: 00:50:f1:12:27:06
[    9.189261] cpmac cpmac.1 eth0: Link is Up - 100Mbps/Full - flow control off
[   14.472494] cpmac cpmac.1 eth0: Link is Down
[   59.098699] cpmac cpmac.1 eth0: Link is Up - 100Mbps/Full - flow control off
[   59.709559] cpmac cpmac.0 eth1: Link is Up - 100Mbps/Full - flow control off
[email protected]:/# dmesg | grep ADM6996M
[email protected]:/#

Mentre questo è phy
Codice: [Seleziona]
[email protected]:/# dmesg | grep phy
[    0.000000] Determined physical RAM map:
[    0.986926] physmap platform flash device: 02000000 at 10000000
[    1.005446] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000ec Chip ID 0x0022a2
[    1.036820] physmap-flash.0: Found an alias at 0x400000 for the chip at 0x0
[    1.036874] physmap-flash.0: Found an alias at 0x800000 for the chip at 0x0
[    1.036918] physmap-flash.0: Found an alias at 0xc00000 for the chip at 0x0
[    1.036963] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[    1.037008] physmap-flash.0: Found an alias at 0x1400000 for the chip at 0x0
[    1.037053] physmap-flash.0: Found an alias at 0x1800000 for the chip at 0x0
[    1.037097] physmap-flash.0: Found an alias at 0x1c00000 for the chip at 0x0
[    1.111876] 4 ar7part partitions found on MTD device physmap-flash.0
[    1.131439] Creating 4 MTD partitions on "physmap-flash.0":
[    1.344096] libphy: Fixed MDIO Bus: probed
[    1.786250] libphy: cpmac-mii: probed
[    1.880060] cpmac cpmac.1: regs: 08612800, irq: 41, phy: fixed-0:01, mac: 00:50:f1:12:27:06
[    1.990131] cpmac cpmac.0: regs: 08610000, irq: 27, phy: fixed-0:00, mac: 00:50:f1:12:27:06
[   17.122166] procd: {{"ACTION":"add","DEVPATH":"\/devices\/platform\/physmap-flash.0\/mtd\/mtd4\/mtdblock4","SUBSYSTEM":"block","MAJOR":"31","MINOR":"4","DEVNAME":"mtdblock4","DEVTYPE":"disk","SEQNUM":"234"}}
[   17.230051] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd4/mtdblock4
[   17.368188] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd4/mtdblock4
[   17.541301] procd: {{"ACTION":"add","DEVPATH":"\/devices\/platform\/physmap-flash.0\/mtd\/mtd2\/mtdblock2","SUBSYSTEM":"block","MAJOR":"31","MINOR":"2","DEVNAME":"mtdblock2","DEVTYPE":"disk","SEQNUM":"235"}}
[   17.714800] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd2/mtdblock2
[   17.960922] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd2/mtdblock2
[   18.105469] procd: {{"ACTION":"add","DEVPATH":"\/devices\/platform\/physmap-flash.0\/mtd\/mtd0\/mtdblock0","SUBSYSTEM":"block","MAJOR":"31","MINOR":"0","DEVNAME":"mtdblock0","DEVTYPE":"disk","SEQNUM":"236"}}
[   18.334582] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd0/mtdblock0
[   18.504366] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd0/mtdblock0
[   18.655581] procd: {{"ACTION":"add","DEVPATH":"\/devices\/platform\/physmap-flash.0\/mtd\/mtd3\/mtdblock3","SUBSYSTEM":"block","MAJOR":"31","MINOR":"3","DEVNAME":"mtdblock3","DEVTYPE":"disk","SEQNUM":"237"}}
[   18.874851] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd3/mtdblock3
[   19.050237] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd3/mtdblock3
[   19.195251] procd: {{"ACTION":"add","DEVPATH":"\/devices\/platform\/physmap-flash.0\/mtd\/mtd1\/mtdblock1","SUBSYSTEM":"block","MAJOR":"31","MINOR":"1","DEVNAME":"mtdblock1","DEVTYPE":"disk","SEQNUM":"238"}}
[   19.424503] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd1/mtdblock1
[   19.594450] procd:  DEVPATH=/devices/platform/physmap-flash.0/mtd/mtd1/mtdblock1
[   23.542059] acx.acx_alloc_hw: wiphy: phy0
[   23.989865] acx.vlynq_probe: found TI TNETW1130-based wireless network card at vlynq0, irq:80, phymem:0x4000000, mem:0xa4000000
[   25.245034] acx.acx_allocate: bdev:95d58240 size:37536 phy:15fe0000 ptr:b5fe0000
[   25.268203] acx.acx_allocate: bdev:95d58240 size:1024 phy:15ff1000 ptr:b5ff1000
[   25.291750] acx.acx_allocate: bdev:95d58240 size:37536 phy:15490000 ptr:b5490000
[   25.314903] acx.acx_allocate: bdev:95d58240 size:1024 phy:15fff000 ptr:b5fff000
[   25.338515] acx.acx_allocate: bdev:95d58240 size:37536 phy:154a0000 ptr:b54a0000
[   25.361734] acx.acx_allocate: bdev:95d58240 size:1024 phy:1557a000 ptr:b557a000
[   25.385312] acx.acx_allocate: bdev:95d58240 size:37536 phy:154b0000 ptr:b54b0000
[   25.408472] acx.acx_allocate: bdev:95d58240 size:1024 phy:15ff5000 ptr:b5ff5000
[   25.432032] acx.acx_allocate: bdev:95d58240 size:37536 phy:15400000 ptr:b5400000
[   25.455193] acx.acx_allocate: bdev:95d58240 size:1024 phy:1548c000 ptr:b548c000
[   25.477672] acx.acx_allocate: bdev:95d58240 size:448 phy:15578000 ptr:b5578000
[   25.500966] acx.acx_allocate: bdev:95d58240 size:38336 phy:15410000 ptr:b5410000
[   26.914061] acx.acx_debugfs_add_adev: adev:95f514c0 nm:phy0 dirp:958a03b8
[   26.938117] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'

Magari troverò qualcosa modificando il kernel con make kernel_menuconfig
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: larsen64it - 14 Giugno 2021, 19:09
Secondo me ti conviene indagare(confrontare) BB con CC, perché proprio il passaggio da una versione all'altra ha portato alla rottura del supporto, un pò come è avvenuto per  l'eliminazione, durante lo sviluppo di BB, di questa patch, che per alcuni modelli bloccava l 'uso dello switch:
https://github.com/openwrt/archive/blob/attitude_adjustment/target/linux/ar7/patches-3.3/972-cpmac_fixup.patch
Titolo: Re:d-link dsl-624t OpenWRT
Inserito da: Porske - 14 Giugno 2021, 20:03
Credo di aver capito PHY non seleziona il driver giusto https://dev.archive.openwrt.org/ticket/13413.html (https://dev.archive.openwrt.org/ticket/13413.html)
Quello giusto è già presente
(https://i.postimg.cc/5tzwWnBK/Schermata-del-2021-06-14-19-18-19.png)

Ma non gli viene assegnato nessun indirizzo
Codice: [Seleziona]
[email protected]:~# ls /sys/bus/mdio_bus/drivers
Generic 10G PHY   IC+ IP17xx        Marvell 88E6060
Generic PHY       Infineon ADM6996
[email protected]:~# ls /sys/bus/mdio_bus/drivers/Infineon\ ADM6996/
bind    uevent  unbind
[email protected]:~# ls /sys/bus/mdio_bus/drivers/Generic\ PHY/
bind        fixed-0:00  fixed-0:01  uevent      unbind
[email protected]:~# ls /sys/bus/mdio_bus/devices/
cpmac-1:1f  fixed-0:00  fixed-0:01
Finiscono tutti e due in quello generico e quel "fixed" mi fa pensare che utilizzi questo
(https://i.postimg.cc/dt73fDm4/Schermata-del-2021-06-14-20-01-02.png)

Come posso risolvere? esisterà un modo per forzare il driver ADM6996?