Skip to content

Instantly share code, notes, and snippets.

View pamolloy's full-sized avatar
🦺

Philip Molloy pamolloy

🦺
View GitHub Profile
@pamolloy
pamolloy / gist:909439625d44151d26b6e96269746e1e
Created June 11, 2026 12:51
Rebase analogdevicesinc/linux #3332
10a11
> Fixes: 500fdefeef86 ("[ADI] arm64: sc598-som-ezlite_defconfig: Support EV-SC598-SOM with EZLITE carrier")
24a26
> Fixes: 9ced16a67218 ("[ADI] arm64: sc598-som-ezkit_defconfig: Support ADI EV-SC598-SOM with EZKIT carrier")
35a38
> Fixes: 8841395040fd ("[ADI] ARM: sc594-som-ezlite_defconfig: Support ADI EV-SC594-SOM with EZLITE carrier")
48a52
> Fixes: 038e5089ceed ("[ADI] ARM: sc594-som-ezkit_defconfig: Support EV-SC594-SOM with EZKIT carrier")
66a71
> Fixes: af562a1bd4b5 ("[ADI] ARM: sc589-mini_defconfig: Support ADZS-SC589-MINI")
@pamolloy
pamolloy / u-boot-mtest-ranges.md
Created February 24, 2026 12:25
U-Boot mtest ranges
Config File Start End Size (Hex) Size (MB)
configs/am335x_guardian_defconfig 0x80000000 0x81000000 0x1000000 16.00
configs/amd_versal2_mini_defconfig 0x00000000 0x00001000 0x1000 0.00
configs/amd_versal2_virt_defconfig 0x00000000 0x00001000 0x1000 0.00
configs/ap121_defconfig 0x80100000 0x83f00000 0x3e00000 62.00
configs/ap143_defconfig 0x80100000 0x83f00000 0x3e00000 62.00
configs/ap152_defconfig 0x80100000 0x83f00000 0x3e00000 62.00
configs/apalis_imx6_defconfig 0x10000000 0x10010000 0x10000 0.06
configs/apalis-imx8_defconfig 0x88000000 0x89000000 0x1000000 16.00
@pamolloy
pamolloy / remoteproc_analysis.md
Created January 27, 2026 07:40
Remoteproc Driver Analysis: Evolution and Hybrid Implementations

Remoteproc Driver Analysis: Evolution and Hybrid Implementations

1. Temporal Trends: Authorship Date vs. Implementation Style

The choice between the Standard Reset API and Syscon/Regmap is primarily driven by hardware architecture, but temporal trends show an evolution in how developers handle hardware complexity.

Comprehensive Authorship Date Table

The following table shows the original authorship date (first commit) for all drivers analyzed, sorted by date. This helps visualize the trends.

| Date | Driver | Category |

@pamolloy
pamolloy / README.md
Last active June 8, 2025 19:57
Mesh network using VXLAN over Wireguard
@pamolloy
pamolloy / install-tftp.bash
Created November 21, 2019 15:38
Install a simple FTP server on Fedora
#!/usr/bin/env bash
#
# See https://fedoramagazine.org/how-to-set-up-a-tftp-server-on-fedora/
sudo dnf install tftp-server
sudo systemctl enable tftp
sudo systemctl start tftp
sudo firewall-cmd --add-service=tftp --perm
@pamolloy
pamolloy / README.md
Last active October 16, 2024 20:40
Ubiquiti USG configuration for Wireguard

Download the latest ugw3 package from https://github.com/Lochnair/vyatta-wireguard/releases and install it on your USG using dpkg -i wireguard-ugw3-<version>.deb.

cd /config/auth
umask 077
mkdir wireguard
cd wireguard
wg genkey > wg_private.key
wg pubkey < wg_private.key > wg_public.key
@pamolloy
pamolloy / install-aerc.bash
Last active June 22, 2024 04:19
Install the aerc e-mail client on Fedora and connect to ProtonMail
#!/usr/bin/env bash
sudo dnf install -y glibc-static
git clone https://git.sr.ht/~sircmpwn/scdoc
cd scdoc
make PREFIX=~/.local/ install
cd ..
sudo dnf install -y golang notmuch-devel
go get golang.org/dl/go1.12.8
U-Boot TPL 2020.07 (Jul 20 2021 - 21:07:08)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
@pamolloy
pamolloy / zynqmp-fpga-build-error.txt
Created December 24, 2019 17:52
Error building zynqmp-fpga.c as a module
>>> linux foo-2019.02.26 Building
...
PATH="..." BR_BINARIES_DIR=/home/philip/repos/third-party/buildroot/output/images KBUILD_BUILD_VERSION=1 KBUILD_BUILD_USER=buildroot KBUILD_BUILD_HOST=buildroot KBUILD_BUILD_TIMESTAMP="Tue Jul 9 10:59:29 EDT 2019" KCFLAGS=-Wno-attribute-alias /usr/bin/make -j9 HOSTCC="/home/philip/repos/third-party/buildroot/output/per-package/linux/host/bin/ccache /usr/lib64/ccache/gcc -O2 -I/home/philip/repos/third-party/buildroot/output/per-package/linux/host/include -L/home/philip/repos/third-party/buildroot/output/per-package/linux/host/lib -Wl,-rpath,/home/philip/repos/third-party/buildroot/output/per-package/linux/host/lib" ARCH=arm64 INSTALL_MOD_PATH=/home/philip/repos/third-party/buildroot/output/per-package/linux/target CROSS_COMPILE="/home/philip/repos/third-party/buildroot/output/per-package/linux/host/bin/aarch64-linux-gnu-" DEPMOD=/home/philip/repos/third-party/buildroot/output/per-package/linux/host/sbin/depmod INSTALL_MOD_STRIP=1 -C /home/philip/repos/third-party/buildroo
@pamolloy
pamolloy / README.md
Last active December 5, 2019 22:24
Debug installing Fedora with RAID partitions

I'm trying to install Fedora onto a pair of 250GB hard drives with either RAID0 or RAID1.

Debug logging

The issue seems to be the following from journal.txt:

Dec 05 21:27:51 server anaconda[1647]: program: Installing for i386-pc platform.
Dec 05 21:27:51 server anaconda[1647]: program: grub2-install: warning: ../grub-core/partmap/gpt.c:190:this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
Dec 05 21:27:51 server anaconda[1647]: program: grub2-install: error: embedding is not possible, but this is required for RAID and LVM install.