Skip to content

Instantly share code, notes, and snippets.

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.32.59
# Sat Oct 5 15:21:18 2013
#
CONFIG_SUPERH=y
CONFIG_SUPERH32=y
# CONFIG_SUPERH64 is not set
CONFIG_ARCH_DEFCONFIG="arch/sh/configs/shx3_defconfig"
CONFIG_RWSEM_GENERIC_SPINLOCK=y
Board: STx7105-PDK [32-bit mode]
U-Boot 1.3.1 (Oct 6 2013 - 04:36:18) - stm23_0045
DRAM: 256 MiB
SPI: ST M25P80 (1MiB) device (page=256,erase=4096)
In: serial
@dlintw
dlintw / sh4twbox
Last active December 25, 2015 23:08
sh4twbox 0.7.1 patch
# http://www.in-ulm.de/~mascheck/various/ash/#busybox
# http://linux.about.com/library/cmd/blcmdl1_ash.htm
set -o errexit ; set -o nounset
rootfs=`cat /proc/cmdline | sed 's/\s\s*/\n/g'|grep '^root='| cut -d= -f2`
if [ "$rootfs" = "8:1" ] ; then
rootfs=/dev/sda1
elif [ "$rootfs" = "8:2" ] ; then
rootfs=/dev/sda2
fi
@dlintw
dlintw / nextvod.boot.log
Last active December 26, 2015 22:39
stack dump with usb mis-order patch + initramfs
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.10.31 11:10:27 =~=~=~=~=~=~=~=~=~=~=~=
Board: STx7105-PDK [32-bit mode]
U-Boot 1.3.1 (Oct 6 2013 - 04:36:18) - stm23_0045
DRAM: 256 MiB
SPI: ST M25P80 (1MiB) device (page=256,erase=4096)
In: serial
@dlintw
dlintw / signing.c
Created November 6, 2013 14:20
pacman-4.1.2/lib/libalpm/
/*
* signing.c
*
* Copyright (c) 2008-2013 Pacman Development Team <pacman-dev@archlinux.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
# $Id: PKGBUILD 197798 2013-10-30 10:37:54Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
# NOTE: valgrind requires rebuilt with each major glibc version
# NOTE: adjust version in install script when locale files are updated
pkgname=glibc-static
pkgver=2.18
pkgname=glib2-static
pkgver=2.38.2
pkgrel=1
pkgdesc="Common C routines used by GTK+ and other libs"
url="http://www.gtk.org/"
arch=(i686 x86_64)
depends=('pcre' 'libffi' "glib2")
makedepends=('pkg-config' 'python2' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 'elfutils')
optdepends=('python2: for gdbus-codegen and gtester-report'
'elfutils: gresource inspection tool')
@dlintw
dlintw / PKGBUILD.qemu-static
Created December 9, 2013 02:09
PKGBUILD.qemu-static 1.7.0-1
pkgdesc="A generic and open source processor emulator which achieves a good emulation speed by using dynamic translation."
pkgname='qemu-static'
pkgver=1.7.0
pkgrel=1
arch=('i686' 'x86_64')
license=('GPL2' 'LGPL2.1')
url="http://wiki.qemu.org/Index.html"
source=(http://wiki.qemu.org/download/qemu-${pkgver}.tar.bz2)
depends=('qemu')
@dlintw
dlintw / smb.conf
Created January 6, 2014 23:51
/etc/samba/smb.conf
# This is the main Samba configuration file. For detailed information about the
# options listed here, refer to the smb.conf(5) manual page. Samba has a huge
# number of configurable options, most of which are not shown in this example.
#
# The Official Samba 3.2.x HOWTO and Reference Guide contains step-by-step
# guides for installing, configuring, and using Samba:
# http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
#
# The Samba-3 by Example guide has working examples for smb.conf. This guide is
# generated daily: http://www.samba.org/samba/docs/Samba-Guide.pdf
@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