mbox

[U-Boot,GIT,PULL] Microblaze changes

Message ID 56976194.4030405@monstr.eu
State Superseded
Delegated to: Tom Rini
Headers show

Pull-request

git://www.denx.de/git/u-boot-microblaze.git mb

Message

Michal Simek Jan. 14, 2016, 8:51 a.m. UTC
Hi Tom,

here are microblaze patches for moving stuff to DM. This is the patch
series which we postpone to next release. Buildman doesn't show any
problems for mb, zynq_zc702 and zynqmp.

Thanks,
Michal

The following changes since commit d29892ba854f40980b84f86566cd0c2308c66afe:

  part_dos.c: Don't wrap to negative after 2G sectors (2016-01-13
16:33:20 -0500)

are available in the git repository at:

  git://www.denx.de/git/u-boot-microblaze.git mb

for you to fetch changes up to 8283903d4df0685af98a45d323f880ce07c60cec:

  microblaze: Fix board_init calling sequence (2016-01-14 09:35:04 +0100)

----------------------------------------------------------------
Michal Simek (45):
      microblaze: Remove CONSOLE_ARG
      microblaze: Move baudrate setting out driver selection
      serial: uartlite: Move driver to DM
      serial: uartlite: Add support for debug console
      serial: uartlite: Add uartlite to Kconfig
      microblaze: Enable uart16550 DM by default
      microblaze: Do not print eth device when DM_ETH is enabled
      microblaze: Enable PHYLIB via Kconfig
      microblaze: Remove unused I2C macros
      microblaze: Wire-up debug_uart in asm
      microblaze: Enable MICREL_KSZ9021
      net: axi_emac: Fix parentheses around operand !
      net: axi_emac: Show phy address instead of register content
      net: axi_emac: Pass directly pointer to register space
      net: axi_emac: Put iobase to private structure
      net: axi_emac: Pass private structure to phyread/phywrite
      net: axi_emac: Pass private structure where possible
      net: axi_emac: Move driver to DM
      net: axi_emac: Enable access to MDIO in probe
      net: axi_emac: Split recv from free_pkt
      net: axi_emac: Rename start, stop, write_hwaddr functions
      net: Add axi emac to Kconfig
      net: emaclite: Remove ancient OF probe function
      net: emaclite: Add MDIO support to driver
      net: emaclite: Convert MDIO to use register offset
      net: emaclite: Use indirect register access for tx_ping/pong
      net: emaclite: Use indirect register access for rx_ping/pong
      net: emaclite: Use indirect register access for TX reset
      net: emaclite: Fix logic around available TX buffers
      net: emaclite: Remove XEL_TSR_XMIT_ACTIVE_MASK flag
      net: emaclite: Use indirect reg access in send
      net: emaclite: Use indirect access in emaclite_recv
      net: emaclite: Move driver to DM
      net: emaclite: Rename start and stop functions
      net: emaclite: Let core to handle received packet
      net: emaclite: Move emaclite to Kconfig
      microblaze: Enable axi emac via Kconfig
      microblaze: Move eth configuration to Kconfig
      microblaze: Remove systemace from board file
      microblaze: Remove CONFIG_FIT from board file
      microblaze: Move CONFIG_NETCONSOLE to Kconfig
      microblaze: Remove empty file - cpu.c
      microblaze: Read information about RAM from DT
      microblaze: Enable HUSH via Kconfig
      microblaze: Fix board_init calling sequence

 arch/microblaze/Kconfig                              |   1 +
 arch/microblaze/cpu/Makefile                         |   2 +-
 arch/microblaze/cpu/cpu.c                            |   9 --
 arch/microblaze/cpu/start.S                          |   4 +
 board/xilinx/microblaze-generic/microblaze-generic.c |  39 +------
 board/xilinx/microblaze-generic/xparameters.h        |  21 ----
 board/xilinx/zynq/board.c                            |  24 ----
 common/cmd_bdinfo.c                                  |   2 +-
 configs/microblaze-generic_defconfig                 |  14 +++
 doc/device-tree-bindings/serial/xilinx_uartlite.txt  |  13 +++
 doc/driver-model/serial-howto.txt                    |   1 -
 drivers/net/Kconfig                                  |  16 +++
 drivers/net/xilinx_axi_emac.c                        | 280
++++++++++++++++++++++++++++-----------------
 drivers/net/xilinx_emaclite.c                        | 610
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------
 drivers/serial/Kconfig                               |  14 +++
 drivers/serial/serial_xuartlite.c                    | 194
++++++++++++++-----------------
 include/configs/microblaze-generic.h                 |  74 +-----------
 include/netdev.h                                     |   5 -
 18 files changed, 757 insertions(+), 566 deletions(-)
 delete mode 100644 arch/microblaze/cpu/cpu.c
 create mode 100644 doc/device-tree-bindings/serial/xilinx_uartlite.txt

Comments

Tom Rini Jan. 14, 2016, 1:17 p.m. UTC | #1
On Thu, Jan 14, 2016 at 09:51:32AM +0100, Michal Simek wrote:

> Hi Tom,
> 
> here are microblaze patches for moving stuff to DM. This is the patch
> series which we postpone to next release. Buildman doesn't show any
> problems for mb, zynq_zc702 and zynqmp.

It breaks xilinx-ppc440-generic at least 'tho, please fix, thanks!
Michal Simek Jan. 14, 2016, 1:50 p.m. UTC | #2
Hi Ricardo,

On 14.1.2016 14:17, Tom Rini wrote:
> On Thu, Jan 14, 2016 at 09:51:32AM +0100, Michal Simek wrote:
> 
>> Hi Tom,
>>
>> here are microblaze patches for moving stuff to DM. This is the patch
>> series which we postpone to next release. Buildman doesn't show any
>> problems for mb, zynq_zc702 and zynqmp.
> 
> It breaks xilinx-ppc440-generic at least 'tho, please fix, thanks!

The reason for this break is moving serial driver to DM.
Can you please tell us when you move platform to DM?

Thanks,
Michal
Ricardo Ribalda Jan. 14, 2016, 8:24 p.m. UTC | #3
Hello Michal

I will give a look to it during the next week. Hopefuly by the end of
it I can give you the patch or an educated estimated. Is this a good
timeline for you?

Thanks!

On Thu, Jan 14, 2016 at 2:50 PM, Michal Simek <monstr@monstr.eu> wrote:
> Hi Ricardo,
>
> On 14.1.2016 14:17, Tom Rini wrote:
>> On Thu, Jan 14, 2016 at 09:51:32AM +0100, Michal Simek wrote:
>>
>>> Hi Tom,
>>>
>>> here are microblaze patches for moving stuff to DM. This is the patch
>>> series which we postpone to next release. Buildman doesn't show any
>>> problems for mb, zynq_zc702 and zynqmp.
>>
>> It breaks xilinx-ppc440-generic at least 'tho, please fix, thanks!
>
> The reason for this break is moving serial driver to DM.
> Can you please tell us when you move platform to DM?
>
> Thanks,
> Michal
>
> --
> Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
> w: www.monstr.eu p: +42-0-721842854
> Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
> Maintainer of Linux kernel - Xilinx Zynq ARM architecture
> Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
>
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
Michal Simek Jan. 15, 2016, 7:08 a.m. UTC | #4
Hi,

On 14.1.2016 21:24, Ricardo Ribalda Delgado wrote:
> Hello Michal
> 
> I will give a look to it during the next week. Hopefuly by the end of
> it I can give you the patch or an educated estimated. Is this a good
> timeline for you?

ok. Let's wait one more week and I hope you will have SPL up and running.

Thanks,
Michal
Michal Simek Jan. 20, 2016, 1:23 p.m. UTC | #5
Hi Ricardo,

are you on track on this?

Thanks,
Michal

On 15.1.2016 08:08, Michal Simek wrote:
> Hi,
> 
> On 14.1.2016 21:24, Ricardo Ribalda Delgado wrote:
>> Hello Michal
>>
>> I will give a look to it during the next week. Hopefuly by the end of
>> it I can give you the patch or an educated estimated. Is this a good
>> timeline for you?
> 
> ok. Let's wait one more week and I hope you will have SPL up and running.
> 
> Thanks,
> Michal
>
Ricardo Ribalda Jan. 20, 2016, 1:35 p.m. UTC | #6
I have allocated the whole Friday for this

On Wed, Jan 20, 2016 at 2:23 PM, Michal Simek <monstr@monstr.eu> wrote:
> Hi Ricardo,
>
> are you on track on this?
>
> Thanks,
> Michal
>
> On 15.1.2016 08:08, Michal Simek wrote:
>> Hi,
>>
>> On 14.1.2016 21:24, Ricardo Ribalda Delgado wrote:
>>> Hello Michal
>>>
>>> I will give a look to it during the next week. Hopefuly by the end of
>>> it I can give you the patch or an educated estimated. Is this a good
>>> timeline for you?
>>
>> ok. Let's wait one more week and I hope you will have SPL up and running.
>>
>> Thanks,
>> Michal
>>
>
>
> --
> Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
> w: www.monstr.eu p: +42-0-721842854
> Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
> Maintainer of Linux kernel - Xilinx Zynq ARM architecture
> Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
>
>
Ricardo Ribalda Jan. 22, 2016, 2:53 p.m. UTC | #7
Hello

I will probably have something by next week. Is it ok?

On Wed, Jan 20, 2016 at 2:35 PM, Ricardo Ribalda Delgado
<ricardo.ribalda@uam.es> wrote:
> I have allocated the whole Friday for this
>
> On Wed, Jan 20, 2016 at 2:23 PM, Michal Simek <monstr@monstr.eu> wrote:
>> Hi Ricardo,
>>
>> are you on track on this?
>>
>> Thanks,
>> Michal
>>
>> On 15.1.2016 08:08, Michal Simek wrote:
>>> Hi,
>>>
>>> On 14.1.2016 21:24, Ricardo Ribalda Delgado wrote:
>>>> Hello Michal
>>>>
>>>> I will give a look to it during the next week. Hopefuly by the end of
>>>> it I can give you the patch or an educated estimated. Is this a good
>>>> timeline for you?
>>>
>>> ok. Let's wait one more week and I hope you will have SPL up and running.
>>>
>>> Thanks,
>>> Michal
>>>
>>
>>
>> --
>> Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
>> w: www.monstr.eu p: +42-0-721842854
>> Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
>> Maintainer of Linux kernel - Xilinx Zynq ARM architecture
>> Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
>>
>>
>
>
>
> --
> Ricardo Ribalda
Michal Simek Jan. 22, 2016, 6:23 p.m. UTC | #8
Hi,

On 22.1.2016 15:53, Ricardo Ribalda Delgado wrote:
> Hello
> 
> I will probably have something by next week. Is it ok?

do you want to me to wait? I have another sort of 50 patches which I
would like to merge in this merge window to have enough time for testing.

Thanks,
Michal
Michal Simek Jan. 22, 2016, 6:25 p.m. UTC | #9
Hi Tom,

On 22.1.2016 19:23, Michal Simek wrote:
> Hi,
> 
> On 22.1.2016 15:53, Ricardo Ribalda Delgado wrote:
>> Hello
>>
>> I will probably have something by next week. Is it ok?
> 
> do you want to me to wait? I have another sort of 50 patches which I
> would like to merge in this merge window to have enough time for testing.

ups. It was mentioned to be address to you.

Thanks,
Michal
Ricardo Ribalda Jan. 22, 2016, 6:34 p.m. UTC | #10
Hi

My main concern is that the support for the board is not removed. I have
one active product based on virtex5 ppc440.

Today I had to do some last minute support and now I am on a plane...
Otherwise the patchset would be on your inbox.

I have taken a fast look over the required changes, and it is not that bad.
Most of the hard work has already been done by you for mblaze.

Thanks for your understanding ;).
On 22 Jan 2016 19:23, "Michal Simek" <monstr@monstr.eu> wrote:

> Hi,
>
> On 22.1.2016 15:53, Ricardo Ribalda Delgado wrote:
> > Hello
> >
> > I will probably have something by next week. Is it ok?
>
> do you want to me to wait? I have another sort of 50 patches which I
> would like to merge in this merge window to have enough time for testing.
>
> Thanks,
> Michal
>
> --
> Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
> w: www.monstr.eu p: +42-0-721842854
> Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
> Maintainer of Linux kernel - Xilinx Zynq ARM architecture
> Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform
>
>
>
Michal Simek Jan. 25, 2016, 9:24 a.m. UTC | #11
Hi,

On 22.1.2016 19:34, Ricardo Ribalda Delgado wrote:
> Hi
> 
> My main concern is that the support for the board is not removed. I have
> one active product based on virtex5 ppc440.
> 
> Today I had to do some last minute support and now I am on a plane...
> Otherwise the patchset would be on your inbox.
> 
> I have taken a fast look over the required changes, and it is not that bad.
> Most of the hard work has already been done by you for mblaze.
> 
> Thanks for your understanding ;).

You got max 2 more days to solve it. After that I will just disable
uartlite support for this platform and will send updated pull request as
we discussed with Tom.

Thanks,
Michal
Tom Rini Jan. 25, 2016, 3:16 p.m. UTC | #12
On Mon, Jan 25, 2016 at 10:24:20AM +0100, Michal Simek wrote:
> Hi,
> 
> On 22.1.2016 19:34, Ricardo Ribalda Delgado wrote:
> > Hi
> > 
> > My main concern is that the support for the board is not removed. I have
> > one active product based on virtex5 ppc440.
> > 
> > Today I had to do some last minute support and now I am on a plane...
> > Otherwise the patchset would be on your inbox.
> > 
> > I have taken a fast look over the required changes, and it is not that bad.
> > Most of the hard work has already been done by you for mblaze.
> > 
> > Thanks for your understanding ;).
> 
> You got max 2 more days to solve it. After that I will just disable
> uartlite support for this platform and will send updated pull request as
> we discussed with Tom.

Since this was on IRC, yes, we should disable the uartlite support to
keep 440 building if this can't be resolved by enabling DM there instead
as I don't want to block everything else on this.  Thanks!