Re: [U-Boot] ARM ld: .bss overlaps section .rel.dyn

2012-02-03 Thread viresh kumar
On Fri, Feb 3, 2012 at 10:24 AM, Albert ARIBAUD wrote: >>> On 2/1/12, Amit Virdi  wrote: I'm in the process of updating platform support for spear series of SoC on the latest u-boot. I picked u-boot v2011.12. I tried compiling for different spear boards (spear 300, 310, 300 and

[U-Boot] [PATCH 1/2] easylogo: add lzma support

2012-02-03 Thread Mike Frysinger
Compressing the logos with lzma rather than gzip saves ~9kb with the Blackfin 24bit images and ~3kb with the 16bit images. Add a new -l option to easylogo so people can pick lzma as their decompression routine. Signed-off-by: Mike Frysinger --- tools/easylogo/easylogo.c | 85 +

[U-Boot] [PATCH v3 9/9] tegra: i2c: Enable I2C on Seaboard

2012-02-03 Thread Simon Glass
This enables I2C on Seaboard. Signed-off-by: Simon Glass --- Changes in v3: - Use CONFIG_TEGRA_I2C instead of CONFIG_TEGRA2_I2C include/configs/seaboard.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h inde

[U-Boot] [PATCH v3 1/9] tegra: Rename NV_PA_PMC_BASE to TEGRA2_PMC_BASE

2012-02-03 Thread Simon Glass
Change this name to fit with the current convention in the Tegra header file. Signed-off-by: Simon Glass Acked-by: Stephen Warren --- arch/arm/cpu/armv7/tegra2/ap20.c | 10 +- arch/arm/cpu/armv7/tegra2/board.c |2 +- arch/arm/include/asm/arch-tegra2/tegra2.h |

[U-Boot] [PATCH v3 8/9] tegra: i2c: Select number of controllers for Tegra2 boards

2012-02-03 Thread Simon Glass
The Tegra 2x SOC has four ports, so define TEGRA_I2C_NUM_CONTROLLERS in the shared config file. Signed-off-by: Simon Glass --- include/configs/tegra2-common.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-comm

[U-Boot] [PATCH v3 7/9] tegra: i2c: Select I2C ordering for Seaboard

2012-02-03 Thread Simon Glass
Select the port ordering for I2C on Seaboard. Signed-off-by: Simon Glass --- Changes in v2: - Disable port 2 as it is not used Changes in v3: - Move speed setting from tegra20.dtsi to board .dts file board/nvidia/dts/tegra2-seaboard.dts | 21 + 1 files changed, 21 inserti

[U-Boot] [PATCH v3 5/9] tegra: i2c: Add I2C driver

2012-02-03 Thread Simon Glass
From: Yen Lin Add basic i2c driver for Tegra2 with 8- and 16-bit address support. The driver requires CONFIG_OF_CONTROL to obtain its configuration from the device tree. (Simon Glass: s...@chromium.org modified for upstream) Signed-off-by: Simon Glass --- Changes in v2: - Adjust definitions to

[U-Boot] [PATCH v3 6/9] tegra: i2c: Initialise I2C on Nvidia boards

2012-02-03 Thread Simon Glass
This enables I2C on all Nvidia boards including Seaboard and Harmony. Signed-off-by: Simon Glass --- Changes in v2: - Add build warning if CONFIG_SYS_I2C_INIT_BOARD is not defined Changes in v3: - Use CONFIG_TEGRA_I2C instead of CONFIG_TEGRA2_I2C board/nvidia/common/board.c |7 +++ 1 f

[U-Boot] [PATCH v3 3/9] tegra: Enhance clock support to handle 16-bit clock divisors

2012-02-03 Thread Simon Glass
I2C ports have a 16-bit clock divisor. Add code to handle this special case so that I2C speeds below 150KHz are supported. Signed-off-by: Simon Glass --- Changes in v3: - Add new patch to support 16-bit clock divisors required by I2C arch/arm/cpu/armv7/tegra2/clock.c | 63 +++

[U-Boot] [PATCH v3 2/9] fdt: Add function to allow aliases to refer to multiple nodes

2012-02-03 Thread Simon Glass
Some devices can deal with multiple compatible properties. The devices need to know which nodes to bind to which features. For example an I2C driver which supports two different controller types will want to know which type it is dealing with in each case. The new fdtdec_add_aliases_for_id() funct

[U-Boot] [PATCH v3 4/9] tegra: fdt: i2c: Add extra I2C bindings for U-Boot

2012-02-03 Thread Simon Glass
Add U-Boot's peripheral clock information to the Tegra20 device tree file. Signed-off-by: Simon Glass --- Changes in v2: - Adjust definitions to fit new peripheral clock bindings - Change 'speed' to 'clock-frequency' - Remove u-boot,pinmux binding (sadly) Changes in v3: - Move speed setting from

[U-Boot] [PATCH v3 0/9] tegra: Add I2C driver and associated parts

2012-02-03 Thread Simon Glass
This series brings in an I2C driver for Tegra which can be configured by a flat device tree. It supports 8- and 16-bit addresses and both the normal I2C ports and the DVC port (for controlling the power management unit (PMU)). Recent Linux bindings are used, based on example .dts files found in b

Re: [U-Boot] [PATCH v2 6/7] tegra: Select I2C ordering for Seaboard

2012-02-03 Thread Simon Glass
Hi Stephen, On Fri, Feb 3, 2012 at 4:41 PM, Stephen Warren wrote: > On 02/03/2012 05:36 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Fri, Feb 3, 2012 at 4:25 PM, Stephen Warren wrote: >>> On 02/03/2012 05:19 PM, Simon Glass wrote: Hi Stephen, On Fri, Feb 3, 2012 at 4:14 PM, Step

Re: [U-Boot] [PATCH v2 6/7] tegra: Select I2C ordering for Seaboard

2012-02-03 Thread Stephen Warren
On 02/03/2012 05:36 PM, Simon Glass wrote: > Hi Stephen, > > On Fri, Feb 3, 2012 at 4:25 PM, Stephen Warren wrote: >> On 02/03/2012 05:19 PM, Simon Glass wrote: >>> Hi Stephen, >>> >>> On Fri, Feb 3, 2012 at 4:14 PM, Stephen Warren wrote: On 02/03/2012 04:24 PM, Simon Glass wrote: > Hi

Re: [U-Boot] [PATCH v2 6/7] tegra: Select I2C ordering for Seaboard

2012-02-03 Thread Simon Glass
Hi Stephen, On Fri, Feb 3, 2012 at 4:25 PM, Stephen Warren wrote: > On 02/03/2012 05:19 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Fri, Feb 3, 2012 at 4:14 PM, Stephen Warren wrote: >>> On 02/03/2012 04:24 PM, Simon Glass wrote: Hi Stephen, On Thu, Jan 19, 2012 at 12:56 PM, St

Re: [U-Boot] [PATCH v2 6/7] tegra: Select I2C ordering for Seaboard

2012-02-03 Thread Stephen Warren
On 02/03/2012 05:19 PM, Simon Glass wrote: > Hi Stephen, > > On Fri, Feb 3, 2012 at 4:14 PM, Stephen Warren wrote: >> On 02/03/2012 04:24 PM, Simon Glass wrote: >>> Hi Stephen, >>> >>> On Thu, Jan 19, 2012 at 12:56 PM, Stephen Warren wrote: On 01/12/2012 12:00 PM, Simon Glass wrote: > S

Re: [U-Boot] [PATCH v2 6/7] tegra: Select I2C ordering for Seaboard

2012-02-03 Thread Simon Glass
Hi Stephen, On Fri, Feb 3, 2012 at 4:14 PM, Stephen Warren wrote: > On 02/03/2012 04:24 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Thu, Jan 19, 2012 at 12:56 PM, Stephen Warren wrote: >>> On 01/12/2012 12:00 PM, Simon Glass wrote: Select the port ordering for I2C on Seaboard.

Re: [U-Boot] [PATCH v2 6/7] tegra: Select I2C ordering for Seaboard

2012-02-03 Thread Stephen Warren
On 02/03/2012 04:24 PM, Simon Glass wrote: > Hi Stephen, > > On Thu, Jan 19, 2012 at 12:56 PM, Stephen Warren wrote: >> On 01/12/2012 12:00 PM, Simon Glass wrote: >>> Select the port ordering for I2C on Seaboard. >>> >>> Signed-off-by: Simon Glass >>> Acked-by: Stephen Warren >> >> This isn't t

Re: [U-Boot] [PATCH v2 18/20] tegra: i2c: Add function to find DVC bus

2012-02-03 Thread Simon Glass
Hi Heiko, On Jan 14, 2012 11:28 PM, "Heiko Schocher" wrote: > > Hello Simon, > > Simon Glass wrote: > > Add tegra_i2c_get_dvc_bus_num() to obtain the I2C bus number of DVC bus. > > This allows us to talk to the PMU. > > > > Signed-off-by: Simon Glass > > --- > > Changes in v2: > > - Add patch to

Re: [U-Boot] [PATCH v2 3/7] tegra: fdt: Add extra I2C bindings for U-Boot

2012-02-03 Thread Simon Glass
Hi Stephen, On Mon, Jan 23, 2012 at 10:25 AM, Stephen Warren wrote: > On 01/22/2012 10:41 AM, Simon Glass wrote: >> Hi Stephen, >> >> On Thu, Jan 19, 2012 at 12:51 PM, Stephen Warren wrote: >>> On 01/12/2012 12:00 PM, Simon Glass wrote: Add U-Boot's peripheral clock information to the Tegra

Re: [U-Boot] [PATCH v2 4/7] tegra: Add I2C driver

2012-02-03 Thread Simon Glass
Hi Stephen, On Thu, Jan 19, 2012 at 1:08 PM, Stephen Warren wrote: > On 01/12/2012 12:00 PM, Simon Glass wrote: >> From: Yen Lin >> >> Add basic i2c driver for Tegra2 with 8- and 16-bit address support. >> The driver requires CONFIG_OF_CONTROL to obtain its configuration >> from the device tree.

Re: [U-Boot] [PATCH v2 6/7] tegra: Select I2C ordering for Seaboard

2012-02-03 Thread Simon Glass
Hi Stephen, On Thu, Jan 19, 2012 at 12:56 PM, Stephen Warren wrote: > On 01/12/2012 12:00 PM, Simon Glass wrote: >> Select the port ordering for I2C on Seaboard. >> >> Signed-off-by: Simon Glass >> Acked-by: Stephen Warren > > This isn't the patch that I ack'd. Sorry, I added the disable. > >

Re: [U-Boot] [PATCH 4/7] tegra: Add I2C driver

2012-02-03 Thread Simon Glass
Hi Stephen, On Thu, Jan 12, 2012 at 11:14 AM, Stephen Warren wrote: > Simon Glass wrote ednesday, January 11, 2012 9:18 PM: >> On Mon, Jan 9, 2012 at 2:07 PM, Stephen Warren wrote: >> > On 12/26/2011 11:11 AM, Simon Glass wrote: >> >> From: Yen Lin >> >> >> >> Add basic i2c driver for Tegra2 wi

Re: [U-Boot] [PATCH v3 0/6] Introduce generic relocation feature

2012-02-03 Thread Albert ARIBAUD
Hi Simon, Le 18/01/2012 20:31, Simon Glass a écrit : [+TI maintainers, tx25 board maintainer] Hi Albert, For ARM, a new arch/arm/lib/proc.S file is created, which holds generic ARM assembler code (things that cannot be written in C and are common functions used by all ARM CPUs). This helps r

Re: [U-Boot] [PATCH v8 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-02-03 Thread Mike Frysinger
On Friday 03 February 2012 11:05:57 Chander Kashyap wrote: > board/samsung/smdk5250/tools/mkexynos_image.c | 117 > create mode 100644 tools/mksmdk5250spl.c something funky in your diffstat ... says you're creating tools/ but the diffstat shows board/.../tools/. but the diff below looks correc

Re: [U-Boot] [PATCH 00/28] Add link-local addressing support

2012-02-03 Thread Mike Frysinger
On Friday 03 February 2012 11:19:22 Stefano Babic wrote: > On 03/02/2012 12:34, Mike Frysinger wrote: > > On Thursday 26 January 2012 04:21:21 Stefano Babic wrote: > >> On 26/01/2012 00:40, Joe Hershberger wrote: > I have a basic question about your patchset. RFC3927 requires > that addre

Re: [U-Boot] [PATCH V4] nand_spl_simple: store ecc data on the stack

2012-02-03 Thread Tom Rini
On Fri, Feb 3, 2012 at 1:17 PM, Albert ARIBAUD wrote: > Hi, > > I am slowly catching up on my e-mail, so... > > Le 11/01/2012 00:24, Tom Rini a écrit : >> >> A hawkboard conversion is pending Albert ack'ing/commenting on a >> generic ARM fixup. > > > Can you point me to this patch series? I'll loo

Re: [U-Boot] [PATCH v6 10/18] tegra: usb: fdt: Add additional device tree definitions for USB ports

2012-02-03 Thread Simon Glass
Hi Stephen, On Fri, Feb 3, 2012 at 12:03 PM, Stephen Warren wrote: > Simon Glass wrote at Friday, February 03, 2012 10:08 AM: >> This adds clock references to the USB part of the device tree for U-Boot, >> and marks USB1 as supporting legacy mode (which we disable in the driver). >> >> The USB ti

Re: [U-Boot] flash post test

2012-02-03 Thread Albert ARIBAUD
Hi vk, Le 31/01/2012 10:27, vk a écrit : Hi all, Currently I am testing the Flash memory by using "Write and Read the same pattern" method (Protecting the UBoot Flash Sectors). Is it safer to test flash memory during bootup?what if power gets off during process? I want to know whether there

Re: [U-Boot] [PATCH v4] arm, arm-kirkwood: disable l2c before linux boot

2012-02-03 Thread Albert ARIBAUD
Le 01/02/2012 19:24, Michael Walle a écrit : The decompressor expects the L2 cache to be disabled. This fixes booting some kernels, which have CONFIG_ARM_PATCH_PHYS_VIRT enabled. Signed-off-by: Michael Walle Acked-by: Prafulla Wadaskar Cc: Albert ARIBAUD Cc: Prafulla Wadaskar Cc: Wolfgang Denk -

Re: [U-Boot] [PATCH v2] skat91: add support for SK-AT91SAM9/SIM508 board

2012-02-03 Thread Albert ARIBAUD
Hi Vladimir, Le 12/01/2012 00:12, Vladimir Zapolskiy a écrit : This change adds complete support for Starterkit SK-AT91SAM9/SIM508 board. Signed-off-by: Vladimir Zapolskiy Cc: Albert ARIBAUD Cc: Wolfgang Denk --- Changes from v1 to v2: * make use of setbits_le32() and similar helpers * phy addr

Re: [U-Boot] compile the u-boot

2012-02-03 Thread Albert ARIBAUD
Sorry for the late answer, Jilin. Le 13/01/2012 01:18, Jilin Zhou a écrit : Hi Albert, Thanks for the reply. My host environment is Mac. Our company has a cross compiler toolchain for armv7. The commands I run are as follows: 1. export CROSS_COMPILE=ntoarmv7- 2. make omap4_panda_config 3. ma

Re: [U-Boot] [PATCH V4] nand_spl_simple: store ecc data on the stack

2012-02-03 Thread Albert ARIBAUD
Hi, I am slowly catching up on my e-mail, so... Le 11/01/2012 00:24, Tom Rini a écrit : A hawkboard conversion is pending Albert ack'ing/commenting on a generic ARM fixup. Can you point me to this patch series? I'll look it up as soon as possible. Amicalement, -- Albert.

Re: [U-Boot] [PATCH v6 10/18] tegra: usb: fdt: Add additional device tree definitions for USB ports

2012-02-03 Thread Stephen Warren
Simon Glass wrote at Friday, February 03, 2012 10:08 AM: > This adds clock references to the USB part of the device tree for U-Boot, > and marks USB1 as supporting legacy mode (which we disable in the driver). > > The USB timing information may vary between boards sometimes, but for > now we hard-

Re: [U-Boot] [PATCH v6 11/18] tegra: usb: fdt: Add USB definitions for Tegra2 Seaboard

2012-02-03 Thread Stephen Warren
Simon Glass wrote at Friday, February 03, 2012 10:08 AM: > We set up two USB ports, one of which can be host or device. > For some reason the kernel version does enable both ports. > > Signed-off-by: Simon Glass Acked-by: Stephen Warren -- nvpublic ___

Re: [U-Boot] [PATCH v4] Add 'patman' patch generation, checking and submission script

2012-02-03 Thread Albert ARIBAUD
Hi Simon, Le 03/02/2012 20:30, Simon Glass a écrit : Hi Albert, On Fri, Feb 3, 2012 at 11:00 AM, Albert ARIBAUD wrote: Hi Simon, Le 15/01/2012 02:20, Simon Glass a écrit : Hi, Hmmm patman found a tag in this commit and tried to send it to Fred Bloggs. I have added the line below - sorry

Re: [U-Boot] [PING] Re: [PATCH] ARM: activate DISPLAY_CPUINFO for VCMA9 + SMDK2410 board

2012-02-03 Thread Albert ARIBAUD
Hi David, Le 09/01/2012 08:23, "David Müller (ELSOFT AG)" a écrit : Hello Any news? Adding Minkyu. Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v4] Add 'patman' patch generation, checking and submission script

2012-02-03 Thread Simon Glass
Hi Albert, On Fri, Feb 3, 2012 at 11:00 AM, Albert ARIBAUD wrote: > Hi Simon, > > Le 15/01/2012 02:20, Simon Glass a écrit : > >> Hi, >> >> Hmmm patman found a tag in this commit and tried to send it to Fred >> Bloggs. I have added the line below - sorry for the confusion. >> >> On Sat, Jan 14, 2

Re: [U-Boot] [PATCH v4] Add 'patman' patch generation, checking and submission script

2012-02-03 Thread Albert ARIBAUD
Hi Simon, Le 15/01/2012 02:20, Simon Glass a écrit : Hi, Hmmm patman found a tag in this commit and tried to send it to Fred Bloggs. I have added the line below - sorry for the confusion. On Sat, Jan 14, 2012 at 5:12 PM, Simon Glass wrote: What is this? = This tool is a Python s

Re: [U-Boot] Please pull u-boot-ti/master

2012-02-03 Thread Albert ARIBAUD
Hi Tom, Le 02/02/2012 19:10, Tom Rini a écrit : Hello, The following changes since commit 78936e6d110bbcfe6db3406456c16a7a174ae031: Tom Rini (1): OMAP3: Correct get_sdr_cs_offset mask are available in the git repository at: git://git.denx.de/u-boot-ti.git master Dechesne, Nico

Re: [U-Boot] ARM ld: .bss overlaps section .rel.dyn

2012-02-03 Thread Albert ARIBAUD
Hi Amit, Le 03/02/2012 07:57, Amit Virdi a écrit : Adding Albert now... ... but the wrong (old) address though :) On 2/3/12, Amit Virdi wrote: Albert, Any suggestions? Thanks Amit Virdi On 2/1/12, Amit Virdi wrote: Hi All, I'm in the process of updating platform support for spear ser

[U-Boot] [PATCH v6 11/18] tegra: usb: fdt: Add USB definitions for Tegra2 Seaboard

2012-02-03 Thread Simon Glass
We set up two USB ports, one of which can be host or device. For some reason the kernel version does enable both ports. Signed-off-by: Simon Glass --- Changes in v2: - Remove 0x from fdt aliases - Use "okay" instead of "ok" for fdt node status Changes in v3: - Disable USB2 which is not used on S

[U-Boot] [PATCH v6 10/18] tegra: usb: fdt: Add additional device tree definitions for USB ports

2012-02-03 Thread Simon Glass
This adds clock references to the USB part of the device tree for U-Boot, and marks USB1 as supporting legacy mode (which we disable in the driver). The USB timing information may vary between boards sometimes, but for now we hard-code it in C. This is because all current T2x boards use the same v

Re: [U-Boot] [PATCH v5 18/18] tegra: fdt: Enable FDT support for Seaboard

2012-02-03 Thread Simon Glass
Hi Stephen, On Thu, Feb 2, 2012 at 2:17 PM, Stephen Warren wrote: > On 01/24/2012 04:21 PM, Simon Glass wrote: >> This switches Seaboard over to use FDT for run-time config instead of >> CONFIG options. USB is the only user at present. >> >> Signed-off-by: Simon Glass > > Aside from the issues I

Re: [U-Boot] [PATCH v5 10/18] tegra: usb: fdt: Add additional device tree definitions for USB ports

2012-02-03 Thread Simon Glass
Hi Stephen, On Thu, Feb 2, 2012 at 2:07 PM, Stephen Warren wrote: > On 01/24/2012 04:21 PM, Simon Glass wrote: >> This adds clock references to the USB part of the device tree for U-Boot. >> >> The USB timing information may vary between boards sometimes, but for >> now we hard-code it in C. This

Re: [U-Boot] [PATCH v5 08/18] tegra: fdt: Add additional USB binding

2012-02-03 Thread Simon Glass
Hi Stephen, On Thu, Feb 2, 2012 at 1:55 PM, Stephen Warren wrote: > On 01/24/2012 04:21 PM, Simon Glass wrote: >> This adds a property to indicate a port which can switch between host and >> device >> mode. > ... >> diff --git a/doc/device-tree-bindings/usb/tegra-usb.txt >> b/doc/device-tree-bi

Re: [U-Boot] [PATCH 00/28] Add link-local addressing support

2012-02-03 Thread Stefano Babic
On 03/02/2012 12:34, Mike Frysinger wrote: > On Thursday 26 January 2012 04:21:21 Stefano Babic wrote: >> On 26/01/2012 00:40, Joe Hershberger wrote: I have a basic question about your patchset. RFC3927 requires that addresses are continuosly checked to avoid conflicts - this is a st

[U-Boot] [PATCH v8 3/4] EXYNOS: Add SMDK5250 board support

2012-02-03 Thread Chander Kashyap
SMDK5250 board is based on Samsungs EXYNOS5250 SoC. Signed-off-by: Chander Kashyap --- Changes for v2: - This patch is bifurcated into borad support and SoC support - Fixed typo: s/EEYNOS/EXYNOS - Squashed patch "SMDK5250: enable device tree support" in this. Changes for v

[U-Boot] [PATCH v8 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-02-03 Thread Chander Kashyap
This patch adds support for MMC SPL booting. Signed-off-by: Chander Kashyap --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - None Changes for v6: - None Changes for v7: - None Changes for v8: - Moved

[U-Boot] [PATCH v8 2/4] ARM: EXYNOS: Add support for Exynos5 based SoCs

2012-02-03 Thread Chander Kashyap
Samsung's ARM Cortex-A15 based SoCs are known as Exynos5 series of SoCs. This patch adds the support for Exynos5. Signed-off-by: Chander Kashyap --- Changes for v2: - This patch was part of "EXYNOS: Add SMDK5250 board support" - Now it is seprated as SoC support. Changes for v3:

[U-Boot] [PATCH v8 1/4] Exynos: Clock.c: Use CONFIG_SYS_CLK_FREQ macro

2012-02-03 Thread Chander Kashyap
CONFIG_SYS_CLK_FREQ_C210 macro giving notion of S5PC2XX (Exynos4) architecture. Replace CONFIG_SYS_CLK_FREQ_C210 with CONFIG_SYS_CLK_FREQ to make it generic for exynos architecture. Signed-off-by: Chander Kashyap --- Changes for v2: - None Changes for v3: - None Changes for V4:

[U-Boot] [PATCH v8 0/4] Add SMDK5250 board support

2012-02-03 Thread Chander Kashyap
This patchset add support for Samsung's SMDK5250 board based on EXYNOS5250 based SoC. It also adds support for MMC SPL booting. The porting is done by Samsung engineers at HQ in System LSI Team. I am contributing in upstreaming the code for the board. Based upon discussions following patches are

Re: [U-Boot] [PATCH 2/2] da850evm: read mac address from I2C EEPROM on AM18x EVM

2012-02-03 Thread Wolfgang Denk
Dear "Hadli, Manjunath", In message you wrote: > > > NAK. This has been discussed a thousand times before, so please look it > up in the archives. > > > > The environment always has precedence. If there are several places to sto > re tha MAC address, and the values don;t match, a warning must

Re: [U-Boot] [PATCH v3 0/7] Clean up ehci-omap and extend support for omap3/4 socs

2012-02-03 Thread Tom Rini
On Fri, Feb 3, 2012 at 6:38 AM, Govindraj.R wrote: > From: "Govindraj.R" > > Clean up ehci-omap added and make it generic to extend support for omap4 socs. > Adds omap-ulpi-viewport for ulpi access from ehci-omap. > Adds ehci support for omap4-panda. > > Based on latest denx master branch commit:

Re: [U-Boot] [PATCH 1/2] da850evm: add support to read mac address from spi flash

2012-02-03 Thread Mike Frysinger
On Thursday 02 February 2012 08:42:17 Manjunath Hadli wrote: > --- a/board/davinci/da8xxevm/da850evm.c > +++ b/board/davinci/da8xxevm/da850evm.c > > int misc_init_r(void) > { > dspwake(); > + > +#ifdef CONFIG_MAC_ADDR_IN_SPIFLASH > + uchar buff[8]; > + int ret; > + > + if (!eth_

Re: [U-Boot] [PATCH] mx28: fix SPL code to make USB booting work

2012-02-03 Thread Marek Vasut
> On 03.02.2012 14:22, Marek Vasut wrote: > >> This patch fixes booting i.MX28 CPUs via USB download. > >> In this mode the CPU's bootrom implements a USB HID device that > >> accepts a bootstream. > >> > >> When downloading the bootstream via USB, first the SPL code is > >> received and executed.

Re: [U-Boot] [PATCH 1/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Marek Vasut
> > Make it an array? > > If that works for you, it works for me. Thanks! > > #define __mx28_reg_8(name) \ > uint8_t name##[4]; \ > uint8_t name##[4]_set; \ > uint8_t name##[4]_clr; \ > uint8_t name##[4]_tog; Might be __

Re: [U-Boot] [PATCH] mx28: fix SPL code to make USB booting work

2012-02-03 Thread Matthias Fuchs
On 03.02.2012 14:22, Marek Vasut wrote: >> This patch fixes booting i.MX28 CPUs via USB download. >> In this mode the CPU's bootrom implements a USB HID device that >> accepts a bootstream. >> >> When downloading the bootstream via USB, first the SPL code is >> received and executed. Then the u-boo

Re: [U-Boot] [PATCH 1/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Robert Deliën
> Make it an array? If that works for you, it works for me. Thanks! #define __mx28_reg_8(name) \ uint8_t name##[4]; \ uint8_t name##[4]_set; \ uint8_t name##[4]_clr; \ uint8_t name##[4]_tog; __

Re: [U-Boot] [PATCH 1/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Marek Vasut
> > Awesome. So after reading your replies, let's just rename mx28_reg to > > mx28_reg_32 and introduce mx28_reg_8 for this particular problem. > > You were probably already foreseeing this when you made your > suggestion to use accessors, but now I'm working it I see introducing > mx28_reg_8 may

Re: [U-Boot] [PATCH 1/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Robert Deliën
> Awesome. So after reading your replies, let's just rename mx28_reg to > mx28_reg_32 and introduce mx28_reg_8 for this particular problem. You were probably already foreseeing this when you made your suggestion to use accessors, but now I'm working it I see introducing mx28_reg_8 may get too mess

[U-Boot] [PATCH v3 1/7] ehci-omap: driver for EHCI host on OMAP3

2012-02-03 Thread Govindraj.R
From: Ilya Yanok Taken from Beagle code. Tested on mcx board (AM3517-based). Signed-off-by: Ilya Yanok --- board/ti/beagle/beagle.c | 101 -- drivers/usb/host/Makefile |1 + drivers/usb/host/ehci-omap.c | 156

[U-Boot] [PATCH v3 3/7] OMAP3+: Clock: Adding ehci clock enabling

2012-02-03 Thread Govindraj.R
From: "Govindraj.R" Adding ehci clock enabling mechanism part of clock framework. When essential clocks are enabled during init phase usb host clocks can also be enabled from clock framework. Signed-off-by: Govindraj.R --- arch/arm/cpu/armv7/omap3/board.c|4 arch/arm/cpu/a

[U-Boot] [PATCH v3 4/7] OMAP4: clock-common: Move the usb dppl configuration to new func

2012-02-03 Thread Govindraj.R
From: "Govindraj.R" usb dpll configuration is done only part of non-essential dppl configuration however if CONFIG_USB_EHCI_OMAP is defined we may have to configure usb dpll's for proper functioning of usb modules. So move the usb dppl configuration to a new func. and utilise the same during esse

[U-Boot] [PATCH v3 5/7] OMAP3+: ehci-omap: enable usb host ports for beagle/panda

2012-02-03 Thread Govindraj.R
From: "Govindraj.R" For beagle and panda enable and use the ehci-omap.c generic api's added to configure usb host ports based on data passed from board file to configure in modes as specified from board data. For panda initialise the mux pins for ehci usage. Signed-off-by: Govindraj.R --- boar

[U-Boot] [PATCH v3 0/7] Clean up ehci-omap and extend support for omap3/4 socs

2012-02-03 Thread Govindraj.R
From: "Govindraj.R" Clean up ehci-omap added and make it generic to extend support for omap4 socs. Adds omap-ulpi-viewport for ulpi access from ehci-omap. Adds ehci support for omap4-panda. Based on latest denx master branch commit: 137703b811502dfea364650fb3e17f20b4c21333 Changes from

[U-Boot] [PATCH v3 7/7] usb: ulpi: Add omap-ulpi-view port support

2012-02-03 Thread Govindraj.R
From: "Govindraj.R" Based on discussion from this thread [1]. Adding omap-view port that helps us in using the generic ulpi framework for any ulpi phy ops using the INSNREG05_ULPI viewport reg available on omap platform. Currently ehci ports are available on omap3/4 platforms so enable the same

[U-Boot] [PATCH v3 2/7] ehci-omap: Clean up added ehci-omap.c

2012-02-03 Thread Govindraj.R
From: "Govindraj.R" Clean up added ehci-omap.c and make it generic for re-use across omap-soc having same ehci ip block. Also pass the modes to be configured from board file and configure the ports accordingly. All usb layers are not cache aligned, till then keep cache off for usb ops as ehci wil

[U-Boot] [PATCH v3 6/7] usb: ulpi: Extend the existing ulpi framework.

2012-02-03 Thread Govindraj.R
From: "Govindraj.R" Extend the existing ulpi viewport framework to pass the port number information for any ulpi ops. Fix the usage of ulpi api's accordingly. Tested-by: Stefano Babic Signed-off-by: Govindraj.R --- board/efikamx/efikamx-usb.c | 24 ++-- drivers/usb/ulpi/ulp

Re: [U-Boot] [PATCH 2/2] da850evm: read mac address from I2C EEPROM on AM18x EVM

2012-02-03 Thread Hadli, Manjunath
Wolfgang, On Fri, Feb 03, 2012 at 03:47:47, Wolfgang Denk wrote: > Dear Manjunath Hadli, > > In message <1328190138-5276-3-git-send-email-manjunath.ha...@ti.com> you > wrote: > > add support to read mac address for AM18x EVM manufactured from > > Spectrum digital which have mac address stored i

Re: [U-Boot] [PATCH] mx28: fix SPL code to make USB booting work

2012-02-03 Thread Marek Vasut
> This patch fixes booting i.MX28 CPUs via USB download. > In this mode the CPU's bootrom implements a USB HID device that > accepts a bootstream. > > When downloading the bootstream via USB, first the SPL code is > received and executed. Then the u-boot image is received and > called. > > The US

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-02-03 Thread Igor Grinberg
On 02/03/12 14:50, Govindraj wrote: [...] >>> >>> COBJS := $(COBJS-y) >>> SRCS := $(COBJS:.o=.c) >>> diff --git a/drivers/usb/ulpi/omap-ulpi-viewport.c >>> b/drivers/usb/ulpi/omap-ulpi-viewport.c >>> new file mode 100644 >>> index 000..1718788 >>> --- /dev/null >>> +++ b/drivers/usb/ulpi/o

[U-Boot] [PATCH] Blackfin: pata_bfin: fix printf warning

2012-02-03 Thread Mike Frysinger
pata_bfin.c: In function 'bfin_ata_identify': pata_bfin.c:887:2: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'lbaint_t' Signed-off-by: Mike Frysinger --- drivers/block/pata_bfin.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/driv

[U-Boot] [PATCH] usb: musb: fix printf warning

2012-02-03 Thread Mike Frysinger
musb_hcd.c: In function 'musb_submit_rh_msg': musb_hcd.c:827:2: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' Signed-off-by: Mike Frysinger --- drivers/usb/musb/musb_hcd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dri

Re: [U-Boot] [PATCH 3/3] davinci: add clocks command

2012-02-03 Thread Hadli, Manjunath
Tom, On Thu, Feb 02, 2012 at 22:18:09, Tom Rini wrote: > On Thu, Feb 2, 2012 at 6:53 AM, Manjunath Hadli > wrote: > > Add 'clocks' command to print various frequencies such as ARM > > frequency, DSP core frequency and DDR frequency. Remove > > print_cpuinfo() function as it is no longer require

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-02-03 Thread Govindraj
On Sun, Jan 29, 2012 at 5:12 PM, Stefano Babic wrote: > On 29/01/2012 10:42, Igor Grinberg wrote: >> Hi Govindraj, >> > > Hi all, > >> Put Remy on Cc. > > Remy resigned as USB maintainer - but Tom is aware about these patches... > >> >> Note: my new mail client for some reason, messes with white s

[U-Boot] [PATCH] mx28: fix SPL code to make USB booting work

2012-02-03 Thread Matthias Fuchs
This patch fixes booting i.MX28 CPUs via USB download. In this mode the CPU's bootrom implements a USB HID device that accepts a bootstream. When downloading the bootstream via USB, first the SPL code is received and executed. Then the u-boot image is received and called. The USB bootmode is inte

Re: [U-Boot] mx28: booting u-boot via USB

2012-02-03 Thread Matthias Fuchs
Fixed! Patch follows. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-02-03 Thread Govindraj
Hi Igor, Sorry for late reply, Was really busy with some other tasks. On Sun, Jan 29, 2012 at 3:12 PM, Igor Grinberg wrote: > Hi Govindraj, > > Put Remy on Cc. > Yes Sure, > Note: my new mail client for some reason, messes with white spaces... > (Thunderbird (9) just gets better and better...

Re: [U-Boot] [PATCH 28/28] net: Allow filtering on debug traces in the net subsystem

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:31 Joe Hershberger wrote: > --- a/drivers/net/netconsole.c > +++ b/drivers/net/netconsole.c > > +#define DEBUG_DEV_PKT 0 wouldn't be better to move these to net.h by default rather than copying & pasting to all the source files ? -mike signature.asc Descriptio

Re: [U-Boot] [PATCH 27/28] net: Work-around for brain-damaged Cisco routers with arp-proxy

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:30 Joe Hershberger wrote: > Cisco's arp-proxy feature fails to ignore the link-local address range > This means that a link-local device on a network with this Cisco >equipment will reply to ARP requests for our device (in addition >to our reply) > ... > --

Re: [U-Boot] [PATCH 26/28] net: Add link-local addressing support

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:29 Joe Hershberger wrote: > --- a/README > +++ b/README > > - CONFIG_CMD_PCMCIA * PCMCIA support > + CONFIG_CMD_PCMCIA * PCMCIA support please omit unrelated whitespace changes > --- a/common/cmd_net.c > +++ b/common/cm

Re: [U-Boot] [PATCH 25/28] net: Add option CONFIG_BOOTP_CAN_FAIL

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:28 Joe Hershberger wrote: > --- a/README > +++ b/README > > + CONFIG_BOOTP_CAN_FAIL - If the DHCP server is not found > + after the configured retry count, the call will fail > + instead of starting over. This can be used to fai

Re: [U-Boot] [PATCH 22/28] net: Fix net buffer initialization

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:25 Joe Hershberger wrote: > --- a/include/net.h > +++ b/include/net.h > > -extern int NetLoop(enum proto_t); > +extern int NetLoop(enum proto_t protocol); explicit variable names are unnecessary when the type is self explanatory > --- a/net/net.c > +++ b/net/n

Re: [U-Boot] [PATCH 21/28] net: Remove unneeded static allocation for MAC address in PingSend()

2012-02-03 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 20/28] net: Fix compile warning if CONFIG_BOOTP_SERVERIP is not defined

2012-02-03 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Marek Vasut
> Hi, > > > you're only writing data to the register, not clearing them. So maybe > > some bits remain set? > > The assignment will work here. There're only 8 bits, of which 6 are the > fractional divider, one is de read-only stable indicator (unaffected by > writes) and the last one is the gatin

Re: [U-Boot] [PATCH 19/28] net: Don't write the "serverip" env var if told not to in the config

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:22 Joe Hershberger wrote: > --- a/common/cmd_net.c > +++ b/common/cmd_net.c > > +#if !defined(CONFIG_BOOTP_SERVERIP) > if (NetServerIP) { > ip_to_string (NetServerIP, tmp); > setenv ("serverip", tmp); > } > +#endif please ad

Re: [U-Boot] [PATCH 18/28] net: Add NetUpdateEther() to handle ARP or Ping replies (VLAN or SNAP)

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:21 Joe Hershberger wrote: > --- a/net/net.c > +++ b/net/net.c > > +int > +NetUpdateEther(struct Ethernet_t *et, uchar *addr, uint prot) > +{ > + ushort protlen; > + > + memcpy(et->et_dest, addr, 6); > + memcpy(et->et_src, NetOurEther, 6); > + protl

Re: [U-Boot] [PATCH v7 4/4] EXYNOS: SMDK5250: Add MMC SPL support

2012-02-03 Thread Chander Kashyap
Hi Mike, On 3 February 2012 02:51, Mike Frysinger wrote: > On Thursday 02 February 2012 04:11:27 Chander Kashyap wrote: >> --- /dev/null >> +++ b/board/samsung/smdk5250/tools/mkexynos_image.c > > tools should be in tools/.  there are already plenty of examples in there (see > tools/msxboot.c as t

Re: [U-Boot] [PATCH 17/28] net: Refactor to separate the UDP handler from the ARP handler

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:20 Joe Hershberger wrote: > Only call the handlers if one was registered... don't require >protocols to register a handler (eliminating dummies) > NetConsole now uses the ARP handler when waiting on arp (instead of >needing a #define hack in arp.c) > Clear

Re: [U-Boot] [PATCH 2/2] i.MX28: Fix ref_cpu clock setup

2012-02-03 Thread Marek Vasut
> Hi, > > > this is how the imx-bootlets does it though. It's likely that FSL wants > > the PLL0 to run from XTAL when doing power configuration? > > I was using the FLS bootlets as a reference too, but I have noticed a > number of 'mistakes' in that code. For example: > - Busy-indicators aren't

Re: [U-Boot] [PATCH 16/28] net: Refactor to protect access to the NetState variable

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:19 Joe Hershberger wrote: > Changes to NetState now go through an accessor function called > NetSetState() i'm not sure i see the value here. all i see is overhead being added. if you really want this to be an improvement, there's two minor tweaks to make. > -

Re: [U-Boot] [PATCH 15/28] net: Refactor to call NetSendPacket() instead of calling eth_send()

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:18 Joe Hershberger wrote: > Use this entry-point consistently across the net/ code i like this, but i'd like it even more if NetSendPacket() was a static inline in the header. all this func does is jump straight to eth_send(): 01fa2054 <_NetSendPacket>: 1fa205

Re: [U-Boot] [PATCH 13/28] net: Refactor bootp packet length computations

2012-02-03 Thread Mike Frysinger
On Tuesday 24 January 2012 02:15:41 Joe Hershberger wrote: > On Tue, Jan 24, 2012 at 1:05 AM, Simon Glass wrote: > > On Thu, Jan 19, 2012 at 4:53 PM, Joe Hershberger wrote: > >> - debug("Transmitting DHCPREQUEST packet: len = %d\n", pktlen); > >> #ifdef CONFIG_BOOTP_DHCP_REQUEST_DELAY > >>

Re: [U-Boot] [PATCH 12/28] net: Refactor packet length computations

2012-02-03 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 11/28] net: Refactor IP, UPD, and ICMP header writing functions

2012-02-03 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 10/28] net: cosmetic: Improve variable names and code readability

2012-02-03 Thread Mike Frysinger
On Tuesday 24 January 2012 01:19:14 Simon Glass wrote: > On Thu, Jan 19, 2012 at 4:53 PM, Joe Hershberger wrote: > > Rename parameter len to payload_len in NetSendUDPPacket: this name > > more explicitly claims that it does not include the header size > > Rename CDPHandler to CDPReceive: this is

Re: [U-Boot] [PATCH 10/28] net: cosmetic: Improve variable names and code readability

2012-02-03 Thread Mike Frysinger
On Thursday 19 January 2012 19:53:13 Joe Hershberger wrote: > --- a/include/net.h > +++ b/include/net.h > > -#define E802_HDR_SIZE22 /* 802 ethernet header size > */ > + /* 802.2 + SNAP + ethernet header size */ > +#define E802_HDR_SIZE

Re: [U-Boot] [PATCH 14/28] net: Refactor ping recieve handler

2012-02-03 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

  1   2   >