Skip to content

Instantly share code, notes, and snippets.

@skramstad
skramstad / printer.cfg
Created October 16, 2025 04:34
TMC2240 on Manta M8P
[mcu]
## For USB
## Obtain definition by "ls /dev/serial/by-id/*" then unplug to verify
##--------------------------------------------------------------------
serial: /dev/serial/by-path/platform-1000480000.usb-usb-0:1.4:1.0
restart_method: command
##--------------------------------------------------------------------
## Toolhead Board
##--------------------------------------------------------------------
@skramstad
skramstad / wax620-kernel-6.12.log
Created May 21, 2025 14:48
wax620-kernel-6.12
U-Boot 2016.01-V9.5.0.7 (Jan 20 2021 - 09:15:03 -0800)
DRAM: smem ram ptable found: ver: 1 len: 4
1 GiB
NAND: Could not find nand_gpio in dts, using defaults
ONFI device found
ID = 1590aac2
Vendor = c2
Device = aa
SF: Unsupported flash IDs: manuf ff, jedec ffff, ext_jedec ffff
@skramstad
skramstad / intel-nuc-i226-fix-lan.md
Created January 9, 2025 18:54
Intel NUC i226 - Make LAN work again

Fix retries on an Intel NUC with i226.

  1. Access the BIOS for the Intel® NUC (F2)
  2. Click on Advanced
  3. Click on Power
  4. Click on Secondary power settings
  5. Uncheck PCIe ASPM Support
  6. Press F10 to save the settings
  7. Reboot
@skramstad
skramstad / Mac OS X WIFI advanced settings.txt
Last active July 8, 2024 17:10
Mac OS X WIFI advanced settings
# Create alias in zsh
`alias airport='sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport'`
# Commands
$ airport -s # Scanning
$ airport prefs # Display airport preferences
$ airport prefs joinMode=Strongest
$ airport prefs JoinModeFallback=KeepLooking
JoinMode (String)
Automatic
@skramstad
skramstad / xe34-openwrt-console-log.log
Last active June 6, 2024 07:25
xe34-openwrt-console-log
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x51af8014]
[ 0.000000] Linux version 6.6.32 (nuc@nuc) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r26467-50e26e6fd7) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Thu May 30 20:47:59 2024
[ 0.000000] Machine model: Cambium Networks XE3-4
[ 0.000000] OF: reserved mem: 0x0000000000060000..0x0000000000065fff (24 KiB) nomap non-reusable memory@60000
[ 0.000000] OF: reserved mem: 0x000000004a100000..0x000000004a4fffff (4096 KiB) nomap non-reusable bootloader@4a100000
[ 0.000000] OF: reserved mem: 0x000000004a500000..0x000000004a5fffff (1024 KiB) nomap non-reusable sbl@4a500000
[ 0.000000] OF: reserved mem: 0x000000004a600000..0x000000004a9fffff (4096 KiB) nomap non-reusable memory@4a600000
[ 0.000000] OF: reserved mem: 0x000000004aa00000..0x000000004aafffff (1024 KiB) nomap non-reusable memory@4aa00000
[ 0.000000] OF: reserved mem: 0x000000004ab00000..0x000000004fffffff (87040 KiB) nomap non-reusable memory@4ab00000
[ 0.000
@skramstad
skramstad / xe3-4-stock.dts
Created May 20, 2024 11:12
xe34-stock-dts
/dts-v1/;
/ {
model = "Qualcomm Technologies, Inc. IPQ6018/AP-CP01-C3";
compatible = "qcom,ipq6018-cp01\0qcom,ipq6018";
qcom,board-id = <0x08 0x00>;
qcom,pmic-id = <0x00 0x00 0x00 0x00>;
#address-cells = <0x02>;
#size-cells = <0x02>;
interrupt-parent = <0x01>;
@skramstad
skramstad / xe3-4-stock-console.log
Created May 20, 2024 09:58
xe3-4-stock-console-log
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.XF.0.3-00098-IPQ60xxLZB-1
S - IMAGE_VARIANT_STRING=IPQ6018LA
S - OEM_IMAGE_VERSION_STRING=crm-ubuntu121
S - Boot Interface: SPI
S - Secure Boot: Off
S - Boot Config @ 0x000a602c = 0x000002e1
S - JTAG ID @ 0x000a607c = 0x0013a0e1
@skramstad
skramstad / 2023-09-01-hostapd.conf
Created September 1, 2023 20:39
hostapd configuration file
##### hostapd configuration file ##############################################
# Empty lines and lines starting with # are ignored
# AP netdevice name (without 'ap' postfix, i.e., wlan0 uses wlan0ap for
# management frames with the Host AP driver); wlan0 with many nl80211 drivers
# Note: This attribute can be overridden by the values supplied with the '-i'
# command line parameter.
interface=wlan0
# In case of atheros and nl80211 driver interfaces, an additional
@skramstad
skramstad / 630-stock.dts
Created August 26, 2023 19:23
630-stock-dts
/dts-v1/;
/ {
#address-cells = <0x02>;
#size-cells = <0x02>;
compatible = "qcom,ipq807x-hk01\0qcom,ipq807x";
interrupt-parent = <0x01>;
model = "Qualcomm Technologies, Inc. IPQ807x/AP-HK01-C1";
qcom,board-id = <0x08 0x00>;
qcom,msm-id = <0x143 0x00 0x158 0x00 0x186 0x00 0x188 0x00>;
@skramstad
skramstad / wax630-boot-log.txt
Created August 26, 2023 16:07
wax630-boot-log
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.1.47 (nuc@nuc) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23812-8b1cc1582a) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Sat Aug 26 12:08:10 2023
[ 0.000000] Machine model: Netgear WAX630
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000007fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000040ffffff]