Skip to content

Instantly share code, notes, and snippets.

View bkrepo's full-sized avatar

Brian Kim bkrepo

View GitHub Profile
@bkrepo
bkrepo / gist:5622286d74423de9c734e256b8a1ebd0
Created May 31, 2016 07:52
Kodi log with disable the "Send "Inactive source" command on shutdown" option
11:28:22 T:547581739008 NOTICE: special://profile/ is mapped to: special://masterprofile/
11:28:22 T:547581739008 NOTICE: -----------------------------------------------------------------------
11:28:22 T:547581739008 NOTICE: Starting Kodi (16.1 Git:2016-05-23-85ca519-dirty). Platform: Linux ARM 64-bit
11:28:22 T:547581739008 NOTICE: Using Release Kodi x64 build
11:28:22 T:547581739008 NOTICE: Kodi compiled May 23 2016 by GCC 5.3.1 for Linux ARM 64-bit version 4.4.10 (263178)
11:28:22 T:547581739008 NOTICE: Running on Ubuntu 16.04 LTS, kernel: Linux unknown CPU family 64-bit version 3.14.65+
11:28:22 T:547581739008 NOTICE: FFmpeg version: 2.8.6-1ubuntu2
11:28:22 T:547581739008 NOTICE: WARNING: unsupported ffmpeg version detected
11:28:22 T:547581739008 NOTICE: 4 CPU cores available
11:28:22 T:547581739008 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
@bkrepo
bkrepo / gist:667672cea2ec70c2e30983fc04bb9590
Created May 31, 2016 07:31
Kodi log for debugging libcec
11:28:40 T:547798212608 NOTICE: special://profile/ is mapped to: special://masterprofile/
11:28:40 T:547798212608 NOTICE: -----------------------------------------------------------------------
11:28:40 T:547798212608 NOTICE: Starting Kodi (16.1 Git:2016-05-23-85ca519-dirty). Platform: Linux ARM 64-bit
11:28:40 T:547798212608 NOTICE: Using Release Kodi x64 build
11:28:40 T:547798212608 NOTICE: Kodi compiled May 23 2016 by GCC 5.3.1 for Linux ARM 64-bit version 4.4.10 (263178)
11:28:40 T:547798212608 NOTICE: Running on Ubuntu 16.04 LTS, kernel: Linux unknown CPU family 64-bit version 3.14.65+
11:28:40 T:547798212608 NOTICE: FFmpeg version: 2.8.6-1ubuntu2
11:28:40 T:547798212608 NOTICE: WARNING: unsupported ffmpeg version detected
11:28:40 T:547798212608 NOTICE: 4 CPU cores available
11:28:40 T:547798212608 NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
@bkrepo
bkrepo / meson64_odroidc2.dts
Created March 28, 2016 09:25
meson64_odroidc2.dts for Xen
/*
* AMLogic's S905 based ODROID-C2 board device tree source
*
* Copyright (c) 2015 Hardkernel Co., Ltd.
* http://www.hardkernel.com
*
* Device tree source file for Hardkernel's ODROID-C2 board based on AMLogic's
* S905 SoC.
*
* This program is free software; you can redistribute it and/or modify
@bkrepo
bkrepo / mesongxbb.dtsi
Created March 28, 2016 09:24
mesongxbb.dtsi for Xen
#include <dt-bindings/clock/gxbb.h>
#include <dt-bindings/gpio/gxbb.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/reset/aml_gxbb.h>
#include <dt-bindings/thermal/thermal.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
/ {
cpus:cpus {
#address-cells = <2>;
#size-cells = <0>;
@bkrepo
bkrepo / odroidc2_xen_defconfig
Created March 28, 2016 09:22
ODROID-C2 domain 0 configuration file
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 3.14.29 Kernel Configuration
#
CONFIG_ARM64=y
CONFIG_ARM64_HAS_SG_CHAIN=y
CONFIG_64BIT=y
CONFIG_ARCH_PHYS_ADDR_T_64BIT=y
CONFIG_MMU=y
CONFIG_NO_IOPORT=y
@bkrepo
bkrepo / boot.ini
Created March 28, 2016 09:21
boot.ini for Xen
ODROIDC2-UBOOT-CONFIG
# Possible screen resolutions
# Uncomment only a single Line! The line with setenv written.
# At least one mode must be selected.
# 480 Lines (720x480)
# setenv m "480i60hz" # Interlaced 60Hz
# setenv m "480i_rpt" # Interlaced for Rear Projection Televisions 60Hz
# setenv m "480p60hz" # 480 Progressive 60Hz
@bkrepo
bkrepo / boot.ini.xen
Last active January 17, 2017 06:34
boot.ini for Xen for ODROID-C2
ODROIDC2-UBOOT-CONFIG
# Possible screen resolutions
# Uncomment only a single Line! The line with setenv written.
# At least one mode must be selected.
# 480 Lines (720x480)
# setenv m "480i60hz" # Interlaced 60Hz
# setenv m "480i_rpt" # Interlaced for Rear Projection Televisions 60Hz
# setenv m "480p60hz" # 480 Progressive 60Hz
@bkrepo
bkrepo / gist:ad5a08429f773106c875
Created March 3, 2016 10:02
C2 Amlogic Library build log
odroid@odroid64:~/c2_aml_libs$ make
make -C amavutils
make[1]: Entering directory '/home/odroid/c2_aml_libs/amavutils'
cc -O2 -fPIC -g -I/home/odroid/c2_aml_libs/amavutils -I/home/odroid/c2_aml_libs/amavutils/include -I/home/odroidc
cc -O2 -fPIC -g -I/home/odroid/c2_aml_libs/amavutils -I/home/odroid/c2_aml_libs/amavutils/include -I/home/odroidc
cc -O2 -fPIC -g -I/home/odroid/c2_aml_libs/amavutils -I/home/odroid/c2_aml_libs/amavutils/include -I/home/odroidc
amdisplayutils.c: In function 'get_display_mode':
amdisplayutils.c:45:14: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {ak]
LOGI("[get_display_mode]mode=%s strlen=%d\n", mode, strlen(mode));
^
@bkrepo
bkrepo / usbreset.c
Created February 15, 2016 07:14
USB reset
/* usbreset -- send a USB port reset to a USB device */
#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <linux/usbdevice_fs.h>
@bkrepo
bkrepo / dmesg.txt
Created February 4, 2016 06:40
dmesg after exynos drm patchset
[ 0.000000] [c0] Booting Linux on physical CPU 0x100
[ 0.000000] [c0] Initializing cgroup subsys cpuset
[ 0.000000] [c0] Initializing cgroup subsys cpu
[ 0.000000] [c0] Initializing cgroup subsys cpuacct
[ 0.000000] [c0] Linux version 3.10.92+ (brian@brian-desktop) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #1 SMP PREEMPT Thu Feb 4 14:41:34 KST 2016
[ 0.000000] [c0] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=10c5387d
[ 0.000000] [c0] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] [c0] Machine: ODROID-XU3, model: Hardkernel odroid-xu3 board based on EXYNOS5422
[ 0.000000] [c0] ION: Contiguous 0x6650000 bytes @ 0x0 defined for 0:common
[ 0.000000] [c0] ION: Contiguous 0x400000 bytes @ 0x0 defined for 2:mfc_sh