Skip to content

Instantly share code, notes, and snippets.

View DD3Boh's full-sized avatar

Davide Garberi DD3Boh

View GitHub Profile
@tmountain
tmountain / brcmfmac4356-sdio.txt
Created January 29, 2021 22:05
firmware for brcmfmac4356
# Sample variables file for BCM94356Z NGFF 22x30mm iPA, iLNA board with PCIe for production package
NVRAMRev=$Rev: 492104 $
#4356 chip = 4354 A2 chip
sromrev=11
boardrev=0x1102
boardtype=0x073e
boardflags=0x02400201
#0x2000 enable 2G spur WAR
boardflags2=0x00802000
boardflags3=0x0000000a

ACPI development

BIOS + ACPI releases with development work.

De-compile Existing Tables

iasl -da SSDT* dynamic/SSDT* DSDT

Re-compile

@nathanchance
nathanchance / gitfu
Last active September 18, 2020 23:45
Reset all files that conflict but keep the non-conflicted ones:
for i in $(git status | grep "both modified" | awk '{print $3}'); do git reset HEAD $i && git checkout -- $i; done
Delete all branches but one
for i in $(git ls-remote -q | grep "refs/head" | cut -d '/' -f 3 | awk '!(/^<BRANCH_NAME_TO_KEEP>$/)'); do git push origin :$i; done