mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 15:34:55 +00:00
board: phytec: imx93: Add phyCORE-i.MX 93 support for all SOM variants
The phyCORE-i.MX 93 is available in various variants (e.g. different ram sizes, eMMC HS400 yes/no). Enable hardware introspection for the imx93-phyboard-segin_defconfig, so that during startup the SOM module variant can be detected, and the hardware can be configured accordingly. The resulting SPL and u-boot binary shall able to boot each phyCORE-i.MX 93 module variant on each carrier board. Finally rename imx93-phyboard-segin_defconfig to imx93-phycore_defconfig, to highlight its SOM scope. Signed-off-by: Christoph Stoidner <c.stoidner@phytec.de> Reviewed-by: Wadim Egorov <w.egorov@phytec.de> Reviewed-by: Yannic Moog <y.moog@phytec.de>
This commit is contained in:
parent
d3b9b79968
commit
512c6b67a2
5 changed files with 17 additions and 8 deletions
|
@ -2,15 +2,22 @@
|
|||
/*
|
||||
* Copyright (C) 2023 PHYTEC Messtechnik GmbH
|
||||
* Christoph Stoidner <c.stoidner@phytec.de>
|
||||
* Copyright (C) 2024 PHYTEC Messtechnik GmbH
|
||||
*
|
||||
* Product homepage:
|
||||
* phyBOARD-Segin carrier board is reused for the i.MX93 design.
|
||||
* https://www.phytec.eu/en/produkte/single-board-computer/phyboard-segin-imx6ul/
|
||||
https://www.phytec.de/produkte/system-on-modules/phycore-imx-91-93/
|
||||
*/
|
||||
|
||||
#include "imx93-u-boot.dtsi"
|
||||
|
||||
/ {
|
||||
/*
|
||||
* The phyCORE-i.MX93 u-boot uses the imx93-phyboard-segin.dts as
|
||||
* reference, but does only make use of its SoM (phyCORE) contained
|
||||
* periphery.
|
||||
*/
|
||||
model = "PHYTEC phyCORE-i.MX93";
|
||||
|
||||
wdt-reboot {
|
||||
compatible = "wdt-reboot";
|
||||
wdt = <&wdog3>;
|
||||
|
|
|
@ -9,5 +9,5 @@ F: arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi
|
|||
F: board/phytec/phycore_imx93/
|
||||
F: board/phytec/common/imx93_som_detection.c
|
||||
F: board/phytec/common/imx93_som_detection.h
|
||||
F: configs/imx93-phyboard-segin_defconfig
|
||||
F: configs/imx93-phycore_defconfig
|
||||
F: include/configs/phycore_imx93.h
|
||||
|
|
|
@ -6,6 +6,7 @@ CONFIG_SYS_MALLOC_F_LEN=0x20000
|
|||
CONFIG_SPL_LIBCOMMON_SUPPORT=y
|
||||
CONFIG_SPL_LIBGENERIC_SUPPORT=y
|
||||
CONFIG_NR_DRAM_BANKS=2
|
||||
CONFIG_PHYTEC_SOM_DETECTION=y
|
||||
CONFIG_ENV_SOURCE_FILE="phycore_imx93"
|
||||
CONFIG_ENV_SIZE=0x10000
|
||||
CONFIG_ENV_OFFSET=0x700000
|
||||
|
@ -31,6 +32,7 @@ CONFIG_SPL_IMX_ROMAPI_LOADADDR=0x88000000
|
|||
CONFIG_SYS_MEMTEST_START=0x80000000
|
||||
CONFIG_SYS_MEMTEST_END=0x90000000
|
||||
CONFIG_REMAKE_ELF=y
|
||||
# CONFIG_ANDROID_BOOT_IMAGE is not set
|
||||
CONFIG_DISTRO_DEFAULTS=y
|
||||
CONFIG_OF_SYSTEM_SETUP=y
|
||||
CONFIG_BOOTCOMMAND="mmc dev ${mmcdev}; if mmc rescan; then if run loadimage; then run mmcboot; else run netboot; fi; fi;"
|
|
@ -1,9 +1,9 @@
|
|||
.. SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
phyBOARD-Segin-i.MX93
|
||||
=====================
|
||||
phyCORE-i.MX 93
|
||||
===============
|
||||
|
||||
U-Boot for the phyBOARD-Segin-i.MX93.
|
||||
U-Boot for the phyCORE-i.MX 93.
|
||||
|
||||
Quick Start
|
||||
-----------
|
||||
|
@ -51,7 +51,7 @@ Build U-Boot
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
$ make imx93-phyboard-segin_defconfig
|
||||
$ make imx93-phycore_defconfig
|
||||
$ make
|
||||
|
||||
Burn the flash.bin to MicroSD card offset 32KB:
|
|
@ -7,7 +7,7 @@ PHYTEC
|
|||
:maxdepth: 2
|
||||
|
||||
imx8mm-phygate-tauri-l
|
||||
imx93-phyboard-segin
|
||||
imx93-phycore
|
||||
phycore-am62x
|
||||
phycore-am64x
|
||||
phycore-imx8mm
|
||||
|
|
Loading…
Add table
Reference in a new issue