162306a36Sopenharmony_ci# This example was used to boot the snowball ARM board.
262306a36Sopenharmony_ci# See http://people.redhat.com/srostedt/ktest-embedded-2012/
362306a36Sopenharmony_ci
462306a36Sopenharmony_ci# PWD is a ktest.pl variable that will result in the process working
562306a36Sopenharmony_ci# directory that ktest.pl is executed in.
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci# THIS_DIR is automatically assigned the PWD of the path that generated
862306a36Sopenharmony_ci# the config file. It is best to use this variable when assigning other
962306a36Sopenharmony_ci# directory paths within this directory. This allows you to easily
1062306a36Sopenharmony_ci# move the test cases to other locations or to other machines.
1162306a36Sopenharmony_ci#
1262306a36Sopenharmony_ciTHIS_DIR := /home/rostedt/work/demo/ktest-embed
1362306a36Sopenharmony_ciLOG_FILE = ${OUTPUT_DIR}/snowball.log
1462306a36Sopenharmony_ciCLEAR_LOG = 1
1562306a36Sopenharmony_ciMAKE_CMD = PATH=/usr/local/gcc-4.5.2-nolibc/arm-unknown-linux-gnueabi/bin:$PATH CROSS_COMPILE=arm-unknown-linux-gnueabi- make ARCH=arm
1662306a36Sopenharmony_ciADD_CONFIG = ${THIS_DIR}/addconfig
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ciSCP_TO_TARGET = echo "don't do scp"
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ciTFTPBOOT := /var/lib/tftpboot
2162306a36Sopenharmony_ciTFTPDEF := ${TFTPBOOT}/snowball-default
2262306a36Sopenharmony_ciTFTPTEST := ${OUTPUT_DIR}/${BUILD_TARGET}
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ciSWITCH_TO_GOOD = cp ${TFTPDEF} ${TARGET_IMAGE}
2562306a36Sopenharmony_ciSWITCH_TO_TEST = cp ${TFTPTEST} ${TARGET_IMAGE}
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci# Define each test with TEST_START
2862306a36Sopenharmony_ci# The config options below it will override the defaults
2962306a36Sopenharmony_ciTEST_START SKIP
3062306a36Sopenharmony_ciTEST_TYPE = boot
3162306a36Sopenharmony_ciBUILD_TYPE = u8500_defconfig
3262306a36Sopenharmony_ciBUILD_NOCLEAN = 1
3362306a36Sopenharmony_ci
3462306a36Sopenharmony_ciTEST_START
3562306a36Sopenharmony_ciTEST_TYPE = make_min_config
3662306a36Sopenharmony_ciOUTPUT_MIN_CONFIG = ${THIS_DIR}/config.newmin
3762306a36Sopenharmony_ciSTART_MIN_CONFIG = ${THIS_DIR}/config.orig
3862306a36Sopenharmony_ciIGNORE_CONFIG = ${THIS_DIR}/config.ignore
3962306a36Sopenharmony_ciBUILD_NOCLEAN = 1
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ci
4262306a36Sopenharmony_ciDEFAULTS
4362306a36Sopenharmony_ciLOCALVERSION = -test
4462306a36Sopenharmony_ciPOWER_CYCLE = echo use the thumb luke; read a
4562306a36Sopenharmony_ciCONSOLE = cat ${THIS_DIR}/snowball-cat
4662306a36Sopenharmony_ciREBOOT_TYPE = script
4762306a36Sopenharmony_ciSSH_USER = root
4862306a36Sopenharmony_ciBUILD_OPTIONS = -j8 uImage
4962306a36Sopenharmony_ciBUILD_DIR = ${THIS_DIR}/linux.git
5062306a36Sopenharmony_ciOUTPUT_DIR = ${THIS_DIR}/snowball-build
5162306a36Sopenharmony_ciMACHINE = snowball
5262306a36Sopenharmony_ciTARGET_IMAGE = /var/lib/tftpboot/snowball-image
5362306a36Sopenharmony_ciBUILD_TARGET = arch/arm/boot/uImage
54