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 / kexec-6.10-rc6.md
Last active July 7, 2024 20:31
kexec on RISC-V on 6.10-rc6
@orangecms
orangecms / t480_mfs.log
Last active September 23, 2024 21:52
Intel ME MFS directory traversal like `ls -aR`
/home:
|
| 0008 . 636d d | 0000 .. 41ed d | 0009 RTFD 63c0 d |
| 0011 bup 63f9 d | 0023 cls 63c0 d | 0025 dal_ivm 63c0 d |
| 0035 dal_sdm 63c0 d | 0040 fpf 63ff d | 0043 fwupdate 63e8 d |
| 0055 gpio 63f8 d | 0060 hotham 63fe d | 0064 icc 63e8 d |
| 0092 ish_srv 63e0 d | 0096 loadmgr 63c0 d | 0099 manuf 63f8 d |
| 0101 mca 63ed d | 0108 mca_temp 63c0 d | 0110 mctp 63e8 d |
| 0117 nfc 63e8 d | 0120 nvinf 63ff d | 0122 pavp 63f8 d |
| 0145 pmt 63e8 d | 0148 policy 63f9 d | 0174 ptt 63c0 d |
@orangecms
orangecms / diff.md
Created October 29, 2024 01:22
diff of GX650PY and G733PYV firmware images

see PSPReverse/PSPTool#63

Diffing G733PYV323.rom vs GX650PY319.rom

Second gen (after Picasso/Raven Ridge) vs Second gen (after Picasso/Raven Ridge)
IMC Firmware                                  both empty
Gigabit ethernet firmware                     both empty
XHCI firmware                                 both empty
Fam 17 Model 00-0f BIOS                       both empty
@orangecms
orangecms / us2td
Created January 3, 2025 01:57
stupid scripts because mpv is broken on RPi4 and cvlc is the way to go >_<
#!/bin/env python3
# convert time in microseconds to a human readable timestamp, e.g. 0:13:37.000123
from datetime import timedelta
import sys
ts=int(sys.argv[1])
td=timedelta(microseconds=ts)
print(str(td))
@orangecms
orangecms / soc-vendors.md
Last active March 30, 2025 22:13
SoC vendors
  • Allwinner
  • Amlogic
  • Broadcom
  • Rockchip
  • TI
  • HiSilicon
  • MediaTek
  • Qualcomm
  • Samsung
  • NXP
@orangecms
orangecms / rk3566.sh
Created March 26, 2025 11:23
RK3566 mask ROM
#!/bin/sh
# have rkbin and xrock in the same directory
# https://github.com/rockchip-linux/rkbin
# https://github.com/xboot/xrock
# Run this in the xboot directory.
# Have rkbin in the same parent directory.
_BDIR=../rkbin/bin/rk35
# DRAM init binary