Skip to content

Instantly share code, notes, and snippets.

View pdp7's full-sized avatar
💭
Linux on RISC-V

Drew Fustini pdp7

💭
Linux on RISC-V
View GitHub Profile
@pdp7
pdp7 / dot config mwilczy rust-next-pwm-working-fan-for-sending-v8.txt
Created June 20, 2025 00:42
dot config mwilczy rust-next-pwm-working-fan-for-sending-v8
#
# Automatically generated file; DO NOT EDIT.
# Linux/riscv 6.16.0-rc2 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="Ubuntu clang version 18.1.3 (1ubuntu1)"
CONFIG_GCC_VERSION=0
CONFIG_CC_IS_CLANG=y
CONFIG_CLANG_VERSION=180103
CONFIG_AS_IS_LLVM=y
CONFIG_AS_VERSION=180103
@pdp7
pdp7 / Linux dmesg lpi4amain 6.15.0-12439-g7ec07c93dbac.txt
Created June 11, 2025 23:50
Linux dmesg lpi4amain 6.15.0-12439-g7ec07c93dbac
root@lpi4amain:~# dmesg
[ 0.000000] Booting Linux on hartid 1
[ 0.000000] Linux version 6.15.0-12439-g7ec07c93dbac (pdp7@thelio) (Ubuntu clang version 18.1.3 (1ubuntu1), Ubuntu LLD 18.1.3) #1354 SMP Wed Jun 11 11:12:46 PDT 2025
[ 0.000000] random: crng init done
[ 0.000000] Machine model: Sipeed Lichee Pi 4A
[ 0.000000] SBI specification v2.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10004
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
@pdp7
pdp7 / Linux config lpi4amain 6.15.0-12439-g7ec07c93dbac.txt
Created June 11, 2025 23:46
Linux config lpi4amain 6.15.0-12439-g7ec07c93dbac
#
# Automatically generated file; DO NOT EDIT.
# Linux/riscv 6.15.0 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="Ubuntu clang version 18.1.3 (1ubuntu1)"
CONFIG_GCC_VERSION=0
CONFIG_CC_IS_CLANG=y
CONFIG_CLANG_VERSION=180103
CONFIG_AS_IS_LLVM=y
CONFIG_AS_VERSION=180103
@pdp7
pdp7 / rust-next-pwm-working-fan-for-sending-v4.config
Created June 10, 2025 21:09
kernel config used with mwilczy/rust-next-pwm-working-fan-for-sending-v4
#
# Automatically generated file; DO NOT EDIT.
# Linux/riscv 6.15.0 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="Ubuntu clang version 18.1.3 (1ubuntu1)"
CONFIG_GCC_VERSION=0
CONFIG_CC_IS_CLANG=y
CONFIG_CLANG_VERSION=180103
CONFIG_AS_IS_LLVM=y
CONFIG_AS_VERSION=180103
@pdp7
pdp7 / boot-hang-th1520-2025-06-01.txt
Last active June 1, 2025 22:41
th1520 boot hang 2025-06-01: next-20250530 with series [email protected]
brom_ver 8
[APP][E] protocol_connect failed, exit.
-----------------------------------------
_____ _ _____ _____ _ __
| __ \ (_)/ ____| __ \| |/ /
| |__) | _ _ _ _| (___ | | | | ' /
| _ / | | | | | | |\___ \| | | | <
| | \ \ |_| | |_| | |____) | |__| | . \
|_| \_\__,_|\__, |_|_____/|_____/|_|\_\
__/ |
@pdp7
pdp7 / acpi-rqsc-resctrl.md
Last active February 22, 2025 21:26
acpi-rqsc-resctrl.txt
mount -t resctrl resctrl /sys/fs/resls -la /sys/fs/resctrl/

ls -la /sys/fs/resctrl/

cd /sys/fs/resctrl/

echo 'L2:3=ff0' >  /sys/fs/resctrl/schemata
@pdp7
pdp7 / sifive unmatched intel arc xe driver.txt
Created February 17, 2025 06:11
sifive unmatched intel arc xe driver
[ 0.000000] Linux version 6.14.0-rc3 (pdp7@thelio) (riscv64-linux-gnu-gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.41) #1219 SMP Sun Feb 16 21:52:34 PST 2025
[ 0.000000] Machine model: SiFive HiFive Unmatched A00
[ 0.000000] SBI specification v2.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10004
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI SRST extension detected
[ 0.000000] SBI DBCN extension detected
[ 0.000000] efi: EFI v2.10 by Das U-Boot
@pdp7
pdp7 / kernel config for Intel Arc on SiFive.txt
Created February 17, 2025 06:07
kernel config for Intel Arc on SiFive
#
# Automatically generated file; DO NOT EDIT.
# Linux/riscv 6.14.0-rc3 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="riscv64-linux-gnu-gcc (Ubuntu 13.2.0-4ubuntu3) 13.2.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=130200
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24100
@pdp7
pdp7 / sifive-unmatched-20250208-rx550-boot.log
Created February 9, 2025 02:34
sifive-unmatched-20250208-rx550-boot.log
1 sifive@unmatched:~$ sudo dmesg
[sudo] password for sifive:
[ 0.000000] Linux version 6.8.0-44-generic (buildd@bos03-riscv64-026) (riscv64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #44.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Aug 21 09:27:53 UTC 2024 (Ubuntu 6.8.0-44.44.1-generic 6.8.12)
[ 0.000000] Machine model: SiFive HiFive Unmatched A00
[ 0.000000] SBI specification v2.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10004
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI SRST extension detected
@pdp7
pdp7 / sifive-unmatched-20250208-rx550-dmesg.log
Created February 9, 2025 02:32
sifive-unmatched-20250208-rx550-dmesg.log
[ 0.000000] Linux version 6.8.0-44-generic (buildd@bos03-riscv64-026) (riscv64-linux-gnu-gcc-13 (Ubuntu 13.2.0-23ubuntu4) 13.2.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #44.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Aug 21 09:27:53 UTC 2024 (Ubuntu 6.8.0-44.44.1-generic 6.8.12)
[ 0.000000] Machine model: SiFive HiFive Unmatched A00
[ 0.000000] SBI specification v2.0 detected
[ 0.000000] SBI implementation ID=0x1 Version=0x10004
[ 0.000000] SBI TIME extension detected
[ 0.000000] SBI IPI extension detected
[ 0.000000] SBI RFENCE extension detected
[ 0.000000] SBI SRST extension detected
[ 0.000000] SBI DBCN extension detected
[ 0.000000] efi: EFI v2.10 by Das U-Boot