-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ktest: Add the snowball.conf example config
I used the snowball.conf in a live demo that demonstrated how to use ktest.pl with a snowball ARM board. I've been asked to included that config in the ktest repository. Here it is. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
- Loading branch information
Steven Rostedt
authored and
Steven Rostedt
committed
May 22, 2012
1 parent
2e10952
commit b6d3003
Showing
1 changed file
with
53 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# This example was used to boot the snowball ARM board. | ||
# See http://people.redhat.com/srostedt/ktest-embedded-2012/ | ||
|
||
# PWD is a ktest.pl variable that will result in the process working | ||
# directory that ktest.pl is executed in. | ||
|
||
# THIS_DIR is automatically assigned the PWD of the path that generated | ||
# the config file. It is best to use this variable when assigning other | ||
# directory paths within this directory. This allows you to easily | ||
# move the test cases to other locations or to other machines. | ||
# | ||
THIS_DIR := /home/rostedt/work/demo/ktest-embed | ||
LOG_FILE = ${OUTPUT_DIR}/snowball.log | ||
CLEAR_LOG = 1 | ||
MAKE_CMD = PATH=/usr/local/gcc-4.5.2-nolibc/arm-unknown-linux-gnueabi/bin:$PATH CROSS_COMPILE=arm-unknown-linux-gnueabi- make ARCH=arm | ||
ADD_CONFIG = ${THIS_DIR}/addconfig | ||
|
||
SCP_TO_TARGET = echo "don't do scp" | ||
|
||
TFTPBOOT := /var/lib/tftpboot | ||
TFTPDEF := ${TFTPBOOT}/snowball-default | ||
TFTPTEST := ${OUTPUT_DIR}/${BUILD_TARGET} | ||
|
||
SWITCH_TO_GOOD = cp ${TFTPDEF} ${TARGET_IMAGE} | ||
SWITCH_TO_TEST = cp ${TFTPTEST} ${TARGET_IMAGE} | ||
|
||
# Define each test with TEST_START | ||
# The config options below it will override the defaults | ||
TEST_START SKIP | ||
TEST_TYPE = boot | ||
BUILD_TYPE = u8500_defconfig | ||
BUILD_NOCLEAN = 1 | ||
|
||
TEST_START | ||
TEST_TYPE = make_min_config | ||
OUTPUT_MIN_CONFIG = ${THIS_DIR}/config.newmin | ||
START_MIN_CONFIG = ${THIS_DIR}/config.orig | ||
IGNORE_CONFIG = ${THIS_DIR}/config.ignore | ||
BUILD_NOCLEAN = 1 | ||
|
||
|
||
DEFAULTS | ||
LOCALVERSION = -test | ||
POWER_CYCLE = echo use the thumb luke; read a | ||
CONSOLE = cat ${THIS_DIR}/snowball-cat | ||
REBOOT_TYPE = script | ||
SSH_USER = root | ||
BUILD_OPTIONS = -j8 uImage | ||
BUILD_DIR = ${THIS_DIR}/linux.git | ||
OUTPUT_DIR = ${THIS_DIR}/snowball-build | ||
MACHINE = snowball | ||
TARGET_IMAGE = /var/lib/tftpboot/snowball-image | ||
BUILD_TARGET = arch/arm/boot/uImage |