aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Dechesne <nicolas.dechesne@linaro.org>2015-03-18 10:57:02 +0100
committerNicolas Dechesne <nicolas.dechesne@linaro.org>2015-03-18 23:12:36 +0100
commitad77445121f385c84353e36535c24e44645885e1 (patch)
treebab411a8da34e13ffac2c09c5fe0b45b13eef902
parentacc4d5649c098ad1e6360696b4f59d4f2e7a3239 (diff)
lt-qcom-ubuntu-images: add new parameters to avoid hardcoding in the job
* add SERIAL_CONSOLE * add KERNEL_BRANCH Change-Id: Id7b93e88c1dd311968757fef94c1f3f68faaa6cf Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
-rw-r--r--lt-qcom-ubuntu-images.yaml16
1 files changed, 11 insertions, 5 deletions
diff --git a/lt-qcom-ubuntu-images.yaml b/lt-qcom-ubuntu-images.yaml
index 3f5b401..1876d64 100644
--- a/lt-qcom-ubuntu-images.yaml
+++ b/lt-qcom-ubuntu-images.yaml
@@ -39,16 +39,22 @@
- string:
name: DTBS
default: 'qcom-apq8064-ifc6410.dtb qcom-apq8064-cm-qs600.dtb'
+ - string:
+ name: SERIAL_CONSOLE
+ default: 'ttyMSM0'
+ - string:
+ name: KERNEL_BRANCH
+ default: 'release/qcomlt-3.18'
disabled: false
node: docker-utopic
display-name: 'Qualcomm Ubuntu based images'
scm:
- git:
url: https://git.linaro.org/git/landing-teams/working/qualcomm/kernel.git
- refspec: +refs/heads/release/qcomlt-3.18:refs/remotes/origin/release/qcomlt-3.18
+ refspec: +refs/heads/${KERNEL_BRANCH}:refs/remotes/origin/${KERNEL_BRANCH}
name: origin
branches:
- - origin/release/qcomlt-3.18
+ - origin/${KERNEL_BRANCH}
skip-tag: true
shallow-clone: true
wipe-workspace: false
@@ -100,7 +106,7 @@
origin: Linaro
maintainer: Linaro Platform <linaro-dev@lists.linaro.org>
support: supported
- serial_tty: ttyMSM0
+ serial_tty: ${SERIAL_CONSOLE}
kernel_addr: '0x80208000'
initrd_addr: '0x83000000'
load_addr: '0x60008000'
@@ -117,7 +123,7 @@
boot_min_size: 64
extra_serial_options:
- console=tty0
- - console=ttyMSM0,115200n8
+ - console=${SERIAL_CONSOLE},115200n8
assume_installed:
- linaro-headless
- linux-firmware
@@ -188,7 +194,7 @@
secondaddr = 0x81100000
tagsaddr = 0x80200100
name = linaro-${PLATFORM_NAME}
- cmdline = console=tty0 console=ttyMSM0,115200n8 root=/dev/mmcblk0p13 rootwait rw text
+ cmdline = console=tty0 console=${SERIAL_CONSOLE},115200n8 root=/dev/mmcblk0p13 rootwait rw text
EOF
# IFC6410 needs ATAG fixup to boot