[U-Boot] [RFC] net: macb: using AT91FAMILY replace #defined

2013-03-13 Thread Bo Shen
Using CONFIG_AT91FAMILY replace many #defined for atmel SoC Signed-off-by: Bo Shen --- drivers/net/macb.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 8bacbda..753fb96 100644 --- a/drivers/net/macb.c +++ b/drivers/

Re: [U-Boot] [PATCH v3] integrator: pass a Device Tree by default

2013-03-13 Thread Wolfgang Denk
Dear Linus Walleij, In message <1363156087-23881-1-git-send-email-linus.wall...@linaro.org> you wrote: > This, enabled the FDT library for the Integrators, updates > the Integrator/CP default command to load and pass a Device > Tree when booting the kernel from the on-board ethernet, > define sam

Re: [U-Boot] [PATCH] power: twl6035: cleanup register access API

2013-03-13 Thread Balaji T K
Hi, On Wednesday 13 March 2013 02:09 AM, Nishanth Menon wrote: commit 21144298 (power: twl6035: add palmas PMIC support) introduced twl6035_i2c_[read|write]_u8 Then, commit dd23e59d (omap5: pbias ldo9 turn on) introduced palmas_[read|write]_u8 for precisely the same access function. TWL6035 belo

Re: [U-Boot] [PATCH v9 15/30] autoconfig.mk: Make it possible to define configs from other configs

2013-03-13 Thread Stefano Babic
On 08/03/2013 15:54, Fabio Estevam wrote: > On Fri, Mar 8, 2013 at 11:40 AM, Tom Rini wrote: > >> I think the giant list from Benoit got lost. It's a HUGE thing to >> change. I think we should just accept that config variables are mixed >> case, or at least not block this patch on a very large

Re: [U-Boot] [PATCH V3] Add Boundary Devices Nitrogen6X boards

2013-03-13 Thread Stefano Babic
On 11/03/2013 19:44, Eric Nelson wrote: > Signed-off-by: Eric Nelson > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Mun

Re: [U-Boot] [PATCH v3 1/3] mx6qsabresd: Fix card detection for invalid card id case

2013-03-13 Thread Stefano Babic
On 06/03/2013 16:46, Otavio Salvador wrote: > This changes the code so in case an unkown value is passed it will > return as invalid. > > Signed-off-by: Otavio Salvador > --- Hi Otavio, > Changes in v3: None > Changes in v2: > - Rework code to use a 'ret' variable (Fabio) > > board/freescale/

Re: [U-Boot] [PATCH v2] mxs: spl_mem_init: Align DDR2 init with FSL bootlets source

2013-03-13 Thread Stefano Babic
On 28/02/2013 23:59, Fabio Estevam wrote: > From: Fabio Estevam > > Currently the following kernel hang happens when loading a 2.6.35 kernel from > Freeescale on a mx28evk board: > > RPC: Registered tcp transport module. > RPC: Registered tcp NFSv4.1 backchannel transport module. > Bus freq driv

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

2013-03-13 Thread Stefano Babic
Hi Albert, please pull from u-boot-imx, thanks. A question about the patch "ARM: implement some Cortex-A9 errata workarounds" http://patchwork.ozlabs.org/patch/223419/ I read the general agreement about it, and I have applied 2/3, because this is i.MX-related. However, the effect is wort

Re: [U-Boot] [PATCH v9 0/31] Create generic board init for ARM, x86, PPC

2013-03-13 Thread Wolfgang Denk
Dear Simon Glass, In message <1363020460-14307-1-git-send-email-...@chromium.org> you wrote: > This series creates a generic board init implementation which contains > the essential functions of the major arch/xxx/lib/board.c files. It is > split into two parts: board_f.c for pre-relocation and bo

[U-Boot] TFTP pause and timeout on MX28 platforms

2013-03-13 Thread Hector Palacios
Hello, When doing large TFTP downloads (files bigger than 10MiB) on my MX28 platform I'm sometimes experiencing pauses and timeouts. U-Boot will eventually restart the transmission and sometimes may successfully complete the download, but other times it won't. On my platform it was somewhat mi

Re: [U-Boot] [PATCH v3] integrator: pass a Device Tree by default

2013-03-13 Thread Linus Walleij
On Wed, Mar 13, 2013 at 8:14 AM, Wolfgang Denk wrote: >> -#define CONFIG_SYS_LOAD_ADDR 0x7fc0 /* default load address */ >> +#define CONFIG_SYS_LOAD_ADDR 0x800 /* default load address */ > > This appears to be an unrelated change. It should be clearly > documented, especially

Re: [U-Boot] C99 and dynamic arrays

2013-03-13 Thread Simon Glass
Hi Tom, On Tue, Mar 12, 2013 at 4:48 PM, Tom Rini wrote: > On Tue, Mar 12, 2013 at 7:22 PM, Simon Glass wrote: >> Hi, >> >> Given that we seem to allow C99 features in U-Boot I wonder if it >> would be OK to use dynamic arrays in SPL? >> >> I am trying to replace: >> >> ptr = malloc(size); >> >>

Re: [U-Boot] TFTP pause and timeout on MX28 platforms

2013-03-13 Thread Marek Vasut
Dear Hector Palacios, > Hello, > > When doing large TFTP downloads (files bigger than 10MiB) on my MX28 > platform I'm sometimes experiencing pauses and timeouts. U-Boot will > eventually restart the transmission and sometimes may successfully > complete the download, but other times it won't. >

Re: [U-Boot] [PATCH v5] Introduced btrfs file-system with btrload command

2013-03-13 Thread Adnan Ali
On 12/03/13 22:37, Simon Glass wrote: Hi Adnan, On Tue, Mar 12, 2013 at 7:53 AM, Adnan Ali wrote: Hi On 12/03/13 14:15, Simon Glass wrote: Hi Adnan, On Mon, Mar 11, 2013 at 6:18 AM, Adnan Ali wrote: Introduces btrfs file-system to read file from volume/sub-volumes with btrload command. T

[U-Boot] [PATCH v6] Addition of btrfs file-system in u-boot

2013-03-13 Thread Adnan Ali
Adnan Ali (1): Introduced btrfs file-system with btrload command Makefile |1 + common/Makefile|1 + common/cmd_btr.c | 65 +++ fs/btrfs/Makefile | 51 ++ fs/btrfs/btrfs.c | 1355

[U-Boot] [PATCH v6] Introduced btrfs file-system with btrload command

2013-03-13 Thread Adnan Ali
Introduces btrfs file-system to read file from volume/sub-volumes with btrload command. This implementation has read-only support. This btrfs implementation is based on syslinux btrfs code, commit 269ebc845ebc8b46ef4b0be7fa0005c7fdb95b8d. v6: patch re-formated. v5: merged with master. v4:

[U-Boot] [PATCH RESEND] mpc85xx: Fix a compiler warning when CONFIG_WATCHDOG is turned on

2013-03-13 Thread Horst Kronstorfer
cpu.c:288:2: warning: implicit declaration of function 'reset_85xx_watchdog' [-Wimplicit-function-declaration] Signed-off-by: Horst Kronstorfer --- arch/powerpc/cpu/mpc85xx/cpu.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/cpu.c b

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

2013-03-13 Thread Albert ARIBAUD
Hi Stefano, On Wed, 13 Mar 2013 09:43:46 +0100, Stefano Babic wrote: > Hi Albert, > > please pull from u-boot-imx, thanks. A question about the patch "ARM: > implement some Cortex-A9 errata workarounds" > > http://patchwork.ozlabs.org/patch/223419/ > > I read the general agreement about

[U-Boot] [PATCH v3] Add initial support for Wandboard dual lite and solo.

2013-03-13 Thread Fabio Estevam
From: Fabio Estevam Add initial support for Wandboard. Wandboard is a development board that has two variants: one version based on mx6 dual lite and another one based on mx6 solo. For details on the features of Wandboard, please refer to: http://www.wandboard.org/ Signed-off-by: Fabio Estevam

Re: [U-Boot] [PATCH] power: twl6035: cleanup register access API

2013-03-13 Thread Nishanth Menon
On 12:24-20130313, Balaji T K wrote: > Hi, > > On Wednesday 13 March 2013 02:09 AM, Nishanth Menon wrote: > >commit 21144298 (power: twl6035: add palmas PMIC support) > >introduced twl6035_i2c_[read|write]_u8 > >Then, commit dd23e59d (omap5: pbias ldo9 turn on) >

Re: [U-Boot] [PATCH v9 15/30] autoconfig.mk: Make it possible to define configs from other configs

2013-03-13 Thread Benoît Thébaudeau
Hi Stefano, On Wednesday, March 13, 2013 9:01:47 AM, Stefano Babic wrote: > On 08/03/2013 15:54, Fabio Estevam wrote: > > On Fri, Mar 8, 2013 at 11:40 AM, Tom Rini wrote: > > > >> I think the giant list from Benoit got lost. It's a HUGE thing to > >> change. I think we should just accept that

Re: [U-Boot] [PATCH 01/13] video: exynos_fb: Remove callbacks from the driver

2013-03-13 Thread Ajay kumar
Hi Simon, The idea was to move out panel_info structure from board files, and passing the same info from the device tree. The first obstacle towards this were the callback hooks in the panel_info structure. This is just a workaround for such function pointers. Regards, Ajay Kumar On Wed, Mar 13,

Re: [U-Boot] [PATCH v9 15/30] autoconfig.mk: Make it possible to define configs from other configs

2013-03-13 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/13/2013 09:35 AM, Benoît Thébaudeau wrote: > Hi Stefano, > > On Wednesday, March 13, 2013 9:01:47 AM, Stefano Babic wrote: >> On 08/03/2013 15:54, Fabio Estevam wrote: >>> On Fri, Mar 8, 2013 at 11:40 AM, Tom Rini >>> wrote: >>> I think t

Re: [U-Boot] [PATCH v2] mxs: spl_mem_init: Align DDR2 init with FSL bootlets source

2013-03-13 Thread Fabio Estevam
Hi Stefano, On Wed, Mar 13, 2013 at 5:16 AM, Stefano Babic wrote: > Apart of the fact that fixes booting old kernel, these changes affects > all mx28 boards, not only mx28evk. Can we have a description about which > changes are done and why they are required ? > > Else to be accepted we need at

[U-Boot] [PATCH v2 0/3] am335x_evm: Switch to DT boot, add another platform

2013-03-13 Thread Tom Rini
The following is an update to Koen Kooi's original series that updates support for the next beaglebone platform and switches to DT booting as the default. I want to spell out that part of the changes I've done here are adding two variables to make it easier to control where we load our kernel/dtb

[U-Boot] [PATCH v2 1/3] am335x_evm: add support for BeagleBone Black DT name

2013-03-13 Thread Tom Rini
From: Koen Kooi Signed-off-by: Koen Kooi Acked-by: Peter Korsgaard --- include/configs/am335x_evm.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 33ee2c4..abf4e39 100644 --- a/include/configs/am335x_evm.h +++ b/includ

[U-Boot] [PATCH v2 2/3] am335x_evm: Enable CMD_EXT4 and CMD_FS_GENERIC, add bootpart to env

2013-03-13 Thread Tom Rini
From: Koen Kooi The kernel is loaded from some form of ext[234] or FAT, depending on the distribution used. We add a bootpart variable to the environment so that we can load from the correct mmc partition as well. Signed-off-by: Koen Kooi Signed-off-by: Tom Rini --- include/configs/am335x_ev

[U-Boot] [PATCH v2 3/3] am335x_evm: Add more variables and switch to DT booting.

2013-03-13 Thread Tom Rini
From: Koen Kooi Make bootcmd run findfdt so that we know what dtb file to load. Add a loadfdt command to load this file in. Make mmcboot pass in ${fdtaddr} and make the mmc section of bootcmd run loadfdt. Signed-off-by: Koen Kooi Signed-off-by: Tom Rini --- include/configs/am335x_evm.h |

Re: [U-Boot] [PATCH v2] mxs: spl_mem_init: Align DDR2 init with FSL bootlets source

2013-03-13 Thread Fabio Estevam
Lauri, On Wed, Mar 13, 2013 at 11:18 AM, Fabio Estevam wrote: > Hi Stefano, > > On Wed, Mar 13, 2013 at 5:16 AM, Stefano Babic wrote: > >> Apart of the fact that fixes booting old kernel, these changes affects >> all mx28 boards, not only mx28evk. Can we have a description about which >> changes

Re: [U-Boot] [PATCH v2 1/3] am335x_evm: add support for BeagleBone Black DT name

2013-03-13 Thread Nishanth Menon
On 10:20-20130313, Tom Rini wrote: > From: Koen Kooi > > Signed-off-by: Koen Kooi > Acked-by: Peter Korsgaard > --- > include/configs/am335x_evm.h |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/configs/am335x_evm.h b/include/configs/a

[U-Boot] Correcting ext4write syntax

2013-03-13 Thread Tom Rini
Hey all, We have a problem with the syntax of 'ext4write'. For fatload, fatwrite, ext2load and ext4load the format is: command interface device:part system-memory-addr filename But ext4write is: command interface device:part filename system-memory-addr Crap. This has been the published interfac

Re: [U-Boot] [PATCH v2 1/3] am335x_evm: add support for BeagleBone Black DT name

2013-03-13 Thread Koen Kooi
Op 13 mrt. 2013, om 15:35 heeft Nishanth Menon het volgende geschreven: > On 10:20-20130313, Tom Rini wrote: >> From: Koen Kooi >> >> Signed-off-by: Koen Kooi >> Acked-by: Peter Korsgaard >> --- >> include/configs/am335x_evm.h |2 ++ >> 1 fi

Re: [U-Boot] [PATCH v2 2/3] am335x_evm: Enable CMD_EXT4 and CMD_FS_GENERIC, add bootpart to env

2013-03-13 Thread Peter Korsgaard
> "Tom" == Tom Rini writes: Tom> From: Koen Kooi Tom> The kernel is loaded from some form of ext[234] or FAT, depending on the Tom> distribution used. We add a bootpart variable to the environment so Tom> that we can load from the correct mmc partition as well. Tom> Signed-off-by: Koe

Re: [U-Boot] [PATCH v2 1/3] am335x_evm: add support for BeagleBone Black DT name

2013-03-13 Thread Koen Kooi
Op 13 mrt. 2013, om 16:02 heeft Nishanth Menon het volgende geschreven: > On Wed, Mar 13, 2013 at 9:57 AM, Koen Kooi wrote: >> >> Op 13 mrt. 2013, om 15:35 heeft Nishanth Menon het volgende >> geschreven: >> >>> On 10:20-20130313, Tom Rini wrote: >

Re: [U-Boot] [PATCH v5 2/9] dfu: Support larger than memory transfers.

2013-03-13 Thread Tom Rini
On Mon, Mar 11, 2013 at 11:03:41AM +0100, Lukasz Majewski wrote: > Hi Tom, > > > > > > > From: Pantelis Antoniou > > > > > > Previously we didn't support upload/download larger than available > > > memory. This is pretty bad when you have to update your root > > > filesystem for example. > >

Re: [U-Boot] [PATCH v2 3/3] am335x_evm: Add more variables and switch to DT booting.

2013-03-13 Thread Peter Korsgaard
> "Tom" == Tom Rini writes: Hi, Tom> From: Koen Kooi Tom> Make bootcmd run findfdt so that we know what dtb file to load. Add a Tom> loadfdt command to load this file in. Make mmcboot pass in ${fdtaddr} Tom> and make the mmc section of bootcmd run loadfdt. Tom> Signed-off-by: Koen K

Re: [U-Boot] [PATCH v2 1/3] am335x_evm: add support for BeagleBone Black DT name

2013-03-13 Thread Nishanth Menon
On 16:05-20130313, Koen Kooi wrote: > > Op 13 mrt. 2013, om 16:02 heeft Nishanth Menon het volgende > geschreven: > > > On Wed, Mar 13, 2013 at 9:57 AM, Koen Kooi > > wrote: > >> > >> Op 13 mrt. 2013, om 15:35 heeft Nishanth Menon het volge

Re: [U-Boot] [PATCH v3 1/3] mx6qsabresd: Fix card detection for invalid card id case

2013-03-13 Thread Otavio Salvador
On Wed, Mar 13, 2013 at 5:10 AM, Stefano Babic wrote: > On 06/03/2013 16:46, Otavio Salvador wrote: >> This changes the code so in case an unkown value is passed it will >> return as invalid. >> >> Signed-off-by: Otavio Salvador >> --- > > Hi Otavio, > >> Changes in v3: None >> Changes in v2: >>

Re: [U-Boot] [PATCH v2 2/3] am335x_evm: Enable CMD_EXT4 and CMD_FS_GENERIC, add bootpart to env

2013-03-13 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/13/2013 11:04 AM, Peter Korsgaard wrote: >> "Tom" == Tom Rini writes: > > Tom> From: Koen Kooi Tom> The kernel > is loaded from some form of ext[234] or FAT, depending on the Tom> > distribution used. We add a bootpart variable to the env

Re: [U-Boot] [PATCH v2] mxs: spl_mem_init: Align DDR2 init with FSL bootlets source

2013-03-13 Thread Marek Vasut
Dear Fabio Estevam, > From: Fabio Estevam > > Currently the following kernel hang happens when loading a 2.6.35 kernel > from Freeescale on a mx28evk board: > > RPC: Registered tcp transport module. > RPC: Registered tcp NFSv4.1 backchannel transport module. > Bus freq driver module loaded > IM

Re: [U-Boot] [PATCH v3] Add initial support for Wandboard dual lite and solo.

2013-03-13 Thread Otavio Salvador
On Wed, Mar 13, 2013 at 9:31 AM, Fabio Estevam wrote: > From: Fabio Estevam > > Add initial support for Wandboard. > > Wandboard is a development board that has two variants: one version based > on mx6 dual lite and another one based on mx6 solo. > > For details on the features of Wandboard, plea

Re: [U-Boot] [PATCH v5 2/9] dfu: Support larger than memory transfers.

2013-03-13 Thread Tom Rini
On Mon, Mar 11, 2013 at 11:03:41AM +0100, Lukasz Majewski wrote: [snip] > > > - if (blk_seq_num == 0) { > > > - i_buf = dfu_buf; > > > - ret = dfu->read_medium(dfu, i_buf, &r_size); > > > - debug("%s: %s %ld [B]\n", __func__, dfu->name, > > > r_size); > > > - i_blk_

Re: [U-Boot] [PATCH v3] Add initial support for Wandboard dual lite and solo.

2013-03-13 Thread Fabio Estevam
On Wed, Mar 13, 2013 at 12:20 PM, Otavio Salvador wrote: > I'd use 'wandboard_dual' as this seems to be how they use it in > marketing material. No, the SoC used is a mx6 "dual lite", not "dual". mx6 variants are: quad, dual, dual-lite, solo, solo-lite. _

Re: [U-Boot] [PATCH v3] Add initial support for Wandboard dual lite and solo.

2013-03-13 Thread Otavio Salvador
On Wed, Mar 13, 2013 at 12:27 PM, Fabio Estevam wrote: > On Wed, Mar 13, 2013 at 12:20 PM, Otavio Salvador > wrote: > >> I'd use 'wandboard_dual' as this seems to be how they use it in >> marketing material. > > No, the SoC used is a mx6 "dual lite", not "dual". > > mx6 variants are: quad, dual,

Re: [U-Boot] [PATCH v2 1/3] am335x_evm: add support for BeagleBone Black DT name

2013-03-13 Thread Nishanth Menon
On Wed, Mar 13, 2013 at 9:57 AM, Koen Kooi wrote: > > Op 13 mrt. 2013, om 15:35 heeft Nishanth Menon het volgende > geschreven: > >> On 10:20-20130313, Tom Rini wrote: >>> From: Koen Kooi >>> >>> Signed-off-by: Koen Kooi >>> Acked-by: Pet

Re: [U-Boot] [PATCH v3] Add initial support for Wandboard dual lite and solo.

2013-03-13 Thread Fabio Estevam
On Wed, Mar 13, 2013 at 12:30 PM, Otavio Salvador wrote: > I agree but the board name is 'Wandboard Dual', see > http://wandboard.org/index.php/details > > So I'd use their name as users will end looking for it. If you look at the second row it says the chip is dual-lite. Dual and dual-lite are

Re: [U-Boot] [PATCH v3] Add initial support for Wandboard dual lite and solo.

2013-03-13 Thread Otavio Salvador
On Wed, Mar 13, 2013 at 12:37 PM, Fabio Estevam wrote: > On Wed, Mar 13, 2013 at 12:30 PM, Otavio Salvador > wrote: > >> I agree but the board name is 'Wandboard Dual', see >> http://wandboard.org/index.php/details >> >> So I'd use their name as users will end looking for it. > > If you look at t

Re: [U-Boot] [PATCH v3] Add initial support for Wandboard dual lite and solo.

2013-03-13 Thread Fabio Estevam
On Wed, Mar 13, 2013 at 12:39 PM, Otavio Salvador wrote: > I understand your point but we use board names not directly linked to > the SoC they use, we name mx28evk and not mx287evk; mx23evk, not > mx233evk ... but ok. mx233 is still a mx23 processor. mx287 is still a mx28 processor. mx6q / mx6

Re: [U-Boot] TFTP pause and timeout on MX28 platforms

2013-03-13 Thread Hector Palacios
Dear Marek Vasut, On 03/13/2013 11:58 AM, Marek Vasut wrote: Dear Hector Palacios, Hello, When doing large TFTP downloads (files bigger than 10MiB) on my MX28 platform I'm sometimes experiencing pauses and timeouts. U-Boot will eventually restart the transmission and sometimes may successfull

Re: [U-Boot] [PATCH v2] mxs: spl_mem_init: Align DDR2 init with FSL bootlets source

2013-03-13 Thread Marek Vasut
Dear Stefano Babic, > On 28/02/2013 23:59, Fabio Estevam wrote: > > From: Fabio Estevam > > > > Currently the following kernel hang happens when loading a 2.6.35 kernel > > from Freeescale on a mx28evk board: > > > > RPC: Registered tcp transport module. > > RPC: Registered tcp NFSv4.1 backchan

Re: [U-Boot] C99 and dynamic arrays

2013-03-13 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > >> Given that we seem to allow C99 features in U-Boot I wonder if it > >> would be OK to use dynamic arrays in SPL? Strange. I can see the follow-ups, but I cannot see the original posting? > In the function pow_mod(), I would like to replace: > >

Re: [U-Boot] [PATCH v3] integrator: pass a Device Tree by default

2013-03-13 Thread Wolfgang Denk
Dear Linus, In message you wrote: > > >> -#define CONFIG_SYS_LOAD_ADDR 0x7fc0 /* default load address */ > >> +#define CONFIG_SYS_LOAD_ADDR 0x800 /* default load address */ > > > > This appears to be an unrelated change. It should be clearly > > documented, especially as use

Re: [U-Boot] [PATCH v2] mxs: spl_mem_init: Align DDR2 init with FSL bootlets source

2013-03-13 Thread Stefano Babic
On 13/03/2013 17:01, Marek Vasut wrote: >> Apart of the fact that fixes booting old kernel, these changes affects >> all mx28 boards, not only mx28evk. Can we have a description about which >> changes are done and why they are required ? > > Please see [1] below, this describes the situation at ha

Re: [U-Boot] [PATCH RESEND] mpc85xx: Fix a compiler warning when CONFIG_WATCHDOG is turned on

2013-03-13 Thread Wolfgang Denk
Dear Horst Kronstorfer, In message <1363175243-12183-1-git-send-email-hkron...@frequentis.com> you wrote: > cpu.c:288:2: > warning: implicit declaration of function 'reset_85xx_watchdog' > [-Wimplicit-function-declaration] ... > +void > +watchdog_reset(void) > +{ > + int re_enable = disable_i

Re: [U-Boot] Correcting ext4write syntax

2013-03-13 Thread Wolfgang Denk
Dear Tom, In message <20130313145638.GK23324@bill-the-cat> you wrote: > > We have a problem with the syntax of 'ext4write'. For fatload, > fatwrite, ext2load and ext4load the format is: > command interface device:part system-memory-addr filename > But ext4write is: > command interface device:par

Re: [U-Boot] [PATCH v3] Add initial support for Wandboard dual lite and solo.

2013-03-13 Thread Wolfgang Denk
Dear Otavio Salvador, In message you wrote: > On Wed, Mar 13, 2013 at 12:27 PM, Fabio Estevam wrote: > > On Wed, Mar 13, 2013 at 12:20 PM, Otavio Salvador > > wrote: > > > >> I'd use 'wandboard_dual' as this seems to be how they use it in > >> marketing material. > > > > No, the SoC used is a

Re: [U-Boot] C99 and dynamic arrays

2013-03-13 Thread Tom Rini
On Wed, Mar 13, 2013 at 03:41:33AM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, Mar 12, 2013 at 4:48 PM, Tom Rini wrote: > > On Tue, Mar 12, 2013 at 7:22 PM, Simon Glass wrote: > >> Hi, > >> > >> Given that we seem to allow C99 features in U-Boot I wonder if it > >> would be OK to use dynamic

Re: [U-Boot] C99 and dynamic arrays

2013-03-13 Thread Måns Rullgård
Tom Rini writes: > On Tue, Mar 12, 2013 at 7:22 PM, Simon Glass wrote: >> Hi, >> >> Given that we seem to allow C99 features in U-Boot I wonder if it >> would be OK to use dynamic arrays in SPL? >> >> I am trying to replace: >> >> ptr = malloc(size); >> >> with: >> >> char ptr[size]; >> >> to av

[U-Boot] AT91SAM9M10 Custom Board U-boot reboot after Wrong Image Format

2013-03-13 Thread mar...@netopen.com.br
Hi Our board reboots after send Wrong Image Format message to the console and hangs. The Linux uImage is correctly placed in the NAND 0X20. The console input is somehow inhibit. I cannot type anything on it until the board reboots . The board is an AT91SAM9M10 custom board based on the AT91SA

Re: [U-Boot] [PATCH v9 0/31] Create generic board init for ARM, x86, PPC

2013-03-13 Thread Andreas Bießmann
Hi Simon, On 03/13/2013 04:52 AM, Simon Glass wrote: > Hi, > > On Mon, Mar 11, 2013 at 10:03 AM, Simon Glass wrote: >> This series creates a generic board init implementation which contains >> the essential functions of the major arch/xxx/lib/board.c files. It is >> split into two parts: board_f

Re: [U-Boot] [Question][i.MX6q] Is it possible to configure and use the USB-OTG as EHCI host only?

2013-03-13 Thread Rafał Fabich
Hi, On Tue, Mar 12, 2013 at 1:04 PM, Rafał Fabich wrote: > I suppose it is possible to use USG-OTG instead of Host1 as EHCI host > in U-Boot somehow. Is there something I am missing? Sorry for answering to myself, but the problem is solved. In fact the controller had to be reinitialized after

Re: [U-Boot] TFTP pause and timeout on MX28 platforms

2013-03-13 Thread Marek Vasut
Dear Hector Palacios, > Dear Marek Vasut, > > On 03/13/2013 11:58 AM, Marek Vasut wrote: > > Dear Hector Palacios, > > > >> Hello, > >> > >> When doing large TFTP downloads (files bigger than 10MiB) on my MX28 > >> platform I'm sometimes experiencing pauses and timeouts. U-Boot will > >> eventu

Re: [U-Boot] [PATCH v9 0/31] Create generic board init for ARM, x86, PPC

2013-03-13 Thread Tom Rini
On Wed, Mar 13, 2013 at 02:16:23PM +0100, Andreas Bie?mann wrote: > Hi Simon, > > On 03/13/2013 04:52 AM, Simon Glass wrote: > > Hi, > > > > On Mon, Mar 11, 2013 at 10:03 AM, Simon Glass wrote: > >> This series creates a generic board init implementation which contains > >> the essential functio

Re: [U-Boot] TFTP pause and timeout on MX28 platforms

2013-03-13 Thread Hector Palacios
Dear Marek Vasut, On 03/13/2013 05:19 PM, Marek Vasut wrote: Dear Hector Palacios, Dear Marek Vasut, On 03/13/2013 11:58 AM, Marek Vasut wrote: Dear Hector Palacios, Hello, When doing large TFTP downloads (files bigger than 10MiB) on my MX28 platform I'm sometimes experiencing pauses and

Re: [U-Boot] [Question][i.MX6q] Is it possible to configure and use the USB-OTG as EHCI host only?

2013-03-13 Thread Fabio Estevam
Hi Rafal, On Wed, Mar 13, 2013 at 12:34 PM, Rafał Fabich wrote: > Hi, > > On Tue, Mar 12, 2013 at 1:04 PM, Rafał Fabich wrote: > >> I suppose it is possible to use USG-OTG instead of Host1 as EHCI host >> in U-Boot somehow. Is there something I am missing? > > > Sorry for answering to myself, bu

Re: [U-Boot] [Question][i.MX6q] Is it possible to configure and use the USB-OTG as EHCI host only?

2013-03-13 Thread Eric Nelson
On 03/13/2013 08:34 AM, Rafał Fabich wrote: Hi, On Tue, Mar 12, 2013 at 1:04 PM, Rafał Fabich wrote: I suppose it is possible to use USG-OTG instead of Host1 as EHCI host in U-Boot somehow. Is there something I am missing? Sorry for answering to myself, but the problem is solved. In fact t

Re: [U-Boot] [PATCH v9 15/30] autoconfig.mk: Make it possible to define configs from other configs

2013-03-13 Thread Stefano Babic
On 13/03/2013 14:35, Benoît Thébaudeau wrote: > Hi Stefano, > Hi Benoît, >> For that, patches 1 until 9 are related to i.MX and mainly to the NAND >> for i.MX. They get already Scott's ACK. IMHO they are independent from >> the rest of the patchset and they can be merged now. My proposal is that

Re: [U-Boot] [PATCH v1] DOS_PBR block type is also valid dos block type.

2013-03-13 Thread Stephen Warren
On 03/12/2013 08:58 PM, Sonic Zhang wrote: > Hi Stephen, > > On Tue, Mar 12, 2013 at 11:09 AM, Stephen Warren > wrote: >> On 03/11/2013 08:57 PM, Sonic Zhang wrote: >>> Hi Stephen, >>> >>> >>> On Tue, Mar 12, 2013 at 1:28 AM, Stephen Warren >>> wrote: On 03/11/2013 03:56 AM, sonic@gma

Re: [U-Boot] TFTP pause and timeout on MX28 platforms

2013-03-13 Thread Marek Vasut
Dear Hector Palacios, > Dear Marek Vasut, > > On 03/13/2013 05:19 PM, Marek Vasut wrote: > > Dear Hector Palacios, > > > >> Dear Marek Vasut, > >> > >> On 03/13/2013 11:58 AM, Marek Vasut wrote: > >>> Dear Hector Palacios, > >>> > Hello, > > When doing large TFTP downloads (fil

Re: [U-Boot] [PATCH v1] DOS_PBR block type is also valid dos block type.

2013-03-13 Thread Stephen Warren
On 03/13/2013 10:51 AM, Stephen Warren wrote: > On 03/12/2013 08:58 PM, Sonic Zhang wrote: >> Hi Stephen, >> >> On Tue, Mar 12, 2013 at 11:09 AM, Stephen Warren >> wrote: >>> On 03/11/2013 08:57 PM, Sonic Zhang wrote: Hi Stephen, On Tue, Mar 12, 2013 at 1:28 AM, Stephen Warren

Re: [U-Boot] [PATCH v1] DOS_PBR block type is also valid dos block type.

2013-03-13 Thread Stephen Warren
On 03/11/2013 08:59 PM, Sonic Zhang wrote: > Hi Stephen, > > On Tue, Mar 12, 2013 at 1:28 AM, Stephen Warren wrote: >> On 03/11/2013 03:56 AM, sonic@gmail.com wrote: >>> From: Sonic Zhang >>> >>> - Should return 0 for both DOS_MBR and DOS_PBR block types in >>> test_part_dos(). >> >> What p

Re: [U-Boot] TFTP pause and timeout on MX28 platforms

2013-03-13 Thread Hector Palacios
Dear Marek Vasut, On 03/13/2013 05:52 PM, Marek Vasut wrote: Dear Hector Palacios, Dear Marek Vasut, On 03/13/2013 05:19 PM, Marek Vasut wrote: Dear Hector Palacios, Dear Marek Vasut, On 03/13/2013 11:58 AM, Marek Vasut wrote: Dear Hector Palacios, Hello, When doing large TFTP downloa

Re: [U-Boot] C99 and dynamic arrays

2013-03-13 Thread Simon Glass
Hi Mans, On Wed, Mar 13, 2013 at 3:29 AM, Måns Rullgård wrote: > Tom Rini writes: > >> On Tue, Mar 12, 2013 at 7:22 PM, Simon Glass wrote: >>> Hi, >>> >>> Given that we seem to allow C99 features in U-Boot I wonder if it >>> would be OK to use dynamic arrays in SPL? >>> >>> I am trying to repla

Re: [U-Boot] [PATCH v2 2/3] am335x_evm: Enable CMD_EXT4 and CMD_FS_GENERIC, add bootpart to env

2013-03-13 Thread Peter Korsgaard
> "Tom" == Tom Rini writes: Hi, >> You could argue this should be ${mmcdev}:2 instead. Tom> Should but can't, sadly. I did that at first but we don't get Tom> re-expansion and it becomes later on 'load mmc ${mmcdev}:2 ...'. Ahh, ok. Tom> @@ -147,6 +147,8 @@ Tom> #define CONFIG_DOS_P

Re: [U-Boot] TFTP pause and timeout on MX28 platforms

2013-03-13 Thread Marek Vasut
Dear Hector Palacios, > Dear Marek Vasut, > > On 03/13/2013 05:52 PM, Marek Vasut wrote: > > Dear Hector Palacios, > > > >> Dear Marek Vasut, > >> > >> On 03/13/2013 05:19 PM, Marek Vasut wrote: > >>> Dear Hector Palacios, > >>> > Dear Marek Vasut, > > On 03/13/2013 11:58 AM, M

Re: [U-Boot] [PATCH v9 15/30] autoconfig.mk: Make it possible to define configs from other configs

2013-03-13 Thread Tom Rini
On Wed, Mar 13, 2013 at 09:56:34AM -0400, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 03/13/2013 09:35 AM, Beno??t Th??baudeau wrote: > > Hi Stefano, > > > > On Wednesday, March 13, 2013 9:01:47 AM, Stefano Babic wrote: > >> On 08/03/2013 15:54, Fabio Estevam wrote:

Re: [U-Boot] C99 and dynamic arrays

2013-03-13 Thread Måns Rullgård
Simon Glass writes: > Hi Mans, > > On Wed, Mar 13, 2013 at 3:29 AM, Måns Rullgård wrote: >> Tom Rini writes: >> >>> On Tue, Mar 12, 2013 at 7:22 PM, Simon Glass wrote: Hi, Given that we seem to allow C99 features in U-Boot I wonder if it would be OK to use dynamic arrays in

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

2013-03-13 Thread Tom Rini
On Tue, Mar 12, 2013 at 07:42:26PM +0100, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c: > > The following changes since commit 68149e94053d18b54a63c9a44c87f178f59a169e: > > cmd_mem.c: Fix warning when CONFIG_CMD_MEMTEST is not set (2013-03-12 > 12:43:31 -0400) > > are

Re: [U-Boot] C99 and dynamic arrays

2013-03-13 Thread Stephen Warren
On 03/13/2013 12:03 PM, Måns Rullgård wrote: > Simon Glass writes: > >> Hi Mans, >> >> On Wed, Mar 13, 2013 at 3:29 AM, Måns Rullgård wrote: >>> Tom Rini writes: >>> On Tue, Mar 12, 2013 at 7:22 PM, Simon Glass wrote: > Hi, > > Given that we seem to allow C99 features in U-Boo

Re: [U-Boot] [PATCH v2 0/4] Get rid of R_ARM_ABS32 relocation records

2013-03-13 Thread Tom Rini
On Mon, Feb 25, 2013 at 05:20:34PM +0100, Daniel Schwierzeck wrote: > Hi Albert, Tom, > > 2013/2/25 Tom Rini : > > On Mon, Feb 25, 2013 at 11:58:56AM +0100, Albert ARIBAUD wrote: > > > >> R_ARM_ABS32 relocation records cause symbol references > >> to be zero before relocation, and become correct

Re: [U-Boot] [U-Boot, v2] env: don't generate callback list entries for SPL

2013-03-13 Thread Tom Rini
On Tue, Mar 12, 2013 at 11:07:46PM +0100, Albert ARIBAUD wrote: > Hi Tom, > > On Tue, 12 Mar 2013 13:47:33 -0400, Tom Rini wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On 03/12/2013 01:19 PM, Albert ARIBAUD wrote: > > > Hi Scott, > > > > > > On Tue, 12 Mar 2013 12:06:

Re: [U-Boot] C99 and dynamic arrays

2013-03-13 Thread Simon Glass
[once more from correct address, sorry] Hi, On Wed, Mar 13, 2013 at 11:03 AM, Måns Rullgård wrote: > Simon Glass writes: > >> Hi Mans, >> >> On Wed, Mar 13, 2013 at 3:29 AM, Måns Rullgård wrote: >>> Tom Rini writes: >>> On Tue, Mar 12, 2013 at 7:22 PM, Simon Glass wrote: > Hi, >

Re: [U-Boot] TFTP pause and timeout on MX28 platforms

2013-03-13 Thread Fabio Estevam
On Wed, Mar 13, 2013 at 2:14 PM, Hector Palacios wrote: > No I don't use PHYLIB. My platform is based on Freescale's mx28evk (not > DENX's m28evk). I saw fecmxc_mii_postcall() and I do a similar thing because > of my phy model KSZ8031, but as I said the pauses and timeouts occur in both > platfor

Re: [U-Boot] [PATCH v2 1/3] am335x_evm: add support for BeagleBone Black DT name

2013-03-13 Thread Koen Kooi
Op 13 mrt. 2013, om 16:07 heeft Nishanth Menon het volgende geschreven: > On 16:05-20130313, Koen Kooi wrote: >> >> Op 13 mrt. 2013, om 16:02 heeft Nishanth Menon het volgende >> geschreven: >> >>> On Wed, Mar 13, 2013 at 9:57 AM, Koen Kooi >>>

Re: [U-Boot] [PATCH v2 1/3] am335x_evm: add support for BeagleBone Black DT name

2013-03-13 Thread Nishanth Menon
On 20:02-20130313, Koen Kooi wrote: > > Op 13 mrt. 2013, om 16:07 heeft Nishanth Menon het volgende > geschreven: > > > On 16:05-20130313, Koen Kooi wrote: > >> > >> Op 13 mrt. 2013, om 16:02 heeft Nishanth Menon het volgende > >> geschreven

Re: [U-Boot] [PATCH v5 2/9] dfu: Support larger than memory transfers.

2013-03-13 Thread Tom Rini
On Wed, Mar 13, 2013 at 11:25:42AM -0400, Tom Rini wrote: > On Mon, Mar 11, 2013 at 11:03:41AM +0100, Lukasz Majewski wrote: > > [snip] > > > > - if (blk_seq_num == 0) { > > > > - i_buf = dfu_buf; > > > > - ret = dfu->read_medium(dfu, i_buf, &r_size); > > > > -

Re: [U-Boot] [PATCH v5 6/9] dfu: NAND specific routines for DFU operation

2013-03-13 Thread Tom Rini
On Fri, Mar 08, 2013 at 07:08:27PM -0600, Scott Wood wrote: > On 03/08/2013 11:37:25 AM, Tom Rini wrote: > >From: Pantelis Antoniou > > > >Support for NAND storage devices to work with the DFU framework. > > > >Signed-off-by: Pantelis Antoniou > >Signed-off-by: Tom Rini > >--- > >Changes in v5:

[U-Boot] [PATCH v2] mpc85xx: Fix a compiler warning when CONFIG_WATCHDOG is turned on

2013-03-13 Thread Horst Kronstorfer
cpu.c:288:2: warning: implicit declaration of function 'reset_85xx_watchdog' [-Wimplicit-function-declaration] Signed-off-by: Horst Kronstorfer --- Changes for v2: - Fix formatting - Fix checkpatch findings arch/powerpc/cpu/mpc85xx/cpu.c | 18 ++ 1 file changed, 10 inserti

Re: [U-Boot] [PATCH v2 1/3] am335x_evm: add support for BeagleBone Black DT name

2013-03-13 Thread Matt Porter
On Wed, Mar 13, 2013 at 08:02:26PM +0100, Koen Kooi wrote: > > Op 13 mrt. 2013, om 16:07 heeft Nishanth Menon het volgende > geschreven: > > > On 16:05-20130313, Koen Kooi wrote: > >> > >> Op 13 mrt. 2013, om 16:02 heeft Nishanth Menon het volgende >

Re: [U-Boot] [Question][i.MX6q] Is it possible to configure and use the USB-OTG as EHCI host only?

2013-03-13 Thread Rafał Fabich
Hi, On Wed, Mar 13, 2013 at 5:33 PM, Eric Nelson wrote > > Got patch? On Wed, Mar 13, 2013 at 5:32 PM, Fabio Estevam wrote: > > Care to submit a patch for this? Yes, I would like to do that, but first I have to do some more testing (ie. the ext2 partition, etc). Anyway, before I submit the pat

Re: [U-Boot] [Question][i.MX6q] Is it possible to configure and use the USB-OTG as EHCI host only?

2013-03-13 Thread Fabio Estevam
On Wed, Mar 13, 2013 at 6:13 PM, Rafał Fabich wrote: > Hi, > > On Wed, Mar 13, 2013 at 5:33 PM, Eric Nelson > wrote >> >> Got patch? > > On Wed, Mar 13, 2013 at 5:32 PM, Fabio Estevam wrote: >> >> Care to submit a patch for this? > > Yes, I would like to do that, but first I have to do some more

Re: [U-Boot] [PATCH v2 0/4] Get rid of R_ARM_ABS32 relocation records

2013-03-13 Thread Albert ARIBAUD
On Mon, 25 Feb 2013 11:58:56 +0100, Albert ARIBAUD wrote: > R_ARM_ABS32 relocation records cause symbol references > to be zero before relocation, and become correct only > after relocation. On the other hand, R_ARM_RELATIVE > records make references correct before as well as > after relocation.

Re: [U-Boot] [PATCH v6] Introduced btrfs file-system with btrload command

2013-03-13 Thread Simon Glass
Hi Adnan, On Wed, Mar 13, 2013 at 4:48 AM, Adnan Ali wrote: > Introduces btrfs file-system to read file from > volume/sub-volumes with btrload command. This > implementation has read-only support. > This btrfs implementation is based on syslinux btrfs > code, commit 269ebc845ebc8b46ef4b0be7fa0005

[U-Boot] [PATCH] Tegra114: pinmux: Fix bad CAM_MCLK func 3 table entry

2013-03-13 Thread Tom Warren
This caused CAM_MCLK's pinmux reg to be locked out, since the table parsing code couldn't find a matching entry for VI_ALT3 and wrote garbage to the register. Signed-off-by: Tom Warren --- arch/arm/cpu/tegra114-common/pinmux.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --g

[U-Boot] i.MX53 SPI NOR

2013-03-13 Thread Thomas Besemer
I am working with a board derived from mx53loco. We have SPI NOR on ECSPI1, and are using U-Boot u-boot-2013.04-rc1. I appear to be having some trouble mapping the device in correctly. I am able to use 'sf probe 0', and using a logic analyzer, we can see the SPI transaction run correctly to ID t

Re: [U-Boot] [PATCH v9 0/31] Create generic board init for ARM, x86, PPC

2013-03-13 Thread Simon Glass
Hi Tom, On Wed, Mar 13, 2013 at 9:25 AM, Tom Rini wrote: > On Wed, Mar 13, 2013 at 02:16:23PM +0100, Andreas Bie?mann wrote: >> Hi Simon, >> >> On 03/13/2013 04:52 AM, Simon Glass wrote: >> > Hi, >> > >> > On Mon, Mar 11, 2013 at 10:03 AM, Simon Glass wrote: >> >> This series creates a generic b

Re: [U-Boot] C99 and dynamic arrays

2013-03-13 Thread Måns Rullgård
Simon Glass writes: > [once more from correct address, sorry] > > Hi, > > On Wed, Mar 13, 2013 at 11:03 AM, Måns Rullgård wrote: >> Simon Glass writes: >> >>> Hi Mans, >>> >>> On Wed, Mar 13, 2013 at 3:29 AM, Måns Rullgård wrote: Tom Rini writes: > On Tue, Mar 12, 2013 at 7:22 P

Re: [U-Boot] C99 and dynamic arrays

2013-03-13 Thread Måns Rullgård
Stephen Warren writes: > On 03/13/2013 12:03 PM, Måns Rullgård wrote: >> Simon Glass writes: >> >>> Hi Mans, >>> >>> On Wed, Mar 13, 2013 at 3:29 AM, Måns Rullgård wrote: Tom Rini writes: > On Tue, Mar 12, 2013 at 7:22 PM, Simon Glass wrote: >> Hi, >> >> Given that

[U-Boot] Upgrading PowerPC 4xx to v2013.01

2013-03-13 Thread tx co
I've been tasked with porting U-Boot from v1.1.5 to v2013.01 for a custom board based off PPC460SX (AMCC Eiger board which is no longer supported). I'm trying to understand what's going on with my current setup. I'm able to load the u-boot.bin and can see that it's in the correct address location.

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

2013-03-13 Thread Albert ARIBAUD
On Wed, 13 Mar 2013 13:29:55 +0100, Albert ARIBAUD wrote: > Hi Stefano, > > On Wed, 13 Mar 2013 09:43:46 +0100, Stefano Babic > wrote: > > > Hi Albert, > > > > please pull from u-boot-imx, thanks. A question about the patch "ARM: > > implement some Cortex-A9 errata workarounds" > > > > h

  1   2   >