Skip to content

Instantly share code, notes, and snippets.

@dlintw
dlintw / sshd.dockerfile
Created February 5, 2014 09:17
dockerfile for sshd login
# dockerfile ref: http://docs.docker.io/en/latest/use/builder/
# command usage ref: http://docs.docker.io/en/latest/commandline/cli/
# http://docs.docker.io/en/latest/use/port_redirection/#port-redirection
# docker build -t dlin/centos
# docker -t -i -v /opt/tmp1:/tmp:rw dlin/centos /bin/bash
# docker -v /opt/tmp1:/tmp:rw -p 127.0.0.1:8888:8888 -p 127.0.0.1::20022:22 dlin/centos /usr/sbin/sshd -D
FROM centos:6.4
@dlintw
dlintw / nextvod.console.log
Created February 8, 2014 00:54
original console log of nextvod
PDK7105> printenv
bootdelay=0
baudrate=115200
ethaddr=DE:EA:FF:FF:01:01
board=pdk7105
monitor_base=0xA4000000
monitor_len=0x00040000
monitor_sec=1:0-1
load_addr=0x80000000
ipaddr=192.9.150.61
@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'
@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 / 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 中斷
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
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
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!
@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
$ 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