This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
# Build image (replace <NAME> to any name) | |
# docker build -t <NAME>/st24 - < st24.Dockerfile | |
# Run | |
# docker run -d -v /opt/tmp:/tmp:rw -p 127.0.0.1:20022:22 <NAME>/sshd | |
# ssh -p 20022 root@localhost # password: root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $Id: PKGBUILD 197798 2013-10-30 10:37:54Z allan $ | |
# Maintainer: Allan McRae <[email protected]> | |
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* signing.c | |
* | |
* Copyright (c) 2008-2013 Pacman Development Team <[email protected]> | |
* | |
* 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. | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=~=~=~=~=~=~=~=~=~=~=~= 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |