Skip to content

Instantly share code, notes, and snippets.

@robimarko
Created October 23, 2017 17:36
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/63e0b114dc7c785b905cb194b0483d70 to your computer and use it in GitHub Desktop.
Save robimarko/63e0b114dc7c785b905cb194b0483d70 to your computer and use it in GitHub Desktop.
CPE210v2 LEDE 4.9.57
U-Boot 1.1.4-g30d8afa8-dirty (Nov 1 2016 - 17:38:05)
ap143-2.0 - Honey Bee 2.0
DRAM: 64 MB
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash: 8 MB
Using default environment
In: serial
Out: serial
Err: serial
Net: ath_gmac_enet_initialize...
ath_gmac_enet_initialize: reset mask:c02200
Scorpion ---->S27 PHY*
S27 reg init
: cfg1 0x800c0000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
Honey Bee ----> MAC 1 S27 PHY *
S27 reg init
ATHRS27: resetting s27
ATHRS27: s27 reset done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :10
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :10
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :10
eth1 up
eth0, eth1
Setting 0x181162c0 to 0x50a1a100
is button pressed? 1
eth1 link down
enet0 port4 up
dup 1 speed 100
Using eth0 device
TFTP from server 192.168.0.100; our IP address is 192.168.0.254
Filename 'recovery.bin'.
Load address: 0x80060000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
###########################
done
Bytes transferred = 3462969 (34d739 hex)
Firmware recovery: FLASH_SIZE = 8 filesize = 0x34d739.
Reading Partition Table from NVRAM ... OK
Parsing Partition Table ... OK
File Length:3462969
fw type name : .
Firmware process common.
Image verify OK!
Firmware file Verify ok!
[Error]sysmgr_cfg_checkSupportList(): 1063 @ productInfo CPE210(TP-LINK|EU|N300-2|00000000):2.0 NOT Match.
[Error]sysmgr_cfg_checkSupportList(): 1069 @ CPE210(TP-LINK|EU|N300-2|45550000):2.0 Matched!!!
Firmwave supports, check OK.
Firmware Recovery check ok!
Firmware Checking Passed.
#########################################################
Done.
All Done!
U-Boot 1.1.4-g30d8afa8-dirty (Nov 1 2016 - 17:38:05)
ap143-2.0 - Honey Bee 2.0
DRAM: 64 MB
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash: 8 MB
Using default environment
In: serial
Out: serial
Err: serial
Net: ath_gmac_enet_initialize...
ath_gmac_enet_initialize: reset mask:c02200
Scorpion ---->S27 PHY*
S27 reg init
: cfg1 0x800c0000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
athrs27_phy_setup ATHR_PHY_CONTROL 4 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 4 :10
eth0 up
Honey Bee ----> MAC 1 S27 PHY *
S27 reg init
ATHRS27: resetting s27
ATHRS27: s27 reset done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
athrs27_phy_setup ATHR_PHY_CONTROL 0 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 0 :10
athrs27_phy_setup ATHR_PHY_CONTROL 1 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 1 :10
athrs27_phy_setup ATHR_PHY_CONTROL 2 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 2 :10
athrs27_phy_setup ATHR_PHY_CONTROL 3 :1000
athrs27_phy_setup ATHR_PHY_SPEC_STAUS 3 :10
eth1 up
eth0, eth1
Setting 0x181162c0 to 0x50a1a100
is button pressed? 0
Autobooting in 1 seconds
## Booting image at 9f040000 ...
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 4.9.57 (robimarko@Builder) (gcc version 6.3.0 (LEDE GCC 6.3.0 r5128+8-49fa574) ) #0 Mon Oct 23 15:08:52 2017
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Qualcomm Atheros QCA9533 ver 2 rev 0
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 04000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] OF: fdt:No valid device tree found, continuing without
[ 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] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: board=CPE210V2 mtdparts=spi0.0:128k(u-boot)ro,64k(pation-table)ro,64k(product-info)ro,1536k(kernel),6144k(rootfs),192k(config)ro,64k(ART)ro,7680k@0x40000(firmware) console=ttyS0,115200 rootfstype=squashfs noinitrd
[ 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] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 59768K/65536K available (3216K kernel code, 168K rwdata, 820K rodata, 332K init, 213K bss, 5768K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.000000] Clocks: CPU:650.000MHz, DDR:392.187MHz, AHB:216.666MHz, Ref:25.000MHz
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 5880801374 ns
[ 0.000009] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 6607641598ns
[ 0.008272] Calibrating delay loop... 432.53 BogoMIPS (lpj=2162688)
[ 0.071121] pid_max: default: 32768 minimum: 301
[ 0.076117] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.083092] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.093782] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.104202] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.111358] NET: Registered protocol family 16
[ 0.117903] MIPS: machine is TP-LINK CPE210 v2
[ 0.374255] clocksource: Switched to clocksource MIPS
[ 0.380898] NET: Registered protocol family 2
[ 0.386481] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.393855] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.400643] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.407495] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.413674] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.420658] NET: Registered protocol family 1
[ 0.430300] Crashlog allocated RAM at address 0x3f00000
[ 0.437122] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.451149] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.457352] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.477960] io scheduler noop registered
[ 0.482104] io scheduler deadline registered (default)
[ 0.488073] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[ 0.495320] console [ttyS0] disabled
[ 0.519255] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11, base_baud = 1562500) is a 16550A
[ 0.528365] console [ttyS0] enabled
[ 0.528365] console [ttyS0] enabled
[ 0.535919] bootconsole [early0] disabled
[ 0.535919] bootconsole [early0] disabled
[ 0.549023] m25p80 spi0.0: found gd25q64, expected m25p80
[ 0.557290] m25p80 spi0.0: gd25q64 (8192 Kbytes)
[ 0.562120] 8 cmdlinepart partitions found on MTD device spi0.0
[ 0.568290] Creating 8 MTD partitions on "spi0.0":
[ 0.573250] 0x000000000000-0x000000020000 : "u-boot"
[ 0.580205] 0x000000020000-0x000000030000 : "pation-table"
[ 0.587887] 0x000000030000-0x000000040000 : "product-info"
[ 0.595531] 0x000000040000-0x0000001c0000 : "kernel"
[ 0.602503] 0x0000001c0000-0x0000007c0000 : "rootfs"
[ 0.609619] mtd: device 4 (rootfs) set to be root filesystem
[ 0.615613] 1 squashfs-split partitions found on MTD device rootfs
[ 0.622013] 0x0000003b0000-0x0000007c0000 : "rootfs_data"
[ 0.629548] 0x0000007c0000-0x0000007f0000 : "config"
[ 0.636717] 0x0000007f0000-0x000000800000 : "ART"
[ 0.643479] 0x000000040000-0x0000007c0000 : "firmware"
[ 0.651992] libphy: Fixed MDIO Bus: probed
[ 0.681864] libphy: ag71xx_mdio: probed
[ 1.317212] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd042, driver=Generic PHY]
[ 1.327500] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 1.335653] NET: Registered protocol family 10
[ 1.344424] NET: Registered protocol family 17
[ 1.349219] 8021q: 802.1Q VLAN Support v1.8
[ 1.362135] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 1.372329] Freeing unused kernel memory: 332K
[ 1.376971] This architecture does not have kernel memory protection.
[ 2.057085] init: Console is alive
[ 2.060887] init: - watchdog -
[ 2.464253] random: fast init done
[ 2.981296] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[ 3.061360] usbcore: registered new interface driver usbfs
[ 3.067210] usbcore: registered new interface driver hub
[ 3.072814] usbcore: registered new device driver usb
[ 3.085125] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 3.093965] ehci-platform: EHCI generic platform driver
[ 3.103088] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 3.111245] ohci-platform: OHCI generic platform driver
[ 3.117592] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 3.135708] init: - preinit -
[ 3.894562] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
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
[ 6.017781] eth0: link up (100Mbps/Full duplex)
[ 6.022520] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.061404] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[ 7.100119] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 7.287546] eth0: link down
[ 7.304214] procd: - early -
[ 7.308279] procd: - watchdog -
[ 7.931100] procd: - watchdog -
[ 7.934762] procd: - ubus -
[ 8.047877] procd: - init -
Please press Enter to activate this console.
[ 8.379374] kmodloader: loading kernel modules from /etc/modules.d/*
[ 8.391770] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 8.412856] Loading modules backported from Linux version wt-2017-10-06-0-ga7a22fbbd1f0
[ 8.421211] Backport generated by backports.git v4.14-rc2-1-6-gedfb595c
[ 8.431775] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 8.447982] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[ 8.524152] xt_time: kernel timezone is -0000
[ 8.598222] PPP generic driver version 2.4.2
[ 8.605764] NET: Registered protocol family 24
[ 8.683644] ieee80211 phy0: Atheros AR9531 Rev:2 mem=0xb8100000, irq=47
[ 8.793883] kmodloader: done loading kernel modules from /etc/modules.d/*
[ 15.335873] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[ 15.343009] jffs2_build_filesystem(): unlocking the mtd device... [ 15.364368] done.
[ 15.366389] jffs2_build_filesystem(): erasing all blocks after the end marker... [ 20.106563] br-lan: port 1(eth0) entered blocking state
[ 20.111982] br-lan: port 1(eth0) entered disabled state
[ 20.117912] device eth0 entered promiscuous mode
[ 20.191801] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[ 22.177774] eth0: link up (100Mbps/Full duplex)
[ 22.182531] br-lan: port 1(eth0) entered blocking state
[ 22.187971] br-lan: port 1(eth0) entered forwarding state
[ 22.235234] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[ 38.444502] done.
[ 38.446555] jffs2: notice: (873) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment