Re: [U-Boot] [PATCH 2/2] net: add ICPlus PHY driver

2012-11-28 Thread Henrik Nordström
tor 2012-11-29 klockan 07:27 +0100 skrev Marek Vasut: > Dear yegorsli...@googlemail.com, > > > From: Yegor Yefremov > > > > The driver code was taken from Linux kernel source: > > drivers/net/phy/icplus.c > > > > Signed-off-by: Yegor Yefremov > [...] > > Is there any user for this PHY please?

[U-Boot] [PATCH 6/6 V3] Sound: Add FDT support to CMD.

2012-11-28 Thread Rajeshwari Shinde
This patch adds FDT support to sound init in CMD. Signed-off-by: Rajeshwari Shinde --- Changes in V2: - Same function call for sound init in case of FDT or non FDT support. Changes in V3: - Removed #ifdef CONFIG_OF_CONTROL where ever not required. common/cmd_sound.c |

[U-Boot] [PATCH 5/6 V3] Sound: WM8994: Add FDT support to codec

2012-11-28 Thread Rajeshwari Shinde
This patch adds FDT support to the codec. Signed-off-by: Rajeshwari Shinde --- Changes in V2: - New patch. Changes in V3: - Removed #ifdef CONFIG_OF_CONTROL where ever not required. drivers/sound/wm8994.c | 76 ++- drivers/sou

[U-Boot] [PATCH 4/6 V3] Sound: Add FDT support to driver

2012-11-28 Thread Rajeshwari Shinde
This patch adds FDT support to the sound driver. Signed-off-by: Rajeshwari Shinde --- Changes in V2: - Made single function to get i2s values,codec init and sount init in both FDT and non FDT support case. Changes in V3: - Removed #ifdef CONFIG_OF_CONTROL where ever

[U-Boot] [PATCH 3/6 V3] EXYNOS5: FDT: Add compatible strings for sound

2012-11-28 Thread Rajeshwari Shinde
Add required compatible information for sound driver. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - Removed SPI string. Changes in V3: - None. include/fdtdec.h |2 ++ lib/fdtdec.c |2 ++ 2 files changed, 4 insertions(+), 0 deletions(-)

[U-Boot] [PATCH 2/6 V3] EXYNOS5: FDT: Add sound and codec device node

2012-11-28 Thread Rajeshwari Shinde
Adds sound and codec device node parameters Signed-off-by: R. Chandrasekar Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - codec type moved single sound node. Changes in V3: - None. board/samsung/dts/exynos5250-smdk5250.dts | 17 +

[U-Boot] [PATCH 1/6 V3] EXYNOS5: FDT: Add sound device node data

2012-11-28 Thread Rajeshwari Shinde
Add sound device node data for exynos Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - Added documentation to sound node. Changes in V3: - None arch/arm/dts/exynos5250.dtsi |5 + doc/device-tree-bindings/exynos/sound.txt | 27 +++

[U-Boot] [PATCH 0/6 V3] XYNOS5: FDT support for Sound

2012-11-28 Thread Rajeshwari Shinde
This patch adds FDT support for Sound driver. This patch is based on following patchset. "EXYNOS5: FDT Support for I2C" "fdt: Export fdtdec_lookup() and fix the name" Changes in V2: - Add documentation for sound node. - Decoding codec FDT values moved to codec. - fd_dec_lo

Re: [U-Boot] [PATCH 2/2] net: add ICPlus PHY driver

2012-11-28 Thread Marek Vasut
Dear Yegor Yefremov, > On Thu, Nov 29, 2012 at 7:27 AM, Marek Vasut wrote: > > Dear yegorsli...@googlemail.com, > > > >> From: Yegor Yefremov > >> > >> The driver code was taken from Linux kernel source: > >> drivers/net/phy/icplus.c > >> > >> Signed-off-by: Yegor Yefremov > > > > [...] > >

Re: [U-Boot] [PATCH 2/2] net: add ICPlus PHY driver

2012-11-28 Thread Yegor Yefremov
On Thu, Nov 29, 2012 at 7:27 AM, Marek Vasut wrote: > Dear yegorsli...@googlemail.com, > >> From: Yegor Yefremov >> >> The driver code was taken from Linux kernel source: >> drivers/net/phy/icplus.c >> >> Signed-off-by: Yegor Yefremov > [...] > > Is there any user for this PHY please? Yes, our

[U-Boot] [PATCH 5/6 V4] I2C: Driver changes for FDT support

2012-11-28 Thread Rajeshwari Shinde
Functions added to get the I2C bus number and reset I2C bus using FDT node. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - Added periph id to I2C bus structure. - Modified i2c_get_bus_num_fdt function to compare with node. - Board i2c init mov

[U-Boot] [PATCH 6/6 V4] SMDK5250: Initialise I2C using FDT

2012-11-28 Thread Rajeshwari Shinde
This patch initialises I2C using FDT. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass Acked-by: Heiko Schocher --- Changes in V2: - board_i2c_init moved to driver in case of FDT. Chnges in V3: - None. Chnages in V4: - None. board/samsung/smdk5250/smdk5250.c | 2

[U-Boot] [PATCH 4/6 V4] EXYNOS5: FDT : Decode peripheral id

2012-11-28 Thread Rajeshwari Shinde
Api is added to decode peripheral id based on the interrupt number of the peripheral. Signed-off-by: Rajeshwari Shinde --- Chnages in V3: - New patch added. Chnages in V4: - Renamed decode_periph_id to pinmux_decode_periph_id. - Added comments in periph.h as suggested by S

[U-Boot] [PATCH 3/6 V4] EXYNOS5: FDT: Add compatible string for I2C

2012-11-28 Thread Rajeshwari Shinde
Add required compatible information for I2C driver. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass Acked-by: Heiko Schocher --- Changes in V2: - None. Chnages in V3: - None. Chnages in V4: - None. include/fdtdec.h |1 + lib/fdtdec.c |1 + 2 files cha

[U-Boot] [PATCH 2/6 V4] EXYNOS5 : FDT: Add Aliases for I2C device

2012-11-28 Thread Rajeshwari Shinde
This patch adds aliases for I2C. Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass Acked-by: Heiko Schocher --- Changes in V2: - None. Changes in V3: - None. Changes in V4: - None. board/samsung/dts/exynos5250-smdk5250.dts | 11 +++ 1 files changed, 11 in

[U-Boot] [PATCH 1/6 V4] EXYNOS5: FDT: Add I2C device node data

2012-11-28 Thread Rajeshwari Shinde
Add I2C device node data for exynos Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - Added Periph id to the I2C device node Changes in V3: - Removed Periph id as decoding done based on interrupts. Changes in V4: - None arch/arm/dts/exynos5250.d

[U-Boot] [PATCH 0/6 V4] EXYNOS5: FDT Support for I2C

2012-11-28 Thread Rajeshwari Shinde
This patch set adds FDT support for I2C driver and API's to acess the bus number using the fdt node and also reset the port. Changes in V2: - Baord i2c init moved to I2C driver in case of FDT. - Added Periph id to device node. - Modified i2c_get_bus_num_fdt api to compare u

Re: [U-Boot] [PATCH 1/2] am335x_evm: Define CONFIG_SYS_CACHELINE_SIZE

2012-11-28 Thread Marek Vasut
Dear Pantelis Antoniou, > drivers/usb/gadget/composite.c requires that this is defined early. > > Signed-off-by: Pantelis Antoniou Tom, this is OMAP, I'll leave this set to you, ok? > --- > include/configs/am335x_evm.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/config

Re: [U-Boot] [PATCH 00/10] USB: Gadget & DFU related fixes

2012-11-28 Thread Marek Vasut
Dear Pantelis Antoniou, > Various bugfixes, g_dnl & DFU updates. > > Pantelis Antoniou (10): > usb: Remove obsolete header file > usb: Fix bug when both DFU & ETHER are defined > g_dnl: Issue connect/disconnect as appropriate > g_dnl: Properly terminate string list. > dfu: Only perform

Re: [U-Boot] [PATCH 2/9] Fix bug when both DFU & ETHER are defined

2012-11-28 Thread Marek Vasut
Dear Pantelis Antoniou, > Hi Marek, > > On Nov 28, 2012, at 4:43 AM, Marek Vasut wrote: > > Dear Pantelis Antoniou, > > > >> When both CONFIG_USB_GADGET & CONFIG_USB_ETHER are defined > >> the makefile links objects twice. > >> > >> Detect this and fix it with a not very elegant way in the > >>

Re: [U-Boot] [PATCH 3/9] Only perform DFU board_usb_init() for TRATS

2012-11-28 Thread Marek Vasut
Dear Pantelis Antoniou, > Hi Marek, > > On Nov 28, 2012, at 4:45 AM, Marek Vasut wrote: > > Dear Pantelis Antoniou, > > > >> USB initialization shouldn't happen for all the boards. > >> > >> Signed-off-by: Pantelis Antoniou > >> --- > >> common/cmd_dfu.c | 3 +++ > >> 1 file changed, 3 insertio

Re: [U-Boot] [PATCH 2/2] net: add ICPlus PHY driver

2012-11-28 Thread Marek Vasut
Dear yegorsli...@googlemail.com, > From: Yegor Yefremov > > The driver code was taken from Linux kernel source: > drivers/net/phy/icplus.c > > Signed-off-by: Yegor Yefremov [...] Is there any user for this PHY please? Best regards, Marek Vasut ___

Re: [U-Boot] [PATCH] dfu: Handle large transfers correctly

2012-11-28 Thread Marek Vasut
Dear Pantelis Antoniou, > The sequence number is a 16 bit counter; make sure we > handle rollover correctly. This fixes the wrong transfers for > large (> 256MB) images. > > Signed-off-by: Pantelis Antoniou > --- > drivers/dfu/dfu.c | 28 +++- > drivers/dfu/dfu_mmc.c

Re: [U-Boot] [PATCH V4 01/11] imximage: mx53 needs transfer length a multiple of 512

2012-11-28 Thread Wolfgang Denk
Dear Troy Kisky, In message <50b6cb79.4030...@boundarydevices.com> you wrote: > > Would you like to see the Linux way of ALIGN, or ROUND? Do you align some buffer or similar, or do you round (up) a size? > Now, back to the other topic you raised. Should I apply the bug work-around > for all vers

Re: [U-Boot] U-Boot for MIPS AR7161

2012-11-28 Thread Dmytro
> commands used in openocd through a telnet connection to 127.0.0.1 : > reset > halt > reset > mww 0xb8060008 3 > mww 0xb806000c 0x12c > halt > mww 0xb805 0x00090828 > mww 0xb805 0x00050828 > mww 0xb805 0x00040828 > mww 0xb8050008 2 > mww 0xb8050008 3 > halt > reset init > load_imag

Re: [U-Boot] [PATCHv2 4/4] at91sam9x5ek: add USB configuration

2012-11-28 Thread Bo Shen
On 11/28/2012 19:48, Richard Genoud wrote: Signed-off-by: Richard Genoud --- include/configs/at91sam9x5ek.h | 24 1 files changed, 24 insertions(+), 0 deletions(-) diff --git a/include/configs/at91sam9x5ek.h b/include/configs/at91sam9x5ek.h index 5e5f9c1..fd2586d 1

Re: [U-Boot] [PATCHv2 2/4] at91sam9x5: enable USB support for 9x5ek board.

2012-11-28 Thread Bo Shen
Hi Richard, On 11/28/2012 19:48, Richard Genoud wrote: Signed-off-by: Richard Genoud --- arch/arm/cpu/arm926ejs/at91/at91sam9x5_devices.c | 10 ++ arch/arm/include/asm/arch-at91/at91sam9x5.h |2 ++ board/atmel/at91sam9x5ek/at91sam9x5ek.c |3 +++ drivers/usb/

Re: [U-Boot] bug in mmc driver

2012-11-28 Thread Rommel Custodio
Dear Omer, Ben-tal, Omer intel.com> writes: > > Hi Denk, > > I think I found a small bug in u-boot mmc driver (ver 2012.10). > Not sure how to submit it. > > Any suggestions? I was recently a newbie to the whole process myself. I was pointed to this page earlier on: http://www.denx.de/wiki/

Re: [U-Boot] [PATCH V4 01/11] imximage: mx53 needs transfer length a multiple of 512

2012-11-28 Thread Troy Kisky
On 11/28/2012 2:35 PM, Wolfgang Denk wrote: Dear Troy Kisky, In message <50b67c99.8080...@boundarydevices.com> you wrote: But the reason I didn't include common.h is because of the target specific files that it also includes. Would you mind if I moved Why would these hurt? They don't anywhere

[U-Boot] [PATCH v2] mmc: Split device init to decouple OCR-polling delay

2012-11-28 Thread Simon Glass
From: Che-Liang Chiou Most of time that MMC driver spends on initializing a device is polling OCR (operation conditions register). To decouple this polling loop, device init is split into two parts: The first part fires the OCR query command, and the second part polls the result. So the caller

[U-Boot] [Pull] u-boot-fdt/master

2012-11-28 Thread Jerry Van Baren
Dear Tom, Please pull u-boot-fdt to fix the global_data compilation issue introduced in "[PATCH 14/14] fdt: Set kernaddr if fdt indicates a kernel is present" (identified by Dennis Lan). Thanks, gvb The following changes since commit d41b3cc16fd97da23900f79e8fefdeedeebde8f6: Merge branch 'mas

Re: [U-Boot] [PATCH v2] fdt: Correct global_data condition in main

2012-11-28 Thread Jerry Van Baren
Hi Simon, On 11/28/2012 12:54 PM, Simon Glass wrote: > We need an extra condition here in case we want to use fdt without the > silent console/cmdline editing/post options. It is easier to just remove > the #ifdef. > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Remove the #ifdef as it

Re: [U-Boot] [PATCH 0/57] RFC: Move arch-specific global data into its own structure

2012-11-28 Thread Simon Glass
Hi, On Tue, Nov 20, 2012 at 6:06 AM, Simon Glass wrote: > Hi Wolfgang, > > On Mon, Nov 19, 2012 at 11:25 PM, Wolfgang Denk wrote: >> Dear Simon Glass, >> >> In message <1353100842-20126-1-git-send-email-...@chromium.org> you wrote: >>> The previous generic board series hit a snag in that we need

Re: [U-Boot] [PATCH 2/2] patman: Allow tests to run even if patman is in the path

2012-11-28 Thread Simon Glass
On Mon, Nov 26, 2012 at 5:21 PM, Doug Anderson wrote: > Several of the patman doctests assume that patman was run with: > ./patman > > Fix them so that they work even if patman is run with just "patman" > (because patman is in the path). > > Signed-off-by: Doug Anderson Acked-by: Simon Glass

Re: [U-Boot] [PATCH 1/2] patman: Add spaces back into patman test

2012-11-28 Thread Simon Glass
On Mon, Nov 26, 2012 at 5:21 PM, Doug Anderson wrote: > The patman test code was failing because some extra spaces got > stripped when it was applied. These spaces are critical to the test > code working. > > Signed-off-by: Doug Anderson Acked-by: Simon Glass > > --- > tools/patman/test.py |

Re: [U-Boot] [PATCH] patman: Look for checkpatch in the scripts directory

2012-11-28 Thread Simon Glass
On Mon, Nov 26, 2012 at 5:23 PM, Doug Anderson wrote: > The Linux kernel stores checkpatch.pl in the scripts directory. Add > that to the search path to make things more automatic for kernel > development. > > Signed-off-by: Doug Anderson Acked-by: Simon Glass > > --- > tools/patman/checkpat

Re: [U-Boot] [PATCH v4 3/4] dtc/libfdt: introduce fdt types for annotation by endian checkers

2012-11-28 Thread Kim Phillips
Projects such as linux and u-boot run sparse on libfdt. libfdt contains the notion of endianness via usage of endian conversion functions such as fdt32_to_cpu. As such, in order to pass endian checks, libfdt has to annotate its fdt variables such that sparse can warn when mixing bitwise and regul

Re: [U-Boot] [PATCH 7/7 V2] Sound: Add FDT support to CMD.

2012-11-28 Thread Simon Glass
Hi Rajeshwari, On Tue, Nov 27, 2012 at 10:10 PM, Rajeshwari Shinde wrote: > This patch adds FDT support to sound init in CMD. > > Signed-off-by: Rajeshwari Shinde > --- > Changes in V2: > - Same function call for sound init in case of FDT or non FDT support. > common/cmd_sound.c |6

Re: [U-Boot] [PATCH 6/7 V2] Sound: WM8994: Add FDT support to codec

2012-11-28 Thread Simon Glass
Hi Rajeshwari, On Tue, Nov 27, 2012 at 10:10 PM, Rajeshwari Shinde wrote: > This patch adds FDT support to the codec. > > Signed-off-by: Rajeshwari Shinde > --- > Changes in V2: > - New patch. > drivers/sound/wm8994.c | 83 ++- > drivers/sou

Re: [U-Boot] [PATCH 5/7 V2] Sound: Add FDT support to driver

2012-11-28 Thread Simon Glass
Hi Rajeshwari, On Tue, Nov 27, 2012 at 10:10 PM, Rajeshwari Shinde wrote: > This patch adds FDT support to the sound driver. > > Signed-off-by: Rajeshwari Shinde > --- > Changes in V2: > - Made single function to get i2s values,codec init and sount init in > both FDT and non FDT

Re: [U-Boot] [PATCH 4/7 V2] EXYNOS5: FDT: Add compatible strings for sound

2012-11-28 Thread Simon Glass
On Tue, Nov 27, 2012 at 10:10 PM, Rajeshwari Shinde wrote: > Add required compatible information for sound driver. > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes in V2: > - Removed SPI string. > include/fdtdec.h |2 ++ > lib/fdtdec.c |2 ++ > 2

Re: [U-Boot] [PATCH 3/7 V2] EXYNOS5: FDT: Add sound and codec device node

2012-11-28 Thread Simon Glass
On Tue, Nov 27, 2012 at 10:10 PM, Rajeshwari Shinde wrote: > Adds sound and codec device node parameters > > Signed-off-by: R. Chandrasekar > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes in V2: > - codec type moved single sound node. > board/samsung/dts/exyn

Re: [U-Boot] [PATCH 2/7 V2] EXYNOS5: FDT: Add sound device node data

2012-11-28 Thread Simon Glass
On Tue, Nov 27, 2012 at 10:10 PM, Rajeshwari Shinde wrote: > Add sound device node data for exynos > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass (see comment below) > --- > Changes in V2: > - Added documentation to sound node. > arch/arm/dts/exynos5250.dtsi

Re: [U-Boot] [PATCH 1/7 V2] FDT: Declare API in header file.

2012-11-28 Thread Simon Glass
Hi Rajeshwari, On Tue, Nov 27, 2012 at 10:10 PM, Rajeshwari Shinde wrote: > Added fd_dec_lookup function to header file. > > Signed-off-by: Rajeshwari Shinde Actually I think my patch to fix the name and export this function has already landed in mainline, so you should be able to drop this pat

Re: [U-Boot] [PATCH 5/6 V3] I2C: Driver changes for FDT support

2012-11-28 Thread Simon Glass
On Fri, Nov 23, 2012 at 4:01 AM, Rajeshwari Shinde wrote: > Functions added to get the I2C bus number and reset I2C bus using > FDT node. > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes in V2: > - Added periph id to I2C bus structure. > - Modified i2c

Re: [U-Boot] [PATCH 4/6 V3] EXYNOS5: FDT : Decode peripheral id

2012-11-28 Thread Simon Glass
Hi Rajeshwari, On Fri, Nov 23, 2012 at 4:01 AM, Rajeshwari Shinde wrote: > Api is added to decode peripheral id based on the interrupt number > of the peripheral. > > Signed-off-by: Rajeshwari Shinde > --- > Chnages in V3: > - New patch added. > arch/arm/cpu/armv7/exynos/pinmux.c

Re: [U-Boot] [PATCH 1/6 V3] EXYNOS5: FDT: Add I2C device node data

2012-11-28 Thread Simon Glass
On Fri, Nov 23, 2012 at 4:01 AM, Rajeshwari Shinde wrote: > Add I2C device node data for exynos > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] TPM: remove dead code

2012-11-28 Thread Simon Glass
Hi Tom, On Mon, Nov 26, 2012 at 12:03 PM, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 11/22/12 14:42, Simon Glass wrote: >> Hi Wolfgang, >> >> On Thu, Nov 22, 2012 at 11:10 AM, Simon Glass >> wrote: >>> Hi Wolfgang, >>> >>> On Mon, Nov 19, 2012 at 11:14 PM, Wolfgang

[U-Boot] [PATCH] dfu: Handle large transfers correctly

2012-11-28 Thread Pantelis Antoniou
The sequence number is a 16 bit counter; make sure we handle rollover correctly. This fixes the wrong transfers for large (> 256MB) images. Signed-off-by: Pantelis Antoniou --- drivers/dfu/dfu.c | 28 +++- drivers/dfu/dfu_mmc.c | 3 +++ include/dfu.h | 2 ++

Re: [U-Boot] [PATCH] cm-t35: add USB host support

2012-11-28 Thread Marek Vasut
Dear Nikita Kiryanov, [...] > + twl4030_i2c_read_u8(TWL4030_CHIP_GPIO, &val, > + TWL4030_BASEADD_GPIO + 0x03); > + val |= 0xC0; What are these magic values here please? > + /* Set GPIO6 and GPIO7 of TPS65930 as output */ > + twl4030_i2

Re: [U-Boot] [PATCH v4 1/2] arm: move C runtime setup code in crt0.S

2012-11-28 Thread Albert ARIBAUD
Hi Simon, On Wed, 28 Nov 2012 13:18:57 -0800, Simon Glass wrote: > Hi Albert, > > On Tue, Nov 27, 2012 at 4:43 AM, Albert ARIBAUD > wrote: > > Move all the C runtime setup code from every start.S > > in arch/arm into arch/arm/lib/crt0.S. This covers > > the code sequence from setting up the in

[U-Boot] Switch from mmcboot to ramboot?

2012-11-28 Thread Grant
How can I tell u-boot to boot with the ramboot= definition instead of mmcboot= ? - Grant ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/5] x86: Fix compilation on 64-bit build machines

2012-11-28 Thread Graeme Russ
Hi Simon, On Thu, Nov 29, 2012 at 8:18 AM, Graeme Russ wrote: > > Hi Simon, > > On Thu, Nov 29, 2012 at 6:46 AM, Simon Glass wrote: >> >> Hi Graeme, >> >> On Tue, Nov 27, 2012 at 5:38 PM, Simon Glass wrote: >> > From: Graeme Russ > > > [snip] > >> >> > diff --git a/examples/standalone/Makefil

Re: [U-Boot] [PATCH V4 01/11] imximage: mx53 needs transfer length a multiple of 512

2012-11-28 Thread Wolfgang Denk
Dear Troy Kisky, In message <50b67c99.8080...@boundarydevices.com> you wrote: > > But the reason I didn't include common.h is because of the target specific > files that it also includes. Would you mind if I moved Why would these hurt? They don't anywhere else. > and included common_macro.h ins

Re: [U-Boot] [PATCH v4 1/2] arm: move C runtime setup code in crt0.S

2012-11-28 Thread Simon Glass
Hi Albert, On Tue, Nov 27, 2012 at 4:43 AM, Albert ARIBAUD wrote: > Move all the C runtime setup code from every start.S > in arch/arm into arch/arm/lib/crt0.S. This covers > the code sequence from setting up the initial stack > to calling into board_init_r(). > > Also, rewrite the C runtime setu

Re: [U-Boot] [PATCH 1/5] x86: Fix compilation on 64-bit build machines

2012-11-28 Thread Graeme Russ
Hi Simon, On Thu, Nov 29, 2012 at 6:46 AM, Simon Glass wrote: > Hi Graeme, > > On Tue, Nov 27, 2012 at 5:38 PM, Simon Glass wrote: > > From: Graeme Russ > [snip] > > diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile > > index baaa2fb..7c1ea5c 100644 > > --- a/examples

Re: [U-Boot] [PATCH 1/3] tegra: only define TEGRA_DEVICE_SETTINGS if not already defined

2012-11-28 Thread Simon Glass
Hi Stephen, On Wed, Nov 28, 2012 at 1:03 PM, Stephen Warren wrote: > On 11/28/2012 02:01 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Wed, Nov 28, 2012 at 9:50 AM, Stephen Warren >> wrote: >>> From: Stephen Warren >>> >>> seaboard.h attempts to undefine TEGRA_DEVICE_SETTINGS and provide a >>

Re: [U-Boot] [PATCH 2/4] env_nand.c: support falling back to redundant env when writing

2012-11-28 Thread Phil Sutter
Hi, On Tue, Nov 27, 2012 at 04:04:15PM -0600, Scott Wood wrote: > On 11/21/2012 06:59:19 AM, Phil Sutter wrote: > > Without this patch, when the currently chosen environment to be > > written > > has bad blocks, saveenv fails completely. Instead, when there is > > redundant environment fall back

Re: [U-Boot] [PATCH V4 01/11] imximage: mx53 needs transfer length a multiple of 512

2012-11-28 Thread Troy Kisky
On 11/28/2012 1:25 PM, Wolfgang Denk wrote: Dear Troy Kisky, In message <50b65583.1070...@boundarydevices.com> you wrote: Oddly enough, I originally called it ROUND_UP. But then I saw these lines in include/common.h And why didn't you find (and use) ROUND() in include/common.h ? Best regards,

Re: [U-Boot] [PATCH 1/3] tegra: only define TEGRA_DEVICE_SETTINGS if not already defined

2012-11-28 Thread Stephen Warren
On 11/28/2012 02:01 PM, Simon Glass wrote: > Hi Stephen, > > On Wed, Nov 28, 2012 at 9:50 AM, Stephen Warren wrote: >> From: Stephen Warren >> >> seaboard.h attempts to undefine TEGRA_DEVICE_SETTINGS and provide a >> custom value. This worked when the "pre" included tegra20-common.h >> provided

Re: [U-Boot] [PATCH 1/3] tegra: only define TEGRA_DEVICE_SETTINGS if not already defined

2012-11-28 Thread Simon Glass
Hi Stephen, On Wed, Nov 28, 2012 at 9:50 AM, Stephen Warren wrote: > From: Stephen Warren > > seaboard.h attempts to undefine TEGRA_DEVICE_SETTINGS and provide a > custom value. This worked when the "pre" included tegra20-common.h > provided the default. However, changes in the main U-Boot repo

Re: [U-Boot] [PATCH 1/3] video: tegra: Update line length to match resolution

2012-11-28 Thread Simon Glass
On Fri, Nov 23, 2012 at 2:58 AM, Thierry Reding wrote: > Instead of storing the computed line length in a local variable, store > it in the global lcd_line_length variable to make sure the LCD subsystem > can properly draw content for the display resolution. > > This probably wasn't noticed yet be

Re: [U-Boot] [PATCH 2/3] tegra: Enable LCD on Medcom-Wide

2012-11-28 Thread Simon Glass
On Fri, Nov 23, 2012 at 2:58 AM, Thierry Reding wrote: > The Medcom-Wide has a 15" LCD panel with a resolution of 1366x768 > pixels. Add a corresponding panel description to the device tree and > enable LCD support in the configuration. > > Signed-off-by: Thierry Reding Acked-by: Simon Glass __

Re: [U-Boot] [PATCH 3/3] tegra: Enable LCD on TEC

2012-11-28 Thread Simon Glass
Hi Thierry, On Fri, Nov 23, 2012 at 2:58 AM, Thierry Reding wrote: > The TEC ships with a 7" LCD panel that provides a resolution of 800x480 > pixels. Add a corresponding panel description to the device tree and > enable LCD support in the configuration. > > Signed-off-by: Thierry Reding > --- >

Re: [U-Boot] [PATCH V4 08/11] imximage: enable word writes for version2 header

2012-11-28 Thread Troy Kisky
On 11/28/2012 2:39 AM, Wolfgang Denk wrote: Dear Troy Kisky, In message <1354066303-29762-9-git-send-email-troy.ki...@boundarydevices.com> you wrote: Before, only 1 write_dcd_command table was built. Now, a new table is built when the size changes. I cannot see how the Subject: and the actual

Re: [U-Boot] [PATCH V4 04/11] imximage: prepare to move static variables to struct data_src

2012-11-28 Thread Wolfgang Denk
Dear Troy Kisky, In message <50b659ad.9090...@boundarydevices.com> you wrote: > > > Could you please elucidate why exactly this is _needed_? > > My goal was to reduce the number of static variables, but strictly speaking > it has little benefit other than giving me a warm fuzzy feeling. > > I'm

Re: [U-Boot] [PATCH V4 01/11] imximage: mx53 needs transfer length a multiple of 512

2012-11-28 Thread Wolfgang Denk
Dear Troy Kisky, In message <50b65583.1070...@boundarydevices.com> you wrote: > > Oddly enough, I originally called it ROUND_UP. But then I saw these lines > in include/common.h And why didn't you find (and use) ROUND() in include/common.h ? Best regards, Wolfgang Denk -- DENX Software Engine

Re: [U-Boot] Reg Bootstrapping on x86-64 for tizen

2012-11-28 Thread Simon Glass
Hi, On Tue, Nov 27, 2012 at 3:22 AM, wrote: > Dear All, > > > > I am Manohar ,have compiled the u-boot on x86 64 bit machine using > coreboot-x86. > > > > Please help me / send me the procedure of bootstrapping steps of it for > Tizen kernel. Do you have coreboot working correctly on the platfo

[U-Boot] Please pull u-boot-x86.git

2012-11-28 Thread Simon Glass
Hi Tom, (This is my first pull request for x86, so please view it with suspicion and let me know of any steps I have missed, etc.) The following changes since commit d41b3cc16fd97da23900f79e8fefdeedeebde8f6: Merge branch 'master' of git://git.denx.de/u-boot-mips (2012-11-27 20:34:51 -0700) ar

Re: [U-Boot] [PATCH 1/5] x86: Fix compilation on 64-bit build machines

2012-11-28 Thread Simon Glass
Hi Graeme, On Tue, Nov 27, 2012 at 5:38 PM, Simon Glass wrote: > From: Graeme Russ > > Signed-off-by: Graeme Russ > Signed-off-by: Simon Glass > --- > Makefile |1 + > arch/x86/cpu/config.mk |3 ++- > examples/standalone/Makefile |2 +- > 3 files changed,

Re: [U-Boot] [PATCH V4 04/11] imximage: prepare to move static variables to struct data_src

2012-11-28 Thread Troy Kisky
On 11/28/2012 2:38 AM, Wolfgang Denk wrote: Dear Troy Kisky, In message <1354066303-29762-5-git-send-email-troy.ki...@boundarydevices.com> you wrote: Need to move accesses to the static variables to a function where struct data_src is used. Could you please elucidate why exactly this is _need

Re: [U-Boot] [PATCH V4 00/11] imximage series

2012-11-28 Thread Troy Kisky
On 11/28/2012 2:30 AM, Wolfgang Denk wrote: Dear Troy Kisky, In message <1354066303-29762-1-git-send-email-troy.ki...@boundarydevices.com> you wrote: This series make the file imximage.c easier to read, as well as produces a slightly smaller file. Only the 1st two patches are different from

Re: [U-Boot] [PATCH V4 01/11] imximage: mx53 needs transfer length a multiple of 512

2012-11-28 Thread Troy Kisky
On 11/28/2012 2:27 AM, Wolfgang Denk wrote: Dear Troy Kisky, In message <1354066303-29762-2-git-send-email-troy.ki...@boundarydevices.com> you wrote: The mx53 ROM will truncate the length at a multiple of 512. Transferring too much is not a problem, so round up. What about other SoCs using th

Re: [U-Boot] [PATCH V4 01/11] imximage: mx53 needs transfer length a multiple of 512

2012-11-28 Thread Troy Kisky
On 11/28/2012 2:27 AM, Wolfgang Denk wrote: Dear Troy Kisky, In message <1354066303-29762-2-git-send-email-troy.ki...@boundarydevices.com> you wrote: The mx53 ROM will truncate the length at a multiple of 512. Transferring too much is not a problem, so round up. What about other SoCs using th

Re: [U-Boot] [PATCH 2/2 v2] tegra: enable LCD on PAZ00

2012-11-28 Thread Tom Warren
Thanks, Marc. This series applied to u-boot-tegra/next. Tom On Tue, Nov 27, 2012 at 9:55 AM, Marc Dietrich wrote: > This adds LCD panel descriptions to the device tree of PAZ00 and > enables LCD support in the configuration. > > Signed-off-by: Marc Dietrich > --- > I'll create a patch to add L

[U-Boot] [PATCH v2] fdt: Correct global_data condition in main

2012-11-28 Thread Simon Glass
We need an extra condition here in case we want to use fdt without the silent console/cmdline editing/post options. It is easier to just remove the #ifdef. Signed-off-by: Simon Glass --- Changes in v2: - Remove the #ifdef as it is getting out of hand common/main.c |2 -- 1 files changed, 0

Re: [U-Boot] [PATCH 01/10] usb: Remove obsolete header file

2012-11-28 Thread Pantelis Antoniou
Hi Lukasz, On Nov 28, 2012, at 7:46 PM, Lukasz Majewski wrote: > Hi Pantelis, > >> Hi Lukasz, >> >> On Nov 28, 2012, at 6:01 PM, Lukasz Majewski wrote: >> >>> Hi Tom, >>> Hi Pantelis, > usbdescriptors.h conflicts with linux/usb/ch9.h > Remove it. >>> After rebasing on

[U-Boot] [PATCH 3/3] tegra: seaboard: remove custom TEGRA_DEVICE_SETTINGS

2012-11-28 Thread Stephen Warren
From: Stephen Warren Now that tegra-common-post.h includes "lcd" in the default value for TEGRA_DEVICE_SETTINGS, there is no need for seaboard.h to provide a custom value. Signed-off-by: Stephen Warren --- include/configs/seaboard.h |5 - 1 file changed, 5 deletions(-) diff --git a/in

[U-Boot] [PATCH 1/3] tegra: only define TEGRA_DEVICE_SETTINGS if not already defined

2012-11-28 Thread Stephen Warren
From: Stephen Warren seaboard.h attempts to undefine TEGRA_DEVICE_SETTINGS and provide a custom value. This worked when the "pre" included tegra20-common.h provided the default. However, changes in the main U-Boot repo removed this default from the "pre" included tegra20-common.h to the "post" in

[U-Boot] [PATCH 2/3] tegra: add LCD into default TEGRA_DEVICE_SETTINGS

2012-11-28 Thread Stephen Warren
From: Stephen Warren If LCD support is enabled, ensure that stdout and stderr are sent to the LCD too. Signed-off-by: Stephen Warren --- include/configs/tegra-common-post.h | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/include/configs/tegra-common-post.h b/i

Re: [U-Boot] [PATCH 01/10] usb: Remove obsolete header file

2012-11-28 Thread Lukasz Majewski
Hi Pantelis, > Hi Lukasz, > > On Nov 28, 2012, at 6:01 PM, Lukasz Majewski wrote: > > > Hi Tom, > > > >> Hi Pantelis, > >> > >>> usbdescriptors.h conflicts with linux/usb/ch9.h > >>> Remove it. > >> > > After rebasing on u-boot-usb/next below comment apply: > > > > After applying this patch,

Re: [U-Boot] [PATCH 01/10] usb: Remove obsolete header file

2012-11-28 Thread Pantelis Antoniou
Hi Lukasz, On Nov 28, 2012, at 6:01 PM, Lukasz Majewski wrote: > Hi Tom, > >> Hi Pantelis, >> >>> usbdescriptors.h conflicts with linux/usb/ch9.h >>> Remove it. >> > After rebasing on u-boot-usb/next below comment apply: > > After applying this patch, I cannot build trats target anymore. > >

Re: [U-Boot] [PATCH] fdt: Correct global_data condition in main

2012-11-28 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/28/12 11:06, Wolfgang Denk wrote: > Dear Simon Glass, > > In message <1354116325-2567-1-git-send-email-...@chromium.org> you > wrote: >> We need an extra condition here in case we want to use fdt >> without the silent console/cmdline editing/p

Re: [U-Boot] [PATCH] mmc: Add an mmcsilent option

2012-11-28 Thread Pantelis Antoniou
Hi Andy, On Nov 28, 2012, at 6:49 PM, Andy Fleming wrote: > > > > On Thu, Nov 29, 2012 at 1:34 AM, Pantelis Antoniou > wrote: > When using MMC commands for dfu there is considerable noise. > Suppress mmc messages when mmcsilent is set. > > Signed-off-by: Pantelis Antoniou > > > I'm not f

Re: [U-Boot] [PATCH] mmc: Add an mmcsilent option

2012-11-28 Thread Andy Fleming
On Thu, Nov 29, 2012 at 1:34 AM, Pantelis Antoniou < pa...@antoniou-consulting.com> wrote: > When using MMC commands for dfu there is considerable noise. > Suppress mmc messages when mmcsilent is set. > > Signed-off-by: Pantelis Antoniou > I'm not familiar with DFU mode, but is there a reason i

Re: [U-Boot] [PATCH 05/10] dfu: Only perform DFU board_usb_init() for TRATS

2012-11-28 Thread Lukasz Majewski
Hi Tom, > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 11/28/12 09:47, Lukasz Majewski wrote: > > Hi Pantelis, > > > >> USB initialization shouldn't happen for all the boards. > >> > > > > The board_usb_init() follows u-boot policy, that SoC IPs (USB) are > > enabled and configured

Re: [U-Boot] arm-linux-ld: assertion failure

2012-11-28 Thread Wolfgang Denk
Dear Quentin Strydom, In message <50b62e22.6090...@yahoo.co.uk> you wrote: > > I'm trying to build u-boot for a igep0020 nand board but failing, here > are my last few lines of output: ... > arm-linux-ld: BFD (crosstool-NG linaro-1.13.1-4.7-2012.10-20121022 - > Linaro GCC 2012.10) 2.22 assertio

Re: [U-Boot] [PATCH] fdt: Correct global_data condition in main

2012-11-28 Thread Wolfgang Denk
Dear Simon Glass, In message <1354116325-2567-1-git-send-email-...@chromium.org> you wrote: > We need an extra condition here in case we want to use fdt without the > silent console/cmdline editing/post options. > > Note: It might be acceptable instead to just always declare this here. > From wha

Re: [U-Boot] [PATCH] mmc: Add an mmcsilent option

2012-11-28 Thread Wolfgang Denk
Dear Pantelis Antoniou, In message <1354174469-5625-1-git-send-email-pa...@antoniou-consulting.com> you wrote: > When using MMC commands for dfu there is considerable noise. > Suppress mmc messages when mmcsilent is set. > > Signed-off-by: Pantelis Antoniou > --- > common/cmd_mmc.c | 10 ++

Re: [U-Boot] [PATCH 01/10] usb: Remove obsolete header file

2012-11-28 Thread Lukasz Majewski
Hi Tom, > Hi Pantelis, > > > usbdescriptors.h conflicts with linux/usb/ch9.h > > Remove it. > After rebasing on u-boot-usb/next below comment apply: After applying this patch, I cannot build trats target anymore. With u-boot-usb/master I can compile the u-boot for trats board with no warning

Re: [U-Boot] [PATCH 05/10] dfu: Only perform DFU board_usb_init() for TRATS

2012-11-28 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/28/12 09:47, Lukasz Majewski wrote: > Hi Pantelis, > >> USB initialization shouldn't happen for all the boards. >> > > The board_usb_init() follows u-boot policy, that SoC IPs (USB) are > enabled and configured just before their usage. > >

Re: [U-Boot] [PATCH 01/10] usb: Remove obsolete header file

2012-11-28 Thread Lukasz Majewski
Hi Tom, > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 11/28/12 09:40, Lukasz Majewski wrote: > > Hi Pantelis, > > > >> usbdescriptors.h conflicts with linux/usb/ch9.h Remove it. > > > > After applying this patch, I cannot build trats target anymore. > > Had you also merged u-boot-us

Re: [U-Boot] [PATCH 01/10] usb: Remove obsolete header file

2012-11-28 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/28/12 09:40, Lukasz Majewski wrote: > Hi Pantelis, > >> usbdescriptors.h conflicts with linux/usb/ch9.h Remove it. > > After applying this patch, I cannot build trats target anymore. Had you also merged u-boot-usb? Locally, trats builds now (

[U-Boot] arm-linux-ld: assertion failure

2012-11-28 Thread Quentin Strydom
Hi, I'm trying to build u-boot for a igep0020 nand board but failing, here are my last few lines of output: fs/libfs.o: In function `do_load': /home/qstrydom/CSI3/BPC/u-boot/fs/fs.c:297: undefined reference to `get_timer' /home/qstrydom/CSI3/BPC/u-boot/fs/fs.c:299: undefined reference to `ge

Re: [U-Boot] [Patch 1/2] MIPS: fix a latent bug on initialize $gp

2012-11-28 Thread Zhi-zhou Zhang
On Wed, Nov 28, 2012 at 02:33:10PM +0100, Daniel Schwierzeck wrote: > 2012/11/26 Zhi-zhou Zhang : > > On Sun, Nov 25, 2012 at 09:30:54PM +0100, Daniel Schwierzeck wrote: > >> 2012/11/24 Zhi-zhou Zhang : > >> > If bal is 8 bytes aligned, the _gp will not be 8 bytes aligned. > >> > then the following

[U-Boot] [PATCH] fdt: Correct global_data condition in main

2012-11-28 Thread Simon Glass
We need an extra condition here in case we want to use fdt without the silent console/cmdline editing/post options. Note: It might be acceptable instead to just always declare this here. >From what I can tell it has no code size impact to declare it on any architecture. Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 08/10] dfu: Properly zero out timeout value

2012-11-28 Thread Lukasz Majewski
Hi Pantelis, > Zero out timeout value; letting it filled with undefined values > ends up with the dfu host hanging. > > Signed-off-by: Pantelis Antoniou > --- > drivers/usb/gadget/f_dfu.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/usb/gadget/f_dfu.c b/drivers/usb/gadge

Re: [U-Boot] [PATCH 04/10] g_dnl: Properly terminate string list.

2012-11-28 Thread Lukasz Majewski
Hi Pantelis, > Well, not terminating the list causes very interesting crashes. > As in changing the vendor & product ID crashes. Fun. > > Signed-off-by: Pantelis Antoniou > --- > drivers/usb/gadget/g_dnl.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/usb/gadget/g_dnl.c b/dr

Re: [U-Boot] [PATCH 06/10] dfu: Fix crash when wrong number of arguments given

2012-11-28 Thread Lukasz Majewski
Hi Pantelis, > Fix obvious crash when not enough arguments are given to the dfu > command. > > Signed-off-by: Pantelis Antoniou > --- > common/cmd_dfu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/common/cmd_dfu.c b/common/cmd_dfu.c > index 327c738..83ef324 100644

Re: [U-Boot] [PATCH 14/14] fdt: Set kernaddr if fdt indicates a kernel is present

2012-11-28 Thread Simon Glass
Hi Dennis, On Wed, Nov 28, 2012 at 6:30 AM, Dennis Lan (dlan) wrote: > hi simon: > found a small bug?(not sure) which introduced by this commit. > > this line not inldue FDT option > #if defined(CONFIG_SILENT_CONSOLE) || defined(CONFIG_POST) || > defined(CONFIG_CMDLINE_EDITING) > DECLARE_GLOBAL

  1   2   >