Append an environment variable: 'env append'

2020-03-17 Thread Palacios, Hector
Hello, You can append a string to an existing variable with: => env set var ${var} anotherval but I was wondering if it would be interesting to have an explicit 'append' subcommand that facilitates this: => env append var anotherval I would find it useful for variables that

Re: [U-Boot] Very slow mtest on i.MX6UL over dual-die DDR3 (two chip selects)

2017-05-18 Thread Palacios, Hector
Hi Fabio, On Thu, 18 May 2017 17:52, Fabio Estevam wrote: > I got very slow performance with MX6UL when U-Boot is loaded via > serial download mode. That's it, actually! I was booting the target via USB, booting from the NAND shows normal performance. > This gets fixed by setting the SMP bit:

Re: [U-Boot] Very slow mtest on i.MX6UL over dual-die DDR3 (two chip selects)

2017-05-17 Thread Palacios, Hector
Hi Fabio, On Wed, 17 May 2017 00:34, Fabio Estevam wrote: > Hi Hector, > > On Tue, May 16, 2017 at 1:15 PM, Palacios, Hector > <hector.palac...@digi.com> wrote: >> Greetings, >> >> I'm adding support to a 1GiB DDR3 chip that internally has two dies. I

[U-Boot] Very slow mtest on i.MX6UL over dual-die DDR3 (two chip selects)

2017-05-16 Thread Palacios, Hector
Greetings, I'm adding support to a 1GiB DDR3 chip that internally has two dies. I have configured the i.MX6UL memory controller for using two chip selects and assigned 512MiB to each. Although the RAM seems to work fine I'm experiencing extremely slow performance compared to a similar 1GiB

[U-Boot] Linker script u-boot.lds makes u-boot ELF not load with debugger

2016-05-18 Thread Palacios, Hector
Hi, I'm loading U-Boot to an i.MX6Q platform using ARM DSTREAM debugger and after running the DDR initialization script it fails to load the u-boot ELF binary complaining with: loadfile "/home/hpalacio/git/u-boot-denx/u-boot" ERROR(CMD16-TAD11-NAL18): ! Failed to load "u-boot" ! Failed to

Re: [U-Boot] mmc erase fails from U-Boot command line

2015-11-13 Thread Palacios, Hector
Hi Fabio, On Thu, 12 Nov 2015 21:56, Fabio Estevam wrote: > Hi Hector and Cliff, > > On Mon, Oct 19, 2015 at 9:06 AM, Hector Palacios > wrote: > >> This issue is reproducible on Freescale's SABRESD on both SD card and eMMC >> with v2015.04. The >> issue has been

[U-Boot] GUID/UUID string representation

2015-07-30 Thread Palacios, Hector
Hello, Commit d718ded056eefb6239bd2e0a57b7f6d99c6e9e4b introduced translation of UUID binary data to GUID string representation. So, for example, if I use the 'gpt' command to create a partition table and pass a 'uuid' parameter like this: = gpt write mmc 0

Re: [U-Boot] mmc erase command fails with DAT0 timeout on eMMC on iMX6 board

2015-06-08 Thread Palacios, Hector
Hello Fabio, On Sun, Jun 7, 2015 at 19:23, Fabio Estevam wrote: Hi Hector, On Thu, Jun 4, 2015 at 8:23 AM, Palacios, Hector wrote: Hello, I can see the command 'mmc erase blk# cnt' fails with a DAT0 timeout on iMX6 boards when run over the eMMC. = mmc dev 2 = mmc erase 4000 1000 MMC

[U-Boot] mmc erase command fails with DAT0 timeout on eMMC on iMX6 board

2015-06-04 Thread Palacios, Hector
Hello, I can see the command 'mmc erase blk# cnt' fails with a DAT0 timeout on iMX6 boards when run over the eMMC. = mmc dev 2 = mmc erase 4000 1000 MMC erase: dev # 2, block # 16384, count 4096 ... Timeout waiting for DAT0 to go high! mmc erase failed 0 blocks erase: ERROR I reproduced it

[U-Boot] i.MX6 boot mode on SRC_SBMR1

2015-05-11 Thread Palacios, Hector
Hello Troy, Code comments on commit 124a06d7fbbf82f47304d499418460312a725ad6 for forcing the boot mode say: +/* + * cfg_val will be used for + * Boot_cfg4[7:0]:Boot_cfg3[7:0]:Boot_cfg2[7:0]:Boot_cfg1[7:0] + * After reset, if GPR10[28] is 1, ROM will copy GPR9[25:0] + * to SBMR1, which will

Re: [U-Boot] [PATCH] part_efi: fix protective_mbr struct allocation

2014-02-19 Thread Palacios, Hector
On 02/19/2014 11:16 AM, Albert ARIBAUD wrote: On Wed, 19 Feb 2014 11:08:03 +0100, Albert ARIBAUD Thanks for pointing out. Now it is perfectly visible :-) Inclusion of v2 has been postponed since there was a discussion if we shall allow unaligned access (-mno-unaligned-access flag) at armv7

Re: [U-Boot] [PATCH] part_efi: fix protective_mbr struct allocation

2014-02-12 Thread Palacios, Hector
Hi Lukasz, On 02/12/2014 04:56 PM, Lukasz Majewski wrote: Hi Hector, The calloc() call was allocating space for the sizeof the struct pointer rather than for the struct contents. Signed-off-by: Hector Palacios hector.palac...@digi.com --- disk/part_efi.c | 2 +- 1 file changed, 1

Re: [U-Boot] [PATCH] part_efi: fix protective_mbr struct allocation

2014-02-12 Thread Palacios, Hector
Hi Albert, On 02/12/2014 05:31 PM, Albert ARIBAUD wrote: Hi Hector, On Wed, 12 Feb 2014 17:24:26 +0100, Palacios, Hector hector.palac...@digi.com wrote: Unfortunately this is causing unaligned access in my i.MX6. I'm specifically passing the -mno-unaligned-access when building this file

Re: [U-Boot] [PATCH v3 1/2] env_mmc: make board configurable the partition for the environment

2014-02-07 Thread Palacios, Hector
Hi Antoniou, On 02/07/2014 05:26 PM, Pantelis Antoniou wrote: Hi Hector, On Jan 23, 2014, at 2:39 PM, Hector Palacios wrote: This complements commit 9404a5fc7cb58 env_mmc: allow environment to be in an eMMC partition by allowing boards to accommodate the partition to use for the