Re: [U-Boot] [PATCH v2] drivers/net/designware - fix alignment of buffer descriptors

2013-09-26 Thread Alexey Brodkin
On 09/26/2013 09:26 AM, Mischa Jonker wrote: > Vipin wrote: >> I have also faced this problem before. May be a better solution is to >> place all the struct and buffer declarations at the very start of >> dw_eth_dev structure (off-course with a comment that these should not >> be moved). It may avo

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread Wolfgang Denk
Dear York, In message <52437209.9020...@freescale.com> you wrote: > > As David Feng post his patch set to add ARMv8 support, I am trying to > enable it for Freescale implementation. Let's name it as LS2 for this > discussion. I am thinking to reuse as much as possible for existing > codes, which

Re: [U-Boot] [PATCH v4] usb: new board-specific USB init interface

2013-09-26 Thread Mateusz Zalega
On 09/26/13 03:50, Marek Vasut wrote: > Dear Mateusz Zalega, > >> On 09/19/13 16:34, Marek Vasut wrote: >>> I checked powerpc and "arches" "glacier" and "glacier_nand" don't build. >>> Can you please check and fix ? You can get the ELDK 5.4 PPC toolchain >>> from [1]. >>> >>> http://www.denx.de/wi

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread FengHua
> -原始邮件- > 发件人: "sun york-R58495" > 发送时间: 2013年9月26日 星期四 > 收件人: FengHua > 抄送: "albert.u.boot" , trini , "Wood > Scott-B07421" , u-boot > 主题: Re: [U-Boot] When to create a SoC directory for ARM > > > On Sep 25, 2013, at 10:23 PM, FengHua wrote: > > > > Date: Wed, 25 Sep 2013 20:10:

[U-Boot] [PATCH v2 16/19] disk: convert a makefile to Kbuild style

2013-09-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v2 - No change disk/Makefile | 34 ++ 1 file changed, 6 insertions(+), 28 deletions(-) diff --git a/disk/Makefile b/disk/Makefile index 2b04e03..48abec8 100644 --- a/disk/Makefile +++ b/disk/Makefile @@ -5,33 +5,1

[U-Boot] [PATCH v2 14/19] net: convert a makefile to Kbuild style

2013-09-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v2 - No change net/Makefile | 46 -- 1 file changed, 12 insertions(+), 34 deletions(-) diff --git a/net/Makefile b/net/Makefile index 4c9a97f..31aadc2 100644 --- a/net/Makefile +++ b/net/Makefile @@ -5

[U-Boot] [PATCH v2 07/19] ARM: imx-common: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Multiple targets are included in arch/arm/imx-common/Makefile In order to refactor it, we need to tweak Makefile and spl/Makefile. Signed-off-by: Masahiro Yamada --- Changes for v2 - No change Makefile | 8 +--- arch/arm/imx-common/Makefile | 35 ++---

[U-Boot] [PATCH v2 01/19] Makefile: prepare for using Kbuild-style Makefile

2013-09-26 Thread Masahiro Yamada
In every sub directory, Makefile is like follows: include $(TOPDIR)/config.mk LIB = $(obj)libfoo.o COBJS := ... COBJS += ... SOBJS := ... SRCS:= $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS:= $(addprefix $(obj),$(COBJS) $(SOBJS)) all: $(obj).depend $(LIB)

[U-Boot] [PATCH v2 13/19] common: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v2 - No change common/Makefile | 389 common/spl/Makefile | 36 + 2 files changed, 189 insertions(+), 236 deletions(-) diff --git a/common/Makefile b/common/Makefile index 288690b..74

[U-Boot] [PATCH v2 11/19] drivers: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changed for v2: - updated 6 files to rebase on the master drivers/serial/Makefile drivers/mmc/Makefile drivers/video/Makefile drivers/watchdog/Makefile drivers/rtc/Makefile drivers/i2c/Makefile drivers/bios_em

[U-Boot] [PATCH v2 03/19] arm926ejs: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Note1: In arch/arm/cpu/arm926ejs/spear/Makefile START := start.o was changed extra-$(CONFIG_SPL_BUILD) := start.o because spear/start.o is only used for SPL. Note2: START := start.o was missing from arch/arm/cpu/arm926ejs/mxs/Makefile. This commit simply adds extra-$(CONFIG_SPL_BUILD) := start.o

[U-Boot] [PATCH v2 04/19] arm920t: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v2 - No change arch/arm/cpu/arm920t/Makefile | 28 +++- arch/arm/cpu/arm920t/a320/Makefile| 25 ++--- arch/arm/cpu/arm920t/at91/Makefile| 33 ++--- arch/arm/c

[U-Boot] [PATCH v2 05/19] arm720t: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v2 - No change arch/arm/cpu/arm720t/Makefile | 26 ++ arch/arm/cpu/arm720t/tegra-common/Makefile | 25 ++--- arch/arm/cpu/arm720t/tegra114/Makefile | 25 ++--- arch/

[U-Boot] [PATCH v2 15/19] lib: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v2 - No change lib/Makefile| 114 ++-- lib/libfdt/Makefile | 27 + lib/lzma/Makefile | 24 +-- lib/lzo/Makefile| 24 +-- lib/rsa/Makefile| 22 +-

[U-Boot] [PATCH v2 12/19] fs: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v2 - No change fs/Makefile | 24 +--- fs/cbfs/Makefile | 24 +--- fs/cramfs/Makefile | 29 ++--- fs/ext4/Makefile | 27 ++- fs/fat/Makefile

[U-Boot] [PATCH v2 02/19] armv7: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v2: -2/19: updated 3 files to rebase on the master arch/arm/cpu/armv7/mx6/Makefile arch/arm/cpu/armv7/socfpga/Makefile arch/arm/cpu/armv7/zynq/Makefile arch/arm/cpu/armv7/Makefile | 32 --

[U-Boot] [PATCH v2 08/19] drivers: net: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v2 - No change drivers/net/Makefile | 136 --- drivers/net/fm/Makefile | 59 +++- drivers/net/npe/Makefile | 24 + drivers/net/phy/Makefile | 60 +++-- 4

[U-Boot] [PATCH v2 17/19] sandbox: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada Cc: Simon Glass --- Changes for v2 - No change arch/sandbox/cpu/Makefile | 23 +-- arch/sandbox/lib/Makefile | 25 + 2 files changed, 2 insertions(+), 46 deletions(-) diff --git a/arch/sandbox/cpu/Makefile b/arch/san

[U-Boot] [PATCH v2 10/19] drivers: usb: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v2 - No change drivers/usb/eth/Makefile | 28 ++-- drivers/usb/gadget/Makefile | 54 ++- drivers/usb/host/Makefile | 74 +++ drivers/usb/musb-new/Makefile

[U-Boot] [PATCH v2 09/19] drivers: mtd: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v2 - No change drivers/mtd/Makefile | 44 +-- drivers/mtd/nand/Makefile| 102 +-- drivers/mtd/onenand/Makefile | 27 ++-- drivers/mtd/spi/Makefile | 48 ++-

[U-Boot] [PATCH v2 19/19] board: ti: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada Cc: Tom Rini --- Changes for v2 - No change board/ti/am335x/Makefile | 29 ++--- board/ti/am3517crane/Makefile | 19 +-- board/ti/am43xx/Makefile | 29 ++--- board/ti/beagle/Makefile

[U-Boot] [PATCH v2 00/19] First step towards Kbuild: Use Kbuild style makefiles

2013-09-26 Thread Masahiro Yamada
Kbuild in U-Boot has been talked for a while and RFC patches were posted by Simon Glass. (Refer to "RFC: Add Kbuild system to U-Boot" posted by Simon, May 12, 2013) Simon's effort is a good start point but varous critical features were missing from his patch series. I have also been eager to int

[U-Boot] [PATCH v2 06/19] ARM: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v2 - No change arch/arm/cpu/arm1136/Makefile | 26 +- arch/arm/cpu/arm1136/mx31/Makefile | 27 ++- arch/arm/cpu/arm1136/mx35/Makefile | 28 ++- arch/arm/cpu/arm1176/Makefile | 26 +- a

Re: [U-Boot] [PATCH] config.mk: enable -fstack-usage only when it is desired

2013-09-26 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/25/2013 10:17 PM, Masahiro Yamada wrote: > As far as I know, gcc does not support -fstack-usage > for some targets such as blackfin, m68k, microblaze, etc. > > If -fstack-usage option is given for those targets, > gcc displays a warning message

[U-Boot] [PATCH v2 18/19] powerpc: convert makefiles to Kbuild style

2013-09-26 Thread Masahiro Yamada
Note: arch/powerpc/cpu/mpc8260/Makefile is originally like follows: -- START = start.o kgdb.o COBJS = traps.o serial_smc.o serial_scc.o cpu.o cpu_init.o speed.o \ -- COBJS-$(CONFIG_ETHER_ON_SCC) = ether_scc.o -- $(LIB): $(OBJS) $(call cmd_lin

Re: [U-Boot] [PATCH 00/19] First step towards Kbuild: Use Kbuild style makefiles

2013-09-26 Thread Masahiro Yamada
I posted v2 for this series. Best Regards Masahiro Yamada ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v4 31/36] sf: Add extended read commands support

2013-09-26 Thread thomas.langer
Hello Jagan, it seems an almost ready patch for m25p80 driver in the kernel was posted today: "[PATCHv2] drivers: mtd: devices: Add quad read support." http://thread.gmane.org/gmane.linux.drivers.mtd/48552/focus=48557 Please see how there in the function "m25p80_quad_read" the "rx_nbits" in the t

[U-Boot] [PATCH] power:pmic: prevent data abort for pmic bat command

2013-09-26 Thread Piotr Wilczek
This patch prevents data abort when pmic bat command is called on non-batery pmic device. Signed-off-by: Piotr Wilczek Signed-off-by: Kyungmin Park CC: Lukasz Majewski CC: Minkyu Kang --- drivers/power/power_core.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-)

Re: [U-Boot] [PATCH 1/1] am33xx: add CONFIG_SYS_NAND_DEVICE_WIDTH to determine NAND device bus-width

2013-09-26 Thread Gupta, Pekon
(re-sending by dropping cc-list, as u-boot maillist moderated earlier mail saying "Too many recipients to the message" :-) ) > From: Scott Wood [mailto:scottw...@freescale.com] > > > On Wed, 2013-09-25 at 22:08 +, Woodruff, Richard wrote: > > Short comment. Apologies for top posting: > >

[U-Boot] [PATCH v13 3/6] generic board patch of manual reloc and zero gd_t

2013-09-26 Thread fenghua
From: David Feng Signed-off-by: David Feng --- common/board_f.c | 18 +++--- common/board_r.c | 20 +++- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index 0ada1af..5891ad2 100644 --- a/common/board_f.c +++ b

[U-Boot] [PATCH v13 6/6] add weak entry definition

2013-09-26 Thread fenghua
From: David Feng Signed-off-by: David Feng --- include/linux/linkage.h |4 1 file changed, 4 insertions(+) diff --git a/include/linux/linkage.h b/include/linux/linkage.h index 9ddf830..2a2848a 100644 --- a/include/linux/linkage.h +++ b/include/linux/linkage.h @@ -49,6 +49,10 @@

[U-Boot] [PATCH v13 2/6] board support of vexpress_aemv8a

2013-09-26 Thread fenghua
From: David Feng Signed-off-by: David Feng Signed-off-by: Bhupesh Sharma --- board/armltd/dts/vexpress64.dts | 439 ++ board/armltd/vexpress64/Makefile | 27 +++ board/armltd/vexpress64/vexpress64.c | 70 ++ boards.cfg

[U-Boot] [PATCH v13 0/6] arm64 patch

2013-09-26 Thread fenghua
From: David Feng Changes for v13: - fix the bug of board_r.c and arm/lib/board.c due to CONFIG_NEED_MANUAL_RELOC. adjust initr_serial() in board_r.c to the first entry of init_sequence_r[] and relocate serial_initialize() in arm/lib/board.c, routines of serial_device should be r

[U-Boot] [PATCH v13 4/6] 64bit initrd start address support

2013-09-26 Thread fenghua
From: David Feng Signed-off-by: David Feng --- common/fdt_support.c | 66 ++ 1 file changed, 34 insertions(+), 32 deletions(-) diff --git a/common/fdt_support.c b/common/fdt_support.c index b034c98..9bc5821 100644 --- a/common/fdt_support.c +++

[U-Boot] [PATCH v13 5/6] remove compiling warnings

2013-09-26 Thread fenghua
From: David Feng Signed-off-by: David Feng --- common/cmd_pxe.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/cmd_pxe.c b/common/cmd_pxe.c index a2fb50a..df58522 100644 --- a/common/cmd_pxe.c +++ b/common/cmd_pxe.c @@ -57,7 +57,7 @@ static int format_mac_pxe(

Re: [U-Boot] [PATCH] config.mk: enable -fstack-usage only when it is desired

2013-09-26 Thread Michal Simek
On 09/26/2013 01:52 PM, Tom Rini wrote: > On 09/25/2013 10:17 PM, Masahiro Yamada wrote: >> As far as I know, gcc does not support -fstack-usage >> for some targets such as blackfin, m68k, microblaze, etc. Please remove microblaze from this list. Our gcc support fstack-usage. If your microblaze g

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread York Sun
On 09/26/2013 03:49 AM, FengHua wrote: > > > >> -原始邮件- >> 发件人: "sun york-R58495" >> 发送时间: 2013年9月26日 星期四 >> 收件人: FengHua >> 抄送: "albert.u.boot" , trini , "Wood >> Scott-B07421" , u-boot >> 主题: Re: [U-Boot] When to create a SoC directory for ARM >> >> >> On Sep 25, 2013, at 10:23 PM,

Re: [U-Boot] [PATCH] tools/imximage.c: Fix compiling warning

2013-09-26 Thread Stefano Babic
Hi York, On 20/09/2013 21:24, York Sun wrote: > Convert set_hdr_func(struct imx_header *imxhdr) to set_hdr_func(void) > to get rid of the warning > > warning: ‘imxhdr’ is used uninitialized in this function > > Signed-off-by: York Sun > --- > tools/imximage.c |8 > 1 file changed,

Re: [U-Boot] [PATCH] I2C: Zynq: Support for 0-length register address

2013-09-26 Thread Michael Burr
Michael, Again, sorry. I will continue to work on improving my style for commit messages in the future. Michael Burr  //  Software Engineer II Logic PD T // 612.436.7273 NOTICE: Important disclaimers and limitations apply to this email. Please see this web page for our disclaimers and limitation

[U-Boot] [PATCH] I2C:Zynq: Adapt this driver to the new model

2013-09-26 Thread Michael Burr
Signed-off-by: Michael Burr Cc: Heiko Schocher Cc: Michal Simek --- === Note: this patch depends on the previous patch titled === "[PATCH] I2C: Zynq: Support for 0-length register address" === submitted 24 Sep. 2013. Tested on Xilinx ZC702 eval board: Select various I2C chips using TI PCA9548 b

Re: [U-Boot] [PATCH V5 00/18] Make mv_udc work for i.mx6

2013-09-26 Thread Stefano Babic
Hi Troy, Marek, On 26/09/2013 03:41, Troy Kisky wrote: > Stefano, if you would you like to take the last 3 patches, > you should apply "i.MX6Q/DLS: Add MX6_PAD_GPIO_1__USB_OTG_ID" > from Eric Nelson first. Eric's patch is already in my queue, I will apply it. > > The patches are mostly indepen

Re: [U-Boot] [PATCH 0/1] Fix ethernet regression on pcm051

2013-09-26 Thread Mugunthan V N
On 9/25/2013 5:21 AM, Lars Poeschel wrote: > From: Lars Poeschel > > I compiled and tried v2013.10-rc2 on pcm051 and it fails booting over > tftp. I could bisect 2bf36ac638ab2db9f0295aa47064976eeebf80c1 as the > cause of the problem. It moves bd_ram_ofs from the cpsw driver to the > board files. A

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread York Sun
On 09/26/2013 03:49 AM, FengHua wrote: > > > >> -原始邮件- >> 发件人: "sun york-R58495" >> 发送时间: 2013年9月26日 星期四 >> 收件人: FengHua >> 抄送: "albert.u.boot" , trini , "Wood >> Scott-B07421" , u-boot >> 主题: Re: [U-Boot] When to create a SoC directory for ARM >> >> >> On Sep 25, 2013, at 10:23 PM,

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread Scott Wood
On Thu, 2013-09-26 at 13:23 +0800, FengHua wrote: > > Date: Wed, 25 Sep 2013 20:10:13 -0500 > > From: Scott Wood > > Subject: Re: [U-Boot] When to create a SoC directory for ARM > > To: sun york-R58495 > > Cc: Rini , Wood Scott-B07421 , > > "u-boot@lists.denx.de" , Tom > > Message-ID: <138015

[U-Boot] MAKEALL build error on usb/master branch

2013-09-26 Thread Troy Kisky
Hi Marek I thought you might like to be aware of this error, if not already known. Thanks Troy /u-boot-imx6/LOG$ cat mx28evk.ERR mxsimage.c:18:25: fatal error: openssl/evp.h: No such file or directory compilation terminated. make[1]: *** [mxsimage.o] Error 1 make[1]: *** Waiting for unfinished

Re: [U-Boot] [PATCH V5 00/18] Make mv_udc work for i.mx6

2013-09-26 Thread Troy Kisky
On 9/26/2013 9:18 AM, Stefano Babic wrote: Hi Troy, Marek, On 26/09/2013 03:41, Troy Kisky wrote: Stefano, if you would you like to take the last 3 patches, you should apply "i.MX6Q/DLS: Add MX6_PAD_GPIO_1__USB_OTG_ID" from Eric Nelson first. Eric's patch is already in my queue, I will apply

Re: [U-Boot] [PATCH v10 1/6] core support of arm64

2013-09-26 Thread Scott Wood
Sigh. It wasn't. It's a hypothetical possibility to help guide the decision of whether to classify a piece of code as "arm64" or "armv8". -Scott On Thu, 2013-09-26 at 10:30 +0530, Mj Embd wrote: > When "64-bit ARMv9" was announced ? > > > On Thu, Sep 26, 2013 at 4:46 AM, Scott Wood > wrote:

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread Sharma Bhupesh-B45370
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] > On Behalf Of Scott Wood > Sent: Friday, September 27, 2013 12:53 AM > To: FengHua > Cc: trini; sun york-R58495; u-boot > Subject: Re: [U-Boot] When to create a SoC directory for ARM > > On Th

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread York Sun
On 09/26/2013 12:46 PM, Sharma Bhupesh-B45370 wrote: > >> -Original Message- >> From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] >> On Behalf Of Scott Wood >> Sent: Friday, September 27, 2013 12:53 AM >> To: FengHua >> Cc: trini; sun york-R58495; u-boot >> Subject:

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread Sharma Bhupesh-B45370
> -Original Message- > From: sun york-R58495 > Sent: Friday, September 27, 2013 1:19 AM > To: Sharma Bhupesh-B45370; Wood Scott-B07421; 'FengHua' > Cc: 'trini'; sun york-R58495; 'u-boot' > Subject: Re: [U-Boot] When to create a SoC directory for ARM > > On 09/26/2013 12:46 PM, Sharma Bhup

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread Scott Wood
On Thu, 2013-09-26 at 12:48 -0700, York Sun wrote: > On 09/26/2013 12:46 PM, Sharma Bhupesh-B45370 wrote: > > > >> -Original Message- > >> From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] > >> On Behalf Of Scott Wood > >> Sent: Friday, September 27, 2013 12:53 AM >

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread York Sun
On 09/26/2013 12:55 PM, Scott Wood wrote: > On Thu, 2013-09-26 at 12:48 -0700, York Sun wrote: >> On 09/26/2013 12:46 PM, Sharma Bhupesh-B45370 wrote: >>> -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Scott Wood

Re: [U-Boot] [PATCH 1/1] am33xx: add CONFIG_SYS_NAND_DEVICE_WIDTH to determine NAND device bus-width

2013-09-26 Thread Scott Wood
On Thu, 2013-09-26 at 13:14 +, Gupta, Pekon wrote: > > > From: Gupta, Pekon > > > > > > NAND driver needs to know bus-width of the connected NAND device, in > > order to perform proper I/O and initialize itself. Currently there is no > > CONFIG > > option to provide this information to NAND d

Re: [U-Boot] [PATCH 1/1] am33xx: add CONFIG_SYS_NAND_DEVICE_WIDTH to determine NAND device bus-width

2013-09-26 Thread Gupta, Pekon
> From: Scott Wood [mailto:scottw...@freescale.com] > > > On Wed, 2013-09-25 at 22:08 +, Woodruff, Richard wrote: > > Short comment. Apologies for top posting: > > > > The first incarnations of SPL and loader mainly cared about the boot flash > device. > > Is there an SPL that cares about so

Re: [U-Boot] MAKEALL build error on usb/master branch

2013-09-26 Thread Marek Vasut
Dear Troy Kisky, > Hi Marek > > I thought you might like to be aware of this error, if not already known. Known, when building for MXS (mx23 and mx28), you need libssl-dev installed (openssl development libs and headers). Same rule applies when you use signed FIT images. So, solution is to in

Re: [U-Boot] [PATCH V5 00/18] Make mv_udc work for i.mx6

2013-09-26 Thread Marek Vasut
Dear Troy Kisky, > On 9/26/2013 9:18 AM, Stefano Babic wrote: > > Hi Troy, Marek, > > > > On 26/09/2013 03:41, Troy Kisky wrote: > >> Stefano, if you would you like to take the last 3 patches, > >> you should apply "i.MX6Q/DLS: Add MX6_PAD_GPIO_1__USB_OTG_ID" > >> from Eric Nelson first. > > > >

[U-Boot] [PATCH 02/11] env_mmc.c: Make the non-redundant env_relocate_spec use malloc not stack

2013-09-26 Thread Tom Rini
Switch the case of non-redundant non-embedded environment to use malloc to allocate buffers, rather than place them on the stack, like the redundant case does. Signed-off-by: Tom Rini --- common/env_mmc.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/comm

[U-Boot] [PATCH 00/11] NAND/MMC environment in SPL, Falcon Mode enhancements

2013-09-26 Thread Tom Rini
Hey all, This series fixes a few bugs / issues, and then sets things up so that we can use MMC (or NAND) for environment in SPL, in addition to NOR flash or simply built-in. The end result is that Falcon Mode becomes much more configurable via the environment, and thus from within Linux. -- Tom

[U-Boot] [PATCH 01/11] fw_env.c: Increase max dev path to 32

2013-09-26 Thread Tom Rini
Currently our limit is too small to allow for /dev/mmcblk0boot0 to work, for example. Expand to 32 for future needs. Signed-off-by: Tom Rini --- tools/env/fw_env.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index 577ce2d..bf5c5

[U-Boot] [PATCH 06/11] spl: Make CONFIG_SPL_ENV_SUPPORT have to be set by all users of env in SPL

2013-09-26 Thread Tom Rini
Previously, we forced a "no environment" choice on network using SPL. Now we allow all users to set where they want to look for their environment. This means we have to set CONFIG_SPL_ENV_SUPPORT now for ti_armv7_common.h. Signed-off-by: Tom Rini --- common/Makefile |4 +--

[U-Boot] [PATCH 03/11] env_mmc.c: Allow environment to be used within SPL

2013-09-26 Thread Tom Rini
Inside of SPL we only concern ourself with one MMC device, so instead of being able to use CONFIG_SYS_MMC_ENV_DEV we need to use 0 in SPL. Switch the code to use a 'dev' variable to facilitate this. Signed-off-by: Tom Rini --- common/env_mmc.c | 37 ++--- 1 file

[U-Boot] [PATCH 04/11] mtd: Add a CONFIG_SPL_MTD_SUPPORT for a more full NAND subsystem in SPL

2013-09-26 Thread Tom Rini
This mainly converts the am335x_spl_bch driver to the "normal" format which means a slight change to nand_info within the driver. Cc: Scott Wood Signed-off-by: Tom Rini --- drivers/mtd/nand/am335x_spl_bch.c | 54 ++--- include/configs/ti_armv7_common.h |1 +

[U-Boot] [PATCH 07/11] am335x_evm: Make SPL_OS also check the boot_os variable for falcon mode

2013-09-26 Thread Tom Rini
We use the same variable as a3m071 in the environment to determine if we should boot into Linux or U-Boot. This is useful on boards like Beaglebone Black or AM335x GP EVM where we have persistent storage for the environment. Signed-off-by: Tom Rini --- board/ti/am335x/board.c | 13 +++

[U-Boot] [PATCH 05/11] mtd: Build nand_util.o for CONFIG_ENV_IS_IN_NAND in SPL

2013-09-26 Thread Tom Rini
Cc: Scott Wood Signed-off-by: Tom Rini --- drivers/mtd/nand/Makefile |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 366dee6..bb5b29d 100644 --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile @@ -24,6 +24,7 @@ COBJS-

[U-Boot] [PATCH 09/11] README.falcon: Document environment variables for falcon mode

2013-09-26 Thread Tom Rini
Signed-off-by: Tom Rini --- doc/README.falcon |9 + 1 file changed, 9 insertions(+) diff --git a/doc/README.falcon b/doc/README.falcon index 6357b1e..bccf6c9 100644 --- a/doc/README.falcon +++ b/doc/README.falcon @@ -80,6 +80,15 @@ spl_start_uboot() : required Returns

[U-Boot] [PATCH 11/11] spl_mmc/CONFIG_SPL_OS_BOOT: Allow environment to determine what to boot

2013-09-26 Thread Tom Rini
We add two new environment variables, falcon_args_file and falcon_image_file, which when set will override the compiled in default values for falcon mode. Signed-off-by: Tom Rini --- common/spl/spl_mmc.c | 28 +++- doc/README.falcon|4 2 files changed, 31 i

[U-Boot] [PATCH 08/11] README: Add CONFIG_SPL_OS_BOOT to README

2013-09-26 Thread Tom Rini
Signed-off-by: Tom Rini --- README |4 1 file changed, 4 insertions(+) diff --git a/README b/README index 20ba650..ce8fb37 100644 --- a/README +++ b/README @@ -3031,6 +3031,10 @@ FIT uImage format: supports MMC, NAND and YMODEM loading of U-Boot and NAND

[U-Boot] [PATCH 10/11] a3m071: Make spl_start_uboot test like getenv_yesno does

2013-09-26 Thread Tom Rini
This change makes the behaviour slightly more rebust and will match other implementations which can use getenv_yesno directly. Cc: Stefan Roese Signed-off-by: Tom Rini --- board/a3m071/a3m071.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/board/a3m071/a3m071.c b/boar

Re: [U-Boot] MAKEALL build error on usb/master branch

2013-09-26 Thread Troy Kisky
On 9/26/2013 1:22 PM, Marek Vasut wrote: Dear Troy Kisky, Hi Marek I thought you might like to be aware of this error, if not already known. Known, when building for MXS (mx23 and mx28), you need libssl-dev installed (openssl development libs and headers). Same rule applies when you use signe

Re: [U-Boot] [PATCH 04/11] mtd: Add a CONFIG_SPL_MTD_SUPPORT for a more full NAND subsystem in SPL

2013-09-26 Thread Scott Wood
On Thu, 2013-09-26 at 16:28 -0400, Tom Rini wrote: > This mainly converts the am335x_spl_bch driver to the "normal" format > which means a slight change to nand_info within the driver. > > Cc: Scott Wood > Signed-off-by: Tom Rini > --- > drivers/mtd/nand/am335x_spl_bch.c | 54 > +

Re: [U-Boot] [PATCH 05/11] mtd: Build nand_util.o for CONFIG_ENV_IS_IN_NAND in SPL

2013-09-26 Thread Scott Wood
On Thu, 2013-09-26 at 16:28 -0400, Tom Rini wrote: > Cc: Scott Wood > Signed-off-by: Tom Rini > --- > drivers/mtd/nand/Makefile |1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile > index 366dee6..bb5b29d 100644 > --- a/drivers/mtd/n

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread Scott Wood
On Thu, 2013-09-26 at 12:57 -0700, York Sun wrote: > On 09/26/2013 12:55 PM, Scott Wood wrote: > > On Thu, 2013-09-26 at 12:48 -0700, York Sun wrote: > >> On 09/26/2013 12:46 PM, Sharma Bhupesh-B45370 wrote: > >>> > -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u

Re: [U-Boot] [PATCH 05/11] mtd: Build nand_util.o for CONFIG_ENV_IS_IN_NAND in SPL

2013-09-26 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/26/2013 04:42 PM, Scott Wood wrote: > On Thu, 2013-09-26 at 16:28 -0400, Tom Rini wrote: >> Cc: Scott Wood >> Signed-off-by: Tom Rini >> --- >> drivers/mtd/nand/Makefile |1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/mt

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread York Sun
On 09/26/2013 01:44 PM, Scott Wood wrote: > On Thu, 2013-09-26 at 12:57 -0700, York Sun wrote: >> On 09/26/2013 12:55 PM, Scott Wood wrote: >>> On Thu, 2013-09-26 at 12:48 -0700, York Sun wrote: On 09/26/2013 12:46 PM, Sharma Bhupesh-B45370 wrote: > >> -Original Message- >>

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread Scott Wood
On Thu, 2013-09-26 at 13:46 -0700, York Sun wrote: > On 09/26/2013 01:44 PM, Scott Wood wrote: > > On Thu, 2013-09-26 at 12:57 -0700, York Sun wrote: > >> On 09/26/2013 12:55 PM, Scott Wood wrote: > >>> On Thu, 2013-09-26 at 12:48 -0700, York Sun wrote: > On 09/26/2013 12:46 PM, Sharma Bhupesh

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/26/2013 04:44 PM, Scott Wood wrote: > On Thu, 2013-09-26 at 12:57 -0700, York Sun wrote: >> On 09/26/2013 12:55 PM, Scott Wood wrote: >>> On Thu, 2013-09-26 at 12:48 -0700, York Sun wrote: On 09/26/2013 12:46 PM, Sharma Bhupesh-B45370 wrote:

Re: [U-Boot] Getting U-Boot running on Toradex Colibri T20 on Iris board

2013-09-26 Thread Stefan Agner
Am 2013-08-07 10:15, schrieb Andrzej Telszewski: > Hi, > > I'm trying to get the U-Boot running on the Iris board with the > Toradex Colibri T20 module. I was able to flash the U-Boot and it > starts but then immediately stops with the only message being: > > U-Boot 2013.07 (Aug 06 2013 - 17:47:4

Re: [U-Boot] [PATCH 05/11] mtd: Build nand_util.o for CONFIG_ENV_IS_IN_NAND in SPL

2013-09-26 Thread Scott Wood
On Thu, 2013-09-26 at 16:45 -0400, Tom Rini wrote: > On 09/26/2013 04:42 PM, Scott Wood wrote: > > On Thu, 2013-09-26 at 16:28 -0400, Tom Rini wrote: > >> Cc: Scott Wood > >> Signed-off-by: Tom Rini > >> --- > >> drivers/mtd/nand/Makefile |1 + > >> 1 file changed, 1 insertion(+) > >> > >> d

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread Scott Wood
On Thu, 2013-09-26 at 16:49 -0400, Tom Rini wrote: > On 09/26/2013 04:44 PM, Scott Wood wrote: > > On Thu, 2013-09-26 at 12:57 -0700, York Sun wrote: > >> On 09/26/2013 12:55 PM, Scott Wood wrote: > >>> On Thu, 2013-09-26 at 12:48 -0700, York Sun wrote: > On 09/26/2013 12:46 PM, Sharma Bhupesh

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/26/2013 04:59 PM, Scott Wood wrote: > On Thu, 2013-09-26 at 16:49 -0400, Tom Rini wrote: >> On 09/26/2013 04:44 PM, Scott Wood wrote: >>> On Thu, 2013-09-26 at 12:57 -0700, York Sun wrote: On 09/26/2013 12:55 PM, Scott Wood wrote: > On T

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread York Sun
On 09/26/2013 02:03 PM, Tom Rini wrote: > On 09/26/2013 04:59 PM, Scott Wood wrote: >> On Thu, 2013-09-26 at 16:49 -0400, Tom Rini wrote: >>> On 09/26/2013 04:44 PM, Scott Wood wrote: On Thu, 2013-09-26 at 12:57 -0700, York Sun wrote: > On 09/26/2013 12:55 PM, Scott Wood wrote: >> On T

Re: [U-Boot] [PATCH 05/11] mtd: Build nand_util.o for CONFIG_ENV_IS_IN_NAND in SPL

2013-09-26 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/26/2013 04:51 PM, Scott Wood wrote: > On Thu, 2013-09-26 at 16:45 -0400, Tom Rini wrote: >> On 09/26/2013 04:42 PM, Scott Wood wrote: >>> On Thu, 2013-09-26 at 16:28 -0400, Tom Rini wrote: Cc: Scott Wood Signed-off-by: Tom Rini -

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread Scott Wood
On Thu, 2013-09-26 at 14:07 -0700, York Sun wrote: > On 09/26/2013 02:03 PM, Tom Rini wrote: > > On 09/26/2013 04:59 PM, Scott Wood wrote: > >> On Thu, 2013-09-26 at 16:49 -0400, Tom Rini wrote: > >>> On 09/26/2013 04:44 PM, Scott Wood wrote: > On Thu, 2013-09-26 at 12:57 -0700, York Sun wrote

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread York Sun
On 09/26/2013 02:26 PM, Scott Wood wrote: > On Thu, 2013-09-26 at 14:07 -0700, York Sun wrote: >> On 09/26/2013 02:03 PM, Tom Rini wrote: >>> On 09/26/2013 04:59 PM, Scott Wood wrote: On Thu, 2013-09-26 at 16:49 -0400, Tom Rini wrote: > On 09/26/2013 04:44 PM, Scott Wood wrote: >> On T

Re: [U-Boot] When to create a SoC directory for ARM

2013-09-26 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/26/2013 05:32 PM, York Sun wrote: > On 09/26/2013 02:26 PM, Scott Wood wrote: >> On Thu, 2013-09-26 at 14:07 -0700, York Sun wrote: >>> On 09/26/2013 02:03 PM, Tom Rini wrote: On 09/26/2013 04:59 PM, Scott Wood wrote: > On Thu, 2013-09-2

Re: [U-Boot] [PATCH v4 34/36] sf: Set quad enable bit support

2013-09-26 Thread Simon Glass
Hi Jagan, On Tue, Sep 24, 2013 at 12:20 PM, Jagannadha Sutradharudu Teki wrote: > This patch provides support to set the quad enable bit on flash. > > quad enable bit needs to set before performing any quad IO > operations on respective SPI flashes. > > Signed-off-by: Jagannadha Sutradharudu Teki

Re: [U-Boot] [PATCH v4 00/36] sf: Add common probe and extended/quad read/write cmds support

2013-09-26 Thread Simon Glass
Hi Jagan, On Tue, Sep 24, 2013 at 12:19 PM, Jagannadha Sutradharudu Teki wrote: > This patch series is a combination of > "sf: Add common probe support" > "sf: Add support for extended/quad read and write commands" > http://www.mail-archive.com/u-boot@lists.denx.de/msg121668.html > http://u-boot.

Re: [U-Boot] [PATCH v4 17/36] sf: Add proper comment style on spi_flash structure

2013-09-26 Thread Simon Glass
Hi Jagan, On Tue, Sep 24, 2013 at 12:19 PM, Jagannadha Sutradharudu Teki wrote: > Added proper comment style on spi_flash structure to make > more readable. > > Signed-off-by: Jagannadha Sutradharudu Teki > --- > Changes for v4: > - none > Changes for v3: > - none > Changes for v

Re: [U-Boot] [PATCH v4] sf: probe: Add support for S25FL* flash parts

2013-09-26 Thread Simon Glass
Hi Jagan, On Tue, Sep 24, 2013 at 12:19 PM, Jagannadha Sutradharudu Teki wrote: > Added S25FL* parts are which are avilable in spi_flash_probe_legacy.c. > > Updated the sector_size attributes as per the flash parts. > Looks fine for with this sector_size for computing the size > of flash. > > Sig

[U-Boot] [PATCH] i2c: Add support for Renesas rcar

2013-09-26 Thread Nobuhiro Iwamatsu
This supports i2c controller for Renesas rcar. Signed-off-by: Hisashi Nakamura Signed-off-by: Nobuhiro Iwamatsu --- drivers/i2c/Makefile | 1 + drivers/i2c/rcar_i2c.c | 289 + 2 files changed, 290 insertions(+) create mode 100644 drivers/i2c/

Re: [U-Boot] [PATCH v2] usb: ehci: Fix test mode for connected ports

2013-09-26 Thread Simon Glass
On Tue, Sep 24, 2013 at 11:53 AM, Julius Werner wrote: > The EHCI controller has some very specific requirements for the USB 2.0 > port test modes, which were not closely followed in the initial test > mode commit. It demands that the host controller is completely shut down > (all ports suspended,

[U-Boot] [PATCH] udoo: Add initial support for mx6q udoo board

2013-09-26 Thread Fabio Estevam
From: Fabio Estevam Add basic support for mx6q udoo board. For further information about Udoo board: http://www.udoo.org/ Tested booting a mainline device tree kernel and a Yocto rootfs from mmc. Signed-off-by: Fabio Estevam --- board/udoo/Makefile| 26 +++ board/udoo/udoo.c |

Re: [U-Boot] [PATCH] config.mk: enable -fstack-usage only when it is desired

2013-09-26 Thread Masahiro Yamada
Hello Tom. > The problem here is that except for whatever arches don't support > - -fstack-usage, we always want to generate this information, to assist in > debugging stack usage problems (which can be a real problem within SPL > for example). How about ifneq($(CONFIG_M68K)$(CONFIG_...),y) ... e

[U-Boot] [PATCH] wandboard: README: Include the quad version

2013-09-26 Thread Fabio Estevam
From: Fabio Estevam Wandboard quad was not ported into U-boot at the time of writing the README. Add it to the list of Wandboard variants. Signed-off-by: Fabio Estevam --- board/wandboard/README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/wandboard/README b/b

Re: [U-Boot] [PATCH] config.mk: enable -fstack-usage only when it is desired

2013-09-26 Thread Masahiro Yamada
Hello Michal > Please remove microblaze from this list. > Our gcc support fstack-usage. I will. Thanks for helpful information! > If your microblaze gcc doesn't support this flag > then upgrade gcc version. I tested microblaze-linux-gcc 4.8.0 I downloaded from ftp://ftp.kernel.org/pub/tools/cr

Re: [U-Boot] [PATCH] i2c: Add support for Renesas rcar

2013-09-26 Thread Heiko Schocher
Hello Nobuhiro, Am 27.09.2013 01:21, schrieb Nobuhiro Iwamatsu: This supports i2c controller for Renesas rcar. Signed-off-by: Hisashi Nakamura Signed-off-by: Nobuhiro Iwamatsu --- drivers/i2c/Makefile | 1 + drivers/i2c/rcar_i2c.c | 289 +

Re: [U-Boot] [PATCH 1/1] am33xx: add CONFIG_SYS_NAND_DEVICE_WIDTH to determine NAND device bus-width

2013-09-26 Thread Gupta, Pekon
> From: Scott Wood [mailto:scottw...@freescale.com] > > On Thu, 2013-09-26 at 13:14 +, Gupta, Pekon wrote: > > > > From: Gupta, Pekon > > > > > > > > NAND driver needs to know bus-width of the connected NAND device, > in > > > order to perform proper I/O and initialize itself. Currently there

Re: [U-Boot] [PATCH] i2c: Add support for Renesas rcar

2013-09-26 Thread Nobuhiro Iwamatsu
Hi, Heiko. Thank you for your review. (2013/09/27 12:37), Heiko Schocher wrote: Hello Nobuhiro, Am 27.09.2013 01:21, schrieb Nobuhiro Iwamatsu: This supports i2c controller for Renesas rcar. Signed-off-by: Hisashi Nakamura Signed-off-by: Nobuhiro Iwamatsu --- drivers/i2c/Makefile | 1 + drive

Re: [U-Boot] [PATCH] MMC: DWMMC: Correct the CLKDIV register value

2013-09-26 Thread Rajeshwari Birje
Hi Pantelis, If Jaehoon Chung has no comments we can go with the same patch. @Jaehoon: do let me know if any better suggestions. Regards, Rajeshwari On Tue, Sep 17, 2013 at 8:57 PM, Pantelis Antoniou wrote: > Hi Rajesh, > > I guess we wait for an updated patch here? > > Regards > > -- Pantelis

[U-Boot] [PATCH v2 1/6] Makefile: support descending down to subdirectories

2013-09-26 Thread Masahiro Yamada
This patch tweaks scripts/Makefile.build to allow the build system to descend into subdirectories like Kbuild. To use this feature, use "obj-y += foo/" syntax. Example: obj-$(CONFIG_FOO) += foo/ Signed-off-by: Masahiro Yamada Cc: Simon Glass --- Changes for v2: - No change scripts/Ma

  1   2   >