1 # This example was used to boot the snowball A 1 # This example was used to boot the snowball ARM board. 2 # See http://people.redhat.com/srostedt/ktest- 2 # See http://people.redhat.com/srostedt/ktest-embedded-2012/ 3 3 4 # PWD is a ktest.pl variable that will result 4 # PWD is a ktest.pl variable that will result in the process working 5 # directory that ktest.pl is executed in. 5 # directory that ktest.pl is executed in. 6 6 7 # THIS_DIR is automatically assigned the PWD o 7 # THIS_DIR is automatically assigned the PWD of the path that generated 8 # the config file. It is best to use this vari 8 # the config file. It is best to use this variable when assigning other 9 # directory paths within this directory. This 9 # directory paths within this directory. This allows you to easily 10 # move the test cases to other locations or to 10 # move the test cases to other locations or to other machines. 11 # 11 # 12 THIS_DIR := /home/rostedt/work/demo/ktest-embe 12 THIS_DIR := /home/rostedt/work/demo/ktest-embed 13 LOG_FILE = ${OUTPUT_DIR}/snowball.log 13 LOG_FILE = ${OUTPUT_DIR}/snowball.log 14 CLEAR_LOG = 1 14 CLEAR_LOG = 1 15 MAKE_CMD = PATH=/usr/local/gcc-4.5.2-nolibc/ar 15 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 16 ADD_CONFIG = ${THIS_DIR}/addconfig 16 ADD_CONFIG = ${THIS_DIR}/addconfig 17 17 18 SCP_TO_TARGET = echo "don't do scp" 18 SCP_TO_TARGET = echo "don't do scp" 19 19 20 TFTPBOOT := /var/lib/tftpboot 20 TFTPBOOT := /var/lib/tftpboot 21 TFTPDEF := ${TFTPBOOT}/snowball-default 21 TFTPDEF := ${TFTPBOOT}/snowball-default 22 TFTPTEST := ${OUTPUT_DIR}/${BUILD_TARGET} 22 TFTPTEST := ${OUTPUT_DIR}/${BUILD_TARGET} 23 23 24 SWITCH_TO_GOOD = cp ${TFTPDEF} ${TARGET_IMAGE} 24 SWITCH_TO_GOOD = cp ${TFTPDEF} ${TARGET_IMAGE} 25 SWITCH_TO_TEST = cp ${TFTPTEST} ${TARGET_IMAGE 25 SWITCH_TO_TEST = cp ${TFTPTEST} ${TARGET_IMAGE} 26 26 27 # Define each test with TEST_START 27 # Define each test with TEST_START 28 # The config options below it will override th 28 # The config options below it will override the defaults 29 TEST_START SKIP 29 TEST_START SKIP 30 TEST_TYPE = boot 30 TEST_TYPE = boot 31 BUILD_TYPE = u8500_defconfig 31 BUILD_TYPE = u8500_defconfig 32 BUILD_NOCLEAN = 1 32 BUILD_NOCLEAN = 1 33 33 34 TEST_START 34 TEST_START 35 TEST_TYPE = make_min_config 35 TEST_TYPE = make_min_config 36 OUTPUT_MIN_CONFIG = ${THIS_DIR}/config.newmin 36 OUTPUT_MIN_CONFIG = ${THIS_DIR}/config.newmin 37 START_MIN_CONFIG = ${THIS_DIR}/config.orig 37 START_MIN_CONFIG = ${THIS_DIR}/config.orig 38 IGNORE_CONFIG = ${THIS_DIR}/config.ignore 38 IGNORE_CONFIG = ${THIS_DIR}/config.ignore 39 BUILD_NOCLEAN = 1 39 BUILD_NOCLEAN = 1 40 40 41 41 42 DEFAULTS 42 DEFAULTS 43 LOCALVERSION = -test 43 LOCALVERSION = -test 44 POWER_CYCLE = echo use the thumb luke; read a 44 POWER_CYCLE = echo use the thumb luke; read a 45 CONSOLE = cat ${THIS_DIR}/snowball-cat 45 CONSOLE = cat ${THIS_DIR}/snowball-cat 46 REBOOT_TYPE = script 46 REBOOT_TYPE = script 47 SSH_USER = root 47 SSH_USER = root 48 BUILD_OPTIONS = -j8 uImage 48 BUILD_OPTIONS = -j8 uImage 49 BUILD_DIR = ${THIS_DIR}/linux.git 49 BUILD_DIR = ${THIS_DIR}/linux.git 50 OUTPUT_DIR = ${THIS_DIR}/snowball-build 50 OUTPUT_DIR = ${THIS_DIR}/snowball-build 51 MACHINE = snowball 51 MACHINE = snowball 52 TARGET_IMAGE = /var/lib/tftpboot/snowball-imag 52 TARGET_IMAGE = /var/lib/tftpboot/snowball-image 53 BUILD_TARGET = arch/arm/boot/uImage 53 BUILD_TARGET = arch/arm/boot/uImage
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.