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
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
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
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
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
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
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
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
(-)
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
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
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
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
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
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
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
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:
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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
_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
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
oem format */
> +#define PARTS_DEFAULT \
> + "partitions=" \
> + "name=ssbl,size=2M;" \
> + "name=bootfs,size=64MB,bootable;" \
> + "name=vendorfs,size=16M;" \
> + "name=rootfs,size=746M;" \
> + "na
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
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 ++
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
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
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
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
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
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
> 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
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
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
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.
> > > > >
;),
#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
;),
#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
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
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
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
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
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
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
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
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
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
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
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),
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),
-
#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
+
@@ -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
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
+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
--- 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",
..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"
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')
> >
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
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
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
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
. 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
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
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
;)
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
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
> >
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
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
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
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
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
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 +++
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
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
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
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
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
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
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
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
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
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
>
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
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)
>
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
201 - 300 of 441 matches
Mail list logo