Re: [PATCH] am625x_evm_a53: Tweak boot command to set fdt

2024-03-26 Thread Martyn Welch
On Tue, 2024-03-26 at 14:35 +, Christopher Obbard wrote: > Hi Martyn. > > On Tue, 2024-03-26 at 14:26 +0000, Martyn Welch wrote: > > With the current config for tha SK-AM62, fdtfile isn't set in the > > U-Boot > > environment. When using bootflow to boot

[PATCH] am625x_evm_a53: Tweak boot command to set fdt

2024-03-26 Thread Martyn Welch
that booting works correctly. Signed-off-by: Martyn Welch --- configs/am62x_evm_a53_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig index 78287ec18a..e373e44a93 100644 --- a/configs/am62x_evm_a53_defconfig

Re: [PATCH 02/32] spl: Use CONFIG_SPL... instead of CONFIG_..._SPL_...

2023-08-31 Thread Martyn Welch
`: Reviewed-by: Martyn Welch Martyn

[PATCH 2/2] configs: Enable distroboot on am625

2022-12-20 Thread Martyn Welch
TI boards use a custom (though faily common to TI boards) mechanism for booting Linux. We would like to use the "distroboot" approach. Enable distroboot as a further option to use for booting on am625 should the existing options fail. Signed-off-by: Martyn Welch --

[PATCH 1/2] arm64:mach-k3 am625_init: Correct boot mode detection

2022-12-20 Thread Martyn Welch
U-Boot to also be successfully booted from RAW offsets in addition to from a filesystem. Signed-off-by: Martyn Welch --- arch/arm/mach-k3/am625_init.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-k3/am625_init.c b/arch/arm/mach-k3

[PATCH 0/2] Enable distroboot as a boot option for am62x

2022-12-20 Thread Martyn Welch
mode is updated to correctly detect the boot mode from the SoC boot config. Martyn Welch (2): arm64:mach-k3 am625_init: Correct boot mode detection configs: Enable distroboot on am625 arch/arm/mach-k3/am625_init.c | 19 +-- configs/am62x_evm_a53_defconfig | 2 +- include

Re: [PATCH] msc_sm2s_imx8mp: Convert to CONFIG_TEXT_BASE

2022-11-08 Thread Martyn Welch
On Tue, 2022-11-08 at 15:50 +0100, Stefano Babic wrote: > Hi Fabio, > > On 08.11.22 15:42, Fabio Estevam wrote: > > From: Fabio Estevam > > > > The conversion to CONFIG_TEXT_BASE was missed here. > > > > Convert it to fix a build error in CI. > > > > Signed-off-by: Fabio Estevam > > --- > >

[PATCH v5 5/5] arm: imx8mp: Initial MSC SM2S iMX8MP support

2022-10-25 Thread Martyn Welch
Add support for the MSC SM2S-IMX8PLUS SMARC Module. Tested in conjunction with the MSC SM2-MB-EP1 Mini-ITX Carrier Board. Signed-off-by: Martyn Welch --- Changes in v2: - Renamed FDT to closer match kernel - Sync with kernel FDT - Update for changes made in U-Boot Changes in v3: - Use

[PATCH v5 4/5] drivers: power: pmic: Enable use of rn5t567 PMIC in SPL

2022-10-25 Thread Martyn Welch
From: Martyn Welch The support added later in this series tweaks the PMIC voltages in the SPL. Enable support for the rn5t567 in SPL builds to allow this to be done cleanly. Signed-off-by: Martyn Welch Reviewed-by: Simon Glass --- Changes in v3: - New patch (replaces addition of legacy

[PATCH v5 3/5] drivers: power: pmic: Add support for rn5t568 PMIC

2022-10-25 Thread Martyn Welch
Add support for the rn5t568 PMIC to the rn5t567 driver. Signed-off-by: Martyn Welch --- Changes in v2: - None Changes in v3: - None Changes in v4: - None Changes in v5: - None drivers/power/pmic/rn5t567.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/pmic/rn5t567.c

[PATCH v5 2/5] ARM: imx: imx8mp: Enable support for i2c5 and i2c6 on i.MX8MP

2022-10-25 Thread Martyn Welch
The i.MX8MP SoC contains 2 more i2c buses. Add support for the configuration of these buses. Signed-off-by: Martyn Welch --- Changes in v2: - None Changes in v3: - None Changes in v4: - None Changes in v5: - None arch/arm/include/asm/arch-imx8m/imx-regs.h | 4 arch/arm/mach-imx

[PATCH v5 1/5] imx8m: USDHC3 base address definition for i.MX8MP

2022-10-25 Thread Martyn Welch
The i.MX8MP also has USDHC3, allow access to the relvant base address definition. Signed-off-by: Martyn Welch --- Changes in v2: - None Changes in v3: - None Changes in v4: - None Changes in v5: - None arch/arm/include/asm/arch-imx8m/imx-regs.h | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v4 5/5] arm: imx8mp: Initial MSC SM2S iMX8MP support

2022-10-04 Thread Martyn Welch
Add support for the MSC SM2S-IMX8PLUS SMARC Module. Tested in conjunction with the MSC SM2-MB-EP1 Mini-ITX Carrier Board. Signed-off-by: Martyn Welch --- Changes in v2: - Renamed FDT to closer match kernel - Sync with kernel FDT - Update for changes made in U-Boot Changes in v3: - Use

[PATCH v4 2/5] ARM: imx: imx8mp: Enable support for i2c5 and i2c6 on i.MX8MP

2022-10-04 Thread Martyn Welch
The i.MX8MP SoC contains 2 more i2c buses. Add support for the configuration of these buses. Signed-off-by: Martyn Welch --- Changes in v2: - None Changes in v3: - None Changes in v4: - None arch/arm/include/asm/arch-imx8m/imx-regs.h | 4 arch/arm/mach-imx/i2c-mxv7.c

[PATCH v4 4/5] drivers: power: pmic: Enable use of rn5t567 PMIC in SPL

2022-10-04 Thread Martyn Welch
The support added later in this series tweaks the PMIC voltages in the SPL. Enable support for the rn5t567 in SPL builds to allow this to be done cleanly. Signed-off-by: Martyn Welch Reviewed-by: Simon Glass --- Changes in v3: - New patch (replaces addition of legacy support for rn5t567

[PATCH v4 3/5] drivers: power: pmic: Add support for rn5t568 PMIC

2022-10-04 Thread Martyn Welch
Add support for the rn5t568 PMIC to the rn5t567 driver. Signed-off-by: Martyn Welch --- Changes in v2: - None Changes in v3: - None Changes in v4: - None drivers/power/pmic/rn5t567.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/pmic/rn5t567.c b/drivers/power/pmic

[PATCH v4 1/5] imx8m: USDHC3 base address definition for i.MX8MP

2022-10-04 Thread Martyn Welch
The i.MX8MP also has USDHC3, allow access to the relvant base address definition. Signed-off-by: Martyn Welch --- Changes in v2: - None Changes in v3: - None Changes in v4: - None arch/arm/include/asm/arch-imx8m/imx-regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v3 4/5] drivers: power: pmic: Enable use of rn5t567 PMIC in SPL

2022-09-29 Thread Martyn Welch
Hi Simon, Is this approach acceptable to you (instead of adding legacy support for this device)? Martyn On Fri, 2022-09-16 at 11:24 +0100, Martyn Welch wrote: > The support added later in this series tweaks the PMIC voltages in > the > SPL. Enable support for the rn5t567 in SPL builds

[PATCH v3 5/5] arm: imx8mp: Initial MSC SM2S iMX8MP support

2022-09-16 Thread Martyn Welch
From: Martyn Welch Add support for the MSC SM2S-IMX8PLUS SMARC Module. Tested in conjunction with the MSC SM2-MB-EP1 Mini-ITX Carrier Board. Signed-off-by: Martyn Welch --- Changes in v2: - Renamed FDT to closer match kernel - Sync with kernel FDT - Update for changes made in U-Boot

[PATCH v3 2/5] ARM: imx: imx8mp: Enable support for i2c5 and i2c6 on i.MX8MP

2022-09-16 Thread Martyn Welch
From: Martyn Welch The i.MX8MP SoC contains 2 more i2c buses. Add support for the configuration of these buses. Signed-off-by: Martyn Welch --- Changes in v2: - None Changes in v3: - None arch/arm/include/asm/arch-imx8m/imx-regs.h | 4 arch/arm/mach-imx/i2c-mxv7.c

[PATCH v3 3/5] drivers: power: pmic: Add support for rn5t568 PMIC

2022-09-16 Thread Martyn Welch
From: Martyn Welch Add support for the rn5t568 PMIC to the rn5t567 driver. Signed-off-by: Martyn Welch --- Changes in v2: - None Changes in v3: - None drivers/power/pmic/rn5t567.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/pmic/rn5t567.c b/drivers/power/pmic

[PATCH v3 4/5] drivers: power: pmic: Enable use of rn5t567 PMIC in SPL

2022-09-16 Thread Martyn Welch
The support added later in this series tweaks the PMIC voltages in the SPL. Enable support for the rn5t567 in SPL builds to allow this to be done cleanly. Signed-off-by: Martyn Welch --- Changes in v3: - New patch (replaces addition of legacy support for rn5t567) drivers/power/pmic/Kconfig

[PATCH v3 1/5] imx8m: USDHC3 base address definition for i.MX8MP

2022-09-16 Thread Martyn Welch
From: Martyn Welch The i.MX8MP also has USDHC3, allow access to the relvant base address definition. Signed-off-by: Martyn Welch --- Changes in v2: - None Changes in v3: - None arch/arm/include/asm/arch-imx8m/imx-regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 5/5] arm: imx8mp: Initial MSC SM2S iMX8MP support

2022-09-06 Thread Martyn Welch
From: Martyn Welch Add support for the MSC SM2S-IMX8PLUS SMARC Module. Tested in conjunction with the MSC SM2-MB-EP1 Mini-ITX Carrier Board. Signed-off-by: Martyn Welch --- Changes in v2: - Renamed FDT to closer match kernel - Sync with kernel FDT - Update for changes made in U-Boot arch

[PATCH v2 4/5] drivers: power: pmic: Add legacy support for rn5t567 PMIC

2022-09-06 Thread Martyn Welch
From: Martyn Welch The support added later in this series tweaks the PMIC voltages in the SPL, which doesn't support DM. Add legacy support to the rn5t567 PMIC driver to allow that to happen. Signed-off-by: Martyn Welch --- Changes in v2: - None drivers/power/pmic/Makefile | 1

[PATCH v2 3/5] drivers: power: pmic: Add support for rn5t568 PMIC

2022-09-06 Thread Martyn Welch
From: Martyn Welch Add support for the rn5t568 PMIC to the rn5t567 driver. Signed-off-by: Martyn Welch --- Changes in v2: - None drivers/power/pmic/rn5t567.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/pmic/rn5t567.c b/drivers/power/pmic/rn5t567.c index d9a8298ebb

[PATCH v2 2/5] ARM: imx: imx8mp: Enable support for i2c5 and i2c6 on i.MX8MP

2022-09-06 Thread Martyn Welch
From: Martyn Welch The i.MX8MP SoC contains 2 more i2c buses. Add support for the configuration of these buses. Signed-off-by: Martyn Welch --- Changes in v2: - None arch/arm/include/asm/arch-imx8m/imx-regs.h | 4 arch/arm/mach-imx/i2c-mxv7.c | 6 ++ arch/arm/mach

[PATCH v2 1/5] imx8m: USDHC3 base address definition for i.MX8MP

2022-09-06 Thread Martyn Welch
From: Martyn Welch The i.MX8MP also has USDHC3, allow access to the relvant base address definition. Signed-off-by: Martyn Welch --- Changes in v2: - None arch/arm/include/asm/arch-imx8m/imx-regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm

[PATCH] MAINTAINERS: Update file list for ARM Freescale IMX

2022-07-21 Thread Martyn Welch
. Tweak the entry to cover these directories so that tools like get_maintainers.pl will suggest relevant maintainers when making changes just in these directories. Signed-off-by: Martyn Welch --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b

[PATCH 5/5] arm: imx8mp: Initial MSC SM2S iMX8MP support

2022-07-21 Thread Martyn Welch
Add support for the MSC SM2S-IMX8PLUS SMARC Module. This is currently being used in conjunction with the MSC SM2-MB-EP1 Mini-ITX Carrier Board. Signed-off-by: Martyn Welch --- arch/arm/dts/Makefile |1 + arch/arm/dts/msc-sm2s-imx8mp-u-boot.dtsi | 168 ++ arch

[PATCH 4/5] drivers: power: pmic: Add legacy support for rn5t567 PMIC

2022-07-21 Thread Martyn Welch
The support added later in this series tweaks the PMIC voltages in the SPL, which doesn't support DM. Add legacy support to the rn5t567 PMIC driver to allow that to happen. Signed-off-by: Martyn Welch --- drivers/power/pmic/Makefile | 1 + drivers/power/pmic/pmic_rn5t567.c | 31

[PATCH 3/5] drivers: power: pmic: Add support for rn5t568 PMIC

2022-07-21 Thread Martyn Welch
Add support for the rn5t568 PMIC to the rn5t567 driver. Signed-off-by: Martyn Welch --- drivers/power/pmic/rn5t567.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/power/pmic/rn5t567.c b/drivers/power/pmic/rn5t567.c index d9a8298ebb..9d103dd840 100644 --- a/drivers/power/pmic

[PATCH 2/5] ARM: imx: imx8mp: Enable support for i2c5 and i2c6 on i.MX8MP

2022-07-21 Thread Martyn Welch
The i.MX8MP SoC contains 2 more i2c buses. Add support for the configuration of these buses. Signed-off-by: Martyn Welch --- arch/arm/include/asm/arch-imx8m/imx-regs.h | 4 arch/arm/mach-imx/i2c-mxv7.c | 6 ++ arch/arm/mach-imx/imx8m/clock_imx8mm.c | 12

[PATCH 1/5] imx8m: USDHC3 base address definition for i.MX8MP

2022-07-21 Thread Martyn Welch
The i.MX8MP also has USDHC3, allow access to the relvant base address definition. Signed-off-by: Martyn Welch --- arch/arm/include/asm/arch-imx8m/imx-regs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-imx8m/imx-regs.h b/arch/arm/include/asm

[PATCH] Taking over responsibility for GE boards from Sebastian

2021-09-21 Thread Martyn Welch
I am taking over responsibility for the GE board from Sebastian Reichel. Updating the MAINTAINERS files to reflect this. Signed-off-by: Martyn Welch --- board/ge/b1x5v2/MAINTAINERS | 2 +- board/ge/bx50v3/MAINTAINERS | 2 +- board/ge/mx53ppd/MAINTAINERS | 2 +- 3 files changed, 3 insertions

Re: [PATCH] tools: dumpimage: Remove remaining mentions of the -i option

2020-11-06 Thread Martyn Welch
ust the example dumpfile invocation in imagetool.h to use > the -o option instead of the removed -i option. > > Fixes: 12b831879a76 ("tools: dumpimage: Simplify arguments") > Signed-off-by: Tyler Hicks > Cc: Martyn Welch Acked-by: Martyn Welch > --- > README

Re: [PATCH 2/9] board: ge: ppd: Update MAINTAINERS

2020-11-05 Thread Martyn Welch
which was still listing freescale/ >instead of ge/ > * Order the list of files alphabetically > * Add board specific device tree files to the file list > > Cc: Martyn Welch > Cc: Ian Ray > Signed-off-by: Sebastian Reichel Acked-by: Martyn Welch > --- > board/g

Re: [PATCH v2] Fix MMC access on Sabrelite

2020-06-12 Thread Martyn Welch
On Thu, 2020-06-11 at 20:03 -0700, Troy Kisky wrote: > On 6/11/2020 10:53 AM, Martyn Welch wrote: > > It appears that MMC access on the Sabrelite has been broken since > > cdcaee9518: > > > > Loading Environment from MMC... Card did not respond to voltage > > s

[PATCH v2] Fix MMC access on Sabrelite

2020-06-11 Thread Martyn Welch
PINCTRL so that things work as expected. Signed-off-by: Martyn Welch --- Changes in v2: - Removed now redundant mmc header. board/boundary/nitrogen6x/nitrogen6x.c | 72 -- configs/mx6qsabrelite_defconfig| 3 ++ 2 files changed, 3 insertions(+), 72 deletions

Re: [PATCH] Fix MMC access on Sabrelite

2020-06-11 Thread Martyn Welch
On Thu, 2020-06-11 at 12:29 +0900, Jaehoon Chung wrote: > On 6/11/20 9:59 AM, Jonathan Gray wrote: > > On Tue, May 26, 2020 at 06:02:23PM +0100, Martyn Welch wrote: > > > - > > > -int board_mmc_getcd(struct mmc *mmc) > > I'm not sure..if board_mmc_getcd/init func

[PATCH] Fix MMC access on Sabrelite

2020-05-26 Thread Martyn Welch
PINCTRL so that things work as expected. Signed-off-by: Martyn Welch --- board/boundary/nitrogen6x/nitrogen6x.c | 71 -- configs/mx6qsabrelite_defconfig| 3 ++ 2 files changed, 3 insertions(+), 71 deletions(-) diff --git a/board/boundary/nitrogen6x/nitrogen6x.c b

Re: [U-Boot] [v6, 0/5] Split fsl_esdhc driver for i.MX

2019-06-19 Thread Martyn Welch
> future, > because the eSDHC driver is mess for a long time. > Since I'm only owner for QorIQ eSDHC driver, I dropped only a little > things which I'm sure for fsl_esdhc_imx. Let i.MX eSDHC owner do > futhur > cleaning up. > For series: Reviewed-by: Martyn Welch &g

Re: [U-Boot] [PATCH v1] watchdog: move WATCHDOG_TIMEOUT_MSECS to Kconfig

2019-06-13 Thread Martyn Welch
3 --- > scripts/config_whitelist.txt | 1 - > 25 files changed, 18 insertions(+), 28 deletions(-) > Acked-by: Martyn Welch > diff --git a/arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 > b/arch/arm/cpu/armv8/fsl-layerscape/doc/README.lsch2 > index 9583bf743e

Re: [U-Boot] [PATCH 1/2] pwm: imx: add Kconfig support

2019-05-28 Thread Martyn Welch
On Tue, 2019-05-28 at 06:51 +0200, Heiko Schocher wrote: > add Kconfig support for this driver. > > Signed-off-by: Heiko Schocher Acked-by: Martyn Welch > --- > > README| 4 > configs/aristainetos2_defconfig

Re: [U-Boot] [PATCH] imx: Extend PCL063 support for phyCORE-i.MX6ULL SOM

2019-04-10 Thread Martyn Welch
On Wed, 2019-04-10 at 15:23 +0200, Parthiban Nallathambi wrote: > Hello Wadim, > > Thanks for sharing the details. > > On 4/10/19 10:35 AM, Wadim Egorov wrote: > > Martyn, > > > > On 09.04.19 12:46, Martyn Welch wrote: > > > On Tue, 2019-04-09 a

Re: [U-Boot] [PATCH] imx: Extend PCL063 support for phyCORE-i.MX6ULL SOM

2019-04-09 Thread Martyn Welch
On Tue, 2019-04-09 at 11:30 +0200, Parthiban Nallathambi wrote: > Hello Martyn, > > On 4/9/19 10:49 AM, Martyn Welch wrote: > > On Mon, 2019-04-08 at 20:04 +0200, Parthiban wrote: > > > Hello Martyn, > > > > > > On 4/8/19 7:45 PM, Martyn Welch wrote:

Re: [U-Boot] [PATCH] imx: Extend PCL063 support for phyCORE-i.MX6ULL SOM

2019-04-09 Thread Martyn Welch
On Mon, 2019-04-08 at 20:04 +0200, Parthiban wrote: > Hello Martyn, > > On 4/8/19 7:45 PM, Martyn Welch wrote: > > On Sun, 2019-04-07 at 19:56 +0200, Parthiban Nallathambi wrote: > > > diff --git a/board/phytec/pcl063/spl.c > > > b/board/phytec/pcl063/spl.c &

Re: [U-Boot] [PATCH] imx: Extend PCL063 support for phyCORE-i.MX6ULL SOM

2019-04-08 Thread Martyn Welch
On Sun, 2019-04-07 at 19:56 +0200, Parthiban Nallathambi wrote: > diff --git a/board/phytec/pcl063/spl.c b/board/phytec/pcl063/spl.c > index b93cd493f2..73a774645d 100644 > --- a/board/phytec/pcl063/spl.c > +++ b/board/phytec/pcl063/spl.c > @@ -13,6 +13,7 @@ > #include > #include > #include

[U-Boot] [PATCH v3 3/3] am335x, guardian: Add support for the bosch guardian board

2019-02-25 Thread Martyn Welch
From: Sjoerd Simons Add support for the Bosch Guardian board. CPU : AM335X-GP rev 2.1 Model: Bosch AM335x Guardian I2C: ready DRAM: 256 MiB NAND: 512 MiB MMC: OMAP SD/MMC: 0 Signed-off-by: Sjoerd Simons Signed-off-by: Martyn Welch Reviewed-by: Tom Rini --- Changes in v3: - Removed

[U-Boot] [PATCH v3 1/3] Add support for the MT41K128M16JT125K memory modules

2019-02-25 Thread Martyn Welch
From: Sjoerd Simons Add configuration for the MT41K128M16JT125K memory modules as used on the Bosch Guardian device. Based on a patch by: Govindaraji Sivanantham Signed-off-by: Sjoerd Simons [checkpatch.pl cleanup by Martyn Welch] Signed-off-by: Martyn Welch --- Changes in v3: None

[U-Boot] [PATCH v3 2/3] env: Don't check CONFIG_ENV_OFFSET_REDUND for SPL build

2019-02-25 Thread Martyn Welch
with the build config enabling both CONFIG_CMD_SAVEENV and CONFIG_CMD_NAND, these options aren't set when building the SPL, but CONFIG_ENV_OFFSET_REDUND still is. Don't check this configuration option for SPL builds to enable the above configuration. Signed-off-by: Martyn Welch Reviewed-by: Tom Rini

[U-Boot] [PATCH] imx: mx6qsabrelite: Update the SabreLite README

2019-02-22 Thread Martyn Welch
. Reformat the document, adding a description of how to boot from SPI-NOR and adding a brief description of how to recover the board should the SPI-NOR be corrupted using imx_loader. Signed-off-by: Martyn Welch --- .../boundary/nitrogen6x/README.mx6qsabrelite | 119 -- 1 file

[U-Boot] [PATCH v2 2/3] env: Don't check CONFIG_ENV_OFFSET_REDUND for SPL build

2019-02-22 Thread Martyn Welch
with the build config enabling both CONFIG_CMD_SAVEENV and CONFIG_CMD_NAND, these options aren't set when building the SPL, but CONFIG_ENV_OFFSET_REDUND still is. Don't check this configuration option for SPL builds to enable the above configuration. Signed-off-by: Martyn Welch --- Changes in v2: - Reword

[U-Boot] [PATCH v2 3/3] am335x, guardian: Add support for the bosch guardian board

2019-02-22 Thread Martyn Welch
From: Sjoerd Simons Add support for the Bosch Guardian board. CPU : AM335X-GP rev 2.1 Model: Bosch AM335x Guardian I2C: ready DRAM: 256 MiB NAND: 512 MiB MMC: OMAP SD/MMC: 0 Signed-off-by: Sjoerd Simons Signed-off-by: Martyn Welch --- Changes in v2: - Correct guard #ifdef naming

[U-Boot] [PATCH v2 1/3] Add support for the MT41K128M16JT125K memory modules

2019-02-22 Thread Martyn Welch
From: Sjoerd Simons Add configuration for the MT41K128M16JT125K memory modules as used on the Bosch Guardian device. Based on a patch by: Govindaraji Sivanantham Signed-off-by: Sjoerd Simons [checkpatch.pl cleanup by Martyn Welch] Signed-off-by: Martyn Welch --- Changes in v2: None

Re: [U-Boot] [PATCH 2/3] env: Don't check CONFIG_ENV_OFFSET_REDUND for SPL build

2019-02-22 Thread Martyn Welch
On Fri, 2019-02-22 at 11:36 -0500, Tom Rini wrote: > On Fri, Feb 22, 2019 at 03:35:51PM +0000, Martyn Welch wrote: > > On Thu, 2019-02-21 at 22:33 -0500, Tom Rini wrote: > > > On Thu, Feb 21, 2019 at 10:13:42AM +, Martyn Welch wrote: > > > > > > > Curren

Re: [U-Boot] [PATCH 2/3] env: Don't check CONFIG_ENV_OFFSET_REDUND for SPL build

2019-02-22 Thread Martyn Welch
On Thu, 2019-02-21 at 22:33 -0500, Tom Rini wrote: > On Thu, Feb 21, 2019 at 10:13:42AM +0000, Martyn Welch wrote: > > > Currently CONFIG_ENV_OFFSET_REDUND is checked regardless of the > > type of > > build being performed, but this doesn't seem to be needed in SPL &g

Re: [U-Boot] [PATCH 3/3] am335x, guardian: Add support for the bosch guardian board

2019-02-21 Thread Martyn Welch
On Thu, 2019-02-21 at 13:18 +0100, Felix Brack wrote: > Hi Martyn, > > On 21.02.19 11:13, Martyn Welch wrote: > > +#ifndef __CONFIG_AM335X_EVM_H > > +#define __CONFIG_AM335X_EVM_H > Shouldn't that be __CONFIG_AM335X_GUARDIAN_H instead of > __CONFIG_AM335X_EVM_H

[U-Boot] [PATCH 1/3] Add support for the MT41K128M16JT125K memory modules

2019-02-21 Thread Martyn Welch
From: Sjoerd Simons Add configuration for the MT41K128M16JT125K memory modules as used on the Bosch Guardian device. Based on a patch by: Govindaraji Sivanantham Signed-off-by: Sjoerd Simons [checkpatch.pl cleanup by Martyn Welch] Signed-off-by: Martyn Welch --- arch/arm/include/asm

[U-Boot] [PATCH 3/3] am335x, guardian: Add support for the bosch guardian board

2019-02-21 Thread Martyn Welch
From: Sjoerd Simons Add support for the Bosch Guardian board. CPU : AM335X-GP rev 2.1 Model: Bosch AM335x Guardian I2C: ready DRAM: 256 MiB NAND: 512 MiB MMC: OMAP SD/MMC: 0 Signed-off-by: Sjoerd Simons Signed-off-by: Martyn Welch --- arch/arm/Kconfig | 1

[U-Boot] [PATCH 2/3] env: Don't check CONFIG_ENV_OFFSET_REDUND for SPL build

2019-02-21 Thread Martyn Welch
Currently CONFIG_ENV_OFFSET_REDUND is checked regardless of the type of build being performed, but this doesn't seem to be needed in SPL builds. Don't check this configuration option for SPL builds. Signed-off-by: Martyn Welch --- env/nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion

Re: [U-Boot] [PATCH] test: Update test-imagetools.sh to match new syntax

2019-02-20 Thread Martyn Welch
On Tue, 2019-02-19 at 17:09 -0800, Vagrant Cascadian wrote: > On 2019-02-14, Martyn Welch wrote: > > The syntax of dumpimage was simplified in commit 12b831879a76 > > ("tools: > > dumpimage: Simplify arguments"), but the test > > (test/image/test-imagetools.s

[U-Boot] [PATCH] test: Update test-imagetools.sh to match new syntax

2019-02-14 Thread Martyn Welch
The syntax of dumpimage was simplified in commit 12b831879a76 ("tools: dumpimage: Simplify arguments"), but the test (test/image/test-imagetools.sh) was not updated and is now failing. Update the test to use the new syntax. Reported-by: Vagrant Cascadian Signed-off-by: Martyn Welch

[U-Boot] [PATCH 3/5] tools: dumpimage: Simplify internal logic

2019-01-25 Thread Martyn Welch
There are 3 supported modes of operation: 1) Show version 2) List image contents 3) Extract image component Option (1) terminates early, so only options (2) and (3) remain. Remove redundant check for these modes. Signed-off-by: Martyn Welch --- tools/dumpimage.c | 85

[U-Boot] [PATCH 4/5] tools: dumpimage: Add help option and make error paths consistent

2019-01-25 Thread Martyn Welch
-by: Martyn Welch --- tools/dumpimage.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/tools/dumpimage.c b/tools/dumpimage.c index e17e979b04..5c9ad36322 100644 --- a/tools/dumpimage.c +++ b/tools/dumpimage.c @@ -65,7 +65,7 @@ int main(int argc, char **argv

[U-Boot] [PATCH 5/5] tools: dumpimage: Clarify help

2019-01-25 Thread Martyn Welch
Help message isn't clear over the use of the "-T" option (it's to declare the type of image that the tool is operating on), which also is optional as it defaults to the default image type. It's also missing a description of the "-o" option, so add it. Signed-off-by: Martyn

[U-Boot] [PATCH 2/5] tools: dumpimage: Simplify arguments

2019-01-25 Thread Martyn Welch
positional argument but the value passed in the positional argument will be completely ignored. Simplify dumpimage by always providing the image as the first positional argument. Assume we want to dump something from the image if we do not provide the "-l" option for now. Signed-off

[U-Boot] [PATCH 1/5] tools: dumpimage: Provide more feedback on error

2019-01-25 Thread Martyn Welch
The dumpimage utility errors out in a number of places without providing sufficient feedback to allow the user to easily determine what they have done wrong. Add addtional error messages to make the cause of the failure more obvious. Signed-off-by: Martyn Welch --- tools/dumpimage.c | 11

Re: [U-Boot] [PATCH v4 2/2] imx: Add PHYTEC phyBOARD-i.MX6UL-Segin

2019-01-18 Thread Martyn Welch
Hi All, Is there anything preventing this series being merged? I don't think I've seen any further issues raised. Sorry if it's already been merged somewhere and I've missed it... Martyn On Tue, 2018-12-11 at 11:34 +, Martyn Welch wrote: > Port for the PHYTEC phyBOARD-i.MX6UL-Segin sin

[U-Boot] [PATCH v4 2/2] imx: Add PHYTEC phyBOARD-i.MX6UL-Segin

2018-12-11 Thread Martyn Welch
DRAM: 256 MiB NAND: 512 MiB MMC: FSL_SDHC: 0 In:serial Out: serial Err: serial Net: FEC0 Working: - Eth0 - i2C - MMC/SD - NAND - UART (1 & 5) - USB (host & otg) Signed-off-by: Martyn Welch --- Changes in v4: - Added PXE boot option - Switched i2c to DM support Chang

[U-Boot] [PATCH v4 1/2] Enable FEC driver to retrieve PHY address from device tree

2018-12-11 Thread Martyn Welch
Currently if we have more than one phy on the MDIO bus, we do not have a good mechanism for determining which should be used at runtime. Enable the FEC driver to determine the address for the PHY from the device tree. Signed-off-by: Martyn Welch Reviewed-by: Lukasz Majewski --- Changes in v4

Re: [U-Boot] [RESEND PATCH v3 1/3] Don't enable CONFIG_SPL_DM_USB for non-DM SPL

2018-12-10 Thread Martyn Welch
On Mon, 2018-12-10 at 13:07 +0100, Marek Vasut wrote: > On 12/10/2018 12:05 PM, Martyn Welch wrote: > > When CONFIG_SPL_DM_USB was added, it was added defaulted on without > > protection to ensure it didn't get set for non-DM SPL builds. > > > > This leads to unexpe

Re: [U-Boot] [RESEND PATCH v3 3/3] imx: Add PHYTEC phyBOARD-i.MX6UL-Segin

2018-12-10 Thread Martyn Welch
e left the defines in the board header. I'll remove them. Martyn > > - MMC/SD > > - NAND > > - UART (1 & 5) > > - USB (host & otg) > > > > Signed-off-by: Martyn Welch > > > > --- > > > > Changes in v3: > > - Correct s

Re: [U-Boot] [PATCH v3 1/3] Don't enable CONFIG_SPL_DM_USB for non-DM SPL

2018-12-10 Thread Martyn Welch
On Mon, 2018-12-03 at 19:29 +0100, Marek Vasut wrote: > On 12/03/2018 06:29 PM, Martyn Welch wrote: > > When CONFIG_SPL_DM_USB was added, it was added defaulted on without > > protection to ensure it didn't get set for non-DM SPL builds. > > > > This leads to unexpe

[U-Boot] [RESEND PATCH v3 3/3] imx: Add PHYTEC phyBOARD-i.MX6UL-Segin

2018-12-10 Thread Martyn Welch
DRAM: 256 MiB NAND: 512 MiB MMC: FSL_SDHC: 0 In:serial Out: serial Err: serial Net: FEC0 Working: - Eth0 - i2C - MMC/SD - NAND - UART (1 & 5) - USB (host & otg) Signed-off-by: Martyn Welch --- Changes in v3: - Correct spelling of Phytec - Remove unneeded license inf

[U-Boot] [RESEND PATCH v3 2/3] Enable FEC driver to retrieve PHY address from device tree

2018-12-10 Thread Martyn Welch
Currently if we have more than one phy on the MDIO bus, we do not have a good mechanism for determining which should be used at runtime. Enable the FEC driver to determine the address for the PHY from the device tree. Signed-off-by: Martyn Welch Reviewed-by: Lukasz Majewski --- Changes in v3

[U-Boot] [RESEND PATCH v3 1/3] Don't enable CONFIG_SPL_DM_USB for non-DM SPL

2018-12-10 Thread Martyn Welch
disabled. Tweak the Kconfig to not enable this setting unless CONFIG_SPL_DM is set. Signed-off-by: Martyn Welch --- Changes in v3: - New in v3 Changes in v2: None drivers/usb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig

Re: [U-Boot] [PATCH v2 3/3] imx: Add PHYTEC phyBOARD-i.MX6UL-Segin

2018-12-03 Thread Martyn Welch
On Tue, 2018-11-27 at 18:34 +0100, Marek Vasut wrote: > On 11/23/2018 05:47 PM, Martyn Welch wrote: > > Port for the PHYTEC phyBOARD-i.MX6UL-Segin single board computer. > > Based on > > the PHYTEC phyCORE-i.MX6UL SOM (PCL063). > > Nice ! A few nits below. > &

Re: [U-Boot] [PATCH v2 3/3] imx: Add PHYTEC phyBOARD-i.MX6UL-Segin

2018-12-03 Thread Martyn Welch
testing via USB upload... Fixed in next revision. > > Also, some nits below. > > Am 23.11.18 um 17:47 schrieb Martyn Welch: > > Port for the PHYTEC phyBOARD-i.MX6UL-Segin single board computer. > > Based on > > the PHYTEC phyCORE-i.MX6UL SOM (PCL063). This port

[U-Boot] [PATCH v3 3/3] imx: Add PHYTEC phyBOARD-i.MX6UL-Segin

2018-12-03 Thread Martyn Welch
(-40C to 105C) at 44C Reset cause: POR Board: PHYTEC phyCORE-i.MX6UL I2C: ready DRAM: 256 MiB NAND: 512 MiB MMC: FSL_SDHC: 0 In:serial Out: serial Err: serial Net: FEC0 Working: - Eth0 - i2C - MMC/SD - NAND - UART (1 & 5) - USB (host & otg) Signed-off-by: Mart

[U-Boot] [PATCH v3 1/3] Don't enable CONFIG_SPL_DM_USB for non-DM SPL

2018-12-03 Thread Martyn Welch
disabled. Tweak the Kconfig to not enable this setting unless CONFIG_SPL_DM is set. Signed-off-by: Martyn Welch --- Changes in v3: - New in v3 Changes in v2: None drivers/usb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig

[U-Boot] [PATCH v3 2/3] Enable FEC driver to retrieve PHY address from device tree

2018-12-03 Thread Martyn Welch
Currently if we have more than one phy on the MDIO bus, we do not have a good mechanism for determining which should be used at runtime. Enable the FEC driver to determine the address for the PHY from the device tree. Signed-off-by: Martyn Welch --- Changes in v3: - No changes in v3 Changes

Re: [U-Boot] [PATCH v2 2/3] Only attempt to build USB driver model in SPL when required

2018-11-26 Thread Martyn Welch
On Mon, 2018-11-26 at 11:22 +0100, Marek Vasut wrote: > On 11/26/2018 11:20 AM, Martyn Welch wrote: > > On Sat, 2018-11-24 at 19:25 +0100, Marek Vasut wrote: > > > On 11/23/2018 05:47 PM, Martyn Welch wrote: > > > > Current define usage causes tooling to attempt t

Re: [U-Boot] [PATCH v2 2/3] Only attempt to build USB driver model in SPL when required

2018-11-26 Thread Martyn Welch
On Sat, 2018-11-24 at 19:25 +0100, Marek Vasut wrote: > On 11/23/2018 05:47 PM, Martyn Welch wrote: > > Current define usage causes tooling to attempt to build for USB > > driver > > model when building non-DM SPL. Update logic to avoid this. > > >

[U-Boot] [PATCH v2 3/3] imx: Add PHYTEC phyBOARD-i.MX6UL-Segin

2018-11-23 Thread Martyn Welch
(-40C to 105C) at 44C Reset cause: POR Board: PHYTEC phyCORE-i.MX6UL I2C: ready DRAM: 256 MiB NAND: 512 MiB MMC: FSL_SDHC: 0 In:serial Out: serial Err: serial Net: FEC0 Working: - Eth0 - i2C - MMC/SD - NAND - UART (1 & 5) - USB (host & otg) Signed-off-by: Mart

[U-Boot] [PATCH v2 2/3] Only attempt to build USB driver model in SPL when required

2018-11-23 Thread Martyn Welch
Current define usage causes tooling to attempt to build for USB driver model when building non-DM SPL. Update logic to avoid this. Signed-off-by: Martyn Welch --- Changes in v2: - New in v2 drivers/usb/gadget/ci_udc.c | 2 +- drivers/usb/host/Makefile | 14 ++ drivers/usb/host

[U-Boot] [PATCH v2 1/3] Enable FEC driver to retrieve PHY address from device tree

2018-11-23 Thread Martyn Welch
Currently if we have more than one phy on the MDIO bus, we do not have a good mechanism for determining which should be used at runtime. Enable the FEC driver to determine the address for the PHY from the device tree. Signed-off-by: Martyn Welch --- Changes in v2: - New in v2 drivers/net

Re: [U-Boot] [PATCH] imx: Add PHYTEC phyBOARD-i.MX6UL-Segin

2018-11-19 Thread Martyn Welch
m stuggling to get the Eth interfaces working - the driver model probe doesn't seem to get the PHY addresses from the device tree and I suspect it's also not able to pick up that both phys are on the same MDIO bus form it either. Is this support still work in progress? Martyn > > Signed-off-by

[U-Boot] [PATCH] imx: Add PHYTEC phyBOARD-i.MX6UL-Segin

2018-11-14 Thread Martyn Welch
(-40C to 105C) at 44C Reset cause: POR Board: PHYTEC phyCORE-i.MX6UL I2C: ready DRAM: 256 MiB NAND: 512 MiB MMC: FSL_SDHC: 0 In:serial Out: serial Err: serial Net: FEC0 Working: - Eth0 - Eth1 - i2C - MMC/SD - NAND - UART (1 & 5) - USB (host & otg) Signed-off-by: Mart

Re: [U-Boot] Booting i.MX6UL via SPL?

2018-11-08 Thread Martyn Welch
On Thu, 2018-11-08 at 11:25 +0100, Stefano Babic wrote: > Hi Martyn, > > On 07/11/18 21:46, Martyn Welch wrote: > > Hi All, > > > > I've been trying to boot a i.MX6UL based device I have here using > > SPL. > > It doesn't seem to want to work for me. >

[U-Boot] Booting i.MX6UL via SPL?

2018-11-07 Thread Martyn Welch
Hi All, I've been trying to boot a i.MX6UL based device I have here using SPL. It doesn't seem to want to work for me. I see there's a number of i.MX6UL ports in U-Boot already, some use a custom DCD to configure the board, others seem to provide both options (DCD and SPL). Interestingly the

[U-Boot] [PATCH v3] Ability to modify distro boot filename

2018-11-06 Thread Martyn Welch
the same boot path as for normal boot, just using an alternatively named configuration file. For example, by providing the following `altbootcmd` when bootcount is in use: altbootcmd=setenv boot_extlinx_conf extlinux-rollback.conf; \ run distro_bootcmd Signed-off-by: Martyn Welch

Re: [U-Boot] [PATCH v2] Ability to modify distro boot filename

2018-11-06 Thread Martyn Welch
On Mon, 2018-11-05 at 20:43 +0100, Heinrich Schuchardt wrote: > On 11/05/2018 07:13 PM, Martyn Welch wrote: > > Add in the ability to modify the distro boot filename. Whilst not > > immediately useful in normal usage, it allows an alternative > > configuration to be provi

[U-Boot] [PATCH v2] Ability to modify distro boot filename

2018-11-05 Thread Martyn Welch
the same boot path as for normal boot, just using an alternatively named configuration file. For example, by providing the following `altbootcmd` when bootcount is in use: altbootcmd=setenv boot_extlinx_conf extlinux-rollback.conf; \ run distro_bootcmd Signed-off-by: Martyn Welch

[U-Boot] [PATCH] Ability to modify distro boot filename

2018-11-05 Thread Martyn Welch
the same boot path as for normal boot, just using an alternatively named configuration file. For example, by providing the following `altbootcmd` when bootcount is in use: altbootcmd=setenv boot_config extlinux-rollback.conf; run distro_bootcmd Signed-off-by: Martyn Welch --- include

Re: [U-Boot] [PATCH v5 0/8] Add support for GE PPD

2017-11-09 Thread Martyn Welch
y (2): > > ext4: recover from filesystem corruption when reading > > bootcount: add support for bootcounter on EXT filesystem > > > > Martyn Welch (3): > > pwm: imx: Enable PWM support on i.MX53 > > arm: mx5: Add more register definitions > >

[U-Boot] [PATCH 03/16] net: e1000: split e1000_read_mac_addr

2017-11-08 Thread Martyn Welch
alling the register and, especially, the eeprom version directly in order to specify where to read the address from. Signed-off-by: Hannu Lounento <hannu.loune...@ge.com> CC: Joe Hershberger <joe.hershber...@ni.com> Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk> ---

[U-Boot] [PATCH 05/16] rtc: adding RX8010SJ rtc driver

2017-11-08 Thread Martyn Welch
From: Nandor Han <nandor@ge.com> Add a new driver for RX8010SJ rtc chip. The driver implements both formats of U-Boot driver model. Signed-off-by: Nandor Han <nandor@ge.com> Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk> --- drivers/rtc/Kconfig|

[U-Boot] [PATCH 16/16] board,ge,bx50v3 - rtc time validation

2017-11-08 Thread Martyn Welch
From: Nandor Han <nandor@ge.com> Validate the time at startup: - in case rtc error add to kernel command line RTC_ERROR - clamp date to 1-Jan-2036 Signed-off-by: Nandor Han <nandor@ge.com> Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk> --- board/ge/bx50

[U-Boot] [PATCH 12/16] config: ge_bx50v3: read boot script

2017-11-08 Thread Martyn Welch
From: Ian Ray <ian@ge.com> Read boot script from shared partition, if available. Signed-off-by: Ian Ray <ian@ge.com> Signed-off-by: Martyn Welch <martyn.we...@collabora.co.uk> --- include/configs/ge_bx50v3.h | 12 ++-- 1 file changed, 6 insertions(+), 6 deleti

  1   2   >