mbox series

Pull request: u-boot-riscv/master

Message ID 50ceb693-1b1e-4e26-b1b2-13275f0d14df@ATCPCS12.andestech.com
State Changes Requested
Delegated to: Tom Rini
Headers show
Series Pull request: u-boot-riscv/master | expand

Pull-request

git@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git

Message

Andes Jan. 13, 2021, 5:34 a.m. UTC
Hi Tom,

Please pull some riscv updates:

- Update qemu-riscv.rst build instructions.
- Add support for SPI on Kendryte K210.
- Add Microchip PolarFire SoC Icicle Kit support.

Thanks
Rick

CI: passed
https://gitlab.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/5853

The following changes since commit ee6726be4f0dccb612f0193c62ca149164c8a5af:

  Merge tag 'ti-v2021.04-rc1' of https://gitlab.denx.de/u-boot/custodians/u-boot-ti (2021-01-12 09:32:48 -0500)

are available in the Git repository at:

  git@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git

for you to fetch changes up to 477b035bd200fbef3045902f3ea2fe26cd831a5c:

  doc: board: Add Microchip MPFS Icicle Kit doc (2021-01-13 08:51:55 +0800)

----------------------------------------------------------------
Atish Patra (1):
      doc: qemu-riscv: Fix opensbi build instructions

Padmarao Begari (7):
      riscv: Add DMA 64-bit address support
      net: macb: Add DMA 64-bit address support for macb
      net: macb: Add phy address to read it from device tree
      clk: Add Microchip PolarFire SoC clock driver
      riscv: dts: Add device tree for Microchip Icicle Kit
      riscv: Add Microchip MPFS Icicle Kit support
      doc: board: Add Microchip MPFS Icicle Kit doc

Sean Anderson (1):
      riscv: Add support for SPI on Kendryte K210

 arch/riscv/Kconfig                                   |   4 +
 arch/riscv/dts/Makefile                              |   1 +
 arch/riscv/dts/microchip-mpfs-icicle-kit-u-boot.dtsi |  14 +++
 arch/riscv/dts/microchip-mpfs-icicle-kit.dts         | 421 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 arch/riscv/include/asm/types.h                       |   4 +
 board/microchip/mpfs_icicle/Kconfig                  |  23 +++++
 board/microchip/mpfs_icicle/mpfs_icicle.c            |  99 +++++++++++++++++-
 board/sipeed/maix/Kconfig                            |  16 +++
 configs/microchip_mpfs_icicle_defconfig              |   9 +-
 configs/sipeed_maix_bitm_defconfig                   |  11 ++
 doc/board/emulation/qemu-riscv.rst                   |   2 +-
 doc/board/index.rst                                  |   1 +
 doc/board/microchip/index.rst                        |   9 ++
 doc/board/microchip/mpfs_icicle.rst                  | 810 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 doc/board/sipeed/maix.rst                            | 315 ++++++++++++++++++++++++++++++++++++++++++++++++---------
 drivers/clk/Kconfig                                  |   1 +
 drivers/clk/Makefile                                 |   1 +
 drivers/clk/microchip/Kconfig                        |   5 +
 drivers/clk/microchip/Makefile                       |   1 +
 drivers/clk/microchip/mpfs_clk.c                     | 123 +++++++++++++++++++++++
 drivers/clk/microchip/mpfs_clk.h                     |  44 ++++++++
 drivers/clk/microchip/mpfs_clk_cfg.c                 | 152 ++++++++++++++++++++++++++++
 drivers/clk/microchip/mpfs_clk_periph.c              | 187 ++++++++++++++++++++++++++++++++++
 drivers/net/macb.c                                   | 144 ++++++++++++++++++++++----
 drivers/net/macb.h                                   |   6 ++
 include/configs/microchip_mpfs_icicle.h              |  60 ++++-------
 include/configs/sipeed-maix.h                        |   7 +-
 include/dt-bindings/clock/microchip-mpfs-clock.h     |  45 +++++++++
 28 files changed, 2402 insertions(+), 113 deletions(-)
 create mode 100644 arch/riscv/dts/microchip-mpfs-icicle-kit-u-boot.dtsi
 create mode 100644 arch/riscv/dts/microchip-mpfs-icicle-kit.dts
 create mode 100644 doc/board/microchip/index.rst
 create mode 100644 doc/board/microchip/mpfs_icicle.rst
 create mode 100644 drivers/clk/microchip/Kconfig
 create mode 100644 drivers/clk/microchip/Makefile
 create mode 100644 drivers/clk/microchip/mpfs_clk.c
 create mode 100644 drivers/clk/microchip/mpfs_clk.h
 create mode 100644 drivers/clk/microchip/mpfs_clk_cfg.c
 create mode 100644 drivers/clk/microchip/mpfs_clk_periph.c
 create mode 100644 include/dt-bindings/clock/microchip-mpfs-clock.h

Comments

Tom Rini Jan. 13, 2021, 8 p.m. UTC | #1
On Wed, Jan 13, 2021 at 01:34:55PM +0800, uboot@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Update qemu-riscv.rst build instructions.
> - Add support for SPI on Kendryte K210.
> - Add Microchip PolarFire SoC Icicle Kit support.
> 
> Thanks
> Rick
> 
> CI: passed
> https://gitlab.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/5853
> 
> The following changes since commit ee6726be4f0dccb612f0193c62ca149164c8a5af:
> 
>   Merge tag 'ti-v2021.04-rc1' of https://gitlab.denx.de/u-boot/custodians/u-boot-ti (2021-01-12 09:32:48 -0500)
> 
> are available in the Git repository at:
> 
>   git@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to 477b035bd200fbef3045902f3ea2fe26cd831a5c:
> 
>   doc: board: Add Microchip MPFS Icicle Kit doc (2021-01-13 08:51:55 +0800)

NAK:
ERROR: fdt or initrd relocation disabled at boot time
#272: FILE: include/configs/microchip_mpfs_icicle.h:32:
+       "fdt_high=0xffffffffffffffff\0" \

It also disables initrd relocation, which I don't like, but isn't fatal.
But you cannot disable fdt relocation as that leads to run time problems
all too often.
Padmarao Begari Jan. 14, 2021, 3:06 p.m. UTC | #2
Hi Tom,

On Thu, Jan 14, 2021 at 1:31 AM Tom Rini <trini@konsulko.com> wrote:

> On Wed, Jan 13, 2021 at 01:34:55PM +0800, uboot@andestech.com wrote:
>
> > Hi Tom,
> >
> > Please pull some riscv updates:
> >
> > - Update qemu-riscv.rst build instructions.
> > - Add support for SPI on Kendryte K210.
> > - Add Microchip PolarFire SoC Icicle Kit support.
> >
> > Thanks
> > Rick
> >
> > CI: passed
> > https://gitlab.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/5853
> >
> > The following changes since commit
> ee6726be4f0dccb612f0193c62ca149164c8a5af:
> >
> >   Merge tag 'ti-v2021.04-rc1' of
> https://gitlab.denx.de/u-boot/custodians/u-boot-ti (2021-01-12 09:32:48
> -0500)
> >
> > are available in the Git repository at:
> >
> >   git@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> >
> > for you to fetch changes up to 477b035bd200fbef3045902f3ea2fe26cd831a5c:
> >
> >   doc: board: Add Microchip MPFS Icicle Kit doc (2021-01-13 08:51:55
> +0800)
>
> NAK:
> ERROR: fdt or initrd relocation disabled at boot time
> #272: FILE: include/configs/microchip_mpfs_icicle.h:32:
> +       "fdt_high=0xffffffffffffffff\0" \
>
> It also disables initrd relocation, which I don't like, but isn't fatal.
> But you cannot disable fdt relocation as that leads to run time problems
> all too often.
>
>
Ok I will enable fdt relocation in PATCH v9 and remove
"fdt_high=0xffffffffffffffff\0", "initrd_high=0xffffffffffffffff\0 from the
board ENV.

Thanks
Padmarao

> --
> Tom
>