Re: [PATCH] imx93-u-boot: Describe the CPU clocks in the devicetree

2024-07-19 Thread Sébastien Szymanski
On 7/19/24 16:13, Fabio Estevam wrote: Hi Sébastien, On Fri, Jul 19, 2024 at 11:00 AM Sébastien Szymanski wrote: +_0 { + clocks = < IMX93_CLK_ARM_PLL>; Why IMX93_CLK_ARM_PLL and not IMX93_CLK_A55_SEL ? IMX93_CLK_A55_SEL is a mux that can select between a55_alt versus a

Re: [PATCH] imx93-u-boot: Describe the CPU clocks in the devicetree

2024-07-19 Thread Sébastien Szymanski
-boot.dtsi @@ -9,6 +9,14 @@ }; }; +_0 { + clocks = < IMX93_CLK_ARM_PLL>; Why IMX93_CLK_ARM_PLL and not IMX93_CLK_A55_SEL ? Best regards, +}; + +_1 { + clocks = < IMX93_CLK_ARM_PLL>; +}; + { u-boot-spl-ddr { align = <4>; -- S

Re: [NFS] fetching kernel via nfs

2024-05-15 Thread Sébastien Szymanski
so I am not sure if this is the root problem here. Best regards Johannes -- Sébastien Szymanski, Armadeus Systems Software engineer

[PATCH 1/1] net: nfs: fix file handle length in NFSv3

2024-03-26 Thread Sébastien Szymanski
//www.rfc-editor.org/rfc/rfc1813.html#page-106 Fixes: b0baca982048 ("net: NFS: Add NFSv3 support") Signed-off-by: Sébastien Szymanski --- net/nfs.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/net/nfs.c b/net/nfs.c index 7a8887ef2368..c18282448c

Re: [PATCH 1/2] opos6uldev: make the LCD work again

2024-03-01 Thread Sébastien Szymanski
, Sumit Garg wrote: + Shawn, Krzysztof, Conor Hi Tom, On Wed, 28 Feb 2024 at 18:40, Tom Rini wrote: On Wed, Feb 28, 2024 at 10:09:13AM +0300, Dan Carpenter wrote: On Tue, Feb 27, 2024 at 04:40:01PM +0100, Sébastien Szymanski wrote: Commit 5d7a95f4 ("imx6ul/imx6ull: synchronise device

[PATCH 2/2] video: mxsfb: add back imx6ul/imx6ull support

2024-02-27 Thread Sébastien Szymanski
quot;; without updating the mxsfb driver to match that change. Add "fsl,imx6sx-lcdif" as a compatible id to fix that. Fixes: bf947d2a4b15 ("imx6ul: synchronise device tree with linux") Signed-off-by: Sébastien Szymanski --- drivers/video/mxsfb.c | 1 + 1 file changed, 1 insertio

[PATCH 1/2] opos6uldev: make the LCD work again

2024-02-27 Thread Sébastien Szymanski
them from the opos6uldev.env file. Update the opos6uldev_defconfig file so that the LCD turns on at boot. Fixes: 5d7a95f4 ("imx6ul/imx6ull: synchronise device trees with linux") Signed-off-by: Sébastien Szymanski --- arch/arm/dts/imx6ul-opos6uldev-u-boot.dtsi | 28 +- board

[PATCH v3 1/1] Makefile: pass -undef option to cmd_gen_envp

2024-02-23 Thread Sébastien Szymanski
' is a System-specific Predefined Macros. [1] Pass the '-undef' option to fix this issue. [1] https://gcc.gnu.org/onlinedocs/gcc-13.2.0/cpp/System-specific-Predefined-Macros.html Signed-off-by: Sébastien Szymanski --- Changes for v3: - use -undef instead of ansi. With -undef, there is no need to modify

[PATCH 1/1] opos6uldev: Convert to watchdog driver model

2024-02-23 Thread Sébastien Szymanski
Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused the 'reset' command in U-Boot to not cause a board reset. Fix it by switching to the watchdog driver model via sysreset, which is the preferred method for implementing the watchdog reset. Signed-off-by: Sébastien

[PATCH v2 1/1] Makefile: pass -ansi option to cmd_gen_envp

2023-12-20 Thread Sébastien Szymanski
cpp/System-specific-Predefined-Macros.html [2] https://gcc.gnu.org/onlinedocs/gcc/C-Dialect-Options.html#index-ANSI-support Signed-off-by: Sébastien Szymanski --- Changes for v2: - explain the change of iot2050.env and smegw01.env in the commit log Makefile| 3

[PATCH 1/1] Makefile: pass -ansi option to cmd_gen_envp

2023-12-20 Thread Sébastien Szymanski
-specific Predefined Macros. [1] Pass the '-ansi' option as suggested by the GCC documentation. [1] Fix the two .env files using C++ comment style for their SPDX licence. [1] https://gcc.gnu.org/onlinedocs/gcc-13.2.0/cpp/System-specific-Predefined-Macros.html Signed-off-by: Sébastien Szymanski

Re: [PATCH 1/1] Makefile: pass -ansi option to cmd_gen_envp

2023-12-15 Thread Sébastien Szymanski
Hi Fabio, On 12/15/23 13:03, Fabio Estevam wrote: Hi Sébastien, On Fri, Dec 15, 2023 at 8:14 AM Sébastien Szymanski wrote: --- a/board/siemens/iot2050/iot2050.env +++ b/board/siemens/iot2050/iot2050.env @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL

[PATCH 1/1] Makefile: pass -ansi option to cmd_gen_envp

2023-12-15 Thread Sébastien Szymanski
-specific Predefined Macros. [1] Pass the '-ansi' option as suggested by the GCC documentation. [1] Fix the two .env files using C++ comment style for their SPDX licence. [1] https://gcc.gnu.org/onlinedocs/gcc-13.2.0/cpp/System-specific-Predefined-Macros.html Signed-off-by: Sébastien Szymanski

[PATCH v2 3/4] net: phy: realtek: Add support for RTL8211F(D)(I)-VD-CG

2023-10-17 Thread Sébastien Szymanski
Add support for the RTL8211F(D)(I)-VD-CG PHY present on the i.MX93 EVK board. Signed-off-by: Sébastien Szymanski --- Changes for v3: - none drivers/net/phy/realtek.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c

[PATCH v2 2/4] net: dwc_eth_qos: Add board_interface_eth_init() for i.MX93

2023-10-17 Thread Sébastien Szymanski
Add a common board_interface_eth_init() called by the DWC MAC driver to setup the MAC <-> PHY interface according to the PHY mode obtained from DT. Remove the board-side configuration in the i.MX93 EVK files. Signed-off-by: Sébastien Szymanski --- Changes for v2: - none arch/arm/ma

[PATCH v2 4/4] arm: dts: imx93-evk: remove wrong eqos compatible string

2023-10-17 Thread Sébastien Szymanski
The correct compatible string for i.MX93 variant of DWC EQoS MAC is now "nxp,imx93-dwmac-eqos". Signed-off-by: Sébastien Szymanski --- Changes for v4: - none arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/dts/imx93-1

[PATCH v2 1/4] net: dwc_eth_qos: add i.MX93 support

2023-10-17 Thread Sébastien Szymanski
Add support for DWC EQoS MAC on i.MX93. Signed-off-by: Sébastien Szymanski --- Changes for v2: - rebase to not break Rockchip's boards drivers/net/dwc_eth_qos.c | 4 drivers/net/dwc_eth_qos_imx.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/drivers/net/dwc_eth_qos.c b

Re: [PATCH 1/4] net: dwc_eth_qos: add i.MX93 support

2023-10-17 Thread Sébastien Szymanski
Hi Stefano, On 10/16/23 16:22, Stefano Babic wrote: Hi Sebastian, On 27.07.23 10:33, Sébastien Szymanski wrote: Add support for DWC EQoS MAC on i.MX93. Signed-off-by: Sébastien Szymanski ---   drivers/net/dwc_eth_qos.c | 4   drivers/net/dwc_eth_qos_imx.c | 3 +++   2 files changed

Re: [PATCH 0/4] clk: imx: add i.MX93 CCF driver

2023-10-13 Thread Sébastien Szymanski
Hello, On 7/25/23 10:08, Sébastien Szymanski wrote: This series adds i.MX93 CCF driver, modifed from Linux kernel 6.5-rc2 and adapted for U-Boot. Patches 2 and 3 come from NXP U-Boot. A boot log and a dump of the clock tree are available at the following URL: https://pastebin.com/7WbubSXK

[PATCH 2/2] dm: adc: imx93-adc depends on ADC (fix boot)

2023-10-04 Thread Sébastien Szymanski
y enabling CONFIG_ADC in imx93_11x11_evk_defconfig. Make sure this situation won't happen again in future i.MX93 defconfig by making CONFIG_ADC_IMX93 depend on CONFIG_ADC. Signed-off-by: Sébastien Szymanski --- configs/imx93_11x11_evk_defconfig | 1 + drivers/adc/Kconfig | 1 + 2 files

[PATCH 1/2] arm: dts: imx93-11x11-evk: add bootph-some-ram property

2023-10-04 Thread Sébastien Szymanski
e-reloc after relocation") Signed-off-by: Sébastien Szymanski --- arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/dts/imx93-11x11-evk-u-boot.dtsi b/arch/arm/dts/imx93-11x11-evk-u-boot.dtsi index 5b465e2dbd9d..2d9c9618

[PATCH 0/2] Fixes i.MX93 11x11 EVK boot failures

2023-10-04 Thread Sébastien Szymanski
This series fixes i.MX93 11x11 EVK boot failures. Sébastien Szymanski (2): arm: dts: imx93-11x11-evk: add bootph-some-ram property dm: adc: imx93-adc depends on ADC (fix boot) arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 20 configs/imx93_11x11_evk_defconfig| 1

[PATCH 4/4] arm: dts: imx93-evk: remove wrong eqos compatible string

2023-07-27 Thread Sébastien Szymanski
The correct compatible string for i.MX93 variant of DWC EQoS MAC is now "nxp,imx93-dwmac-eqos". Signed-off-by: Sébastien Szymanski --- arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 4 1 file changed, 4 deletions(-) diff --git a/arch/arm/dts/imx93-11x11-evk-u-boot.dtsi b/arch/arm

[PATCH 3/4] net: phy: realtek: Add support for RTL8211F(D)(I)-VD-CG

2023-07-27 Thread Sébastien Szymanski
Add support for the RTL8211F(D)(I)-VD-CG PHY present on the i.MX93 EVK board. Signed-off-by: Sébastien Szymanski --- drivers/net/phy/realtek.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c index 396cac76d632

[PATCH 2/4] net: dwc_eth_qos: Add board_interface_eth_init() for i.MX93

2023-07-27 Thread Sébastien Szymanski
Add a common board_interface_eth_init() called by the DWC MAC driver to setup the MAC <-> PHY interface according to the PHY mode obtained from DT. Remove the board-side configuration in the i.MX93 EVK files. Signed-off-by: Sébastien Szymanski --- arch/arm/mach-imx/imx9/clock.c

[PATCH 1/4] net: dwc_eth_qos: add i.MX93 support

2023-07-27 Thread Sébastien Szymanski
Add support for DWC EQoS MAC on i.MX93. Signed-off-by: Sébastien Szymanski --- drivers/net/dwc_eth_qos.c | 4 drivers/net/dwc_eth_qos_imx.c | 3 +++ 2 files changed, 7 insertions(+) diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c index 1e92bd9ca9c0..f70f8afe5831

[PATCH 0/4] imx93: add DWC EQoS MAC driver support

2023-07-27 Thread Sébastien Szymanski
one BOOTP broadcast 1 *** Unhandled DHCP Option in OFFER/ACK: 125 *** Unhandled DHCP Option in OFFER/ACK: 125 DHCP client bound to address 192.168.1.50 (35 ms) u-boot=> ping 192.168.1.51 Using ethernet@428a device host 192.168.1.51 is alive u-boot=> Sébastien Szymanski (4): net: dwc_eth

[PATCH 3/4] serial: lpuart: Enable IPG clock

2023-07-25 Thread Sébastien Szymanski
From: Ye Li Current codes only ennable the PER clock. However on iMX8 the LPUART also needs IPG clock which is an LPCG. Should not depend on the default LPCG setting. Signed-off-by: Ye Li Reviewed-by: Peng Fan Signed-off-by: Sébastien Szymanski --- This commit comes from downstream U-Boot

[PATCH 1/4] clk: imx: add i.MX93 CCF driver

2023-07-25 Thread Sébastien Szymanski
Add i.MX93 CCF driver support. Modifed from Linux Kernel v6.5-rc2 and adapted for U-Boot. Signed-off-by: Sébastien Szymanski --- drivers/clk/imx/Kconfig | 18 ++ drivers/clk/imx/Makefile| 2 + drivers/clk/imx/clk-composite-93.c | 142 + drivers

[PATCH 2/4] arm: dts: imx93: add a per clock for LPUART1

2023-07-25 Thread Sébastien Szymanski
From: Alice Guo When CLK is enabled, get_lpuart_clk_rate() needs to get a per clock of lpuart, so that add a per clock for lpuart1. Signed-off-by: Alice Guo Reviewed-by: Ye Li Signed-off-by: Sébastien Szymanski --- This commit comes from downstream U-Boot: https://github.com/nxp-imx/uboot

[PATCH 0/4] clk: imx: add i.MX93 CCF driver

2023-07-25 Thread Sébastien Szymanski
for LPUART1 Sébastien Szymanski (2): clk: imx: add i.MX93 CCF driver imx93_evk: defconfig: enable clock driver Ye Li (1): serial: lpuart: Enable IPG clock arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 23 ++ arch/arm/dts/imx93.dtsi | 4 +- board/freescale/imx93_evk/imx93_evk.c

[PATCH 4/4] imx93_evk: defconfig: enable clock driver

2023-07-25 Thread Sébastien Szymanski
Add clocks nodes in u-boot.dtsi file. Remove init_uart_clk() call. Signed-off-by: Sébastien Szymanski --- arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 23 +++ board/freescale/imx93_evk/imx93_evk.c| 2 -- configs/imx93_11x11_evk_defconfig| 2 ++ 3 files changed

[PATCH 1/1] dm: adc: imx93-adc depends on ADC (fix boot)

2023-07-24 Thread Sébastien Szymanski
by making CONFIG_ADC_IMX93 depend on CONFIG_ADC. Signed-off-by: Sébastien Szymanski --- drivers/adc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/adc/Kconfig b/drivers/adc/Kconfig index 4336732dee56..a01d73846b74 100644 --- a/drivers/adc/Kconfig +++ b/drivers/adc/Kconfig @@ -66,6 +66,7

[PATCH 1/1] cmd: pwm: fix typo 'eisable' -> 'disable'

2022-02-25 Thread Sébastien Szymanski
Fixed misspelled 'disable' in help text. Signed-off-by: Sébastien Szymanski --- cmd/pwm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/pwm.c b/cmd/pwm.c index 7947e61aee..7e82955239 100644 --- a/cmd/pwm.c +++ b/cmd/pwm.c @@ -111,5 +111,5 @@ U_BOOT_CMD(pwm, 6, 0

[PATCH 1/1] video: mxsfb: fix pixel clock polarity

2021-11-26 Thread Sébastien Szymanski
=53990e416bb7adaa59d045f325a47f31a11b75ee Signed-off-by: Sébastien Szymanski --- drivers/video/mxsfb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 98d2965711..7aeea4b23f 100644 --- a/drivers/video/mxsfb.c +++ b/drivers

[PATCH 1/1] configs: opos6uldev: update to have screen working at power on

2021-11-26 Thread Sébastien Szymanski
Signed-off-by: Sébastien Szymanski --- configs/opos6uldev_defconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/configs/opos6uldev_defconfig b/configs/opos6uldev_defconfig index c52d2a5d39..409c48451e 100644 --- a/configs/opos6uldev_defconfig +++ b/configs/opos6uldev_defconfig

Re: [PATCH] power: pmic: pca9450: fix i2c address for PCA9450A

2020-07-13 Thread Sébastien Szymanski
gt; p->hw.i2c.tx_num = 1; >> p->bus = bus; > > There was a thread to address this, but not take udevice_id into > consideration. > Your version looks better. In that thread [1], it was suggested to merge both function power_pca9450{a,b}_init into one function power_pca9450_init. [1] https://lists.denx.de/pipermail/u-boot/2020-June/418123.html Regards, > > Reviewed-by: Peng Fan > >> >> -- >> 2.17.1 > -- Sébastien Szymanski, Armadeus Systems Software engineer

[PATCH v2 1/1] power: pmic_pca9450: fix PCA9450A I2C address

2020-06-30 Thread Sébastien Szymanski
Quoting Ye Li from NXP: "We have confirmed with PMIC team, 0x35 is used only on early chips and not used any more. 0x25 is the final address." Fix it by merging power_pca9450a_init and power_pca9450b_init into one function power_pca9450_init. Signed-off-by: Sébastien

Re: [EXT] [PATCH 1/1] power: pmic_pca9450: fix PCA9450A I2C address

2020-06-29 Thread Sébastien Szymanski
On 6/29/20 11:51 AM, Ye Li wrote: > On Mon, 2020-06-29 at 10:42 +0200, Sébastien Szymanski wrote: >> Caution: EXT Email >> >> PCA9450A I2C address is 0x25. Fix it. >> >> Signed-off-by: Sébastien Szymanski >> --- >>  drivers/power/pmic/pmic_pca9450.c

[PATCH 1/1] power: pmic_pca9450: fix PCA9450A I2C address

2020-06-29 Thread Sébastien Szymanski
PCA9450A I2C address is 0x25. Fix it. Signed-off-by: Sébastien Szymanski --- drivers/power/pmic/pmic_pca9450.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/pmic/pmic_pca9450.c b/drivers/power/pmic/pmic_pca9450.c index 67a9090200..c0fb78c4cd 100644

Re: [EXT] [PATCH v2 1/1] imx: rom api: fix image offset computation

2020-06-09 Thread Sébastien Szymanski
Hi, On 6/9/20 6:03 AM, Ye Li wrote: > Hi Sébastien, > >> -Original Message- >> From: U-Boot On Behalf Of >> sba...@denx.de >> Sent: 2020年6月9日 1:22 >> To: Sébastien Szymanski ; u- >> b...@lists.denx.de >> Subject: [EXT] [PATCH v2

Re: imx: move ATF to the back of the FIT to fix loading over yModem

2020-05-29 Thread Sébastien Szymanski
les, we must also reorder > the FIT image script to make sure that the loadables are last in > the FIT image. > > Signed-off-by: Patrick Wildt > Thanks to this patch, I was able to push a FIT image (ATF, U-Boot, dtb) using yModem, so: Tested-by: Sébastien Szymanski Regard

[PATCH v2 1/1] imx: rom api: fix image offset computation

2020-05-13 Thread Sébastien Szymanski
is 0 so this computation is wrong. Simplfy this computation to work on all booting devices. Signed-off-by: Sébastien Szymanski --- Changes from v2: * Previous version was wrong. arch/arm/mach-imx/spl_imx_romapi.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch

[PATCH 1/1] imx: rom api: fix image offset computation

2020-05-12 Thread Sébastien Szymanski
hat U-Boot is on the boot partion, so rework the offset computation by handling the two specific cases (SD and FlexSPI). Signed-off-by: Sébastien Szymanski --- arch/arm/mach-imx/spl_imx_romapi.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/spl_imx_romapi.c b/arc

[PATCH 1/1] dm: pinctrl: include linux/errno.h in pinctrl.h

2020-02-17 Thread Sébastien Szymanski
; ^~ include/dm/pinctrl.h:319:10: note: each undeclared identifier is reported only once for each function it appears in Signed-off-by: Sébastien Szymanski --- include/dm/pinctrl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/dm/pinctrl.h b/include/dm/pinctrl.h index

imx8m: composite clock wrong clock parent ?

2020-02-17 Thread Sébastien Szymanski
axi clk_get_parent_rate 489: clk enet_axi parent clock-osc-24m clk_get_parent_rate 489: clk enet1_root_clk parent enet_axi fecmxc_probe 1390 Is this a known issue ? Regards, -- Sébastien Szymanski, Armadeus Systems Software engineer

[PATCH 1/1] tools: imx8m_image: fix warning message

2020-01-21 Thread Sébastien Szymanski
When a firmware file is missing the warning message doesn't indicate the firmware file name because '$tmp' var doesn't exist. Fix the warning message and while at it reduce the if/else statement. Signed-off-by: Sébastien Szymanski --- tools/imx8m_image.sh | 6 ++ 1 file changed, 2

[U-Boot] [PATCH v2 1/3] imx6ul: opos6ul: migrate to DM_ETH

2019-10-21 Thread Sébastien Szymanski
Migrate to DM_ETH and remove code that is no longer necessary. Reviewed-by: Peng Fan Signed-off-by: Sébastien Szymanski --- Changes for v2: - added Reviewed-by tag arch/arm/mach-imx/mx6/opos6ul.c | 76 +++-- configs/opos6uldev_defconfig| 2 + include/configs

[U-Boot] [PATCH v2 2/3] opos6uldev: migrate to DM_VIDEO

2019-10-21 Thread Sébastien Szymanski
Migrate to DM_VIDEO, update the device tree and remove code that is no longer necessary. Reviewed-by: Peng Fan Signed-off-by: Sébastien Szymanski --- Changes for v2: - added Reviewed-by tag arch/arm/dts/imx6ul-opos6uldev-u-boot.dtsi | 10 ++ arch/arm/dts/imx6ul-opos6uldev.dts

[U-Boot] [PATCH v2 3/3] video: mxsfb: set gd->fb_base

2019-10-21 Thread Sébastien Szymanski
Set gd->fb_base so it can be shown with bdinfo command. Signed-off-by: Sébastien Szymanski --- Changes for v3: - use plat->base instead of fb_start drivers/video/mxsfb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 6922

[U-Boot] [PATCH 3/3] video: mxsfb: set gd->fb_base

2019-09-30 Thread Sébastien Szymanski
Set gd->fb_base so it can be shown with bdinfo command. Signed-off-by: Sébastien Szymanski --- drivers/video/mxsfb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c index 6922a130c6..ce67f3f32b 100644 --- a/drivers/video/mxsfb.c +++ b/driv

[U-Boot] [PATCH 2/3] opos6uldev: migrate to DM_VIDEO

2019-09-30 Thread Sébastien Szymanski
Migrate to DM_VIDEO, update the device tree and remove code that is no longer necessary. Signed-off-by: Sébastien Szymanski --- arch/arm/dts/imx6ul-opos6uldev-u-boot.dtsi | 10 ++ arch/arm/dts/imx6ul-opos6uldev.dts | 4 +-- board/armadeus/opos6uldev/board.c | 36

[U-Boot] [PATCH 1/3] imx6ul: opos6ul: migrate to DM_ETH

2019-09-30 Thread Sébastien Szymanski
Migrate to DM_ETH and remove code that is no longer necessary. Signed-off-by: Sébastien Szymanski --- arch/arm/mach-imx/mx6/opos6ul.c | 76 +++-- configs/opos6uldev_defconfig| 2 + include/configs/opos6uldev.h| 8 3 files changed, 8 insertions(+), 78

Re: [U-Boot] [PATCH 1/2] Convert CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE to Kconfig

2019-09-09 Thread Sébastien Szymanski
Hello, On 9/9/19 3:59 AM, Peng Fan wrote: >> Subject: [PATCH 1/2] Convert CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE to >> Kconfig >> >> This converts the following to Kconfig: >> >> CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE >> >> Signed-off-by: Sébastien Szyman

[U-Boot] [PATCH 2/2] configs: opos6uldev: Select CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE

2019-09-06 Thread Sébastien Szymanski
This significally increases performance: reading zImage, without DDR: 6203640 bytes read in 157 ms (37.7 MiB/s) reading zImage, with DDR: 6203640 bytes read in 88 ms (67.2 MiB/s) Signed-off-by: Sébastien Szymanski --- configs/opos6uldev_defconfig | 1 + 1 file changed, 1 insertion(+) diff

[U-Boot] [PATCH 1/2] Convert CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE to Kconfig

2019-09-06 Thread Sébastien Szymanski
This converts the following to Kconfig: CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE Signed-off-by: Sébastien Szymanski --- configs/warp7_defconfig | 1 + configs/warp_defconfig | 1 + drivers/mmc/Kconfig | 6 ++ include/configs/warp.h | 1 - include/configs/warp7.h | 1

[U-Boot] [PATCH v2 2/2] opos6uldev: remove board_ehci_hcd_init function

2019-05-20 Thread Sébastien Szymanski
This function sets the polarity of the PWR signal which is not used on the opos6uldev board. Remove it. Reviewed-by: Fabio Estevam Signed-off-by: Sébastien Szymanski --- Changes for v2: - better commit log board/armadeus/opos6uldev/board.c | 21 - 1 file changed, 21

[U-Boot] [PATCH v2 1/2] opos6uldev: don't call enable_lcdif_clock

2019-05-20 Thread Sébastien Szymanski
The mxsfb driver already calls enable_lcdif_clock. Reviewed-by: Fabio Estevam Signed-off-by: Sébastien Szymanski --- Changes for v2: - none board/armadeus/opos6uldev/board.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/board/armadeus/opos6uldev/board.c b/board/armadeus/opos6uldev

Re: [U-Boot] [PATCH 2/2] opos6uldev: remove board_ehci_hcd_init function

2019-05-14 Thread Sébastien Szymanski
Hi Fabio, On 5/14/19 2:17 PM, Fabio Estevam wrote: > On Tue, May 14, 2019 at 8:48 AM Sébastien Szymanski > wrote: >> >> It's useless on the opos6uldev. Remove it. > > Why is it useless? No USB host on this port? There is an USB host port but this function was j

[U-Boot] [PATCH 2/2] opos6uldev: remove board_ehci_hcd_init function

2019-05-14 Thread Sébastien Szymanski
It's useless on the opos6uldev. Remove it. Signed-off-by: Sébastien Szymanski --- board/armadeus/opos6uldev/board.c | 21 - 1 file changed, 21 deletions(-) diff --git a/board/armadeus/opos6uldev/board.c b/board/armadeus/opos6uldev/board.c index aed334f8fb..cbf40d5c4a

[U-Boot] [PATCH 1/2] opos6uldev: don't call enable_lcdif_clock

2019-05-14 Thread Sébastien Szymanski
The mxsfb driver already calls enable_lcdif_clock. Signed-off-by: Sébastien Szymanski --- board/armadeus/opos6uldev/board.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/board/armadeus/opos6uldev/board.c b/board/armadeus/opos6uldev/board.c index 4faa997126..aed334f8fb 100644

[U-Boot] [PATCH 1/1] opos6ul: set REFSEL and REFR fields

2019-05-14 Thread Sébastien Szymanski
Signed-off-by: Sébastien Szymanski --- arch/arm/mach-imx/mx6/opos6ul.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-imx/mx6/opos6ul.c b/arch/arm/mach-imx/mx6/opos6ul.c index a578fd67db..55ebe3a624 100644 --- a/arch/arm/mach-imx/mx6/opos6ul.c +++ b/arch/arm/mach-imx/mx6

Re: [U-Boot] [PATCH] Convert CONFIG_SUPPORT_EMMC_BOOT to Kconfig

2019-04-30 Thread Sébastien Szymanski
p riotboard_spl vining_2000 zc5601 zc5202 xpress pico-imx6ul dms-ba16-1g > pico-pi-imx7d > 02: configs: Resync with savedefconfig > 03: Convert CONFIG_SUPPORT_EMMC_BOOT to Kconfig > > configs/opos6uldev_defconfig | 1 + > include/configs/opos6uldev.h

[U-Boot] [PATCH 1/1] fs: ext4: do not write on filesystem with metadata_csum feature

2019-03-22 Thread Sébastien Szymanski
error [2.691982] EXT4-fs (mmcblk0p2): error loading journal [2.698292] VFS: Cannot open root device "mmcblk0p2" or unknown-block(179,2): error -74 Don't write to filesystem with meatadata_csum feature to not corrupt the filesystem. Signed-off-by: Sébastien Szymanski --

Re: [U-Boot] [PATCH v3 1/1] ARM: opos6ul: make the board boot again

2018-09-20 Thread Sébastien Szymanski
Hello, On 09/06/2018 03:57 PM, Stefano Babic wrote: > On 06/09/2018 09:51, Sébastien Szymanski wrote: >> Commit 9faa43c4b5e5 ("ARM: dts: i.MX6UL: U-Boot specific dts for u-boot, >> dm-spl") removes the u-boot,dm-spl properties from the imx6ul.dtsi file >> and b

[U-Boot] [PATCH 1/1] video: cfb_console: flush cache in display_rle8_bitmap

2018-09-10 Thread Sébastien Szymanski
Otherwise BMP RLE8 images are not properly displayed. Signed-off-by: Sébastien Szymanski --- drivers/video/cfb_console.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index 40110668a6..636c3e8c18 100644 --- a/drivers/video

[U-Boot] [PATCH v3 1/1] ARM: opos6ul: make the board boot again

2018-09-06 Thread Sébastien Szymanski
b5e5 ("ARM: dts: i.MX6UL: U-Boot specific dts for u-boot, dm-spl") Signed-off-by: Sébastien Szymanski --- Changes for v3: - use the automatic inclusion of -u-boot.dtsi mechanism of U-Boot. Changes for v2: - put u-boot,dm-spl properties into -u-boot.dts files arch/arm/dts/imx6ul

Re: [U-Boot] [PULL] Please pull u-boot-imx

2018-09-02 Thread Sébastien Szymanski
Hi Tom, > On 1 Sep 2018, at 13:37, Tom Rini wrote: > > - So I start reading the whole diff and I see: > commit 8e00d802e402d2a6734a88ebeb77a70efcfc354c > Author: Sébastien Szymanski > Date: Wed Jul 25 14:47:53 2018 +0200 > >ARM: opos6ul: make the board boot a

[U-Boot] [PATCH v2 1/1] ARM: opos6ul: make the board boot again

2018-07-25 Thread Sébastien Szymanski
b5e5 ("ARM: dts: i.MX6UL: U-Boot specific dts for u-boot, dm-spl") Signed-off-by: Sébastien Szymanski --- Changes for v2: - put u-boot,dm-spl properties into -u-boot.dts files arch/arm/dts/imx6ul-opos6ul-u-boot.dtsi | 28 arch/arm/dts/imx6ul-opos6u

[U-Boot] [PATCH 1/1] ARM: dts: opos6ul: make the board boot again

2018-07-25 Thread Sébastien Szymanski
i.MX6UL: U-Boot specific dts for u-boot, dm-spl") Signed-off-by: Sébastien Szymanski --- arch/arm/dts/imx6ul-opos6ul.dtsi | 33 +++-- 1 file changed, 31 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/imx6ul-opos6ul.dtsi b/arch/arm/dts/imx6ul-opos6ul.d

Re: [U-Boot] [PATCH] ARM: mx6ul: Apply ERR011115 errata workaround

2018-07-20 Thread Sébastien Szymanski
for MMC/SD boot device. The default offset for the U-Boot image on MMC/SD boot device is 69KB (see SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR) so I think CONFIG_SPL_PAD_TO should always be 0x11000 (== 68KB). Regards, > > /* MMC support */ > #if defined(CONFIG_SPL_MMC_SUPPORT) > -- Sébastien

Re: [U-Boot] DM-SERIAL-SPL on MX6

2018-06-07 Thread Sébastien Szymanski
On 06/07/2018 10:35 AM, Hannes Schmelzer wrote: > On 06/07/2018 09:50 AM, Sébastien Szymanski wrote: >> Hi, > Hi Sébastien, >> >> On 06/07/2018 09:14 AM, Jagan Teki wrote: >>> + Add few imx maintainers >>> >>> On Thu, Jun 7, 2018 at 12:25 PM,

Re: [U-Boot] DM-SERIAL-SPL on MX6

2018-06-07 Thread Sébastien Szymanski
art doesn't support low > level init. Peng or someone can explain more. When converting the OPOS6UL to DM, I had to move the preloader_console_init call into the spl_board_init function. Regards, > > Jagan. > -- Sébastien Szymanski Software engineer, Armadeus Systems Tel: +33 (0)9

Re: [U-Boot] [PATCH v2 2/2] imx6ul: opos6ul: in Serial Downloader boot mode use ymodem

2018-04-18 Thread Sébastien Szymanski
Hi Fabio, On 04/17/2018 11:52 PM, Fabio Estevam wrote: > Hi Sébastien, > > On Tue, Apr 17, 2018 at 12:29 PM, Sébastien Szymanski > <sebastien.szyman...@armadeus.com> wrote: >> When booting in Serial Downloader mode load the U-Boot image using >> ymodem.

[U-Boot] [PATCH v2 1/2] imx6ul: opos6ul: add SPL_DM support

2018-04-17 Thread Sébastien Szymanski
Since commit commit 152038ea1886 ("i.MX6UL: icore: Add SPL_OF_CONTROL support") the OPOS6UL board doesn't boot anymore. Adding SPL_DM support makes the board boot again. Fixes: commit 152038ea1886 ("i.MX6UL: icore: Add SPL_OF_CONTROL support") Signed-off-by: Sébastien Szymans

[U-Boot] [PATCH v2 2/2] imx6ul: opos6ul: in Serial Downloader boot mode use ymodem

2018-04-17 Thread Sébastien Szymanski
When booting in Serial Downloader mode load the U-Boot image using ymodem. Signed-off-by: Sébastien Szymanski <sebastien.szyman...@armadeus.com> --- Changes for v2: - Add commit log. arch/arm/mach-imx/mx6/opos6ul.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/ar

[U-Boot] [PATCH 2/2] imx6ul: opos6ul: in Serial Downloader boot mode use ymodem

2018-04-17 Thread Sébastien Szymanski
Signed-off-by: Sébastien Szymanski <sebastien.szyman...@armadeus.com> --- arch/arm/mach-imx/mx6/opos6ul.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/mach-imx/mx6/opos6ul.c b/arch/arm/mach-imx/mx6/opos6ul.c index ef70a7d323..5d39c0bc1b 100644 --- a/arch/arm/ma

[U-Boot] [PATCH 1/2] imx6ul: opos6ul: add SPL_DM support

2018-04-17 Thread Sébastien Szymanski
Since commit commit 152038ea1886 ("i.MX6UL: icore: Add SPL_OF_CONTROL support") the OPOS6UL board doesn't boot anymore. Adding SPL_DM support makes the board boot again. Fixes: commit 152038ea1886 ("i.MX6UL: icore: Add SPL_OF_CONTROL support") Signed-off-by: Sébastien Szymans

Re: [U-Boot] [PATCH v2] imx: Fix regression with CONFIG_DM_MMC=y

2017-10-20 Thread Sébastien Szymanski
@ -17,6 +17,7 @@ #ifdef CONFIG_SPL_BUILD #undef CONFIG_DM_GPIO #undef CONFIG_DM_MMC +#undef CONFIG_BLK #define CONFIG_MXC_UART_BASE UART1_BASE #endif Otherwise, your change fixes the eMMC on the board. Tested-by: Sébastien Szymanski <sebastien.szyman...@armadeus.com> Thank

Re: [U-Boot] [PATCH v1 2/2] imx: use BOOT_DEVICE_BOARD instead of UART

2017-08-27 Thread Sébastien Szymanski
Hello, > On 27 Aug 2017, at 21:17, Stefan Agner <ste...@agner.ch> wrote: > > On 2017-08-27 01:45, Sébastien Szymanski wrote: >> Hello, >> >>> On 25 Aug 2017, at 13:33, Stefano Babic <sba...@denx.de> wrote: >>> >>> On 16/08/2017 0

Re: [U-Boot] [PATCH v1 2/2] imx: use BOOT_DEVICE_BOARD instead of UART

2017-08-27 Thread Sébastien Szymanski
Hello, > On 25 Aug 2017, at 13:33, Stefano Babic wrote: > > On 16/08/2017 02:49, Stefan Agner wrote: >> From: Stefan Agner >> >> i.MX 6 serial downloader is not necessarily booting via UART but can >> also boot from USB. In fact only some i.MX chips

Re: [U-Boot] [PATCH v1 1/2] imx: fix USB boot mode detection for i.MX 6UL and 6ULL

2017-08-26 Thread Sébastien Szymanski
ved... >> >> Signed-off-by: Stefan Agner <stefan.ag...@toradex.com> >> --- >> Afaik there is no board yet using SPL on 6UL/ULL... > > Not yet… ? There are boards in the tree using SPL on i.MX6UL. OPOS6UL is one of them. Regards, Sébastien Szymanski &g

[U-Boot] [PATCH 2/2] imx: imx6ull: correct get_cpu_speed_grade_hz

2017-08-02 Thread Sébastien Szymanski
i.MX6ULL has different speed grades than i.MX6UL. Signed-off-by: Sébastien Szymanski <sebastien.szyman...@armadeus.com> --- Notice that the i.MX6ULL RM says: 2b'00: 800MHz; 2b'01: 850MHz; 2b'10: 1GHz; 2b'11: 1.2Ghz; which seems incorrect. The commit [1] confirmed it, but I cannot find any

[U-Boot] [PATCH v2 1/2] imx: imx6ul: correct get_cpu_speed_grade_hz on 696MHz SoCs

2017-08-02 Thread Sébastien Szymanski
Return the correct value when the speed grade is 696MHz. Signed-off-by: Sébastien Szymanski <sebastien.szyman...@armadeus.com> --- Changes v1 -> v2: - Only true on i.MX6UL so adapt the subject and commit log accordingly. --- arch/arm/mach-imx/mx6/soc.c | 2 +- 1 file changed, 1 insert

Re: [U-Boot] [PATCH 1/1] imx: imx6ull: correct get_cpu_speed_grade_hz on 696MHz SoCs

2017-08-02 Thread Sébastien Szymanski
Hi, On 08/02/2017 12:11 PM, Stefano Babic wrote: > On 02/08/2017 12:15, Sébastien Szymanski wrote: >> Return the correct value when the speed grade is 696MHz. >> This makes U-Boot to print the correct value at boot: >> >> U-Boot 2017.09-rc1-dirty (Aug 02 2017

[U-Boot] [PATCH 1/1] imx: imx6ull: correct get_cpu_speed_grade_hz on 696MHz SoCs

2017-08-02 Thread Sébastien Szymanski
) CPU: Freescale i.MX6ULL rev1.0 69 MHz (running at 396 MHz) Signed-off-by: Sébastien Szymanski <sebastien.szyman...@armadeus.com> --- arch/arm/mach-imx/mx6/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/mx6/soc.c b/arch/arm/mach-imx/mx6/soc.c

Re: [U-Boot] [PATCH] arm: dts: imx: add aliases for usbotg nodes

2017-05-18 Thread Sébastien Szymanski
ence > to non-existent node or label "usbotg1"" when DTS is compiled: > > opos6uldev > mx6sllevk_plugin > mx6slevk_spinor > imx6qdl_icore_rqs_mmc > ... > It looks like my comment has been missed. The imx6ul.dtsi file already has usbotg{0,1} aliases. Reg

Re: [U-Boot] [PATCH] arm: dts: imx: add aliases for usbotg nodes

2017-04-27 Thread Sébastien Szymanski
ile already has usbotg{0,1} aliases. http://git.denx.de/?p=u-boot.git;a=commit;h=b3cab814232d3b5e165c09ffad4af5b71bde15f3 Regards, -- Sébastien Szymanski Software Engineer, Armadeus Systems sebastien.szyman...@armadeus.com Tel: +33 (0)9 72 29 41 44 Fax: +33 (0)9 72 28 79 26 _

[U-Boot] [PATCH 2/2] arm: i.MX6UL: add Armadeus Systems OPOS6UL SoM and OPOS6ULDev carrier board

2017-03-07 Thread Sébastien Szymanski
] Hit any key to stop autoboot: 0 Signed-off-by: Sébastien Szymanski <sebastien.szyman...@armadeus.com> --- arch/arm/cpu/armv7/mx6/Kconfig | 15 ++ arch/arm/cpu/armv7/mx6/Makefile | 1 + arch/arm/cpu/armv7/mx6/opos6ul.c| 302 +++ arch/arm/dts/Ma

[U-Boot] [PATCH 1/2] dm: imx: serial: add i.MX6UL support

2017-03-07 Thread Sébastien Szymanski
Signed-off-by: Sébastien Szymanski <sebastien.szyman...@armadeus.com> --- drivers/serial/serial_mxc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c index 1cfcbf2..64126e2 100644 --- a/drivers/serial/serial_mxc.c +++ b/drivers/

Re: [U-Boot] [PATCH v4 00/15] i.MX6: Engicam i.CoreM6/Is.IoT eMMC boot support

2017-02-27 Thread Sébastien Szymanski
On 02/27/2017 03:38 PM, Jagan Teki wrote: > On Monday 27 February 2017 07:58 PM, Sébastien Szymanski wrote: >> Hello, >> >> On 02/26/2017 12:54 PM, Stefano Babic wrote: >>> On 24/02/2017 11:15, Jagan Teki wrote: >>>> From: Jagan Teki <ja...@a

Re: [U-Boot] [PATCH v4 00/15] i.MX6: Engicam i.CoreM6/Is.IoT eMMC boot support

2017-02-27 Thread Sébastien Szymanski
'/dts-v1/;' in the imx6ul-isiot.dtsi file and in imx6ul-isiot-*.dts files. With this change: diff --git a/arch/arm/dts/imx6ul-isiot.dtsi b/arch/arm/dts/imx6ul-isiot.dtsi index 346079a..9a3c35c 100644 --- a/arch/arm/dts/imx6ul-isiot.dtsi +++ b/arch/arm/d

[U-Boot] [PATCH 1/1] arm: dts: imx6ul: add usbotg aliases

2017-02-22 Thread Sébastien Szymanski
ed-off-by: Sébastien Szymanski <sebastien.szyman...@armadeus.com> --- arch/arm/dts/imx6ul.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/imx6ul.dtsi b/arch/arm/dts/imx6ul.dtsi index c5c05fd..def5f8c 100644 --- a/arch/arm/dts/imx6ul.dtsi +++ b/arch/arm/dts/imx6ul.dtsi @@

Re: [U-Boot] ext4: crash when writing a file

2017-01-24 Thread Sébastien Szymanski
On 01/23/2017 05:38 PM, Brüns, Stefan wrote: > On Freitag, 20. Januar 2017 18:32:49 CET Sébastien Szymanski wrote: > [...] >> Then under the sandbox I do the following: >> >> U-Boot 2017.01-2-g558e41e-dirty (Jan 20 2017 - 16:19:47 +0100) >> >> DRA

Re: [U-Boot] ext4: crash when writing a file

2017-01-20 Thread Sébastien Szymanski
t4write host 0:2 0 /boot/opos6ul-linux.bin ${filesize} File System is consistent file found, deleting update journal finished File System is consistent update journal finished Segmentation fault Regards, > > Kind regards, > > Stefan Sébastien Szymanski ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/1] cmd/host: add missing \n in help text

2017-01-19 Thread Sébastien Szymanski
Signed-off-by: Sébastien Szymanski <sebastien.szyman...@armadeus.com> --- cmd/host.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/host.c b/cmd/host.c index 515621b..080b7cf 100644 --- a/cmd/host.c +++ b/cmd/host.c @@ -181,7 +181,7 @@ U_BOOT_CMD( "hos

Re: [U-Boot] ext4: crash when writing a file

2016-11-29 Thread Sébastien Szymanski
On 11/29/2016 03:38 PM, Brüns, Stefan wrote: > On Dienstag, 29. November 2016 14:10:54 CET Sébastien Szymanski wrote: >> >>> Btw, which u-boot version are you using? >> >> I first noticed the issue on U-Boot 2016.05 so I rebase on master from >> http://

Re: [U-Boot] ext4: crash when writing a file

2016-11-29 Thread Sébastien Szymanski
ilesize} > > What are you trying to achieve here? What is the value of $filesize? I try to update the kernel image which is /boot/opos6ul-linux.bin. I download it from a tftp server so $filesize is the size of the kernel image BIOS> printenv filesize filesize=518f68 > > Btw, which u-b

[U-Boot] ext4: crash when writing a file

2016-11-29 Thread Sébastien Szymanski
resize the filesystem under Linux, I don't get the crash but the following error: ext4fs_devread read outside partition 4294967294 error in File System init ** Error ext4fs_write() ** ** Unable to write file /boot/opos6ul-linux.bin ** Any idea ? Regards, -- Sébastien Szymanski Software Engineer, Armadeu