Re: [U-Boot] [PATCH v2 2/4] arm:vf610:Enable the DSPI for Freescale vf610 platform

2013-12-16 Thread Chao Fu
WARNING: line over 80 characters #101: FILE: arch/arm/include/asm/arch-vf610/iomux-vf610.h:48: + VF610_PAD_PTB19__DSPI0_CS0 = IOMUX_PAD(0x00a4, 0x00a4, 1, __NA_, 0, VF610_DSPI_PAD_CTRL), WARNING: line over 80 characters #102: FILE:

Re: [U-Boot] [PATCH] ARM: bcm2835: fix mailbox timeout

2013-12-16 Thread Andre Heider
On Fri, Dec 13, 2013 at 08:48:46PM -0700, Stephen Warren wrote: My original intention was to have a 100ms timeout. However, the timer operations used return values in ms not us, so we ended up with a 100s timeout instead. Fixing this exposes that some operations need longer to operate than

Re: [U-Boot] [PATCH v6] spi: Add support SH Quad SPI driver

2013-12-16 Thread Nobuhiro Iwamatsu
Hi, Jagan. Thanks for your review. 2013/12/16 Jagan Teki jagannadh.t...@gmail.com: On Mon, Dec 2, 2013 at 1:42 PM, Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com wrote: This patch adds a driver for Renesas SoC's Quad SPI bus. This supports with 8 bits per transfer to use with SPI flash.

Re: [U-Boot] [PATCH 0/34] Switch over to real Kbuild

2013-12-16 Thread Masahiro Yamada
Hello Simon Further to this one - here is my full buildman output. There are a few PPC problems also: Your close check is highly appreciated. Thanks! 29: Makefile: move more flags to the top Makefile powerpc: + rainier_nand glacier_nand canyonlands_nand sequoia_nand haleakala_nand

[U-Boot] [PATCH 02/11 V11] Exynos5420: Add base addresses for 5420

2013-12-16 Thread Rajeshwari S Shinde
Adds base addresses of various IPs and controllers required for Exynos5420. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in V2: - None Changes in V3: - None

[U-Boot] [PATCH 04/11 V11] EXYNOS5420: Add dmc and phy_control register structure

2013-12-16 Thread Rajeshwari S Shinde
Add dmc and phy_control register structure for 5420. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com --- Changes in V10: - New patch Changes in V11: - None arch/arm/include/asm/arch-exynos/dmc.h | 167 + 1 file changed, 167

[U-Boot] [PATCH 11/11 V11] SPL: EXYNOS: Prepare for variable size SPL support

2013-12-16 Thread Rajeshwari S Shinde
When variable size SPL is used, the BL1 expects the SPL to be encapsulated differently: instead of putting the checksum at a fixed offset in the SPL blob, prepend the blob with a header including the size and the checksum. The enhancements include - adding a command line option, '--vs' to

[U-Boot] [PATCH 01/11 V11] EXYNOS5: Create a common board file

2013-12-16 Thread Rajeshwari S Shinde
Create a common board.c file for all functions which are common across all EXYNOS5 platforms. exynos_init function is provided for platform specific code. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com --- Changes in V2: - None Changes in V3: - None Changes in V4:

[U-Boot] [PATCH 06/11 V11] Exynos5420: Add DDR3 initialization for 5420

2013-12-16 Thread Rajeshwari S Shinde
This patch intends to add DDR3 initialization code for Exynos5420. Signed-off-by: Akshay Saraswat aksha...@samsung.com Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com --- Changes in V2: - Corrected a compilation issue for SMDK5250. Changes in V3: - None Changes in V4:

[U-Boot] [PATCH 08/11 V11] Exynos5420: Add base patch for SMDK5420

2013-12-16 Thread Rajeshwari S Shinde
Adding the base patch for Exynos based SMDK5420. This shall enable compilation and basic boot support for SMDK5420. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com Signed-off-by: Akshay Saraswat aksha...@samsung.com --- Changes in V2: - None Changes in V3: - None

[U-Boot] [PATCH 00/11 V11] EXYNOS5420: Add SMDK5420 board support

2013-12-16 Thread Rajeshwari S Shinde
This patch adds basic board support for SMDK5420 board. These patches are tested for booting fine on EVT1 SMDK5420. Changes in V2: - Corrected a compilation issue for SMDK5420. Changes in V3: - Add patch to support variable size SPL support - Add patch to disable SMU for

Re: [U-Boot] [PATCH 0/34] Switch over to real Kbuild

2013-12-16 Thread Masahiro Yamada
(I'm re-sending this mail becuase my previous did not apper on the ML thread.) Hello Simon Further to this one - here is my full buildman output. There are a few PPC problems also: Your close check is highly appreciated. Thanks! 29: Makefile: move more flags to the top Makefile

[U-Boot] [PATCH 03/11 V11] EXYNOS5420: Add power register structure.

2013-12-16 Thread Rajeshwari S Shinde
Add structure for power register for Exynos5420 Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com --- Changes in V10: - New patch Changes in V11: - None arch/arm/include/asm/arch-exynos/power.h | 837 +++ 1 file changed, 837 insertions(+)

[U-Boot] [PATCH 07/11 V11] Exynos5420: Add support for 5420 in pinmux and gpio

2013-12-16 Thread Rajeshwari S Shinde
Adds code in pinmux and gpio framework to support Exynos5420. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Signed-off-by: Akshay Saraswat aksha...@samsung.com Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in V2:

[U-Boot] [PATCH 10/11 V11] Config: Add initial config for SMDK5420

2013-12-16 Thread Rajeshwari S Shinde
Adding initial config for SMDK5420 to build and boot U-Boot over Exynos based SMDK5420. Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in V2: - None Changes in V3:

[U-Boot] [PATCH 09/11 V11] DTS: Add dts support for SMDK5420

2013-12-16 Thread Rajeshwari S Shinde
This patch adds dts support for SMDK5420. exynos5.dtsi created is a common file which has the nodes common to both 5420 and 5250. Signed-off-by: Akshay Saraswat aksha...@samsung.com Signed-off-by: Rajeshwari S Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in

[U-Boot] [RFC] mmc: add setdsr support

2013-12-16 Thread Markus Niebel
From: Markus Niebel markus.nie...@tqs.de The eMMC and the SD-Card specifications describe the optional SET_DSR command. During measurements at our lab we found that some cards implementing this feature having really strong driver strengts per default. This can lead to voltage peaks above the

Re: [U-Boot] [RFC] mmc: add setdsr support

2013-12-16 Thread Pantelis Antoniou
Hi Markus, On Dec 16, 2013, at 1:57 PM, Markus Niebel wrote: From: Markus Niebel markus.nie...@tqs.de The eMMC and the SD-Card specifications describe the optional SET_DSR command. During measurements at our lab we found that some cards implementing this feature having really strong

[U-Boot] [PATCH] drivers/designware_i2c - add suppor of CONFIG_SYS_I2C_EEPROM_ADDR_OVERFLOW

2013-12-16 Thread Alexey Brodkin
Since we agreed on legacy implementation of eeprom_{read|write} (http://patchwork.ozlabs.org/patch/295825/) I had to fix/make it work again DesignWare I2C driver for cases when 1 EEPROM IC fake I2C with anumber of built-in ICs with different chip addresses. Signed-off-by: Alexey Brodkin

[U-Boot] [PATCH V2] mmc: add setdsr support

2013-12-16 Thread Markus Niebel
From: Markus Niebel markus.nie...@tqs.de The eMMC and the SD-Card specifications describe the optional SET_DSR command. During measurements at our lab we found that some cards implementing this feature having really strong driver strengts per default. This can lead to voltage peaks above the

Re: [U-Boot] [PATCH V2] mmc: add setdsr support

2013-12-16 Thread Pantelis Antoniou
Hi Markus, You missed the code comment about the format of the if statement. Regards -- Pantelis On Dec 16, 2013, at 2:40 PM, Markus Niebel wrote: From: Markus Niebel markus.nie...@tqs.de The eMMC and the SD-Card specifications describe the optional SET_DSR command. During measurements

Re: [U-Boot] board_f: explicitly disable console on early boot

2013-12-16 Thread Tom Rini
On Wed, Nov 27, 2013 at 10:32:40PM +0400, Alexey Brodkin wrote: If U-Boot build with DEBUG enabled/defined the first call of debug function (that dumps data to any available console) will happen before zeroing of initial gd in init call zero_global_data in init_sequence_f. And if stack was

Re: [U-Boot] PowerPC: merge commonly-defined flags

2013-12-16 Thread Tom Rini
On Tue, Nov 26, 2013 at 10:53:58AM +0900, Masahiro Yamada wrote: PLATFORM_RELFLAGS += -meabi PLATFORM_CPPFLAGS += -ffixed-r2 were defined in all arch/powerpc/${CPU}/config.mk. This commit moves them to arch/powerpc/config.mk. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com

Re: [U-Boot] [U-Boot, v2] .gitignore: ignore spl/ and tpl/ directories except spl/Makefile

2013-12-16 Thread Tom Rini
On Tue, Nov 26, 2013 at 06:05:45PM +0900, Masahiro Yamada wrote: Before this commit, output files under tpl/ directry were not ignored. This commit fixes this problem. And we have only one source file under spl/ directory: spl/Makefile So, we can describe .gitignore more simply.

Re: [U-Boot] [U-Boot, 1/2] post: descend only when CONFIG_HAS_POST is defined

2013-12-16 Thread Tom Rini
On Thu, Nov 28, 2013 at 12:09:58PM +0900, Masahiro Yamada wrote: All objects under post/ directory are enabled by CONFIG_HAS_POST. (post/tests.o is enabled by CONFIG_POST_STD_LIST. But CONFIG_POST_STD_LIST depends on CONFIG_HAS_POST.) We can move CONFIG_HAS_POST switch to the top Makefile.

Re: [U-Boot] Makefile: delete a make rule of $(LDSCRIPT)

2013-12-16 Thread Tom Rini
On Thu, Nov 28, 2013 at 11:06:03AM +0900, Masahiro Yamada wrote: $(LDSCRIPT) is a source file, not a generated file. We do not need a make rule of $(LDSCRIPT). And one more trivial fix: $(obj)/u-boot should not dierectly depend on $(LDSCRIPTS). Signed-off-by: Masahiro Yamada

Re: [U-Boot] [U-Boot, 2/2] Makefile: Select objects by CONFIG_ rather than $(ARCH) or $(CPU)

2013-12-16 Thread Tom Rini
On Thu, Nov 28, 2013 at 12:09:59PM +0900, Masahiro Yamada wrote: Convert like follows: CPU mpc83xx - CONFIG_MPC83xx CPU mpc85xx - CONFIG_MPC85xx CPU mpc86xx - CONFIG_MPC86xx CPU mpc5xxx - CONFIG_MPC5xxx CPU mpc8xx - CONFIG_8xx CPU mpc8260 - CONFIG_8260 CPU ppc4xx -

Re: [U-Boot] drivers/usb/gadget: select objects by obj-$(CONFIG-...)

2013-12-16 Thread Tom Rini
On Thu, Nov 28, 2013 at 12:20:14PM +0900, Masahiro Yamada wrote: Before switching to the real Kbuild, drivers/usb/gadget/Makefile must be fixed. If none of CONFIG_USB_GADGET, CONFIG_USB_ETHER, CONFIG_USB_DEVICE is defined, both obj- and obj-y get empty. We need non-empty obj- or obj-y on

Re: [U-Boot] drivers/mtd: descend into sub directories only when it is necessary

2013-12-16 Thread Tom Rini
On Thu, Nov 28, 2013 at 12:22:17PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Makefile | 4 ++-- drivers/mtd/nand/Makefile | 3 --- drivers/mtd/ubi/Makefile | 3 --- spl/Makefile | 2 +- 4 files changed, 3

Re: [U-Boot] [U-Boot, v3, 4/5] common/fdt_support.c: avoid unintended return from fdt_fixup_memory_banks()

2013-12-16 Thread Tom Rini
On Thu, Nov 28, 2013 at 05:51:39PM +0800, miao@windriver.com wrote: From: Miao Yan miao@windriver.com fdt_fixup_memory_banks() will add and update /memory node in device tree blob. In the case that /memory node doesn't exist, after adding a new one, this function returns error.

Re: [U-Boot] Makefile: delete unnecessary CPPFLAGS settings

2013-12-16 Thread Tom Rini
On Thu, Nov 28, 2013 at 06:31:59PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Note that changing CPPFLAGS locally is meaningless. $(CPPFLAGS) is evaluated around line 260 of $(TOPDIR)/config.mk: CFLAGS := $(CPPFLAGS) -Wall

Re: [U-Boot] [U-Boot, v3, 3/5] common/cmd_bootm: extend do_bootm_vxworks to support the new VxWorks boot interface.

2013-12-16 Thread Tom Rini
On Thu, Nov 28, 2013 at 05:51:38PM +0800, miao@windriver.com wrote: From: Miao Yan miao@windriver.com The next version VxWorks adopts device tree (for PowerPC and ARM) as its hardware description mechanism. For PowerPC, the boot interface conforms to the ePAPR standard, which is:

Re: [U-Boot] Makefile: Move some scripts imported from Linux

2013-12-16 Thread Tom Rini
On Thu, Nov 28, 2013 at 04:29:23PM +0900, Masahiro Yamada wrote: We have some scripts imported from Linux Kernel: setlocalversion, checkstack.pl, checkpatch.pl, cleanpatch They are located under tools/ directory in U-Boot now. But they were originally located under scripts/ directory in

Re: [U-Boot] [U-Boot, v3, 2/5] common/config_defaults.h: make CONFIG_BOOTM_VXWORKS default configuration

2013-12-16 Thread Tom Rini
On Thu, Nov 28, 2013 at 05:51:37PM +0800, miao@windriver.com wrote: From: Miao Yan miao@windriver.com Signed-off-by: Miao Yan miao@windriver.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3, 5/5] README.vxworks: add a document describing the new VxWorks boot interface

2013-12-16 Thread Tom Rini
On Thu, Nov 28, 2013 at 05:51:40PM +0800, miao@windriver.com wrote: From: Miao Yan miao@windriver.com Signed-off-by: Miao Yan miao@windriver.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, RFC] kgdb: configs: remove obsolete CONFIG_KGDB_SER_INDEX

2013-12-16 Thread Tom Rini
On Sun, Dec 01, 2013 at 08:07:28PM +0200, Vladimir Zapolskiy wrote: The last users of CONFIG_KGDB_SER_INDEX were removed more than 3 years ago in commits 550650ddd0 and bf16500f79, either kgdb subsystem should care about this parameter or it should be gone completely. Signed-off-by:

Re: [U-Boot] serial: lpc32xx: send CR before LF

2013-12-16 Thread Tom Rini
On Sat, Nov 30, 2013 at 04:47:01PM +0200, Vladimir Zapolskiy wrote: For LPC32XX high-speed UART it is required to send a carriage return symbol along with line feed. The problem was introduced in e503f90a commit. Signed-off-by: Vladimir Zapolskiy v...@mleia.com Cc: Marek Vasut

Re: [U-Boot] Makefile: delete unnecessary lines

2013-12-16 Thread Tom Rini
On Fri, Nov 29, 2013 at 09:43:57AM +0900, Masahiro Yamada wrote: REMOTE_BUILD is not used any more. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 3/4] Add dumpimage, a tool to extract data from U-Boot images

2013-12-16 Thread Tom Rini
On Sun, Dec 01, 2013 at 12:43:11PM -0700, Simon Glass wrote: From: Guilherme Maciel Ferreira guilherme.maciel.ferre...@gmail.com Given a multi-file image created through the mkimage's -d option: $ mkimage -A x86 -O linux -T multi -n x86 -d vmlinuz:initrd.img:System.map \ multi.img

Re: [U-Boot] [U-Boot, v2, 2/4] tools: moved code common to all image tools to a separated module.

2013-12-16 Thread Tom Rini
On Sun, Dec 01, 2013 at 12:43:10PM -0700, Simon Glass wrote: From: Guilherme Maciel Ferreira guilherme.maciel.ferre...@gmail.com In order to avoid duplicating code and keep only one point of modification, the functions, structs and defines useful for dumpimage were moved from mkimage to a

Re: [U-Boot] [U-Boot,v2,4/4] sandbox: dumpimage: Test dumpimage

2013-12-16 Thread Tom Rini
On Sun, Dec 01, 2013 at 12:43:12PM -0700, Simon Glass wrote: From: Guilherme Maciel Ferreira guilherme.maciel.ferre...@gmail.com Add a test for dumpimage. Signed-off-by: Guilherme Maciel Ferreira guilherme.maciel.ferre...@gmail.com Signed-off-by: Simon Glass s...@chromium.org Applied to

Re: [U-Boot] [U-Boot, v2, 1/4] mkimage: added 'static' specifier to match function's prototype.

2013-12-16 Thread Tom Rini
On Sun, Dec 01, 2013 at 12:43:09PM -0700, Simon Glass wrote: From: Guilherme Maciel Ferreira guilherme.maciel.ferre...@gmail.com This function should be declared static. Signed-off-by: Guilherme Maciel Ferreira guilherme.maciel.ferre...@gmail.com Signed-off-by: Simon Glass

Re: [U-Boot] [U-Boot, v2] Makefile: Do not create empty autoconf.mk on error

2013-12-16 Thread Tom Rini
On Mon, Dec 02, 2013 at 02:57:29PM +0900, Masahiro Yamada wrote: The build rules of - include/autoconf.mk.dep - include/autoconf.mk - include/spl-autoconf.mk - include/tpl-autoconf.mk were not nice. They created empty files (which are never updated) if an error occurs during

Re: [U-Boot] [U-Boot, v2] Makefile: use two double-quotations as a pair

2013-12-16 Thread Tom Rini
On Thu, Dec 05, 2013 at 03:08:31PM +0900, Masahiro Yamada wrote: Some editors such as Emacs can highlight source files. But their parser algorithm is not perfect. If you use one double-quotation alone, some editor cannot handle it nicely and mark source lines as a string by mistake. It

Re: [U-Boot] time: fix usec_to_tick()

2013-12-16 Thread Tom Rini
On Thu, Dec 05, 2013 at 12:08:09PM -0700, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Commit 8dfafdde88eb (Introduce common timer functions) created a common definition of usec_to_tick() which had a couple problems: static unsigned long long usec_to_tick(unsigned long

Re: [U-Boot] Makefile: correct dependencies of asm-offsets.[hs]

2013-12-16 Thread Tom Rini
On Thu, Dec 05, 2013 at 03:30:18PM +0900, Masahiro Yamada wrote: These four generated files depends on neither {spl,tpl}-autoconf.mk nor autoconf.mk.dep. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot,2/5] ARM:zynq: Correct __udelay to use lldiv

2013-12-16 Thread Tom Rini
On Thu, Dec 05, 2013 at 02:48:36PM -0500, Tom Rini wrote: Cc: Michal Simek mon...@monstr.eu Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/zynq/timer.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, 3/5] ARM:PXA: Correct tick_to_time / us_to_tick to use lldiv

2013-12-16 Thread Tom Rini
On Thu, Dec 05, 2013 at 02:48:37PM -0500, Tom Rini wrote: Cc: Marek Vasut marek.va...@gmail.com Signed-off-by: Tom Rini tr...@ti.com Acked-by: Marek Vasut ma...@denx.de Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 4/5] JFFS2: Correct jffs2_1pass_build_lists to use lldiv

2013-12-16 Thread Tom Rini
On Thu, Dec 05, 2013 at 02:48:38PM -0500, Tom Rini wrote: Since part_info size became 64bit we need to use lldiv here. Signed-off-by: Tom Rini tr...@ti.com --- fs/jffs2/jffs2_1pass.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] spl/Makefile: merge LIBS-y += arch/$(ARCH)/imx-common

2013-12-16 Thread Tom Rini
On Wed, Dec 11, 2013 at 10:00:08AM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- spl/Makefile | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,1/2] examples: x86: delete 82559_eeprom

2013-12-16 Thread Tom Rini
On Fri, Dec 06, 2013 at 04:34:09PM +0900, Masahiro Yamada wrote: Commit fea25720 renamed arch/i386 to arch/x86. But it missed to modify examples/standalone/Makefile. Since then, examples/standalone/82559_eeprom has never compiled and nobody has noticed that. After some discussion on ML,

Re: [U-Boot] [U-Boot, 2/2] Makefile, .gitignore: Cleanup non-existing binaries

2013-12-16 Thread Tom Rini
On Fri, Dec 06, 2013 at 04:34:10PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot,5/5] yaffs2: Use lldiv for 64bit division

2013-12-16 Thread Tom Rini
On Thu, Dec 05, 2013 at 02:48:39PM -0500, Tom Rini wrote: Signed-off-by: Tom Rini tr...@ti.com --- fs/yaffs2/yaffs_uboot_glue.c |3 ++- fs/yaffs2/yaffsfs.c |5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] Correct vxWorks elf boot to load at correct address

2013-12-16 Thread Tom Rini
On Wed, Nov 27, 2013 at 02:48:43PM +0100, Stany MARCEL wrote: argv[0] contains bootvx (command name) not the load address, if called with argv 2 use load_addr, else use address argument given to the command. Signed-off-by: Stany MARCEL smar...@novasys-ingenierie.com Applied to

Re: [U-Boot] [U-Boot, v3, 1/5] common/cmd_bootm.c: seperate do_bootm_vxworks related code from CONFIG_CMD_ELF.

2013-12-16 Thread Tom Rini
On Thu, Nov 28, 2013 at 05:51:36PM +0800, miao@windriver.com wrote: From: Miao Yan miao@windriver.com do_bootm_vxworks now is available under the configuration option CONFIG_BOOTM_VXWORKS, thus aligned with other operating systems that supported by bootm command. The bootvx command

Re: [U-Boot] [U-Boot,v3] netbsd:fix documentation typo.

2013-12-16 Thread Tom Rini
On Thu, Dec 12, 2013 at 04:18:35PM +0100, Kees Jongenburger wrote: The documentation suggested the arguments where passed over r3-r6 while the code below simply does that over r0-r3. Cc: Kumar Gala ga...@kernel.crashing.org Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] Pull request: u-boot-blackfin

2013-12-16 Thread Tom Rini
On Mon, Dec 16, 2013 at 11:49:37AM +0800, Sonic Zhang wrote: Hi Tom, Please pull the following bug fixing patches from u-boot-blackfin into your tree. Thanks Sonic Zhang The following changes since commit e03c76c30342797a25ef9350e51c8daa0b56f1df: powerpc/mpc85xx: Update

[U-Boot] Pull request: u-boot-video/master

2013-12-16 Thread Anatolij Gustschin
Hey Tom, The following changes since commit f44483b57c49282299da0e5c10073b909cdad979: Merge branch 'serial' of git://git.denx.de/u-boot-microblaze (2013-12-02 08:48:02 -0500) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to

[U-Boot] [PATCH] nand_util.c: Use '%ld' for length in nand_unlock debug print

2013-12-16 Thread Tom Rini
length is size_t so needs to be '%ld' not '%d' to avoid warnings. Cc: Scott Wood scottw...@freescale.com Signed-off-by: Tom Rini tr...@ti.com --- drivers/mtd/nand/nand_util.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/nand_util.c

[U-Boot] [PATCH] mmc: add setdsr support

2013-12-16 Thread Markus Niebel
From: Markus Niebel markus.nie...@tqs.de The eMMC and the SD-Card specifications describe the optional SET_DSR command. During measurements at our lab we found that some cards implementing this feature having really strong driver strengts per default. This can lead to voltage peaks above the

Re: [U-Boot] [PATCH] mmc: add setdsr support

2013-12-16 Thread Pantelis Antoniou
Hi Markus, On Dec 16, 2013, at 4:52 PM, Markus Niebel wrote: From: Markus Niebel markus.nie...@tqs.de The eMMC and the SD-Card specifications describe the optional SET_DSR command. During measurements at our lab we found that some cards implementing this feature having really strong

Re: [U-Boot] [PATCH] nand_util.c: Use '%ld' for length in nand_unlock debug print

2013-12-16 Thread Tom Rini
On Mon, Dec 16, 2013 at 09:28:46AM -0500, Tom Rini wrote: length is size_t so needs to be '%ld' not '%d' to avoid warnings. Cc: Scott Wood scottw...@freescale.com Signed-off-by: Tom Rini tr...@ti.com --- drivers/mtd/nand/nand_util.c |2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH v2] nand_util.c: Use '%zd' for length in nand_unlock debug print

2013-12-16 Thread Tom Rini
length is size_t so needs to be '%zd' not '%d' to avoid warnings. Cc: Scott Wood scottw...@freescale.com Signed-off-by: Tom Rini tr...@ti.com --- Changes in v2: - Use %zd, the correct format, rather than %ld, a differntly incorrect one. --- drivers/mtd/nand/nand_util.c |2 +- 1 file

Re: [U-Boot] [PATCH 0/2 v2] socfpga: Adding Scan Manager

2013-12-16 Thread Chin Liang See
Hi Albert, Can you help to apply this patches as I believe there are not further comments on this? Thanks and have a nice day! Chin Liang On Mon, 2013-12-02 at 14:31 -0600, Chin Liang See wrote: Adding Scan Manager driver and handoff files. Scan Manager driver will be called to configure the

Re: [U-Boot] [PATCH] Makefile: fix the typo error for mrproper

2013-12-16 Thread Simon Glass
On 16 December 2013 00:27, Bo Shen voice.s...@atmel.com wrote: Fix the typo error for mrproper from mkproper. Signed-off-by: Bo Shen voice.s...@atmel.com Adding Masahiro. --- In Makefile, there is no object name is mkproper, so I think this is a typo error. Makefile |2 +- 1 file

Re: [U-Boot] [PATCH 2/2] vexpress: Add vexpress qemu variant

2013-12-16 Thread Albert ARIBAUD
Hi Ian, On Sun, 17 Nov 2013 15:17:43 +, Ian Campbell i...@hellion.org.uk wrote: The main purpose of this is to disable the use of the virtualisation extensions which Qemu does not emulate. Also enable a few additional commands and the u-boot API. This works for me with: $ dd

Re: [U-Boot] [PATCH] Makefile: fix the typo error for mrproper

2013-12-16 Thread Tom Rini
On Mon, Dec 16, 2013 at 08:53:08AM -0700, Simon Glass wrote: On 16 December 2013 00:27, Bo Shen voice.s...@atmel.com wrote: Fix the typo error for mrproper from mkproper. Signed-off-by: Bo Shen voice.s...@atmel.com Adding Masahiro. --- In Makefile, there is no object name is

Re: [U-Boot] Pull request: u-boot-video/master

2013-12-16 Thread Tom Rini
On Mon, Dec 16, 2013 at 03:25:40PM +0100, Anatolij Gustschin wrote: Hey Tom, The following changes since commit f44483b57c49282299da0e5c10073b909cdad979: Merge branch 'serial' of git://git.denx.de/u-boot-microblaze (2013-12-02 08:48:02 -0500) are available in the git repository at:

Re: [U-Boot] [PATCH v2 01/12] TI:armv7: Change CONFIG_SPL_STACK to not be CONFIG_SYS_INIT_SP_ADDR

2013-12-16 Thread Tom Rini
On Mon, Dec 09, 2013 at 01:08:47PM -0500, Tom Rini wrote: There are times where we may need more than a few kilobytes of stack space. We also will not be using CONFIG_SPL_STACK location prior to DDR being initialized (CONFIG_SYS_INIT_SP_ADDR is still used there) so pick a good location

Re: [U-Boot] [PATCH] Makefile: fix the typo error for mrproper

2013-12-16 Thread Simon Glass
Hi Tom, On 16 December 2013 09:38, Tom Rini tr...@ti.com wrote: On Mon, Dec 16, 2013 at 08:53:08AM -0700, Simon Glass wrote: On 16 December 2013 00:27, Bo Shen voice.s...@atmel.com wrote: Fix the typo error for mrproper from mkproper. Signed-off-by: Bo Shen voice.s...@atmel.com Adding

Re: [U-Boot] toolchain problems when building iMX6 mx6qsabreauto (and another bootloader tool)

2013-12-16 Thread Stefano Babic
Hi Måns, On 04/12/2013 16:35, Måns Rullgård wrote: mx6: compute PLL PFD frequencies rather than using defines That commit introduces a 64-bit division without using the lldiv() function, which pulls in previously unused libgcc stuff. Try this patch: As it was proofed that your patch

[U-Boot] [PATCH 2/2] mtd: nand: omap: fix ecc ops assignment when changing ecc

2013-12-16 Thread Nikita Kiryanov
If we change to software ecc and then back to hardware ecc, the nand ecc ops pointers are populated with incorrect function pointers. This is related to the way nand_scan_tail() handles assigning functions to ecc ops: If we are switching to software ecc/no ecc, it assigns default functions to the

[U-Boot] [PATCH 1/2] mtd: nand: omap: fix sw-hw-sw ecc switch

2013-12-16 Thread Nikita Kiryanov
When switching ecc mode, omap_select_ecc_scheme() assigns the appropriate values into the current nand chip's ecc.layout struct. This is done under the assumption that the struct exists only to store values, so it is OK to overwrite it, but there is at least one situation where this assumption is

[U-Boot] [PATCH 0/2] omap_gpmc nand ecc switch bug fixes

2013-12-16 Thread Nikita Kiryanov
This patchset fixes two omap_gpmc.c bugs which are related to ecc switching. The first bug fixes a situation in which sw-hw-sw ecc switch corrupts ecc layout data, resulting in incorrect sw ecc layout. The second bug fixes an issue where switching from sw to hw ecc results in hw ecc data being

[U-Boot] [ANN] v2014.01-rc2

2013-12-16 Thread Tom Rini
Hey all, I've put v2014.01-rc2 out and we should have a tarball soon. In general, working on clearing out queues and pull requests. I think there's stil a few ARM subtrees that need to pick things up and send them along to Albert, along with some general ARM patches outstanding / platforms that

Re: [U-Boot] [PATCH v16 04/10] arm64: Add tool to statically apply RELA relocations

2013-12-16 Thread Scott Wood
On Sat, 2013-12-14 at 10:39 +0530, Jagan Teki wrote: On Sat, Dec 14, 2013 at 9:17 AM, feng...@phytium.com.cn wrote: From: Scott Wood scottw...@freescale.com [snip] + if (argc != 5) { + fprintf(stderr, Statically apply ELF rela relocations\n); +

Re: [U-Boot] [PATCH v2] nand_util.c: Use '%zd' for length in nand_unlock debug print

2013-12-16 Thread Scott Wood
On Mon, 2013-12-16 at 09:59 -0500, Tom Rini wrote: length is size_t so needs to be '%zd' not '%d' to avoid warnings. Cc: Scott Wood scottw...@freescale.com Signed-off-by: Tom Rini tr...@ti.com --- Changes in v2: - Use %zd, the correct format, rather than %ld, a differntly incorrect

[U-Boot] [PATCH] ARM: tegra: accept any SKU ID for most chips

2013-12-16 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com For Tegra20, the SKU ID actually impacts how U-Boot programs the chip, and hence we need to explicitly know about each and every SKU ID in order to operate correctly. However, for Tegra30/114, this isn't the case. Rather than forcing each new user with a

Re: [U-Boot] [U-boot] the relationship between CONFIG_LCD / CONFIG_VIDEO / CONFIG_CFB_CONSOLE

2013-12-16 Thread Simon Glass
Hi, On 10 December 2013 01:42, tiger...@viatech.com.cn wrote: Hi, experts: I am confused by CONFIG_LCD / CONFIG_VIDEO / CONFIG_CFB_CONSOLE. Some board config files defined : CONFIG_VIDEO and CONFIG_CFB_CONSOLE. But not define CONFIG_LCD. It seemed CONFIG_LCD was out of date? Some

Re: [U-Boot] how to limit sandbox to a single thread/core?

2013-12-16 Thread Simon Glass
Hi, On 13 December 2013 01:47, Abraham V. abraham.varric...@vvdntech.com wrote: Hello, I just discovered that uboot has a sandbox build - output binary is a standard linux application. This prompted me to try stepping through the code with gdb and I'm running into an annoyance. The sandbox

[U-Boot] [PATCH v3 0/8] Pending patches for merging

2013-12-16 Thread Otavio Salvador
This sends all the patches I've been keeping in my tree and are awaiting to be applied. Basically: * Wandboard LCD support and environment changes * mx28evk environment changes * SabreSD eMMC installation support * IOMUX fix * FDT loadaddr fix * FEC Anatop clock fix Changes in v3: -

[U-Boot] [PATCH v3 2/8] mx6sabresd: Add eMMC specific environment to allow U-Boot update

2013-12-16 Thread Otavio Salvador
A new 'update_emmc_firmware' target is added to allow for easy U-Boot update in the eMMC as it has secury boot partition and this needs specific handling on how to program the specific partition. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v3 3/8] imx: Easy enabling of SION per-pin using MUX_MODE_SION helper macro

2013-12-16 Thread Otavio Salvador
The macro allows easy setting in per-pin, as for example: , | imx_iomux_v3_setup_pad(MX6_PAD_NANDF_D1__GPIO_2_1 | MUX_MODE_SION); ` The IOMUX_CONFIG_SION allows for reading PAD value from PSR register. The following quote from the datasheet: , | ... | 28.4.2.2 GPIO Write Mode | The

[U-Boot] [PATCH v3 8/8] ARM: mx6: Allow enablement of FEC Anatop based clock for all MX6

2013-12-16 Thread Otavio Salvador
The enable_fec_anatop_clock method should be available for all MX6 variant as it is not MX6 SoloLite specific. This moves the code out of the #ifdef/#endif and we make it conditional to CONFIG_FEC_MXC instead. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: - new patch

[U-Boot] [PATCH v3 4/8] mx28evk: Use 512k for fdt partition to align it

2013-12-16 Thread Otavio Salvador
Using 512k for fdt partition allow it to be aligned with the other small partitions and 512k erase block size. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: None include/configs/mx28evk.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [PATCH v3 1/8] wandboard: add Future Eletronics 7 WVGA LCD extension board

2013-12-16 Thread Otavio Salvador
This adds support for the 7 WVGA produced by Future Eletronics and make it dynamically detect if it is connected or not based on the touchscreen controller. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: - rebased on imx/master Changes in v2: None

[U-Boot] [PATCH v3 5/8] mx28evk: Add 'nandboot' environment command

2013-12-16 Thread Otavio Salvador
This reads the kernel, ftd and boot into ubifs filesystem. While on that, the SD firmware filename definition has been moved next to the other SD related commands. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: None include/configs/mx28evk.h | 18

[U-Boot] [PATCH v3 7/8] ARM: mx6: Change the FDT loading address to avoid overlaping

2013-12-16 Thread Otavio Salvador
This patch fixes allow for the DeviceTree and initrd relocation fixing the boot of FSL 3.10.9-1.0.0-alpha kernel. This changes following boards: - mx6sabreauto - mx6sabresd - wandboard - udoo - nitrogen6x - cgtqmx6eval The reasoning, as explained by Hui Liu, is: , | The FDT blob will

[U-Boot] [PATCH REPOST2] spi: tegra: clear RDY bit prior to every transfer

2013-12-16 Thread Stephen Warren
From: Yen Lin ye...@nvidia.com The RDY bit indicates that a transfer is complete. This needs to be cleared by SW before every single HW transaction, rather than only at the start of each SW transaction (those being made up of n HW transactions). It seems that earlier HW may have cleared this bit

[U-Boot] [PATCH v3 6/8] mx28evk: Extend environment to easy write of NAND system

2013-12-16 Thread Otavio Salvador
This adds following new targets: - update_nand_kernel - update_nand_fdt - update_nand_filesystem and to avoid confusion, the 'update_nand_full' has been renamed to 'update_nand_firmware_full'. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3: None Changes in v2: None

Re: [U-Boot] [PATCH 2/2] mtd: nand: omap: fix ecc ops assignment when changing ecc

2013-12-16 Thread Scott Wood
On Mon, 2013-12-16 at 19:19 +0200, Nikita Kiryanov wrote: If we change to software ecc and then back to hardware ecc, the nand ecc ops pointers are populated with incorrect function pointers. This is related to the way nand_scan_tail() handles assigning functions to ecc ops: If we are

Re: [U-Boot] [U-boot] the relationship between CONFIG_LCD / CONFIG_VIDEO / CONFIG_CFB_CONSOLE

2013-12-16 Thread TigerLiu
Hi, Simon: Some drivers uses CONFIG_VIDEO and some use CONFIG_LCD. We tried to unify the API calls a little a year or so ago. They serve a very similar purpose. I hope that with driver model they will become the same. Thanks a lot! Best wishes, ___

[U-Boot] [PATCH v2 2/5] arm: pxa: fix LP-8x4x USB support

2013-12-16 Thread Sergei Ianovich
USB was broken initially. Power polarity should be direct. Signed-off-by: Sergei Ianovich ynv...@gmail.com CC: Marek Vasut ma...@denx.de --- Changes v1..v2 * new patch board/icpdas/lp8x4x/lp8x4x.c | 22 +- include/configs/lp8x4x.h | 3 +-- 2 files changed, 14

[U-Boot] [PATCH v2 3/5] arm: pxa: fix 2nd flash chip address on LP-8x4x

2013-12-16 Thread Sergei Ianovich
Initial configuration has worng address of the second chip. There is an alias for the 1st chip at 0x0200 in earlier verions of LP-8x4x, so the boot normally. However, new LP-8x4xs have a bigger 1st flash chip, and hang on boot without this patch. Signed-off-by: Sergei Ianovich

[U-Boot] [PATCH v2 0/5] fix and update LP-8x4x to boot DT kernel

2013-12-16 Thread Sergei Ianovich
Linux kernel maintainers require new machnines to support device tree boot. The config for LP-8x4x needs updating. In addition, there are a few fixes to board's configuration. v2 fixes review comments made by Marek Vasut. Sergei Ianovich (5): ARM: pxa: prevent PXA270 occasional reboot freezes

[U-Boot] [PATCH v2 5/5] arm: pxa: init ethaddr for LP-8x4x using DT

2013-12-16 Thread Sergei Ianovich
When DT define aliases for etherner0 and ethernet1, U-Boot automatically patched MAC addresses using ethaddr and eth1addr environment variables respectively. Custom initialization is no longer needed. Signed-off-by: Sergei Ianovich ynv...@gmail.com CC: Marek Vasut ma...@denx.de --- Changes

[U-Boot] [PATCH v2 4/5] arm: pxa: update LP-8x4x to boot DT kernel

2013-12-16 Thread Sergei Ianovich
DT kernel requires CONFIG_OF_LIBFDT. 'bootm' needs to know DT location. In addition, fix kernel console device and enable U-Boot long help. Signed-off-by: Sergei Ianovich ynv...@gmail.com CC: Marek Vasut ma...@denx.de --- Changes v1..v2 * don't disable USB * update serial console

[U-Boot] [PATCH v2 1/5] ARM: pxa: prevent PXA270 occasional reboot freezes

2013-12-16 Thread Sergei Ianovich
Erratum 71 of PXA270M Processor Family Specification Update (April 19, 2010) explains that watchdog reset time is just 8us insead of 10ms in EMTS. If SDRAM is not reset, it causes memory bus congestion and the device hangs. We put SDRAM in selfresh mode before watchdog reset, removing potential

Re: [U-Boot] [PATCH 4/4] arm: pxa: update LP-8x4x to boot DTS kernel

2013-12-16 Thread Sergei Ianovich
On Sun, 2013-12-15 at 20:22 +0100, Marek Vasut wrote: On Sunday, December 15, 2013 at 07:56:35 PM, Sergei Ianovich wrote: While testing, I've run into an issue with USB support. If I do $ usb start in U-Boot, not only it doesn't see an attached flash storage, but also it break

[U-Boot] [PATCH 3/3] serial_sh: add support for the SH7753 instead of SH7752

2013-12-16 Thread Shimoda, Yoshihiro
This patch changes the support for SH7752 to SH7753. Signed-off-by: Yoshihiro Shimoda yoshihiro.shimoda...@renesas.com --- drivers/serial/serial_sh.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/serial/serial_sh.h b/drivers/serial/serial_sh.h index

  1   2   >