Skip to content

Instantly share code, notes, and snippets.

@starnight
starnight / SeaSparkle
Created April 29, 2017 10:42
Sea Sparkle
GitHub: https://github.com/starnight/nasaappchallenge
@starnight
starnight / gist:29b1ead5659868fcfb7f172e51a96535
Created July 5, 2018 09:52
r8822be fix PCI ASPM, full log
[ 0.000000] Linux version 4.18.0-rc3+ (dev@endless) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1endless1bem1)) #2 SMP Thu Jul 5 16:38:12 CST 2018
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.18.0-rc3+ root=UUID=5285ce39-4550-43e9-8546-a3c90ae7712c ro rw splash plymouth.ignore-serial-consoles quiet loglevel=2
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64
[ 0.000000] x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64
@starnight
starnight / gist:920950ca596916e393ce0534added83e
Created July 6, 2018 07:18
r8822be with patch staging: r8822be: Fix RTL8822be can't find any wireless AP
[ 0.000000] Linux version 4.18.0-rc3+ (dev@endless) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1endless1bem1)) #3 SMP Fri Jul 6 14:08:24 CST 2018
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.18.0-rc3+ root=UUID=5285ce39-4550-43e9-8546-a3c90ae7712c ro rw splash plymouth.ignore-serial-consoles quiet loglevel=2
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] Linux version 4.18.0+ (dev@endless) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1endless2bem2)) #2 SMP Mon Aug 20 10:44:20 CST 2018
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.18.0+ root=UUID=856f12a7-9ff9-4a40-97f4-0ea42e7bb480 ro rw splash plymouth.ignore-serial-consoles quiet loglevel=2
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[ 0.000000] x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
[ 0.000000] x86/fpu: xstate_offset[3]: 832, xstate_sizes[3]: 64
[ 0.000000] x86/fpu: xstate_offset[4]: 896, xstate_sizes[4]: 64
@starnight
starnight / gist:652782dbe85cb02abd4513e6c40372f6
Created August 22, 2019 10:08
dmesg 5.3-rc5 disable msi for RTL8822BE
[ 0.000000] Linux version 5.3.0-rc5+ (dev@endless) (gcc version 8.3.0 (Debian 8.3.0-6endless1bem1)) #5 SMP Thu Aug 22 11:23:37 CST 2019
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.3.0-rc5+ root=UUID=b12f71d8-6250-4625-901a-d1f82a875e85 rw rtwpci.disable_msi=Y
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
@starnight
starnight / gist:3ecb7974d0ca86b9faa8cd34fe4aa546
Created August 22, 2019 10:11
dmesg 5.3-rc5 enable msi for RTL8822BE
[ 0.000000] Linux version 5.3.0-rc5+ (dev@endless) (gcc version 8.3.0 (Debian 8.3.0-6endless1bem1)) #5 SMP Thu Aug 22 11:23:37 CST 2019
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.3.0-rc5+ root=UUID=b12f71d8-6250-4625-901a-d1f82a875e85 rw rtwpci.disable_msi=N
[ 0.000000] KERNEL supported cpus:
[ 0.000000] Intel GenuineIntel
[ 0.000000] AMD AuthenticAMD
[ 0.000000] Hygon HygonGenuine
[ 0.000000] Centaur CentaurHauls
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
@starnight
starnight / gist:2236cf350737e3b0e9f05135fc7c910e
Created April 27, 2020 06:42
[PATCH v2 00/91] drm/vc4: Support BCM2711 Display Pipelin dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[ 0.000000] Linux version 5.7.0-rc2-00091-ga181df59a930 (zack@starnight) (gcc version 9.3.0 (GCC), GNU ld (GNU Binutils) 2.34) #7 SMP PREEMPT Mon Apr 27 12:06:52 CST 2020
[ 0.000000] Machine model: Raspberry Pi 4 Model B
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: bypass linux,cma node, using cmdline CMA params instead
[ 0.000000] OF: reserved mem: node linux,cma compatible matching fail
[ 0.000000] cma: Reserved 256 MiB at 0x0000000020000000
[ 0.000000] NUMA: No NUMA configuration found
[ 0.000000] NUMA: Faking a node at [mem 0x0000000000000000-0x00000000fbffffff]
[ 0.000000] NUMA: NODE_DATA [mem 0xfb81f100-0xfb820fff]
@starnight
starnight / gist:45e1468bfa0426a54d2fb4a9269cfb94
Created May 4, 2020 06:31
[PATCH v2 00/91] drm/vc4: Support BCM2711 Display Pipelin journal log
-- Logs begin at Thu 2020-04-23 06:18:13 CST, end at Mon 2020-04-27 15:51:29 CST. --
Apr 23 06:18:13 localhost kernel: Booting Linux on physical CPU 0x0000000000 [0x410fd083]
Apr 23 06:18:13 localhost kernel: Linux version 5.7.0-rc2-00091-ga181df59a930 (zack@starnight) (gcc version 9.3.0 (GCC), GNU ld (GNU Binutils) 2.34) #7 SMP PREEMPT Mon Apr 27 12:06:52 CST 2020
Apr 23 06:18:13 localhost kernel: Machine model: Raspberry Pi 4 Model B
Apr 23 06:18:13 localhost kernel: efi: UEFI not found.
Apr 23 06:18:13 localhost kernel: Reserved memory: bypass linux,cma node, using cmdline CMA params instead
Apr 23 06:18:13 localhost kernel: OF: reserved mem: node linux,cma compatible matching fail
Apr 23 06:18:13 localhost kernel: cma: Reserved 256 MiB at 0x0000000020000000
Apr 23 06:18:13 localhost kernel: NUMA: No NUMA configuration found
Apr 23 06:18:13 localhost kernel: NUMA: Faking a node at [mem 0x0000000000000000-0x00000000fbffffff]
@starnight
starnight / gist:320b757441b6769c36160704b401c98b
Created May 8, 2020 06:18
[PATCH v2 00/91] drm/vc4: Support BCM2711 Display Pipelin build config
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 5.7.0-rc2 Kernel Configuration
#
#
# Compiler: aarch64-linux-gnu-gcc (GCC) 9.3.0
#
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=90300
@starnight
starnight / Xorg.0.log
Created May 18, 2020 05:26
Debian buster image on khadas VIM2
[ 17.759]
X.Org X Server 1.20.4
X Protocol Version 11, Revision 0
[ 17.759] Build Operating System: Linux 4.9.0-8-arm64 aarch64 Debian
[ 17.759] Current Operating System: Linux Khadas 5.6.0 #0.8.3 SMP Sun Apr 19 23:05:58 UTC 2020 aarch64
[ 17.759] Kernel command line: root=UUID=5c3ecfbc-482b-455e-8170-95c7116a878d rootfstype=ext4 rootflags=data=writeback rw ubootpart=ace7d279-01 console=ttyAML0,115200n8 console=tty0 no_console_suspend consoleblank=0 loglevel=7 logo=osd1,loaded,0x3d800000,1080p60hz vout=1080p60hz,enable hdmimode=1080p60hz fsck.repair=yes net.ifnames=0 ddr_size=2 wol_enable=0 jtag=disable mac=c8:63:14:70:3f:6f androidboot.mac=c8:63:14:70:3f:6f fan=auto khadas_board=VIM2 hwver=VIM2.V13 coherent_pool=2M reboot_mode=cold_boot imagetype=SD-USB uboottype=vendor
[ 17.760] Build Date: 05 March 2019 08:11:12PM
[ 17.760] xorg-server 2:1.20.4-1 (https://www.debian.org/support)
[ 17.760] Current version of pixman: 0.36.0
[ 17.760] Before reporting problems, check http://wiki.