[U-Boot] [PATCH] doc: FIT image: fix typo

2018-08-18 Thread Pierre-Jean Texier
Fix typo in beaglebone verified boot documentation. Signed-off-by: Pierre-Jean Texier --- doc/uImage.FIT/beaglebone_vboot.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/uImage.FIT/beaglebone_vboot.txt b/doc/uImage.FIT/beaglebone_vboot.txt index f1862c2..685ec1f

[U-Boot] [PATCH] warp7: configs: enable CONFIG_CMD_FS_GENERIC

2018-03-27 Thread Pierre-Jean TEXIER
This enable generic file system commands (load, ls). Signed-off-by: Pierre-Jean TEXIER <texier@gmail.com> --- configs/warp7_defconfig| 1 + configs/warp7_secure_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig

[U-Boot] [PATCH v3 1/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS

2018-03-31 Thread Pierre-Jean TEXIER
use the generic filesystem command 'load' rather than 'fatload' to avoid per-fs specific commands. Signed-off-by: Pierre-Jean TEXIER <texier@gmail.com> --- Changes for v3: - None include/configs/warp7.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[U-Boot] [PATCH v3 2/2] warp7: configs: enable CONFIG_CMD_FS_GENERIC

2018-03-31 Thread Pierre-Jean TEXIER
This enable generic file system commands (load, ls). Signed-off-by: Pierre-Jean TEXIER <texier@gmail.com> --- Changes for v3: - drop 'warp7_secure_defconfig' configs/warp7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/warp7_defconfig b/configs/warp7_def

[U-Boot] [PATCH v2 2/2] warp7: include/configs: use generic fs commands in CONFIG_EXTRA_ENV_SETTINGS

2018-03-28 Thread Pierre-Jean TEXIER
use the generic filesystem command 'load' rather than 'fatload' to avoid per-fs specific commands. Signed-off-by: Pierre-Jean TEXIER <texier@gmail.com> --- Changes for v2: - apply modications into warp7.h - replace fatload command in CONFIG_EXTRA_ENV_SETTINGS (prefer

[U-Boot] [PATCH v2 1/2] warp7: configs: enable CONFIG_CMD_FS_GENERIC

2018-03-28 Thread Pierre-Jean TEXIER
This enable generic file system commands (load, ls). Signed-off-by: Pierre-Jean TEXIER <texier@gmail.com> --- Changes for v2: - None configs/warp7_defconfig| 1 + configs/warp7_secure_defconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/configs/warp7_defco

Re: [U-Boot] [PATCH] warp7: configs: enable CONFIG_CMD_FS_GENERIC

2018-03-28 Thread Pierre-Jean Texier
Hi Fabio Le 28/03/2018 à 03:02, Fabio Estevam a écrit : Hi Pierre-Jean, On Tue, Mar 27, 2018 at 4:50 PM, Pierre-Jean TEXIER <texier@gmail.com> wrote: This enable generic file system commands (load, ls). Signed-off-by: Pierre-Jean TEXIER <texier@gmail.com> -

[U-Boot] [PATCH] warp7: configs: add CONFIG_FIT option

2018-09-29 Thread Pierre-Jean Texier
This enable FIT image support. Signed-off-by: Pierre-Jean Texier --- configs/warp7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig index 15a6673..919d484 100644 --- a/configs/warp7_defconfig +++ b/configs/warp7_defconfig @@ -8,6

[U-Boot] [PATCH] warp7: configs: add CONFIG_FIT option

2018-09-29 Thread Pierre-Jean Texier
This enable FIT image support. Signed-off-by: Pierre-Jean Texier --- configs/warp7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/warp7_defconfig b/configs/warp7_defconfig index 15a6673..919d484 100644 --- a/configs/warp7_defconfig +++ b/configs/warp7_defconfig @@ -8,6

[U-Boot] [PATCH] warp7: defconfig: Switch to DM for USB and SERIAL

2019-04-13 Thread Pierre-Jean Texier
This commit switches to DM USB and SERIAL for warp7 and warp7_bl33 defconfigs. Signed-off-by: Pierre-Jean Texier Signed-off-by: Joris Offouga --- arch/arm/dts/imx7s-warp.dts | 5 + board/warp7/warp7.c | 5 - configs/warp7_bl33_defconfig | 2 ++ configs/warp7_defconfig

[U-Boot] [PATCH] warp7: Fix dfu_alt_info setting after DM conversion

2019-04-12 Thread Pierre-Jean Texier
After DM conversion, U-Boot is larger than 512 KiB, so we need to increase the "size" of the dfu_alt_info setting. Signed-off-by: Pierre-Jean Texier --- include/configs/warp7.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/warp7.h b/include/confi

Re: [U-Boot] [PATCH 3/7] warp7: include: configs: Differentiate bootscript address from loadaddr

2019-05-15 Thread Pierre-Jean Texier
Le 15/05/2019 à 10:23, Bryan O'Donoghue a écrit : On 14/05/2019 21:27, Pierre-Jean Texier wrote: should this apply in isolation ? Not necessarily, on my side everything working well on-top of master, for example: Hit any key to stop autoboot:  0 => run bootcmd_mmc0 switch to partiti

Re: [U-Boot] [PATCH 3/7] warp7: include: configs: Differentiate bootscript address from loadaddr

2019-05-14 Thread Pierre-Jean Texier
Hi Bryan, Le 14/05/2019 à 00:13, Bryan O'Donoghue a écrit : On 09/05/2019 16:32, Bryan O'Donoghue wrote: On 08/05/2019 20:33, Pierre-Jean Texier wrote: Hi Bryan, Le 08/05/2019 à 20:14, Bryan O'Donoghue a écrit : Reusing the loadaddr to load the boot script breaks some of the logic we

Re: [U-Boot] [PATCH 3/7] warp7: include: configs: Differentiate bootscript address from loadaddr

2019-05-23 Thread Pierre-Jean Texier
Hi Bryan, Le 20/05/2019 à 10:33, Bryan O'Donoghue a écrit : On 15/05/2019 20:13, Pierre-Jean Texier wrote: Regarding your question, it seems that is now the standard on many platforms [2]. In fact, instead of keeping a custom environment, it is better to use a more generic approach

Re: [U-Boot] [PATCH 3/7] warp7: include: configs: Differentiate bootscript address from loadaddr

2019-05-08 Thread Pierre-Jean Texier
Hi Bryan, Le 08/05/2019 à 20:14, Bryan O'Donoghue a écrit : Reusing the loadaddr to load the boot script breaks some of the logic we want to have around the bootscript/FIT load addresses. Making a dedicated bootscript address allows us to differentiate the bootscript load address from the Linux

[U-Boot] WaRP7 nok on master

2019-05-01 Thread Pierre-Jean Texier
Hi Fabio, Stefano, Just FYI, I just tested the U-Boot master branch (with u-boot-imx merges). And I have some problems when the WaRP7 boot-up. In fact, no output... However, on u-boot-imx, everything works well (tags/u-boot-imx-20190426). After some manipulation with git bisect, it appears

[U-Boot] [PATCH] pico-imx7d: remove unused 'script' variable

2019-05-07 Thread Pierre-Jean Texier
Since the pico-pi uses the distroboot, this commit remove the 'script' variable (cf boot_scripts). Signed-off-by: Pierre-Jean Texier --- include/configs/pico-imx7d.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/pico-imx7d.h b/include/configs/pico-imx7d.h index 365a598

[U-Boot] [PATCH v2 2/2] warp7: Switch to DM USB

2019-04-19 Thread Pierre-Jean Texier
This commit switches to DM USB for warp7 and warp7_bl33 defconfigs. Signed-off-by: Pierre-Jean Texier Signed-off-by: Joris Offouga --- Changes in v2: - Split patch - Removed unused header file arch/arm/dts/imx7s-warp.dts | 1 + board/warp7/warp7.c | 6 -- configs

[U-Boot] [PATCH v2 1/2] warp7: Switch to DM Serial

2019-04-19 Thread Pierre-Jean Texier
This commit switches to DM SERIAL for warp7 and warp7_bl33 defconfigs. Signed-off-by: Pierre-Jean Texier Signed-off-by: Joris Offouga --- Changes in v2: - Split patch - Removed CONFIG_MXC_UART_BASE from config file arch/arm/dts/imx7s-warp.dts | 4 configs

[U-Boot] [PATCH v2 0/2] Convert WaRP7 to DM_USB and DM_SERIAL

2019-04-19 Thread Pierre-Jean Texier
This series convert the WaRP7 to the following DM: -CONFIG_DM_USB -CONFIG_DM_SERIAL Change in v2: - Now split in two distinct patches (DM_USB & DM_SERIAL) Pierre-Jean Texier (2): warp7: Switch to DM Serial warp7: Switch to DM USB arch/arm/dts/imx7s-warp.dts | 5 + board/warp7/w

Re: [U-Boot] WaRP7 nok on master

2019-05-02 Thread Pierre-Jean Texier
Hi Lucas, Le 02/05/2019 à 12:21, Auer, Lukas a écrit : Hi Stefano, On Thu, 2019-05-02 at 10:55 +0200, Stefano Babic wrote: Hi Piere, Lukasz, On 01/05/19 20:49, Pierre-Jean Texier wrote: Hi Fabio, Stefano, Just FYI, I just tested the U-Boot master branch (with u-boot-imx merges). And I have

Re: [U-Boot] [PATCH v2] imx: Use a convenient default value for SYS_MALLOC_F_LEN

2019-05-03 Thread Pierre-Jean Texier
FIG_SYS_MALLOC_F_LEN. Reported-by: Pierre-Jean Texier Suggested-by: Lukas Auer Signed-off-by: Fabio Estevam --- Changes since v1: - Move the default setting to the main Kconfig and make it depend on i.MX Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kconfig b/Kconfig index 7a5491bd6

Re: [U-Boot] [PATCH v2 01/16] stm32mp1: deactivate WATCHDOG in defconfig

2019-07-07 Thread Pierre-Jean Texier
_STM32MP=y Tested-by: Pierre-Jean Texier Regards, -- Pierre-Jean Texier Embedded Linux Engineer https://koncepto.io ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v2 14/16] stm32mp1: add check for presence of environment in boot device

2019-07-07 Thread Pierre-Jean Texier
Retrieving file: /boot/extlinux/extlinux.conf 125 bytes read in 3 ms (40 KiB/s) 1: stm32mp15-buildroot Retrieving file: /boot/zImage 3948320 bytes read in 170 ms (22.1 MiB/s) append: root=/dev/mmcblk0p4 rootwait Retrieving file: /boot/stm32mp157a-dk1.dtb 38698 b

Re: [U-Boot] [PATCH v2 16/16] ARM: dts: stm32mp1: sync device tree with v5.2-rc4

2019-07-07 Thread Pierre-Jean Texier
Hi Patrick, Le 05/07/2019 à 17:20, Patrick Delaunay a écrit : Synchronize device tree with v5.2-rc4 label and update the associated u-boot dtsi. Signed-off-by: Patrick Delaunay --- Changes in v2: - missing alignment on ethernet@5800a000 - set ethernet0 phy-mode to "rgmii-id" for dk1

[U-Boot] [PATCH v2 3/4] env: add missing header file

2019-08-26 Thread Pierre-Jean Texier
efault_val); ^ long include/env.h:158:49: error: unknown type name ‘ulong’; did you mean ‘long’? ulong env_get_ulong(const char *name, int base, ulong default_val); Signed-off-by: Pierre-Jean Texier Tested-by: Joris Offouga Tested-by: Heiko Schocher --- v1 -> v2: - None include/env.h

[U-Boot] [PATCH v2 2/4] fw_env: fix build error

2019-08-26 Thread Pierre-Jean Texier
The following error appears: tools/env/fw_env.c:1149:25: error: lvalue required as unary ‘&’ operand rc = write(fd, _REDUND_OBSOLETE, sizeof(ENV_REDUND_OBSOLETE)); Fixes: d3716dd ("env: Rename the redundancy flags") Signed-off-by: Pierre-Jean Texier Tested-by: Joris Offouga Te

Re: [U-Boot] [PATCH 2/4] fw_env: fix build error

2019-08-26 Thread Pierre-Jean Texier
y? It works fine. Thanks for testing ! I will send a v2 with your suggestion. BR Pierre-Jean -- Pierre-Jean Texier Embedded Linux Engineer https://koncepto.io ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH v2 0/4] env: fix build error for envtools

2019-08-26 Thread Pierre-Jean Texier
/u-boot/jobs/227761236 Pierre-Jean Texier (4): fw_env: remove duplicated definitions fw_env: fix build error env: add missing header file ci: add envtools support .gitlab-ci.yml | 7 +++ .travis.yml| 4 include/env.h | 1 + tools/env/fw_env.c | 10

[U-Boot] [PATCH v2 4/4] ci: add envtools support

2019-08-26 Thread Pierre-Jean Texier
This commit add envtools suppport to CI to verify if there is no build issues. Signed-off-by: Pierre-Jean Texier Acked-by: Heiko Schocher --- v1 -> v2: - None .gitlab-ci.yml | 7 +++ .travis.yml| 4 2 files changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.

[U-Boot] [PATCH v2 1/4] fw_env: remove duplicated definitions

2019-08-26 Thread Pierre-Jean Texier
symbol static unsigned char ENV_REDUND_OBSOLETE; ^~~ In file included from tools/env/fw_env.c:13: include/env.h:62:2: note: previous definition of ‘ENV_REDUND_OBSOLETE’ was here ENV_REDUND_OBSOLETE = 0, Signed-off-by: Pierre-Jean Texier Tested-by: Joris O

[U-Boot] [PATCH 0/4] env: fix build error for envtools

2019-08-23 Thread Pierre-Jean Texier
/u-boot/jobs/227761236 Pierre-Jean Texier (4): fw_env: remove duplicated definitions fw_env: fix build error env: add missing header file ci: add envtools support .gitlab-ci.yml | 7 +++ .travis.yml| 4 include/env.h | 1 + tools/env/fw_env.c | 9 + 4

[U-Boot] [PATCH 2/4] fw_env: fix build error

2019-08-23 Thread Pierre-Jean Texier
The following error appears: tools/env/fw_env.c:1149:25: error: lvalue required as unary ‘&’ operand rc = write(fd, _REDUND_OBSOLETE, sizeof(ENV_REDUND_OBSOLETE)); Fixes: d3716dd ("env: Rename the redundancy flags") Signed-off-by: Pierre-Jean Texier --- tools/env/fw_env.c

[U-Boot] [PATCH 4/4] ci: add envtools support

2019-08-23 Thread Pierre-Jean Texier
This commit add envtools suppport to CI to verify if there is no build issues. Signed-off-by: Pierre-Jean Texier --- .gitlab-ci.yml | 7 +++ .travis.yml| 4 2 files changed, 11 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 84e79bf..a1c5b4f 100644 --- a/.gitlab

[U-Boot] [PATCH 1/4] fw_env: remove duplicated definitions

2019-08-23 Thread Pierre-Jean Texier
symbol static unsigned char ENV_REDUND_OBSOLETE; ^~~ In file included from tools/env/fw_env.c:13: include/env.h:62:2: note: previous definition of ‘ENV_REDUND_OBSOLETE’ was here ENV_REDUND_OBSOLETE = 0, Signed-off-by: Pierre-Jean Texier --- tools/en

[U-Boot] [PATCH 3/4] env: add missing header file

2019-08-23 Thread Pierre-Jean Texier
efault_val); ^ long include/env.h:158:49: error: unknown type name ‘ulong’; did you mean ‘long’? ulong env_get_ulong(const char *name, int base, ulong default_val); Signed-off-by: Pierre-Jean Texier --- include/env.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/env.h b/inc

Re: [U-Boot] [PATCH v2 0/4] env: fix build error for envtools

2019-09-16 Thread Pierre-Jean Texier
Hello Tom, Le 26/08/2019 à 13:06, Pierre-Jean Texier a écrit : Here is a set of patches that fixes envtools breakage introduced after v2019.10-rc2. This serie also adds envtools to travis CI and gitlab-ci. This was tested on WaRP7. Before this serie: - https://travis-ci.com/texierp/u-boot

Re: [U-Boot] envtools with tools-only_defconfig fails to build after v2019.10-rc1

2019-09-24 Thread Pierre-Jean Texier
vagrant ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot -- Pierre-Jean Texier Embedded Linux Engineer https://koncepto.io ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] warp7: Fix U-Boot corruption after saving the environment

2019-10-21 Thread Pierre-Jean Texier
G_SYS_FSL_USDHC_NUM 1 #define CONFIG_SYS_MMC_ENV_DEV 0 -- Pierre-Jean Texier Embedded Linux Engineer https://koncepto.io ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH] warp7: Fix U-Boot corruption after saving the environment

2019-10-21 Thread Pierre-Jean Texier
Fabio, Le 21/10/2019 à 18:50, Fabio Estevam a écrit : Hi Pierre-Jean, On Mon, Oct 21, 2019 at 1:43 PM Pierre-Jean Texier wrote: On top-of master 32ded50 ("spl: mmc: make eMMC HW boot partition configuration optional ") I am not able to reproduce the described behavior. I used

Re: [U-Boot] [PATCH 2/2] warp7: Remove duplicate "mmc dev" command

2019-10-23 Thread Pierre-Jean Texier
"run do_bootscript_hab;" \ "if run loadbootscript; then " \ Reviewed-by: Pierre-Jean Texier Tested-by: Pierre-Jean Texier Thanks ! -- Pierre-Jean Texier Embedded Linux Engineer https://koncepto.io __

Re: [U-Boot] [PATCH 1/2] warp7: Remove CONFIG_SYS_FSL_ESDHC_ADDR

2019-10-23 Thread Pierre-Jean Texier
USDHC3_BASE_ADDR #define CONFIG_SYS_FSL_ESDHC_HAS_DDR_MODE #define CONFIG_SYS_MMC_IMG_LOAD_PART 1 Reviewed-by: Pierre-Jean Texier Tested-by: Pierre-Jean Texier Thanks ! -- Pierre-Jean Texier Embedded Linux Engineer https://koncepto.io ___ U

Re: [U-Boot] envtools with tools-only_defconfig fails to build after v2019.10-rc1

2019-09-24 Thread Pierre-Jean Texier
;tools-all" in order to have a better visualization on Travis and Gitlab. Also, It appears that Joe has already "Acked". Thanks ! [1] - http://patchwork.ozlabs.org/patch/1153104/ -- Pierre-Jean Texier Embedded Linux Engineer https://koncepto.io __

Re: [U-Boot] [u-boot-imx/next] WaRP7 & Pico-Pi i.MX7 NOK

2019-10-07 Thread Pierre-Jean Texier
Hi Stefano, Le 07/10/2019 à 21:58, Stefano Babic a écrit : Hi Pierre-Jen, On 07/10/19 20:44, Pierre-Jean Texier wrote: Stefano, Peng, I just compiled a fresh U-Boot with u-boot-imx/next and It looks like commit 34f2feb ("imx: mmc_env: update runtime SD/MMC boot env device") [1]

[U-Boot] [u-boot-imx/next] WaRP7 & Pico-Pi i.MX7 NOK

2019-10-07 Thread Pierre-Jean Texier
.com/sbabic/u-boot-imx/commit/34f2feb92db6146831bafa696b7b46785c9f6b10 -- Pierre-Jean Texier Embedded Linux Engineer https://koncepto.io ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [PATCH 2/2] usb: ehci-mx6: Do not fail when 'reg' is not found

2021-06-21 Thread Pierre-Jean Texier
on two boards: imx7s-warp and imx6dl-pico-pi. Signed-off-by: Fabio Estevam Thanks for the fix. Successfully tested on two boards: - imx7s-warp, - imx7d-pico-pi Tested-by: Pierre-Jean Texier --- drivers/usb/host/ehci-mx6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

Re: [PATCH 2/2] usb: ehci-mx6: Do not fail when 'reg' is not found

2021-06-21 Thread Pierre-Jean Texier
Fabio, Le 20/06/2021 à 18:28, Fabio Estevam a écrit : Hi Pierre-Jean, On 20/06/2021 13:01, Pierre-Jean Texier wrote: Thanks for the fix. Successfully tested on two boards:  - imx7s-warp,  - imx7d-pico-pi Tested-by: Pierre-Jean Texier Thanks for testing. As you tested on the imx7s-warp

Re: [PATCH v2] Revert "mmc: fsl_esdhc_imx: use VENDORSPEC_FRC_SDCLK_ON to control card clock output"

2021-06-21 Thread Pierre-Jean Texier
-by: Fabio Estevam This commit fixes the issue with the imx7s-warp. Tested-by: Pierre-Jean Texier Thanks, -- Piere-Jean Texier