Skip to content

Instantly share code, notes, and snippets.

@adventureloop
Created July 16, 2016 15:16
Show Gist options
  • Select an option

  • Save adventureloop/4b7303152990c954f458f1173c9a652e to your computer and use it in GitHub Desktop.

Select an option

Save adventureloop/4b7303152990c954f458f1173c9a652e to your computer and use it in GitHub Desktop.
U-Boot 1.1.4 (May 14 2015 - 19:51:26)
ap135 - Scorpion 1.0DRAM:
sri
Scorpion 1.0
ath_ddr_initial_config(178): (16bit) ddr2 init
tap = 0x00000003
Tap (low, high) = (0x0, 0x1d)
Tap values = (0xe, 0xe, 0xe, 0xe)
64 MB
Flash Manuf Id 0xc8, DeviceId0 0x40, DeviceId1 0x17
flash size 8MB, sector count = 128
Flash: 8 MB
Using default environment
*** Warning *** : PCIe WLAN Module not found !!!
*** Warning *** : PCIe WLAN Module not found !!!
In: serial
Out: serial
Err: serial
Net: ath_gmac_enet_initialize...
athrs_sgmii_res_cal: cal value = 0xe
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
ath_gmac_enet_initialize: reset mask:c02200
Scorpion ----> S17 PHY *
athrs17_reg_init: complete
: cfg1 0x80000000 cfg2 0x7114
eth0: ba:be:fa:ce:08:41
eth0 up
athrs17_reg_init_wan done
SGMII in forced mode
athr_gmac_sgmii_setup SGMII done
: cfg1 0x800c0000 cfg2 0x7214
eth1: ba:be:fa:ce:08:41
eth1 up
eth0, eth1
Setting 0x18116290 to 0x58b1a14f
is_auto_upload_firmware=0
Autobooting in 1 seconds
## Booting image at 9f020000 ...
Uncompressing Kernel Image ... OK
Starting kernel ...
CPU platform: Atheros AR9558 rev 0
CPU Frequency=720 MHz
CPU DDR Frequency=600 MHz
CPU AHB Frequency=200 MHz
platform frequency: 720 MHz
CPU reference clock: 40 MHz
CPU MDIO clock: 40 MHz
arguments:
a0 = 00000007
a1 = a3f8bfb0
a2 = 04000000
a3 = 00000008
Cmd line:argv is invalid
Environment:
envp is invalid
Cache info:
picache_stride = 4096
picache_loopcount = 16
pdcache_stride = 4096
pdcache_loopcount = 8
cpu0: MIPS Technologies processor v80.151
MMU: Standard TLB, 32 entries (4K 16K 64K 256K 1M 16M 64M 256M pg sizes)
L1 i-cache: 4 ways of 512 sets, 32 bytes per line
L1 d-cache: 4 ways of 256 sets, 32 bytes per line
L2 cache: disabled
Config1=0xbee3519e<PerfCount,WatchRegs,MIPS16,EJTAG>
Config2=0x80001000
Config3=0x2e28
Physical memory chunk(s):
0x568000 - 0x3ffffff, 61440000 bytes (15000 pages)
Maxmem is 0x4000000
qca955x_chip_init_gmac: gmac_cfg=0x00000001
qca955x_configure_gmac: ETH_CFG=0x0003c001
ar71xx: Overriding MAC from EEPROM
ar71xx: Board MAC: a4:2b:b0:fe:66:be
ar71xx: devid 'ath.0', MAC offset '0'
hint.ath.0.macaddr => a4:2b:b0:fe:66:be
ar71xx: devid 'arge.0', MAC offset '1'
hint.arge.0.macaddr => a4:2b:b0:fe:66:bf
ar71xx: devid 'arge.1', MAC offset '2'
hint.arge.1.macaddr => a4:2b:b0:fe:66:c0
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2016 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 12.0-CURRENT #0 7df95e0(master): Fri Jul 15 20:15:01 BST 2016
tom@tom-desk.erg.abdn.ac.uk:/usr/home/tom/code/obj/mips_ap/mips.mips/usr/home/tom/code/freebsd/sys/TL-WR1043NDv2 mips
gcc version 4.2.1 20070831 patched [FreeBSD]
Preloaded elf kernel "kernel" at 0x805617d0.
real memory = 67108864 (65536K bytes)
Physical memory chunk(s):
0x005fc000 - 0x03eb8fff, 59494400 bytes (14525 pages)
avail memory = 59211776 (56MB)
random: entropy device external interface
wlan: <802.11 Link Layer>
mem: <memory>
null: <full device, null device, zero device>
nexus0: <MIPS32 root nexus>
random: harvesting attach, 8 bytes (4 bits) from nexus0
argemdio0: <Atheros AR71xx built-in ethernet interface, MDIO controller> at mem 0x19000000-0x19000fff on nexus0
mdio0: <MDIO> on argemdio0
mdioproxy0: <MII/MDIO proxy, MDIO side> on mdio0
random: harvesting attach, 8 bytes (4 bits) from mdioproxy0
arswitch0: <Atheros AR8327 Ethernet Switch (ver 1 rev 4)> on mdio0
arswitch0: ar8327_fetch_pdata_port: port 0: speed=3, duplex=1, txpause=1, rxpause=1
arswitch0: ar8327_fetch_pdata_port: port 6: speed=3, duplex=1, txpause=1, rxpause=1
arswitch0: ar8327_fetch_pdata_pad: pad 0: mode=3, rxclk_sel=0, txclk_sel=0, txclk_delay_sel=0, rxclk_delay_sel=0, txclk_delay_en=0, rxclk_enable_en=0, sgmii_delay_en=1, pipe_rxclk_sel=0
arswitch0: ar8327_fetch_pdata_pad: pad 6: mode=6, rxclk_sel=0, txclk_sel=0, txclk_delay_sel=1, rxclk_delay_sel=2, txclk_delay_en=1, rxclk_enable_en=1, sgmii_delay_en=0, pipe_rxclk_sel=0
arswitch0: ar8327_phy_fixup: called; phy=0; chiprev=4
arswitch0: ar8327_phy_fixup: called; phy=1; chiprev=4
arswitch0: ar8327_phy_fixup: called; phy=2; chiprev=4
arswitch0: ar8327_phy_fixup: called; phy=3; chiprev=4
arswitch0: ar8327_phy_fixup: called; phy=4; chiprev=4
miibus0: <MII bus> on arswitch0
ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0
ukphy0: OUI 0x00c82e, model 0x0003, rev. 4
ukphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
random: harvesting attach, 8 bytes (4 bits) from ukphy0
random: harvesting attach, 8 bytes (4 bits) from miibus0
miibus1: <MII bus> on arswitch0
ukphy1: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
ukphy1: OUI 0x00c82e, model 0x0003, rev. 4
ukphy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
random: harvesting attach, 8 bytes (4 bits) from ukphy1
random: harvesting attach, 8 bytes (4 bits) from miibus1
miibus2: <MII bus> on arswitch0
ukphy2: <Generic IEEE 802.3u media interface> PHY 2 on miibus2
ukphy2: OUI 0x00c82e, model 0x0003, rev. 4
ukphy2: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
random: harvesting attach, 8 bytes (4 bits) from ukphy2
random: harvesting attach, 8 bytes (4 bits) from miibus2
miibus3: <MII bus> on arswitch0
ukphy3: <Generic IEEE 802.3u media interface> PHY 3 on miibus3
ukphy3: OUI 0x00c82e, model 0x0003, rev. 4
ukphy3: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
random: harvesting attach, 8 bytes (4 bits) from ukphy3
random: harvesting attach, 8 bytes (4 bits) from miibus3
miibus4: <MII bus> on arswitch0
ukphy4: <Generic IEEE 802.3u media interface> PHY 4 on miibus4
ukphy4: OUI 0x00c82e, model 0x0003, rev. 4
ukphy4: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto
random: harvesting attach, 8 bytes (4 bits) from ukphy4
random: harvesting attach, 8 bytes (4 bits) from miibus4
etherswitch0: <Switch controller> on arswitch0
random: harvesting attach, 8 bytes (4 bits) from etherswitch0
mdio1: <MDIO> on arswitch0
mdioproxy1: <MII/MDIO proxy, MDIO side> on mdio1
random: harvesting attach, 8 bytes (4 bits) from mdioproxy1
random: harvesting attach, 8 bytes (4 bits) from mdio1
random: harvesting attach, 8 bytes (4 bits) from arswitch0
random: harvesting attach, 8 bytes (4 bits) from mdio0
random: harvesting attach, 8 bytes (4 bits) from argemdio0
argemdio1: <Atheros AR71xx built-in ethernet interface, MDIO controller> at mem 0x1a000000-0x1a000fff on nexus0
mdio2: <MDIO> on argemdio1
mdioproxy2: <MII/MDIO proxy, MDIO side> on mdio2
random: harvesting attach, 8 bytes (4 bits) from mdioproxy2
random: harvesting attach, 8 bytes (4 bits) from mdio2
random: harvesting attach, 8 bytes (4 bits) from argemdio1
clock0: <Generic MIPS32 ticker> on nexus0
Timecounter "MIPS32" frequency 360000000 Hz quality 800
Event timer "MIPS32" frequency 360000000 Hz quality 800
random: harvesting attach, 8 bytes (4 bits) from clock0
apb0 at irq 4 on nexus0
uart0: <16550 or compatible> at mem 0x18020003-0x1802001a irq 3 on apb0
uart0: console (115200,n,8,1)
uart0: fast interrupt
uart0: PPS capture mode: DCDinvalid
random: harvesting attach, 8 bytes (4 bits) from uart0
gpio0: <Atheros AR71XX GPIO driver> at mem 0x18040000-0x18040fff irq 2 on apb0
gpio0: [GIANT-LOCKED]
gpio0: gpio pinmask=0x0
gpiobus0: <GPIO bus> on gpio0
random: harvesting attach, 8 bytes (4 bits) from gpiobus0
gpioc0: <GPIO controller> on gpio0
random: harvesting attach, 8 bytes (4 bits) from gpioc0
random: harvesting attach, 8 bytes (4 bits) from gpio0
random: harvesting attach, 8 bytes (4 bits) from apb0
ehci0: <AR71XX Integrated USB 2.0 controller> at mem 0x1b000100-0x1b0010ff irq 1 on nexus0
usbus0: EHCI version 1.0
usbus0 on ehci0
ehci0: usbpf: Attached
random: harvesting attach, 8 bytes (4 bits) from usbus0
random: harvesting attach, 8 bytes (4 bits) from ehci0
ehci1: <AR71XX Integrated USB 2.0 controller> at mem 0x1b400100-0x1b4010ff irq 1 on nexus0
usbus1: EHCI version 1.0
usbus1 on ehci1
ehci1: usbpf: Attached
random: harvesting attach, 8 bytes (4 bits) from usbus1
random: harvesting attach, 8 bytes (4 bits) from ehci1
arge0: <Atheros AR71xx built-in ethernet interface> at mem 0x19000000-0x19000fff irq 2 on nexus0
arge0: Overriding MAC address from environment: 'a4:2b:b0:fe:66:bf'
arge0: arge_fetch_pll_config: pll_1000 = 0x56000000
arge0: arge_attach: overriding MII mode to 'RGMII'
mii_attach_proxy: not attaching, no mdio device hint for arge0
arge0: finishing attachment, phymask 0000, proxy null
arge0: bpf attached
arge0: Ethernet address: a4:2b:b0:fe:66:bf
random: harvesting attach, 8 bytes (4 bits) from arge0
arge1: <Atheros AR71xx built-in ethernet interface> at mem 0x1a000000-0x1a000fff irq 3 on nexus0
arge1: Overriding MAC address from environment: 'a4:2b:b0:fe:66:c0'
arge1: arge_fetch_pll_config: pll_1000 = 0x3000101
arge1: arge_attach: overriding MII mode to 'SGMII'
mii_attach_proxy: not attaching, no mdio device hint for arge1
arge1: finishing attachment, phymask 0000, proxy null
arge1: bpf attached
arge1: Ethernet address: a4:2b:b0:fe:66:c0
random: harvesting attach, 8 bytes (4 bits) from arge1
ath0: Vendor=0x168c, Device=0x0039
ath0: Vendor=0x168c, Device=0x0039
ath0: <Qualcomm Atheros QCA955x> at mem 0x18100000-0x1811ffff irq 0 on nexus0
ath0: eeprom @ 0x1fff0000 (16384 bytes)
ath0: eeprom data @ 0xbfff0000
Bootstrap clock 40MHz
Enterprise mode: 0x43fc0000
ar9300_attach: calling ar9300_hw_attach
ar9300_hw_attach: calling ar9300_eeprom_attach
ar9300_flash_map: unimplemented for now
Restoring Cal data from DRAM
ar9300_hw_attach: ar9300_eeprom_attach returned 0
ath0: RX status length: 48
ath0: RX buffer size: 4096
ath0: TX descriptor length: 128
ath0: TX status length: 36
ath0: TX buffers per descriptor: 4
ath0: ath_edma_setup_rxfifo: type=0, FIFO depth = 16 entries
ath0: ath_edma_setup_rxfifo: type=1, FIFO depth = 128 entries
ar9300_get_spectral_params: chan is NULL - no ss nf values
ath0: RX timestamp: 32 bits
ath0: TX timestamp: 32 bits
ath0: [HT] enabling HT modes
ath0: [HT] enabling short-GI in 20MHz mode
ath0: [HT] 1 stream STBC receive enabled
ath0: [HT] 1 stream STBC transmit enabled
ath0: [HT] LDPC transmit/receive enabled
ath0: [HT] 3 RX streams; 3 TX streams
ath0: Overriding MAC address from environment: 'a4:2b:b0:fe:66:be'
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 3T3R
ath0: 11ng MCS 20MHz
ath0: MCS 0-7: 6.5Mbps - 65Mbps
ath0: MCS 8-15: 13Mbps - 130Mbps
ath0: MCS 16-23: 19.5Mbps - 195Mbps
ath0: 11ng MCS 20MHz SGI
ath0: MCS 0-7: 7Mbps - 72Mbps
ath0: MCS 8-15: 14.5Mbps - 144.5Mbps
ath0: MCS 16-23: 21.5Mbps - 216.5Mbps
ath0: 11ng MCS 40MHz:
ath0: MCS 0-7: 13.5Mbps - 135Mbps
ath0: MCS 8-15: 27Mbps - 270Mbps
ath0: MCS 16-23: 40.5Mbps - 405Mbps
ath0: 11ng MCS 40MHz SGI:
ath0: MCS 0-7: 15Mbps - 150Mbps
ath0: MCS 8-15: 30Mbps - 300Mbps
ath0: MCS 16-23: 45Mbps - 450Mbps
ath0: QCA9550 mac 1024.0 RF5110 phy 266.0
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x0000
ath0: Use hw queue 1 for WME_AC_BE traffic
ath0: Use hw queue 0 for WME_AC_BK traffic
ath0: Use hw queue 2 for WME_AC_VI traffic
ath0: Use hw queue 3 for WME_AC_VO traffic
ath0: Use hw queue 8 for CAB traffic
ath0: Use hw queue 9 for beacons
ath0: using multicast key search
random: harvesting attach, 8 bytes (4 bits) from ath0
spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0
spibus0: <spibus bus> on spi0
mx25l0: <M25Pxx Flash Family> at cs 0 mode 0 on spibus0
Unknown SPI flash device. Vendor: c8, device id: 4017
device_attach: mx25l0 attach returned 6
random: harvesting attach, 8 bytes (4 bits) from spibus0
random: harvesting attach, 8 bytes (4 bits) from spi0
ar71xx_wdog0: <Atheros AR71XX watchdog timer> on nexus0
random: harvesting attach, 8 bytes (4 bits) from ar71xx_wdog0
Device configuration finished.
Timecounters tick every 1.000 msec
lo0: bpf attached
tcp_init: net.inet.tcp.tcbhashsize auto tuned to 1024
arswitch0port1: link state changed to DOWN
arswitch0port2: link state changed to DOWN
arswitch0port3: link state changed to DOWN
arswitch0port4: link state changed to DOWN
arswitch0port5: link state changed to DOWN
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
Trying to mount root from ufs:map/rootfs.uzip []...
Root mount waiting for: usbus1 usbus0
ugen0.1: <Atheros> at usbus0
uhub0: <Atheros EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
ugen1.1: <Atheros> at usbus1
uhub1: <Atheros EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
uhub0: 1 port with 1 removable, self powered
random: harvesting attach, 8 bytes (4 bits) from uhub0
uhub1: 1 port with 1 removable, self powered
random: harvesting attach, 8 bytes (4 bits) from uhub1
mountroot: waiting for device map/rootfs.uzip...
Mounting from ufs:map/rootfs.uzip failed with error 19.
Loader variables:
Manual root filesystem specification:
<fstype>:<device> [options]
Mount <device> using filesystem <fstype>
and with the specified (optional) option list.
eg. ufs:/dev/da0s1a
zfs:tank
cd9660:/dev/cd0 ro
(which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /)
? List valid disk boot devices
. Yield 1 second (for background tasks)
<empty line> Abort manual input
mountroot>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment