[U-Boot] [PING] Re: [PATCH 0/4] use CFI driver for all MPL boards

2012-01-08 Thread David Müller (ELSOFT AG)
Hello Any news? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

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

2012-01-08 Thread David Müller (ELSOFT AG)
Hello Any news? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PING] Re: [PATCH V3] ARM: fix s3c2410 timer code

2012-01-08 Thread David Müller (ELSOFT AG)
Hello Any news? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v4] i.mx: i.mx6q: add the initial support for i.mx6q Sabre Lite board

2012-01-08 Thread Dirk Behme
Hi Stefano, On 29.12.2011 17:34, Dirk Behme wrote: From: Jason Liu Add the initial support for Freescale i.MX6Q Sabre Lite board Signed-off-by: Dirk Behme Signed-off-by: Jason Liu CC: Eric Nelson --- V4: Rebase board_mmc_getcd() against http://patchwork.ozlabs.org/patch/132398/ Thi

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

2012-01-08 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. MAINTAINERS

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

2012-01-08 Thread Chander Kashyap
This patch adds support for mmc spl booting. Signed-off-by: Chander Kashyap --- Changes for v2: - None board/samsung/smdk5250/Makefile | 16 board/samsung/smdk5250/mmc_boot.c | 58 board/samsung/smdk5250/tools/mkexynos_image.c | 117 +

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

2012-01-08 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. arch/arm/cpu/ar

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

2012-01-08 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 arch/arm/cpu/armv7/exynos/clock.c |6 +---

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

2012-01-08 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 V2] ARMV7: Add support for TRATS board

2012-01-08 Thread Wolfgang Denk
Dear "HeungJun, Kim", In message <01b901ccce95$1f4b4fa0$5de1eee0$%k...@samsung.com> you wrote: > > The watchdong SASMUNG_BASE() definitions is also not existed in the headers. > > So, I can not put at this using structures, too. Yes, you can - add the needed structures. Best regards, Wolfgang

Re: [U-Boot] [PATCH V2] ARMV7: Add support for TRATS board

2012-01-08 Thread Wolfgang Denk
Dear "HeungJun, Kim", In message <01b801ccce94$b2599a00$170cce00$%k...@samsung.com> you wrote: > ... > > > + writel(0, base + POWER_TV_CONFIGURATION_OFFSET); > > > + writel(0, base + POWER_MFC_CONFIGURATION_OFFSET); > > > + writel(0, base + POWER_G3D_CONFIGURATION_OFFSET); > > >

Re: [U-Boot] [PATCH V2] ARMV7: Add support for TRATS board

2012-01-08 Thread HeungJun, Kim
I missed one thing. The watchdong SASMUNG_BASE() definitions is also not existed in the headers. So, I can not put at this using structures, too. Thanks and Regards, Heungjun Kim > -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On > Behalf

Re: [U-Boot] [PATCH V2] ARMV7: Add support for TRATS board

2012-01-08 Thread HeungJun, Kim
Hi Minkyu Kang, Any other structures is existed in the arch/arm/include/asm/arch-exynos/*. So, I'm fitting the codes at this. But, > -Original Message- > From: Minkyu Kang [mailto:proms...@gmail.com] > Sent: Monday, January 09, 2012 11:42 AM > To: HeungJun, Kim > Cc: u-boot@lists.denx.de;

Re: [U-Boot] [PATCH] tegra: mmc: Support operation with dcache enabled

2012-01-08 Thread Simon Glass
Hi Andy, On Sun, Jan 8, 2012 at 7:36 PM, Andy Fleming wrote: > On Wed, Dec 21, 2011 at 2:02 PM, Simon Glass wrote: >> When the data cache is enabled we must flush on write and invalidate >> on read. We also check that buffers are aligned to data cache lines >> boundaries. With recent work in U-B

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

2012-01-08 Thread Andy Fleming
The following changes since commit 9a4209869bd2c37affd931d627b3c3e72952: ARM: highbank: enable networking and pxe (2012-01-05 20:10:38 +0100) are available in the git repository at: git://www.denx.de/git/u-boot-mmc.git master Anatolij Gustschin (1): drivers/mmc/mv_sdhci.c: Fix buil

Re: [U-Boot] [PATCH V2] ARMV7: Add support for TRATS board

2012-01-08 Thread HeungJun, Kim
Hi Wolfgang Denk, Sorry not to check the these documents. It's my mistake. I have known that the another pull-request is needed after Acked by maintainers on ML. So, I sent by that way. Ok, there is another comments by Minkyu Kang, so I send next version after I fix these. Thanks and Regards, H

Re: [U-Boot] [PATCH] fsl_esdhc: fix PIO mode transfers

2012-01-08 Thread Andy Fleming
On Fri, Dec 23, 2011 at 12:30 PM, Ira W. Snyder wrote: > The pointer to the registers used to control the Freescale ESDHC MMC > controller is not initialized correctly when using PIO mode. This is > fixed by initializing the pointer in the same way as all other sites > within the driver. > > Exami

Re: [U-Boot] [PATCH v4 0/4] mmc: Implement central card-detection.

2012-01-08 Thread Andy Fleming
On Mon, Jan 2, 2012 at 5:15 AM, Thierry Reding wrote: > This series of patches implements central card-detection within the MMC > framework. Before this patch series, many boards actually did implement > the board_mmc_getcd() function, but it wasn't used except by one driver > (fsl_esdhc). Unfortu

Re: [U-Boot] [PATCH v3 0/4] mmc: Implement central card-detection.

2012-01-08 Thread Andy Fleming
On Tue, Dec 20, 2011 at 2:52 AM, Thierry Reding wrote: > This series of patches implements central card-detection within the MMC > framework. Before this patch series, many boards actually did implement > the board_mmc_getcd() function, but it wasn't used except by one driver > (fsl_esdhc). Unfort

Re: [U-Boot] [PATCH] tegra: mmc: Support operation with dcache enabled

2012-01-08 Thread Andy Fleming
On Wed, Dec 21, 2011 at 2:02 PM, Simon Glass wrote: > When the data cache is enabled we must flush on write and invalidate > on read. We also check that buffers are aligned to data cache lines > boundaries. With recent work in U-Boot this should generally be the case > but the warnings will catch

Re: [U-Boot] A Problem of u-boot on TI PandaBoard porting

2012-01-08 Thread Qiao . HelloWorld
Thanks for your reply, I modified the comment of include/configs/panda_test.h to C-style, and the problem solved! However, I encountered another problem...I can build u-boot.img, u-boot.bin, u-boot.srec, but still NOT MLO the error message is as below:

Re: [U-Boot] [PATCH V2] ARMV7: Add support for TRATS board

2012-01-08 Thread Minkyu Kang
Dear HeungJun, Kim, On 6 January 2012 21:55, HeungJun, Kim wrote: > This patch adds support for Samsung TRATS board > > Signed-off-by: HeungJun, Kim > Signed-off-by: Kyungmin Park > --- >  MAINTAINERS                         |    4 + >  board/samsung/trats/Makefile        |   45 ++ >  board/sam

Re: [U-Boot] [PATCH] tegra: mmc: Support operation with dcache enabled

2012-01-08 Thread Andy Fleming
On Sun, Jan 8, 2012 at 2:42 AM, Mike Frysinger wrote: > On Wednesday 21 December 2011 16:10:16 Stephen Warren wrote: >> Simon Glass wrote at Wednesday, December 21, 2011 1:03 PM: >> > When the data cache is enabled we must flush on write and invalidate >> > on read. We also check that buffers are

Re: [U-Boot] [RFC PATCH v2 11/15] bootstage: Define an optional microsecond timer

2012-01-08 Thread Simon Glass
Hi Mike, On Sun, Jan 8, 2012 at 11:57 AM, Mike Frysinger wrote: > On Sunday 08 January 2012 12:33:34 Simon Glass wrote: >> On Sun, Jan 8, 2012 at 12:30 AM, Mike Frysinger wrote: >> > On Saturday 10 December 2011 16:08:03 Simon Glass wrote: >> >> --- a/lib/time.c >> >> +++ b/lib/time.c >> >> >> >>

Re: [U-Boot] [RFC PATCH v2 15/15] bootstage: arm: Add bootstage calls in board and bootm

2012-01-08 Thread Simon Glass
Hi Mike, On Sun, Jan 8, 2012 at 11:58 AM, Mike Frysinger wrote: > On Sunday 08 January 2012 12:43:09 Simon Glass wrote: >> On Sun, Jan 8, 2012 at 12:36 AM, Mike Frysinger wrote: >> > On Saturday 10 December 2011 16:08:07 Simon Glass wrote: >> >> --- a/arch/arm/lib/bootm.c >> >> +++ b/arch/arm/lib

Re: [U-Boot] [RFC PATCH v2 01/15] bootstage: Create an initial header for boot progress integers

2012-01-08 Thread Simon Glass
Hi Mike, On Sun, Jan 8, 2012 at 11:46 AM, Mike Frysinger wrote: > On Sunday 08 January 2012 12:22:54 Simon Glass wrote: >> On Sun, Jan 8, 2012 at 12:26 AM, Mike Frysinger wrote: >> > On Saturday 10 December 2011 16:07:53 Simon Glass wrote: >> >> +enum bootstage_id { >> >> +     BOOTSTAGE_ID_RUN_O

Re: [U-Boot] v2011.12 and later do not boot on dreamplug.

2012-01-08 Thread Jason
On Sun, Jan 08, 2012 at 07:49:05PM +, Ian Campbell wrote: > On Sun, 2012-01-08 at 15:30 +, Ian Campbell wrote: > > v2011.12 hangs on boot on my dreamplug with: > > > > U-Boot 2011.12-dirty (Jan 08 2012 - 15:16:44) > > Marvell-DreamPlug > > > > SoC: Kirkwo

Re: [U-Boot] v2011.12 and later do not boot on dreamplug.

2012-01-08 Thread Ian Campbell
On Sun, 2012-01-08 at 15:30 +, Ian Campbell wrote: > v2011.12 hangs on boot on my dreamplug with: > > U-Boot 2011.12-dirty (Jan 08 2012 - 15:16:44) > Marvell-DreamPlug > > SoC: Kirkwood 88F6281_A1 > DRAM: 512 MiB > WARNING: Caches not enabled

Re: [U-Boot] v2011.12 and later do not boot on dreamplug.

2012-01-08 Thread Ian Campbell
Resending without typo in Heiko's email address. Cheers, Ian. On Sun, 2012-01-08 at 15:30 +, Ian Campbell wrote: > v2011.12 hangs on boot on my dreamplug with: > > U-Boot 2011.12-dirty (Jan 08 2012 - 15:16:44) > Marvell-DreamPlug > > SoC: Kirkwood 88F6281_A1

[U-Boot] v2011.12 and later do not boot on dreamplug.

2012-01-08 Thread Ian Campbell
v2011.12 hangs on boot on my dreamplug with: U-Boot 2011.12-dirty (Jan 08 2012 - 15:16:44) Marvell-DreamPlug SoC: Kirkwood 88F6281_A1 DRAM: 512 MiB WARNING: Caches not enabled I bisected it down to: commit ca4b55800ed74207c35271bf7335a09

Re: [U-Boot] [RFC PATCH v2 15/15] bootstage: arm: Add bootstage calls in board and bootm

2012-01-08 Thread Mike Frysinger
On Sunday 08 January 2012 12:43:09 Simon Glass wrote: > On Sun, Jan 8, 2012 at 12:36 AM, Mike Frysinger wrote: > > On Saturday 10 December 2011 16:08:07 Simon Glass wrote: > >> --- a/arch/arm/lib/bootm.c > >> +++ b/arch/arm/lib/bootm.c > >> > >> static void announce_and_cleanup(void) > >> { > >>

Re: [U-Boot] [RFC PATCH v2 11/15] bootstage: Define an optional microsecond timer

2012-01-08 Thread Mike Frysinger
On Sunday 08 January 2012 12:33:34 Simon Glass wrote: > On Sun, Jan 8, 2012 at 12:30 AM, Mike Frysinger wrote: > > On Saturday 10 December 2011 16:08:03 Simon Glass wrote: > >> --- a/lib/time.c > >> +++ b/lib/time.c > >> > >> +ulong __timer_get_boot_us(void) > >> +{ > >> + static ulong base_ti

[U-Boot] [PATCHv4 4/8] mkenvimage: More error handling

2012-01-08 Thread David Wagner
Verbosly fail if the target environment size or the padding byte are badly formated. Verbosly fail if something bad happens when reading from standard input. Signed-off-by: David Wagner --- tools/mkenvimage.c | 31 +-- 1 files changed, 29 insertions(+), 2 deletions

Re: [U-Boot] [RFC PATCH v2 01/15] bootstage: Create an initial header for boot progress integers

2012-01-08 Thread Mike Frysinger
On Sunday 08 January 2012 12:22:54 Simon Glass wrote: > On Sun, Jan 8, 2012 at 12:26 AM, Mike Frysinger wrote: > > On Saturday 10 December 2011 16:07:53 Simon Glass wrote: > >> +enum bootstage_id { > >> + BOOTSTAGE_ID_RUN_OS = 15, /* Exiting U-Boot, entering OS */ > >> +}; > > > > what r

Re: [U-Boot] [PATCHv3 5/8] mkenvimage: Read/Write from/to stdin/out by default or if the filename is "-"

2012-01-08 Thread Mike Frysinger
On Sunday 08 January 2012 07:02:40 David Wagner wrote: > Le 08/01/2012 07:50, Mike Frysinger a écrit : > > On Thursday 05 January 2012 13:44:56 David Wagner wrote: > >> + bin_fd = creat(bin_filename, S_IRUSR | S_IWUSR | S_IRGRP | > >> + S_IWGRP); > >

Re: [U-Boot] [PATCHv3 4/8] mkenvimage: More error handling

2012-01-08 Thread Mike Frysinger
On Sunday 08 January 2012 09:25:21 David Wagner wrote: > --- a/tools/mkenvimage.c > +++ b/tools/mkenvimage.c > > +long int xstrtol(char *s) const > +{ > + long int tmp; > + > + tmp = strtol(s, NULL, 0); > + if (!errno) > + return tmp; you should manually clear errno befo

Re: [U-Boot] [PATCHv4 3/8] mkenvimage: Correct an include and add a missing one

2012-01-08 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] lsxl: add support for lschlv2 and lsxhl

2012-01-08 Thread Michael Walle
Am Dienstag 03 Januar 2012, 15:46:09 schrieb Wolfgang Denk: > Dear Michael, > > In message you wrote: > > The linkstations don't have a (populated) serial port. There is no way to > > access an unmodified board other than using the netconsole. If you want > > to recover from a bad environment se

Re: [U-Boot] [PATCH] lsxl: add support for lschlv2 and lsxhl

2012-01-08 Thread Michael Walle
Hi Wolfgang, Am Dienstag 03 Januar 2012, 00:55:41 schrieb Wolfgang Denk: > > +#define CONFIG_ETHADDR 02:00:01:00:00:00 > > ... > > > +#define CONFIG_IPADDR 192.168.11.150 > > +#define CONFIG_SERVERIP192.168.11.1 > > +#define CONFIG_NETMASK 255.255.255.0 >

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

2012-01-08 Thread Simon Glass
Hi Marek, On Sun, Jan 8, 2012 at 9:06 AM, Marek Vasut wrote: >> Hi Marek, [snip] >> >> + >> >> +int i2c_set_bus_num(unsigned int bus) >> >> +{ >> >> +     if (bus >= CONFIG_SYS_MAX_I2C_BUS) >> >> +             return -1; >> >> +     i2c_bus_num = bus; >> >> + >> >> +     return 0; >> >> +} >> >>

Re: [U-Boot] [RFC PATCH 01/19] Introduce generic global_data

2012-01-08 Thread Simon Glass
Hi Graeme, On Sun, Jan 8, 2012 at 2:48 AM, Graeme Russ wrote: > Hi Simon, > > On 08/01/12 09:33, Simon Glass wrote: >> Hi Andreas, >> >> On Wed, Dec 28, 2011 at 11:47 PM, Andreas Bießmann >> wrote: >>> Dear Simon, >>> >>> On 28.12.11 07:35, Simon Glass wrote: We want to unify the global_dat

Re: [U-Boot] [PATCH 1/9] usb: Fix strict-aliasing warning in host/ohci-hcd.c

2012-01-08 Thread Simon Glass
Hi Mike, On Sun, Jan 8, 2012 at 1:32 AM, Mike Frysinger wrote: > On Thursday 05 January 2012 22:54:49 Simon Glass wrote: >>       len = min_t(int, len, leni); >> -     if (data != databuf.ptr) >> -             memcpy(data, databuf.ptr, len); >> +     if (dataptr) >> +             memcpy(data, dat

Re: [U-Boot] [PATCH v2 17/17] x86: Convert board_init_f_r to a processing loop

2012-01-08 Thread Simon Glass
Hi Graeme, On Sun, Jan 8, 2012 at 1:10 AM, Graeme Russ wrote: > On 08/01/12 09:21, Simon Glass wrote: >> Hi Graeme, >> >> On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: >>> Create an init function array for board_init_f_r - This finalises the >>> migration to a purely array based initialisa

Re: [U-Boot] [PATCH v2 15/17] x86: Move relocation code out of board.c

2012-01-08 Thread Simon Glass
Hi Graeme, On Sun, Jan 8, 2012 at 1:04 AM, Graeme Russ wrote: > Hi Simon, > > On 08/01/12 09:15, Simon Glass wrote: >> Hi Graeme, >> >> On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: >>> Signed-off-by: Graeme Russ >>> --- >>> Changes for v2: >>>  - None >>> >>>  arch/x86/lib/Makefile   |  

Re: [U-Boot] [RFC PATCH v2 15/15] bootstage: arm: Add bootstage calls in board and bootm

2012-01-08 Thread Simon Glass
Hi Mike, On Sun, Jan 8, 2012 at 12:36 AM, Mike Frysinger wrote: > On Saturday 10 December 2011 16:08:07 Simon Glass wrote: >> --- a/arch/arm/lib/bootm.c >> +++ b/arch/arm/lib/bootm.c >> >>  static void announce_and_cleanup(void) >>  { >>       printf("\nStarting kernel ...\n\n"); >> +     bootsta

Re: [U-Boot] [RFC PATCH v2 13/15] bootstage: Add microsecond boot time measurement

2012-01-08 Thread Simon Glass
Hi Mike, On Sun, Jan 8, 2012 at 12:35 AM, Mike Frysinger wrote: > On Saturday 10 December 2011 16:08:05 Simon Glass wrote: >> This defines the basics of a new boot time measurement feature. This allows >> logging of very accurate time measurements as the boot proceeds, by using >> an available mi

Re: [U-Boot] [RFC PATCH v2 11/15] bootstage: Define an optional microsecond timer

2012-01-08 Thread Simon Glass
Hi Mike, On Sun, Jan 8, 2012 at 12:30 AM, Mike Frysinger wrote: > On Saturday 10 December 2011 16:08:03 Simon Glass wrote: >> --- a/lib/time.c >> +++ b/lib/time.c >> >> +ulong __timer_get_boot_us(void) >> +{ >> +     static ulong base_time; >> + >> +     /* >> +      * We can't implement this pro

Re: [U-Boot] [RFC PATCH v2 05/15] bootstage: Convert progress numbers 10-19 to enums

2012-01-08 Thread Simon Glass
Hi Mike, On Sun, Jan 8, 2012 at 12:28 AM, Mike Frysinger wrote: > not sure why this isn't just squashed into 04/15, but whatever > Only that I wanted to make it easier to review in chunks. > Acked-by: Mike Frysinger > -mike Thanks Regards, Simon ___

Re: [U-Boot] [RFC PATCH v2 04/15] bootstage: Convert progress numbers 1-9 into enums

2012-01-08 Thread Simon Glass
Hi Mike, On Sun, Jan 8, 2012 at 12:27 AM, Mike Frysinger wrote: > On Saturday 10 December 2011 16:07:56 Simon Glass wrote: >> --- a/include/bootstage.h >> +++ b/include/bootstage.h >> >>  enum bootstage_id { >> +     BOOTSTAGE_ID_START, >> +     BOOTSTAGE_ID_CHECK_MAGIC,       /* Checking image m

Re: [U-Boot] [RFC PATCH v2 01/15] bootstage: Create an initial header for boot progress integers

2012-01-08 Thread Simon Glass
Hi Mike, On Sun, Jan 8, 2012 at 12:26 AM, Mike Frysinger wrote: > On Saturday 10 December 2011 16:07:53 Simon Glass wrote: >> --- /dev/null >> +++ b/include/bootstage.h Thanks for looking at this. >> >> +/* >> + * This file implements recording of each stage of the boot process. It is >> + * in

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

2012-01-08 Thread Marek Vasut
> Hi Marek, > > On Mon, Dec 26, 2011 at 11:15 AM, Marek Vasut wrote: > >> From: Yen Lin > >> > >> Add basic i2c driver for Tegra2 with 8- and 16-bit address support. > >> The driver supports building both with and without CONFIG_OF_CONTROL. > >> > >> Without CONFIG_OF_CONTROL a number of CONFI

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

2012-01-08 Thread Simon Glass
Hi Marek, On Mon, Dec 26, 2011 at 11:15 AM, Marek Vasut wrote: >> From: Yen Lin >> >> Add basic i2c driver for Tegra2 with 8- and 16-bit address support. >> The driver supports building both with and without CONFIG_OF_CONTROL. >> >> Without CONFIG_OF_CONTROL a number of CONFIG options must be su

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

2012-01-08 Thread Simon Glass
Hi Mike, On Sat, Jan 7, 2012 at 9:57 PM, Mike Frysinger wrote: > On Monday 26 December 2011 13:11:48 Simon Glass wrote: >> --- /dev/null >> +++ b/drivers/i2c/tegra2_i2c.c >> >> +static int wait_for_tx_fifo_empty(struct i2c_control *control) >> ... >> +     while (timeout_us >= 0) { >> ... >> +  

Re: [U-Boot] [PATCH 03/14] tegra: Add crypto library for warmboot code

2012-01-08 Thread Simon Glass
Hi Mike, On Sat, Jan 7, 2012 at 9:51 PM, Mike Frysinger wrote: > On Monday 26 December 2011 14:32:56 Simon Glass wrote: >> --- /dev/null >> +++ b/arch/arm/cpu/armv7/tegra2/crypto.c >> >> +#ifdef DEBUG >> +static void debug_print_vector(char *name, u32 num_bytes, u8 *data) >> +{ >> +     u32 i; >>

Re: [U-Boot] [PATCH 01/14] Add AES crypto library

2012-01-08 Thread Simon Glass
Hi Marek, On Sun, Jan 8, 2012 at 2:40 AM, Marek Vasut wrote: >> On Sunday 08 January 2012 03:57:47 Marek Vasut wrote: >> > > On Monday 26 December 2011 14:32:54 Simon Glass wrote: >> > > > --- /dev/null >> > > > +++ b/lib/aes.c >> > > > >> > > > +static u8 sbox[256] = { >> > > > +static u8 inv_sb

Re: [U-Boot] Possible Denx m28evk ethernet problem + solution

2012-01-08 Thread Marek Vasut
> > Not really ... that's how it all works. When Stefano sends pull RQ, it'll > > go mainline. > > Aha, so it's not mainline yet after all ;-) But I get it; It's available in > Fabio's repo and will be in Denx mainline soon. Stefano's ... but it's almost mainline, for imx development, that's what

Re: [U-Boot] Possible Denx m28evk ethernet problem + solution

2012-01-08 Thread Robert Deliën
> Not really ... that's how it all works. When Stefano sends pull RQ, it'll go > mainline. Aha, so it's not mainline yet after all ;-) But I get it; It's available in Fabio's repo and will be in Denx mainline soon. > I see no problems with the board DRAM detection on our board, no. I tested >

[U-Boot] [PATCHv3 4/8] mkenvimage: More error handling

2012-01-08 Thread David Wagner
Verbosly fail if the target environment size or the padding byte are badly formated. Verbosly fail if something bad happens when reading from standard input. Signed-off-by: David Wagner --- tools/mkenvimage.c | 30 -- 1 files changed, 28 insertions(+), 2 deletions(

[U-Boot] [PATCHv3 6/8] mkenvimage: Use mmap() when reading from a regular file

2012-01-08 Thread David Wagner
Fall back to read() if it fails. Signed-off-by: David Wagner --- I let an error message be printed when mmap fails, as the user may want to know why. tools/mkenvimage.c | 25 +++-- 1 files changed, 19 insertions(+), 6 deletions(-) diff --git a/tools/mkenvimage.c b/tools/

[U-Boot] [PATCHv4 3/8] mkenvimage: Correct an include and add a missing one

2012-01-08 Thread David Wagner
compiler.h needs to be included from U-Boot's headers. Also, group U-Boot-specific includes together stdlib.h was missing. Signed-off-by: David Wagner --- tools/mkenvimage.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/tools/mkenvimage.c b/tools/mkenvimage.c index

Re: [U-Boot] [PATCH V12 02/14] devki8000: add config for spl command

2012-01-08 Thread stefano babic
Am 07/01/2012 11:21, schrieb Andreas Bießmann: > Dear Stefano Babic, > > I do not want to be pedantic, but the subject line contains 'devki8000' > which should be 'devkit8000'. You are not pedantic, the subject contain an error, and I will fix it - thanks ! Best regards, Stefano Babic --

Re: [U-Boot] Porting board from FSL to mainline U-Boot

2012-01-08 Thread stefano babic
Am 08/01/2012 08:15, schrieb Dirk Behme: > Hi Jason and Stefano, > is I Dirk, I posted your answer to the ML, too. I think your questions are of gerneral interest ;-) > I have to port the support for a custom board from Freescale to mainline > U-Boot. As you are the experts for this, I have two

Re: [U-Boot] [PATCHv3 5/8] mkenvimage: Read/Write from/to stdin/out by default or if the filename is "-"

2012-01-08 Thread David Wagner
Le 08/01/2012 07:50, Mike Frysinger a écrit : On Thursday 05 January 2012 13:44:56 David Wagner wrote: + bin_fd = creat(bin_filename, S_IRUSR | S_IWUSR | S_IRGRP | +S_IWGRP); this should prob be open() -mike What is wrong with creat()

Re: [U-Boot] initcall revisited - A new idea to discuss

2012-01-08 Thread Graeme Russ
Hi Simon, On 08/01/12 09:39, Simon Glass wrote: > Hi Gururaja, > > On Thu, Jan 5, 2012 at 11:25 PM, Hebbar, Gururaja > wrote: >> On Fri, Jan 06, 2012 at 12:05:40, Wolfgang Denk wrote: >>> Dear "Hebbar, Gururaja", >>> >> >> [snip] >> > _after_ the list has been created - If this breaks depend

Re: [U-Boot] Possible Denx m28evk ethernet problem + solution

2012-01-08 Thread Marek Vasut
> > Please use Stefano's imx git tree, which has support for mx28evk already. > > Thanks for the heads-up. It's a bit confusing and unexpected to have a > mainline spread across different git trees; Will Stefano's mainline be > integrated into the main-mainline sometime? Not really ... that's how

Re: [U-Boot] [RFC PATCH 01/19] Introduce generic global_data

2012-01-08 Thread Graeme Russ
Hi Simon, On 08/01/12 09:33, Simon Glass wrote: > Hi Andreas, > > On Wed, Dec 28, 2011 at 11:47 PM, Andreas Bießmann > wrote: >> Dear Simon, >> >> On 28.12.11 07:35, Simon Glass wrote: >>> We want to unify the global_data structure. Most fields are common across >>> architectures, but there are

Re: [U-Boot] [PATCH 01/14] Add AES crypto library

2012-01-08 Thread Marek Vasut
> On Sunday 08 January 2012 03:57:47 Marek Vasut wrote: > > > On Monday 26 December 2011 14:32:54 Simon Glass wrote: > > > > --- /dev/null > > > > +++ b/lib/aes.c > > > > > > > > +static u8 sbox[256] = { > > > > +static u8 inv_sbox[256] = { > > > > +static u8 x2_sbox[256] = { > > > > +static u8 x3

Re: [U-Boot] Possible Denx m28evk ethernet problem + solution

2012-01-08 Thread Robert Deliën
> Please use Stefano's imx git tree, which has support for mx28evk already. Thanks for the heads-up. It's a bit confusing and unexpected to have a mainline spread across different git trees; Will Stefano's mainline be integrated into the main-mainline sometime? > m28evk and mx28evk differ in th

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-08 Thread Mike Frysinger
On Wednesday 04 January 2012 18:56:23 Scott Wood wrote: > On 12/05/2011 05:17 PM, Marek Vasut wrote: > > This will be beneficial for the PXA3XX NAND driver, which uses the NAND > > IDs to identify the chip and configure the controller accordingly. > > > > --- a/drivers/mtd/nand/Makefile > > +++ b/

Re: [U-Boot] [PATCH 1/9] usb: Fix strict-aliasing warning in host/ohci-hcd.c

2012-01-08 Thread Mike Frysinger
On Thursday 05 January 2012 22:54:49 Simon Glass wrote: > len = min_t(int, len, leni); > - if (data != databuf.ptr) > - memcpy(data, databuf.ptr, len); > + if (dataptr) > + memcpy(data, dataptr, len); > + else > + memcpy(data, &databuf, len); t

Re: [U-Boot] [PATCH 8/9] m68k: Change memsz to a signed char to avoid warning

2012-01-08 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 9/9] ppc: Change memsz variable to signed char

2012-01-08 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 2/9] Fix strict-aliasing warning in dlmalloc

2012-01-08 Thread Mike Frysinger
On Friday 06 January 2012 15:39:08 Simon Glass wrote: > On Thu, Jan 5, 2012 at 10:48 PM, Wolfgang Denk wrote: > > Simon Glass wrote: > >> This fixes the following warnings in dlmalloc seen with my gcc 4.6. > > > > Which exact version is this? > > > >> dlmalloc.c: In function 'malloc_bin_reloc': >

[U-Boot] [PATCH v2] Blackfin: br4: new board port

2012-01-08 Thread Mike Frysinger
From: Dimitar Penev This adds support for the BR4 Appliance. It is a quad channel ISDN BRI board based on Blackfin BF537 CPU. Signed-off-by: Dimitar Penev Signed-off-by: Mike Frysinger --- v2 - rebased and applied feedback from Wolfgang MAINTAINERS |1 + board/br4/Make

[U-Boot] [PATCH v2] Blackfin: pr1: new board port

2012-01-08 Thread Mike Frysinger
From: Dimitar Penev This add support for the PR1 Appliance - Asterisk based ISDN PRI PBX. This board is Blackfin BF537 based. The schematics are not fully opened. Signed-off-by: Dimitar Penev Signed-off-by: Mike Frysinger --- v2 - rebased and applied feedback from Wolfgang MAINTAINE

Re: [U-Boot] [PATCH] Blackfin: br4: new board port

2012-01-08 Thread Mike Frysinger
On Monday 28 November 2011 10:33:39 Wolfgang Denk wrote: > Dimitar Penev wrote: > > >> > > +#define CONFIG_TFTP_BLOCKSIZE 4404 > ... > > > I have to admit that I'm not sure i having the last ine is a clever > > > idea, but in any case it's not my problem. > > > > I have not dug in the code to unde

[U-Boot] [PATCH] post: add blackfin to the post_time_ms list

2012-01-08 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- post/post.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/post/post.c b/post/post.c index d62f10a..8705b12 100644 --- a/post/post.c +++ b/post/post.c @@ -495,7 +495,8 @@ void post_reloc(void) */ unsigned long post_time_ms(unsigned

[U-Boot] [PATCH] Blackfin: add in/out le32 variants

2012-01-08 Thread Mike Frysinger
These are rarely used, but the post code does currently, so add small redirect hacks for that. Signed-off-by: Mike Frysinger --- arch/blackfin/include/asm/io.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/blackfin/include/asm/io.h b/arch/blackfin/include/asm/io.

[U-Boot] [PATCH] lzma: fix printf warnings

2012-01-08 Thread Mike Frysinger
Fix size_t printf format warnings: LzmaTools.c: In function 'lzmaBuffToBuffDecompress': LzmaTools.c:110:5: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'SizeT' LzmaTools.c:111:5: warning: format '%x' expects type 'unsigned int',

Re: [U-Boot] [PATCH v2 17/17] x86: Convert board_init_f_r to a processing loop

2012-01-08 Thread Graeme Russ
On 08/01/12 09:21, Simon Glass wrote: > Hi Graeme, > > On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: >> Create an init function array for board_init_f_r - This finalises the >> migration to a purely array based initialisation mechanism >> >> Also tweak a few comments while we are at it so e

Re: [U-Boot] [PATCH 01/14] Add AES crypto library

2012-01-08 Thread Mike Frysinger
On Sunday 08 January 2012 03:57:47 Marek Vasut wrote: > > On Monday 26 December 2011 14:32:54 Simon Glass wrote: > > > --- /dev/null > > > +++ b/lib/aes.c > > > > > > +static u8 sbox[256] = { > > > +static u8 inv_sbox[256] = { > > > +static u8 x2_sbox[256] = { > > > +static u8 x3_sbox[256] = { > >

Re: [U-Boot] [PATCH v2 15/17] x86: Move relocation code out of board.c

2012-01-08 Thread Graeme Russ
Hi Simon, On 08/01/12 09:15, Simon Glass wrote: > Hi Graeme, > > On Wed, Jan 4, 2012 at 11:59 AM, Graeme Russ wrote: >> Signed-off-by: Graeme Russ >> --- >> Changes for v2: >> - None >> >> arch/x86/lib/Makefile |1 + >> arch/x86/lib/board.c| 69 +--- >> arc

Re: [U-Boot] [PATCH 01/14] Add AES crypto library

2012-01-08 Thread Marek Vasut
> On Monday 26 December 2011 14:32:54 Simon Glass wrote: > > --- /dev/null > > +++ b/lib/aes.c > > > > +static u8 sbox[256] = { > > +static u8 inv_sbox[256] = { > > +static u8 x2_sbox[256] = { > > +static u8 x3_sbox[256] = { > > +static u8 x_time_9[256] = { > > +static u8 x_time_b[256] = { > > +st

Re: [U-Boot] [PATCH 6/9] sandbox: Add required header to os.c

2012-01-08 Thread Mike Frysinger
On Thursday 05 January 2012 22:54:54 Simon Glass wrote: > --- a/arch/sandbox/cpu/os.c > +++ b/arch/sandbox/cpu/os.c > > #include > #include > #include > +#include > #include > > #include guess this will need a rebase once 5/9 is rewritten -mike signature.asc Description: This is a di

Re: [U-Boot] [PATCH 5/9] sandbox: sort header files in os.c

2012-01-08 Thread Mike Frysinger
On Thursday 05 January 2012 22:54:53 Simon Glass wrote: > --- a/arch/sandbox/cpu/os.c > +++ b/arch/sandbox/cpu/os.c > > +#include > #include > +#include > #include > #include > -#include > #include > -#include > -#include > -#include > +#include > #include > -#include > +#include

Re: [U-Boot] [PATCH] sandbox: Add tap based networking

2012-01-08 Thread Mike Frysinger
were you going to post an updated version ? -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 v3 03/16] Add gpio_request() to asm-generic header

2012-01-08 Thread Mike Frysinger
On Tuesday 06 December 2011 20:24:02 Simon Glass wrote: > +int gpio_request(unsigned gpio, const char *label); should add gpio_free too -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.

Re: [U-Boot] [PATCH] tegra: mmc: Support operation with dcache enabled

2012-01-08 Thread Mike Frysinger
On Wednesday 21 December 2011 16:10:16 Stephen Warren wrote: > Simon Glass wrote at Wednesday, December 21, 2011 1:03 PM: > > When the data cache is enabled we must flush on write and invalidate > > on read. We also check that buffers are aligned to data cache lines > > boundaries. With recent work

Re: [U-Boot] [RFC PATCH v2 15/15] bootstage: arm: Add bootstage calls in board and bootm

2012-01-08 Thread Mike Frysinger
On Saturday 10 December 2011 16:08:07 Simon Glass wrote: > --- a/arch/arm/lib/bootm.c > +++ b/arch/arm/lib/bootm.c > > static void announce_and_cleanup(void) > { > printf("\nStarting kernel ...\n\n"); > + bootstage_mark_name(BOOTSTAGE_ID_BOOTM_HANDOFF, "start_kernel"); > +#ifdef CONFIG_

Re: [U-Boot] [RFC PATCH v2 13/15] bootstage: Add microsecond boot time measurement

2012-01-08 Thread Mike Frysinger
On Saturday 10 December 2011 16:08:05 Simon Glass wrote: > This defines the basics of a new boot time measurement feature. This allows > logging of very accurate time measurements as the boot proceeds, by using > an available microsecond counter. > > To enable the feature, define CONFIG_BOOTSTAGE

Re: [U-Boot] [RFC PATCH v2 11/15] bootstage: Define an optional microsecond timer

2012-01-08 Thread Mike Frysinger
On Saturday 10 December 2011 16:08:03 Simon Glass wrote: > --- a/lib/time.c > +++ b/lib/time.c > > +ulong __timer_get_boot_us(void) > +{ > + static ulong base_time; > + > + /* > + * We can't implement this properly. Return 0 on the first call and > + * larger values after that. >

Re: [U-Boot] [RFC PATCH v2 05/15] bootstage: Convert progress numbers 10-19 to enums

2012-01-08 Thread Mike Frysinger
not sure why this isn't just squashed into 04/15, but whatever 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] [RFC PATCH v2 04/15] bootstage: Convert progress numbers 1-9 into enums

2012-01-08 Thread Mike Frysinger
On Saturday 10 December 2011 16:07:56 Simon Glass wrote: > --- a/include/bootstage.h > +++ b/include/bootstage.h > > enum bootstage_id { > + BOOTSTAGE_ID_START, > + BOOTSTAGE_ID_CHECK_MAGIC, /* Checking image magic */ > + BOOTSTAGE_ID_CHECK_HEADER, /* Checking image header *

Re: [U-Boot] [RFC PATCH v2 03/15] bootstage: Use show_boot_error() for -ve progress numbers

2012-01-08 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] [RFC PATCH v2 01/15] bootstage: Create an initial header for boot progress integers

2012-01-08 Thread Mike Frysinger
On Saturday 10 December 2011 16:07:53 Simon Glass wrote: > --- /dev/null > +++ b/include/bootstage.h > > +/* > + * This file implements recording of each stage of the boot process. It is > + * intended to implement timing of each stage, reporting this information > + * to the user and passing it to

Re: [U-Boot] [RFC PATCH v2 02/15] bootstage: Make use of BOOTSTAGE_ID_RUN_OS in show_boot_progress()

2012-01-08 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