All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joel Stanley <joel@jms.id.au>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3] board: Add PowerPC mac99
Date: Thu, 18 Jul 2019 06:41:41 +0000	[thread overview]
Message-ID: <CACPK8Xej-ayWSaUkbHSHSM5fKKej5-XWEb+ZcTAORdow48+CHw@mail.gmail.com> (raw)
In-Reply-To: <20190625012652.21853-1-joel@jms.id.au>

On Tue, 25 Jun 2019 at 01:26, Joel Stanley <joel@jms.id.au> wrote:
>
> PowerPC kernel developers were after a userspace for testing 32-bit
> powerpc kernels. This machine both suits that requirement and has
> support in qemu. It's also a fairly common piece of 32-bit ppc hardware.
>
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> Tested-by: Daniel Axtens <dja@axtens.net>

Ping

> ---
> v3: Add ROOTFS_CPIO output as well as ext
> v2: Use default output directory for qemu command line in readme
>
>  DEVELOPERS                          |  2 ++
>  board/qemu/ppc-mac99/linux.fragment |  3 +++
>  board/qemu/ppc-mac99/readme.txt     |  5 +++++
>  configs/qemu_ppc_mac99_defconfig    | 11 +++++++++++
>  4 files changed, 21 insertions(+)
>  create mode 100644 board/qemu/ppc-mac99/linux.fragment
>  create mode 100644 board/qemu/ppc-mac99/readme.txt
>  create mode 100644 configs/qemu_ppc_mac99_defconfig
>
> diff --git a/DEVELOPERS b/DEVELOPERS
> index ce3fcb2de8c1..29a560f4a398 100644
> --- a/DEVELOPERS
> +++ b/DEVELOPERS
> @@ -1147,6 +1147,8 @@ N:        Joel Stanley <joel@jms.id.au>
>  F:     package/pdbg/
>  F:     board/qemu/ppc64le-pseries/
>  F:     configs/qemu_ppc64le_pseries_defconfig
> +F:     board/qemu/ppc-mac99/
> +F:     configs/qemu_ppc_mac99_defconfig
>
>  N:     Johan Derycke <johanderycke@gmail.com>
>  F:     package/python-libconfig/
> diff --git a/board/qemu/ppc-mac99/linux.fragment b/board/qemu/ppc-mac99/linux.fragment
> new file mode 100644
> index 000000000000..b1975f8253f7
> --- /dev/null
> +++ b/board/qemu/ppc-mac99/linux.fragment
> @@ -0,0 +1,3 @@
> +CONFIG_SERIAL_PMACZILOG=y
> +CONFIG_SERIAL_PMACZILOG_TTYS=y
> +CONFIG_SERIAL_PMACZILOG_CONSOLE=y
> diff --git a/board/qemu/ppc-mac99/readme.txt b/board/qemu/ppc-mac99/readme.txt
> new file mode 100644
> index 000000000000..a8a18db5b9ab
> --- /dev/null
> +++ b/board/qemu/ppc-mac99/readme.txt
> @@ -0,0 +1,5 @@
> +Run the emulation with:
> +
> +  qemu-system-ppc -nographic -vga none -M mac99 -cpu g4 -m 1G -kernel output/images/vmlinux -drive file=output/images/rootfs.ext2,format=raw -net nic,model=sungem -net user -append "root=/dev/sda"
> +
> +Tested with QEMU 3.1.0
> diff --git a/configs/qemu_ppc_mac99_defconfig b/configs/qemu_ppc_mac99_defconfig
> new file mode 100644
> index 000000000000..7a6a279c5399
> --- /dev/null
> +++ b/configs/qemu_ppc_mac99_defconfig
> @@ -0,0 +1,11 @@
> +BR2_powerpc=y
> +BR2_powerpc_7400=y
> +BR2_TARGET_GENERIC_GETTY_PORT="ttyS0"
> +BR2_SYSTEM_DHCP="eth0"
> +BR2_LINUX_KERNEL=y
> +BR2_LINUX_KERNEL_DEFCONFIG="pmac32"
> +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/qemu/ppc-mac99/linux.fragment"
> +BR2_LINUX_KERNEL_VMLINUX=y
> +BR2_TARGET_ROOTFS_CPIO=y
> +BR2_TARGET_ROOTFS_EXT2=y
> +# BR2_TARGET_ROOTFS_TAR is not set
> --
> 2.20.1
>

  reply	other threads:[~2019-07-18  6:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-25  1:26 [Buildroot] [PATCH v3] board: Add PowerPC mac99 Joel Stanley
2019-07-18  6:41 ` Joel Stanley [this message]
2019-08-01 15:54 ` Peter Korsgaard
2019-08-02  6:42   ` Joel Stanley
2019-08-02  9:30     ` Peter Korsgaard
     [not found]     ` <87d0hlw4tk.fsf@concordia.ellerman.id.au>
2019-08-04 12:24       ` Peter Korsgaard

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=CACPK8Xej-ayWSaUkbHSHSM5fKKej5-XWEb+ZcTAORdow48+CHw@mail.gmail.com \
    --to=joel@jms.id.au \
    --cc=buildroot@busybox.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.