Skip to contentSkip to conversation

u-boot-mips

GIT PULL Daniel Schwierzeck 2 participants 5 messages Jun 29, 2020 – Jun 30, 2020

lore
Share & tools
lore
#0 lore raw

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 at 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
#1 lore raw
Quoted 10 lines · Daniel Schwierzeck

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.

Quoted 7 lines

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!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200629/25e41a24/attachment.sig>
#2 lore raw
Quoted 16 lines · Tom Rini
Quoted 14 lines · Daniel Schwierzeck

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 ;)

Quoted 5 lines
Quoted 3 lines

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.

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200630/266685e8/attachment.sig>
#3 lore raw
Quoted 22 lines · Tom Rini
Quoted 20 lines · Tom Rini
Quoted 17 lines · Daniel Schwierzeck

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

Quoted 7 lines
Quoted 1 line

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 ;)

Signature · 1 line
- Daniel
#4 lore raw
In reply to Daniel Schwierzeck
Quoted 23 lines · Daniel Schwierzeck

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)

Quoted 8 lines

are available in the Git repository at:

git at 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!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200630/b807e5bd/attachment.sig>