Skip to content

Instantly share code, notes, and snippets.

@iggy
iggy / mysql.sls
Created January 20, 2017 17:01
mysql inspiration
mysql:
ini.options_present:
- name: /etc/mysql/my.cnf
- watch_in:
- service: mysqlpkgs
- sections:
mysqld:
bind-address: 0.0.0.0
# {{ salt['grains.get']('digitalocean:interfaces:private:ipv4:ip_address') }}
default-storage-engine: innodb

Keybase proof

I hereby claim:

  • I am iggy on github.
  • I am superiggy (https://keybase.io/superiggy) on keybase.
  • I have a public key ASD-0IPC4zUf49oPN0-0shOVHJiAcelnQkdbB-eabHIvWgo

To claim this, I am signing this object:

@iggy
iggy / cpuinfo
Created December 17, 2018 17:52
CPUInfo from Ryzen 3 2200G
processor : 3
vendor_id : AuthenticAMD
cpu family : 23
model : 17
model name : AMD Ryzen 3 2200G with Radeon Vega Graphics
stepping : 0
microcode : 0x810100b
cpu MHz : 3312.713
cache size : 512 KB
physical id : 0
On a 2018 MBP (15,1), I'm running linux 5.3.0-rc2-git with nvme patches (from BenH on lkml).
I also built/loaded the bce driver from @MCMrARM
Working:
- nvme
- keyboard
- touchpad
- AMD GPU
@iggy
iggy / config-5.15.0-starfive
Created March 12, 2023 21:21
/boot/config-5.15.0-starfive
#
# Automatically generated file; DO NOT EDIT.
# Linux/riscv 5.15.0 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="riscv64-unknown-linux-gnu-gcc (GCC) 10.2.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=100200
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=23500
U-Boot SPL 2021.10 (Dec 19 2022 - 17:24:44 +0800)
DDR version: dc2e84f0.
Trying to boot from SPI
OpenSBI v1.0
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
@iggy
iggy / gist:78359fd952ad04f7117e32a5f49d56c3
Created March 13, 2023 00:08
visionfive 2 pci/nvme issue
# 6.2 kernel
~ # ls /sys/class/pci_bus/
~ # ls /sys/class/block/
mmcblk1 mmcblk1p1 mmcblk1p2 mmcblk1p3
~ # find /sys/class/nvme*
/sys/class/nvme
/sys/class/nvme-generic
/sys/class/nvme-subsystem
U-Boot SPL 2021.10 (Dec 19 2022 - 17:24:44 +0800)
DDR version: dc2e84f0.
Trying to boot from SPI
OpenSBI v1.0
____ _____ ____ _____
/ __ \ / ____| _ \_ _|
| | | |_ __ ___ _ __ | (___ | |_) || |
| | | | '_ \ / _ \ '_ \ \___ \| _ < | |
| |__| | |_) | __/ | | |____) | |_) || |_
@iggy
iggy / info
Created March 13, 2023 20:19
Debian 202302 image info
# /proc/partitions
8 32 31205376 sdc
8 33 2048 sdc1
8 34 4096 sdc2
8 35 102400 sdc3
8 36 2141167 sdc4
# sudo blkid /dev/sdc*
localhost:~# cat /proc/partitions
major minor #blocks name
179 0 31205376 mmcblk1
179 1 65536 mmcblk1p1
179 2 239616 mmcblk1p2
259 0 976762584 nvme0n1
259 1 15624192 nvme0n1p1
8 0 121307136 sda
8 1 121307120 sda1