[PATCH v3 6/7] configs: sandbox: Enable sub command 'env info'

2020-02-12 Thread Patrick Delaunay
Enable support for sub command 'env info' in sandbox with CONFIG_CMD_NVEDIT_INFO. This is aimed primarily at adding unit test. Signed-off-by: Patrick Delaunay Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: - activate env info command in sandbox (new) configs

[PATCH v2 6/7] configs: sandbox: Enable sub command 'env info'

2020-02-10 Thread Patrick Delaunay
Enable support for sub command 'env info' in sandbox with CONFIG_CMD_NVEDIT_INFO. This is aimed primarily at adding unit test. Signed-off-by: Patrick Delaunay --- Changes in v2: - activate env info command in sandbox (new) configs/sandbox64_defconfig| 1 + configs/sandbox_defconfig

[PATCH v5 4/5] configs: sandbox: Enable sub command 'env info'

2020-06-19 Thread Patrick Delaunay
Enable support for sub command 'env info' in sandbox with CONFIG_CMD_NVEDIT_INFO. This is aimed primarily at adding unit test. Signed-off-by: Patrick Delaunay Reviewed-by: Simon Glass --- (no changes since v2) Changes in v2: - activate env info command in sandbox (new) configs

[RESEND PATCH v5 3/4] configs: sandbox: Enable sub command 'env info'

2020-06-19 Thread Patrick Delaunay
Enable support for sub command 'env info' in sandbox with CONFIG_CMD_NVEDIT_INFO. This is aimed primarily at adding unit test. Signed-off-by: Patrick Delaunay Reviewed-by: Simon Glass --- (no changes since v2) Changes in v2: - activate env info command in sandbox (new) configs

[PATCH v4 3/4] configs: sandbox: Enable sub command 'env info'

2020-06-15 Thread Patrick Delaunay
Enable support for sub command 'env info' in sandbox with CONFIG_CMD_NVEDIT_INFO. This is aimed primarily at adding unit test. Signed-off-by: Patrick Delaunay Reviewed-by: Simon Glass --- (no changes since v2) Changes in v2: - activate env info command in sandbox (new) configs

Re: [U-Boot] [PATCH] env: Add CONFIG_ENV_SUPPORT

2019-09-10 Thread Patrick DELAUNAY
Hi, > From: Wolfgang Denk > Sent: samedi 7 septembre 2019 13:52 > > Dear Patrick, > > In message <1567530547-14331-1-git-send-email-patrick.delau...@st.com> you > wrote: > > Add a new flag CONFIG_ENV_SUPPORT to compile all the environment > > features in

[U-Boot] [PATCH 03/14] dfu: prepare the support of multiple interface

2019-09-13 Thread Patrick Delaunay
a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index e9db7f8d66..900a844d15 100644 --- a/drivers/dfu/dfu.c +++ b/drivers/dfu/dfu.c @@ -439,13 +439,12 @@ void dfu_free_entities(void) alt_num_cnt = 0; } -int dfu_config_entities(char *env, char *interface, char *devstr) +int dfu_alt_init(int num, struct

[U-Boot] [RFC PATCH 03/14] dfu: prepare the support of multiple interface

2019-07-19 Thread Patrick Delaunay
a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index eb3a3c6..79a652e 100644 --- a/drivers/dfu/dfu.c +++ b/drivers/dfu/dfu.c @@ -438,13 +438,12 @@ void dfu_free_entities(void) alt_num_cnt = 0; } -int dfu_config_entities(char *env, char *interface, char *devstr) +int dfu_alt_init(int num, struct

[U-Boot] [PATCH v2 04/16] dfu: prepare the support of multiple interface

2019-09-30 Thread Patrick Delaunay
(-) diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index e9db7f8d66..900a844d15 100644 --- a/drivers/dfu/dfu.c +++ b/drivers/dfu/dfu.c @@ -439,13 +439,12 @@ void dfu_free_entities(void) alt_num_cnt = 0; } -int dfu_config_entities(char *env, char *interface, char *devstr) +int

[U-Boot] [PATCH v3 04/15] dfu: prepare the support of multiple interface

2019-10-14 Thread Patrick Delaunay
insertions(+), 12 deletions(-) diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index e9db7f8d66..900a844d15 100644 --- a/drivers/dfu/dfu.c +++ b/drivers/dfu/dfu.c @@ -439,13 +439,12 @@ void dfu_free_entities(void) alt_num_cnt = 0; } -int dfu_config_entities(char *env, char *interface, char

[PATCH v2 9/9] test: sandbox: add test for erase command

2020-06-16 Thread Patrick Delaunay
Add test for the erase command tested on ENV in EXT4. Signed-off-by: Patrick Delaunay --- (no changes since v1) configs/sandbox64_defconfig| 1 + configs/sandbox_defconfig | 1 + configs/sandbox_flattree_defconfig | 1 + configs/sandbox_spl_defconfig | 1 + test/py

Re: [U-Boot] [PATCH 08/25] SPEAr: Add configuration options for spear3xx and spear6xx boards

2012-03-07 Thread Stefan Roese
On Wednesday 07 March 2012 13:03:57 Amit Virdi wrote: From: Vipin KUMAR vipin.ku...@st.com spear3xx and 6xx boards can be compiled in following configurations 1. Environment placed in NAND 2. console on usb device 3. console on usb device with environment placed in NAND Also, renaming

Re: [U-Boot] [v2 0/6] stv0991: enable cadence qspi controller spi flash

2015-06-29 Thread Vikas MANOCHA
vikas.mano...@st.com wrote: Thanks Jagan, -Original Message- From: Jagan Teki [mailto:jt...@openedev.com] Sent: Sunday, June 28, 2015 3:57 AM To: Vikas MANOCHA Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [v2 0/6] stv0991: enable cadence qspi controller spi flash On 25

Re: [U-Boot] [v2 0/6] stv0991: enable cadence qspi controller spi flash

2015-06-29 Thread Jagan Teki
On 30 June 2015 at 00:26, Vikas MANOCHA vikas.mano...@st.com wrote: Hi Jagan, -Original Message- From: Jagan Teki [mailto:jt...@openedev.com] Sent: Monday, June 29, 2015 11:15 AM To: Vikas MANOCHA Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [v2 0/6] stv0991: enable cadence qspi

[U-Boot] [RFC PATCH v3 11/16] cmd: gpt: update write command to support GPT over MTD

2017-02-06 Thread Patrick Delaunay
support gpt write for MTD device > gpt write nand 0 > gpt write nor 0 And verify is not yet supported for MTD device Signed-off-by: Patrick Delaunay <patrick.delau...@st.com> Reviewed-by: Christophe KERELLO <christophe.kere...@st.com> --- Changes in v3: None Changes in v2: Non

[U-Boot] [PATCH v4 11/16] cmd: gpt: update write command to support GPT over MTD

2017-03-15 Thread Patrick Delaunay
support gpt write for MTD device > gpt write nand 0 > gpt write nor 0 And verify is not yet supported for MTD device Signed-off-by: Patrick Delaunay <patrick.delau...@st.com> Reviewed-by: Christophe KERELLO <christophe.kere...@st.com> --- Changes in v4: None Changes in v3:

[U-Boot] [PATCH v5 11/16] cmd: gpt: update write command to support GPT over MTD

2017-04-13 Thread Patrick Delaunay
support gpt write for MTD device > gpt write nand 0 > gpt write nor 0 And verify is not yet supported for MTD device Signed-off-by: Patrick Delaunay <patrick.delau...@st.com> Reviewed-by: Christophe KERELLO <christophe.kere...@st.com> --- Changes in v5: None Changes in v4:

[U-Boot] [PATCH v6 11/18] cmd: gpt: update write command to support GPT over MTD

2017-05-11 Thread Patrick Delaunay
support gpt write for MTD device > gpt write nand 0 > gpt write nor 0 And verify is not yet supported for MTD device Signed-off-by: Patrick Delaunay <patrick.delau...@st.com> Reviewed-by: Christophe KERELLO <christophe.kere...@st.com> Reviewed-by: Simon Glass <s...@chrom

[PATCH v2 6/9] test: environment in ext4

2020-06-16 Thread Patrick Delaunay
env) +c.run_command('host bind 0 %s' % fs_img) + +response = c.run_command('ext4ls host 0:0') + assert 'uboot.env' not in response + +""" env location: ENVL_EXT4 (2) +""" +response = c.run_command('env_loc 2') +assert 'Saving Environment to EXT

[U-Boot] [PATCH resend 5/7] mtd/st_smi: Write to flash in a tight loop

2012-12-05 Thread Vipin Kumar
bytes to be written. Additionally, enable burst mode before this loop so that the controller does not deselect the chip if the transfer is finished. Signed-off-by: Vipin Kumar vipin.ku...@st.com --- drivers/mtd/st_smi.c | 30 +- 1 file changed, 13 insertions(+), 17

[U-Boot] [PATCH v2 5/7] mtd/st_smi: Write to flash in a tight loop

2012-12-06 Thread Vipin Kumar
bytes to be written. Additionally, enable burst mode before this loop so that the controller does not deselect the chip if the transfer is finished. Signed-off-by: Vipin Kumar vipin.ku...@st.com --- drivers/mtd/st_smi.c | 30 +- 1 file changed, 13 insertions(+), 17

[U-Boot] [PATCH] MTD: SPEAr SMI: Add write support for length 4 bytes

2012-05-08 Thread Stefan Roese
Needed for redundant environment for example. Signed-off-by: Stefan Roese s...@denx.de Cc: Amit Virdi amit.vi...@st.com Cc: Vipin Kumar vipin.ku...@st.com --- drivers/mtd/st_smi.c | 22 ++ 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/drivers/mtd/st_smi.c b

[U-Boot] [PATCH v2 1/9] Added README.spear

2010-01-07 Thread Vipin KUMAR
Signed-off-by: Vipin vipin.ku...@st.com --- doc/README.spear | 53 + 1 files changed, 53 insertions(+), 0 deletions(-) create mode 100644 doc/README.spear diff --git a/doc/README.spear b/doc/README.spear new file mode 100644 index 000

[U-Boot] [PATCH v3 01/11] SPEAr : Adding README.spear in doc

2010-01-08 Thread Vipin KUMAR
Signed-off-by: Vipin vipin.ku...@st.com --- doc/README.spear | 53 + 1 files changed, 53 insertions(+), 0 deletions(-) create mode 100644 doc/README.spear diff --git a/doc/README.spear b/doc/README.spear new file mode 100644 index 000

[U-Boot] [PATCH v4 01/12] SPEAr : Adding README.spear in doc

2010-01-11 Thread Vipin KUMAR
README.spear contains information about SPEAr architecture and build options etc Signed-off-by: Vipin vipin.ku...@st.com --- doc/README.spear | 53 + 1 files changed, 53 insertions(+), 0 deletions(-) create mode 100644 doc/README.spear diff

[U-Boot] [PATCH v5 01/12] SPEAr : Adding README.spear in doc

2010-01-15 Thread Vipin KUMAR
README.spear contains information about SPEAr architecture and build options etc Signed-off-by: Vipin vipin.ku...@st.com --- doc/README.spear | 48 1 files changed, 48 insertions(+), 0 deletions(-) create mode 100644 doc/README.spear diff

[U-Boot] [Drivers PATCH 04/19] mtd/st_smi: Write to flash in a tight loop

2012-11-02 Thread Vipin Kumar
bytes to be written. Additionally, enable burst mode before this loop so that the controller does not deselect the chip if the transfer is finished. Signed-off-by: Vipin Kumar vipin.ku...@st.com --- drivers/mtd/st_smi.c | 30 +- 1 file changed, 13 insertions(+), 17

Re: [U-Boot] [PATCH] env: Add CONFIG_ENV_SUPPORT

2019-09-10 Thread Wolfgang Denk
Dear Patrick, In message <9c7801afb8c94c638933cf33746ae...@sfhdag6node3.st.com> you wrote: > > And I agree the name seens not perfect. > > > > - CONFIG_SPL_ENV_SUPPORT for SPL > > > - CONFIG_TPL_ENV_SUPPORT for TPL > > These pre-existing

[U-Boot] [PATCH 5/5] stm32mp1: update README for remoteproc support

2019-08-02 Thread Patrick Delaunay
with the switch SW1 : BOOT0, BOOT1, BOOT2 @@ -358,3 +357,36 @@ on bank 0 to access to internal OTP: 4 check env update STM32MP> print ethaddr ethaddr=12:34:56:78:9a:bc + +10. Coprocessor firmware + + +U-Boot can boot the coprocessor before the ker

[PATCH v5 3/5] cmd: env: check real location for env info command

2020-06-19 Thread Patrick Delaunay
Check the current ENV location, dynamically provided by the weak function env_get_location to be sure that the environment can be persistent. The compilation flag ENV_IS_IN_DEVICE is not enough when the board dynamically select the available storage location (according boot device for example

[RESEND PATCH v5 2/4] cmd: env: check real location for env info command

2020-06-19 Thread Patrick Delaunay
Check the current ENV location, dynamically provided by the weak function env_get_location to be sure that the environment can be persistent. The compilation flag ENV_IS_IN_DEVICE is not enough when the board dynamically select the available storage location (according boot device for example

[PATCH v4 2/4] cmd: env: check real location for env info command

2020-06-15 Thread Patrick Delaunay
Check the current ENV location, dynamically provided by the weak function env_get_location to be sure that the environment can be persistent. The compilation flag ENV_IS_IN_DEVICE is not enough when the board dynamically select the available storage location (according boot device for example

Re: [U-Boot] [PATCH v3] NAND: environment offset in OOB (CONFIG_ENV_OFFSET_OOB)

2010-06-30 Thread Ben Gardiner
On Wed, Jun 30, 2010 at 11:37 PM, Vipin KUMAR vipin.ku...@st.com wrote: Hello Ben, This is a nice idea. I see that the logic needs 8bytes at offset 0 in block 0 oob area. This means that it would also overwrite the offset 5 (which is the bad block marker in case of small page devices

[U-Boot] [PATCH v4 08/12] SPEAr : Support for HW mac id read/write from i2c mem

2010-01-13 Thread Tom
This patch adds the support to read and write mac id from i2c memory. For reading: if (env contains ethaddr) pick env ethaddr else pick ethaddr from i2c memory For writing: chip_config ethaddr XX:XX:XX:XX:XX:XX writes the mac id

[U-Boot] [PATCH] video: add command cls

2018-11-08 Thread Patrick Delaunay
g output (vidconsole) before to display splashscreen with bmp command. Signed-off-by: Patrick Delaunay --- Example of simple splashscreen in DISTRO script: boot.scr.uimg if load ${devtype} ${devnum}:${distro_bootpart} ${splashimage} splash.bmp then env set stdout "serial" env set

Re: [Uboot-stm32] [PATCH 3/3] configs:stm32mp1: activate env config in SPL

2020-04-14 Thread Patrice CHOTARD
Hi On 3/19/20 11:21 AM, Patrick Delaunay wrote: > Activate env config in SPL with CONFIG_SPL_ENV_SUPPORT > and use CONFIG_IS_ENABLED macro to test the activated > CONFIG_$(SPL_)ENV_IS_IN_... in env_get_location. > > Signed-off-by: Patrick Delaunay > --- > > board/st/stm3

RE: [PATCH v4 3/3] env: Add CONFIG_ENV_FULL_SUPPORT

2020-03-18 Thread Patrick DELAUNAY
_IS_SOMEWHERE macro, which tests if the environment is > storage medium. > > Signed-off-by: Patrick Delaunay > --- Hi Tom, I try to solve default environment size issue in patch = http://patchwork.ozlabs.org/patch/1257545/ [RFC RFT PATCH] env: spl: filter the variables in default

[PATCH 3/3] configs:stm32mp1: activate env config in SPL

2020-03-19 Thread Patrick Delaunay
Activate env config in SPL with CONFIG_SPL_ENV_SUPPORT and use CONFIG_IS_ENABLED macro to test the activated CONFIG_$(SPL_)ENV_IS_IN_... in env_get_location. Signed-off-by: Patrick Delaunay --- board/st/stm32mp1/stm32mp1.c | 8 configs/stm32mp15_basic_defconfig | 3 +++ 2 files

Re: [Uboot-stm32] [PATCH 2/4] configs: stm32mp1: enable the fastboot oem command format

2020-10-02 Thread Patrice CHOTARD
oem format */ > +#define PARTS_DEFAULT \ > + "partitions=" \ > + "name=ssbl,size=2M;" \ > + "name=bootfs,size=64MB,bootable;" \ > + "name=vendorfs,size=16M;" \ > + "name=rootfs,size=746M;" \ > + "na

[PATCH 08/11] board: stm32mp1: use IS_ENABLED to prevent ifdef in env functions

2020-07-31 Thread Patrick Delaunay
Use IS_ENABLED to prevent ifdef in env functions: - env_get_location - env_ext4_get_intf - mmc_get_env_dev Signed-off-by: Patrick Delaunay --- board/st/stm32mp1/stm32mp1.c | 36 +--- 1 file changed, 17 insertions(+), 19 deletions(-) diff --git a/board/st

Re: [Uboot-stm32] [PATCH 08/11] board: stm32mp1: use IS_ENABLED to prevent ifdef in env functions

2020-08-13 Thread Patrice CHOTARD
Hi Patrick On 7/31/20 4:31 PM, Patrick Delaunay wrote: > Use IS_ENABLED to prevent ifdef in env functions: > - env_get_location > - env_ext4_get_intf > - mmc_get_env_dev > > Signed-off-by: Patrick Delaunay > --- > > board/st/stm32mp1/stm32mp1.c | 36 ++

Re: [Uboot-stm32] [PATCH 08/11] board: stm32mp1: use IS_ENABLED to prevent ifdef in env functions

2020-08-13 Thread Patrice CHOTARD
On 8/13/20 9:24 AM, Patrice CHOTARD wrote: > Hi Patrick > > On 7/31/20 4:31 PM, Patrick Delaunay wrote: >> Use IS_ENABLED to prevent ifdef in env functions: >> - env_get_location >> - env_ext4_get_intf >> - mmc_get_env_dev >> >> Signed-off-by: Patr

[PATCH v2 3/3] configs:stm32mp1: activate env config in SPL

2020-06-15 Thread Patrick Delaunay
Activate env config in SPL with CONFIG_SPL_ENV_SUPPORT and use CONFIG_IS_ENABLED macro to test the activated CONFIG_$(SPL_)ENV_IS_IN_... in env_get_location. Reviewed-by: Patrice Chotard Signed-off-by: Patrick Delaunay --- (no changes since v1) board/st/stm32mp1/stm32mp1.c | 8

Re: [Uboot-stm32] [PATCH v2 3/3] configs:stm32mp1: activate env config in SPL

2020-07-28 Thread Patrice CHOTARD
On 6/15/20 11:18 AM, Patrick Delaunay wrote: > Activate env config in SPL with CONFIG_SPL_ENV_SUPPORT > and use CONFIG_IS_ENABLED macro to test the activated > CONFIG_$(SPL_)ENV_IS_IN_... in env_get_location. > > Reviewed-by: Patrice Chotard > Signed-off-by

[RFC RFT PATCH] env: spl: filter the variables in default environment of SPL or TPL

2020-03-18 Thread Patrick Delaunay
lt) - list of variables (comma separated) to keept in SPL/TPL (it searches ^= in u-boot-initial-env) - "*" the variables are not filtered Signed-off-by: Patrick Delaunay --- Hi, I propose this patch to reduce the SPL/TPL size when they support the U-Boot environment. But I need feedback, rev

RE: [PATCH 3/5] cmd: env: check real location for env info command

2020-01-27 Thread Patrick DELAUNAY
Hi Wolfgang, > From: Wolfgang Denk > Sent: vendredi 24 janvier 2020 14:17 > > Dear Patrick Delaunay, > > In message > <2020012412.3.I42c79507524e5ad68e85fd60bbd686c4c59523ae@changeid> > you wrote: > > Check the current ENV location, dynamical

[U-Boot] [PATCH v4 08/12] SPEAr : Support for HW mac id read/write from i2c mem

2010-01-11 Thread Vipin KUMAR
This patch adds the support to read and write mac id from i2c memory. For reading: if (env contains ethaddr) pick env ethaddr else pick ethaddr from i2c memory For writing: chip_config ethaddr XX:XX:XX:XX:XX:XX writes the mac id

Re: [U-Boot] [PATCH v3 0/3] env: Add CONFIG_ENV_FULL_SUPPORT

2019-09-26 Thread Patrick DELAUNAY
> http://patchwork.ozlabs.org/project/uboot/list/?series=129339 > > > "env: Add CONFIG_ENV_SUPPORT" > > > > > >The first patch of the serie only solves the regression introduced by > > >commit 7d4776545b0f ("env: solve compilation error in SPL

[RESEND PATCH 06/10] test: environment in ext4

2020-02-12 Thread Patrick Delaunay
se = c.run_command('env_loc 2') +assert 'Loading Environment from EXT4... OK' in response + +response = c.run_command('ext4ls host 0:0') +assert '8192 uboot.env' in response + +response = c.run_command('env info') +assert 'env_valid = valid' in response +assert 'env_ready = tru

[PATCH 06/10] test: environment in ext4

2020-02-12 Thread Patrick Delaunay
se = c.run_command('env_loc 2') +assert 'Loading Environment from EXT4... OK' in response + +response = c.run_command('ext4ls host 0:0') +assert '8192 uboot.env' in response + +response = c.run_command('env info') +assert 'env_valid = valid' in response +assert 'env_ready = tru

RE: [PATCH v2 3/9] env: correctly handle result in env_init

2020-06-24 Thread Patrick DELAUNAY
Patrick Delaunay wrote: > > > > > > > > > > > Don't return error with ret=-ENOENT when the optional ops > > > > > > drv->init is absent but only if env_driver_lookup doesn't found > > > > > > driver. > > > > >

[U-Boot] [PATCH 06/13] env: enable saveenv command when one CONFIG_ENV_IS_IN is activated

2019-05-10 Thread Patrice Chotard
;), #endif -#if defined(CONFIG_CMD_SAVEENV) && !defined(CONFIG_ENV_IS_NOWHERE) +#if defined(CONFIG_CMD_SAVEENV) && defined(ENV_IS_IN_DEVICE) U_BOOT_CMD_MKENT(save, 1, 0, do_env_save, "", ""), #endif U_BOOT_CMD_MKENT(set, CONFIG_SYS_MAXARGS, 0, do_en

[U-Boot] [PATCH 07/14] env: enable saveenv command when one CONFIG_ENV_IS_IN is activated

2019-05-10 Thread Patrice Chotard
;), #endif -#if defined(CONFIG_CMD_SAVEENV) && !defined(CONFIG_ENV_IS_NOWHERE) +#if defined(CONFIG_CMD_SAVEENV) && defined(ENV_IS_IN_DEVICE) U_BOOT_CMD_MKENT(save, 1, 0, do_env_save, "", ""), #endif U_BOOT_CMD_MKENT(set, CONFIG_SYS_MAXARGS, 0, do_en

[U-Boot] [PATCH 08/25] SPEAr: Add configuration options for spear3xx and spear6xx boards

2012-03-07 Thread Amit Virdi
From: Vipin KUMAR vipin.ku...@st.com spear3xx and 6xx boards can be compiled in following configurations 1. Environment placed in NAND 2. console on usb device 3. console on usb device with environment placed in NAND Also, renaming the include/configs/spearxxx.h files to spear3xx_evb.h

[U-Boot] [RFC PATCH v3 14/16] cmd: mtdparts: update command to support GPT over MTD

2017-02-06 Thread Patrick Delaunay
ick Delaunay <patrick.delau...@st.com> Reviewed-by: Christophe KERELLO <christophe.kere...@st.com> --- Changes in v3: None Changes in v2: None cmd/mtdparts.c | 140 - 1 file changed, 139 insertions(+), 1 deletion(-) diff --gi

[U-Boot] [PATCH v4 14/16] cmd: mtdparts: update command to support GPT over MTD

2017-03-15 Thread Patrick Delaunay
ick Delaunay <patrick.delau...@st.com> Reviewed-by: Christophe KERELLO <christophe.kere...@st.com> --- Changes in v4: None Changes in v3: None Changes in v2: None cmd/mtdparts.c | 140 - 1 file changed, 139 insertions(+), 1 delet

[U-Boot] [PATCH v5 14/16] cmd: mtdparts: update command to support GPT over MTD

2017-04-13 Thread Patrick Delaunay
ick Delaunay <patrick.delau...@st.com> Reviewed-by: Christophe KERELLO <christophe.kere...@st.com> --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None cmd/mtdparts.c | 140 - 1 file changed, 139 i

[U-Boot] [PATCH v6 14/18] cmd: mtdparts: update command to support GPT over MTD

2017-05-11 Thread Patrick Delaunay
ick Delaunay <patrick.delau...@st.com> Reviewed-by: Christophe KERELLO <christophe.kere...@st.com> Reviewed-by: Simon Glass <s...@chromium.org> --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v

[U-Boot] [PATCH v3 2/3] env: introduce macro ENV_IS_IN_SOMEWHERE

2019-09-18 Thread Patrick Delaunay
This patch introduce a macro ENV_IS_IN_SOMEWHERE to check if the the environment can be saved somewhere, in a device or in a file system, without assumption on CONFIG$(SPL_TPL_)ENV_IS_NOWHERE. Since the commit 208bd2b85ecc ("env: allow ENV_IS_NOWHERE with other storage target"), is

[U-Boot] [PATCH 2/2] console: execute flush on uart when silent is removed

2019-08-02 Thread Patrice Chotard
From: Patrick Delaunay Avoid to flush buffer when silent console is activated as the console can be reactivate later, after relocation, when the env will be updated with the saved one. Solve issue (missing beginning of U-Boot trace) when: - CONFIG_SILENT_CONSOLE is activated - silent=1

[U-Boot] [PATCH v4 2/3] env: introduce macro ENV_IS_IN_SOMEWHERE

2019-10-03 Thread Patrick Delaunay
This patch introduce a macro ENV_IS_IN_SOMEWHERE to check if the the environment can be saved somewhere, in a storage medium, without assumption on CONFIG$(SPL_TPL_)ENV_IS_NOWHERE. Since the commit 208bd2b85ecc ("env: allow ENV_IS_NOWHERE with other storage target"), it is allowed to

[U-Boot] [v2 0/6] stv0991: enable cadence qspi controller spi flash

2015-06-24 Thread Vikas Manocha
This patchset enables cadence qspi controller for stv0991 soc, saves environment in spi flash moves CONFIG_OF in the defconfig file. In fact it clubs two patchsets submitted earlier: - [PATCH 0/3] stv0991: enable cadence qspi controller spi flash - [PATCH 0/3] stv0991: spi env configs related

[U-Boot] [PATCH 01/19] stm32mp1: add runtime information in environment

2019-02-27 Thread Patrick Delaunay
Set board name with the first dts compatible found in DT code under CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG The result with DEVICE_TREE=stm32mp157c-ev1 is: STM32MP> env print board=stm32mp1 board_name=stm32mp157c-ev1 Signed-off-by: Patrick Delaunay --- arch/arm/Kcon

[U-Boot] [PATCH 13/14] configs: stm32mp15: Enable ENV_IS_SPI_FLASH

2019-05-10 Thread Patrice Chotard
CONFIG_CMDLINE_TAG #define CONFIG_SETUP_MEMORY_TAGS @@ -119,7 +124,7 @@ #endif #define STM32MP_MTDPARTS \ - "mtdparts_nor0=256k(fsbl1),256k(fsbl2),2m(ssbl),-(nor_user)\0" \ + "mtdparts_nor0=256k(fsbl1),256k(fsbl2),2m(ssbl),256k(u-boot-env),

[U-Boot] [PATCH 12/13] configs: stm32mp15: Enable ENV_IS_SPI_FLASH

2019-05-10 Thread Patrice Chotard
CONFIG_CMDLINE_TAG #define CONFIG_SETUP_MEMORY_TAGS @@ -119,7 +124,7 @@ #endif #define STM32MP_MTDPARTS \ - "mtdparts_nor0=256k(fsbl1),256k(fsbl2),2m(ssbl),-(nor_user)\0" \ + "mtdparts_nor0=256k(fsbl1),256k(fsbl2),2m(ssbl),256k(u-boot-env),

[U-Boot] [PATCH 1/3] stm32mp1: reorder some CONFIG in stm32mp1.h

2019-07-02 Thread Patrick Delaunay
- #define STM32MP_MTDPARTS \ "mtdparts_nor0=256k(fsbl1),256k(fsbl2),2m(ssbl),256k(u-boot-env),-(nor_user)\0" \ "mtdparts_nand0=2m(fsbl),2m(ssbl1),2m(ssbl2),-(UBI)\0" +#ifndef CONFIG_SYS_MTDPARTS_RUNTIME +#undef STM32MP_MTDPARTS +#define STM32MP_MTDPARTS +

[U-Boot] [PATCH 01/14] dfu: cosmetic: cleanup sf to avoid checkpatch error

2019-09-13 Thread Patrick Delaunay
@@ -478,14 +478,15 @@ int dfu_config_entities(char *env, char *interface, char *devstr) const char *dfu_get_dev_type(enum dfu_device_type t) { - const char *dev_t[] = {NULL, "eMMC", "OneNAND", "NAND", "RAM", "SF" }; + const char *cons

Re: [U-Boot] [PATCH] env: Add CONFIG_ENV_SUPPORT

2019-09-07 Thread Wolfgang Denk
Dear Patrick, In message <1567530547-14331-1-git-send-email-patrick.delau...@st.com> you wrote: > Add a new flag CONFIG_ENV_SUPPORT to compile all > the environment features in U-Boot (attributes, callbacks > and flags). It is the equivalent of the 2 existing flags I think thi

[U-Boot] [RFC PATCH 01/14] dfu: cosmetic: cleanup sf to avoid checkpatch error

2019-07-19 Thread Patrick Delaunay
+477,15 @@ int dfu_config_entities(char *env, char *interface, char *devstr) const char *dfu_get_dev_type(enum dfu_device_type t) { - const char *dev_t[] = {NULL, "eMMC", "OneNAND", "NAND", "RAM", "SF" }; + const char *cons

[U-Boot] [PATCH v2 01/16] dfu: cosmetic: cleanup sf to avoid checkpatch error

2019-09-30 Thread Patrick Delaunay
--- a/drivers/dfu/dfu.c +++ b/drivers/dfu/dfu.c @@ -478,14 +478,15 @@ int dfu_config_entities(char *env, char *interface, char *devstr) const char *dfu_get_dev_type(enum dfu_device_type t) { - const char *dev_t[] = {NULL, "eMMC", "OneNAND", "NAND", "RAM",

[U-Boot] [PATCH v3 01/15] dfu: cosmetic: cleanup sf to avoid checkpatch error

2019-10-14 Thread Patrick Delaunay
..e9db7f8d66 100644 --- a/drivers/dfu/dfu.c +++ b/drivers/dfu/dfu.c @@ -478,14 +478,15 @@ int dfu_config_entities(char *env, char *interface, char *devstr) const char *dfu_get_dev_type(enum dfu_device_type t) { - const char *dev_t[] = {NULL, "eMMC", "OneNAND", "NAND"

RE: [PATCH v2 6/9] test: environment in ext4

2020-06-23 Thread Patrick DELAUNAY
t_env): > > + > > +c = state_test_env.u_boot_console > > Nit: That blank line is a bit odd. OK > > +fs_img = mk_env_ext4(state_test_env) > > +c.run_command('host bind 0 %s' % fs_img) > > + > > +response = c.run_command('ext4ls host 0:0') > >

[U-Boot] [PATCH V2 RESEND 08/24] SPEAr: Add configuration options for spear3xx and spear6xx boards

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR vipin.ku...@st.com This patch adds options for all the below mentioned configurations and subsequently renames the include/configs/spearxxx.h files to spear3xx_evb.h, spear6xx_evb.h etc to depict evaluation board configuration. SPEAr3xx and SPEAr6xx boards can be compiled

[U-Boot] [PATCH V2 08/24] SPEAr: Add configuration options for spear3xx and spear6xx boards

2012-03-30 Thread Amit Virdi
From: Vipin KUMAR vipin.ku...@st.com This patch adds options for all the below mentioned configurations and subsequently renames the include/configs/spearxxx.h files to spear3xx_evb.h, spear6xx_evb.h etc to depict evaluation board configuration. SPEAr3xx and SPEAr6xx boards can be compiled

[U-Boot] [PATCH 17/17] SPEAr : Supporting various configurations for spear3xx and spear6xx boards

2010-04-21 Thread Vipin KUMAR
spear3xx and 6xx boards can be compiled in following configurations 1. Environment placed in NAND 2. console on usb device 3. console on usb device with environment placed in NAND Signed-off-by: Vipin Kumar vipin.ku...@st.com --- Makefile | 16 ++-- board

[U-Boot] [PATCH v2 17/17] SPEAr : Supporting various configurations for spear3xx and spear6xx boards

2010-04-25 Thread Vipin KUMAR
spear3xx and 6xx boards can be compiled in following configurations 1. Environment placed in NAND 2. console on usb device 3. console on usb device with environment placed in NAND Signed-off-by: Vipin Kumar vipin.ku...@st.com --- Makefile | 16 ++-- board

Re: [U-Boot] [PATCH v2 17/17] SPEAr : Supporting various configurations for spear3xx and spear6xx boards

2010-05-03 Thread Vipin KUMAR
. Would be done in patch v3 Signed-off-by: Vipin Kumar vipin.ku...@st.com --- Makefile | 16 ++-- board/spear/spear300/config.mk | 11 --- board/spear/spear310/config.mk | 11 --- board/spear/spear320/config.mk | 11 --- board

Re: [U-Boot] [PATCH v5 08/12] SPEAr : Support for HW mac id read/write from i2c mem

2010-01-17 Thread Vipin KUMAR
variables, i.e. existing variable definitions must not be overwritten. Coming back to the code if (!eth_getenv_enetaddr(ethaddr, mac_id) !i2c_read_mac(mac_id)) eth_setenv_enetaddr(ethaddr, mac_id); first I read the env variable ethaddr and skip setting it if it already exists then I read mac

[U-Boot] [PATCH v4 0/1] Read default speed and mode values from DT

2019-02-27 Thread Patrick Delaunay
d spi_get_bus_and_cs() callers to force value of parameter speed to 0 for some board (without DT node) and regression for other board (as i was the case in my previous Series V2). I see this kind of problem in file env/sf.c with first commit 96907c0fe50a ("dm: spi: Read default speed and mode

[U-Boot] [PATCH v3 0/1] Read default speed and mode values from DT

2019-01-28 Thread Patrick Delaunay
;) This patch avoid spi_get_bus_and_cs() callers to force value of parameter speed to 0 for some board (without DT node) and regression for other board (as i was the case in my previous Series V2). I see this kind of problem in file env/sf.c with first commit 96907c0fe50a ("dm: spi: Read default spee

Re: [U-Boot] [Uboot-stm32] [PATCH v2 03/16] dfu: sf: add partition support for nor backend

2019-10-11 Thread Patrick DELAUNAY
mandatory for UBI. > > > > for example: > > > > U-Boot> env set dfu_alt_info "spl part 0 1;\ > > u-boot part 0 2;u-boot-env part 0 3;UBI partubi 0 4" > > U-Boot> dfu 0 sf 0:0:1000:0 > > > > Acked-by: Lukasz Majewski > >

[PATCH v3 09/14] configs: sandbox: activate env in ext4 support

2020-06-25 Thread Patrick Delaunay
Activate ENV in EXT4 support in sandbox. The sandbox behavior don't change; the default environment with the nowhere backend (CONFIG_ENV_IS_NOWHERE)is still used: the weak function env_get_location() return ENVL_NOWHERE for priority 0. Signed-off-by: Patrick Delaunay --- Changes in v3

[PATCH v4 09/14] configs: sandbox: activate env in ext4 support

2020-07-28 Thread Patrick Delaunay
Activate ENV in EXT4 support in sandbox. The sandbox behavior don't change; the default environment with the nowhere backend (CONFIG_ENV_IS_NOWHERE)is still used: the weak function env_get_location() return ENVL_NOWHERE for priority 0. Signed-off-by: Patrick Delaunay --- (no changes since v3

Re: [U-Boot] [PATCH v4] imls: Add support to list images in NAND device

2013-02-19 Thread Vipin Kumar
On 2/20/2013 6:45 AM, Scott Wood wrote: On 12/17/2012 02:32:48 AM, Vipin Kumar wrote: This patch adds support to list images in NAND flash through imls Signed-off-by: Vipin Kumarvipin.ku...@st.com --- Changes in v4 - Keep stdout dumps in one line - Continue even after read errors for all

Re: [U-Boot] [v2 0/6] stv0991: enable cadence qspi controller spi flash

2015-06-29 Thread Vikas MANOCHA
vikas.mano...@st.com wrote: This patchset enables cadence qspi controller for stv0991 soc, saves environment in spi flash moves CONFIG_OF in the defconfig file. In fact it clubs two patchsets submitted earlier: - [PATCH 0/3] stv0991: enable cadence qspi controller spi flash - [PATCH 0

Re: [U-Boot] [v2 0/6] stv0991: enable cadence qspi controller spi flash

2015-06-29 Thread Jagan Teki
On 29 June 2015 at 23:14, Vikas MANOCHA vikas.mano...@st.com wrote: Thanks Jagan, -Original Message- From: Jagan Teki [mailto:jt...@openedev.com] Sent: Sunday, June 28, 2015 3:57 AM To: Vikas MANOCHA Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] [v2 0/6] stv0991: enable cadence

[U-Boot] [PATCH 4/4] stm32mp1: select boot device and partition

2018-03-20 Thread Patrick Delaunay
device and boot_instance, with preboot command, to search the bootable partition with kernel on this device (generic distro support). Signed-off-by: Patrick Delaunay <patrick.delau...@st.com> --- arch/arm/mach-stm32mp/Kconfig | 8 arch/arm/mach-stm32mp/spl.c | 30 +++

Re: [U-Boot] [PATCH] env: Add CONFIG_ENV_SUPPORT

2019-09-10 Thread Tom Rini
On Tue, Sep 10, 2019 at 11:01:18AM +, Patrick DELAUNAY wrote: > Hi, > > > From: Wolfgang Denk > > Sent: samedi 7 septembre 2019 13:52 > > > > Dear Patrick, > > > > In message <1567530547-14331-1-git-send-email-patrick.delau...@st.com> you &g

[U-Boot] [PATCH v2 5/9] SPEAr320 SoC support added

2010-01-07 Thread Vipin KUMAR
Signed-off-by: Vipin vipin.ku...@st.com --- MAKEALL |1 + Makefile|1 + board/spear/spear320/Makefile | 52 +++ board/spear/spear320/config.mk | 41 +++ board/spear/spear320

[U-Boot] [PATCH v4 11/12] SPEAr : Support added for SPEAr310 board

2010-01-11 Thread Vipin KUMAR
SPEAr310 SoC support contains basic spear310 support along with the usage of following drivers - serial driver(UART) - i2c driver - smi driver - nand driver(FSMC) - usbd driver - emi driver(cfi support) Signed-off-by: Vipin vipin.ku...@st.com --- MAKEALL |1

[U-Boot] [PATCH v4 12/12] SPEAr : Support added for SPEAr320 board

2010-01-11 Thread Vipin KUMAR
SPEAr320 SoC support contains basic spear320 support along with the usage of following drivers - serial driver(UART) - i2c driver - smi driver - nand driver(FSMC) - usbd driver - emi driver(cfi support) Signed-off-by: Vipin vipin.ku...@st.com --- MAKEALL |1

[U-Boot] [PATCH v5 12/12] SPEAr : Support added for SPEAr320 board

2010-01-15 Thread Vipin KUMAR
SPEAr320 SoC support contains basic spear320 support along with the usage of following drivers - serial driver(UART) - i2c driver - smi driver - nand driver(FSMC) - usbd driver - emi driver(cfi support) Signed-off-by: Vipin vipin.ku...@st.com --- MAKEALL |1

[U-Boot] [PATCH v5 09/12] SPEAr : Support added for SPEAr300 board

2010-01-15 Thread Vipin KUMAR
SPEAr300 SoC support contains basic spear300 support along with the usage of following drivers - serial driver(UART) - i2c driver - smi driver - nand driver(FSMC) - usbd driver Signed-off-by: Vipin vipin.ku...@st.com --- MAKEALL |1 + Makefile

[U-Boot] [PATCH v5 11/12] SPEAr : Support added for SPEAr310 board

2010-01-15 Thread Vipin KUMAR
SPEAr310 SoC support contains basic spear310 support along with the usage of following drivers - serial driver(UART) - i2c driver - smi driver - nand driver(FSMC) - usbd driver - emi driver(cfi support) Signed-off-by: Vipin vipin.ku...@st.com --- MAKEALL |1

[U-Boot] [PATCH v5 14/18] SPEAr : Supporting various configurations for spear3xx and spear6xx boards

2010-06-28 Thread Vipin KUMAR
From: Vipin KUMAR vipin.ku...@st.com spear3xx and 6xx boards can be compiled in following configurations 1. Environment placed in NAND 2. console on usb device 3. console on usb device with environment placed in NAND Also, renaming the include/configs/spearxxx.h files to spear3xx_evb.h

[U-Boot] [PATCH 13/28] SPEAr : Supporting various configurations for spear3xx and spear6xx boards

2010-07-13 Thread Vipin KUMAR
From: Vipin KUMAR vipin.ku...@st.com spear3xx and 6xx boards can be compiled in following configurations 1. Environment placed in NAND 2. console on usb device 3. console on usb device with environment placed in NAND Also, renaming the include/configs/spearxxx.h files to spear3xx_evb.h

Re: [U-Boot] [PATCH] stm32mp1: configs: fix checking the presence of an environment

2019-11-05 Thread Patrick DELAUNAY
ot > > <mailto:u-boot-boun...@lists.denx.de> On > > Behalf Of Bartosz Bilas > > Sent: dimanche 27 octobre 2019 15:46 > > To: u-boot@lists.denx.de<mailto:u-boot@lists.denx.de> > > Subject: [U-Boot] [PATCH] stm32mp1: configs: fix checking the presence >

[U-Boot] [PATCH 08/19] stm32mp1: update bootcmd

2019-02-27 Thread Patrick Delaunay
instance}; " \ + "else " \ + "if test ${boot_device} = mmc;" \ + "then env set boot_targets \"mmc${boot_instance}\"; fi;" \ + "if test ${boot_device} = nand;" \ + "then env set boot_ta

Re: [Uboot-stm32] [PATCH v2 2/3] stm32mp1: use a specific SD/eMMC partition for U-Boot enviromnent

2020-07-28 Thread Patrice CHOTARD
hey are not > supported by U-Boot. > > Reviewed-by: Patrice Chotard > Signed-off-by: Patrick Delaunay > --- > > Changes in v2: > - remove impact on avenger96 board as ENV is saved in NOR for DHCOR SOM > (CONFIG_ENV_IS_IN_SPI_FLASH in stm32mp15_dhcor_basic_defconfig) >

RE: [PATCH v2 3/9] env: correctly handle result in env_init

2020-06-23 Thread Patrick DELAUNAY
tch correct an issue for the code > > > > if (!env_init()) > > > > env_load() > > > > When only ext4 is supported (CONFIG_ENV_IS_IN_EXT4), as the > > > > backend env/ext4.c doesn't define an ops .init > > > > > > > > Signed-off

<    1   2   3   4   5   >