From: Bruce Ashfield <bruce.ashfield@gmail.com>
To: abrodkin@synopsys.com
Cc: linux-yocto@lists.yoctoproject.org,
linux-snps-arc@lists.infradead.org,
Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Subject: Re: [linux-yocto] [PATCH] ARC: Rename nSIM HS to HAPS HS
Date: Wed, 2 Jun 2021 17:01:48 -0400 [thread overview]
Message-ID: <20210602210146.GA26712@gmail.com> (raw)
In-Reply-To: <20210531201641.2804-1-abrodkin@synopsys.com>
Looks good to me.
What branches were you targetting for the change ?
Bruce
In message: [linux-yocto] [PATCH] ARC: Rename nSIM HS to HAPS HS
on 31/05/2021 Alexey Brodkin via lists.yoctoproject.org wrote:
> In v5.5 kernel we merged "nsim_hs" config into "haps_hs", see [1],
> and from then on we use the same one "haps_hs" for everything simulated:
> nSIM/QEMU/FPGA.
>
> Of important notes:
> * We switched from legacy ARC UART to a standard DW UART
>
> * QEMU port for ARC is under review upstream, see [2].
> But even today with WIP version from our GitHub fork [3] its possible
> to run this image for "hapshs" machine as simple as:
> ----------------------------->8------------------------------
> $ qemu-system-arc -cpu archs -M virt -nographic -no-reboot -monitor none \
> -kernel build/tmp-glibc/deploy/images/hapshs/vmlinux-initramfs-hapshs.bin
> ----------------------------->8------------------------------
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1681baa713aa138d3f0f77f05c3de1cd6416c7d6
> [2] https://lists.gnu.org/archive/html/qemu-devel/2021-04/msg00458.html
> [3] https://github.com/foss-for-synopsys-dwc-arc-processors/qemu
>
> Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
> ---
> .../nsimhs-standard.scc => hapshs/hapshs-standard.scc} | 4 ++--
> bsp/hapshs/hapshs.cfg | 12 ++++++++++++
> bsp/{nsimhs/nsimhs.scc => hapshs/hapshs.scc} | 2 +-
> bsp/nsimhs/nsimhs.cfg | 10 ----------
> 4 files changed, 15 insertions(+), 13 deletions(-)
> rename bsp/{nsimhs/nsimhs-standard.scc => hapshs/hapshs-standard.scc} (72%)
> create mode 100644 bsp/hapshs/hapshs.cfg
> rename bsp/{nsimhs/nsimhs.scc => hapshs/hapshs.scc} (54%)
> delete mode 100644 bsp/nsimhs/nsimhs.cfg
>
> diff --git a/bsp/nsimhs/nsimhs-standard.scc b/bsp/hapshs/hapshs-standard.scc
> similarity index 72%
> rename from bsp/nsimhs/nsimhs-standard.scc
> rename to bsp/hapshs/hapshs-standard.scc
> index 3201ca52..1842b00c 100644
> --- a/bsp/nsimhs/nsimhs-standard.scc
> +++ b/bsp/hapshs/hapshs-standard.scc
> @@ -1,8 +1,8 @@
> # SPDX-License-Identifier: MIT
> -define KMACHINE nsimhs
> +define KMACHINE hapshs
> define KTYPE standard
> define KARCH arc
>
> include ktypes/standard/standard.scc
>
> -include nsimhs.scc
> +include hapshs.scc
> diff --git a/bsp/hapshs/hapshs.cfg b/bsp/hapshs/hapshs.cfg
> new file mode 100644
> index 00000000..adcc0531
> --- /dev/null
> +++ b/bsp/hapshs/hapshs.cfg
> @@ -0,0 +1,12 @@
> +# SPDX-License-Identifier: MIT
> +# ARCv2 ISA
> +CONFIG_ISA_ARCV2=y
> +
> +# Serial port
> +CONFIG_SERIAL_8250=y
> +CONFIG_SERIAL_8250_CONSOLE=y
> +CONFIG_SERIAL_8250_DW=y
> +CONFIG_SERIAL_OF_PLATFORM=y
> +
> +# Built-in .dtb
> +CONFIG_ARC_BUILTIN_DTB_NAME="haps_hs"
> diff --git a/bsp/nsimhs/nsimhs.scc b/bsp/hapshs/hapshs.scc
> similarity index 54%
> rename from bsp/nsimhs/nsimhs.scc
> rename to bsp/hapshs/hapshs.scc
> index 3c1613a6..ea2b8b6c 100644
> --- a/bsp/nsimhs/nsimhs.scc
> +++ b/bsp/hapshs/hapshs.scc
> @@ -1,2 +1,2 @@
> # SPDX-License-Identifier: MIT
> -kconf hardware nsimhs.cfg
> +kconf hardware hapshs.cfg
> diff --git a/bsp/nsimhs/nsimhs.cfg b/bsp/nsimhs/nsimhs.cfg
> deleted file mode 100644
> index 34580a39..00000000
> --- a/bsp/nsimhs/nsimhs.cfg
> +++ /dev/null
> @@ -1,10 +0,0 @@
> -# SPDX-License-Identifier: MIT
> -# ARCv2 ISA
> -CONFIG_ISA_ARCV2=y
> -
> -# Legacy ARC UART
> -CONFIG_SERIAL_ARC=y
> -CONFIG_SERIAL_ARC_CONSOLE=y
> -
> -# Built-in .dtb
> -CONFIG_ARC_BUILTIN_DTB_NAME="nsim_hs"
> --
> 2.16.2
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#9926): https://lists.yoctoproject.org/g/linux-yocto/message/9926
> Mute This Topic: https://lists.yoctoproject.org/mt/83218216/1050810
> Group Owner: linux-yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
_______________________________________________
linux-snps-arc mailing list
linux-snps-arc@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-snps-arc
next prev parent reply other threads:[~2021-06-02 21:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-31 20:16 [PATCH] ARC: Rename nSIM HS to HAPS HS Alexey Brodkin
2021-06-02 21:01 ` Bruce Ashfield [this message]
[not found] ` <PH0PR12MB54014FDE72F1682196FEF1C2A13D9@PH0PR12MB5401.namprd12.prod.outlook.com>
[not found] ` <PH0PR12MB5401FC57FA40A239F8CA20FFA1349@PH0PR12MB5401.namprd12.prod.outlook.com>
2021-06-11 16:55 ` [linux-yocto] " Bruce Ashfield
2021-06-11 16:59 ` Alexey Brodkin
2021-06-11 17:31 ` Bruce Ashfield
2021-06-11 17:45 ` Alexey Brodkin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210602210146.GA26712@gmail.com \
--to=bruce.ashfield@gmail.com \
--cc=Alexey.Brodkin@synopsys.com \
--cc=abrodkin@synopsys.com \
--cc=linux-snps-arc@lists.infradead.org \
--cc=linux-yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox