Skip to content

Instantly share code, notes, and snippets.

#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 6.10.0-rc4 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="aarch64-linux-gnu-gcc (GCC) 14.1.1 20240507 (Red Hat Cross 14.1.1-1)"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=140101
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24100
00:00:00.000 [INFO] [sway/main.c:295] Sway version 1.10-dev-cc342107 (Jun 24 2024, branch 'master')
00:00:00.000 [INFO] [sway/main.c:296] wlroots version 0.18.0-dev
00:00:00.002 [INFO] [sway/main.c:81] Linux firebert 6.10.0-0.rc4.20240621git50736169ecc8.42.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jun 21 14:39:39 UTC 2024 x86_64 GNU/Linux
00:00:00.002 [INFO] [sway/main.c:97] Contents of /etc/os-release:
00:00:00.002 [INFO] [sway/main.c:81] NAME="Fedora Linux"
00:00:00.002 [INFO] [sway/main.c:81] VERSION="41 (Rawhide Prerelease)"
00:00:00.002 [INFO] [sway/main.c:81] ID=fedora
00:00:00.002 [INFO] [sway/main.c:81] VERSION_ID=41
00:00:00.002 [INFO] [sway/main.c:81] VERSION_CODENAME=""
00:00:00.002 [INFO] [sway/main.c:81] PLATFORM_ID="platform:f41"
@tokyovigilante
tokyovigilante / defconfig
Last active May 21, 2024 11:35
Anbernic RG35XX+ WIP defconfig
CONFIG_SYSVIPC=y
CONFIG_POSIX_MQUEUE=y
CONFIG_AUDIT=y
CONFIG_NO_HZ_IDLE=y
CONFIG_HIGH_RES_TIMERS=y
CONFIG_BPF_SYSCALL=y
CONFIG_BPF_JIT=y
CONFIG_PREEMPT=y
CONFIG_IRQ_TIME_ACCOUNTING=y
CONFIG_BSD_PROCESS_ACCT=y
setenv bootargs console=tty0 console=ttyS0,115200 root=/dev/mmcblk0p3
load mmc 0:2 $kernel_addr_r Image
booti $kernel_addr_r - $fdtcontroladdr
chipid 33806c00 6c004808 0106c504 508d1d92
unknown 00000000 bb311118 bb323b38 196db6db 6c696b6c 00216b6b 21f1305d 02c60000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000
@tokyovigilante
tokyovigilante / gist:d05e07767a2f62922a8d24b41c33b414
Created March 15, 2024 07:44
Kernel config diff with working wifi for RG35XX+
-ARCH_BCM2835 y
-ARCH_BCMBCA y
-ARCH_BCM_IPROC y
-ARCH_BRCMSTB y
-ARCH_LAYERSCAPE y
-ARCH_MXC y
-ARCH_S32 y
-ARCH_TESLA_FSD y
-BROKEN_GAS_INST y
-GENERIC_IRQ_IPI_MUX y
@tokyovigilante
tokyovigilante / gist:57ab963756a3c936d08a58186f062318
Created March 12, 2024 21:41
RTL8821 panic on power state change
[ 830.797592] ------------[ cut here ]------------
[ 830.802268] firmware failed to ack driver for entering Deep Power mode
[ 830.808931] WARNING: CPU: 1 PID: 67 at drivers/net/wireless/realtek/rtw88/ps.c:105 rtw_power_mode_change+0x130/0x180 [rtw88_core]
[ 830.820663] Modules linked in: btrfs blake2b_generic libcrc32c xor xor_neon raid6_pq zstd_compress af_alg rtw88_8821cs rtw88_8821c 6
[ 830.846661] CPU: 1 PID: 67 Comm: kworker/u16:4 Not tainted 6.8.0-rc7-next-20240308-00004-gee0f4864bb48 #8
[ 830.856231] Hardware name: Anbernic RG35XX Plus (DT)
[ 830.861198] Workqueue: phy0 rtw_watch_dog_work [rtw88_core]
[ 830.866831] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 830.873796] pc : rtw_power_mode_change+0x130/0x180 [rtw88_core]
[ 830.879763] lr : rtw_power_mode_change+0x130/0x180 [rtw88_core]
@tokyovigilante
tokyovigilante / gist:72421ccc3e46ca147fdeb76be67565b1
Created March 9, 2024 22:43
TF-A hack to disable RSB for I2C PMIC
diff --git a/plat/allwinner/sun50i_h616/sunxi_power.c b/plat/allwinner/sun50i_h616/sunxi_power.c
index dd6ebba9a..361cf07fe 100644
--- a/plat/allwinner/sun50i_h616/sunxi_power.c
+++ b/plat/allwinner/sun50i_h616/sunxi_power.c
@@ -75,7 +75,8 @@ int sunxi_pmic_setup(uint16_t socid, const void *fdt)
INFO("Could not init platform bus: %d\n", ret);
return ret;
}
-
+ INFO("PMIC: Exiting early...\n");
// change root to wherever your kernel is, and add earlycon if no serial output
// setenv bootargs earlycon console=tty0 console=ttyS0,115200 root=/dev/mmcblk0p3
setenv bootargs console=tty0 console=ttyS0,115200 root=/dev/mmcblk0p3
load mmc 0:2 $kernel_addr_r Image
booti $kernel_addr_r - $fdtcontroladdr
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 6.8.0-rc7-g2d190068f346 (ryan@crackotage) (aarch64-linux-gnu-gcc (GCC) 13.2.1 20230728 (Red Hat Cross 13.2.1-1), GNU ld version 2.40-5.fc40) #4 SMP PREEMPT Wed Mar 6 20:24:08 NZDT 2024
[ 0.000000] KASLR disabled due to lack of seed
[ 0.000000] Machine model: Anbernic RG35XX Plus
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: OVERLAP DETECTED!
tf-a@40000000 (0x0000000040000000--0x0000000040040000) overlaps with secmon@40000000 (0x0000000040000000--0x0000000040040000)
[ 0.000000] OF: reserved mem: 0x0000000040000000..0x000000004003ffff (256 KiB) nomap non-reusable tf-a@40000000
[ 0.000000] OF: reserved mem: 0x0000000040000000..0x000000004003ffff (256 KiB) nomap non-reusable secmon@40000000
[ 0.000000] earlycon: uart0 at MMIO32 0x0000000005000000 (options '115200n8')