Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Waldemar Brodkorb <wbx@openadk.org>
Cc: Romain Naour <romain.naour@gmail.com>,
	ARC Maintainers <arc-buildroot@synopsys.com>,
	Giulio Benetti <giulio.benetti@benettiengineering.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 4/6] configs/qemu: add qemu_arc_defconfig
Date: Sun, 31 Dec 2023 21:27:48 +0100	[thread overview]
Message-ID: <ZZHOxLRXJ9U8apJA@landeda> (raw)
In-Reply-To: <20231231172538.1279608-5-wbx@openadk.org>

Waldemar, All,

On 2023-12-31 18:25 +0100, Waldemar Brodkorb spake thusly:
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>

Add a bit of explanations in the commit log, especially given the
following...

> ---
[--SNIP--]
> diff --git a/board/qemu/arc/readme.txt b/board/qemu/arc/readme.txt
> new file mode 100644
> index 0000000000..93bb9c2152
> --- /dev/null
> +++ b/board/qemu/arc/readme.txt
> @@ -0,0 +1,8 @@
> +You need Qemu fork from here:
> +https://github.com/foss-for-synopsys-dwc-arc-processors/qemu

So, we are dropping all the arc specific versions for the toolchain
components, but we eventually introduce a defconfig that relies on an
arc specific version of qemu, that we do not even package in Buildroot,
so that users can't even enable host-qemu in Buildroot.

That is a bit sad...

What is the rationale for introducing this defconfig, then?

Regards,
Yann E. MORIN.

> +Run the emulation with:
> +
> + qemu-system-arc -monitor none -serial stdio -netdev user,id=eth0 -device virtio-net-device,netdev=eth0 -cpu archs -kernel output/images/vmlinux -nographic # qemu_arc_defconfig
> +
> +The login prompt will appear in the terminal that started Qemu.
> diff --git a/configs/qemu_arc_defconfig b/configs/qemu_arc_defconfig
> new file mode 100644
> index 0000000000..d65e28a3d0
> --- /dev/null
> +++ b/configs/qemu_arc_defconfig
> @@ -0,0 +1,30 @@
> +# Architecture
> +BR2_arc=y
> +BR2_arcle=y
> +BR2_archs38=y
> +
> +# System
> +BR2_SYSTEM_DHCP="eth0"
> +
> +# Filesystem
> +# BR2_TARGET_ROOTFS_TAR is not set
> +BR2_TARGET_ROOTFS_INITRAMFS=y
> +
> +# Image
> +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
> +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
> +
> +# Linux headers same as kernel
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_1=y
> +
> +# Kernel
> +BR2_LINUX_KERNEL=y
> +BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.1.44"
> +BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> +BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/qemu/arc/linux.config"
> +BR2_LINUX_KERNEL_VMLINUX=y
> +
> +# host-qemu for gitlab testing
> +BR2_PACKAGE_HOST_QEMU=y
> +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
> -- 
> 2.30.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2023-12-31 20:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-31 17:25 [Buildroot] [PATCH 0/6] rework arc architecture support Waldemar Brodkorb
2023-12-31 17:25 ` [Buildroot] [PATCH 1/6] package/gcc: remove special arc version Waldemar Brodkorb
2023-12-31 20:02   ` Yann E. MORIN
2024-01-01 14:43     ` [Buildroot] [arc-buildroot] " Alexey Brodkin via buildroot
2024-01-01 20:05       ` Yann E. MORIN
2023-12-31 20:13   ` [Buildroot] " Yann E. MORIN
2023-12-31 17:25 ` [Buildroot] [PATCH 2/6] package/binutils: " Waldemar Brodkorb
2023-12-31 20:10   ` Yann E. MORIN
2023-12-31 17:25 ` [Buildroot] [PATCH 3/6] package/gdb: " Waldemar Brodkorb
2023-12-31 20:24   ` Yann E. MORIN
2023-12-31 17:25 ` [Buildroot] [PATCH 4/6] configs/qemu: add qemu_arc_defconfig Waldemar Brodkorb
2023-12-31 20:27   ` Yann E. MORIN [this message]
2023-12-31 21:55     ` Waldemar Brodkorb
2024-01-01 14:47       ` [Buildroot] [arc-buildroot] " Alexey Brodkin via buildroot
2024-01-01 20:18       ` [Buildroot] " Yann E. MORIN
2024-01-06 22:22   ` [Buildroot] [arc-buildroot] " Alexey Brodkin via buildroot
2023-12-31 17:25 ` [Buildroot] [PATCH 5/6] configs/snps_arc700_nsim_defconfig: update kernel Waldemar Brodkorb
2023-12-31 17:25 ` [Buildroot] [PATCH 6/6] configs/snps_archs38_hsdk_defconfig: " Waldemar Brodkorb

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=ZZHOxLRXJ9U8apJA@landeda \
    --to=yann.morin.1998@free.fr \
    --cc=arc-buildroot@synopsys.com \
    --cc=buildroot@buildroot.org \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=romain.naour@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=wbx@openadk.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