Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Vincent Stehlé via buildroot" <buildroot@buildroot.org>
To: Romain Naour <romain.naour@smile.fr>
Cc: buildroot@buildroot.org, Julien Olivain <ju.o@free.fr>,
	Giulio Benetti <giulio.benetti@benettiengineering.com>,
	Romain Naour <romain.naour@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [Buildroot] [PATCH 5/5] configs/qemu_hppa_b160l: new defconfig
Date: Sun, 1 Jun 2025 14:59:13 +0200	[thread overview]
Message-ID: <aDxOoa4O0rMuMaIw@romuald.bergerie> (raw)
In-Reply-To: <a1c7723c-0cef-4c11-9566-99fefde68738@smile.fr>

On Fri, May 23, 2025 at 10:53:55PM +0200, Romain Naour wrote:
> Hello Vincent, All,

Dear Romain,

Thank you very much for reviewing and testing!
I will fix everything that you reported and send a v2 soon.

Best regards,
Vincent.

> 
> Le 23/05/2025 à 19:43, Vincent Stehlé via buildroot a écrit :
> > Add a defconfig to run Linux on a HP Visualize B160L PA-RISC Workstation,
> > emulated with Qemu.
> > 
> > While at it, add myself in DEVELOPERS.
> 
> # uname -a
> Linux buildroot 6.12.27-32bit #1 SMP Fri May 23 20:22:04 UTC 2025 parisc GNU/Linux
> 
> # cat /proc/cpuinfo
> processor	: 0
> cpu family	: PA-RISC 1.1e
> cpu		: PA7300LC (PCX-L2)
> cpu MHz		: 250.000000
> physical id	: 0
> siblings	: 1
> core id		: 0
> capabilities	: os32 nva_supported (0x02)
> model		: 9000/778/B160L - Merlin L2 160 (9000/778/B160L)
> [...]
> 
> Well, it works maybe the next step is to add GNU/Hurd support in Buildroot ? :)
> 
> Best regards,
> Romain
> 
> 
> > 
> > Signed-off-by: Vincent Stehlé <vincent.stehle@laposte.net>
> > Cc: Romain Naour <romain.naour@gmail.com>
> > ---
> >  DEVELOPERS                        |  2 ++
> >  board/qemu/hppa-b160l/readme.txt  | 31 +++++++++++++++++++++++++++++++
> >  configs/qemu_hppa_b160l_defconfig | 18 ++++++++++++++++++
> >  3 files changed, 51 insertions(+)
> >  create mode 100644 board/qemu/hppa-b160l/readme.txt
> >  create mode 100644 configs/qemu_hppa_b160l_defconfig
> > 
> > diff --git a/DEVELOPERS b/DEVELOPERS
> > index 47f3e030e5..f185307f60 100644
> > --- a/DEVELOPERS
> > +++ b/DEVELOPERS
> > @@ -3385,8 +3385,10 @@ F:	arch/Config.in.hppa
> >  F:	arch/arch.mk.hppa
> >  F:	board/arm/foundation-v8/
> >  F:	board/bananapi/bananapi-m2-zero/
> > +F:	board/qemu/hppa-b160l/
> >  F:	configs/arm_foundationv8_defconfig
> >  F:	configs/bananapi_m2_zero_defconfig
> > +F:	configs/qemu_hppa_b160l_defconfig
> >  F:	configs/uevm5432_defconfig
> >  F:	package/i7z/
> >  F:	package/msr-tools/
> > diff --git a/board/qemu/hppa-b160l/readme.txt b/board/qemu/hppa-b160l/readme.txt
> > new file mode 100644
> > index 0000000000..75e50e451b
> > --- /dev/null
> > +++ b/board/qemu/hppa-b160l/readme.txt
> > @@ -0,0 +1,31 @@
> > +Introduction
> > +============
> > +
> > +The qemu_hppa_b160l_defconfig is meant to run Linux on a HP Visualize B160L
> > +PA-RISC Workstation, emulated with Qemu.
> > +
> > +Building
> > +========
> > +
> > +  $ make qemu_hppa_b160l_defconfig
> > +  $ make
> > +
> > +Generated files under output/images:
> > +
> > +* rootfs.ext4: the root filesystem.
> > +* vmlinux: the Linux kernel.
> > +
> > +Running under Qemu
> > +==================
> > +
> > +Run the emulation with:
> > +
> > +  qemu-system-hppa \
> > +      -machine B160L \
> > +      -append "rootwait root=/dev/sda" \
> > +      -hda output/images/rootfs.ext4 \
> > +      -kernel output/images/vmlinux \
> > +      -nographic \
> > +      -smp 2 # qemu_hppa_b160l_defconfig
> > +
> > +The login prompt will appear in the terminal that started Qemu.
> > diff --git a/configs/qemu_hppa_b160l_defconfig b/configs/qemu_hppa_b160l_defconfig
> > new file mode 100644
> > index 0000000000..188f195f76
> > --- /dev/null
> > +++ b/configs/qemu_hppa_b160l_defconfig
> > @@ -0,0 +1,18 @@
> > +BR2_hppa=y
> > +BR2_parisc11=y
> > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_12=y
> > +BR2_GLOBAL_PATCH_DIR="board/qemu/patches"
> > +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
> > +BR2_SYSTEM_DHCP="eth0"
> > +BR2_ROOTFS_POST_IMAGE_SCRIPT="board/qemu/post-image.sh"
> > +BR2_ROOTFS_POST_SCRIPT_ARGS="$(BR2_DEFCONFIG)"
> > +BR2_LINUX_KERNEL=y
> > +BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> > +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.12.27"
> > +BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG=y
> > +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
> > +BR2_TARGET_ROOTFS_EXT2=y
> > +BR2_TARGET_ROOTFS_EXT2_4=y
> > +# BR2_TARGET_ROOTFS_TAR is not set
> > +BR2_PACKAGE_HOST_QEMU=y
> > +BR2_PACKAGE_HOST_QEMU_SYSTEM_MODE=y
> 
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2025-06-01 12:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-23 17:43 [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC) Vincent Stehlé via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 1/5] hppa: Add new architecture Vincent Stehlé via buildroot
2025-05-23 20:42   ` Romain Naour via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 2/5] package/gcc: enable hppa support Vincent Stehlé via buildroot
2025-05-23 20:43   ` Romain Naour via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 3/5] package/glibc: " Vincent Stehlé via buildroot
2025-05-23 20:45   ` Romain Naour via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 4/5] package/qemu: enable host-qemu " Vincent Stehlé via buildroot
2025-05-23 20:49   ` Romain Naour via buildroot
2025-05-23 17:43 ` [Buildroot] [PATCH 5/5] configs/qemu_hppa_b160l: new defconfig Vincent Stehlé via buildroot
2025-05-23 20:53   ` Romain Naour via buildroot
2025-06-01 12:59     ` Vincent Stehlé via buildroot [this message]
2025-05-23 17:49 ` [Buildroot] [PATCH 2/5] package/gcc: enable hppa support Vincent Stehlé via buildroot
2025-05-23 17:49 ` [Buildroot] [PATCH 5/5] configs/qemu_hppa_b160l: new defconfig Vincent Stehlé via buildroot
2025-05-30 20:04 ` [Buildroot] [PATCH 0/5] Add support for HPPA (PA-RISC) Thomas Petazzoni via buildroot
2025-06-01 13:23   ` Vincent Stehlé via buildroot

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=aDxOoa4O0rMuMaIw@romuald.bergerie \
    --to=buildroot@buildroot.org \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=ju.o@free.fr \
    --cc=romain.naour@gmail.com \
    --cc=romain.naour@smile.fr \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=vincent.stehle@laposte.net \
    /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