mbox series

[GIT,PULL] Pull request: u-boot-imx u-boot-imx-20200511

Message ID 7cfd484a-06b4-b350-63ad-c1954bfc3a4c@denx.de
State Accepted
Delegated to: Tom Rini
Headers show
Series [GIT,PULL] Pull request: u-boot-imx u-boot-imx-20200511 | expand

Pull-request

https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-20200511

Message

Stefano Babic May 11, 2020, 10:29 a.m. UTC
Hi Tom,

please pull these i.MX's changes for 2020.07, thanks !

The following changes since commit c5c657644bc35fd6b3d6e5517698721e90646b8d:

  Merge branch '2020-05-08-assorted-fixes' (2020-05-08 18:58:19 -0400)

are available in the Git repository at:

  https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git
tags/u-boot-imx-20200511

for you to fetch changes up to d52a03b130565e6b01dcbe656ebeb611d5ee1aa1:

  imx8: cpu: check resource owned after sid fail (2020-05-10 20:55:21 +0200)

----------------------------------------------------------------
i.MX for 2020.07
----------------

- i.MX NAND and nandbxb for i.MX8M
- imx8MM : new beacon devkit
- imx8MQ : new pico-imx8MQ
- imx8QXP : extend to enable M4, fixes
- add thermal support
- caches in SPL (missing board)
- Fixes

Travis: https://travis-ci.org/github/sbabic/u-boot-imx/builds/685391011

----------------------------------------------------------------
Adam Ford (1):
      imx: Add support for i.MX8MM Beacon EmbeddedWorks devkit.

Alice Guo (5):
      nand: mxs_nand: make imx8mm can use hardware BCH and randomizer
      nand: enable the Randomizer module for i.mx7 and i.mx8
      nandbcb: support i.MX8M
      nandbcb: add nandbcb dump command for i.MX8MM
      nandbcb: add nandbcb dump command for i.MX6

Fabio Estevam (1):
      imx8mq_phanbell: Run SPL with caches enabled

Frank Li (3):
      spl: sdp: call board_usb_init at spl_sdp_load_image
      usb: gadget: sdp: use CONFIG_SDP_LOADADDR as default load address
      cpu: imx8: show RevC instead of Rev? at boot log

Fugang Duan (3):
      net: phy: realtek: add rx delay support for RTL8211F
      net: dwc_eth_qos: add dwc eqos for imx support
      net: eqos: implement callbaks to get interface and set txclk rate

Han Xu (7):
      mtd: nand: mxs_nand: add i.MX6QP compatible string
      mtd: mxs_nand: fix the gf_13/14 definition issue
      mxs_nand: don't check zero count when ECC reading with randomizer
      nandbcb: fix the issue cannot support gf_14 NAND boot
      cmd: nandbcb: Reconstruct the nandbcb tool for all platforms
      nandbcb: read boot search count from fuse for imx8qxp
      mtd: nand: raw: mxs_nand changes for nandbcb

Leonard Crestez (1):
      imx8: Replace SC_R_LAST with SC_R_NONE in DTB

Marek Vasut (1):
      ARM: imx: pico-imx8mq: Add support for Technexion Pico-iMX8MQ

Peng Fan (33):
      uclass: cpu: Add new API to get udevice for current CPU
      cpu: sandbox: support is_current
      test: cpu: test current cpu
      cpu: imx8: reimplement get cpu count
      cpu: imx8: support a72 as boot cpu
      cpu: imx8: fix get core name and rate
      imx: add module fuse support
      i2c: mxc: add fuse check
      usb: mx6: add fuse check
      net: fec: add fuse check
      net: eth-uclass: add return value check
      thermal: Add thermal driver for i.MX8M
      thermal: imx_tmu: Add support for thermal sensor on iMX8MM
      thermal: imx_tmu: support TMU arch level initialization
      thermal: imx_tmu: Fix for temperature out of range
      thermal: imx_tmu: Check the TEMP range for iMX8MM
      thermal: imx_tmu: support i.MX8MP
      imx: regs: add more fuse bank structure
      imx: cpu: support tmu
      nand: mxs: fix the bitflips for erased page when uncorrectable error
      nand: mxs: correct bitflip for erased NAND page
      mtd: nand: support GPMI NAND driver for i.MX8
      dt-bindings: imx_rsrc: add SC_R_NONE
      imx8: power: Add PD device lookup interface to power domain uclass
      power: imx8: remove the resource owned check before power off
      imx: imx8qm/qxp: reserving DDR memory for M4
      imx: imx8qm/qxp: add get_board_serial
      imx: imx8qm/imx8qxp: Power down the resources before SPL jump to
u-boot
      imx: imx8qm/qxp: Recover SPL data section for partition reboot
      imx: imx8qm/qxp: check whether m4 partition booted
      imx: imx8qm: update fdt_file according to m4 state
      imx: imx8qxp: update fdt_file according to m4 state
      imx8: cpu: check resource owned after sid fail

Sherry Sun (1):
      spl: sdp: Add DM gadget support for sdp

Stefano Babic (1):
      Merge branch 'master' of git://git.denx.de/u-boot

Ye Li (26):
      spl: sdp: Add CONFIG_SPL_SDP_USB_DEV for USB device
      spl: sdp: Add a callback to clean up USB driver
      common: board_f: Use cpu_get_current_dev in print_cpuinfo
      cpu: imx_cpu: Print the CPU temperature for iMX8QM A72
      pinctrl: nxp: scu: Check the pad partition before set pinmux
      net: Add eth phy generic driver for shared MDIO
      net: Update eQos driver and FEC driver to use eth phy interfaces
      fec: Move imx_get_mac_from_fuse declare to imx file
      eQos: Implement the read_rom_hwaddr callback
      thermal: imx_scu_thermal: Update driver for i.MX8QM thermal sensor
      imx8mm: Load fuse for TMU TCALIV and TASR
      imx: i.MX8MN: Enable loading TASR and TCALIV from fuse
      imx: load calibration parameters from fuse for i.MX8MP
      imx8mp: Set default SNSR25C for TMU probe1
      misc: fuse: Update imx8 fuse driver for 8QM
      misc: scu: Increase the timeout for MU communication
      mtd: gpmi: change the BCH layout setting for large oob NAND
      mtd: gpmi: provide the option to use legacy bch geometry
      mxs_nand: Add support for i.MX8M
      nand: Update SPL MXS NAND mini driver
      mxs_nand: Update compatible string for i.MX6SX
      MXS_NAND: Add clock support for iMX8
      power: imx8-power-domain: Set DM_FLAG_DEFAULT_PD_CTRL_OFF flag
      power: imx8: Check owned resource in power on
      imx: imx8qm/qxp: Fix issue in get_effective_memsize
      imx8: Select boot device dynamically

 arch/arm/cpu/armv8/Kconfig                       |    6 +
 arch/arm/cpu/armv8/Makefile                      |    4 +
 arch/arm/cpu/armv8/spl_data.c                    |   29 ++
 arch/arm/cpu/armv8/u-boot-spl.lds                |    8 +
 arch/arm/dts/Makefile                            |    4 +-
 arch/arm/dts/fsl-imx8dx.dtsi                     |    6 +-
 arch/arm/dts/fsl-imx8qm.dtsi                     |    6 +-
 arch/arm/dts/imx8mm-beacon-baseboard.dtsi        |  285 ++++++++++++++++
 arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi       |  131 ++++++++
 arch/arm/dts/imx8mm-beacon-kit.dts               |   19 ++
 arch/arm/dts/imx8mm-beacon-som.dtsi              |  390
+++++++++++++++++++++
 arch/arm/dts/imx8mq-pico-pi.dts                  |  420
+++++++++++++++++++++++
 arch/arm/include/asm/arch-imx/cpu.h              |    1 +
 arch/arm/include/asm/arch-imx8/sys_proto.h       |    9 +
 arch/arm/include/asm/arch-imx8m/imx-regs.h       |   41 ++-
 arch/arm/include/asm/mach-imx/dma.h              |   15 +-
 arch/arm/include/asm/mach-imx/imx-nandbcb.h      |    4 +-
 arch/arm/include/asm/mach-imx/module_fuse.h      |  127 +++++++
 arch/arm/include/asm/mach-imx/regs-apbh.h        |    9 +-
 arch/arm/include/asm/mach-imx/regs-bch.h         |   20 +-
 arch/arm/include/asm/mach-imx/sys_proto.h        |    3 +
 arch/arm/mach-imx/Kconfig                        |    9 +-
 arch/arm/mach-imx/cmd_nandbcb.c                  | 1241
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
 arch/arm/mach-imx/cpu.c                          |    4 +-
 arch/arm/mach-imx/imx8/Kconfig                   |   10 +
 arch/arm/mach-imx/imx8/cpu.c                     |   84 ++++-
 arch/arm/mach-imx/imx8/fdt.c                     |   18 +-
 arch/arm/mach-imx/imx8m/Kconfig                  |   13 +
 arch/arm/mach-imx/imx8m/soc.c                    |   75 ++++-
 arch/arm/mach-imx/mx6/Makefile                   |    1 +
 arch/arm/mach-imx/mx6/module_fuse.c              |  322 ++++++++++++++++++
 board/beacon/imx8mm/Kconfig                      |   14 +
 board/beacon/imx8mm/MAINTAINERS                  |    7 +
 board/beacon/imx8mm/Makefile                     |   13 +
 board/beacon/imx8mm/README                       |   37 ++
 board/beacon/imx8mm/imx8mm_beacon.c              |   67 ++++
 board/beacon/imx8mm/lpddr4_timing.c              | 1980
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 board/beacon/imx8mm/spl.c                        |  155 +++++++++
 board/freescale/imx8qm_mek/imx8qm_mek.c          |   13 +
 board/freescale/imx8qm_mek/spl.c                 |    6 +
 board/freescale/imx8qxp_mek/imx8qxp_mek.c        |   13 +
 board/freescale/imx8qxp_mek/spl.c                |    6 +
 board/technexion/pico-imx8mq/Kconfig             |   12 +
 board/technexion/pico-imx8mq/MAINTAINERS         |    6 +
 board/technexion/pico-imx8mq/Makefile            |   12 +
 board/technexion/pico-imx8mq/README              |   52 +++
 board/technexion/pico-imx8mq/lpddr4_timing.h     |   14 +
 board/technexion/pico-imx8mq/lpddr4_timing_1gb.c | 1734
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 board/technexion/pico-imx8mq/lpddr4_timing_2gb.c | 1734
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 board/technexion/pico-imx8mq/lpddr4_timing_3gb.c | 1734
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 board/technexion/pico-imx8mq/lpddr4_timing_4gb.c | 1734
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 board/technexion/pico-imx8mq/pico-imx8mq.c       |  146 ++++++++
 board/technexion/pico-imx8mq/spl.c               |  223 ++++++++++++
 common/board_f.c                                 |   10 +-
 common/spl/Kconfig                               |    8 +
 common/spl/spl_sdp.c                             |    5 +-
 configs/imx8mm_beacon_defconfig                  |  104 ++++++
 configs/imx8mq_phanbell_defconfig                |    2 -
 configs/pico-imx8mq_defconfig                    |   47 +++
 drivers/cpu/cpu-uclass.c                         |   34 ++
 drivers/cpu/cpu_sandbox.c                        |    9 +
 drivers/cpu/imx8_cpu.c                           |   85 ++++-
 drivers/dma/Kconfig                              |    2 +-
 drivers/dma/apbh_dma.c                           |   13 +-
 drivers/i2c/mxc_i2c.c                            |   17 +
 drivers/misc/imx8/fuse.c                         |    5 +
 drivers/misc/imx8/scu.c                          |    2 +-
 drivers/mtd/nand/raw/Kconfig                     |    6 +-
 drivers/mtd/nand/raw/mxs_nand.c                  |  330 +++++++++++++-----
 drivers/mtd/nand/raw/mxs_nand_dt.c               |   91 +++++
 drivers/mtd/nand/raw/mxs_nand_spl.c              |   41 ++-
 drivers/net/Kconfig                              |    6 +
 drivers/net/Makefile                             |    1 +
 drivers/net/dwc_eth_qos.c                        |  290 ++++++++++++++--
 drivers/net/eth-phy-uclass.c                     |  122 +++++++
 drivers/net/fec_mxc.c                            |   30 +-
 drivers/net/fec_mxc.h                            |    2 -
 drivers/net/phy/realtek.c                        |   11 +
 drivers/pinctrl/nxp/pinctrl-scu.c                |    9 +-
 drivers/power/domain/imx8-power-domain-legacy.c  |   81 ++++-
 drivers/thermal/Kconfig                          |    9 +
 drivers/thermal/Makefile                         |    1 +
 drivers/thermal/imx_scu_thermal.c                |    8 +
 drivers/thermal/imx_tmu.c                        |  467
++++++++++++++++++++++++++
 drivers/usb/gadget/Kconfig                       |    4 +
 drivers/usb/gadget/f_sdp.c                       |    4 +-
 drivers/usb/host/ehci-mx6.c                      |   16 +
 include/configs/imx8mm_beacon.h                  |  152 +++++++++
 include/configs/imx8qm_mek.h                     |    2 +-
 include/configs/imx8qxp_mek.h                    |    2 +-
 include/configs/pico-imx8mq.h                    |  199 +++++++++++
 include/cpu.h                                    |   23 ++
 include/dm/uclass-id.h                           |    1 +
 include/dt-bindings/soc/imx_rsrc.h               |    1 +
 include/eth_phy.h                                |   17 +
 include/mxs_nand.h                               |   18 +-
 include/spl.h                                    |    1 +
 net/eth-uclass.c                                 |   17 +-
 test/dm/cpu.c                                    |    2 +
 99 files changed, 14965 insertions(+), 368 deletions(-)
 create mode 100644 arch/arm/cpu/armv8/spl_data.c
 create mode 100644 arch/arm/dts/imx8mm-beacon-baseboard.dtsi
 create mode 100644 arch/arm/dts/imx8mm-beacon-kit-u-boot.dtsi
 create mode 100644 arch/arm/dts/imx8mm-beacon-kit.dts
 create mode 100644 arch/arm/dts/imx8mm-beacon-som.dtsi
 create mode 100644 arch/arm/dts/imx8mq-pico-pi.dts
 create mode 100644 arch/arm/include/asm/mach-imx/module_fuse.h
 create mode 100644 arch/arm/mach-imx/mx6/module_fuse.c
 create mode 100644 board/beacon/imx8mm/Kconfig
 create mode 100644 board/beacon/imx8mm/MAINTAINERS
 create mode 100644 board/beacon/imx8mm/Makefile
 create mode 100644 board/beacon/imx8mm/README
 create mode 100644 board/beacon/imx8mm/imx8mm_beacon.c
 create mode 100644 board/beacon/imx8mm/lpddr4_timing.c
 create mode 100644 board/beacon/imx8mm/spl.c
 create mode 100644 board/technexion/pico-imx8mq/Kconfig
 create mode 100644 board/technexion/pico-imx8mq/MAINTAINERS
 create mode 100644 board/technexion/pico-imx8mq/Makefile
 create mode 100644 board/technexion/pico-imx8mq/README
 create mode 100644 board/technexion/pico-imx8mq/lpddr4_timing.h
 create mode 100644 board/technexion/pico-imx8mq/lpddr4_timing_1gb.c
 create mode 100644 board/technexion/pico-imx8mq/lpddr4_timing_2gb.c
 create mode 100644 board/technexion/pico-imx8mq/lpddr4_timing_3gb.c
 create mode 100644 board/technexion/pico-imx8mq/lpddr4_timing_4gb.c
 create mode 100644 board/technexion/pico-imx8mq/pico-imx8mq.c
 create mode 100644 board/technexion/pico-imx8mq/spl.c
 create mode 100644 configs/imx8mm_beacon_defconfig
 create mode 100644 configs/pico-imx8mq_defconfig
 create mode 100644 drivers/net/eth-phy-uclass.c
 create mode 100644 drivers/thermal/imx_tmu.c
 create mode 100644 include/configs/imx8mm_beacon.h
 create mode 100644 include/configs/pico-imx8mq.h
 create mode 100644 include/eth_phy.h

Best regards,
Stefano

Comments

Tom Rini May 11, 2020, 4:04 p.m. UTC | #1
On Mon, May 11, 2020 at 12:29:37PM +0200, Stefano Babic wrote:

> Hi Tom,
> 
> please pull these i.MX's changes for 2020.07, thanks !
> 
> The following changes since commit c5c657644bc35fd6b3d6e5517698721e90646b8d:
> 
>   Merge branch '2020-05-08-assorted-fixes' (2020-05-08 18:58:19 -0400)
> 
> are available in the Git repository at:
> 
>   https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git
> tags/u-boot-imx-20200511
> 
> for you to fetch changes up to d52a03b130565e6b01dcbe656ebeb611d5ee1aa1:
> 
>   imx8: cpu: check resource owned after sid fail (2020-05-10 20:55:21 +0200)
> 

Applied to u-boot/master, thanks!
Anatolij Gustschin May 22, 2020, 12:09 p.m. UTC | #2
On Mon, 11 May 2020 12:04:32 -0400
Tom Rini trini@konsulko.com wrote:

> On Mon, May 11, 2020 at 12:29:37PM +0200, Stefano Babic wrote:
> 
> > Hi Tom,
> > 
> > please pull these i.MX's changes for 2020.07, thanks !
> > 
> > The following changes since commit c5c657644bc35fd6b3d6e5517698721e90646b8d:
> > 
> >   Merge branch '2020-05-08-assorted-fixes' (2020-05-08 18:58:19 -0400)
> > 
> > are available in the Git repository at:
> > 
> >   https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git
> > tags/u-boot-imx-20200511
> > 
> > for you to fetch changes up to d52a03b130565e6b01dcbe656ebeb611d5ee1aa1:
> > 
> >   imx8: cpu: check resource owned after sid fail (2020-05-10 20:55:21 +0200)
> >   
> 
> Applied to u-boot/master, thanks!

All i.MX8QXP boards in mainline are not booting after this merge.
Could you please apply below patches to fix this:

 http://patchwork.ozlabs.org/project/uboot/patch/20200516203420.24409-1-agust@denx.de
 http://patchwork.ozlabs.org/project/uboot/patch/20200519233144.2426-1-agust@denx.de
 http://patchwork.ozlabs.org/project/uboot/patch/20200520082153.20765-1-agust@denx.de

Or alternatively just pull these using below tag in my repo:

The following changes since commit 2fa581ba910368d0f7f995fb906d6c5e4218b594:

  Merge git://git.denx.de/u-boot-sh (2020-05-21 08:26:40 -0400)

are available in the Git repository at:

  https://gitlab.denx.de/u-boot/custodians/u-boot-video.git tags/imx8qxp-fixes

for you to fetch changes up to 4e7413a998ba5666aa4ee0b4f49789f52b1281b1:

  thermal: imx_scu_thermal: prevent boot hang with zero pdata (2020-05-22 13:29:25 +0200)

----------------------------------------------------------------
- Fix i.MX8QXP boot hang when getting CPU temperature

----------------------------------------------------------------
Anatolij Gustschin (3):
      cpu: imx8: fix type and rate detection
      cpu: imx8: use intended cpu-thermal device when getting temp value
      thermal: imx_scu_thermal: prevent boot hang with zero pdata

 drivers/cpu/imx8_cpu.c            | 50 +++++++++++++++++++++++++-------------------------
 drivers/thermal/imx_scu_thermal.c |  4 +++-
 2 files changed, 28 insertions(+), 26 deletions(-)

gitlab CI: https://gitlab.denx.de/u-boot/custodians/u-boot-video/pipelines/3357

--
Anatolij
Tom Rini May 22, 2020, 8:40 p.m. UTC | #3
On Fri, May 22, 2020 at 02:09:09PM +0200, Anatolij Gustschin wrote:

> On Mon, 11 May 2020 12:04:32 -0400
> Tom Rini trini@konsulko.com wrote:
> 
> > On Mon, May 11, 2020 at 12:29:37PM +0200, Stefano Babic wrote:
> > 
> > > Hi Tom,
> > > 
> > > please pull these i.MX's changes for 2020.07, thanks !
> > > 
> > > The following changes since commit c5c657644bc35fd6b3d6e5517698721e90646b8d:
> > > 
> > >   Merge branch '2020-05-08-assorted-fixes' (2020-05-08 18:58:19 -0400)
> > > 
> > > are available in the Git repository at:
> > > 
> > >   https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git
> > > tags/u-boot-imx-20200511
> > > 
> > > for you to fetch changes up to d52a03b130565e6b01dcbe656ebeb611d5ee1aa1:
> > > 
> > >   imx8: cpu: check resource owned after sid fail (2020-05-10 20:55:21 +0200)
> > >   
> > 
> > Applied to u-boot/master, thanks!
> 
> All i.MX8QXP boards in mainline are not booting after this merge.
> Could you please apply below patches to fix this:
> 
>  http://patchwork.ozlabs.org/project/uboot/patch/20200516203420.24409-1-agust@denx.de
>  http://patchwork.ozlabs.org/project/uboot/patch/20200519233144.2426-1-agust@denx.de
>  http://patchwork.ozlabs.org/project/uboot/patch/20200520082153.20765-1-agust@denx.de
> 
> Or alternatively just pull these using below tag in my repo:
> 
> The following changes since commit 2fa581ba910368d0f7f995fb906d6c5e4218b594:
> 
>   Merge git://git.denx.de/u-boot-sh (2020-05-21 08:26:40 -0400)
> 
> are available in the Git repository at:
> 
>   https://gitlab.denx.de/u-boot/custodians/u-boot-video.git tags/imx8qxp-fixes
> 
> for you to fetch changes up to 4e7413a998ba5666aa4ee0b4f49789f52b1281b1:
> 
>   thermal: imx_scu_thermal: prevent boot hang with zero pdata (2020-05-22 13:29:25 +0200)
> 

Applied to u-boot/master, thanks!