snowball.conf 1.7 KB

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