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 / kernel.log
Last active November 29, 2021 11:57
Linux on Nezha goes boom on vma
^AWelcome to oreboot
^AWelcome to oreboot
## Loading payload
Running payload entry 0x40100000
[rustsbi] RustSBI version 0.2.0-alpha.4
.______ __ __ _______.___________. _______..______ __
| _ \ | | | | / | | / || _ \ | |
| |_) | | | | | | (----`---| |----`| (----`| |_) || |
| / | | | | \ \ | | \ \ | _ < | |
| |\ \----.| `--' |.----) | | | .----) | | |_) || |
@orangecms
orangecms / se-terminology.md
Last active November 23, 2021 01:32
Modern Software Engineering and Terminology

Modern SE and Terminology (t9y, [ti-nee])

Motivated by Bryan Cantrill, who brought up the abbreviation o11y for observability and is well known for his work on DTrace and blogging about his views on software, here are further ideas and thoughts on modern software engineering, explaining desirable properties of a software project and working with it for continuous improvement, longevity, and general sustainability, from cooperation to long-term maintenance.

"Id" "Designator" "Package" "Quantity" "Designation" "Supplier and ref"
1 "U2,U1" "JOYSTICK_W_BUTTON" 2 "JOYSTICK_W_BUTTON"
2 "SW2,SW1" "SW_PUSH-12mm" 2 "SW_Push"
3 "H22,H21,H20,H19,H18,H17,H16,H15,H12,H11,H10,H9,H8,H7,H6,H5" "MountingHole_2.1mm" 16 "MountingHole"
4 "J11,J10,J9,J4" "PinHeader_2x10_P2.54mm_Vertical" 4 "Conn_02x10_Odd_Even"
5 "R9,R20,R19,R18,R17,R16,R15,R13,R12,R11,R10,R8,R7,R6" "R_1210_3225Metric_Pad1.30x2.65mm_HandSolder" 14 "27"
6 "C8,C9,C7,C6,C5,C4,C3,C1" "C_1206_3216Metric_Pad1.33x1.80mm_HandSolder" 8 "100n"
7 "TP3,TP2,TP1" "TestPoint_Pad_D1.0mm" 3 "TestPoint"
8 "R21,R14,R2" "R_1210_3225Metric_Pad1.30x2.65mm_HandSolder" 3 "100"
@orangecms
orangecms / SSC333-HM_C21c.log
Created August 8, 2021 00:36
HM C21c (SSC333)
IPL g8c8fea1
D-05
HW Reset
SPI 54M
64MB
BIST0_0001-OK
MXP found at 0x00020000
offset:00010000
Checksum OK
@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