Skip to content

Instantly share code, notes, and snippets.

View orangecms's full-sized avatar
🐢
Hack the planet!

Daniel Maslowski orangecms

🐢
Hack the planet!
View GitHub Profile
@orangecms
orangecms / badge-bom.md
Created July 27, 2021 21:44
Labor Badge BoM
Ref Qnty Value Cmp name Footprint Description Vendor
C1, C3, C4, C5, C6, C7, C8, C9, 8 100n C Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder Unpolarized capacitor
@orangecms
orangecms / 9boot.log
Created July 22, 2021 19:19
9legacy boot
spawn qemu-system-x86_64 -machine accel=kvm -nographic -m 1024 -vga none -net user -net nic,model=virtio -device virtio-scsi-pci,id=scsi -cdrom plan9-gce.iso -boot d
c[?7lSeaBIOS (version ArchLinux 1.14.0-1)
iPXE (http://ipxe.org) 00:02.0 C000 PCI2.10 PnP PMM+3FF914D0+3FEF14D0 C000
Press Ctrl-B to configure iPXE (PCI 00:02.0)...

rkflashtool v

rkflashtool: info: rkflashtool v5.2
rkflashtool: info: Detected RK322X...
rkflashtool: info: interface claimed
rkflashtool: info: chip version: 322A-..-

rkflashtool p

@orangecms
orangecms / do-freebsd-net-fix.md
Last active June 11, 2021 16:24
Fix FreeBSD Digital Ocean droplets

Digital Ocean FreeBSD droplet recovery

About

One of my DO droplets was no longer reachable. It was powered on, I could see the console in the DO web UI, but I had only set up the system to only allow logging in via SSH / key. I tried recovering from a few backups (weekly backups were set up), but non of them did the trick. It's nothing too important, just my personal blog that could really use another entry by now, and a little page introducing myself. Anyway, I hope these notes here may help other people at some point, including my

@orangecms
orangecms / hi3516ev200.log
Last active May 7, 2021 08:44
ipctool logs
$ ./cpu -key ./cpu_rsa -timeout9p 2000ms hidome ./bin/ipctool
---
chip:
vendor: HiSilicon
model: 3516EV200
id: 024039862e0038e1b370030a8cb7769322460320018629e3
ethernet:
mac: "7e:38:12:15:55:bf"
u-mdio-phyaddr: 1
phy-id: 0x20669903
@orangecms
orangecms / boot.log
Last active March 10, 2021 00:33
oreboot ACPI basics on DeskMini A300 with Ryzen 5 3400G (Picasso) - https://github.com/oreboot/oreboot/pull/390
Welcome to oreboot
c001_1004 is 7ed8320b178bfbff and APIC is bit 200
c001_1005 is 35c237ff2fd3fbff and APIC is bit 200
0x1b is fee00900
c0000080 DIFF:d01 got 500
-- wrmsr: and got d01;
c0000081 DIFF:23001000000000 got 0
-- wrmsr: and got 23001000000000;
c0000082 DIFF:ffffffff99a00000 got 0
-- wrmsr: and got ffffffff99a00000;
@orangecms
orangecms / download.sh
Created November 22, 2020 16:57
ESP8266 NodeMCU WS2812 strip 30 LEDs RGB
#!/bin/sh
_FW=nodemcu-release-10-modules-2020-11-21-17-50-47-float.bin
wget https://nodemcu-build.com/builds/$_FW -O nodemcu.bin
uname -a
Linux OpenWrt 3.10.14 #42 Mon Feb 18 16:05:35 CST 2019 mips GNU/Linux
root@OpenWrt:/# cat /proc/cpuinfo
system type : MT7628
machine : Unknown
processor : 0
cpu model : MIPS 24KEc V5.5
BogoMIPS : 382.46
wait instruction : yes
microsecond timers : yes
@orangecms
orangecms / NBD8016R-PL-V2.md
Created July 19, 2020 19:06
NBD8016R-PL-V2 NVR (Network Video Recorder) firmware

HiSilicon-based NVR (Network Video Recorder)

Acronyms

AHD - Analog High Definition NVR - Network Video Recorder DVR - Digital Video Recorder IPC - IP Camera

Research