Skip to content

Commit

Permalink
tc_board_smartweb.py: add getting patches from patchwork
Browse files Browse the repository at this point in the history
use tc_board_smartweb.py for getting patches from patchwork
before compiling U-Boot for the smartweb board.

Signed-off-by: Heiko Schocher <hs@denx.de>
  • Loading branch information
hsdenx committed Dec 10, 2015
1 parent 5dcdd07 commit 9bdea94
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/tc/tc_board_smartweb.py
Expand Up @@ -36,6 +36,14 @@
tb.statusprint("set toolchain")
tb.eof_call_tc("tc_lab_set_toolchain.py")

#add patchwork patches
tb.statusprint("apply patchwork patches")
tb.workfd = tb.channel_ctrl
tb.tc_workfd_apply_patchwork_patches_checkpatch_cmd = 'scripts/checkpatch.pl'
tb.tc_workfd_cd_name = 'u-boot-smartweb'
tb.eof_call_tc("tc_workfd_cd_to_dir.py")
tb.eof_call_tc("tc_workfd_apply_patchwork_patches.py")

#call compile u-boot
tb.statusprint("compile u-boot")
tb.eof_call_tc("tc_lab_compile_uboot.py")
Expand Down
7 changes: 7 additions & 0 deletions tbot_smartweb.cfg
Expand Up @@ -25,8 +25,15 @@ self.linux_prompt = 'ttbott#'
self.read_line_retry=4

#variables used in testcases
self.tc_workfd_work_dir = '/work/hs/tbot'
self.setenv_name = 'Heiko'
self.setenv_value = 'Schocher'
self.ub_load_board_env_addr = '0x21000000'
self.tc_lab_get_uboot_source_git_repo = "/home/git/u-boot.git"
self.tc_lab_get_uboot_source_git_branch = "master"
self.tc_workfd_apply_patchwork_patches_list = [
'554982', '554983', '554984', '554985', '554986', # v3 ARM: at91: improve peripheral and system clock handle functions
'554262', '554263', '554264', '554265', # v2 ARM: at91: add UTMI PLL handle functions
'554229', '554230', '554231', # v1 ARM: at91: add PLLB handle functions
'554253', '554254', '554255'] # v2 ARM: at91: add PMC_PLLICPR init function

0 comments on commit 9bdea94

Please sign in to comment.