Skip to content

Instantly share code, notes, and snippets.

@shauninman
shauninman / trimui-brick.dts
Created December 23, 2024 15:16
Trimui Brick dtb
/dts-v1/;
/memreserve/ 0x0000000048000000 0x0000000001000000;
/memreserve/ 0x0000000048100000 0x0000000000100000;
/ {
model = "sun50iw10";
compatible = "allwinner,a133\0arm,sun50iw10p1";
interrupt-parent = <0x01>;
#address-cells = <0x02>;
#size-cells = <0x02>;
@shauninman
shauninman / my355.dts
Created December 29, 2024 05:01
Miyoo Flip dtb
/dts-v1/;
/ {
compatible = "rockchip,rk3566-miyoo-355-v10-linux\0rockchip,rk3566";
interrupt-parent = <0x01>;
#address-cells = <0x02>;
#size-cells = <0x02>;
model = "MIYOO RK3566 355 V10 Board";
ddr3-params {
@shauninman
shauninman / phony.sh
Created July 15, 2025 15:37
A command to list PHONY build targets in a makefile
# add to ~/.zshrc
function phony() {
local MAKEFILE="makefile"
if [[ -n "$1" ]]; then
MAKEFILE="$1"
if [[ ! -f "$FILE" ]]; then
echo "phony: makefile '$MAKEFILE' not found." >&2
return 1
fi
fi