Skip to content

Instantly share code, notes, and snippets.

@dlintw
dlintw / myupgrade_aur.sh
Created June 13, 2015 07:45
upgrade aur4 script
#!/bin/bash
readonly MYDIR=$PWD
PKGS=(
# java3d
# bvi
# xxdiff
# ccal
# tmux-mem-cpu-load-git
@dlintw
dlintw / wingo.PKGBUILD
Last active August 29, 2015 14:02
PKGBUILD for wingo-git
# Contributor: Andrew Gallant <[email protected]>
# Contributor: Daniel YC Lin <dlin.tw at gmail>
# Maintainer: Andrew Gallant
pkgname=wingo-git
pkgver=r421.8e0f2c8
pkgrel=1
pkgdesc="An X window manager featuring per-monitor workspaces with floating and tiling placement policies."
arch=(x86_64 i686)
url="https://github.com/BurntSushi/wingo"
license=('WTFPL')
$ docker pull dlin/ubuntu-stlinux24
Pulling repository dlin/ubuntu-stlinux24
ef65d4a793f1: Download complete
44cc672dabd9: Download complete
b9517450bc25: Download complete
e42c9771721a: Download complete
8cb44cb871bd: Download complete
908d2c0a0004: Download complete
7ef93fc8f058: Download complete
dae76a8363a3: Download complete
@dlintw
dlintw / error.log
Created March 2, 2014 22:54
error when compile xbmc 12.3-Frodo
---- REVISIONS ----
1) Sat, 14 Apr 2012 12:36 - 460e79416c5cb13010456794f36f89d49d25da75
2) Sun, 10 Jun 2012 13:53 - 327710767d2257dad27e3885effba1d49d4557f0
3) Fri, 31 Aug 2012 22:34 - Frodo_alpha5 - 12840c28d8fbfd71c26be798ff6b13828b05b168
4) Fri, 31 Oct 2012 22:34 - Frodo_alpha7 - e292b1147bd89a7e53742e3e5039b9a906a3b1d0
5) Fri, 02 Jan 2013 22:34 - Frodo_rc3 - 7a6cb7f49ae19dca3c48c40fa3bd20dc3c490e60
6) Thu, 12 Dec 2013 13:47 - 12.3-Frodo - 9ed3e580ea7c000541273cbac116ec9e314124ca
7) current inactive... comming soon, here is the next stable (case 7 == DIFF=7)
read -p Select:
Selection: 6
Unaligned userspace access in "xbmc.bin" pid=4662 pc=0x009abd26 ins=0x514a
virtual bool CSTmBDispAQ::HandleBlitterInterrupt() @ 87ea9d88: BDisp not running? BDISP_ITS 00010000!
virtual bool CSTmBDispAQ::HandleBlitterInterrupt() @ 87ea9d88: BDisp not running? BDISP_ITS 00010000!
virtual bool CSTmBDispAQ::HandleBlitterInterrupt() @ 87ea9d88: BDisp not running? BDISP_ITS 00010000!
virtual bool CSTmBDispAQ::HandleBlitterInterrupt() @ 87ea9d88: BDisp not running? BDISP_ITS 00010000!
virtual bool CSTmBDispAQ::HandleBlitterInterrupt() @ 87ea9d88: BDisp not running? BDISP_ITS 00010000!
virtual bool CSTmBDispAQ::HandleBlitterInterrupt() @ 87ea9d88: BDisp not running? BDISP_ITS 00010000!
virtual bool CSTmBDispAQ::HandleBlitterInterrupt() @ 87ea9d88: BDisp not running? BDISP_ITS 00010000!
virtual bool CSTmBDispAQ::HandleBlitterInterrupt() @ 87ea9d88: BDisp not running? BDISP_ITS 00010000!
virtual bool CSTmBDispAQ::HandleBlitterInterrupt() @ 87ea9d88: BDisp not running? BDISP_ITS 00010000!
Board: STx7105-PDK [32-bit mode]
U-Boot 1.3.1 (Feb 8 2014 - 11:02:31) - stm23_0045
DRAM: 256 MiB
SPI: ST M25P80 (1MiB) device (page=256,erase=4096)
In: serial
Board: STx7105-PDK [32-bit mode]
U-Boot 1.3.1 (Feb 8 2014 - 11:02:31) - stm23_0045
DRAM: 256 MiB
SPI: ST M25P80 (1MiB) device (page=256,erase=4096)
In: serial
Out: serial
@dlintw
dlintw / build.log
Created February 18, 2014 05:43
test build duckbox-max-tdt + suzuke kernel patch
# log 格式說明, # 為註解, 其他為 root 執行之指令, 有縮排為執行之結果
docker pull dlin/ubuntu-duckbox
docker run -t -i -v /Archive:/Archive dlin/ubuntu-duckbox /bin/bash
#進入 docker 之後
cd /pdk7105-tdt/tdt/cvs/cdk
git pull && git checkout pdk7150
make -j$((`nproc` + 1)) yaud-xbmc-nightly
# 這動作約須 1:45 分 2.8G * 2 core AMD CPU, 出現提示後按 Ctrl-C 中斷
@dlintw
dlintw / tdt.log
Created February 15, 2014 22:39
build failed under ubuntu 12.04 docker container
/tdt/tdt/cvs/cdk/BUILD/gcc-4.6.3
+ for conf in '`find . -maxdepth 4 "(" -name configure.in -o -name configure.ac ")" -print`'
++ dirname ./libgcc/configure.ac
+ dn=./libgcc
++ basename ./libgcc/configure.ac
+ cn=configure.ac
+ echo 'cd ./libgcc'
cd ./libgcc
+ pushd ./libgcc
/tdt/tdt/cvs/cdk/BUILD/gcc-4.6.3/libgcc /tdt/tdt/cvs/cdk/BUILD/gcc-4.6.3
@dlintw
dlintw / uboot.sh
Created February 11, 2014 00:00
for nextvod xbmc
setenv bootargs 'console=ttyAS0,115200 rootdelay=0 root=/dev/sda2 rw rootflags=data=journal nwhwconf=device:eth0,hwaddr:10:08:E2:12:06:BD phyaddr:0,watchdog:5000 bigphysarea=2048'
setenv bootcmd 'usbcfg 0; usb start; usb info; usb part; ext2load usb 0:2 80000000 vmlinux.ub; bootm 80000000'