Skip to content

Instantly share code, notes, and snippets.

View rayddteam's full-sized avatar

Oleksandr Rybalko rayddteam

View GitHub Profile
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.
@rayddteam
rayddteam / FreeBSD Buffalo WZR-HP-G301NH boot.log
Last active March 30, 2018 11:01 — forked from josla972/gist:2c50047e099ffa77552cba5030cd3600
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
@rayddteam
rayddteam / Buffalo WZR-HP-G301NH DDWRT boot.log
Created March 30, 2018 08:59 — forked from josla972/boot.log
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
// (c) Eric Elliott
const fn = (fn, {required = []}) => (params = {}) => {
const missing = required.filter(param => !(param in params));
if (missing.length) {
throw new Error(`${ fn.name }() Missing required parameter(s):
${ missing.join(', ') }`);
}
@rayddteam
rayddteam / strerror.c
Created September 20, 2017 21:53
Linux has bad errno documentation, so instead of dig for code meaning just do strerror.
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int
main(int argc, char **argv)
{
if (argc > 1)
printf("err %s\n", strerror(atoi(argv[1])));
else
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body id="body">
<script id="jsbin-javascript">
@rayddteam
rayddteam / asus_rt-ac58u_ipq4018_bootlog.log
Created March 1, 2017 21:48 — forked from pepe2k/asus_rt-ac58u_ipq4018_bootlog.log
Asus RT-AC58U (IPQ4018 based) bootlog
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.BF.3.1.1-00096
S - IMAGE_VARIANT_STRING=DAABANAZA
S - OEM_IMAGE_VERSION_STRING=CRM
S - Boot Config, 0x00000021
S - Core 0 Frequency, 0 MHz
B - 261 - PBL, Start
B - 1339 - bootable_media_detect_entry, Start
B - 1679 - bootable_media_detect_success, Start