0001 # This example was used to boot the snowball ARM board.
0002 # See http://people.redhat.com/srostedt/ktest-embedded-2012/
0003
0004 # PWD is a ktest.pl variable that will result in the process working
0005 # directory that ktest.pl is executed in.
0006
0007 # THIS_DIR is automatically assigned the PWD of the path that generated
0008 # the config file. It is best to use this variable when assigning other
0009 # directory paths within this directory. This allows you to easily
0010 # move the test cases to other locations or to other machines.
0011 #
0012 THIS_DIR := /home/rostedt/work/demo/ktest-embed
0013 LOG_FILE = ${OUTPUT_DIR}/snowball.log
0014 CLEAR_LOG = 1
0015 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
0016 ADD_CONFIG = ${THIS_DIR}/addconfig
0017
0018 SCP_TO_TARGET = echo "don't do scp"
0019
0020 TFTPBOOT := /var/lib/tftpboot
0021 TFTPDEF := ${TFTPBOOT}/snowball-default
0022 TFTPTEST := ${OUTPUT_DIR}/${BUILD_TARGET}
0023
0024 SWITCH_TO_GOOD = cp ${TFTPDEF} ${TARGET_IMAGE}
0025 SWITCH_TO_TEST = cp ${TFTPTEST} ${TARGET_IMAGE}
0026
0027 # Define each test with TEST_START
0028 # The config options below it will override the defaults
0029 TEST_START SKIP
0030 TEST_TYPE = boot
0031 BUILD_TYPE = u8500_defconfig
0032 BUILD_NOCLEAN = 1
0033
0034 TEST_START
0035 TEST_TYPE = make_min_config
0036 OUTPUT_MIN_CONFIG = ${THIS_DIR}/config.newmin
0037 START_MIN_CONFIG = ${THIS_DIR}/config.orig
0038 IGNORE_CONFIG = ${THIS_DIR}/config.ignore
0039 BUILD_NOCLEAN = 1
0040
0041
0042 DEFAULTS
0043 LOCALVERSION = -test
0044 POWER_CYCLE = echo use the thumb luke; read a
0045 CONSOLE = cat ${THIS_DIR}/snowball-cat
0046 REBOOT_TYPE = script
0047 SSH_USER = root
0048 BUILD_OPTIONS = -j8 uImage
0049 BUILD_DIR = ${THIS_DIR}/linux.git
0050 OUTPUT_DIR = ${THIS_DIR}/snowball-build
0051 MACHINE = snowball
0052 TARGET_IMAGE = /var/lib/tftpboot/snowball-image
0053 BUILD_TARGET = arch/arm/boot/uImage