Skip to content

Instantly share code, notes, and snippets.

@tmcintos
tmcintos / gist:365cc0a1f031aee333d02c1c18f24146
Created March 29, 2023 07:10
SuperMicro P5STE CMOS/BIOS battery replacement with external battery connected via EXT BATTERY pin header
As described in <https://pcrebuilding.altervista.org/9/download/57a34d9c0195f_SUPERMICRO_P55T2S_jumper_settings.pdf>, the external battery header pinout is as follows:
JP30: Optional External battery, pin1: +3V, pin2 and pin3: No Connect, pin4: Ground
Note: pin3 (GND) is nearest the ATX power connector (top end of board in tower configuration).
I have had success removing the soldered battery and connectng a battery pack containing 2x AA batteries in series (+3V) to this connector.
Note that if 3x AA batteries are used (4.5V), the machine will not boot.
@tmcintos
tmcintos / google1651d51abf53a551.html
Last active March 29, 2023 01:27
Create FreeBSD Installation ISO for 700MB CDROM by removing src.txz with xorriso
google-site-verification: google1651d51abf53a551.html
xorriso -external_filter exclude_src default /usr/bin/grep -v src.txz -- \
-boot_image any discard \
-boot_image any bin_path=boot/cdboot \
-indev ~/Downloads/FreeBSD-13.1-RELEASE-i386-disc1.iso \
-outdev ~/Downloads/FreeBSD-13.1-RELEASE-i386-cd.iso \
-rm /usr/freebsd-dist/src.txz -- \
-set_filter exclude_src /usr/freebsd-dist/MANIFEST