[U-Boot] [U-boot] CONFIG_FIT and CONFIG_OF_LIBFDT

2013-08-23 Thread TigerLiu
Hi, experts: I have a question about supporting FDT in uboot. 1. If i want to provide FDT support function in uboot code, just need to : Define CONFIG_OF_LIBFDT in vendor_config.h If my uImage is still a single component image, not need to define CONFIG_FIT at the same time? Best

[U-Boot] [PATCH] mtd: atmel_nand: pmecc: fix bug fail to correct bit error in 1024-bytes sector

2013-08-23 Thread Josh Wu
The PMECC use BCH algorithm to correct error. In BCH algorithm, the primitive polynomial value is GF(2^13) for 512-bytes sector size. And it is GF(2^14) for 1024-bytes sector size. This patch will choose correct degree of the remainders(13 or 14) for different sector size. Tested in AT91SAM9X5-EK

[U-Boot] [PATCH] i2c: fix i2c dev command for not using new framework

2013-08-23 Thread Stefano Babic
From: Heiko Schocher h...@denx.de i2c dev command does not work anymore for legacy drivers because a check is executed that is valid only in the new framework. Signed-off-by: Heiko Schocher h...@denx.de Tested-by: Stefano Babic sba...@denx.de --- common/cmd_i2c.c |2 ++ 1 file changed, 2

[U-Boot] Failing USB devices

2013-08-23 Thread Andrew Murray
Hello, I'm unable to use some mass storage devices with the current git version (6612ab33956ae09c5ba2fde9c1540b519625ba37) of UBoot on a TI Davinci custom board. I have 7 pen drives, and 2 of them fail. I-O DATA USB Flash Disk (0x04bb/0x0c43) ... 2 USB Device(s) found scan end scanning

Re: [U-Boot] [PATCH V2 3/4] ARM: AM33xx: Move s_init to a common place

2013-08-23 Thread Mark Jackson
On 30/07/13 06:18, Lokesh Vutla wrote: From: Heiko Schocher h...@denx.de s_init has the same outline for all the AM33xx based board. So making it generic. This also helps in addition of new Soc with minimal changes. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com Signed-off-by: Heiko

Re: [U-Boot] [RFC][DFU] Unification of dfu_alt_info alt settings description + command execution

2013-08-23 Thread Lukasz Majewski
On Thu, 18 Jul 2013 13:30:55 -0400 Michael Cashwell mboa...@prograde.net wrote, On Jul 18, 2013, at 12:39 PM, Tom Rini tr...@ti.com wrote: uImage | raw | nand | 0 | kernel | - | - | - | Since partitions provide start/size. Hi Michael, I've got some WIP that pulls

Re: [U-Boot] [PATCH V2 3/4] ARM: AM33xx: Move s_init to a common place

2013-08-23 Thread Lokesh Vutla
Hi Mark, On Friday 23 August 2013 02:58 PM, Mark Jackson wrote: On 30/07/13 06:18, Lokesh Vutla wrote: From: Heiko Schocher h...@denx.de s_init has the same outline for all the AM33xx based board. So making it generic. This also helps in addition of new Soc with minimal changes.

Re: [U-Boot] [PATCH V2 3/4] ARM: AM33xx: Move s_init to a common place

2013-08-23 Thread Mark Jackson
On 23/08/13 11:25, Lokesh Vutla wrote: Hi Mark, On Friday 23 August 2013 02:58 PM, Mark Jackson wrote: On 30/07/13 06:18, Lokesh Vutla wrote: From: Heiko Schocher h...@denx.de s_init has the same outline for all the AM33xx based board. So making it generic. This also helps in addition of

Re: [U-Boot] Failing USB devices

2013-08-23 Thread Benoît Thébaudeau
Dear Marek, Andrew, On Friday, August 23, 2013 5:23:14 AM, Marek Vasut wrote: Dear Andrew Murray, Hello, I'm unable to use some mass storage devices with the current git version (6612ab33956ae09c5ba2fde9c1540b519625ba37) of UBoot on a TI Davinci custom board. I have 7 pen drives,

[U-Boot] [U-boot] CONFIG_OF_EMBED question

2013-08-23 Thread TigerLiu
Hi, experts: If i defined CONFIG_OF_EMBED, then: Where could i find _binary_dt_dtb_start's definition? In arch/arm/lib/board.c: gd-fdt_blob = _binary_dt_dtb_start; but i could not find _binary_dt_dtb_start's definition. Best wishes, ___

[U-Boot] [PATCH] ARM: DRA7: Enable saveenv command

2013-08-23 Thread Lokesh Vutla
dra7xx_evm has eMMC and the default environment can be stored in it. So enabling saveenv command and the configs to store environment in eMMC. Tested on DRA752 ES1.0 Signed-off-by: Lokesh Vutla lokeshvu...@ti.com --- include/configs/dra7xx_evm.h |8 +++- 1 file changed, 7 insertions(+),

[U-Boot] [PATCH] ARM: OMAP5: Avoid writing into LDO SRAM bits

2013-08-23 Thread Lokesh Vutla
Writing magic bits into LDO SRAM was suggested only for OMAP5432 ES1.0. Now these are no longer applicable. Moreover these bits should not be overwritten as they are loaded from EFUSE. So avoid writing into these registers. Boot tested on OMAP5432 ES2.0 Signed-off-by: Lokesh Vutla

[U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Robert P. J. Day
i'm sure there's a simple answer to this -- i built u-boot for my beaglebone black using the am335x_boneblack config, which supports saving env info to the eMMC HW partition boot1. but now that it's there, is there a way i can manipulate that info with fw_printenv and fw_setenv? that info is

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Andreas Bießmann
Dear Robert P. J. Day, On 08/23/2013 02:25 PM, Robert P. J. Day wrote: snip so it's clearly there, but i have no idea what i'd put in /etc/fw_env.config to refer to that partition. i tried adding the simple line: /dev/mmcblk1boot1 0x0 0x4000 to (allegedly) represent a

Re: [U-Boot] [PATCH v2 1/4] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform

2013-08-23 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/22/2013 06:25 PM, Scott Wood wrote: On Wed, 2013-08-14 at 11:46 +0530, Pekon Gupta wrote: BCH8_ECC scheme implemented in omap_gpmc.c driver has following two favours +---+-+-+

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Stefano Babic
Hi Robert, On 23/08/2013 14:25, Robert P. J. Day wrote: i'm sure there's a simple answer to this There is -- i built u-boot for my beaglebone black using the am335x_boneblack config, which supports saving env info to the eMMC HW partition boot1. but now that it's there, is there a way

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Robert P. J. Day
On Fri, 23 Aug 2013, Andreas Bießmann wrote: Dear Robert P. J. Day, On 08/23/2013 02:25 PM, Robert P. J. Day wrote: snip so it's clearly there, but i have no idea what i'd put in /etc/fw_env.config to refer to that partition. i tried adding the simple line: /dev/mmcblk1boot1

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Robert P. J. Day
On Fri, 23 Aug 2013, Stefano Babic wrote: Hi Robert, On 23/08/2013 14:25, Robert P. J. Day wrote: i'm sure there's a simple answer to this There is -- i built u-boot for my beaglebone black using the am335x_boneblack config, which supports saving env info to the eMMC HW partition

Re: [U-Boot] [PATCH] mmc: mxsmmc: Enable MMC HC support

2013-08-23 Thread Marek Vasut
Hi, From: Amaury Pouly amaury.po...@gmail.com Enable support for high-capacity eMMC and MMC cards. The MXS MMC driver has no problem with those. Signed-off-by: Marek Vasut ma...@denx.de Signed-off-by: Amaury Pouly amaury.po...@gmail.com Cc: Andy Fleming aflem...@freescale.com Cc: Fabio

Re: [U-Boot] [PATCH] mmc: mxsmmc: Enable MMC HC support

2013-08-23 Thread Stefano Babic
Hi Marek, On 23/08/2013 15:45, Marek Vasut wrote: Hi, From: Amaury Pouly amaury.po...@gmail.com Enable support for high-capacity eMMC and MMC cards. The MXS MMC driver has no problem with those. Signed-off-by: Marek Vasut ma...@denx.de Signed-off-by: Amaury Pouly amaury.po...@gmail.com

Re: [U-Boot] [PATCH] mmc: mxsmmc: Enable MMC HC support

2013-08-23 Thread Marek Vasut
Dear Stefano Babic, Hi Marek, On 23/08/2013 15:45, Marek Vasut wrote: Hi, From: Amaury Pouly amaury.po...@gmail.com Enable support for high-capacity eMMC and MMC cards. The MXS MMC driver has no problem with those. Signed-off-by: Marek Vasut ma...@denx.de Signed-off-by:

Re: [U-Boot] [PATCH] mmc: mxsmmc: Enable MMC HC support

2013-08-23 Thread Stefano Babic
Hi Marek, On 23/08/2013 15:58, Marek Vasut wrote: Dear Stefano Babic, Hi Marek, On 23/08/2013 15:45, Marek Vasut wrote: Hi, From: Amaury Pouly amaury.po...@gmail.com Enable support for high-capacity eMMC and MMC cards. The MXS MMC driver has no problem with those. Signed-off-by:

[U-Boot] beaglxm/bootz: kernel boot fail due to align err: cache handling issues?

2013-08-23 Thread Nishanth Menon
Hi, Noticed an interesting behavior where adding a dcache flush kernel boot fail due to unaligned-accesses seems to go away. Full details: http://pastebin.com/kVBRWsbE Without dcache flush being added to my uenvcmd: Kernel image @ 0x8020 [ 0x00 - 0x3e2690 ] data abort MAYBE you should

[U-Boot] Documentation review request: Cache management and stand alone application

2013-08-23 Thread James Chargin
Based on some recent mailing list discussions about cache management for stand alone applications, and on my own recent experience, I've made two small additions to the documentation wiki. Since I can't find any procedure for having this work reviewed, I'm asking for a review here. Please see

Re: [U-Boot] Failing USB devices

2013-08-23 Thread Harvey Chapman
On Aug 23, 2013, at 6:54 AM, Benoît Thébaudeau benoit.thebaud...@advansee.com wrote: This is the kind of issue that made me create this (discarded) patch at some point: http://patchwork.ozlabs.org/patch/176527/ Can you try it? I'm not sure that it will be helpful for your specific case.

Re: [U-Boot] beaglxm/bootz: kernel boot fail due to align err: cache handling issues?

2013-08-23 Thread Robert Nelson
On Fri, Aug 23, 2013 at 9:21 AM, Nishanth Menon n...@ti.com wrote: Hi, Noticed an interesting behavior where adding a dcache flush kernel boot fail due to unaligned-accesses seems to go away. Full details: http://pastebin.com/kVBRWsbE Without dcache flush being added to my uenvcmd: Kernel

[U-Boot] [PATCH 1/1] net: phy/vitesse: Add support for VSC8514 phy module

2013-08-23 Thread Bhupesh Sharma
From: Arpit Goel b44...@freescale.com This patch adds support for VSC8514 PHY module which can be found on Freescale's T1040RDB boards. Signed-off-by: Arpit Goel b44...@freescale.com Signed-off-by: Bhupesh Sharma bhupesh.sha...@freescale.com --- drivers/net/phy/vitesse.c | 69

Re: [U-Boot] beaglxm/bootz: kernel boot fail due to align err: cache handling issues?

2013-08-23 Thread Nishanth Menon
On 08/23/2013 09:32 AM, Robert Nelson wrote: On Fri, Aug 23, 2013 at 9:21 AM, Nishanth Menon n...@ti.com wrote: Hi, Noticed an interesting behavior where adding a dcache flush kernel boot fail due to unaligned-accesses seems to go away. Full details: http://pastebin.com/kVBRWsbE Without

Re: [U-Boot] [PATCH v4 0/8] ARMv7: Add HYP mode switching support

2013-08-23 Thread Nikolay Nikolaev
Hello, On Fri, Aug 9, 2013 at 6:03 PM, Andre Przywara andre.przyw...@linaro.orgwrote: (for GIT URL and Changelog see below) ARM CPUs with the virtualization extension have a new mode called HYP mode, which allows hypervisors to safely control and monitor guests. The current hypervisor

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Luka Perkov
On Fri, Aug 23, 2013 at 08:25:07AM -0400, Robert P. J. Day wrote: i'm sure there's a simple answer to this -- i built u-boot for my beaglebone black using the am335x_boneblack config, which supports saving env info to the eMMC HW partition boot1. but now that it's there, is there a way i can

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Robert P. J. Day
On Fri, 23 Aug 2013, Luka Perkov wrote: On Fri, Aug 23, 2013 at 08:25:07AM -0400, Robert P. J. Day wrote: i'm sure there's a simple answer to this -- i built u-boot for my beaglebone black using the am335x_boneblack config, which supports saving env info to the eMMC HW partition boot1.

[U-Boot] Pull request: nand flash

2013-08-23 Thread Scott Wood
The following changes since commit 6612ab33956ae09c5ba2fde9c1540b519625ba37: Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx (2013-08-21 16:27:47 -0400) are available in the git repository at: git://git.denx.de/u-boot-nand-flash.git master for you to fetch changes up to

[U-Boot] [PATCH] am33xx: Enable D-CACHE on !CONFIG_SYS_DCACHE_OFF

2013-08-23 Thread Tom Rini
Test on Beaglebone white over cpsw, usb ether and SD card (read and write), performance increased, crc32 of data matches. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/am33xx/board.c |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/cpu/armv7/am33xx/board.c

Re: [U-Boot] [U-boot] CONFIG_OF_EMBED question

2013-08-23 Thread Gerhard Sittig
On Fri, Aug 23, 2013 at 19:35 +0800, tiger...@viatech.com.cn wrote: Hi, experts: If i defined CONFIG_OF_EMBED, then: Where could i find _binary_dt_dtb_start's definition? In arch/arm/lib/board.c: gd-fdt_blob = _binary_dt_dtb_start; but i could not find _binary_dt_dtb_start's

Re: [U-Boot] [PATCH v2 1/4] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform

2013-08-23 Thread Scott Wood
On Fri, 2013-08-23 at 08:43 -0400, Tom Rini wrote: On 08/22/2013 06:25 PM, Scott Wood wrote: On Wed, 2013-08-14 at 11:46 +0530, Pekon Gupta wrote: BCH8_ECC scheme implemented in omap_gpmc.c driver has following two favours

Re: [U-Boot] Pull request: nand flash

2013-08-23 Thread Tom Rini
On Fri, Aug 23, 2013 at 10:48:50AM -0500, Scott Wood wrote: The following changes since commit 6612ab33956ae09c5ba2fde9c1540b519625ba37: Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx (2013-08-21 16:27:47 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH v3 2/5] board support of arm64

2013-08-23 Thread Tom Rini
On Thu, Aug 22, 2013 at 12:50:44PM -0500, Scott Wood wrote: On Thu, 2013-08-22 at 12:44 -0500, Stuart Yoder wrote: On Thu, Aug 22, 2013 at 11:23 AM, Scott Wood scottw...@freescale.com wrote: On Thu, 2013-08-22 at 11:15 -0500, Stuart Yoder wrote: On Mon, Aug 19, 2013 at 2:59 PM, Scott

Re: [U-Boot] [U-boot] CONFIG_FIT and CONFIG_OF_LIBFDT

2013-08-23 Thread Tom Rini
On Fri, Aug 23, 2013 at 02:36:23PM +0800, tiger...@viatech.com.cn wrote: Hi, experts: I have a question about supporting FDT in uboot. 1. If i want to provide FDT support function in uboot code, just need to : Define CONFIG_OF_LIBFDT in vendor_config.h If my uImage is still a single

Re: [U-Boot] [U-Boot, 1/2] common: Add CCACHE variable to allow use of ccache

2013-08-23 Thread York Sun
On 08/22/2013 08:05 PM, Marek Vasut wrote: Dear York Sun, On 08/22/2013 12:36 PM, Marek Vasut wrote: There is an env variable to configure separate ccache cache dir , so just by setting that. But then , when each build ends, you would need to clean it up somehow. It was mentioned in the

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Robert P. J. Day
On Fri, 23 Aug 2013, Luka Perkov wrote: On Fri, Aug 23, 2013 at 08:25:07AM -0400, Robert P. J. Day wrote: i'm sure there's a simple answer to this -- i built u-boot for my beaglebone black using the am335x_boneblack config, which supports saving env info to the eMMC HW partition boot1.

Re: [U-Boot] [PATCH v2 0/4] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-08-23 Thread Tom Rini
On Wed, Aug 14, 2013 at 11:46:51AM +0530, Pekon Gupta wrote: [changes in v2] - added documentation for CONFIG_NAND_OMAP_xx in doc/README.nand - added CONFIG_BCH along with CONFIG_NAND_OMAP_ECC_BCH8_CODE_HW_DETECTION_SW to include software library lib/bch.c - fixed board_nand_init() and

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Luka Perkov
On Fri, Aug 23, 2013 at 05:11:01PM -0400, Robert P. J. Day wrote: On Fri, 23 Aug 2013, Luka Perkov wrote: On Fri, Aug 23, 2013 at 08:25:07AM -0400, Robert P. J. Day wrote: i'm sure there's a simple answer to this -- i built u-boot for my beaglebone black using the am335x_boneblack

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-08-23 Thread Simon Glass
Hi, On Thu, Aug 22, 2013 at 8:55 AM, FengHua feng...@phytium.com.cn wrote: On Thu, Aug 22, 2013 at 09:31:35AM +0800, FengHua wrote: -- ?: Scott Wood scottw...@freescale.com : 2013???8???22??? ? ?: Simon Glass s...@chromium.org

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-08-23 Thread Scott Wood
On Fri, 2013-08-23 at 18:12 -0600, Simon Glass wrote: Hi, On Thu, Aug 22, 2013 at 8:55 AM, FengHua feng...@phytium.com.cn wrote: On Thu, Aug 22, 2013 at 09:31:35AM +0800, FengHua wrote: -- ?: Scott Wood scottw...@freescale.com :

[U-Boot] [PATCH v5 0/4] arm64 patch

2013-08-23 Thread fenghua
From: David Feng feng...@phytium.com.cn The porting has been merged with arm architecture. Most architecture codes are placed in arch/arm/cpu/armv8 directory. Generic board is also supported after a few bugs are fixed. Changes for v4: - fix the generic board_f.c, remove zero_global_data from

[U-Boot] [PATCH v5 0/4] arm64 patch

2013-08-23 Thread fenghua
From: David Feng feng...@phytium.com.cn The porting has been merged with arm architecture. Most architecture codes are placed in arch/arm/cpu/armv8 directory. Generic board is also supported after a few bugs are fixed. Changes for v4: - fix the generic board_f.c, remove zero_global_data from

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

2013-08-23 Thread fenghua
From: David Feng feng...@phytium.com.cn 1. function board_init_f in board_f.c should firstly zero gd_t structure before it call initcall_run_list, otherwise the debug print will go run if DEBUG is defined. Because the printf function will use global data to determine whether serial port

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

2013-08-23 Thread fenghua
From: David Feng feng...@phytium.com.cn 1. function board_init_f in board_f.c should firstly zero gd_t structure before it call initcall_run_list, otherwise the debug print will go run if DEBUG is defined. Because the printf function will use global data to determine whether serial port

[U-Boot] [PATCH v5 2/4] board support of arm64

2013-08-23 Thread fenghua
From: David Feng feng...@phytium.com.cn Signed-off-by: David Feng feng...@phytium.com.cn --- Changes for v4: - No board/armltd/dts/vexpress64.dts | 439 ++ board/armltd/vexpress64/Makefile | 43 board/armltd/vexpress64/vexpress64.c | 79

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

2013-08-23 Thread fenghua
From: David Feng feng...@phytium.com.cn This patch fix the fdt_initrd function. It will get #adress_cells property fisrt, then write linux,initrd-start and linux,initrd-end property value to fdt according to address cell size such that the 64bit initrd start address could be supported.

[U-Boot] [PATCH v5 2/4] board support of arm64

2013-08-23 Thread fenghua
From: David Feng feng...@phytium.com.cn Signed-off-by: David Feng feng...@phytium.com.cn --- board/armltd/dts/vexpress64.dts | 439 ++ board/armltd/vexpress64/Makefile | 43 board/armltd/vexpress64/vexpress64.c | 79 ++ boards.cfg

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

2013-08-23 Thread fenghua
From: David Feng feng...@phytium.com.cn This patch fix the fdt_initrd function. It will get #adress_cells property fisrt, then write linux,initrd-start and linux,initrd-end property value to fdt according to address cell size such that the 64bit initrd start address could be supported.

Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

2013-08-23 Thread FengHua
-原始邮件- 发件人: Scott Wood scottw...@freescale.com 发送时间: 2013年8月24日 星期六 收件人: Simon Glass s...@chromium.org 抄送: FengHua feng...@phytium.com.cn, trini tr...@ti.com, u-boot u-boot@lists.denx.de 主题: Re: Re: [U-Boot] [PATCH v4 3/4] generic board patch of manual reloc and zero gd_t

Re: [U-Boot] can u-boot tools fw_{printenv, setenv} work with eMMC HW partition?

2013-08-23 Thread Robert P. J. Day
On Sat, 24 Aug 2013, Luka Perkov wrote: On Fri, Aug 23, 2013 at 05:11:01PM -0400, Robert P. J. Day wrote: On Fri, 23 Aug 2013, Luka Perkov wrote: On Fri, Aug 23, 2013 at 08:25:07AM -0400, Robert P. J. Day wrote: i'm sure there's a simple answer to this -- i built u-boot for my

Re: [U-Boot] [PATCH v2 0/4] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-08-23 Thread Gupta, Pekon
From: Tom Rini [tom.r...@gmail.com] on behalf of Rini, Tom Sent: Saturday, August 24, 2013 3:49 AM To: Gupta, Pekon Cc: scottw...@freescale.com; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH v2 0/4] mtd: nand: omap: optimize and clean-up of OMAP NAND