Modify

Opened 5 years ago

Last modified 5 years ago

#12464 new defect

The TL-WDR4300 firmware image do not registers all led devices

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

r34122
TL-WDR4300 v1.3

The image openwrt-ar71xx-generic-tl-wdr4300-v1-squashfs-sysupgrade.bin do not registers/provides the led device: tp-link:blue:wlan5g (ath9k-phy1)

root@OpenWrt:~# dmesg
[ 0.000000] Linux version 3.3.8 (openwrt@huchra) (gcc version 4.6.4 20121001 (prerelease) (Linaro GCC 4.6-2012.10) ) #1 Fri Nov 9 09:40:22 PST 2012
[ 0.000000] MyLoader: sysp=4b1bf7b5, boardp=9002c600, parts=6bde8914
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 0001974c (MIPS 74Kc)
[ 0.000000] SoC: Atheros AR9344 rev 2
[ 0.000000] Clocks: CPU:560.000MHz, DDR:450.000MHz, AHB:225.000MHz, Ref:40.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00008000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] Early memory PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00008000
[ 0.000000] On node 0 totalpages: 32768
[ 0.000000] free_area_init_node: node 0, pgdat 8031b060, node_mem_map 81000000
[ 0.000000] Normal zone: 256 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 32512 pages, LIFO batch:7
[ 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: 32512
[ 0.000000] Kernel command line: board=TL-WDR4300 console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 126296k/131072k available (2217k kernel code, 4776k reserved, 580k data, 212k init, 0k highmem)
[ 0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Calibrating delay loop... 278.93 BogoMIPS (lpj=1394688)
[ 0.070000] pid_max: default: 32768 minimum: 301
[ 0.070000] Mount-cache hash table entries: 512
[ 0.080000] NET: Registered protocol family 16
[ 0.080000] gpiochip_add: registered GPIOs 0 to 22 on device: ath79
[ 0.090000] MIPS: machine is TP-LINK TL-WDR3600/4300/4310
[ 0.090000] registering PCI controller with io_map_base unset
[ 0.310000] bio: create slab <bio-0> at 0
[ 0.310000] PCI host bridge to bus 0000:00
[ 0.320000] pci_bus 0000:00: root bus resource [mem 0x10000000-0x13ffffff]
[ 0.320000] pci_bus 0000:00: root bus resource [io 0x0000]
[ 0.330000] pci 0000:00:00.0: [168c:0033] type 0 class 0x000280
[ 0.330000] pci 0000:00:00.0: invalid calibration data
[ 0.330000] pci 0000:00:00.0: reg 10: [mem 0x00000000-0x0001ffff 64bit]
[ 0.330000] pci 0000:00:00.0: reg 30: [mem 0x00000000-0x0000ffff pref]
[ 0.330000] pci 0000:00:00.0: supports D1
[ 0.330000] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[ 0.330000] pci 0000:00:00.0: BAR 0: assigned [mem 0x10000000-0x1001ffff 64bit]
[ 0.340000] pci 0000:00:00.0: BAR 6: assigned [mem 0x10020000-0x1002ffff pref]
[ 0.340000] pci 0000:00:00.0: using irq 40 for pin 1
[ 0.350000] Switching to clocksource MIPS
[ 0.350000] NET: Registered protocol family 2
[ 0.360000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.360000] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.370000] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.370000] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.380000] TCP reno registered
[ 0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.390000] NET: Registered protocol family 1
[ 0.400000] PCI: CLS 0 bytes, default 32
[ 0.410000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.420000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.430000] msgmni has been set to 246
[ 0.430000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[ 0.440000] io scheduler noop registered
[ 0.440000] io scheduler deadline registered (default)
[ 0.450000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.480000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[ 0.490000] console [ttyS0] enabled, bootconsole disabled
[ 0.500000] m25p80 spi0.0: found s25fl064k, expected m25p80
[ 0.510000] m25p80 spi0.0: s25fl064k (8192 Kbytes)
[ 0.510000] 5 tp-link partitions found on MTD device spi0.0
[ 0.520000] Creating 5 MTD partitions on "spi0.0":
[ 0.520000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.530000] 0x000000020000-0x00000011d750 : "kernel"
[ 0.530000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.550000] 0x00000011d750-0x0000007f0000 : "rootfs"
[ 0.550000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.570000] mtd: partition "rootfs" set to be root filesystem
[ 0.570000] mtd: partition "rootfs_data" created automatically, ofs=290000, len=560000
[ 0.580000] 0x000000290000-0x0000007f0000 : "rootfs_data"
[ 0.590000] 0x0000007f0000-0x000000800000 : "art"
[ 0.590000] 0x000000020000-0x0000007f0000 : "firmware"
[ 0.730000] ag71xx_mdio: probed
[ 0.730000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[ 1.310000] eth0: Atheros AR8327 switch driver attached.
[ 2.470000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.0:00 [uid=004dd033, driver=Atheros AR8216/AR8236/AR8316]
[ 2.480000] TCP cubic registered
[ 2.480000] NET: Registered protocol family 17
[ 2.490000] Bridge firewalling registered
[ 2.490000] 8021q: 802.1Q VLAN Support v1.8
[ 2.500000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 2.510000] Freeing unused kernel memory: 212k freed
[ 4.080000] Registered led device: tp-link:blue:qss
[ 4.080000] Registered led device: tp-link:blue:system
[ 4.080000] Registered led device: tp-link:green:usb1
[ 4.080000] Registered led device: tp-link:green:usb2
[ 4.080000] Registered led device: tp-link:blue:wlan2g
[ 5.470000] eth0: link up (1000Mbps/Full duplex)
[ 7.370000] JFFS2 notice: (479) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 11 of xref (0 dead, 3 orphan) found.
[ 7.870000] SCSI subsystem initialized
[ 8.000000] usbcore: registered new interface driver usbfs
[ 8.010000] usbcore: registered new interface driver hub
[ 8.020000] usbcore: registered new device driver usb
[ 8.130000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 8.140000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[ 8.140000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 8.180000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 8.200000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 8.200000] hub 1-0:1.0: USB hub found
[ 8.210000] hub 1-0:1.0: 1 port detected
[ 8.220000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 8.270000] Initializing USB Mass Storage driver...
[ 8.270000] usbcore: registered new interface driver usb-storage
[ 8.280000] USB Mass Storage support registered.
[ 8.530000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 8.680000] hub 1-1:1.0: USB hub found
[ 8.680000] hub 1-1:1.0: 4 ports detected
[ 8.970000] usb 1-1.1: new high-speed USB device number 3 using ehci-platform
[ 9.080000] scsi0 : usb-storage 1-1.1:1.0
[ 10.080000] scsi 0:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 0
[ 28.600000] eth0: link down
[ 29.050000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[ 29.060000] Backport based on wireless-testing.git master-2012-09-07
[ 29.060000] compat.git: wireless-testing.git
[ 29.130000] cfg80211: Calling CRDA to update world regulatory domain
[ 29.140000] cfg80211: World regulatory domain updated:
[ 29.150000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 29.150000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 29.160000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 29.170000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 29.180000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 29.190000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 29.730000] ath: EEPROM regdomain: 0x0
[ 29.730000] ath: EEPROM indicates default country code should be used
[ 29.730000] ath: doing EEPROM country->regdmn map search
[ 29.730000] ath: country maps to regdmn code: 0x3a
[ 29.730000] ath: Country alpha2 being used: US
[ 29.730000] ath: Regpair used: 0x3a
[ 29.730000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 29.730000] Registered led device: ath9k-phy0
[ 29.730000] ieee80211 phy0: Atheros AR9340 Rev:0 mem=0xb8100000, irq=47
[ 29.740000] PCI: Enabling device 0000:00:00.0 (0000 -> 0002)
[ 29.750000] ath: EEPROM regdomain: 0x0
[ 29.750000] ath: EEPROM indicates default country code should be used
[ 29.750000] ath: doing EEPROM country->regdmn map search
[ 29.750000] ath: country maps to regdmn code: 0x3a
[ 29.750000] ath: Country alpha2 being used: US
[ 29.750000] ath: Regpair used: 0x3a
[ 29.750000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 29.760000] Registered led device: ath9k-phy1
[ 29.760000] ieee80211 phy1: Atheros AR9300 Rev:4 mem=0xb0000000, irq=40

root@OpenWrt:~# ll /sys/class/leds/
lrwxrwxrwx 1 root root 0 Thu Jan 1 01:00:04 1970 tp-link:blue:system -> ../../devices/platform/leds-gpio/leds/tp-link:blue:system
lrwxrwxrwx 1 root root 0 Thu Jan 1 01:00:32 1970 tp-link:green:usb2 -> ../../devices/platform/leds-gpio/leds/tp-link:green:usb2
lrwxrwxrwx 1 root root 0 Thu Jan 1 01:00:32 1970 tp-link:green:usb1 -> ../../devices/platform/leds-gpio/leds/tp-link:green:usb1
lrwxrwxrwx 1 root root 0 Thu Jan 1 01:00:32 1970 tp-link:blue:wlan2g -> ../../devices/platform/leds-gpio/leds/tp-link:blue:wlan2g
lrwxrwxrwx 1 root root 0 Thu Jan 1 01:00:32 1970 tp-link:blue:qss -> ../../devices/platform/leds-gpio/leds/tp-link:blue:qss
lrwxrwxrwx 1 root root 0 Thu Jan 1 01:00:32 1970 ath9k-phy1 -> ../../devices/pci0000:00/0000:00:00.0/leds/ath9k-phy1
lrwxrwxrwx 1 root root 0 Thu Jan 1 01:00:32 1970 ath9k-phy0 -> ../../devices/platform/ar934x_wmac/leds/ath9k-phy0

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by anonymous

Because 5Ghz is hardware driven.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.