Skip to content

Instantly share code, notes, and snippets.

@sigmaris
sigmaris / JVT-AVC_V1.txt
Created December 28, 2023 18:38
RK3588 fluster with GStreamer 1.22.0 tests
****************************************************************************************************
Running test suite JVT-AVC_V1 with decoder GStreamer-H.264-V4L2SL-Gst1.0
Using 8 parallel job(s)
****************************************************************************************************
[TEST SUITE] (DECODER ) TEST VECTOR ... RESULT
----------------------------------------------------------------------
[JVT-AVC_V1] (GStreamer-H.264-V4L2SL-Gst1.0) BA1_Sony_D ... Success
[JVT-AVC_V1] (GStreamer-H.264-V4L2SL-Gst1.0) BA3_SVA_C ... Success
[JVT-AVC_V1] (GStreamer-H.264-V4L2SL-Gst1.0) BA_MW_D ... Success
@sigmaris
sigmaris / calendarCopy.js
Last active August 2, 2023 12:58 — forked from AndrewSouthpaw/calendarCopy.js
Google Apps script to copy personal events and block those times in your work calendar.
// *******************
// This setup will allow you to synchronize personal events from one calendar (the "secondary calendar") e.g. your Opsgenie
// schedule, to another calendar, e.g. work (the "primary calendar").
//
// Follow these steps:
// 1. Go to https://script.google.com/home and click [+ New project]
// 2. Make sure the two calendars you want to sync are in your Google calendar list, and the primary calendar can be edited
// by the Google account you're currently under (or switch accounts to the owner of the primary calendar)
// To get your Opsgenie schedule into Google Calendar, export your Opsgenie webcal URL: https://support.atlassian.com/opsgenie/docs/view-your-on-call-schedule/#Export-with-manual-URL
@sigmaris
sigmaris / qcom-sdm845-ayn-odin-m2-android-displayport.dts
Last active March 28, 2024 10:25
AYN Odin M2 Pro Android device tree (decompiled)
/dts-v1/;
/ {
compatible = "qcom,sdm845-mtp\0qcom,sdm845\0qcom,mtp";
qcom,board-id = <0x05 0x00>;
model = "Qualcomm Technologies, Inc. SDM845 v2.1 OEM";
interrupt-parent = <0x01>;
#address-cells = <0x02>;
#size-cells = <0x02>;
qcom,msm-id = <0x141 0x20001>;
@sigmaris
sigmaris / libreELEC_nightly_20210206-dc904cd.txt
Last active December 23, 2023 10:14
kernel WARNING from kodi software decoding
[ 826.656405] ------------[ cut here ]------------
[ 826.656435] WARNING: CPU: 2 PID: 965 at drivers/gpu/drm/drm_gem.c:1096 drm_gem_mmap_obj+0x1a8/0x208
[ 826.656438] Modules linked in: snd_usb_audio rockchip_rga hci_uart hantro_vpu(C) rockchip_vdec(C) btbcm videobuf2_dma_contig videobuf2_dma_sg bluetooth v4l2_h264 snd_hwdep v4l2_mem2mem videobuf2_vmalloc ecdh_generic snd_usbmidi_lib videobuf2_memops pwm_fan videobuf2_v4l2 phy_rockchip_pcie snd_rawmidi ecc videobuf2_common spi_rockchip ipv6 fuse
[ 826.656504] CPU: 2 PID: 965 Comm: kodi.bin Tainted: G WC 5.10.11 #1
[ 826.656507] Hardware name: Pine64 RockPro64 v2.1 (DT)
[ 826.656513] pstate: 00000005 (nzcv daif -PAN -UAO -TCO BTYPE=--)
[ 826.656518] pc : drm_gem_mmap_obj+0x1a8/0x208
[ 826.656523] lr : drm_gem_mmap_obj+0x7c/0x208
[ 826.656526] sp : ffff8000126d3be0
[ 826.656529] x29: ffff8000126d3be0 x28: 0000000000000008
@sigmaris
sigmaris / gist:5efb95190cbdf6e2114ce5f3c6847376
Created February 18, 2020 15:55
Exception when u-boot tries to read SRAM at 0xff8c1000
=> md.l ff8c1000 1
ff8c1000:"Synchronous Abort" handler, esr 0x96000010
elr: 000000000027a5b4 lr : 000000000027a530 (reloc)
elr: 00000000f7f945b4 lr : 00000000f7f94530
x0 : 0000000000000009 x1 : 0000000000000000
x2 : 000000000000003a x3 : 00000000ff8c1000
x4 : 0000000000000000 x5 : 00000000f7fae6b1
x6 : 0000000000000004 x7 : 00000000f5effe70
x8 : 00000000f5effd30 x9 : 0000000000000008
x10: 00000000ffffffd0 x11: 0000000000000006
@sigmaris
sigmaris / bl31.dump
Created February 17, 2020 13:47
ATF compiled with GCC 9.2.0 suspend exception
This file has been truncated, but you can view the full file.
build/rk3399/debug/bl31/bl31.elf: file format elf64-littleaarch64
build/rk3399/debug/bl31/bl31.elf
architecture: aarch64, flags 0x00000112:
EXEC_P, HAS_SYMS, D_PAGED
start address 0x0000000000040000
Program Header:
LOAD off 0x0000000000010000 vaddr 0x0000000000040000 paddr 0x0000000000040000 align 2**16
filesz 0x0000000000027072 memsz 0x0000000000057000 flags rwx
@sigmaris
sigmaris / atf_boot_log.txt
Created February 16, 2020 15:49
Boot log from ATF in debug mode on Rockpro64
U-Boot TPL 2020.04-rc2-00057-g6cef09d6f6 (Feb 16 2020 - 13:03:20)
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
@sigmaris
sigmaris / proc iomem
Created February 16, 2020 15:45
Linux's view of memory in /proc/iomem
00200000-f7ffffff : System RAM
02080000-0324ffff : Kernel code
03250000-0332ffff : reserved
03330000-03480fff : Kernel data
3bfff000-3fffefff : reserved
f1000000-f4ffffff : reserved
f5a11000-f5a1ffff : reserved
f5a22000-f5efcfff : reserved
f60ff000-f615efff : reserved
f615f000-f675ffff : reserved
@sigmaris
sigmaris / ATF_suspend_exception.txt
Last active February 17, 2020 15:16
Exception in TF-A on RK3399 when entering suspend
root@rockpro64:~# systemctl suspend
root@rockpro64:~# [ 318.410767] PM: suspend entry (deep)
[ 318.418836] Filesystems sync: 0.007 seconds
[ 318.420855] Freezing user space processes ... (elapsed 0.001 seconds) done.
[ 318.422615] OOM killer disabled.
[ 318.422618] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[ 318.425750] rk_gmac-dwmac fe300000.ethernet eth0: Link is Down
[ 318.452553] sd 0:0:0:0: [sda] Synchronizing SCSI cache
[ 318.456607] sd 0:0:0:0: [sda] Stopping disk
[ 318.904800] Disabling non-boot CPUs ...
/*
* This is a generated file.
*/
/dts-v1/;
/ {
description = "FIT image for U-Boot with bl31 (TF-A)";
#address-cells = <1>;
images {