Skip to content

Instantly share code, notes, and snippets.

@josla972
Created March 31, 2018 13:52
Show Gist options
  • Save josla972/c0a855f2678255b86075082aeddf32de to your computer and use it in GitHub Desktop.
Save josla972/c0a855f2678255b86075082aeddf32de to your computer and use it in GitHub Desktop.
boot_freebsd11_1_with_patch.txt
BUFFALO U-BOOT Ver 1.07
AP83--539 (ar9100) U-boot 0.0.12
64 MB
Memory Test (address line)
Memory Test start(0x00000000) end(0x04000000) size(67108864)
Data line test start:0x00000000 pattern 0x00000001 0x00000003 0x00000007 0x0000000F 0x00000005 0x00000015 0x00000055 0xAAAAAAAA
Address line test start:0x00000000 len:0x4000000 pattern 0xAAAAAAAA 0x55555555
Fill test patnum:5
fill Pattern 5555AAAA Writing... Reading...
fill Pattern AAAA5555 Writing... Reading...
fill Pattern 0000FFFF Writing... Reading...
fill Pattern FFFF0000 Writing... Reading...
fill Pattern AAAAAAAA Writing... Reading...
Top of RAM usable for U-Boot at: 84000000
Reserving 275k for U-Boot at: 83fb8000
Reserving 256k for malloc() at: 83f78000
Reserving 44 Bytes for Board Info at: 83f77fd4
Reserving 36 Bytes for Global Data at: 83f77fb0
Reserving 128k for boot params() at: 83f57fb0
Stack Pointer at: 83f57f98
Now running in RAM - U-Boot at: 83fb8000
Dev ID2:2222
Dev ID3:2201
Name: AMD-SPANSION Flash id: 0x1227E, Size: 33554432 bytes.
Flash: 32 MB
In: serial
Out: serial
Err: serial
Memory Test
uboot use 83F57FB0 - 84000000
Memory Test start(80000000) end(83F00000) size(03F00000)
Pattern 55555555 Writing... Reading...Pattern AAAAAAAA Writing... Reading...Pattern 00000000 Writing... Reading...
Memory Test OK
### buf_ver=[1.07] U-Boot Ver.=[1.07]
### build_date(env)=[Dec 21 2009 - 10:37:30] build_date(bin)=[Dec 21 2009 - 10:37:30]
ag7100_enet_initialize...
: cfg1 0xf cfg2 0x7114
RTL8366 series driver, reading model-id...
ID:0x5937, REV:0x0
rtl8366rb_phy_setup ethUnit=0
Realtek 8366RB switch ID:0x5937 REV:0x3
Realtek Greeen Ethernet Setup
eth0: 02:aa:bb:cc:dd:1a
eth0 up
: cfg1 0x7 cfg2 0x7114
RTL8366 series driver, reading model-id...
eth1: 02:aa:bb:cc:dd:1a
eth1 up
eth0 02:AA:BB:CC:DD:1A
, eth1 02:AA:BB:CC:DD:1A
Trying eth0
eth0 is duplex
ag7100_check_link: _100BASET
dup 1 speed 100
CFG_PLL_FREQ=5
CFG_HZ=bebc200
cpu pll=1050
eth pll=1032
eth0 clk pll=13000a44
eth0 mii=12
eth0 cfg1=f
eth0 cfg2=7115
eth0 fcfg_0=1d1f00
eth0 fcfg_1=7ff0000
eth0 fcfg_2=fff
eth0 fcfg_3=780008
eth0 fcfg_4=3ffff
eth0 fcfg_5=3ffff
tftp server(receive) go, waiting:4[sec]
Trying eth1
eth1 link down
FAIL
Trying eth0
eth0 is duplex
ag7100_check_link: _100BASET
Load address: 0x81f00000
TftpServer Timeout;
no file was loaded.
## Booting image at be060000 ...
Image Name: FreeBSD Kernel Image
Created: 2018-03-31 13:21:21 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 1340845 Bytes = 1.3 MB
Load Address: 80001100
Entry Point: 80001100
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80001100) ...
## Giving linux memsize in bytes, 67108864
Starting kernel ...
CPU platform: Atheros AR9132 rev 2
CPU Frequency=400 MHz
CPU DDR Frequency=400 MHz
CPU AHB Frequency=200 MHz
platform frequency: 400 MHz
CPU reference clock: 5 MHz
CPU MDIO clock: 5 MHz
arguments:
a0 = 00000007
a1 = a3f57fb0
a2 = a3f58480
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
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
Physical memory chunk(s):
0x489000 - 0x3ffffff, 62353408 bytes (15223 pages)
Maxmem is 0x4000000
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2017 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 11.1-RELEASE-p8 #0 r313908+4a884203ff6(HEAD): Sat Mar 31 22:21:01 JST 2018
josef@freebsd-virtual:/usr/home/josef/ZRouter/obj/usr/home/josef/ZRouter/ZRouter/tmp/mips.mips/usr/home/josef/freebsd/sys/Buffalo_WZR-HP-G301NH mips
gcc version 4.2.1 20070831 patched [FreeBSD]
Preloaded elf kernel "kernel" at 0x804832d0.
link_elf_lookup_symbol: missing symbol hash table
link_elf_lookup_symbol: missing symbol hash table
real memory = 67108864 (65536K bytes)
Physical memory chunk(s):
0x00515000 - 0x03ebafff, 60448768 bytes (14758 pages)
avail memory = 59797504 (57MB)
random: entropy device external interface
wlan: <802.11 Link Layer>
null: <full device, null device, zero device>
mem: <memory>
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 200000000 Hz quality 800
Event timer "MIPS32" frequency 200000000 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: function_set: 0x2000
gpio0: function_clear: 0x0
gpio0: gpio pinmask=0x1e5040
gpiobus0: <GPIO bus> on gpio0
gpioiic0: <GPIO I2C bit-banging driver> at pins 19-20 on gpiobus0
gpioiic0: SCL pin: 20, SDA pin: 19
iicbb0: <I2C bit-banging driver> on gpioiic0
iicbus0: <Philips I2C bus> on iicbb0 master-only
rtl8366rb0: <RTL8366RB Ethernet Switch Controller> at addr 0xa8 on iicbus0
rtl8366rb0: rev. 3
miibus0: <MII bus> on rtl8366rb0
ukphy0: <Generic IEEE 802.3u media interface> PHY 0 on miibus0
ukphy0: OUI 0x00e04c, model 0x0016, rev. 1
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 rtl8366rb0
ukphy1: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
ukphy1: OUI 0x00e04c, model 0x0016, rev. 1
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 rtl8366rb0
ukphy2: <Generic IEEE 802.3u media interface> PHY 2 on miibus2
ukphy2: OUI 0x00e04c, model 0x0016, rev. 1
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 rtl8366rb0
ukphy3: <Generic IEEE 802.3u media interface> PHY 3 on miibus3
ukphy3: OUI 0x00e04c, model 0x0016, rev. 1
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 rtl8366rb0
ukphy4: <Generic IEEE 802.3u media interface> PHY 4 on miibus4
ukphy4: OUI 0x00e04c, model 0x0016, rev. 1
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 rtl8366rb0
random: harvesting attach, 8 bytes (4 bits) from etherswitch0
random: harvesting attach, 8 bytes (4 bits) from rtl8366rb0
iic0: <I2C generic I/O> on iicbus0
random: harvesting attach, 8 bytes (4 bits) from iic0
random: harvesting attach, 8 bytes (4 bits) from iicbus0
random: harvesting attach, 8 bytes (4 bits) from iicbb0
random: harvesting attach, 8 bytes (4 bits) from gpioiic0
gpioled0: <GPIO led> at pin 6 on gpiobus0
random: harvesting attach, 8 bytes (4 bits) from gpioled0
gpioled1: <GPIO led> at pin 17 on gpiobus0
random: harvesting attach, 8 bytes (4 bits) from gpioled1
gpioled2: <GPIO led> at pin 18 on gpiobus0
random: harvesting attach, 8 bytes (4 bits) from gpioled2
gpiobus0: <unknown device> at pin 12
gpiobus0: <unknown device> at pin 13
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:2b:ee:de
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
ar71xx_wdog0: Previous reset was due to watchdog timeout
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
cfi0: [256x128KB]
cfid0 on cfi0
random: harvesting attach, 8 bytes (4 bits) from cfid0
random: harvesting attach, 8 bytes (4 bits) from cfi0
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
ath0: [HT] enabling HT modes
ath0: [HT] 2 RX streams; 2 TX streams
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: 2T2R
ath0: 11ng MCS 20MHz
ath0: MCS 0-7: 6.5Mbps - 65Mbps
ath0: MCS 8-15: 13Mbps - 130Mbps
ath0: 11ng MCS 40MHz:
ath0: MCS 0-7: 13.5Mbps - 135Mbps
ath0: MCS 8-15: 27Mbps - 270Mbps
ath0: 11ng MCS 40MHz SGI:
ath0: MCS 0-7: 15Mbps - 150Mbps
ath0: MCS 8-15: 30Mbps - 300Mbps
ath0: AR9130 mac 20.1 RF2133 phy 10.2
ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00d0
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
Device configuration finished.
Timecounters tick every 1.000 msec
lo0: bpf attached
vlan: initialized, using hash tables with chaining
tcp_init: net.inet.tcp.tcbhashsize auto tuned to 1024
rtl8366rb0port0: link state changed to DOWN
rtl8366rb0port1: link state changed to DOWN
rtl8366rb0port2: link state changed to DOWN
rtl8366rb0port3: link state changed to DOWN
rtl8366rb0port4: link state changed to DOWN
GEOM: new disk cfid0
usbus0: 480Mbps High Speed USB v2.0
MAP: cfid0: 0x40000, data=0x40000 "/dev/map/uboot"
MAP: cfid0: 40000x20000, data=0x20000 "/dev/map/uboot_environ"
MAP: search cfid0 for key ".!/bin/sh" from 0x100000, step 0x10000
ugen0.1: <Atheros EHCI root HUB> at usbus0
uhub0: <Atheros EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
MAP: cfid0: 60000x150000, data=0x150000 "/dev/map/kernel"
MAP: search cfid0 for key ".!/bin/sh" from 0x100000, step 0x10000
MAP: cfid0: 1b0000x1e10000, data=0x1e10000 "/dev/map/rootfs"
MAP: cfid0: 1fc0000x20000, data=0x20000 "/dev/map/config"
MAP: cfid0: 1fe0000x20000, data=0x20000 "/dev/map/ART"
MAP: cfid0: 60000x1f60000, data=0x1f60000 "/dev/map/upgrade"
MAP: No valid partition found at map/rootfs.uzip
Trying to mount root from cd9660:/dev/map/rootfs.uzip []...
cd9660: RockRidge Extension
warning: no time-of-day clock registered, system time will not be set accurately
start_init: trying /sbin/init
uhub0: 1 port with 1 removable, self powered
random: harvesting attach, 8 bytes (4 bits) from uhub0
rtl8366rb0port0: link state changed to UP
KLD unionfs.ko: depends on kernel - not available or version mismatch
linker_load_file: Unsupported file type
mount_unionfs: /etc: : Operation not supported by device
256+0 records in
256+0 records out
131072 bytes transferred in 0.145726 secs (899441 bytes/sec)
tar: Error opening archive: Unrecognized archive format
pwd_mkdb: /etc/pwd.db.tmp: Read-only file system
cap_mkdb: /etc/login.conf.db: Read-only file system
/etc/rc: WARNING: Ignoring scratch file /etc/rc.d/MAIN.orig
kern.hintmode: 1 -> 2
kern.coredump: 1 -> 0
net.inet.ip.forwarding: 0 -> 1
debug.kdb.break_to_debugger: 1 -> 1
eval: mpd: not found
random: unblocking device.
Generating public/private rsa1 key pair.
Saving key "/etc/ssh/ssh_host_key" failed: unknown or unsupported key type
Generating public/private dsa key pair.
Saving key "/etc/ssh/ssh_host_dsa_key" failed: Read-only file system
Generating public/private rsa key pair.
Saving key "/etc/ssh/ssh_host_rsa_key" failed: Read-only file system
Starting sshd.
No host key files found
/etc/rc: WARNING: failed to start sshd
Starting cron.
cron: tabs: No such file or directory
cron: tabs: created
Thu Jan 1 00:01:30 UTC 1970
login:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment