Skip to content

Instantly share code, notes, and snippets.

@robimarko
Created June 14, 2018 16:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robimarko/ae606a36742779f3619bc0fc793f360b to your computer and use it in GitHub Desktop.
Save robimarko/ae606a36742779f3619bc0fc793f360b to your computer and use it in GitHub Desktop.
Toughswitch5
SW.v1.3.5# dmesg
[ 0.000000] Linux version 2.6.32.49 (buildd@builder) (gcc version 4.1.2) #1 Wed Mar 29 17:47:06 EEST 2017
[ 0.000000] flash_size passed from bootloader = 0
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
[ 0.000000] Normal 0x00000000 -> 0x00004000
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[1] active PFN ranges
[ 0.000000] 0: 0x00000000 -> 0x00004000
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat 802bf090, node_mem_map 81000000
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16256 pages, LIFO batch:3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=ttyS0,115200 root=31:03 rootfstype=squashfs init=/init mtdparts=ar7240-nor0:256k(u-boot),64k(u-boot-env),1024k(kernel),6528k(rootfs),256k(cfg),64k(EEPROM)
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 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: 61828k/65536k available (2273k kernel code, 3636k reserved, 532k data, 136k init, 0k highmem)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:128
[ 0.000000] plat_time_init: plat time init done
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] Calibrating delay loop... 259.58 BogoMIPS (lpj=129792)
[ 0.016000] Mount-cache hash table entries: 512
[ 0.019000] NET: Registered protocol family 16
[ 0.021000] ===== ar7240_platform_init: 0
[ 0.021000] ***** Warning *****: PCIe WLAN H/W not found !!!
[ 0.029000] bio: create slab <bio-0> at 0
[ 0.030000] usbcore: registered new interface driver usbfs
[ 0.031000] usbcore: registered new interface driver hub
[ 0.031000] usbcore: registered new device driver usb
[ 0.032000] Switching to clocksource MIPS
[ 0.035000] NET: Registered protocol family 2
[ 0.035000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.037000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.037000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.037000] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.037000] TCP reno registered
[ 0.038000] NET: Registered protocol family 1
[ 0.038000] AR7240 GPIOC major 0
[ 0.040000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.040000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.041000] msgmni has been set to 120
[ 0.041000] io scheduler noop registered (default)
[ 0.067000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.068000] serial8250.0: ttyS0 at MMIO 0xb8020000 (irq = 19) is a 16550A
[ 0.344000] console [ttyS0] enabled
[ 0.349000] 6 cmdlinepart partitions found on MTD device ar7240-nor0
[ 0.355000] Creating 6 MTD partitions on "ar7240-nor0":
[ 0.360000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.367000] 0x000000040000-0x000000050000 : "u-boot-env"
[ 0.374000] 0x000000050000-0x000000150000 : "kernel"
[ 0.380000] 0x000000150000-0x0000007b0000 : "rootfs"
[ 0.386000] mtd: partition "rootfs" set to be root filesystem
[ 0.392000] 0x0000007b0000-0x0000007f0000 : "cfg"
[ 0.398000] 0x0000007f0000-0x000000800000 : "EEPROM"
[ 0.405000] usbmon: debugfs is not available
[ 0.409000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.446000] Port Status c000004
[ 0.449000] ar7240-ehci ar7240-ehci.0: ATH EHCI
[ 0.454000] ar7240-ehci ar7240-ehci.0: new USB bus registered, assigned bus number 1
[ 0.463000] ehci_reset Intialize USB CONTROLLER in host mode: 3
[ 0.470000] ehci_reset Port Status c000000
[ 0.474000] ar7240-ehci ar7240-ehci.0: irq 3, io mem 0x1b000000
[ 0.481000] ehci_reset Intialize USB CONTROLLER in host mode: 3
[ 0.488000] ehci_reset Port Status c000000
[ 0.498000] ar7240-ehci ar7240-ehci.0: USB 2.0 started, EHCI 1.00
[ 0.504000] usb usb1: configuration #1 chosen from 1 choice
[ 0.510000] hub 1-0:1.0: USB hub found
[ 0.514000] hub 1-0:1.0: 1 port detected
[ 0.519000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.526000] u32 classifier
[ 0.529000] Performance counters on
[ 0.532000] input device check on
[ 0.536000] Actions configured
[ 0.542000] TCP westwood registered
[ 0.545000] NET: Registered protocol family 10
[ 0.554000] NET: Registered protocol family 17
[ 0.559000] Bridge firewalling registered
[ 0.563000] 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
[ 0.570000] All bugs added by David S. Miller <davem@redhat.com>
[ 0.576000] ar7240wdt_init: Registering WDT success
[ 0.587000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[ 0.595000] Freeing unused kernel memory: 136k freed
[ 0.610000] Please be patient, while AirOS loads ...
[ 1.718000] Algorithmics/MIPS FPU Emulator v1.5
[ 5.081000] **** drop_caches_sysctl_handler: all done timer added ...****
[ 6.768000] ar7240-gpio 1.1 initialised
[ 7.193000] ATHR_GMAC: Length per segment 1536
[ 7.193000] ATHR_GMAC: skb_overhead 64, shinfo: 344
[ 7.194000] ATHR_GMAC: RX sizes - 2k_fit: 1614, reserve: 0
[ 7.194000] ATHR_GMAC: fifo cfg 3 01f00140
[ 7.194000] ATHR_GMAC: Mac address for unit 0:bfff0000
[ 7.194000] ATHR_GMAC: 44:d9:e7:41:2b:2b
[ 7.753000] MAC0 MDC is 6 at line 2752
[ 7.753000] MAC0: AR8327(V2) Detected
[ 7.755000] ATHR_GMAC: Max segments per packet : 1
[ 7.755000] ATHR_GMAC: Max tx descriptor count : 80
[ 7.755000] ATHR_GMAC: Max rx descriptor count : 252
[ 7.755000] ATHR_GMAC: Mac capability flags : 4381
[ 7.755000] ATHR_GMAC: Mac address for unit 1:bfff0006
[ 7.755000] ATHR_GMAC: 46:d9:e7:41:2b:2b
[ 8.315000] ATHR_GMAC: Max segments per packet : 1
[ 8.315000] ATHR_GMAC: Max tx descriptor count : 40
[ 8.315000] ATHR_GMAC: Max rx descriptor count : 252
[ 8.315000] ATHR_GMAC: Mac capability flags : 4B81
[ 8.573000] SCSI subsystem initialized
[ 8.823000] PPP generic driver version 2.4.2
[ 9.000000] PPP MPPE Compression module registered
[ 9.032000] NET: Registered protocol family 24
[ 10.393000] usbcore: registered new interface driver cdc_acm
[ 10.393000] cdc_acm: v0.26:USB Abstract Control Model driver for USB modems and ISDN adapters
[ 10.547000] usbcore: registered new interface driver usbserial
[ 10.547000] USB Serial support registered for generic
[ 10.547000] usbcore: registered new interface driver usbserial_generic
[ 10.547000] usbserial: USB Serial Driver core
[ 10.811000] Initializing USB Mass Storage driver...
[ 10.812000] usbcore: registered new interface driver usb-storage
[ 10.812000] USB Mass Storage support registered.
[ 10.987000] USB Serial support registered for GSM modem (1-port)
[ 10.988000] usbcore: registered new interface driver option
[ 10.988000] option: v0.7.2:USB Driver for GSM modems
[ 11.098000] USB Serial support registered for Sierra USB modem
[ 11.098000] usbcore: registered new interface driver sierra
[ 11.098000] sierra: v.1.3.8:USB Driver for Sierra Wireless USB modems
[ 11.261000] fuse init (API version 7.13)
[ 12.422000] Ebtables v2.0 registered
[ 12.821000] device eth0 entered promiscuous mode
[ 12.827000] device eth1 entered promiscuous mode
[ 13.490000] athr_gmac_ring_alloc Allocated 1280 at 0x83af3000
[ 13.490000] athr_gmac_ring_alloc Allocated 4032 at 0x839d3000
[ 14.199000] MAC0 MDC is 6 at line 572
[ 14.199000] MAC1 MDC is 6 at line 581
[ 14.206000] ToughSwitch init succeeded!
[ 14.207000] athrs17_reg_init:done
[ 14.207000] Setting PHY...
[ 15.218000] Phy setup Complete
[ 15.425000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 15.427000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 15.457000] athr_gmac_ring_alloc Allocated 640 at 0x83bf4c00
[ 15.457000] athr_gmac_ring_alloc Allocated 4032 at 0x83bf9000
[ 16.169000] MAC1 MDC is 6 at line 572
[ 16.169000] MAC1 MDC is 6 at line 581
[ 16.169000] ATHRS26: resetting s26
[ 16.270000] ATHRS26: s26 reset done
[ 16.276000] Setting PHY...
[ 17.292000] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 17.541000] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 18.312000] ATH_MAC_TIMER: MAC 1 PHY 0x00 - LINK NOW UP [link=UP speed=100Mbps duplex=full duplex carrier=0]
[ 18.354000] ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
[ 18.355000] br0: port 2(eth1) entering learning state
[ 18.356000] device br0 entered promiscuous mode
[ 19.355000] br0: port 2(eth1) entering forwarding state
[ 27.718000] br0: no IPv6 routers present
[ 28.475000] eth1: no IPv6 routers present
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment