summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2013-10-07 19:47:48 +0200
committerAnders Roxell <anders.roxell@linaro.org>2013-10-07 19:47:48 +0200
commitb530ed00f6a7111150d86f72d50b8c4c8ec78112 (patch)
tree5b1e0824edadc2b3974f47000c6e4f2dd0262d9f
parent3b300bcfdb1e2ba671bd938a94b735b50d2e9f6f (diff)
add support for armv8
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rwxr-xr-xlinux-lng.sh27
1 files changed, 19 insertions, 8 deletions
diff --git a/linux-lng.sh b/linux-lng.sh
index e133255..145fa9e 100755
--- a/linux-lng.sh
+++ b/linux-lng.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/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/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