Re: [U-Boot] [PATCH] RFC: samsung: i2c: Enable new CONFIG_SYS_I2C framework

2013-11-08 Thread Naveen Krishna Ch
Hello Piotr, On 8 November 2013 13:15, Piotr Wilczek wrote: > Dear Naveen, > > > On 10/14/2013 08:06 AM, Heiko Schocher wrote: >> >> Hello Naveen, >> >> Am 30.09.2013 08:58, schrieb Naveen Krishna Chatradhi: >>> >>> This enables CONFIG_SYS_I2C on Samsung, updating existing s3c24x0 >>> i2c driver

Re: [U-Boot] [PATCH 01/10 V6] EXYNOS5: Create a common board file

2013-11-08 Thread Przemyslaw Marczak
Hello Rajeshwari, On 10/29/2013 08:23 AM, Rajeshwari S Shinde wrote: 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 Acked-by: Simon Glass --- Changes

Re: [U-Boot] [PATCH 01/10 V6] EXYNOS5: Create a common board file

2013-11-08 Thread Rajeshwari Birje
Hi Przemyslaw On Fri, Nov 8, 2013 at 1:43 PM, Przemyslaw Marczak wrote: > Hello Rajeshwari, > > > On 10/29/2013 08:23 AM, Rajeshwari S Shinde wrote: >> >> Create a common board.c file for all functions which are common across >> all EXYNOS5 platforms. >> >> exynos_init function is provided for pl

[U-Boot] [PATCH] i2c, zynq: convert zynq i2c driver to new multibus/multiadapter framework

2013-11-08 Thread Heiko Schocher
- add zync i2c driver to new multibus/multiadpater support - adapted all config files, which uses this driver Signed-off-by: Heiko Schocher Cc: Joe Hershberger Cc: Michal Simek --- README | 5 + drivers/i2c/Makefile | 2 +- drivers/i2c/zynq_i2c.c | 29 --

[U-Boot] [PATCH] i2c, omap1510: remove i2c driver

2013-11-08 Thread Heiko Schocher
remove omap1510 i2c driver, as there is no board which uses it Signed-off-by: Heiko Schocher Cc: Tom Rini Cc: Wolfgang Denk --- drivers/i2c/Makefile | 1 - drivers/i2c/omap1510_i2c.c | 277 - 2 files changed, 278 deletions(-) delete mode 100

Re: [U-Boot] am335x_evm.h

2013-11-08 Thread matti kaasinen
Hi! 1) seems to come from ti_am335x_common.h and ti_armv7_common.h. 2) I suppose that numbering just does not matter, does it? -Matti 2013/11/8 matti kaasinen > Hi! > > 1) Is there specific reason why mmc configurations were dropped from this > includ/configs/am335x_evm.h? > 2) Why partition nu

Re: [U-Boot] [PATCH 01/10 V6] EXYNOS5: Create a common board file

2013-11-08 Thread Przemyslaw Marczak
Hi, On 11/08/2013 09:37 AM, Rajeshwari Birje wrote: Hi Przemyslaw On Fri, Nov 8, 2013 at 1:43 PM, Przemyslaw Marczak wrote: Hello Rajeshwari, On 10/29/2013 08:23 AM, Rajeshwari S Shinde wrote: Create a common board.c file for all functions which are common across all EXYNOS5 platforms. e

Re: [U-Boot] [PATCH] MAKEALL: fix awk warning

2013-11-08 Thread Andreas Bießmann
Dear Masahiro Yamada, On 11/08/2013 03:01 AM, Masahiro Yamada wrote: > Hello, Andreas. > > I already posted a patch to fix this issue. > http://patchwork.ozlabs.org/patch/285071/ sorry, haven't seen that patch. Please ignore my patch then. Best regards Andreas Bießmann

Re: [U-Boot] [PATCH 01/10 V6] EXYNOS5: Create a common board file

2013-11-08 Thread Rajeshwari Birje
Hi, On Fri, Nov 8, 2013 at 2:33 PM, Przemyslaw Marczak wrote: > Hi, > > > On 11/08/2013 09:37 AM, Rajeshwari Birje wrote: >> >> Hi Przemyslaw >> >> On Fri, Nov 8, 2013 at 1:43 PM, Przemyslaw Marczak >> wrote: >>> >>> Hello Rajeshwari, >>> >>> >>> On 10/29/2013 08:23 AM, Rajeshwari S Shinde wrot

Re: [U-Boot] [PATCH 01/10 V6] EXYNOS5: Create a common board file

2013-11-08 Thread Przemyslaw Marczak
Hi, On 11/08/2013 10:27 AM, Rajeshwari Birje wrote: Hi, On Fri, Nov 8, 2013 at 2:33 PM, Przemyslaw Marczak wrote: Hi, On 11/08/2013 09:37 AM, Rajeshwari Birje wrote: Hi Przemyslaw On Fri, Nov 8, 2013 at 1:43 PM, Przemyslaw Marczak wrote: Hello Rajeshwari, On 10/29/2013 08:23 AM, Ra

[U-Boot] [PATCH] configs: clean up unused macro CONFIG_L2_OFF

2013-11-08 Thread Masahiro Yamada
Since commit c2dd0d455 and 45bf05854 introduced the new cache maintainance framework to ARM, CONFIG_L2_OFF has been used at all. Signed-off-by: Masahiro Yamada --- include/configs/highbank.h | 1 - include/configs/kzm9g.h| 1 - include/configs/mx51_efikamx.h | 1 - includ

Re: [U-Boot] [PATCH 01/10 V6] EXYNOS5: Create a common board file

2013-11-08 Thread Rajeshwari Birje
Hi, On Fri, Nov 8, 2013 at 3:16 PM, Przemyslaw Marczak wrote: > Hi, > > > On 11/08/2013 10:27 AM, Rajeshwari Birje wrote: >> >> Hi, >> >> >> On Fri, Nov 8, 2013 at 2:33 PM, Przemyslaw Marczak >> wrote: >>> >>> Hi, >>> >>> >>> On 11/08/2013 09:37 AM, Rajeshwari Birje wrote: Hi Prze

Re: [U-Boot] [PATCH 07/14] ARM: AM43xx: Select clk source for Timer2

2013-11-08 Thread Lokesh Vutla
Hi Vaibhav, On Friday 08 November 2013 02:31 AM, Vaibhav Bedia wrote: > Hi Lokesh, > > On Thu, Nov 7, 2013 at 8:43 AM, Lokesh Vutla wrote: >> Hi Vaibhav, >> On Wednesday 06 November 2013 06:10 PM, Vaibhav Bedia wrote: >>> On Mon, Nov 4, 2013 at 11:20 PM, Lokesh Vutla wrote: Selecting the Ma

[U-Boot] sandbox is broken again

2013-11-08 Thread Masahiro Yamada
Hello, Rob, Simon. I noticed sandbox is broken. The error message is: lib/time.c:45: undefined reference to `timer_read_counter' This is caused by commit 8dfafdde88eb3e71d5569846396ae67a91017232. Best Regards Masahiro Yamada ___ U-Boot mailing list

[U-Boot] [PATCH 2/4] mx6: add structs for mmdc and ddr iomux registers

2013-11-08 Thread Edward Lin
Signed-off-by: Edward Lin --- arch/arm/include/asm/arch-mx6/mx6_ddr_regs.h | 167 +++ 1 file changed, 167 insertions(+) create mode 100644 arch/arm/include/asm/arch-mx6/mx6_ddr_regs.h diff --git a/arch/arm/include/asm/arch-mx6/mx6_ddr_regs.h b/arch/arm/include/asm/arch-m

[U-Boot] [PATCH 1/4] mx6: add function to determine boot device

2013-11-08 Thread Edward Lin
During boot the boot pin configuration is copied to the SBMR registers. This patch adds a function to read the boot device from SBMR. Signed-off-by: Edward Lin Signed-off-by: Richard Hu --- arch/arm/cpu/armv7/mx6/soc.c | 43 +++ arch/arm/include/asm/arc

[U-Boot] [PATCH 0/4] mx6: Add SPL Framewok

2013-11-08 Thread Edward Lin
Add common code for SPL boot on imx6. Patch 1 adds a function to determine which device mx6 is booting from. Patch 2 adds structures for mmdc and ddr iomux registers Patch 3 adds co-existing pad configs that allows the support of mx6q/mx6d/mx6dl/mx6s in one binary. Patch 4 adds mx6 arch-specif

[U-Boot] [PATCH 4/4] mx6: add arch-specific spl header

2013-11-08 Thread Edward Lin
Using defines instead of enum to be in-line with spl headers for other architectures. Signed-off-by: Richard Hu --- arch/arm/include/asm/arch-mx6/spl.h | 25 + 1 file changed, 25 insertions(+) create mode 100644 arch/arm/include/asm/arch-mx6/spl.h diff --git a/arch/arm/inc

[U-Boot] [PATCH v2 01/18] mips32: detect L1 cache sizes if they're not defined

2013-11-08 Thread Paul Burton
For boards such as the MIPS Malta with an FPGA core card it is desirable to be able to detect the L1 cache sizes at runtime, since they are not dependant upon the board but on the FPGA bitstream in use. This patch performs that detection when the CONFIG_SYS_[DI]CACHE_SIZE macros are not defined by

[U-Boot] [PATCH v1+ 00/18] MIPS Malta board support

2013-11-08 Thread Paul Burton
This series adds support for booting on a physical MIPS Malta board using a coreFPGA6 core card. The first 6 patches lay some groundwork, then the next 8 genericise the existing qemu-malta board to also function on a physical Malta. In the final patch I stake my claim upon, errm I mean step up to

[U-Boot] [PATCH v2 03/18] pcnet: s/le16_to_cpu/cpu_to_le16/ in pcnet_send

2013-11-08 Thread Paul Burton
This should cause no change to the generated code, but is semantically correct. Signed-off-by: Paul Burton --- Changes in v2: - rebase atop master --- drivers/net/pcnet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c index a30

[U-Boot] [PATCH v2 02/18] pcnet: code style cleanup

2013-11-08 Thread Paul Burton
Fix up the code to match Documentation/CodingStyle. This is mostly removing extraneous spaces. No functional change is intended. Signed-off-by: Paul Burton --- Changes in v2: - rebase atop master --- drivers/net/pcnet.c | 248 ++-- 1 file change

[U-Boot] [PATCH v2 04/18] pcnet: add cache flushing & invalidation

2013-11-08 Thread Paul Burton
Ensure that the view of memory from the CPU & the ethernet controller is coherent at the various points where they exchange data. This prevents stale data from being transmitted or received, and prevents the driver from getting stuck waiting for the ethernet controller to update descriptors when in

[U-Boot] [PATCH v2 05/18] pcnet: enable the NOUFLO feature

2013-11-08 Thread Paul Burton
On relatively slow boards (such as the MIPS Malta with an FPGA core card) it can be extremely common for transmits to underflow - to the point where it appears they simply do not work at all. Setting the NOUFLO bit causes the ethernet controller to not begin transmission on the wire until a transmi

[U-Boot] [PATCH v4 07/18] qemu-malta: rename to just "malta"

2013-11-08 Thread Paul Burton
This is in preparation for adapting this board to function correctly on a physical MIPS Malta board. The board is moved into an "imgtec" vendor directory at the same time in order to ready us for any other boards supported by Imagination in the future. Signed-off-by: Paul Burton --- Changes in v4

[U-Boot] [PATCH v2 06/18] pci.h: allow inclusion in assembly source

2013-11-08 Thread Paul Burton
This patch simply #ifdef's out the C-specific parts of pci.h when it is included by an assembly file. This will allow the macros it contains to be used from assembly source as will be done in a followup commit adding support for more modern MIPS Malta boards. Signed-off-by: Paul Burton --- Change

[U-Boot] [PATCH v3 08/18] malta: setup super I/O UARTs

2013-11-08 Thread Paul Burton
On a real Malta the Super I/O needs to be configured before we are able to access the UARTs. This patch performs that configuration, setting up the UARTs in the same way that YAMON would. Signed-off-by: Paul Burton --- Changes in v3: - rebase atop master Changes in v2: - rebased after malta

[U-Boot] [PATCH v3 10/18] malta: display "U-boot" on the LCD screen

2013-11-08 Thread Paul Burton
Displaying a message on the LCD screen is a simple yet effective way to show the user that the board has booted successfully. Signed-off-by: Paul Burton --- Changes in v3: - rebase atop master Changes in v2: - rebased after malta moved to board/imgtec/malta --- arch/mips/include/asm/malta.h

[U-Boot] [PATCH v3 09/18] malta: support for coreFPGA6 boards

2013-11-08 Thread Paul Burton
This patch adds support for running on Malta boards using coreFPGA6 core cards, including support for the msc01 system controller used with them. The system controller is detected at runtime allowing one U-boot binary to run on a Malta with either. Due to the PCI I/O base differing between Maltas

[U-Boot] [PATCH v2 12/18] malta: remove cache size definitions

2013-11-08 Thread Paul Burton
These will now be detected at runtime, allowing a single U-boot configuration to function correctly with different bitstreams. Without this you may need to re-configure, re-build and re-flash U-boot to your Malta if you flash a new bitstream with a different cache configuration to your old bitstrea

[U-Boot] [PATCH v2 11/18] malta: enable CONFIG_PCNET_79C973, PCNET_HAS_PROM, CONFIG_CMD_DHCP

2013-11-08 Thread Paul Burton
This model of the pcnet is used in current Malta boards, at least in the Malta-R rev 3. Enable support for it. The Malta also has the ethernet controller PROM containing its MAC address, so enable support for that in order to read that MAC address. DHCP is a very useful feature to have available

[U-Boot] [PATCH v2 14/18] malta: enable RTC support

2013-11-08 Thread Paul Burton
This is actually required in order for a Linux kernel to boot successfully on a physical Malta board. Without enabling the RTC, a Malta Linux kernel will get stuck in its estimate_frequencies function on boot. Signed-off-by: Paul Burton --- Changes in v2: - rebase atop master - included withi

[U-Boot] [PATCH 16/18] malta: setup PIIX4 interrupt route

2013-11-08 Thread Paul Burton
Without setting up the PIRQ[A:D] interrupt routes, PCI interrupts will be left disabled. Linux does not set up this routing but relies upon it having been set up by the bootloader, reading back the IRQ lines which the PIRQ[A:D] signals have been routed to. This patch routes PIRQA & PIRQB to IRQ 10

[U-Boot] [PATCH v3 13/18] malta: disable L2 caches

2013-11-08 Thread Paul Burton
Malta boards may be used with cores which support L2 caches, however U-boot does not yet support L2 cache for MIPS. Thus for the moment we'll disable L2 caches by setting the L2B bit in Config2. This is specific to MTI/Imagination MIPS cores which is why this is done for the Malta board rather than

[U-Boot] [PATCH 15/18] malta: store environment in flash

2013-11-08 Thread Paul Burton
Allow the environment to be stored in the monitor flash of a Malta board. The environment is stored in the final 128KB of the flash, which both leaves the majority of the flash available for U-boot code and also matches the location which YAMON uses. Signed-off-by: Paul Burton --- include/config

[U-Boot] [PATCH v3 18/18] malta: add myself to maintainers

2013-11-08 Thread Paul Burton
This patch adds me as a maintainer of the malta(el) board(s). I have access to physical Malta boards and the desire for U-boot to run well on them. Signed-off-by: Paul Burton --- Changes in v3: - rebase atop master Changes in v2: - rebased after malta moved to board/imgtec/malta --- boards.

[U-Boot] [PATCH v3 17/18] malta: add script & instructions to flash U-boot

2013-11-08 Thread Paul Burton
This patch adds a script which may be used with MIPS Navigator Console and a MIPS Nagivator Probe in order to flash U-boot to a MIPS Malta development board. Please see the newly added doc/README.malta for usage instructions. Signed-off-by: Paul Burton --- Changes in v3: - rebase atop master

[U-Boot] [PATCH V2 0/3] OMAP5/DRA7: EMIF fixes for lowpower usecases

2013-11-08 Thread Sricharan R
1) Currently the DDR3 memory on DRA7 ES1.0 evm board is enabled using software leveling. This was done since hardware leveling was not working. Now that the right sequence to do hw leveling is identified, use it. This is required for EMIF clockdomain to idle and come back during lo

Re: [U-Boot] [PATCH 3/6] gzip: correctly bounds-check output buffer

2013-11-08 Thread Michal Simek
; char*)dst); > - s.avail_out = dstlen; > } while (r == Z_BUF_ERROR); > *lenp = s.next_out - (unsigned char *) dst; > inflateEnd(&s); > I have done u-boot upgrade to v2013.10 version and I see the problem with this patch when I am trying to boot my

[U-Boot] [PATCH V2 1/3] ARM: DRA7: Add is_dra7xx cpu check definition

2013-11-08 Thread Sricharan R
A generic is_dra7xx cpu check is useful for grouping all the revisions under that. This is used in the subsequent patches. Signed-off-by: Sricharan R --- arch/arm/include/asm/omap_common.h |8 1 file changed, 8 insertions(+) diff --git a/arch/arm/include/asm/omap_common.h b/arch/a

[U-Boot] [PATCH V2 0/3] OMAP5/DRA7: EMIF fixes for lowpower usecases

2013-11-08 Thread Sricharan R
1) Currently the DDR3 memory on DRA7 ES1.0 evm board is enabled using software leveling. This was done since hardware leveling was not working. Now that the right sequence to do hw leveling is identified, use it. This is required for EMIF clockdomain to idle and come back during lo

Re: [U-Boot] [PATCH] designware_i2c: disable i2c controller during target address setup

2013-11-08 Thread Albert ARIBAUD
Hi Alexey, On Thu, 7 Nov 2013 17:32:19 +, Alexey Brodkin wrote: > On Thu, 2013-11-07 at 18:24 +0100, Albert ARIBAUD wrote: > > Hi Alexey, > > > > On Thu, 7 Nov 2013 17:52:18 +0400, Alexey Brodkin > > wrote: > > > > /me wonders what made this patch Cc: me. Is it ARM-related in some way? >

[U-Boot] [PATCH V2 3/3] ARM: DRA7/OMAP5: EMIF: Add workaround for bug 0039

2013-11-08 Thread Sricharan R
When core power domain hits oswr, then DDR3 memories does not come back while resuming. This is because when EMIF registers are lost, then the controller takes care of copying the values from the shadow registers. If the shadow registers are not updated with the right values, then this results in i

[U-Boot] [PATCH V2 2/3] ARM: DRA: EMIF: Change DDR3 settings to use hw leveling

2013-11-08 Thread Sricharan R
Currently the DDR3 memory on DRA7 ES1.0 evm board is enabled using software leveling. This was done since hardware leveling was not working. Now that the right sequence to do hw leveling is identified, use it. This is required for EMIF clockdomain to idle and come back during lowpower usecases. Si

Re: [U-Boot] [PATCH 1/2] ARM: bcm2835: add missing mbox overscan response field

2013-11-08 Thread Albert ARIBAUD
Hi Andre, On Tue, 22 Oct 2013 22:27:20 +0200, Andre Heider wrote: > Add the missing "right" field to struct bcm2835_mbox_tag_overscan. > > Signed-off-by: Andre Heider > --- > arch/arm/include/asm/arch-bcm2835/mbox.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/include/as

Re: [U-Boot] [PATCH v2] usb: dfu: make nand upload working

2013-11-08 Thread Heiko Schocher
Hello Bo, Am 07.11.2013 07:29, schrieb Bo Shen: Nowhere pass a value to len, which always 0, make no transfer which cause uploading failed. This patch make nand upload working. However it needs enough malloc buffer to store read data, that means the buffer at least equal to the upload partition

Re: [U-Boot] [PATCH 1/2] ARM: bcm2835: add missing mbox overscan response field

2013-11-08 Thread Albert ARIBAUD
Hi Stephen, On Thu, 07 Nov 2013 14:30:54 -0700, Stephen Warren wrote: > So, there are 2 patches and 2 custodians. One of you has to ack the > patch for the other to merge them both through the other's subsystem, > right? I guess you want Anatolij to take both of these through the video > tree ba

[U-Boot] [PATCH] nitrogen6x: Remove unused OCOTP options

2013-11-08 Thread Fabio Estevam
OCOTP driver is currently selected via CONFIG_MXC_OCOTP option. Remove the old OCOTP related options, as they are not used anymore. Signed-off-by: Fabio Estevam --- include/configs/nitrogen6x.h | 10 -- 1 file changed, 10 deletions(-) diff --git a/include/configs/nitrogen6x.h b/include

[U-Boot] [PATCH 1/2] time: add weak annotation to timer_read_counter declaration

2013-11-08 Thread Rob Herring
From: Rob Herring A weak annotation is needed in order to prevent link errors when get_ticks is overridden. This fixes sandbox build. Signed-off-by: Rob Herring --- lib/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/time.c b/lib/time.c index 8361ddd..111b493 100

[U-Boot] [PATCH 2/2] sandbox: convert to common time functions

2013-11-08 Thread Rob Herring
From: Rob Herring Convert sandbox to use common time functions. Signed-off-by: Rob Herring --- board/sandbox/sandbox/sandbox.c | 14 ++ include/configs/sandbox.h | 2 ++ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/board/sandbox/sandbox/sandbox.c b/board/s

Re: [U-Boot] sandbox is broken again

2013-11-08 Thread Tom Rini
On Fri, Nov 08, 2013 at 08:34:09AM -0600, Simon Glass wrote: > Hi, > > On Nov 8, 2013 3:35 AM, "Masahiro Yamada" wrote: > > > > Hello, Rob, Simon. > > > > I noticed sandbox is broken. > > > > The error message is: > > lib/time.c:45: undefined reference to `timer_read_counter' > > > > This is caus

Re: [U-Boot] [PATCH] nitrogen6x: Remove unused OCOTP options

2013-11-08 Thread Eric Nelson
Thanks Fabio, On 11/08/2013 06:08 AM, Fabio Estevam wrote: OCOTP driver is currently selected via CONFIG_MXC_OCOTP option. Remove the old OCOTP related options, as they are not used anymore. Signed-off-by: Fabio Estevam --- include/configs/nitrogen6x.h | 10 -- 1 file changed, 10 d

Re: [U-Boot] sandbox is broken again

2013-11-08 Thread Simon Glass
Hi, On Nov 8, 2013 3:35 AM, "Masahiro Yamada" wrote: > > Hello, Rob, Simon. > > I noticed sandbox is broken. > > The error message is: > lib/time.c:45: undefined reference to `timer_read_counter' > > This is caused by commit 8dfafdde88eb3e71d5569846396ae67a91017232. I sent patch with the latest

Re: [U-Boot] [PATCH 3/6] gzip: correctly bounds-check output buffer

2013-11-08 Thread Kees Cook
s.next_out - (unsigned char *) dst; >> inflateEnd(&s); >> > > I have done u-boot upgrade to v2013.10 version and I see the problem with > this patch > when I am trying to boot my zynq image. > > After reverting this patch everything works as expected. Eek, sorry

Re: [U-Boot] soft vs. hard float

2013-11-08 Thread Wolfgang Denk
Dear "Saridakis, Dean (US SSA)", please keep the ML on Cc:, and please do not top-post / full quote. Finally, please keep your line length < 70 characters. Thanks. In message you wrote: > Figured I'd ask. FWIW, I have no intention of number crunching in U-Boot, but > do need to do 64-bit stor

Re: [U-Boot] [PATCH 3/6] gzip: correctly bounds-check output buffer

2013-11-08 Thread Michal Simek
(s.next_out - (unsigned >>> char*)dst); >>> - s.avail_out = dstlen; >>> } while (r == Z_BUF_ERROR); >>> *lenp = s.next_out - (unsigned char *) dst; >>> inflateEnd(&s); >>> >> >> I have done u-boot

Re: [U-Boot] [PATCH 3/6] gzip: correctly bounds-check output buffer

2013-11-08 Thread Michal Simek
len; >>>> } while (r == Z_BUF_ERROR); >>>> *lenp = s.next_out - (unsigned char *) dst; >>>> inflateEnd(&s); >>>> >>> >>> I have done u-boot upgrade to v2013.10 version and I see the problem with >>> this patch >

Re: [U-Boot] [PATCH] i2c, omap1510: remove i2c driver

2013-11-08 Thread Tom Rini
On Fri, Nov 08, 2013 at 09:38:52AM +0100, Heiko Schocher wrote: > remove omap1510 i2c driver, as there is no board which uses it > > Signed-off-by: Heiko Schocher > Cc: Tom Rini > Cc: Wolfgang Denk Acked-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

[U-Boot] [PATCH] mx6sabresd: Fix wrong colors in LVDS display

2013-11-08 Thread Fabio Estevam
Currently HDMI splash screen is selected by default on mx6sabresd boards. As LVDS is also always enabled, this causes incorrect colors to be displayed in the LVDS panel due to the different pixel format in HDMI and LVDS. Fix this by selecting the LVDS panel as the default splash output and also

Re: [U-Boot] [PATCH 2/2] sandbox: convert to common time functions

2013-11-08 Thread Simon Glass
Hi Rob, On Fri, Nov 8, 2013 at 7:40 AM, Rob Herring wrote: > From: Rob Herring > > Convert sandbox to use common time functions. > > Signed-off-by: Rob Herring > --- > board/sandbox/sandbox/sandbox.c | 14 ++ > include/configs/sandbox.h | 2 ++ > 2 files changed, 4 insertion

Re: [U-Boot] sandbox is broken again

2013-11-08 Thread Simon Glass
Hi Tom, On Fri, Nov 8, 2013 at 7:52 AM, Tom Rini wrote: > On Fri, Nov 08, 2013 at 08:34:09AM -0600, Simon Glass wrote: >> Hi, >> >> On Nov 8, 2013 3:35 AM, "Masahiro Yamada" wrote: >> > >> > Hello, Rob, Simon. >> > >> > I noticed sandbox is broken. >> > >> > The error message is: >> > lib/time.c

Re: [U-Boot] [PATCH 2/2] sandbox: convert to common time functions

2013-11-08 Thread Rob Herring
On Fri, Nov 8, 2013 at 10:32 AM, Simon Glass wrote: > Hi Rob, > > On Fri, Nov 8, 2013 at 7:40 AM, Rob Herring wrote: >> From: Rob Herring >> >> Convert sandbox to use common time functions. >> >> Signed-off-by: Rob Herring >> --- >> board/sandbox/sandbox/sandbox.c | 14 ++ >> inclu

[U-Boot] [U-BOOT PATCH] net: zynq_gem: Add d-cache support

2013-11-08 Thread Jagannadha Sutradharudu Teki
From: Srikanth Thokala Added d-cache support for zynq_gem.c, Observed a difference of +0.8 MiB/s when downloading a file of size of 3007944Bytes. With d-cache OFF: Filename 'uImage'. Load address: 0x800 Loading: #

Re: [U-Boot] A question about unconfigured pads check in omap24xx_i2c

2013-11-08 Thread Nikita Kiryanov
On 11/06/2013 03:19 PM, Lubomir Popov wrote: On 06-Nov-13 14:12, Nikita Kiryanov wrote: In drivers/i2c/omap24xx_i2c.c there are a few checks that attempt to detect unconfigured pads for the i2c bus in use. These checks are all in the form of if (status == I2C_STAT_XRDY) { printf("unconfigur

Re: [U-Boot] [PATCH v2] usb: dfu: make nand upload working

2013-11-08 Thread Lukasz Majewski
Hi Bo, > Nowhere pass a value to len, which always 0, make no transfer which > cause uploading failed. > > This patch make nand upload working. However it needs enough malloc > buffer to store read data, that means the buffer at least equal to > the upload partition size, or else it doesn't work.

[U-Boot] [PATCH] mx6sabresd: Add SPI NOR support

2013-11-08 Thread Fabio Estevam
mx6sabre board has a m25p32 SPI NOR connected to ECSPI1 port. Add support for it. This patch allows the SPI NOR flash to be succesfully detected: => sf probe SF: Detected M25P32 with page size 256 Bytes, erase size 64 KiB, total 4 Mi

Re: [U-Boot] [PATCH 2/2] sandbox: convert to common time functions

2013-11-08 Thread Simon Glass
Hi Rob, On Fri, Nov 8, 2013 at 10:18 AM, Rob Herring wrote: > On Fri, Nov 8, 2013 at 10:32 AM, Simon Glass wrote: >> Hi Rob, >> >> On Fri, Nov 8, 2013 at 7:40 AM, Rob Herring wrote: >>> From: Rob Herring >>> >>> Convert sandbox to use common time functions. >>> >>> Signed-off-by: Rob Herring

[U-Boot] [PATCH] am33xx: Make SoC bootcount driver have its own symbol

2013-11-08 Thread Tom Rini
Some am33xx boards may not use the RTC block for bootcount (as it may not be wired up for the board) and use some other facility. So add another symbol for the bootcount driver for the IP block. Cc: Heiko Schocher Signed-off-by: Tom Rini --- drivers/bootcount/Makefile|2 +- dri

Re: [U-Boot] [PATCH v2] usb: dfu: make nand upload working

2013-11-08 Thread Marek Vasut
Dear Bo Shen, > Nowhere pass a value to len, which always 0, make no transfer which > cause uploading failed. > > This patch make nand upload working. However it needs enough malloc > buffer to store read data, that means the buffer at least equal to > the upload partition size, or else it doesn'

[U-Boot] [PULL] u-boot-usb/master

2013-11-08 Thread Marek Vasut
The following changes since commit 2cee0408e5c6f5dbdfa89fb40168ba2ead3f61a6: Merge branch 'master' of git://www.denx.de/git/u-boot-coldfire (2013-11-06 16:18:25 -0500) are available in the git repository at: git://git.denx.de/u-boot-usb.git master

Re: [U-Boot] [U-Boot, 3/3] ahci: support LBA48 data reads for 2+TB drives

2013-11-08 Thread Tom Rini
On Tue, Sep 10, 2013 at 03:19:17PM -0500, Mark Langsdorf wrote: > Enable full 48-bit LBA48 data reads by passing the upper word of the > LBA block pointer in bytes 9 and 10 of the FIS. > > This allows uboot to load data from any arbitrary sector on a drive > with 2 or more TB of available data co

Re: [U-Boot] [PATCH 3/3] ahci: support LBA48 data reads for 2+TB drives

2013-11-08 Thread Anatolij Gustschin
On Tue, 10 Sep 2013 15:19:17 -0500 Mark Langsdorf wrote: ... > diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c > index 8cc9379..c5c942f 100644 > --- a/drivers/block/ahci.c > +++ b/drivers/block/ahci.c ... > @@ -689,10 +696,13 @@ static int ata_scsiop_read_write(ccb *pccb, u8 is_write) >

[U-Boot] [PATCH v1 0/6] ARM: refactor start.S files

2013-11-08 Thread Albert ARIBAUD
This series aims at refactoring start.S files. Some of these files contain cache-related or cpu-reset-related core, which is moved where it belongs. Useless symbols are removed, and finally, exception vector code, common across all ARM CPUs, is moved in its own file. At this point, the start.S fil

[U-Boot] [PATCH v1 2/6] arm: move reset_cpu from start.S into cpu.c

2013-11-08 Thread Albert ARIBAUD
CPUs arm946es, ixp and sa1100 all define the reset_cpu() function in their start.S file. Move this cpu-specific code into cpu.c so that start.S only contains ARM generic code. Signed-off-by: Albert ARIBAUD --- arch/arm/cpu/arm946es/cpu.c | 12 arch/arm/cpu/arm946es/start.S | 23 --

[U-Boot] [PATCH v1 1/6] arm1136: move cache code from start.S to cache.c

2013-11-08 Thread Albert ARIBAUD
arch/arm/cpu/arm1136/start.S contain a cache flushing function. Remove the function and move its code into arch/arm/lib/cache.c. Signed-off-by: Albert ARIBAUD --- arch/arm/cpu/arm1136/start.S | 10 -- arch/arm/lib/cache.c | 13 ++--- 2 files changed, 10 insertions(+), 13

[U-Boot] [PATCH v1 5/6] arm: remove unused _end_vect and _vectors_end symbols

2013-11-08 Thread Albert ARIBAUD
Signed-off-by: Albert ARIBAUD --- arch/arm/cpu/arm1136/start.S | 2 -- arch/arm/cpu/arm1176/start.S | 2 -- arch/arm/cpu/arm946es/start.S | 2 -- arch/arm/cpu/armv7/start.S| 3 --- arch/arm/cpu/pxa/start.S | 2 -- 5 files changed, 11 deletions(-) diff --git a/arch/arm/cpu/arm1136/star

[U-Boot] [PATCH v1 3/6] arm: pxa: move SP check from start.S to cpuinfo.c

2013-11-08 Thread Albert ARIBAUD
PXA start.S has a PXA (variant) specific check in start.S. Move it to cpuinfo.c. Signed-off-by: Albert ARIBAUD --- arch/arm/cpu/pxa/cpuinfo.c | 6 ++ arch/arm/cpu/pxa/start.S | 6 -- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/cpu/pxa/cpuinfo.c b/arch/arm/cp

[U-Boot] [PATCH v1 4/6] arm: ixp: cosmetic: move code around in start.S

2013-11-08 Thread Albert ARIBAUD
Make IPX start.S more consistant with other start.S files by moving defines and macros away so that the file begins with the exception vectors table. Signed-off-by: Albert ARIBAUD --- arch/arm/cpu/ixp/start.S | 64 1 file changed, 32 insertions(+)

Re: [U-Boot] A question about unconfigured pads check in omap24xx_i2c

2013-11-08 Thread Lubomir Popov
Hi Nikita, > On 11/06/2013 03:19 PM, Lubomir Popov wrote: >> On 06-Nov-13 14:12, Nikita Kiryanov wrote: >>> In drivers/i2c/omap24xx_i2c.c there are a few checks that attempt to >>> detect unconfigured pads for the i2c bus in use. These checks are >>> all in the form of >>> >>> if (status == I2C_ST

[U-Boot] [PATCH] Revert "ARM: move interrupt_init to before relocation"

2013-11-08 Thread Albert ARIBAUD
Revert commit 0f5141e9 which causes boards starting in FLASH to try and write to a FLASH location. Signed-off-by: Albert ARIBAUD --- arch/arm/lib/board.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index 34f50b0..9c72a53 10064

Re: [U-Boot] [PATCH v1] arm: keep all sections in ELF file

2013-11-08 Thread Benoît Thébaudeau
Hi Albert, On Thursday, November 7, 2013 2:21:46 PM, Albert ARIBAUD wrote: > Current LDS files /DISCARD/ a lot of sections when linking ELF > files, causing diagnostic tools such as readelf or objdump to > produce partial output. Keep all section at link stage, filter > only at objcopy time so tha

Re: [U-Boot] [PATCH v2 1/2] arm: make _end compiler-generated

2013-11-08 Thread Benoît Thébaudeau
Hi Albert, On Thursday, November 7, 2013 3:15:03 PM, Albert ARIBAUD wrote: > This prevents references to _end from generating absolute > relocation records. > > Signed-off-by: Albert ARIBAUD Reviewed-by: Benoît Thébaudeau Best regards, Benoît ___ U-

Re: [U-Boot] [PATCH v2 2/2] arm: remove unneeded symbol offsets and _TEXT_BASE

2013-11-08 Thread Benoît Thébaudeau
Hi Albert, On Thursday, November 7, 2013 3:15:04 PM, Albert ARIBAUD wrote: > Remove the last uses of symbol offsets in ARM U-Boot. > Remove some needless uses of _TEXT_BASE. > Remove all _TEXT_BASE definitions. > > Signed-off-by: Albert ARIBAUD Reviewed-by: Benoît Thébaudeau Best regards, Ben

Re: [U-Boot] [PATCH v1 1/6] arm1136: move cache code from start.S to cache.c

2013-11-08 Thread Benoît Thébaudeau
Hi Albert, On Friday, November 8, 2013 10:17:54 PM, Albert ARIBAUD wrote: > arch/arm/cpu/arm1136/start.S contain a cache flushing function. > Remove the function and move its code into arch/arm/lib/cache.c. > > Signed-off-by: Albert ARIBAUD Reviewed-by: Benoît Thébaudeau Best regards, Benoît

Re: [U-Boot] Question about patman

2013-11-08 Thread Albert ARIBAUD
Hi Masahiro, On Tue, 05 Nov 2013 12:47:05 +0900, Masahiro Yamada wrote: > Hello Simon. > > > You should put an alias for arm in your ~/.patman file, like this: > > > > albert: Albert Aribaud > > arm: albert > > > > There is also a -t option to skip bad aliases. > > Thanks! It worked. > I lo

Re: [U-Boot] SPL Dfu update

2013-11-08 Thread Michael Trimarchi
Hi Tom On Thu, Oct 31, 2013 at 2:20 PM, Tom Rini wrote: > On Wed, Oct 30, 2013 at 09:11:43PM +0100, Wolfgang Denk wrote: >> Dear Michael Trimarchi, >> >> In message >> you >> wrote: >> > >> > > This does not answer Stefano's question: why do it in SPL, what's >> > > wrong with loading the real

Re: [U-Boot] [PULL] u-boot-usb/master

2013-11-08 Thread Tom Rini
On Fri, Nov 08, 2013 at 08:47:33PM +0100, Marek Vasut wrote: > The following changes since commit 2cee0408e5c6f5dbdfa89fb40168ba2ead3f61a6: > > Merge branch 'master' of git://www.denx.de/git/u-boot-coldfire (2013-11-06 > 16:18:25 -0500) > > are available in the git repository at: > > > git://g

Re: [U-Boot] [U-Boot, v3] cmd/gpt: Support gpt command for all devices

2013-11-08 Thread Tom Rini
On Fri, Oct 04, 2013 at 06:53:04PM +0200, egbert.e...@gmail.com wrote: > From: Egbert Eich > > The gpt command was only implemented for mmc devices. There is no reason > why this command should not be generalized and be applied all other > storage device classes. > This change both simplifies th

Re: [U-Boot] [U-Boot, 1/2] autoboot: add an option to override keyed autoboot

2013-11-08 Thread Tom Rini
On Tue, Sep 10, 2013 at 03:20:23PM -0500, Mark Langsdorf wrote: > As originally implemented, setting the AUTOBOOT_KEYED config option will > prevent users from breaking into the autoboot script with ctrl-c. Restore > that option with a new config symbol. > > Signed-off-by: Mark Langsdorf Applie

Re: [U-Boot] [PATCH 2/2] sandbox: convert to common time functions

2013-11-08 Thread Tom Rini
On Fri, Nov 08, 2013 at 08:40:44AM -0600, Rob Herring wrote: > From: Rob Herring > > Convert sandbox to use common time functions. > > Signed-off-by: Rob Herring Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, 1/2] highbank: set AUTOBOOT_KEYED_CTRLC config option

2013-11-08 Thread Tom Rini
On Tue, Sep 10, 2013 at 03:20:24PM -0500, Mark Langsdorf wrote: > Let highbank users break into the autoboot script with ctrl-c. > > Signed-off-by: Mark Langsdorf Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH 1/2] time: add weak annotation to timer_read_counter declaration

2013-11-08 Thread Tom Rini
On Fri, Nov 08, 2013 at 08:40:43AM -0600, Rob Herring wrote: > From: Rob Herring > > A weak annotation is needed in order to prevent link errors when > get_ticks is overridden. This fixes sandbox build. > > Signed-off-by: Rob Herring Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, 1/5] cosmetic: doc: driver-model: Do not number driver lists

2013-11-08 Thread Tom Rini
On Tue, Sep 24, 2013 at 10:32:04AM +0900, Masahiro Yamada wrote: > Everytime a dead driver is removed from the list, > we must re-number. This is a painful task. > > Try > git show e53232250 -- doc/driver-model/UDM-serial.txt > git show 6f62f4207 -- doc/driver-model/UDM-serial.txt > git sho

Re: [U-Boot] [U-Boot, 3/5] cosmetic: UDM-net: clean up the remainders of dead driver

2013-11-08 Thread Tom Rini
On Tue, Sep 24, 2013 at 10:32:06AM +0900, Masahiro Yamada wrote: > This commit omits non-existing drivers/net/netarm_eth.c from the list. > This driver is deleted by commit b411eb30f. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digi

Re: [U-Boot] config/sandbox: Add EFI and GPT support

2013-11-08 Thread Tom Rini
On Fri, Oct 04, 2013 at 07:44:07PM +0200, egbert.e...@gmail.com wrote: > From: Egbert Eich > > Signed-off-by: Egbert Eich Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.d

Re: [U-Boot] config: Define HAVE_BLOCK_DEVICE when CONFIG_CMD_GPT is set

2013-11-08 Thread Tom Rini
On Fri, Oct 04, 2013 at 07:42:53PM +0200, egbert.e...@gmail.com wrote: > From: Egbert Eich > > Signed-off-by: Egbert Eich Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.d

Re: [U-Boot] [U-Boot, 2/5] cosmetic: UDM-serial: clean up the remainders of dead driver

2013-11-08 Thread Tom Rini
On Tue, Sep 24, 2013 at 10:32:05AM +0900, Masahiro Yamada wrote: > The following serial drivers do not exist any more. > > - ns9750_serial.c: deleted by commit 4cfc611b4 > - s3c4510b_uart.c: deleted by commit afad40299 > - serial_clps7111.c: deleted by commit f2e080156 > - serial_netarm.c: de

Re: [U-Boot] include: delete include/linux/config.h

2013-11-08 Thread Tom Rini
On Mon, Oct 07, 2013 at 04:04:18PM +0900, Masahiro Yamada wrote: > Linux Kernel abolished include/linux/config.h long time ago. > (around version v2.6.18..v2.6.19) > > We don't need to provide Linux copatibility any more. > > This commit deletes include/linux/config.h > and fixes source files no

Re: [U-Boot] env: fix the env export varname

2013-11-08 Thread Tom Rini
On Tue, Oct 08, 2013 at 02:20:27PM +0200, Pierre Aubert wrote: > The env export command doesn't export the first variable of the list > since commit 5a31ea04c9ee5544fbb70ad7597ea4b294840eab > "env grep" - reimplement command using hexport_r() > > Signed-off-by: Pierre Aubert Applied to u-boot/m

Re: [U-Boot] [U-Boot, 1/3] cmd_ubifs: normalize 'file not found' errors

2013-11-08 Thread Tom Rini
On Thu, Oct 10, 2013 at 01:32:26AM +0200, Luka Perkov wrote: > From: Tim Harvey > > Signed-off-by: Tim Harvey Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http:

  1   2   >