From patchwork Wed Oct 20 12:48:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefano Babic X-Patchwork-Id: 1543874 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=y2WPVENX; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.a=rsa-sha256 header.s=phobos-20191101 header.b=xrzkVFUz; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4HZ9Qr0vHFz9sNH for ; Wed, 20 Oct 2021 23:48:52 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 222EF83273; Wed, 20 Oct 2021 14:48:43 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1634734123; bh=P4XHTGjSrV7/qPVsjxXrkTTyO+a8fLErB3u8VMQ4CEI=; h=To:Cc:From:Subject:Date:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=y2WPVENXqjxVmfkUyruqrrG8jHiuiHFPs8H/4vkeVGuhOrtIOPOpglbSBgKjruGZJ HLIuhKuKD4Xfei+J1LTFZuZMSvdypfVKYOnnB9LXdT8pSS0Zl3TNRDTxD5UHfKjPju Qbn3M90IP02ZInB6C0XqNNCZBJklcOo3sfcF+/yxUCzZ6HW8fsVpl8z06MLQn9U8yi 0Lj9aHxlOeyZch6DqziWGAXUWBOJGkCQwwDyAY8hGRKLWe2F8o1Nkj45QGb9t9K9xl ImOQ1W6ZsOsedGiLY/M3I/mpNMV1CIFFfz5KK54gX4WvS4w+Eq4Pft8NWg+ImnJ4/Y FHTVGfMXm1kQw== Received: from [IPv6:2001:a61:603e:fa01:9943:c66b:8e85:61f] (unknown [IPv6:2001:a61:603e:fa01:9943:c66b:8e85:61f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: sbabic@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 8F5BD81197; Wed, 20 Oct 2021 14:48:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1634734120; bh=P4XHTGjSrV7/qPVsjxXrkTTyO+a8fLErB3u8VMQ4CEI=; h=To:Cc:From:Subject:Date:From; b=xrzkVFUznXPnhWJR3cVOKNcK4aZt8EBtvgRQ1JLoa4CYcVo4AlP4xRxPnzN1vfmm5 ujVyPSHeujqynqaa3apjAyOH6Gd0q7k3kU0GyMIwjTVivmwoVr5tryxspLZH+129Oi pjYd0fR+r24nkKcGNCOYfJJki1KtDQb+rFZRmY8/0aHaDSNtalNUJbiY/Pe2FCVlpJ 4xYC1hfL8QQAfO2oEpaMc2MOLeJYrwaBsQBb9FOnj+hKR8MvnYiFd177i8KODtRE5u e77Cx3SG7b4WA6yiZ5tftM050JRzCAq/0fj2XPaLoN3Wk4MC7MFBTTLRdrJ7aAz6uD 6heGsWNsrdVmQ== To: Tom Rini Cc: "U-Boot@lists.denx.de" From: Stefano Babic Subject: Pull request: u-boot-imx u-boot-imx-20211020 Message-ID: <3110170c-ffa7-bec7-7277-e15c57b7b468@denx.de> Date: Wed, 20 Oct 2021 14:48:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 Content-Language: de-DE X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean Hi Tom, this is a first PR for u-boot-imx. I have still a lot of patches in queue, so a second PR will follow. Simon's patches to improve buildman are merged here (thanks, else I had no idea how to discover the cause of crashes). CI ran with them. The following changes since commit ea67f467a43e4c8852bd1ce1bb75f5dc6c3788d1: Merge branch '2021-10-06-assorted-improvements' (2021-10-06 13:46:31 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git for you to fetch changes up to f0045799c6957e374cc12a6146ac60881cd827d6: imx8mm-cl-iot-gate-optee: align config with Kconfig (2021-10-20 12:13:44 +0200) ---------------------------------------------------------------- Andrej Rosano (2): imx53: usbarmory: Add card detect configuration imx53: usbarmory: Use ethernet driver model Andrey Zhizhikin (1): tree: imx: remove old fit generator script Fabio Estevam (4): imx8mm-cl-iot-gate: Split the defconfigs smegw01: Pass 'mmcpart' to the kernel command line smegw01: Add redundant environment support smegw01: Select IMX_HAB Francesco Dolcini (2): colibri-imx6: use dynamic DDR calibration apalis-imx6: use dynamic DDR calibration Frieder Schrempf (2): imx: imx6ul: Add support for Kontron Electronics SL/BL i.MX6UL/ULL boards (N63xx/N64xx) imx: imx8mm: Add support for Kontron Electronics SL/BL i.MX8M-Mini boards (N801x) Haolin Li (1): mtd: nand: Fix typo in MXC Kconfig symbol description Heiko Schocher (3): spl_fit. add hook to make fixes after fit header is loaded imx: spl: implement spl_load_simple_fit_fix_load imx: spl: fix imx8m secure boot Heiko Thiery (1): rtc: rv8803: add epson,rx8803 and epson,rx8900 compatible Jorge Ramirez-Ortiz (1): mmc: fsl_esdhc_imx: initialize data for imx7ulp Marek Vasut (4): ARM: dts: imx8mm-verdin: Set PHY mode to RGMII-ID ARM: imx: mx5: Enable BMODE command on MX53 Menlo board ARM: imx: mx5: Enable Thumb2 build on MX53 Menlo board ARM: imx: mx5: Add altbootcmd and resets to M53Menlo Matthias Schiffer (1): imx: mx7: spl: fix CONFIG_SPL_MAX_SIZE definition Michael Scott (1): misc: ocotp: Allow disabling ocotp driver in SPL Oleksandr Suvorov (5): imx8mm_evk: Increase CONFIG_SYS_BOOTM_LEN to 64MB imx8mq_evk: Increase CONFIG_SYS_BOOTM_LEN to 64MB imx8qm_mek: Increase CONFIG_SYS_BOOTM_LEN to 64MB ARM: dts: imx: use generic name bus mmc: sdhci-esdhc-imx: Add HS400 support for iMX7ULP Peng Fan (2): tools: imx8mimage: not abort when mmap fail imx: makefile: drop the use of imx8mimage.sh Ricardo Salveti (4): mx7ulp: Allow to enable CONFIG_IMX_HAB Kconfig: Don't use RSA_FREESCALE_EXP on MX7ULP ARM: dts: imx6-apalis: enable watchdog board: ea: mx7ulp_com: move setting CONFIG_BOOTCOMMAND to defconfig Simon Glass (2): buildman: Write output even on fatal error buildman: Detect Kconfig loops Stefano Babic (2): kontron-sl-mx8mm: fix missing configs and deadlock in CI imx8mm-cl-iot-gate-optee: align config with Kconfig Teresa Remmet (1): arm: dts: imx8mp: Generate single bootable binary Tim Harvey (15): board: gateworks: venice: display hwmon details by default board: gateworks: venice: do not overwrite serial# arm: dts: imx8mm-venice-gw700x: fix mp5416 pmic config board: gateworks: venice: update thermal temp thresholds per cpu grade arm: dts: imx8mm-venice*: remove thermal zone overrides imx: ventana: add part command imx: ventana: add U-Boot watchdog support imx: ventana: remove phy gpio reset from dt imx: ventana: enable additional USB ether devices imx: ventana: fix splash logo drawing imx: ventana: update LVDS support imx: ventana: fix USB hub reset arm64: dts: imx8mm-venice-gw700x: use imx8mm-venice-u-boot.dtsi arm64: dts: imx8mm-venice-gw7901: use imx8mm-venice-u-boot.dtsi arm64: dts: imx8mm-venice-gw7902: use imx8mm-venice-u-boot.dtsi Ye Li (4): mmc: fsl_esdhc_imx: Fix clock disable issue arm: imx8m: Fix pad DSE issue for i.MX8MM/MN/MP mtd: nand: mxs_nand_spl: Add nand_spl_adjust_offset mx7ulp: Update wdog disable sequence Ying-Chun Liu (PaulLiu) (2): imx8m: Restrict usable memory based on rom_pointer[0] arm: imx8m: imx8mm-cl-iot-gate: Add support for detect memory size Makefile | 3 - arch/arm/dts/Makefile | 8 +- arch/arm/dts/imx53-m53menlo-u-boot.dtsi | 2 +- arch/arm/dts/imx53-usbarmory.dts | 1 + arch/arm/dts/imx53.dtsi | 4 +- arch/arm/dts/imx6-apalis-u-boot.dtsi | 11 ++ arch/arm/dts/imx6dl.dtsi | 4 +- arch/arm/dts/imx6q-display5-u-boot.dtsi | 2 +- arch/arm/dts/imx6q.dtsi | 2 +- arch/arm/dts/imx6qdl-gw53xx.dtsi | 11 +- arch/arm/dts/imx6qdl-gw54xx.dtsi | 11 +- arch/arm/dts/imx6qdl-gw552x.dtsi | 21 +++- arch/arm/dts/imx6qdl-gw560x.dtsi | 3 +- arch/arm/dts/imx6qdl-gw5904.dtsi | 11 +- arch/arm/dts/imx6qdl-gw5912.dtsi | 11 +- arch/arm/dts/imx6qdl-u-boot.dtsi | 4 +- arch/arm/dts/imx6qdl.dtsi | 4 +- arch/arm/dts/imx6qp.dtsi | 2 +- arch/arm/dts/imx6sl.dtsi | 4 +- arch/arm/dts/imx6sll.dtsi | 4 +- arch/arm/dts/imx6sx.dtsi | 6 +- arch/arm/dts/imx6ul-kontron-n631x-s-u-boot.dtsi | 7 ++ arch/arm/dts/imx6ul-kontron-n631x-s.dts | 17 +++ arch/arm/dts/imx6ul-kontron-n631x-som.dtsi | 14 +++ arch/arm/dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi | 63 +++++++++++ arch/arm/dts/imx6ul-kontron-n6x1x-s.dts | 423 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi | 420 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/dts/imx6ul-kontron-n6x1x-som-common.dtsi | 124 ++++++++++++++++++++++ arch/arm/dts/imx6ul.dtsi | 4 +- arch/arm/dts/imx6ull-kontron-n641x-s-u-boot.dtsi | 7 ++ arch/arm/dts/imx6ull-kontron-n641x-s.dts | 16 +++ arch/arm/dts/imx6ull-kontron-n641x-som.dtsi | 13 +++ arch/arm/dts/imx6ull.dtsi | 2 +- arch/arm/dts/imx7s.dtsi | 6 +- arch/arm/dts/imx8mm-cl-iot-gate-optee-u-boot.dtsi | 255 ++++++++++++++++++++++++++++++++++++++++++++ arch/arm/dts/imx8mm-cl-iot-gate-optee.dts | 6 ++ arch/arm/dts/imx8mm-cl-iot-gate-u-boot.dtsi | 14 +-- arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts | 116 ++++++++++++++++++++ arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi | 274 +++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/dts/imx8mm-kontron-n801x-s.dts | 388 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/dts/imx8mm-kontron-n801x-som.dtsi | 299 ++++++++++++++++++++++++++++++++++++++++++++++++++++ arch/arm/dts/imx8mm-venice-gw700x-u-boot.dtsi | 62 ++--------- arch/arm/dts/imx8mm-venice-gw700x.dtsi | 56 ++++++---- arch/arm/dts/imx8mm-venice-gw7901-u-boot.dtsi | 66 +----------- arch/arm/dts/imx8mm-venice-gw7901.dts | 12 --- arch/arm/dts/imx8mm-venice-gw7902-u-boot.dtsi | 54 +--------- arch/arm/dts/imx8mm-venice-gw7902.dts | 12 --- arch/arm/dts/imx8mm-verdin.dts | 2 +- arch/arm/dts/imx8mp-u-boot.dtsi | 19 +++- arch/arm/dts/vf.dtsi | 4 +- arch/arm/include/asm/mach-imx/iomux-v3.h | 21 ++-- arch/arm/mach-imx/Kconfig | 2 +- arch/arm/mach-imx/Makefile | 13 +-- arch/arm/mach-imx/imx8m/Kconfig | 15 +++ arch/arm/mach-imx/imx8m/soc.c | 16 ++- arch/arm/mach-imx/mkimage_fit_atf.sh | 143 ------------------------- arch/arm/mach-imx/mx6/Kconfig | 10 ++ arch/arm/mach-imx/mx7ulp/soc.c | 33 ++++-- arch/arm/mach-imx/spl.c | 47 +++++++++ board/compulab/imx8mm-cl-iot-gate/Kconfig | 2 +- board/compulab/imx8mm-cl-iot-gate/MAINTAINERS | 1 + board/compulab/imx8mm-cl-iot-gate/imx8mm-cl-iot-gate.c | 25 +++++ board/freescale/imx8mp_evk/imximage-8mp-lpddr4.cfg | 2 +- board/gateworks/gw_ventana/gw_ventana.c | 102 +++++++++--------- board/gateworks/venice/gsc.c | 3 + board/gateworks/venice/imx8mm_venice.c | 21 +++- board/kontron/sl-mx6ul/Kconfig | 15 +++ board/kontron/sl-mx6ul/MAINTAINERS | 9 ++ board/kontron/sl-mx6ul/Makefile | 8 ++ board/kontron/sl-mx6ul/sl-mx6ul.c | 85 +++++++++++++++ board/kontron/sl-mx6ul/spl.c | 377 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ board/kontron/sl-mx8mm/Kconfig | 15 +++ board/kontron/sl-mx8mm/MAINTAINERS | 8 ++ board/kontron/sl-mx8mm/Makefile | 9 ++ board/kontron/sl-mx8mm/imximage.cfg | 9 ++ board/kontron/sl-mx8mm/lpddr4_timing.c | 1844 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ board/kontron/sl-mx8mm/sl-mx8mm.c | 99 +++++++++++++++++ board/kontron/sl-mx8mm/spl.c | 321 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ board/menlo/m53menlo/m53menlo.c | 5 + board/phytec/phycore_imx8mp/imximage-8mp-sd.cfg | 2 +- board/toradex/apalis_imx6/apalis_imx6.c | 19 ++++ board/toradex/colibri_imx6/colibri_imx6.c | 22 ++++ common/spl/spl_fit.c | 18 +++- configs/apalis_imx6_defconfig | 1 + configs/colibri_imx6_defconfig | 1 + configs/gwventana_emmc_defconfig | 15 ++- configs/gwventana_gw5904_defconfig | 15 ++- configs/gwventana_nand_defconfig | 15 ++- configs/imx8mm-cl-iot-gate-optee_defconfig | 148 ++++++++++++++++++++++++++ configs/kontron-sl-mx6ul_defconfig | 109 +++++++++++++++++++ configs/kontron-sl-mx8mm_defconfig | 142 +++++++++++++++++++++++++ configs/m53menlo_defconfig | 2 +- configs/mx7ulp_com_defconfig | 2 + configs/smegw01_defconfig | 5 +- configs/usbarmory_defconfig | 1 + doc/board/kontron/index.rst | 2 + doc/board/kontron/sl-mx6ul.rst | 43 ++++++++ doc/board/kontron/sl-mx8mm.rst | 85 +++++++++++++++ doc/board/nxp/imx8mp_evk.rst | 1 - drivers/misc/Kconfig | 9 ++ drivers/misc/Makefile | 2 +- drivers/mmc/fsl_esdhc_imx.c | 17 ++- drivers/mtd/nand/raw/Kconfig | 2 +- drivers/mtd/nand/raw/mxs_nand_spl.c | 6 ++ drivers/rtc/rv8803.c | 2 + include/configs/gw_ventana.h | 1 + include/configs/imx7_spl.h | 20 ++-- include/configs/imx8mm_evk.h | 2 +- include/configs/imx8mq_evk.h | 2 +- include/configs/imx8qm_mek.h | 2 + include/configs/kontron-sl-mx6ul.h | 77 ++++++++++++++ include/configs/kontron-sl-mx8mm.h | 84 +++++++++++++++ include/configs/m53menlo.h | 15 ++- include/configs/mx7ulp_com.h | 5 - include/configs/smegw01.h | 3 +- include/fsl_esdhc_imx.h | 1 + include/spl.h | 8 ++ lib/rsa/Kconfig | 4 +- tools/buildman/builder.py | 43 +++++++- tools/buildman/builderthread.py | 12 +-- tools/imx8mimage.c | 3 +- tools/patman/command.py | 7 +- tools/patman/cros_subprocess.py | 10 +- 123 files changed, 6595 insertions(+), 534 deletions(-) create mode 100644 arch/arm/dts/imx6-apalis-u-boot.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-s.dts create mode 100644 arch/arm/dts/imx6ul-kontron-n631x-som.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s.dts create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-s.dtsi create mode 100644 arch/arm/dts/imx6ul-kontron-n6x1x-som-common.dtsi create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-s.dts create mode 100644 arch/arm/dts/imx6ull-kontron-n641x-som.dtsi create mode 100644 arch/arm/dts/imx8mm-cl-iot-gate-optee-u-boot.dtsi create mode 100644 arch/arm/dts/imx8mm-cl-iot-gate-optee.dts create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-lvds.dts create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s-u-boot.dtsi create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-s.dts create mode 100644 arch/arm/dts/imx8mm-kontron-n801x-som.dtsi delete mode 100755 arch/arm/mach-imx/mkimage_fit_atf.sh create mode 100644 board/kontron/sl-mx6ul/Kconfig create mode 100644 board/kontron/sl-mx6ul/MAINTAINERS create mode 100644 board/kontron/sl-mx6ul/Makefile create mode 100644 board/kontron/sl-mx6ul/sl-mx6ul.c create mode 100644 board/kontron/sl-mx6ul/spl.c create mode 100644 board/kontron/sl-mx8mm/Kconfig create mode 100644 board/kontron/sl-mx8mm/MAINTAINERS create mode 100644 board/kontron/sl-mx8mm/Makefile create mode 100644 board/kontron/sl-mx8mm/imximage.cfg create mode 100644 board/kontron/sl-mx8mm/lpddr4_timing.c create mode 100644 board/kontron/sl-mx8mm/sl-mx8mm.c create mode 100644 board/kontron/sl-mx8mm/spl.c create mode 100644 configs/imx8mm-cl-iot-gate-optee_defconfig create mode 100644 configs/kontron-sl-mx6ul_defconfig create mode 100644 configs/kontron-sl-mx8mm_defconfig create mode 100644 doc/board/kontron/sl-mx6ul.rst create mode 100644 doc/board/kontron/sl-mx8mm.rst create mode 100644 include/configs/kontron-sl-mx6ul.h create mode 100644 include/configs/kontron-sl-mx8mm.h Best regards, Stefano