mbox series

[PULL] u-boot-mips

Message ID 20200629231053.21450-1-daniel.schwierzeck@gmail.com
State Awaiting Upstream
Delegated to: Tom Rini
Headers show
Series [PULL] u-boot-mips | expand

Pull-request

git@gitlab.denx.de:u-boot/custodians/u-boot-mips.git tags/mips-pull-2020-06-29

Message

Daniel Schwierzeck June 29, 2020, 11:10 p.m. UTC
Hi Tom,

actually I wanted to send this much earlier but I hope it's still okay.

This enables Qemu tests for the MIPS Malta board in all variants (32/64 bit,
big/little endian) in Gitlab CI, Travis CI and Azure Pipelines. This allows
to deprecate the qemu_mips board in the future because there is no Linux support
anymore for ages and Qemu deprecated the generic MIPS board as well in favour of
Malta.

I had to include the PCNET patches because otherwise the Malta 64bit targets
had stability issues in the Qemu network test case. Thus it's not just cleanup
and DM conversion, but also bugfixing ;)

https://gitlab.denx.de/u-boot/custodians/u-boot-mips/pipelines/3824
https://travis-ci.org/github/danielschwierzeck/u-boot/builds/703302746
https://dev.azure.com/danielschwierzeck/u-boot/_build/results?buildId=8&view=results


The following changes since commit 0b7d95531cf25a7c71bd9855135da5e7098e7b97:

  Merge tag 'rockchip-fix' of https://gitlab.denx.de/u-boot/custodians/u-boot-video (2020-06-29 15:58:09 -0400)

are available in the Git repository at:

  git@gitlab.denx.de:u-boot/custodians/u-boot-mips.git tags/mips-pull-2020-06-29

for you to fetch changes up to e35c2a8fdd41a34c06c409ce700c5d5591429367:

  .azure-pipelines.yml: add Qemu tests for MIPS Malta board (2020-06-29 22:40:16 +0200)

----------------------------------------------------------------
- net: pcnet: cleanup and add DM support
- Makefile: add rule to build an endian-swapped U-Boot image
  used by MIPS Malta EL variants
- CI: add Qemu tests for MIPS Malta

----------------------------------------------------------------
Daniel Schwierzeck (6):
      tools: add script for byte endianness swapping
      Makefile: add rule to generate u-boot-swap.bin
      mips: malta: build u-boot-swap.bin
      .gitlab-ci.yml: add Qemu tests for MIPS Malta board
      .travis.yml: add Qemu tests for MIPS Malta board
      .azure-pipelines.yml: add Qemu tests for MIPS Malta board

Marek Vasut (15):
      net: pcnet: Drop typedef struct pcnet_priv_t
      net: pcnet: Drop PCNET_HAS_PROM
      net: pcnet: Use PCI_DEVICE() to define PCI device compat list
      net: pcnet: Simplify private data allocation
      net: pcnet: Replace memset+malloc with calloc
      net: pcnet: Move private data allocation to initialize
      net: pcnet: Move initialize function at the end
      net: pcnet: Drop useless forward declarations
      net: pcnet: Wrap devbusfn into private data
      net: pcnet: Pass private data through dev->priv
      net: pcnet: Wrap iobase into private data
      net: pcnet: Wrap name and enetaddr into private data
      net: pcnet: Split common and non-DM functions
      net: pcnet: Add DM support
      net: pcnet: Add Kconfig entries

 .azure-pipelines.yml        |  16 ++
 .gitlab-ci.yml              |  32 +++
 .travis.yml                 |  28 ++
 Makefile                    |   6 +
 configs/malta64_defconfig   |   1 +
 configs/malta64el_defconfig |   2 +
 configs/malta_defconfig     |   1 +
 configs/maltael_defconfig   |   2 +
 drivers/net/Kconfig         |   6 +
 drivers/net/pcnet.c         | 618 +++++++++++++++++++++++++++-----------------
 include/configs/malta.h     |   2 -
 tools/endian-swap.py        |  55 ++++
 12 files changed, 525 insertions(+), 244 deletions(-)
 create mode 100755 tools/endian-swap.py

Comments

Tom Rini June 30, 2020, 12:05 a.m. UTC | #1
On Tue, Jun 30, 2020 at 01:10:53AM +0200, Daniel Schwierzeck wrote:

> Hi Tom,
> 
> actually I wanted to send this much earlier but I hope it's still okay.
> 
> This enables Qemu tests for the MIPS Malta board in all variants (32/64 bit,
> big/little endian) in Gitlab CI, Travis CI and Azure Pipelines. This allows
> to deprecate the qemu_mips board in the future because there is no Linux support
> anymore for ages and Qemu deprecated the generic MIPS board as well in favour of
> Malta.
> 
> I had to include the PCNET patches because otherwise the Malta 64bit targets
> had stability issues in the Qemu network test case. Thus it's not just cleanup
> and DM conversion, but also bugfixing ;)
> 
> https://gitlab.denx.de/u-boot/custodians/u-boot-mips/pipelines/3824
> https://travis-ci.org/github/danielschwierzeck/u-boot/builds/703302746
> https://dev.azure.com/danielschwierzeck/u-boot/_build/results?buildId=8&view=results

Is it OK for this to go in to -next at this point?  Thanks!
Tom Rini June 30, 2020, 12:52 p.m. UTC | #2
On Mon, Jun 29, 2020 at 08:05:15PM -0400, Tom Rini wrote:
> On Tue, Jun 30, 2020 at 01:10:53AM +0200, Daniel Schwierzeck wrote:
> 
> > Hi Tom,
> > 
> > actually I wanted to send this much earlier but I hope it's still okay.
> > 
> > This enables Qemu tests for the MIPS Malta board in all variants (32/64 bit,
> > big/little endian) in Gitlab CI, Travis CI and Azure Pipelines. This allows
> > to deprecate the qemu_mips board in the future because there is no Linux support
> > anymore for ages and Qemu deprecated the generic MIPS board as well in favour of
> > Malta.
> > 
> > I had to include the PCNET patches because otherwise the Malta 64bit targets
> > had stability issues in the Qemu network test case. Thus it's not just cleanup
> > and DM conversion, but also bugfixing ;)
> > 
> > https://gitlab.denx.de/u-boot/custodians/u-boot-mips/pipelines/3824
> > https://travis-ci.org/github/danielschwierzeck/u-boot/builds/703302746
> > https://dev.azure.com/danielschwierzeck/u-boot/_build/results?buildId=8&view=results
> 
> Is it OK for this to go in to -next at this point?  Thanks!

I do see that at this time you're the only user of the PCNET driver, so
if you're happy and really want it in this release and not the next
release, OK.  But v2020.07 is scheduled for next Monday too so this
really is quite late.
Daniel Schwierzeck June 30, 2020, 3:32 p.m. UTC | #3
On Tue, Jun 30, 2020 at 2:52 PM Tom Rini <trini@konsulko.com> wrote:
>
> On Mon, Jun 29, 2020 at 08:05:15PM -0400, Tom Rini wrote:
> > On Tue, Jun 30, 2020 at 01:10:53AM +0200, Daniel Schwierzeck wrote:
> >
> > > Hi Tom,
> > >
> > > actually I wanted to send this much earlier but I hope it's still okay.
> > >
> > > This enables Qemu tests for the MIPS Malta board in all variants (32/64 bit,
> > > big/little endian) in Gitlab CI, Travis CI and Azure Pipelines. This allows
> > > to deprecate the qemu_mips board in the future because there is no Linux support
> > > anymore for ages and Qemu deprecated the generic MIPS board as well in favour of
> > > Malta.
> > >
> > > I had to include the PCNET patches because otherwise the Malta 64bit targets
> > > had stability issues in the Qemu network test case. Thus it's not just cleanup
> > > and DM conversion, but also bugfixing ;)
> > >
> > > https://gitlab.denx.de/u-boot/custodians/u-boot-mips/pipelines/3824
> > > https://travis-ci.org/github/danielschwierzeck/u-boot/builds/703302746
> > > https://dev.azure.com/danielschwierzeck/u-boot/_build/results?buildId=8&view=results
> >
> > Is it OK for this to go in to -next at this point?  Thanks!
>
> I do see that at this time you're the only user of the PCNET driver, so
> if you're happy and really want it in this release and not the next
> release, OK.  But v2020.07 is scheduled for next Monday too so this
> really is quite late.
>

-next is also OK. Just wanted to get it out of the way before I
prepare the next bigger MIPS update for the next merge window ;)
Tom Rini June 30, 2020, 9:14 p.m. UTC | #4
On Tue, Jun 30, 2020 at 01:10:53AM +0200, Daniel Schwierzeck wrote:

> Hi Tom,
> 
> actually I wanted to send this much earlier but I hope it's still okay.
> 
> This enables Qemu tests for the MIPS Malta board in all variants (32/64 bit,
> big/little endian) in Gitlab CI, Travis CI and Azure Pipelines. This allows
> to deprecate the qemu_mips board in the future because there is no Linux support
> anymore for ages and Qemu deprecated the generic MIPS board as well in favour of
> Malta.
> 
> I had to include the PCNET patches because otherwise the Malta 64bit targets
> had stability issues in the Qemu network test case. Thus it's not just cleanup
> and DM conversion, but also bugfixing ;)
> 
> https://gitlab.denx.de/u-boot/custodians/u-boot-mips/pipelines/3824
> https://travis-ci.org/github/danielschwierzeck/u-boot/builds/703302746
> https://dev.azure.com/danielschwierzeck/u-boot/_build/results?buildId=8&view=results
> 
> 
> The following changes since commit 0b7d95531cf25a7c71bd9855135da5e7098e7b97:
> 
>   Merge tag 'rockchip-fix' of https://gitlab.denx.de/u-boot/custodians/u-boot-video (2020-06-29 15:58:09 -0400)
> 
> are available in the Git repository at:
> 
>   git@gitlab.denx.de:u-boot/custodians/u-boot-mips.git tags/mips-pull-2020-06-29
> 
> for you to fetch changes up to e35c2a8fdd41a34c06c409ce700c5d5591429367:
> 
>   .azure-pipelines.yml: add Qemu tests for MIPS Malta board (2020-06-29 22:40:16 +0200)
> 

Applied to u-boot/next, thanks!