All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bin Meng <bmeng.cn@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 00/12] riscv: Add QEMU virt board support
Date: Thu, 30 Aug 2018 00:54:23 -0700	[thread overview]
Message-ID: <1535615675-24819-1-git-send-email-bmeng.cn@gmail.com> (raw)

This series adds QEMU RISC-V 'virt' board target support, with the
hope of helping people easily test U-Boot on RISC-V.

Some existing RISC-V codes have been changed to make it easily to
support new targets. Some spotted coding style issues are fixed.

This series is available at u-boot-x86/riscv-working for testing.


Bin Meng (12):
  riscv: kconfig: Normalize architecture name spelling
  riscv: Remove setup.h
  riscv: bootm: Correct the 1st kernel argument to hart id
  riscv: Remove mach type
  riscv: Move the linker script to the CPU root directory
  riscv: Fix coding style issues in the linker script
  riscv: Explicitly pass -march and -mabi to the compiler
  riscv: Add a helper routine to print CPU information
  riscv: Make start.S available for all targets
  riscv: ae350: Clean up mixed tabs and spaces in the dts
  riscv: kconfig: Select DM and OF_CONTROL
  riscv: Add QEMU virt board support

 arch/Kconfig                            |   5 +-
 arch/riscv/Kconfig                      |  10 +-
 arch/riscv/Makefile                     |   3 +-
 arch/riscv/config.mk                    |   9 +-
 arch/riscv/cpu/Makefile                 |   7 ++
 arch/riscv/cpu/ax25/Makefile            |   2 -
 arch/riscv/cpu/cpu.c                    |  49 ++++++++
 arch/riscv/cpu/qemu/Makefile            |   6 +
 arch/riscv/cpu/qemu/cpu.c               |  29 +++++
 arch/riscv/cpu/qemu/dram.c              |  17 +++
 arch/riscv/cpu/{ax25 => }/start.S       |   0
 arch/riscv/cpu/{ax25 => }/u-boot.lds    |  60 +++++-----
 arch/riscv/dts/ae350.dts                | 177 +++++++++++++++--------------
 arch/riscv/include/asm/bootm.h          |  13 ---
 arch/riscv/include/asm/csr.h            | 124 ++++++++++++++++++++
 arch/riscv/include/asm/mach-types.h     |  29 -----
 arch/riscv/include/asm/setup.h          | 194 --------------------------------
 arch/riscv/include/asm/u-boot.h         |   1 -
 arch/riscv/lib/bootm.c                  |  19 +---
 board/AndesTech/ax25-ae350/ax25-ae350.c |   2 -
 board/emulation/qemu-riscv/Kconfig      |  21 ++++
 board/emulation/qemu-riscv/MAINTAINERS  |   7 ++
 board/emulation/qemu-riscv/Makefile     |   5 +
 board/emulation/qemu-riscv/qemu-riscv.c |  23 ++++
 cmd/bdinfo.c                            |   1 -
 configs/ax25-ae350_defconfig            |   2 -
 configs/qemu-riscv32_defconfig          |  10 ++
 configs/qemu-riscv64_defconfig          |  11 ++
 doc/README.qemu-riscv                   |  46 ++++++++
 include/configs/qemu-riscv.h            |  21 ++++
 30 files changed, 520 insertions(+), 383 deletions(-)
 create mode 100644 arch/riscv/cpu/Makefile
 create mode 100644 arch/riscv/cpu/cpu.c
 create mode 100644 arch/riscv/cpu/qemu/Makefile
 create mode 100644 arch/riscv/cpu/qemu/cpu.c
 create mode 100644 arch/riscv/cpu/qemu/dram.c
 rename arch/riscv/cpu/{ax25 => }/start.S (100%)
 rename arch/riscv/cpu/{ax25 => }/u-boot.lds (54%)
 delete mode 100644 arch/riscv/include/asm/bootm.h
 create mode 100644 arch/riscv/include/asm/csr.h
 delete mode 100644 arch/riscv/include/asm/mach-types.h
 delete mode 100644 arch/riscv/include/asm/setup.h
 create mode 100644 board/emulation/qemu-riscv/Kconfig
 create mode 100644 board/emulation/qemu-riscv/MAINTAINERS
 create mode 100644 board/emulation/qemu-riscv/Makefile
 create mode 100644 board/emulation/qemu-riscv/qemu-riscv.c
 create mode 100644 configs/qemu-riscv32_defconfig
 create mode 100644 configs/qemu-riscv64_defconfig
 create mode 100644 doc/README.qemu-riscv
 create mode 100644 include/configs/qemu-riscv.h

-- 
2.7.4

             reply	other threads:[~2018-08-30  7:54 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-30  7:54 Bin Meng [this message]
2018-08-30  7:54 ` [U-Boot] [PATCH 01/12] riscv: kconfig: Normalize architecture name spelling Bin Meng
2018-08-30  7:54 ` [U-Boot] [PATCH 02/12] riscv: Remove setup.h Bin Meng
2018-08-30  7:54 ` [U-Boot] [PATCH 03/12] riscv: bootm: Correct the 1st kernel argument to hart id Bin Meng
     [not found]   ` <752D002CFF5D0F4FA35C0100F1D73F3F6BCB9A4C@ATCPCS16.andestech.com>
2018-09-03  7:03     ` Rick Chen
2018-09-03 21:41   ` Auer, Lukas
2018-09-06  2:57     ` Bin Meng
2018-09-06 21:34       ` Auer, Lukas
2018-08-30  7:54 ` [U-Boot] [PATCH 04/12] riscv: Remove mach type Bin Meng
2018-08-30  7:54 ` [U-Boot] [PATCH 05/12] riscv: Move the linker script to the CPU root directory Bin Meng
2018-08-30  7:54 ` [U-Boot] [PATCH 06/12] riscv: Fix coding style issues in the linker script Bin Meng
2018-08-30  7:54 ` [U-Boot] [PATCH 07/12] riscv: Explicitly pass -march and -mabi to the compiler Bin Meng
2018-08-30  7:54 ` [U-Boot] [PATCH 08/12] riscv: Add a helper routine to print CPU information Bin Meng
2018-09-03 21:42   ` Auer, Lukas
2018-09-06  3:03     ` Bin Meng
2018-09-06 21:29       ` Auer, Lukas
2018-09-07  1:44         ` Bin Meng
2018-08-30  7:54 ` [U-Boot] [PATCH 09/12] riscv: Make start.S available for all targets Bin Meng
2018-08-30  7:54 ` [U-Boot] [PATCH 10/12] riscv: ae350: Clean up mixed tabs and spaces in the dts Bin Meng
2018-08-30  7:54 ` [U-Boot] [PATCH 11/12] riscv: kconfig: Select DM and OF_CONTROL Bin Meng
2018-08-30  7:54 ` [U-Boot] [PATCH 12/12] riscv: Add QEMU virt board support Bin Meng
2018-09-03 21:39   ` Auer, Lukas
2018-09-04  9:31     ` Bin Meng
2018-09-04 21:53       ` Auer, Lukas
     [not found]         ` <752D002CFF5D0F4FA35C0100F1D73F3F6BCBA74D@ATCPCS16.andestech.com>
2018-09-05  1:28           ` Rick Chen
2018-09-05  2:30             ` Rick Chen
2018-09-05  2:34             ` Bin Meng
2018-09-05  6:26               ` Rick Chen
2018-09-05  9:37               ` Auer, Lukas
2018-09-06  3:15                 ` Bin Meng
2018-09-06 22:21                   ` Auer, Lukas
2018-09-05  9:34             ` Auer, Lukas
2018-09-06  3:14               ` Bin Meng
2018-09-06 22:18                 ` Auer, Lukas
2018-09-06 21:03       ` Tuomas Tynkkynen
2018-09-07  1:49         ` Bin Meng
2018-09-07 23:14           ` Tuomas Tynkkynen
2018-09-08  1:28             ` Bin Meng
2018-09-10  0:16               ` Tuomas Tynkkynen
2018-09-10  1:23                 ` Bin Meng
     [not found] ` <752D002CFF5D0F4FA35C0100F1D73F3F6BCB9A09@ATCPCS16.andestech.com>
2018-09-03  6:45   ` [U-Boot] [PATCH 00/12] " Rick Chen

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=1535615675-24819-1-git-send-email-bmeng.cn@gmail.com \
    --to=bmeng.cn@gmail.com \
    --cc=u-boot@lists.denx.de \
    /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.