[PATCH v2] zynqmp: Save "bootseq" environment variable in decimal format

2025-02-04 Thread egyszeregy
From: Benjamin Szőke In U-Boot, most of mmc releated commands uses decimal value in arguments, like "mmc dev ${bootseq}" or "bootargs=root=/dev/mmcblk${bootseq}p2". In order to improve compatibilities, export "bootseq" number to environment variable in decimal format instead of hex. Signed-off-b

[PATCH] zynqmp: Save "bootseq" environment variable in dec format

2025-02-03 Thread egyszeregy
From: Benjamin Szőke Save "bootseq" environment variable in decimal format. Signed-off-by: Benjamin Szőke --- board/xilinx/zynqmp/zynqmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index 8cdd9d8600..820fb252a

[PATCH v2] zynqmp: Dynamic setting mmcdev and mmcroot

2025-02-01 Thread egyszeregy
From: Benjamin Szőke Dynamic setting mmcdev and mmcroot. Then when boot linux, we can have correct "root=/dev/mmcblk[x]p2" ref: board/freescale/common/mmc.c https://github.com/u-boot/u-boot/blob/master/board/freescale/common/mmc.c v2: Fix backslash for CFG_EXTRA_ENV_SETTINGS Signed-off-by: Ben

[PATCH] zynqmp: Dynamic setting mmcdev and mmcroot

2025-01-30 Thread egyszeregy
From: Benjamin Szőke Dynamic setting mmcdev and mmcroot. Then when boot linux, we can have correct "root=/dev/mmcblk[x]p2" ref: board/freescale/common/mmc.c https://github.com/u-boot/u-boot/blob/master/board/freescale/common/mmc.c Signed-off-by: Benjamin Szőke --- board/xilinx/zynqmp/zynqmp.c

[PATCH v2] imx9: Improve boot mode autodetection

2024-11-01 Thread egyszeregy
From: Benjamin Szőke Improve "mmcautodetect=yes" boot mode autodetection to able to use it if CONFIG_ENV_IS_NOWHERE=y is used for i.MX9 SoCs and i.MX93 EVK board. If both CONFIG_ENV_IS_IN_MMC=y and CONFIG_ENV_IS_NOWHERE=y are in the defconfig, CONFIG_ENV_IS_IN_MMC=y will be overiden default CONF

[PATCH v2] pico-imx7d: Increase ODT resistor value

2024-10-16 Thread egyszeregy
From: Ray Chang Increase ODT resistor value from 60 to 120 ohm to improve DRAM stability. Based on the following commit from TechNexion U-Boot: https://github.com/TechNexion/u-boot-tn-imx/commit/8a00e57b697c6f7d3d3abcfc552550ac7d8cc96d Signed-off-by: Ray Chang Signed-off-by: Benjamin Szőke --

[PATCH] pico-imx7d: increase ODT resistor value from 60 to 120 ohm to improve DRAM stability

2024-10-14 Thread egyszeregy
From: Ray Chang Signed-off-by: Ray Chang --- board/technexion/pico-imx7d/spl.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/board/technexion/pico-imx7d/spl.c b/board/technexion/pico-imx7d/spl.c index cb60d3be42..fc97c58ae1 100644 --- a/board/technexion/pico-im

[PATCH] imx9: Improve boot device auto-selection

2024-10-13 Thread egyszeregy
From: Benjamin Szőke Improve "mmcautodetect=yes" boot device auto-selection to able to use it if CONFIG_ENV_IS_NOWHERE is enabled for i.MX9 SoC and i.MX93 EVK board. Signed-off-by: Benjamin Szőke --- arch/arm/mach-imx/imx9/soc.c | 6 +- board/freescale/imx93_evk/imx93_evk.c | 2 +-

[PATCH 1/1] pico-imx7d: add baseboard SD card boot detect

2023-11-07 Thread egyszeregy
From: Benjamin Szőke Technexion PICO-IMX7 SoM is supporting USDHC3 (eMMC or micro SD on SoM) and USDHC1 (SD on carrier board) to use on any carrier board like PICO-NYMPH. Based on the U-Boot version from Technexion it adds baseboard SD card boot detect to able to boot from selected USDHC1 or USDH

[PATCH 1/1] pico-imx7d: fix typo in AR8035 comment

2023-11-03 Thread egyszeregy
From: Benjamin Szőke Signed-off-by: Benjamin Szőke --- board/technexion/pico-imx7d/pico-imx7d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/technexion/pico-imx7d/pico-imx7d.c b/board/technexion/pico-imx7d/pico-imx7d.c index 6e98b85b28..7f5a092457 100644 --- a/boar

[PATCH 1/1] [u-boot][master][PATCH v6] pico-imx7d: add baseboard SD card boot detect

2023-11-02 Thread egyszeregy
From: Benjamin Szőke Technexion PICO-IMX7 SoM is supporting USDHC3 (eMMC or micro SD on SoM) and USDHC1 (SD on carrier board) to use on any carrier board like PICO-NYMPH. Based on the U-Boot version from Technexion it adds baseboard SD card boot detect to able to boot from selected USDHC1 or USDH

[PATCH 1/1] [u-boot][master][PATCH v5] pico-imx7d: add baseboard SD card boot detect

2023-10-21 Thread egyszeregy
From: Benjamin Szőke Technexion PICO-IMX7 SoM is supporting USDHC3 (eMMC or micro SD on SoM) and USDHC1 (SD on carrier board) to use on any carrier board like PICO-NYMPH. This pacth is intend to take over codes from Technexion to support mmc autodetect boot for pico-imx7d to able to boot from sel

[PATCH 1/1] [u-boot][master][PATCH v5] pico-imx7d: add baseboard SD card boot detect

2023-10-06 Thread egyszeregy
From: Benjamin Szőke Take over codes from Techenxion to support mmc autodetect boot for pico-imx7d. Signed-off-by: Benjamin Szőke --- board/technexion/pico-imx7d/pico-imx7d.c | 57 +++ board/technexion/pico-imx7d/spl.c| 91 ++-- include/configs/pico-imx7

[PATCH 1/1] [u-boot][master][PATCH v4] pico-imx7d: add baseboard SD card boot detect

2023-10-05 Thread egyszeregy
From: Benjamin Szőke Take over codes from Techenxion to support mmc autodetect boot for pico-imx7d. Signed-off-by: Benjamin Szőke --- board/technexion/pico-imx7d/pico-imx7d.c | 57 +++ board/technexion/pico-imx7d/spl.c| 91 ++-- include/configs/pico-imx7

[PATCH 1/1] [u-boot][master][PATCH v3] pico-imx7d: add baseboard SD card boot detect

2023-10-04 Thread egyszeregy
From: Benjamin Szőke Take over codes from Techenxion to support mmc autodetect boot for pico-imx7d. Signed-off-by: Benjamin Szőke --- board/technexion/pico-imx7d/pico-imx7d.c | 57 +++ board/technexion/pico-imx7d/spl.c| 91 ++-- include/configs/pico-imx7

[PATCH 1/1] [u-boot][master][PATCH v2] pico-imx7d: add baseboard SD card boot detect

2023-08-02 Thread egyszeregy
From: Benjamin Szőke Take over codes from Techenxion to support mmc autodetect boot for pico-imx7d. Signed-off-by: Benjamin Szőke --- board/technexion/pico-imx7d/pico-imx7d.c | 60 board/technexion/pico-imx7d/spl.c| 91 ++-- include/configs/pico-imx

[u-boot][master][PATCH 3/3] pico-imx7d: update defconfigs of pico-imx7d baseboards

2022-12-18 Thread egyszeregy
From: Benjamin Szőke Update defconfigs of pico-imx7d baseboards. In freescale community default CONFIG_SPL_FS_LOAD_PAYLOAD_NAME is "u-boot-dtb.img". Signed-off-by: Benjamin Szőke --- configs/pico-dwarf-imx7d_defconfig | 6 ++ configs/pico-hobbit-imx7d_defconfig | 6 ++ configs/pico-im

[u-boot][master][PATCH 2/3] pico-imx7d: add baseboard SD card boot detect

2022-12-18 Thread egyszeregy
From: Benjamin Szőke Take over codes from Techenxion to support mmc autodetect boot for pico-imx7d. Signed-off-by: Benjamin Szőke --- board/technexion/pico-imx7d/pico-imx7d.c | 82 + board/technexion/pico-imx7d/pico-imx7d_spl.c | 92 ++-- include/configs/pic

[u-boot][master][PATCH 1/3] pico-imx7d: add support for 2GB memory SoMs

2022-12-18 Thread egyszeregy
From: Benjamin Szőke Take over codes from Techenxion to support SoMs with 2GB DDR3. Signed-off-by: Benjamin Szőke --- board/technexion/pico-imx7d/Makefile | 2 +- .../pico-imx7d/{spl.c => pico-imx7d_spl.c}| 30 +-- 2 files changed, 28 insertions(+), 4 deletions(-)

[PATCH] pico-imx7d: add baseboard SD card boot detect

2022-08-21 Thread egyszeregy
Migrate SD card boot detection from Technexion u-boot for pico-imx7d SoM. >From ecd4f6ecbec290c63504f7ec3a9b478425235d14 Mon Sep 17 00:00:00 2001 From: "Benjamin Szőke" Date: Sun, 21 Aug 2022 21:08:55 +0200 Subject: [PATCH] pico-imx7d: add baseboard SD card boot detect Add SD card boot detectio