From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 17 Jan 2024 14:34:53 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1rQ64B-003mWO-2c for lore@lore.pengutronix.de; Wed, 17 Jan 2024 14:34:53 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1rQ64C-0001HM-F2; Wed, 17 Jan 2024 14:34:52 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rQ644-0001Fe-AP for distrokit@pengutronix.de; Wed, 17 Jan 2024 14:34:44 +0100 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rQ643-000Tku-Rt for distrokit@pengutronix.de; Wed, 17 Jan 2024 14:34:43 +0100 Received: from lgo by dude03.red.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rQ643-0041dN-2L for distrokit@pengutronix.de; Wed, 17 Jan 2024 14:34:43 +0100 From: =?UTF-8?q?Leonard=20G=C3=B6hrs?= To: distrokit@pengutronix.de Date: Wed, 17 Jan 2024 14:34:33 +0100 Message-Id: <20240117133440.944800-1-l.goehrs@pengutronix.de> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [DistroKit] [PATCH v2 0/7] v8a: imx8m: add i.MX8MP based TQ MBa8MPxL board X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false This adds support for the i.MX8MP based MBa8MPxL[1] by TQ. This board uses another UART than e.g. the NXP EVK boards for debug output. This is why we need a tf-a patch that automatically selects the UART at runtime based on which one is already enabled. While at it I've also added a barebox state partition for all other i.MX8M images, to prepare them for RAUC support and added RAUC support for the MBa8MPxL. This patch series is built upon Ahmads series[2] that updates barebox and cleans up its configuration, so that should be merged first to prevent conflicts. Changes from v1 to v2: - Add an (admittedly untested) i.MX8MQ version of the tf-a UART auto detection patch and use "IMX_BOOT_UART_BASE=auto" instead of "IMX_BOOT_UART_BASE=0". The variant in v1 with "IMX_BOOT_UART_BASE=0" would previously have silently broken support on i.MX8MQ. - More changes to the partition layout based on the given feedback. - Simplified "barebox-common-defaultenv/init/bootsource". [1]: https://www.tq-group.com/en/products/tq-embedded/arm-architecture/mba8mpxl/ [2]: https://lore.distrokit.org/distrokit/20240102154603.3678357-1-a.fatoum@pengutronix.de/T/#t