diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2013-10-07 12:22:36 +0200 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2013-10-07 18:33:32 +0200 |
commit | aad08e74198294f73bca08575f2c432e324aa34b (patch) | |
tree | 086bb902e46186e7fb8873d6f5f27a4f9d0c4b89 | |
parent | 211b675b94a06c53ab302885262db389f37a58a6 (diff) |
add support for armv8
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Acked-by: Fathi Boudra <fathi.boudra@linaro.org>
-rwxr-xr-x | linux-lng-preempt-rt.sh | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/linux-lng-preempt-rt.sh b/linux-lng-preempt-rt.sh index e390b12..3d62916 100755 --- a/linux-lng-preempt-rt.sh +++ b/linux-lng-preempt-rt.sh @@ -30,6 +30,11 @@ cleanup_exit() test -d ${reference_git} || git clone --depth 1 -b $linux_branch $linux_git ${reference_git} cp -a ${reference_git}/* ${reference_git}/.git* . +export use_config_fragment=1 +export MAKE_DTBS=true +export toolchain_url="http://releases.linaro.org/13.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux.tar.xz" +export rootfs_arch="armv7a" + case "${hwpack}" in arndale) export hwpack_type="arndale" @@ -38,25 +43,31 @@ case "${hwpack}" in export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/distribution.conf linaro/configs/hugepage.conf linaro/configs/preempt-rt.conf linaro/configs/ovs.conf linaro/configs/kvm-host.conf linaro/configs/arndale.conf" export device_type="arndale" ;; + vexpress64) + export hwpack_type="vexpress64-rtsm" + export board_types="vexpress64-rtsm" + export kernel_flavour="vexpress64" + export conf_filenames="linaro/configs/linaro-base.conf linaro/configs/linaro-base64.conf linaro/configs/distribution.conf linaro/configs/preempt-rt.conf linaro/configs/ovs.conf linaro/configs/kvm-host.conf linaro/configs/vexpress64.conf" + export device_type="rtsm_foundation-armv8" + export ARCH="arm64" + export toolchain_url="https://releases.linaro.org/13.09/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.8-2013.09_linux.tar.xz" + export rootfs_arch="armv8" + ;; esac -export use_config_fragment=1 -export MAKE_DTBS=true -export toolchain_url="http://releases.linaro.org/13.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.8-2013.09_linux.tar.xz" - bzr branch lp:linaro-ci lci-build-tools bash -x lci-build-tools/jenkins_kernel_build_inst cp -a builddir-*-${kernel_flavour}/.config kernel_config_${hwpack} # Get rootfs rm -f linaro-image-lng-generic*.tar.gz -export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv7a-rootfs/gcc_version=4.8,label=oe_persistent_cloud,rootfs=lng/lastSuccessfulBuild/buildNumber` -export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-armv7a-rootfs/gcc_version=4.8,label=oe_persistent_cloud,rootfs=lng/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd` -export ROOTFS_BUILD_URL="http://snapshots.linaro.org/openembedded/images/lng-armv7a-gcc-4.8/${ROOTFS_BUILD_NUMBER}/linaro-image-lng-genericarmv7a-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz" +export ROOTFS_BUILD_NUMBER=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-${rootfs_arch}-rootfs/gcc_version=4.8,label=oe_persistent_cloud,rootfs=lng/lastSuccessfulBuild/buildNumber` +export ROOTFS_BUILD_TIMESTAMP=`wget -q --no-check-certificate -O - https://ci.linaro.org/jenkins/job/openembedded-${rootfs_arch}-rootfs/gcc_version=4.8,label=oe_persistent_cloud,rootfs=lng/lastSuccessfulBuild/buildTimestamp?format=yyyyMMdd` +export ROOTFS_BUILD_URL="http://snapshots.linaro.org/openembedded/images/lng-${rootfs_arch}-gcc-4.8/${ROOTFS_BUILD_NUMBER}/linaro-image-lng-generic${rootfs_arch}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz" wget --progress=dot -e dotbytes=2M ${ROOTFS_BUILD_URL} # Create pre-built image(s) -${WORKSPACE}/linaro-image-tools/linaro-media-create --dev ${hwpack} --output-directory ${WORKSPACE} --image-size 3G --binary linaro-image-lng-genericarmv7a-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz --hwpack hwpack_linaro-${hwpack}_*.tar.gz --hwpack-force +${WORKSPACE}/linaro-image-tools/linaro-media-create --dev ${hwpack} --output-directory ${WORKSPACE} --image-size 3G --binary linaro-image-lng-generic${rootfs_arch}-${ROOTFS_BUILD_TIMESTAMP}-${ROOTFS_BUILD_NUMBER}.rootfs.tar.gz --hwpack hwpack_linaro-${hwpack}_*.tar.gz --hwpack-force # Compress image(s) mv sd.img ${hwpack}-lng-sd.img |