From patchwork Fri Apr 1 14:41:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 6172 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 819B4C433F5 for ; Fri, 1 Apr 2022 14:41:37 +0000 (UTC) Received: from mail-wr1-f45.google.com (mail-wr1-f45.google.com [209.85.221.45]) by mx.groups.io with SMTP id smtpd.web09.11435.1648824096656146836 for ; Fri, 01 Apr 2022 07:41:37 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=F5mV8geE; spf=pass (domain: linaro.org, ip: 209.85.221.45, mailfrom: rui.silva@linaro.org) Received: by mail-wr1-f45.google.com with SMTP id a1so4547425wrh.10 for ; Fri, 01 Apr 2022 07:41:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QJv7OJQlHN/FG/rWILEN8D02ibSQkhc/N0TwAhqvdcc=; b=F5mV8geERehw6dEpyPQQ8B+Iooc7CjmfbYg+bci6Xe98obzKebHAOU/j9VQSl6wYXE lN+z3OWRcLq/EZ/DsqFr+FbjNdOT7x1SEWqIe/dUxWRQmCXrH7F4REmFI6yt18pMh7h8 wjWrUmh8EovM+O5MOB+rsszEEdXkXoREA1eOfvFq3RKZAIhOQVjiS37bfoM3A+HlvWBj CJ8Z0rO+4s9tel91EIgT7iY5YLxFxCui7lNHeknYfIFeoycJG7iP6L3OVQmktoFSB4QR n1AgsOS0FnJdtnVeDziHLIKjiHOwy6p20e217aKL7PWCtGmIqpODhJv6ePTifmGP54Da hr3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QJv7OJQlHN/FG/rWILEN8D02ibSQkhc/N0TwAhqvdcc=; b=XRGHPKb6dfZ3mVgZXkFKp8TBaoPwnrJTdbgtpBL/goXwJils6J9vf2hvg49VsCR+CZ UID861M/inPorHsGwRHAfZD8p0WEs3lNOmjSxOJcMSlyjo6vCpHwFj013SxOyvJ84TQl 59C6l8ZC0r6vEXzOT0y/PmDf9hZ0WAcJuJpribxqH2jBScjWyGbgSwqnhJv4A4uQIXOS FZBMilBYk64YLM880tM5WwvROcBy1/rlxqiYerIT6WD8qCQg2hnMwZhzn42a7ThMdTE1 zSC7NMFpbPJNYZfeW9FK3Sni19g98h+NU6rhCiMDXiL2GGllKeO22r8O+x4Og6YQn+Fz MEfQ== X-Gm-Message-State: AOAM532w5l+qPqV7IMo1XRR1iFNzOYWShD4742SYMqKolhBmux+7Br5Z d7JaNHWsrDJbAXiBcuF2qZXfR9t1isHAXQ== X-Google-Smtp-Source: ABdhPJzluiBfHXe0SGPlcJrSaApebteujkPrIiLwrFtjhNewY/BK5M1AdaTsaA+UZDckZESbrEDNAQ== X-Received: by 2002:adf:fc06:0:b0:204:975:acfb with SMTP id i6-20020adffc06000000b002040975acfbmr8037284wrr.486.1648824095037; Fri, 01 Apr 2022 07:41:35 -0700 (PDT) Received: from arch-thunder.local (a109-49-33-111.cpe.netcabo.pt. [109.49.33.111]) by smtp.gmail.com with ESMTPSA id x13-20020adfec0d000000b00203ff46f802sm3144144wrn.36.2022.04.01.07.41.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 07:41:34 -0700 (PDT) From: Rui Miguel Silva To: meta-arm@lists.yoctoproject.org, Ross Burton Cc: Rui Miguel Silva Subject: [PATCH 1/4] arm-bsp/corstone500: add image and container file Date: Fri, 1 Apr 2022 15:41:25 +0100 Message-Id: <20220401144128.3517236-2-rui.silva@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220401144128.3517236-1-rui.silva@linaro.org> References: <20220401144128.3517236-1-rui.silva@linaro.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 01 Apr 2022 14:41:37 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/3226 Now that we have the wic_nopt class in meta-arm we can add the the wks file to create the final image for this platform. Signed-off-by: Rui Miguel Silva --- meta-arm-bsp/wic/core-image-minimal.corstone500.wks | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 meta-arm-bsp/wic/core-image-minimal.corstone500.wks diff --git a/meta-arm-bsp/wic/core-image-minimal.corstone500.wks b/meta-arm-bsp/wic/core-image-minimal.corstone500.wks new file mode 100644 index 000000000000..0ab359c40a1e --- /dev/null +++ b/meta-arm-bsp/wic/core-image-minimal.corstone500.wks @@ -0,0 +1,12 @@ +# WIC partitioning for corstone500 +# Layout and maximum sizes (to be defined): +# + +# Rawcopy of the FIP binary +part --source rawcopy --sourceparams="file=fip.bin" --no-table --align 1 --fixed-size 1 + +# Rawcopy of the kernel binary +part --source rawcopy --sourceparams="file=zImage" --no-table --fixed-size 12 + +# Rawcopy of the rootfs +part --source rawcopy --sourceparams="file=${IMGDEPLOYDIR}/core-image-minimal-corstone500.squashfs" --no-table From patchwork Fri Apr 1 14:41:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 6173 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7D7F6C433F5 for ; Fri, 1 Apr 2022 14:41:40 +0000 (UTC) Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) by mx.groups.io with SMTP id smtpd.web08.11651.1648824099696327374 for ; Fri, 01 Apr 2022 07:41:40 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=oswFaFAK; spf=pass (domain: linaro.org, ip: 209.85.221.47, mailfrom: rui.silva@linaro.org) Received: by mail-wr1-f47.google.com with SMTP id m30so4613199wrb.1 for ; Fri, 01 Apr 2022 07:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=S/QgDZq3iCEzZT0qPr/hIxilVTEfN4fUV1JxOKIWQws=; b=oswFaFAK6w0GtUsfpfuvVP1JWqvGgpLpti4k8R6KACtyGpi79Yz8lPitqBgfuO1SZB wl8cKuglz/MFosY7srF8E790QI9WaRgMNL/mFisXM7JZfIimo+bDgXEMFvyGuHcp5p4o 7qTV5MKZPJh6yEY0ZdiI9X1g580E0VqCmdH+XjYJZBBlKkl5nnEGL4Zi5HLuDFY0PqBJ KX7/UUWduVmD4votexPEs1yw6x/0ec/m6/9+mAT/SlxcPhgm+33JoIbSXorxpuy0lZNy X3uM07n7rQ7tuApp0JaliGR26AzxktfZGAmJX5tEhIeoHqIl7HaS5wSL7KfrufD4P9YS TCsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=S/QgDZq3iCEzZT0qPr/hIxilVTEfN4fUV1JxOKIWQws=; b=oinxOg4x+JaZku28xLkZTq2z+1fOxAClMhuATtKaJ9mP7jzlR9fAP8shNHfNPDcE1G 49K5MXLs+P/zPAG63UvQ3NdDESUI8pKsr67X9CuSROeg3PcRFiT0bfVVP+R7wm6+DS3U cKoI4p0or91oz3FHpI4ExTyQqJps8Yl6PJ8t1ioOGQ+MoljomlsfeMJ1vKUwNVIkXM4M IyEuiiiAIPkNxxsQyXcm/98g2j0frGlGd1+ocwzqNHarBJoRYjwrglWQQLivPUlXWlbj 5r6zG1N3evZZ69b9EmDGX+5DsCJ37UnUFwR70pNobdyZVTXiulLxJaMAtH7R9bLXy+gc B1TA== X-Gm-Message-State: AOAM530BM8zQ7Qoj0fte9EdH/ULBVw3qfqvkRg59Zt3G8TeuV51q+M+G 4uuMYEcqUTsf3WybKrbxkJwbpZVDCaZytQ== X-Google-Smtp-Source: ABdhPJykNq6cweT+c78/Gcc4PJvymqY6Ro5GsShcefzO/ulQ2sz6nYVwlThvX61lKo5mhWJX5dIYNQ== X-Received: by 2002:a5d:5981:0:b0:204:1da7:93d7 with SMTP id n1-20020a5d5981000000b002041da793d7mr8253254wri.621.1648824098119; Fri, 01 Apr 2022 07:41:38 -0700 (PDT) Received: from arch-thunder.local (a109-49-33-111.cpe.netcabo.pt. [109.49.33.111]) by smtp.gmail.com with ESMTPSA id x13-20020adfec0d000000b00203ff46f802sm3144144wrn.36.2022.04.01.07.41.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 07:41:37 -0700 (PDT) From: Rui Miguel Silva To: meta-arm@lists.yoctoproject.org, Ross Burton Cc: Rui Miguel Silva Subject: [PATCH 2/4] arm-bsp/corstone500: add wks container for image Date: Fri, 1 Apr 2022 15:41:26 +0100 Message-Id: <20220401144128.3517236-3-rui.silva@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220401144128.3517236-1-rui.silva@linaro.org> References: <20220401144128.3517236-1-rui.silva@linaro.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 01 Apr 2022 14:41:40 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/3227 Add final wic image that is provider by corstone500-image target. As at it, remove unnecessary specific filesystem types. Signed-off-by: Rui Miguel Silva --- meta-arm-bsp/conf/machine/corstone500.conf | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/meta-arm-bsp/conf/machine/corstone500.conf b/meta-arm-bsp/conf/machine/corstone500.conf index ca0ca7b55b6f..2d939d19cfad 100644 --- a/meta-arm-bsp/conf/machine/corstone500.conf +++ b/meta-arm-bsp/conf/machine/corstone500.conf @@ -16,12 +16,19 @@ PREFERRED_VERSION_linux-yocto ?= "5.15%" EXTRA_IMAGEDEPENDS += "trusted-firmware-a u-boot" -SERIAL_CONSOLES = "115200;ttyAMA0" +IMAGE_CLASSES += "wic_nopt" +IMAGE_FEATURES += "debug-tweaks" +IMAGE_FSTYPES:forcevariable = "cpio.gz squashfs wic wic.nopt" -IMAGE_FSTYPES += "tar.bz2 cpio.gz" +SERIAL_CONSOLES = "115200;ttyAMA0" # Corstone-500 u-boot configuration UBOOT_MACHINE = "corstone500_defconfig" UBOOT_IMAGE_ENTRYPOINT = "0x84000000" UBOOT_IMAGE_LOADADDRESS = "0x84000000" PREFERRED_VERSION_u-boot ?= "2022.01" + +# making sure EXTRA_IMAGEDEPENDS will be used while creating the image +WKS_FILE_DEPENDS:append = " ${EXTRA_IMAGEDEPENDS}" + +WKS_FILE ?= "core-image-minimal.corstone500.wks" From patchwork Fri Apr 1 14:41:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 6174 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 95335C433F5 for ; Fri, 1 Apr 2022 14:41:43 +0000 (UTC) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.web09.11437.1648824102529955348 for ; Fri, 01 Apr 2022 07:41:43 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=EIHHuEeY; spf=pass (domain: linaro.org, ip: 209.85.128.48, mailfrom: rui.silva@linaro.org) Received: by mail-wm1-f48.google.com with SMTP id k124-20020a1ca182000000b0038c9cf6e2a6so1625882wme.0 for ; Fri, 01 Apr 2022 07:41:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=oKQSietgt8HSw8cQjZ0N/z0GPG4Um9elWfvCDJszoNE=; b=EIHHuEeYgWPTaQSMCIwB1rrUGHvxMKJYviQ1VqDToynkU82AOxfFvVdCR7zaRjOT5U bj2ccjPXyTx1AhAYpj1XT5Z2QgaH9NZzv9CuiLSWAR+dAcwh4CNWw2dd4H9Sx6V0dnh1 +0bBRvt52fK5P+qqb4CdIaW2Ao/3T4MRNMuTmOGGNfkAt7a/SuYaNFjs3g2iG8ptKkSU b0FK2S08fuYmdQPCq8sICzXtrrBSjT4ktb0ww5vwvoiWF1n+jLMIyRzjT6gqNlU0M344 QQVcYaNS2meg8ehqJCxkLgeJSIdL1LutFqPraMvT5ppzbWQigxFezSxTIMwr9X7ZeCtK ZdyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=oKQSietgt8HSw8cQjZ0N/z0GPG4Um9elWfvCDJszoNE=; b=KuGM44f2QkT6QOypiaq2iGhLia4jiAAa0DUpwTOTu1u/oguAIAgOtRp4s9gw0EwL6T VWE401CtB8orMuxrwajbtNz1NwlfuKpVBgjyYhi5Fjg/ulKfXLRnGeDFerv+8ZXCAEDN FENPhMlGZrA6cY2EzG3pZRQyOA4h3Pa4UVbHyG/F2XhKB/C1lYDnSYXCSKbfMWECuKro bK985nIQf+mid4F6Cf2F6IV/jiqlOn9PHzou6YqBJ/fwZFpfsAfHB5M2gdXIZE/OoBpI gE/sPafes0+1M9Ig1HCSo25y3uCJt6zww5L1W1yXaJi1o+JzB7cZQpQDTNF6ks1Sqbz3 B9CA== X-Gm-Message-State: AOAM532WrKFQmYqc9+dM+uXK88U0QrplIL9rnIspUrYA5nHl76Z68suf wnSZbQfTAxnSFuTwkZfb+V9JsCrHx5cerQ== X-Google-Smtp-Source: ABdhPJwMkNdN9NJ5N4N9BOGsnciPy9O4wEy0vk2syJLYYDeiapLn5unl00FuleblToua4QBSh46ncA== X-Received: by 2002:a05:600c:3c8c:b0:38e:4c59:6852 with SMTP id bg12-20020a05600c3c8c00b0038e4c596852mr5600321wmb.194.1648824100827; Fri, 01 Apr 2022 07:41:40 -0700 (PDT) Received: from arch-thunder.local (a109-49-33-111.cpe.netcabo.pt. [109.49.33.111]) by smtp.gmail.com with ESMTPSA id x13-20020adfec0d000000b00203ff46f802sm3144144wrn.36.2022.04.01.07.41.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 07:41:40 -0700 (PDT) From: Rui Miguel Silva To: meta-arm@lists.yoctoproject.org, Ross Burton Cc: Rui Miguel Silva Subject: [PATCH 3/4] kas/ci: add corstone500 platform Date: Fri, 1 Apr 2022 15:41:27 +0100 Message-Id: <20220401144128.3517236-4-rui.silva@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220401144128.3517236-1-rui.silva@linaro.org> References: <20220401144128.3517236-1-rui.silva@linaro.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 01 Apr 2022 14:41:43 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/3228 Add kas and ci, including testimage support for corstone500 platform. And for all to work add also the FVP setup. Signed-off-by: Rui Miguel Silva --- .gitlab-ci.yml | 5 +++ ci/corstone500.yml | 12 ++++++ kas/corstone500.yml | 47 ++++++++++++++++++++++ meta-arm-bsp/conf/machine/corstone500.conf | 11 +++++ 4 files changed, 75 insertions(+) create mode 100644 kas/corstone500.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 21fcd43f768f..67739f3968b4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -72,6 +72,11 @@ update-repos: corstone500: extends: .build + parallel: + matrix: + - TESTING: testimage + tags: + - x86_64 corstone1000-fvp: extends: .build diff --git a/ci/corstone500.yml b/ci/corstone500.yml index 510a2ffb4ca7..ef78cacdf7fd 100644 --- a/ci/corstone500.yml +++ b/ci/corstone500.yml @@ -3,4 +3,16 @@ header: includes: - ci/base.yml +local_conf_header: + testimagefvp: | + INHERIT += "fvpboot" + IMAGE_FEATURES:remove = " ssh-server-dropbear" + perf: | + machine: corstone500 + +distro: poky-tiny + +target: + - core-image-minimal + - perf diff --git a/kas/corstone500.yml b/kas/corstone500.yml new file mode 100644 index 000000000000..a454a469b7d2 --- /dev/null +++ b/kas/corstone500.yml @@ -0,0 +1,47 @@ +header: + version: 11 + +distro: poky-tiny + +defaults: + repos: + refspec: master + +repos: + meta-arm: + layers: + meta-arm: + meta-arm-bsp: + meta-arm-toolchain: + + poky: + url: https://git.yoctoproject.org/git/poky + refspec: master + layers: + meta: + meta-poky: + meta-yocto-bsp: + + meta-openembedded: + url: https://git.openembedded.org/meta-openembedded + refspec: master + layers: + meta-oe: + meta-python: + +local_conf_header: + base: | + CONF_VERSION = "2" + PACKAGE_CLASSES = "package_ipk" + LICENSE_FLAGS_ACCEPTED += "armcompiler" + BB_NUMBER_THREADS ?= "16" + PARALLEL_MAKE ?= "-j16" + PACKAGECONFIG:append:pn-perf = " coresight" + fvp-config: | + IMAGE_CLASSES:append = " ${@bb.utils.contains('BUILD_ARCH', 'x86_64', 'fvpboot', '', d)}" + LICENSE_FLAGS_ACCEPTED:append = " Arm-FVP-EULA" + +machine: corstone500 + +target: + - core-image-minimal diff --git a/meta-arm-bsp/conf/machine/corstone500.conf b/meta-arm-bsp/conf/machine/corstone500.conf index 2d939d19cfad..526fff78ec34 100644 --- a/meta-arm-bsp/conf/machine/corstone500.conf +++ b/meta-arm-bsp/conf/machine/corstone500.conf @@ -32,3 +32,14 @@ PREFERRED_VERSION_u-boot ?= "2022.01" WKS_FILE_DEPENDS:append = " ${EXTRA_IMAGEDEPENDS}" WKS_FILE ?= "core-image-minimal.corstone500.wks" + +TEST_TARGET = "OEFVPTarget" +TEST_SUITES = "noop" + +FVP_PROVIDER ?= "fvp-corstone500-native" +FVP_EXE ?= "FVP_Corstone-500" +FVP_CONFIG[board.flashloader0.fname] ?= "${DEPLOY_DIR_IMAGE}/bl1.bin" +FVP_DATA ?= "css.cluster.cpu0=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.wic.nopt@0x80000000" +FVP_CONSOLE ?= "terminal_0" +FVP_TERMINALS[css.terminal_0] ?= "console" +FVP_TERMINALS[css.terminal_1] ?= "" From patchwork Fri Apr 1 14:41:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 6175 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E3C8C433EF for ; Fri, 1 Apr 2022 14:41:45 +0000 (UTC) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mx.groups.io with SMTP id smtpd.web08.11654.1648824104302195226 for ; Fri, 01 Apr 2022 07:41:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=oqo5FU8W; spf=pass (domain: linaro.org, ip: 209.85.128.53, mailfrom: rui.silva@linaro.org) Received: by mail-wm1-f53.google.com with SMTP id i132-20020a1c3b8a000000b0038ce25c870dso3661179wma.1 for ; Fri, 01 Apr 2022 07:41:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QbKAncYfRxKjAu49RBbmIhuOOL/46sQdw1WLC7NALpg=; b=oqo5FU8WWaebzmEwgdC8m7tPFkYCIBE7mfW1w095iq8F/WWTuEe/jL5RpS+IGnadi7 V3IEsEZYuxK06hNxblDzHjtwjvIxUd2IfBA5cYEEziBsvwNyOPDCA04fjK05CJp0wZ+u 5/Za0joaRakfwlWA3T12TaHKkwh+Pz8ah52dgmS9hSuG9Biz1K4iiYa/RL9gvOgHepZe AeSOlb3OAfmcbs1PVEirih9tnFdZ9ncw68tUmmhBVUhoDIrsmX/imzQ6L8ufahjU8PRo +2Xhl7IwYeQjVtTh6FqaiKdpqo1byonR2LlZZBJVl9lDA5BJf7YyVBooB26Fp2+7uvgn UPrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=QbKAncYfRxKjAu49RBbmIhuOOL/46sQdw1WLC7NALpg=; b=gZVZQJdKQGRfozk5m6NuoaFT0olT5Eab4wjdmZe3LfImSqgdIdMKDv9ID6Pi0rCnNX zPX7xCPv4m/WOzhNGAHy2fSAXCi5X701fX3K55T+eaFygRa9kKKIrRmcPE5oc4tERBv7 ECmbvL7IfBVmVcuzKWk06HMzlftMn5H3SIGTGf8paQ9b4+bWD335wEOKOhwlhDt5k5S9 laSAQ8hRXCzQMY++iyTsJXVWMyRkLevgWN98fS4vwv9WrS4cVQV/kPeDQUD+79WYgv3d LJnf9ZCTy5yLW+8ZsgrxeZ+LK/FdP6PbdLqTR+r03HxHI2AuLrf6gh5esmUkhex1j7xN 3Bnw== X-Gm-Message-State: AOAM530VoFrpUi66kjtUCDdKSNnaQCJy8zbYxrE4qU6iktMkNgbtCDZp 30BIlzVD9QBvd6P46A/k5EPSwv8TxigS+w== X-Google-Smtp-Source: ABdhPJxZ1hD0w9zWxWS/gx28Ah46sqe4AAyB/9s7DlUKCKNKeci3fmLwaeN7p6b17PE0VN5pDeHlSg== X-Received: by 2002:a05:600c:ca:b0:38c:b426:3124 with SMTP id u10-20020a05600c00ca00b0038cb4263124mr9191779wmm.59.1648824102660; Fri, 01 Apr 2022 07:41:42 -0700 (PDT) Received: from arch-thunder.local (a109-49-33-111.cpe.netcabo.pt. [109.49.33.111]) by smtp.gmail.com with ESMTPSA id x13-20020adfec0d000000b00203ff46f802sm3144144wrn.36.2022.04.01.07.41.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 07:41:42 -0700 (PDT) From: Rui Miguel Silva To: meta-arm@lists.yoctoproject.org, Ross Burton Cc: Rui Miguel Silva Subject: [PATCH 4/4] arm-bsp/corstone500/docs: update for kas and runfvp Date: Fri, 1 Apr 2022 15:41:28 +0100 Message-Id: <20220401144128.3517236-5-rui.silva@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220401144128.3517236-1-rui.silva@linaro.org> References: <20220401144128.3517236-1-rui.silva@linaro.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 01 Apr 2022 14:41:45 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/3229 Update corstone500 documentation to reflect the new build infrastructure (kas) and the in tree run of the fvp using the runfvp command. Signed-off-by: Rui Miguel Silva --- meta-arm-bsp/documentation/corstone500.md | 28 +++++++++++++---------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/meta-arm-bsp/documentation/corstone500.md b/meta-arm-bsp/documentation/corstone500.md index 92f8a9842079..0f019611b728 100644 --- a/meta-arm-bsp/documentation/corstone500.md +++ b/meta-arm-bsp/documentation/corstone500.md @@ -3,22 +3,26 @@ ## Howto Build and Run ### Configuration: -In the local.conf file, MACHINE should be set as follow: -MACHINE ?= "corstone500" -DISTRO ?= "poky-tiny" -Or set environment variables with that values: - -MACHINE "corstone500" -DISTRO "poky-tiny" +Use the kas ### Build: -``bash$ bitbake arm-reference-image``` + +``bash$ kas build kas/corstone500.yml ### Run: -To run the result in a Fixed Virtual Platform please get: -https://git.linaro.org/landing-teams/working/arm/model-scripts -and follow the instructions in the readme.txt file in that -repository. +Building using kas should have fetch the Fixed Virtual Platform for this +platform and installed at: + +build/tmp/sysroots-components/x86_64/fvp-corstone500-native/usr/bin/./FVP_Corstone-500 + +with this in place is possible to launch the FVP using the runfvp inside the +scripts directory: + +cd scripts + +./runfvp ../build/tmp/deploy/images/corstone500/core-image-minimal-corstone500.fvpconf --console + +this will output the console in the launching terminal