Skip to content

Instantly share code, notes, and snippets.

@josla972
josla972 / WN-G300R_boot_12.0.txt
Created April 21, 2019 14:19
WN-G300R boot 12.0
Starting kernel ...
CPU platform: Atheros AR9341 rev 1
CPU Frequency=535 MHz
CPU DDR Frequency=400 MHz
CPU AHB Frequency=200 MHz
platform frequency: 535 MHz
CPU reference clock: 25 MHz
CPU MDIO clock: 25 MHz
arguments:
Starting kernel ...
CPU platform: Atheros AR9341 rev 1
CPU Frequency=535 MHz
CPU DDR Frequency=400 MHz
CPU AHB Frequency=200 MHz
platform frequency: 535 MHz
CPU reference clock: 25 MHz
CPU MDIO clock: 25 MHz
arguments:
@josla972
josla972 / gist:ee619a4aa9c112f547ac5bc88fc7e3a2
Created August 5, 2018 07:49
Boot WZR-HP_AG300H 2:nd attempt
BUFFALO U-BOOT Ver 1.01
== CPU:680MHz, DDR:340MHz, AHB:170MHz ==
AP96 (ar7100) U-boot 0.0.1
DRAM: 128 MB
Top of RAM usable for U-Boot at: 84000000
Reserving 266k for U-Boot at: 83fbc000
Reserving 192k for malloc() at: 83f8c000
Reserving 44 Bytes for Board Info at: 83f8bfd4
Reserving 36 Bytes for Global Data at: 83f8bfb0
Reserving 128k for boot params() at: 83f6bfb0
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)
@josla972
josla972 / boot_freebsd_current.txt
Created March 31, 2018 13:54
boot_freebsd_current.txt
ɝف¥Í¥¹Ù…±¥‘5)¹Ù¥Éœ¹µ•¹Ñé5)•¹ÙÁ¥Í¥¹Ù…±¥‘5)…¡•¥¹™œé5)Á¥…¡•}ÍÑÉ¥‘•õÑÁåÙjR‚¥…¡•}±œœÁœÕ¹ÑõÅÙ5)‚‘…¡•}ÍÑÉ¥‘•õÑÁåÙ5R‚‘…¡•}±œœÁœÕ¹Ñõá5)7ÁÕÁé5%AMQ•¡¹œ±œ¥•ÍÁÉœ•Í͜ɁÙÅÅÙ¹ÅÑÝ5)j5UéMх¹‘…É‘Q1 ±Åف•¹ÑÉ¥•Í¡Ñ-ÅÙ-ÙÑ-ÉÕÙ-Å5ÅÙ5ÙÑ5ÉÕÙ5ÁÍ¥é•Í¥5)1Ł¥µ…¡•éÑÝ…ǻœ™ÕÅɁ͕ÑͱÍɁ‰åѕ́Á•É±¥¹•5)1Ł‘µ…¡•éÑÝ…ǻœ™ÉÕف͕ÑͱÍɁ‰åѕ́Á•É±¥¹•5)1Ɂ…¡•é‘¥Í…‰±•‘5)œ¹™¥ÅõÁá啕ÍÕÅå•ñA•É™œÕ¹Ñ±]…э¡I•Í±5%AMÅÙ±)Qù5)œ¹™¥ÉõÁááÁÁÁÁÁÁÁ5Iœ¹™¥ÍõÁáÉÁ5)A¡åÍ¥…±µ•µœÉ偍¡Õ¹­¡Í¥é5)ÁáÑáåÁÁÁµ‚Â͙™™™™™±ÙÉÍÕÍÑÁáåѕ́¡ÅÕÉÉ́Á…•Í¥5)5…ᵕµ¥ÍÁáÑÁÁÁÁÁÁ5)ÿ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/
@josla972
josla972 / boot_freebsd11_1_with_patch.txt
Created March 31, 2018 13:52
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
@josla972
josla972 / gist:7a619f6e76fe4ec2fea7ff65d1fb9b11
Created March 30, 2018 14:32
Third boot with backslash fixed and FreeBSD current
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 #0 65e4b69acf0(master)-dirty: Fri Mar 30 23:25:33 JST 2018
josef@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 0x80505e00.
real memory = 67108864 (65536K bytes)
Physical memory chunk(s):
@josla972
josla972 / gist:35453998be8eaee2acaed4e38ca77687
Created March 30, 2018 12:39
Second boot with ncursesw
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+312f06f761f(HEAD)-dirty: Wed Mar 28 15:29:38 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.
@josla972
josla972 / gist:2c50047e099ffa77552cba5030cd3600
Created March 30, 2018 10:01
FreeBSD boot log Buffalo WZR-HP-G301NH
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+312f06f761f(HEAD)-dirty: Wed Mar 28 15:29:38 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
@josla972
josla972 / boot.log
Created March 30, 2018 08:51
Buffalo WZR-HP-G301NH DDWRT boot log
BUFFALO U-BOOT Ver 1.07
AP83-208 (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