Skip to content

Instantly share code, notes, and snippets.

@josla972
Created August 5, 2018 05:34
Show Gist options
  • Save josla972/fadf4fe492b7fb99c8a76ad9c2d97776 to your computer and use it in GitHub Desktop.
Save josla972/fadf4fe492b7fb99c8a76ad9c2d97776 to your computer and use it in GitHub Desktop.
Boot WZR-HP_AG300H
Now running in RAM - U-Boot at: 83fbc000
flash bank #0 found 16 MB flash [W25Q128BV, blk:0x10000, sectors:256]
flash bank #1 found 16 MB flash [W25Q128BV, blk:0x10000, sectors:256]
Flash: 32 MB
In: serial
Out: serial
Err: serial
Memory Test
uboot use 83F6BFB0 - 84000000
Memory Test start(80000000) end(83F00000) size(03F00000)
Pattern 00000000 Writing... Reading...
Memory Test start(84000000) end(88000000) size(04000000)
Pattern 00000000 Writing... Reading...
Memory Test OK
### buf_ver=[1.01] U-Boot Ver.=[1.01]
### build_date(env)=[Jan 14 2011 - 05:47:09] build_date(bin)=[Jan 14 2011 - 05:47:09]
ag7100_enet_initialize...
Reading MAC Address from ENV(0x83f8c2f4)
Port 0, Neg Success
Port 1, Neg Success
Port 2, Neg Success
Port 3, Neg Success
eth0: Phy Specific Status=0010
eth0: Phy Specific Status=0010
eth0: Phy Specific Status=0010
eth0: Phy Specific Status=0012;��eth0: 02:aa:bb:cc:dd:20
eth0 up
Reading MAC Address from ENV(0x83f8c2f4)
Port 4, Neg Success
eth1: Phy Specific Status=0010
eth1: 02:aa:bb:cc:dd:21
eth1 up
eth0 02:AA:BB:CC:DD:20
, eth1 02:AA:BB:CC:DD:21
enet0 port3 up
pll reg 0x18050010: 0x110000
tftp server(receive) go, waiting:4[sec]
Load address: 0x84000000
TftpServer Timeout;
no file was loaded.
change bootargs
console=ttyS0,115200 root=31:03 rootfstype=jffs2 init=/sbin/init mtdparts=ar7100-nor0:256k(u-boot),64k(u-boot-env),1152k@384k(uImage),6592k@1536k(rootfs),64k@320k(ART),64k@8128k(properties),8192k@8192k(flash1),M
## Booting image at bf060000 ...
Image Name: FreeBSD Kernel Image
Created: 2018-05-26 7:39:52 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1486686 Bytes = 1.4 MB
Load Address: 80001100
Entry Point: 80001100
Verifying Checksum ... crc32_fw: bf060040 - bf1caf9d (len:0016af5e) calc...
crc32_fw: range1 bf060040 - bf1caf9d
OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001100) ...
## Giving linux memsize in bytes, 134217728
Starting kernel ...
CPU platform: Atheros AR7161 rev 2
CPU Frequency=680 MHz
CPU DDR Frequency=340 MHz
CPU AHB Frequency=170 MHz
platform frequency: 680 MHz
CPU reference clock: 40 MHz
CPU MDIO clock: 40 MHz
arguments:
a0 = 00000007
a1 = a3f6bfb0
a2 = a3f6c4b0
a3 = 00000020
Cmd line:argv is invalid
Environment:
envp is invalid
Cache info:
picache_stride = 4096
picache_loopcount = 16
pdcache_stride = 4096
pdcache_loopcount = 8
max line size = 32
cpu0: MIPS Technologies processor v116.147
MMU: Standard TLB, 16 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=0x9ee3519e<PerfCount,WatchRegs,MIPS16,EJTAG>
Config2=0x80000000
Config3=0x20
Config7=0x0
Physical memory chunk(s):
0x50c000 - 0x3ffffff, 61816832 bytes (15092 pages)
Maxmem is 0x4000000
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2018 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 #3 619d3d09d0e(buffalo_router4)-dirty: Sat May 26 16:39:40 JST 2018
root@freebsd-virtual:/usr/home/josef/ZRouter/obj/usr/home/josef/ZRouter/ZRouter/tmp/usr/home/josef/freebsd/mips.mips/sys/Buffalo_WZR-HP-G301NH mips
gcc version 4.2.1 20070831 patched [FreeBSD]
Preloaded elf kernel "kernel" at 0x80505e40.
real memory = 67108864 (65536K bytes)
Physical memory chunk(s):
0x00598000 - 0x03ef7fff, 60162048 bytes (14688 pages)
avail memory = 59342848 (56MB)
arc4random: no preloaded entropy cache
wlan: <802.11 Link Layer>
random: entropy device external interface
mem: <memory>
null: <full device, null device, zero device>
nexus0: <MIPS32 root nexus>
ar71xx_wdog: ar71xx_wdog0 already exists; skipping it
nexus0: failed to add child: ar71xx_wdog0
random: harvesting attach, 8 bytes (4 bits) from nexus0
clock0: <Generic MIPS32 ticker> on nexus0
Timecounter "MIPS32" frequency 340000000 Hz quality 800
Event timer "MIPS32" frequency 340000000 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: DCD
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: function_set: 0x2000
gpio0: function_clear: 0x0
gpio0: gpio pinmask=0x1e5040
gpiobus0: <GPIO bus> on gpio0
gpiobus0: invalid pin 19, max: 11
gpiobus0: invalid pin 17, max: 11
gpiobus0: invalid pin 18, max: 11
gpiobus0: invalid pin 12, max: 11
gpiobus0: invalid pin 13, max: 11
gpioled0: <GPIO led> at pin 6 on gpiobus0
random: harvesting attach, 8 bytes (4 bits) from gpioled0
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
arge0: <Atheros AR71xx built-in ethernet interface> at mem 0x19000000-0x19000fff irq 2 on nexus0
arge0: arge_fetch_pll_config: pll_1000 = 0x1f000000
arge0: arge_attach: overriding MII mode to 'RGMII'
arge0: Generating random ethernet address.
mii_attach_proxy: not attaching, no mdio device hint for arge0
arge0: finishing attachment, phymask 0000, proxy null
arge0: bpf attached
arge0: Ethernet address: 62:73:64:3e:92:87
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 from EEPROM
arge1: arge_fetch_pll_config: pll_1000 = 0x100
arge1: arge_attach: overriding MII mode to 'RGMII'
miiproxy0: <MII/MDIO proxy, MII side> on arge1
random: harvesting attach, 8 bytes (4 bits) from miiproxy0
arge1: can't attach proxy
arge1: finishing attachment, phymask 0010, proxy null
arge1: unable to attach PHY 4: 6
device_attach: arge1 attach returned 6
spi0: <AR71XX SPI> at mem 0x1f000000-0x1f00000f on nexus0
spibus0: <spibus bus> on spi0
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
ehci0: <AR71XX Integrated USB 2.0 controller> at mem 0x1b000100-0x1bffffff 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
cfi0 at mem 0xbe000000-0xbfffffff on nexus0
device_attach: cfi0 attach returned 6
ath0: Vendor=0x168c, Device=0x000b
ath0: Vendor=0x168c, Device=0x000b
ath0: <Atheros 9130> at mem 0x180c0000-0x180effff irq 0 on nexus0
ath0: eeprom @ 0x1fff1000 (4096 bytes)
ath0: eeprom data @ 0xbfff1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment