Skip to content

Instantly share code, notes, and snippets.

View bspguy's full-sized avatar
🧙

Roy Cohen bspguy

🧙
View GitHub Profile
@bspguy
bspguy / vim_diff.txt
Created November 11, 2023 07:54
simple file diff using vim
vim -d <file1> <file2> -c 'set diffopt+=iwhite'
@bspguy
bspguy / petalinux-rt-patch.txt
Last active January 8, 2024 08:25
Apply Linux rt-patch to Petalinux
1. Find your kernel version according to the kernel Makefile. Example:
# SPDX-License-Identifier: GPL-2.0
VERSION = 6
PATCHLEVEL = 1
SUBLEVEL = 0
EXTRAVERSION =
NAME = Hurr durr I'ma ninja sloth
2. Clone the correct tag from github into <plnx-proj-root>/components/linux-xlnx-rt/:
git clone https://github.com/Xilinx/linux-xlnx.git
@bspguy
bspguy / openbmc_cheatsheet.txt
Last active April 1, 2024 08:14
openBMC-cheetsheet
sudo apt install git python3-distutils gcc g++ make file wget \
gawk diffstat bzip2 cpio chrpath zstd lz4 bzip2
git clone https://github.com/openbmc/openbmc
cd openbmc
. setup romulus
bitbake obmc-phosphor-image