Re: [U-Boot] [PATCH] zmx25: Select CONFIG_OF_LIBFDT

2013-07-05 Thread Albert ARIBAUD
Hi Fabio again, On Fri, 5 Jul 2013 23:45:38 +0200, Albert ARIBAUD wrote: > Hi Fabio, > > On Fri, 5 Jul 2013 18:32:32 -0300, Fabio Estevam > wrote: > > > Hi Albert, > > > > On Fri, Jul 5, 2013 at 6:25 PM, Albert ARIBAUD > > wrote: > > > > > CC:ing the board maintainer as per the MAINTAINER

Re: [U-Boot] [PATCH] zmx25: Select CONFIG_OF_LIBFDT

2013-07-05 Thread Albert ARIBAUD
Hi Fabio, On Fri, 5 Jul 2013 18:32:32 -0300, Fabio Estevam wrote: > Hi Albert, > > On Fri, Jul 5, 2013 at 6:25 PM, Albert ARIBAUD > wrote: > > > CC:ing the board maintainer as per the MAINTAINER file. > > I added Matthias on Cc on my original patch submission. If <1372969808-29545-1-git-sen

Re: [U-Boot] [PATCH] zmx25: Select CONFIG_OF_LIBFDT

2013-07-05 Thread Fabio Estevam
Hi Albert, On Fri, Jul 5, 2013 at 6:25 PM, Albert ARIBAUD wrote: > CC:ing the board maintainer as per the MAINTAINER file. I added Matthias on Cc on my original patch submission. Regards, Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [PATCH] zmx25: Select CONFIG_OF_LIBFDT

2013-07-05 Thread Albert ARIBAUD
Hi Fabio, On Thu, 4 Jul 2013 17:30:08 -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Allow the boot of a device tree kernel. > > Signed-off-by: Fabio Estevam > --- > include/configs/zmx25.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/zmx25.h b/include/c

Re: [U-Boot] [PATCH] cramfs: fix bug for wrong filename comparison

2013-07-05 Thread Albert ARIBAUD
Hi Holger, On Thu, 4 Jul 2013 10:29:46 +0200, Holger Brunck wrote: > If we have the following entry in cramfs: > => cramfsls > -rw-r--r-- 1922689 uImage > > cramfsload would also succeed if we try to do: > => cramfsload uImage_1 > CRAMFS load complete: 1922689 bytes loaded to 0x10 > > T

Re: [U-Boot] [U-boot] monitor length question

2013-07-05 Thread Albert ARIBAUD
Hi tiger...@viatech.com.cn, On Wed, 3 Jul 2013 11:19:13 +0800, wrote: > Hi, experts: > I am studying u-boot latest code now. > I have a question about monitor length. > 1. in board_init_f() function in arch\arm\lib\board.c >Gd->mon_len = _bss_end_ofs; > 2. in board_init_r() function in arch\

Re: [U-Boot] Marvell SheevaPlug v2013.04 Refresh (ask for review)

2013-07-05 Thread Albert ARIBAUD
Hi GĂ©rald, On Tue, 02 Jul 2013 23:17:51 +0200, DrEagle wrote: > Hi, > > I have started to rework all the MVSDIO driver, and some more enhancements, > to make a cool updated and workable SheevaPlug. > I have take the v2013.04 denx uBoot to base my patchs. > > If you can take a look inside and

Re: [U-Boot] [PATCHv2] socfpga: Move board/socfpga_cyclone5 to board/socfpga

2013-07-05 Thread Albert ARIBAUD
Hi dingu...@altera.com, On Tue, 2 Jul 2013 17:00:18 -0500, wrote: > From: Dinh Nguyen > > Because the SOCFPGA platform will include support for Cyclone V and > Arria V FPGA parts, renaming socfpga_cyclone5 folder to socfpga to > be more generic. > > Signed-off-by: Dinh Nguyen > Reviewed-by:

Re: [U-Boot] [RFC PATCH] arm: arm926ejs: flush cache before disable it

2013-07-05 Thread Albert ARIBAUD
Hi Bo, On Tue, 2 Jul 2013 12:35:54 +, Bo Shen wrote: > flush cache before disable it > > Signed-off-by: Bo Shen > --- > arch/arm/cpu/arm926ejs/cpu.c |5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/cpu/arm926ejs/cpu.c b/arch/arm/cpu/arm926ejs/cpu

Re: [U-Boot] test HYP mode in arch/arm/cpu/armv7/start.S

2013-07-05 Thread Albert ARIBAUD
Hi tiger...@viatech.com.cn, On Tue, 2 Jul 2013 10:22:03 +0800, wrote: > Hi, experts: > I found it would determine whether CPU was in HYP mode or not before > switching to SVC mode in reset handler. > > So, why need to test HYP mode? > So, which case could cause CPU in HYP mode during U-Boot boo

Re: [U-Boot] [PATCH v2 1/5] bootm: Handle errors consistently

2013-07-05 Thread Simon Glass
Hi Tom, On Fri, Jul 5, 2013 at 1:29 PM, Tom Rini wrote: > On Fri, Jul 05, 2013 at 01:21:09PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, Jul 5, 2013 at 1:15 PM, Tom Rini wrote: > > > > > On Fri, Jul 05, 2013 at 12:52:03PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Fr

Re: [U-Boot] [PATCH v2 1/5] bootm: Handle errors consistently

2013-07-05 Thread Tom Rini
On Fri, Jul 05, 2013 at 01:21:09PM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, Jul 5, 2013 at 1:15 PM, Tom Rini wrote: > > > On Fri, Jul 05, 2013 at 12:52:03PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Fri, Jul 5, 2013 at 5:59 AM, Tom Rini wrote: > > > > > > > On Thu, Jul 04, 2

Re: [U-Boot] [PATCH v2 1/5] bootm: Handle errors consistently

2013-07-05 Thread Simon Glass
Hi Tom, On Fri, Jul 5, 2013 at 1:15 PM, Tom Rini wrote: > On Fri, Jul 05, 2013 at 12:52:03PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, Jul 5, 2013 at 5:59 AM, Tom Rini wrote: > > > > > On Thu, Jul 04, 2013 at 01:17:07PM -0700, Simon Glass wrote: > > > > > > > A recent bootm fix left

Re: [U-Boot] [PATCH v2 1/5] bootm: Handle errors consistently

2013-07-05 Thread Tom Rini
On Fri, Jul 05, 2013 at 12:52:03PM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, Jul 5, 2013 at 5:59 AM, Tom Rini wrote: > > > On Thu, Jul 04, 2013 at 01:17:07PM -0700, Simon Glass wrote: > > > > > A recent bootm fix left the error path incomplete. Reinstate this so that > > > failures in boot

Re: [U-Boot] [PATCH] common: board_f: Fix build error when CONFIG_TRACE is not defined

2013-07-05 Thread Simon Glass
Hi Tushar, On Fri, Jul 5, 2013 at 1:40 AM, Tushar Behera wrote: > When CONFIG_TRACE is not defined, definition of trace_early_init is not > compiled and we get following error. > > common/libcommon.o:(.data.init_sequence_f+0xc): undefined reference to > `trace_early_init' > > While at it, also de

Re: [U-Boot] [PATCH v2 1/5] bootm: Handle errors consistently

2013-07-05 Thread Simon Glass
Hi Tom, On Fri, Jul 5, 2013 at 5:59 AM, Tom Rini wrote: > On Thu, Jul 04, 2013 at 01:17:07PM -0700, Simon Glass wrote: > > > A recent bootm fix left the error path incomplete. Reinstate this so that > > failures in bootm stages are handled properly. > > > > Signed-off-by: Simon Glass > > --- >

Re: [U-Boot] please pull u-boot-samsung master

2013-07-05 Thread Albert ARIBAUD
Hi Minkyu, On Fri, 05 Jul 2013 19:08:06 +0900, Minkyu Kang wrote: > Dear Albert, > > The following changes since commit 7737c994609ffb50194d5ddb67467ae0fcd8f775: > > net2big_v2: initialize LEDs at startup (2013-06-20 14:01:23 +0530) > > are available in the git repository at: > > git://g

[U-Boot] How to prepare a MTD partion?

2013-07-05 Thread Woody Wu
Hi, After defined MTD partions in kernel and u-boot, what's the next steps to make it mountable? I have defined two data partitions in MTD out of my NAND flash, each of which has size of about 800M. Then I want to make them as Yaffs2 and j2ffs and mount them to use. In PC linux, I know there are

Re: [U-Boot] [PATCH v5 1/1] NET: Improve TFTP booting performance when CONFIG_USB_KEYBOARD

2013-07-05 Thread Stephen Warren
On 07/03/2013 10:01 PM, Jim Lin wrote: > TFTP booting is slow when a USB keyboard is installed and > CONFIG_USB_KEYBOARD is defined. > This fix is to change Ctrl-C polling to every second when NET transfer > is running. Tested-by: Stephen Warren ___ U-

Re: [U-Boot] PCIe support for Tegra T30 ?

2013-07-05 Thread Stephen Warren
On 07/05/2013 08:41 AM, Bob Koninckx wrote: > Hi, > > Are there any plans for adding PCIe support for Tegra T30 SoC in the > near future? If not, what would it take if we would want to do this > ourselves. Any pointer in the right directions would be greatly > appreciated. I don't believe anyone

Re: [U-Boot] [U-Boot, 2/2] dfu:ext4:fix Fix DFU upload functionality

2013-07-05 Thread Lukasz Majewski
On Fri, 05 Jul 2013 16:32:03 +0200, Marek Vasut wrote: Hi, > Dear Tom Rini, > > > On 07/05/2013 09:55 AM, Marek Vasut wrote: > > > Dear Tom Rini, > > > > > >> On Wed, Jul 03, 2013 at 11:49:20PM +0200, Marek Vasut wrote: > > >>> Dear Tom Rini, > > >>> > > On Fri, Jun 28, 2013 at 06:41:50PM

Re: [U-Boot] [U-Boot, 2/2] dfu:ext4:fix Fix DFU upload functionality

2013-07-05 Thread Marek Vasut
Dear Tom Rini, > On 07/05/2013 09:55 AM, Marek Vasut wrote: > > Dear Tom Rini, > > > >> On Wed, Jul 03, 2013 at 11:49:20PM +0200, Marek Vasut wrote: > >>> Dear Tom Rini, > >>> > On Fri, Jun 28, 2013 at 06:41:50PM +0200, ??ukasz Majewski > > wrote: > > For the first eMMC read

[U-Boot] Fwd: U-Boot 2013.04: himport_r: can't insert "..."into hash table

2013-07-05 Thread Thomas O'Hara
Hi, I am using u-Boot 2013.04 to boot an AT91SAM9263-based board. I use a GCC/uClibc cross compiler which I updated to use GCC-4.7.3 and came across a strange problem (see attached log files). uBoot_GCC-4.7.1.log- Bootstrap built with GCC-4.7.3 - uBoot built

Re: [U-Boot] [U-Boot, 2/2] dfu:ext4:fix Fix DFU upload functionality

2013-07-05 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 07/05/2013 09:55 AM, Marek Vasut wrote: > Dear Tom Rini, > >> On Wed, Jul 03, 2013 at 11:49:20PM +0200, Marek Vasut wrote: >>> Dear Tom Rini, >>> On Fri, Jun 28, 2013 at 06:41:50PM +0200, ??ukasz Majewski wrote: > For the first eMMC

Re: [U-Boot] compiled failed when turned off gcc optimazitionAT

2013-07-05 Thread Albert ARIBAUD
Hi tiger...@viatech.com.cn, On Fri, 5 Jul 2013 18:31:50 +0800, wrote: > Hi, experts: > > Would any expert fix this question? > > It seems related MOVW instruction's usuage when turning off gcc > optimazition. > > > > If i just turned on "-O1" or "-O2", still failed to compile uboot code.

Re: [U-Boot] [U-Boot, 2/2] dfu:ext4:fix Fix DFU upload functionality

2013-07-05 Thread Marek Vasut
Dear Tom Rini, > On Wed, Jul 03, 2013 at 11:49:20PM +0200, Marek Vasut wrote: > > Dear Tom Rini, > > > > > On Fri, Jun 28, 2013 at 06:41:50PM +0200, ??ukasz Majewski wrote: > > > > For the first eMMC read of data for upload, use the "large" dfu_buf > > > > (now configurable) instead of usb reques

Re: [U-Boot] [PATCH v2 1/5] bootm: Handle errors consistently

2013-07-05 Thread Tom Rini
On Thu, Jul 04, 2013 at 01:17:07PM -0700, Simon Glass wrote: > A recent bootm fix left the error path incomplete. Reinstate this so that > failures in bootm stages are handled properly. > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Correct checking in the no-error case OK, this con

Re: [U-Boot] Ethernet support on mx6slevk board

2013-07-05 Thread Shawn Guo
On Fri, Jul 05, 2013 at 08:44:38AM -0300, Fabio Estevam wrote: > On Fri, Jul 5, 2013 at 12:42 AM, Shawn Guo wrote: > > Hi, > > > > I'm running U-Boot 2013.07-rc2 and seeing Ethernet is failed to > > initialize. Is it a known issue or something not supported yet? It's > > unlikely my setup proble

Re: [U-Boot] [PATCH 2/2] am335x_evm: Update, document Falcon Mode support

2013-07-05 Thread Tom Rini
On Thu, Jul 04, 2013 at 07:39:48AM +, Romain Izard wrote: > Tom> +A further word of warning about using eMMC and partition tables. When > Tom> +working with SD cards we can get away with erasing small areas at a > time, > Tom> +however on eMMC we must keep erases aligned to eraseblocks and th

Re: [U-Boot] [U-Boot, 2/2] dfu:ext4:fix Fix DFU upload functionality

2013-07-05 Thread Tom Rini
On Wed, Jul 03, 2013 at 11:49:20PM +0200, Marek Vasut wrote: > Dear Tom Rini, > > > On Fri, Jun 28, 2013 at 06:41:50PM +0200, ??ukasz Majewski wrote: > > > For the first eMMC read of data for upload, use the "large" dfu_buf (now > > > configurable) instead of usb request buffer allocated at compos

Re: [U-Boot] Ethernet support on mx6slevk board

2013-07-05 Thread Fabio Estevam
On Fri, Jul 5, 2013 at 9:37 AM, Shawn Guo wrote: > Ok, it's something not supported yet, and I have to stay with vendor > U-Boot for another while. I will work on adding Ethernet support for mx6slevk when I come back to the office on Wednesday. ___ U-B

Re: [U-Boot] Ethernet support on mx6slevk board

2013-07-05 Thread Fabio Estevam
On Fri, Jul 5, 2013 at 12:42 AM, Shawn Guo wrote: > Hi, > > I'm running U-Boot 2013.07-rc2 and seeing Ethernet is failed to > initialize. Is it a known issue or something not supported yet? It's > unlikely my setup problem, since I have a vendor U-Boot running the > board just fine. Ok, I just

Re: [U-Boot] Ethernet support on mx6slevk board

2013-07-05 Thread Fabio Estevam
On Fri, Jul 5, 2013 at 12:42 AM, Shawn Guo wrote: > Hi, > > I'm running U-Boot 2013.07-rc2 and seeing Ethernet is failed to > initialize. Is it a known issue or something not supported yet? It's > unlikely my setup problem, since I have a vendor U-Boot running the > board just fine. Could you p

Re: [U-Boot] Ethernet support on mx6slevk board

2013-07-05 Thread Wang Huan-B18965
Hi, Shawn, > -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] > On Behalf Of Shawn Guo > Sent: Friday, July 05, 2013 11:42 AM > To: Estevam Fabio-R49496; U-Boot-Denx > Subject: [U-Boot] Ethernet support on mx6slevk board > > Hi, > > I'm runnin

Re: [U-Boot] compiled failed when turned off gcc optimazition

2013-07-05 Thread TigerLiu
Hi, experts: Would any expert fix this question? It seems related MOVW instruction's usuage when turning off gcc optimazition. If i just turned on "-O1" or "-O2", still failed to compile uboot code. Best wishes, ___ U-Boot mailing list U-Boot@l

[U-Boot] [PATCH] arm: exynos: fix clock calculation

2013-07-05 Thread Minkyu Kang
There are differnce with clock calcuation by cpu variations. This patch will fix it according to user manual. Signed-off-by: Minkyu Kang Signed-off-by: Rajeshwari Shinde --- arch/arm/cpu/armv7/exynos/clock.c | 37 + 1 file changed, 33 insertions(+), 4 delet

[U-Boot] please pull u-boot-samsung master

2013-07-05 Thread Minkyu Kang
Dear Albert, The following changes since commit 7737c994609ffb50194d5ddb67467ae0fcd8f775: net2big_v2: initialize LEDs at startup (2013-06-20 14:01:23 +0530) are available in the git repository at: git://git.denx.de/u-boot-samsung master for you to fetch changes up to 9dfa3d0734df4aad107def

Re: [U-Boot] [PATCH] power:bat:trats: Break battery charging with ctrl+C

2013-07-05 Thread Minkyu Kang
On 25/06/13 22:28, Lukasz Majewski wrote: > Add support for disabling battery charging with ctrl+C keyboard > combination pressed. > Moreover the battery update is done more frequently. > > Signed-off-by: Lukasz Majewski > Cc: Tom Rini > --- > drivers/power/battery/bat_trats.c | 13 +-

Re: [U-Boot] [PATCH] arm:trats: Increase malloc pool size (for DFU ext4 transfers)

2013-07-05 Thread Minkyu Kang
On 29/06/13 01:43, Lukasz Majewski wrote: > Commit: > dfu: make data buffer size configurable > SHA1: 89a72b2e0e141042c9109185e02d39b2107ffc62 > > replaced statically allocated buffers with one allocated with memalign. > > Malloc pool size of 1MiB was too small, since we needed bigger buffer to >

Re: [U-Boot] [PATCH v2] dfu: Update DFU's authorship history

2013-07-05 Thread Stefan Schmidt
Hello. > The DFU's state machine original implementation author and copyright were > missing. > > Signed-off-by: Lukasz Majewski Acked-by: Stefan Schmidt > > --- > Changes for v2: > - Add the whole Harald's development history > --- > drivers/usb/gadget/f_dfu.c |7 +++ > 1 file change

Re: [U-Boot] [PATCH 0/4 V4]EXYNOS: Convert Assembly code to c and make it common

2013-07-05 Thread Minkyu Kang
On 04/07/13 15:59, Rajeshwari Shinde wrote: > Convert the assembly code in board/samsung to c and move the same to arch/arm. > lds file made common across SMDKV310, Origen and SMDK5250. > Add the power reset and exit wakeup api for exynos. > Initialise GPIO for uart in Origen and SMDKV310 using pin

[U-Boot] [PATCH v2] dfu: Update DFU's authorship history

2013-07-05 Thread Lukasz Majewski
The DFU's state machine original implementation author and copyright were missing. Signed-off-by: Lukasz Majewski --- Changes for v2: - Add the whole Harald's development history --- drivers/usb/gadget/f_dfu.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/gadget/f_df

Re: [U-Boot] [PATCH] dfu: Update DFU's authorship history

2013-07-05 Thread Stefan Schmidt
Hello. > The DFU's state machine original implementation author and copyright were > missing. > > Signed-off-by: Lukasz Majewski > --- > drivers/usb/gadget/f_dfu.c |4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/usb/gadget/f_dfu.c b/drivers/usb/gadget/f_dfu.c > index e3fa

[U-Boot] [PATCH] dfu: Update DFU's authorship history

2013-07-05 Thread Lukasz Majewski
The DFU's state machine original implementation author and copyright were missing. Signed-off-by: Lukasz Majewski --- drivers/usb/gadget/f_dfu.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/gadget/f_dfu.c b/drivers/usb/gadget/f_dfu.c index e3fa0e3..6adf15c 100644 --- a/

Re: [U-Boot] [U-boot] DFU tools copyright

2013-07-05 Thread Stefan Schmidt
Hello. > On Thu, 04 Jul 2013 22:08:12 +0100, Stefan Schmidt wrote: >> Hello. >> >> On Thu, 2013-07-04 at 11:37, Lukasz Majewski wrote: >> > On Thu, 04 Jul 2013 17:20:34 +0800, tiger...@viatech.com.cn wrote: >> > >> > > Hi, experts: >> > > I found DFU tool code had been put in drivers/dfu directory

[U-Boot] [PATCH] common: board_f: Fix build error when CONFIG_TRACE is not defined

2013-07-05 Thread Tushar Behera
When CONFIG_TRACE is not defined, definition of trace_early_init is not compiled and we get following error. common/libcommon.o:(.data.init_sequence_f+0xc): undefined reference to `trace_early_init' While at it, also define reserve_trace only if CONFIG_TRACE is defined. CC: Simon Glass Signed-

Re: [U-Boot] [U-boot] DFU tools copyright

2013-07-05 Thread Lukasz Majewski
On Thu, 04 Jul 2013 22:08:12 +0100, Stefan Schmidt wrote: > Hello. > > On Thu, 2013-07-04 at 11:37, Lukasz Majewski wrote: > > On Thu, 04 Jul 2013 17:20:34 +0800, tiger...@viatech.com.cn wrote: > > > > > Hi, experts: > > > I found DFU tool code had been put in drivers/dfu directory. > > > Previou

Re: [U-Boot] : MACB TX timeout

2013-07-05 Thread Bo Shen
Hi Jagan, On 7/5/2013 10:48, Jagan Teki wrote: Hi Bo Shen, Thanks for your info. On Fri, Jul 5, 2013 at 7:04 AM, Bo Shen wrote: Hi Jagan Teki, On 7/5/2013 03:36, Jagan Teki wrote: Hi, Did anyone find this TX timeout issue on macb(gmac)? I observed this issue when i enable d-cache. Log:

Re: [U-Boot] [PATCH v3 2/2] cmd_sf: let "sf update" preserve the final part of the last sector

2013-07-05 Thread Gerlando Falauto
Hi Jagan, On 07/04/2013 06:26 PM, Jagan Teki wrote: On Thu, Jul 4, 2013 at 12:03 AM, Gerlando Falauto wrote: Since "sf update" erases the last block as a whole, but only rewrites the meaningful initial part of it, the rest would be left erased, potentially erasing meaningful information. So, a

Re: [U-Boot] [RESEND PATCH 1/4] arm:goni: Update configuration for goni target

2013-07-05 Thread Lukasz Majewski
On Fri, 05 Jul 2013 13:17:07 +0900, Jaehoon Chung wrote: > On 07/04/2013 07:52 PM, Lukasz Majewski wrote: > > From: Arkadiusz Wlodarczyk > > > > Configuration file for GONI has been updated to support FAT file > > system, new mmc partitioning scheme and read linux kernel from eMMC > > instead of