[U-Boot] [PATCH] EXYNOS: Add API for power reset and shutdown

2013-04-03 Thread Rajeshwari Shinde
This patch adds API's to reset and shutdown the power of EXYNOS boards power_shutdown: powers off the board by deasserting PS_HOLD pin. power_reset: this function software resets the Exynos board when called. Signed-off-by: Che-Liang Chiou Signed-off-by: Rajeshwari Shinde --- arch/arm/cpu/armv7

[U-Boot] USB3.0 Interrupt transfer in u-boot

2013-04-03 Thread Puneet Sharma
Hello, I want to test USB keyboard for XHCI in u-boot and to do that i need the Interrupt transfer code in XHCI controller driver in u-boot. If possible, can you help me to give that piece of code or can you help me to figure out in kernel where can i find it so that i can try to replicate it in u

Re: [U-Boot] [PATCH] BUGFIX: arm: armv7: data abort in get_bad_stack_swi

2013-04-03 Thread Albert ARIBAUD
> The can you please submit a V2 patch fixing all four of them? s/The/Then/ (and s//coffee, too) Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] BUGFIX: arm: armv7: data abort in get_bad_stack_swi

2013-04-03 Thread Albert ARIBAUD
Hi Tetsuyuki, On Thu, 4 Apr 2013 13:52:47 +0900, Tetsuyuki Kobayashi wrote: > When swi instruction is executed, it is expected to get message > "software interrupt" in console and dump registers and reboot, as > do_software_interrupt() in arch/arm/lib/interrupts.c. > Actually it causes data abo

[U-Boot] [PATCH V1 1/1] EXYNOS5: I2C: Add FDT and non-FDT support for I2C

2013-04-03 Thread Amar
This patch updates the function board_i2c_init() to add support for both FDT and non-FDT for I2C, and initialise the I2C channels. Signed-off-by: Amar --- drivers/i2c/s3c24x0_i2c.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/s3c24x0_i2c.c b/driv

[U-Boot] [PATCH V1 0/1] EXYNOS5: I2C: Add FDT and non-FDT support for I2C

2013-04-03 Thread Amar
s patch updates the function board_i2c_init() to add support for both FDT and non-FDT for I2C, and initialise the I2C channels. Amar (1): EXYNOS5: I2C: Added FDT and non-FDT support for I2C drivers/i2c/s3c24x0_i2c.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) -- 1.8.0

Re: [U-Boot] [PATCH] biosemu: include header

2013-04-03 Thread Linus Walleij
On Thu, Apr 4, 2013 at 12:05 AM, Tom Rini wrote: > On Wed, Apr 03, 2013 at 07:07:00PM +0200, Linus Walleij wrote: >> >> Yes the Integrator has PCI support since ages, and I do have a VGA >> card mounted in one of the slots ... the only issue is that I need >> biosemu to be working to initialize it

Re: [U-Boot] OMAP (4) boot_params

2013-04-03 Thread Wolfgang Denk
Dear Tom, In message <20130403164215.GK7035@bill-the-cat> you wrote: > > > ... except, as I said above, at this point your code should not write at > > all, be int in BSS or data, until the C environment is set up. So... > > But we have to save this ROM-passed information before we overwrite it

[U-Boot] [PATCH] integrator: enable device tree

2013-04-03 Thread Linus Walleij
This enables the device tree library on the Integrator platforms so we can pass a device tree when booting. Signed-off-by: Linus Walleij --- include/configs/integrator-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/integrator-common.h b/include/configs/integrator-c

[U-Boot] [PATCH] BUGFIX: arm: armv7: data abort in get_bad_stack_swi

2013-04-03 Thread Tetsuyuki Kobayashi
When swi instruction is executed, it is expected to get message "software interrupt" in console and dump registers and reboot, as do_software_interrupt() in arch/arm/lib/interrupts.c. Actually it causes data abort in get_bad_stack_swi macro in arch/arm/cpu/v7/start.S. This patch fixes this problem.

[U-Boot] Please pull u-boot-cfi-flash/master

2013-04-03 Thread Stefan Roese
Hi Tom, please pull the updated cfi-flash repository with the build warning fix: The following changes since commit 5644369450635fa5c2967bee55b1ac41f6e988d0: Merge branch 'ag...@denx.de' of git://git.denx.de/u-boot-staging (2013-03-31 08:43:12 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH] cfi_flash: Use uintptr_t for casts from u32 to void *

2013-04-03 Thread Stefan Roese
On 03.04.2013 02:47, Stefan Roese wrote: > This fixes this build warning: > > Configuring for qemu_mips64 - Board: qemu-mips64, Options: SYS_BIG_ENDIAN >textdata bss dec hex filename > 215344 13082 218720 447146 6d2aa qemu_mips64/u-boot > cfi_flash.c: In function 'flash_

[U-Boot] [PATCH] board/bsc9131rdb: Add DSP side tlb and laws

2013-04-03 Thread Priyanka Jain
BSC9131RDB is a Freescale Reference Design Board for BSC9131 SoC which is a integrated device that contains one powerpc e500v2 core and one DSP starcore. To support DSP starcore -Creating LAW and TLB for DSP-CCSR space. -Creating LAW for DSP-core subsystem M2 memory Signed-off-by: Priyanka Jain

Re: [U-Boot] [PATCH 5/7] usb: hub: Increase device enumeration timeout for broken drives

2013-04-03 Thread Marek Vasut
Dear Vivek Gautam, > Hi Marek, > > On Thu, Mar 28, 2013 at 8:02 PM, Marek Vasut wrote: > > Dear Vivek Gautam, > > > >> Few broken usb mass storage devices can take some time to set > >> Current Connect Status (CCS) and Connect Status Change (CSC) in > >> Port status register after an attach. >

Re: [U-Boot] [PATCH V2] ARM: bcm2835: fix get_timer() to return ms

2013-04-03 Thread Stephen Warren
On 03/28/2013 09:14 AM, Albert ARIBAUD wrote: > Hi Stephen, > > On Thu, 28 Mar 2013 08:59:05 -0600, Stephen Warren > wrote: > >> On 03/28/2013 05:15 AM, Albert ARIBAUD wrote: >>> Hi Stephen, >>> >>> On Wed, 27 Mar 2013 22:43:23 -0600, Stephen Warren >>> wrote: >>> Apparently, CONFIG_SYS_HZ

Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation completion

2013-04-03 Thread Eric Nelson
On 04/03/2013 04:17 PM, Eric Nelson wrote: Hi Andrew, On 04/03/2013 10:30 AM, Gabbasov, Andrew wrote: I think, it would be useful to have both patches. Although invalidating cache (by adding some delay) indirectly helps with waiting for DMA End event, it is probably worth having explicit DMA

Re: [U-Boot] [PATCH] Tegra114: Initialize System Counter (TSC) with osc frequency

2013-04-03 Thread Tom Warren
> -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, April 03, 2013 4:26 PM > To: Tom Warren > Cc: u-boot@lists.denx.de; Stephen Warren; Tom Warren > Subject: Re: [U-Boot] [PATCH] Tegra114: Initialize System Counter (TSC) with > osc frequency > >

Re: [U-Boot] [PATCH] Tegra: Fix MSELECT clock divisors for T30/T114.

2013-04-03 Thread Stephen Warren
On 04/03/2013 05:17 PM, Tom Warren wrote: > A comparison of registers between our internal NV U-Boot and > u-boot-tegra/next showed some discrepancies in the MSELECT > clock divisor programming. T20 doesn't have a MSELECT clk src reg. I'm not familiar with this code/HW, but it seems OK at a quick

Re: [U-Boot] [PATCH] Tegra114: Initialize System Counter (TSC) with osc frequency

2013-04-03 Thread Stephen Warren
On 04/03/2013 05:12 PM, Tom Warren wrote: > T114 needs the SYSCTR0 counter initialized so the TSC can be > read by the kernel. Do it in the bootloader since it's a write-once > deal (secure/non-secure mode dependent). > diff --git a/arch/arm/cpu/tegra-common/clock.c > b/arch/arm/cpu/tegra-common/

[U-Boot] [PATCH] Tegra: Fix MSELECT clock divisors for T30/T114.

2013-04-03 Thread Tom Warren
A comparison of registers between our internal NV U-Boot and u-boot-tegra/next showed some discrepancies in the MSELECT clock divisor programming. T20 doesn't have a MSELECT clk src reg. Signed-off-by: Tom Warren --- arch/arm/cpu/arm720t/tegra114/cpu.c | 10 -- arch/arm/cpu/arm720t/tegra

Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation completion

2013-04-03 Thread Eric Nelson
Hi Andrew, On 04/03/2013 10:30 AM, Gabbasov, Andrew wrote: I think, it would be useful to have both patches. Although invalidating cache (by adding some delay) indirectly helps with waiting for DMA End event, it is probably worth having explicit DMA completion waiting patch too. I agree whol

Re: [U-Boot] [PATCH] patman: Ignore all Gerrit Commit-* tags

2013-04-03 Thread Doug Anderson
Simon, On Wed, Apr 3, 2013 at 2:01 PM, Simon Glass wrote: > These tags are used by Gerrit, so let's ignore all of them. > > Signed-off-by: Simon Glass > --- > tools/patman/patchstream.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Doug Anderson ___

[U-Boot] [PATCH] Tegra114: Initialize System Counter (TSC) with osc frequency

2013-04-03 Thread Tom Warren
T114 needs the SYSCTR0 counter initialized so the TSC can be read by the kernel. Do it in the bootloader since it's a write-once deal (secure/non-secure mode dependent). Signed-off-by: Tom Warren --- arch/arm/cpu/tegra-common/clock.c | 3 +++ arch/arm/cpu/tegra114-common/clock.c

Re: [U-Boot] [PATCH 2/2] ARM: Add support for IGEP COM AQUILA/CYGNUS

2013-04-03 Thread Tom Rini
On Wed, Apr 03, 2013 at 03:12:03PM +0200, Enric Balletbo i Serra wrote: > From: Enric Balletbo i Serra > > The IGEP COM AQUILA and CYGNUS are industrial processors modules with > following highlights: > > o AM3352/AM3354 Texas Instruments processor > o Cortex-A8 ARM CPU > o 3.3 volts Inpu

[U-Boot] [PATCH] fsl_esdhc: flush cache after IO completion

2013-04-03 Thread Eric Nelson
The cache should invalidate the read buffer for the SD card interface after the transfer complete, not command-complete. Tested-by: Andrew Gabbasov Signed-off-by: Eric Nelson --- drivers/mmc/fsl_esdhc.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/fsl_

Re: [U-Boot] [PATCH] biosemu: include header

2013-04-03 Thread Tom Rini
On Wed, Apr 03, 2013 at 07:07:00PM +0200, Linus Walleij wrote: > On Wed, Apr 3, 2013 at 6:02 PM, Tom Rini wrote: > > > Grr, I missed this discussion, sorry. But I don't feel this falls into > > the "no dead code" rule, but does fall into the "lets not make life too > > hard for others" rule I h

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-03 Thread Benoît Thébaudeau
Hi Fabio, On Wednesday, April 3, 2013 11:01:51 PM, Fabio Estevam wrote: > Hi Benoît, > > On Wed, Apr 3, 2013 at 3:30 AM, Benoît Thébaudeau > wrote: > > > Here is the v10 bundle for those who want to test: > > http://dl.free.fr/vdXBGExyq > > I would like to test it on mx31. I downloaded the mxc

[U-Boot] [STATUS] v2013.04-rc2 released

2013-04-03 Thread Tom Rini
Hey all, I've tagged and pushed v2013.04-rc2 now. We're getting closer to the expected release date, but I hope to meet the deadline still. First, a word of warning. The syntax for 'ext4write' was changed to match the rest of the filesystem read/write commands. If you had scripts or other thin

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-03 Thread Fabio Estevam
Hi Benoît, On Wed, Apr 3, 2013 at 3:30 AM, Benoît Thébaudeau wrote: > Here is the v10 bundle for those who want to test: > http://dl.free.fr/vdXBGExyq I would like to test it on mx31. I downloaded the mxc-nand-v10.bundle file, but I was not able to open it. Any suggestion? Regards, Fabio Est

[U-Boot] [PATCH] patman: Ignore all Gerrit Commit-* tags

2013-04-03 Thread Simon Glass
These tags are used by Gerrit, so let's ignore all of them. Signed-off-by: Simon Glass --- tools/patman/patchstream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/patman/patchstream.py b/tools/patman/patchstream.py index 9d8a918..926b586 100644 --- a/tools/patman/pa

Re: [U-Boot] [PATCH v11 1/2] Introduced btrfs file-system with btrload command

2013-04-03 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/03/2013 04:14 PM, adnan@codethink.co.uk wrote: > > > Sent from my HTC > > - Reply message - From: "Tom Rini" To: > "Adnan Ali" Cc: > Subject: [U-Boot] [PATCH v11 1/2] Introduced btrfs file-system > with btrload command Date: We

Re: [U-Boot] [PATCH 4/4] omap2420h4: Fix get_timer() and CONFIG_SYS_HZ

2013-04-03 Thread Jon Hunter
On 04/03/2013 02:35 PM, Jon Hunter wrote: > The function get_timer() should return time in ms and CONFIG_SYS_HZ > should be set to 1000 by default. Fix both of these items. Ignore this patch it is a duplicate! Jon ___ U-Boot mailing list U-Boot@lists.d

[U-Boot] [PATCH 2/4] omap2420-h4: Fix booting from NOR flash

2013-04-03 Thread Jon Hunter
The omap2420-h4 board is using a RAM based address as the linker location for code. This is causing several problems when attempting to run the latest u-boot code base on this board from flash. Update the default linker location for code to be in NOR flash. Please note that OMAP maps the NOR flash

[U-Boot] [PATCH 4/4] omap2420h4: Fix get_timer() and CONFIG_SYS_HZ

2013-04-03 Thread Jon Hunter
The function get_timer() should return time in ms and CONFIG_SYS_HZ should be set to 1000 by default. Fix both of these items. Signed-off-by: Jon Hunter --- arch/arm/cpu/arm1136/omap24xx/timer.c |8 ++-- include/configs/omap2420h4.h |2 +- 2 files changed, 7 insertions(+), 3

[U-Boot] [PATCH 4/4] omap2420-h4: Fix get_timer() and CONFIG_SYS_HZ

2013-04-03 Thread Jon Hunter
The function get_timer() should return time in ms and CONFIG_SYS_HZ should be set to 1000 by default. Fix both of these items. Signed-off-by: Jon Hunter --- arch/arm/cpu/arm1136/omap24xx/timer.c |8 ++-- include/configs/omap2420h4.h |2 +- 2 files changed, 7 insertions(+), 3

[U-Boot] [PATCH 3/4] omap2420-h4: Add device tree support

2013-04-03 Thread Jon Hunter
Enable device-tree support for the omap2420-h4 board. Signed-off-by: Jon Hunter --- include/configs/omap2420h4.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/omap2420h4.h b/include/configs/omap2420h4.h index cb050ab..e144ae9d 100644 --- a/include/configs/omap2420h4.h ++

[U-Boot] [PATCH 1/4] omap2420-h4: Fix DRAM initialisation

2013-04-03 Thread Jon Hunter
The size of the DRAM for the omap2420-h4 board is getting setup in the dram_init() function. However, for the current u-boot release this is too late and needs to be done in dram_init_banksize(). Therefore, add a dram_init_banksize() function for the omap2420-h4 board and setup the DRAM size there.

[U-Boot] [PATCH 0/4] omap2420-h4: Fix u-boot support for board

2013-04-03 Thread Jon Hunter
Currently, u-boot support for the omap2420-h4 board is broken and u-boot is not booting when program into flash. Fix u-boot support for this board. Jon Hunter (4): omap2420-h4: Fix DRAM initialisation omap2420-h4: Fix booting from NOR flash omap2420-h4: Add device tree support omap2420-h4:

[U-Boot] Setting uboot env vars from OS

2013-04-03 Thread Jason Cipriani
Hi all, I have about 50 Gumstix Overos, each running uboot and: root@overo:~# uname -a Linux overo 3.2.28-rt42+ #6 PREEMPT RT Fri Sep 21 12:23:39 EDT 2012 armv7l GNU/Linux I'm trying to automate installing our software on each one, but this includes setting and saving one uboot environment varia

Re: [U-Boot] Setting uboot env vars from OS

2013-04-03 Thread Jason Cipriani
I found fw_setenv / fw_printenv, however fw_setenv does not seem to work properly on the Gumstix. I have about the same problem as this person: http://lists.denx.de/pipermail/u-boot/2007-July/022640.html Where fw_printenv works fine, but fw_setenv produces: nand_write: Attempt to write not page

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-03 Thread txcotrader
By board is based off of the ppc460sx. I only have one I2C bus. 2007 version has clock signal at 0x50 (DIMM0 I2C) 2013 version has no clock signal at 0x50 My boardconfig.h file has the same values configured. -- View this message in context: http://u-boot.10912.n7.nabble.com/PPC4XX-Custom-

[U-Boot] [PATCH] usb: net: Move software resets to basic_init

2013-04-03 Thread Simon Glass
From: Julius Werner The ASIX driver calls a basic_init() function during get_info(), so that not all initialization tasks need to be redone on every init(). Unfortunately, the most important one is still triggered too often: the driver does a full port and MII reset on every asix_init(), requirin

[U-Boot] [PATCH] mmc: Define a constant for the maximum block size

2013-04-03 Thread Simon Glass
The number 512 appears quite a bit in the mmc code. Add a constant for this so that it can be used here and in other parts of the code (e.g. SPL code which loads from mmc). Signed-off-by: Simon Glass Reviewed-by: Vadim Bendebury --- drivers/mmc/mmc.c | 25 + include/mmc.

[U-Boot] [PATCH] am335x: Enable MMC1 clock

2013-04-03 Thread Tom Rini
We must not assume ROM has enabled the clock for MMC1. Reported-by: Koen Kooi Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/clock_am33xx.c |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv7/am33xx/clock_am33xx.c b/arch/arm/cpu/armv7/am33xx/clock_am33xx.c ind

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

2013-04-03 Thread Simon Glass
Hi Andy, On Sat, Mar 16, 2013 at 1:35 PM, Simon Glass wrote: > Hi Andy, > > On Tue, Feb 12, 2013 at 7:14 PM, Jaehoon Chung > wrote: > > Hi Simon, > > > > It looks good to me. > > > > Acked-by: Jaehoon Chung > > Do you think this will be picked up this time around? > ping? Any thoughts on thi

Re: [U-Boot] [PATCH v11 1/2] Introduced btrfs file-system with btrload command

2013-04-03 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/03/2013 01:30 PM, Adnan Ali wrote: > On 03/04/13 17:50, Tom Rini wrote: >> On Tue, Apr 02, 2013 at 03:17:38PM +0100, Adnan Ali wrote: >> >>> Introduces btrfs file-system to read file from >>> volume/sub-volumes with btrload command. This implem

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-03 Thread Anatolij Gustschin
Hi, On Wed, 3 Apr 2013 10:29:00 -0700 (PDT) txcotrader wrote: > After hooking the DIMM's I2C up to the o-scope, I don't see a clock signal. > The board will boot with a u-boot version from 2007. Have you ever come > across a missing I2C clock? How many I2C busses are actually used on your board

Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation completion

2013-04-03 Thread Gabbasov, Andrew
> From: Eric Nelson [eric.nel...@boundarydevices.com] > Sent: Wednesday, April 03, 2013 17:38 > To: Gabbasov, Andrew > Cc: u-boot@lists.denx.de; Behme, Dirk - Bosch > Subject: Re: [U-Boot] [PATCH] mx6: fsl_esdhc: Fix waiting for DMA operation > completion > > Hi Andrew, > > On 04/02/2013 11:48 P

Re: [U-Boot] [PATCH v11 1/2] Introduced btrfs file-system with btrload command

2013-04-03 Thread Adnan Ali
On 03/04/13 17:50, Tom Rini wrote: On Tue, Apr 02, 2013 at 03:17:38PM +0100, Adnan Ali wrote: Introduces btrfs file-system to read file from volume/sub-volumes with btrload command. This implementation has read-only support. This btrfs implementation is based on syslinux btrfs code, commit 269e

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-03 Thread txcotrader
After hooking the DIMM's I2C up to the o-scope, I don't see a clock signal. The board will boot with a u-boot version from 2007. Have you ever come across a missing I2C clock? -- View this message in context: http://u-boot.10912.n7.nabble.com/PPC4XX-Custom-Board-Failing-to-read-I2C-tp151298p151

Re: [U-Boot] [PATCH 1/4] Tegra: All Tamonten-derived boards use onboard NAND

2013-04-03 Thread Stephen Warren
On 04/03/2013 08:52 AM, Thierry Reding wrote: > Move the nand-controller node to the tegra20-tamonten.dtsi so that it > can be shared between all derived boards. The series, Reviewed-by: Stephen Warren ___ U-Boot mailing list U-Boot@lists.denx.de http:/

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-03 Thread Stefan Roese
On 03.04.2013 18:15, txcotrader wrote: > Thanks Stefan, great suggestion, I failed to copy those configurations into > my original message. > > /*--- > * DDR SDRAM > *--

Re: [U-Boot] [PATCH] biosemu: include header

2013-04-03 Thread Linus Walleij
On Wed, Apr 3, 2013 at 6:02 PM, Tom Rini wrote: > Grr, I missed this discussion, sorry. But I don't feel this falls into > the "no dead code" rule, but does fall into the "lets not make life too > hard for others" rule I have at least. There's at least one board in > u-boot-arm now (ti814x) whi

Re: [U-Boot] [PATCH] spi: mxc_spi: Fix ECSPI reset handling

2013-04-03 Thread Dirk Behme
Am 03.04.2013 11:12, schrieb Stefano Babic: On 21/03/2013 09:03, Dirk Behme wrote: Reviewing the ECSPI reset handling shows two issues: Hi Dirk, agree completely, only a very minor question.. + + reg_ctrl = reg_read(®s->ctrl); As you says, it makes no sense to read back the value

Re: [U-Boot] [PATCH v11 1/2] Introduced btrfs file-system with btrload command

2013-04-03 Thread Tom Rini
On Tue, Apr 02, 2013 at 03:17:38PM +0100, Adnan Ali wrote: > Introduces btrfs file-system to read file from > volume/sub-volumes with btrload command. This > implementation has read-only support. > This btrfs implementation is based on syslinux btrfs > code, commit 269ebc845ebc8b46ef4b0be7fa0005c7

Re: [U-Boot] OMAP (4) boot_params

2013-04-03 Thread Tom Rini
On Wed, Apr 03, 2013 at 05:34:18PM +0200, Albert ARIBAUD wrote: > Hi Michael, > > On Wed, 3 Apr 2013 10:59:23 -0400, Michael Cashwell > wrote: > > > ...Making that: > > > > u32 *boot_params_ptr __attribute__ ((section(".data"))); > > >> > > >> Yes, that was my thinking too. Sure

[U-Boot] Unable to build u-boot for Marvell Aspenite board

2013-04-03 Thread Fabrice Mousset
Hi all, I want to build U-Boot 2013.01.01 for my PXA168 evaluation board, called Aspenite. I have seen that this board is already supported by U-Boot. For the compilation, I use the cross-compiler submitted by Marvell : arm-marvell-linux-gnueabi-gcc 4.2.0. To compile U-Boot, I have used followin

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-03 Thread txcotrader
Thanks Stefan, great suggestion, I failed to copy those configurations into my original message. /*--- * DDR SDRAM *--*/ #if !defined(CONFIG_NAND_U_BOOT) #

Re: [U-Boot] [PATCH] biosemu: include header

2013-04-03 Thread Tom Rini
On Tue, Apr 02, 2013 at 12:32:40PM +0200, Albert ARIBAUD wrote: > Hi Linus, > > On Tue, 2 Apr 2013 12:09:21 +0200, Linus Walleij > wrote: > > > On Tue, Apr 2, 2013 at 10:56 AM, Albert ARIBAUD > > wrote: > > > > > NAK -- no ARM target needs bios emulation, so basing the #define on ARM > > > re

Re: [U-Boot] OMAP (4) boot_params

2013-04-03 Thread Albert ARIBAUD
Hi Michael, On Wed, 3 Apr 2013 10:59:23 -0400, Michael Cashwell wrote: > ...Making that: > > u32 *boot_params_ptr __attribute__ ((section(".data"))); > >> > >> Yes, that was my thinking too. Surely clearing data after code has set > >> it can't be right. > > > > With all due re

Re: [U-Boot] biosemu: include header

2013-04-03 Thread Tom Rini
On Mon, Apr 01, 2013 at 10:14:14PM -, Linus Walleij wrote: > This makes sure we have inline functions such as inb/outb that > are used in these two files by including the arch-specific > header. However the ARM version does not provide the > accessors unless the config symbol __io is also def

Re: [U-Boot] [U-Boot, v2] dts/Makefile: Build the user specified dts

2013-04-03 Thread Tom Rini
On Thu, Feb 28, 2013 at 10:20:18AM -, Jagannadha Sutradharudu Teki wrote: > This patch provides a support to build the user specified dts. > > Signed-off-by: Jagannadha Sutradharudu Teki > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] MAKEALL: Fix case substitution for old bash

2013-04-03 Thread Tom Rini
On Fri, Mar 22, 2013 at 07:37:03AM -, York Sun wrote: > Bash ver 3.x doesn't support the parameter expansion with case > substitution. Use tr instead. > > Signed-off-by: York Sun > Acked-by: Allen Martin Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signat

Re: [U-Boot] env: fix potential stack overflow in environment functions

2013-04-03 Thread Tom Rini
On Fri, Mar 22, 2013 at 11:26:21AM -, Rob Herring wrote: > From: Rob Herring > > Most of the various environment functions create CONFIG_ENV_SIZE buffers on > the stack. At least on ARM and PPC which have 4KB stacks, this can overflow > the stack if we have large environment sizes. So move a

Re: [U-Boot] build: Fix make errors generated when building 'distclean'

2013-04-03 Thread Tom Rini
On Wed, Mar 27, 2013 at 02:34:18PM -, Vadim Bendebury wrote: > It was noticed that when `make distclean' is run, the make process > terminates with error reporting something like: > > rm: cannot remove '/tmp/foobar/': Is a directory > make: *** [clobber] Error 1 > > The problem is that the l

Re: [U-Boot] [U-Boot, V2] README: document the requirements for CONFIG_SYS_HZ

2013-04-03 Thread Tom Rini
On Wed, Mar 27, 2013 at 05:06:41PM -, Stephen Warren wrote: > CONFIG_SYS_HZ must be 1000, and get_timer() must therefore return ms. > Document this. > > README text provided by Tom Rini. > > Signed-off-by: Stephen Warren Applied to u-boot/master, thanks! -- Tom signature.asc Descriptio

Re: [U-Boot] [U-Boot, V2] disk: fix unaligned access in efi partitions

2013-04-03 Thread Tom Rini
On Fri, Mar 29, 2013 at 07:57:10AM -, Marc Dietrich wrote: > start_sect is not aligned to a 4 byte boundary thus causing exceptions > on ARM platforms. Access this field via the get_unaligned_le32 macro. > > Signed-off-by: Marc Dietrich Applied to u-boot/master, thanks! -- Tom signature

Re: [U-Boot] replace last __bss_end__ occurrences with __bss_end

2013-04-03 Thread Tom Rini
On Sat, Mar 30, 2013 at 12:19:53AM -, Albert ARIBAUD wrote: > Simon Glass' commit 3929fb0a141530551b3fce15ee08629f80d5ef2a, > which changed all occurrences of __bss__end__ into __bss_end, > left behind some untouched __bss_end__ occurrences in all 33 > u-boot.lds.debug files, in board/mousse/u

Re: [U-Boot] mmc: don't allow extra cmdline arguments

2013-04-03 Thread Tom Rini
On Mon, Apr 01, 2013 at 11:50:28AM -, Stephen Warren wrote: > From: Stephen Warren > > The "mmc rescan" command takes no arguments. However, executing > "mmc rescan 1" succeeds, leading the user to believe that MMC device 1 > has been rescanned. In fact, the "current" MMC device has been > r

Re: [U-Boot] [PATCH v11 2/2] Enable btrfs support in mx53loco config

2013-04-03 Thread Adnan Ali
Hi On 02/04/13 18:03, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/02/2013 11:52 AM, Robert Nelson wrote: On Tue, Apr 2, 2013 at 10:38 AM, Adnan Ali wrote: On 02/04/13 16:19, Robert Nelson wrote: On Tue, Apr 2, 2013 at 9:17 AM, Adnan Ali wrote: Enable btrfs support i

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Eric Nelson
On 04/03/2013 07:49 AM, Stefano Babic wrote: On 03/04/2013 16:11, Eric Nelson wrote: On 04/03/2013 03:13 AM, Stefano Babic wrote: On 03/04/2013 11:50, Javier Martinez Canillas wrote: Just for curiosity, in which configuration file did you see that? When I had the issue I looked at include/conf

Re: [U-Boot] OMAP (4) boot_params

2013-04-03 Thread Michael Cashwell
On Apr 3, 2013, at 10:36 AM, Albert ARIBAUD wrote: > Hi Michael, > > On Wed, 3 Apr 2013 09:45:19 -0400, Michael Cashwell > wrote: > >> I've never understood why this is useful. [...] > > ... but apparently you managed to do it, thanks. With extra effort that could be better applied to other

[U-Boot] [PATCH 1/4] Tegra: All Tamonten-derived boards use onboard NAND

2013-04-03 Thread Thierry Reding
Move the nand-controller node to the tegra20-tamonten.dtsi so that it can be shared between all derived boards. Signed-off-by: Thierry Reding --- board/avionic-design/dts/tegra20-tamonten.dtsi | 11 +++ board/avionic-design/dts/tegra20-tec.dts | 11 --- 2 files changed, 11

[U-Boot] [PATCH 2/4] Tegra: Medcom-Wide: Enable NAND and boot script support

2013-04-03 Thread Thierry Reding
Boot script support brings Medcom-Wide in line with other Tegra boards. In order to enable booting a Linux kernel with initial ramdisk, also add support for the new FIT image type. Signed-off-by: Thierry Reding --- include/configs/medcom-wide.h | 21 - 1 file changed, 12 inse

[U-Boot] [PATCH 4/4] Tegra: TEC: Enable boot script support

2013-04-03 Thread Thierry Reding
Boot script support brings TEC in line with other Tegra boards. To enable booting a Linux kernel with initial ramdisk, also include support for the new FIT image type. Signed-off-by: Thierry Reding --- include/configs/tec.h | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff -

[U-Boot] [PATCH 3/4] Tegra: Plutux: Enable NAND and boot script support

2013-04-03 Thread Thierry Reding
Boot script support brings Plutux in line with other Tegra boards. In order to enable booting a Linux kernel with initial ramdisk, also add support for the new FIT image type. Signed-off-by: Thierry Reding --- include/configs/plutux.h | 18 +++--- 1 file changed, 11 insertions(+), 7

[U-Boot] [PATCH v3 5/6] omap_gpmc: add support for hw assisted BCH8

2013-04-03 Thread Andreas Bießmann
The kernel states: ---8<--- The OMAP3 GPMC hardware BCH engine computes remainder polynomials, it does not provide automatic error location and correction: this step is implemented using the BCH library. --->8--- And we do so in u-boot. This implementation uses the same layout for BCH8 but it is

[U-Boot] [PATCH v3 4/6] omap_gpmc: change nandecc command

2013-04-03 Thread Andreas Bießmann
With uppcoming BCH support on OMAP devices we need to decide between differnt algorithms when switching the ECC engine. Currently we support 1-bit hammign and 8-bit BCH on HW backend. In order to switch between differnet ECC algorithms we need to change the interface of omap_nand_switch_ecc() als

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Stefano Babic
On 03/04/2013 16:11, Eric Nelson wrote: > On 04/03/2013 03:13 AM, Stefano Babic wrote: >> On 03/04/2013 11:50, Javier Martinez Canillas wrote: >>> Just for curiosity, in which configuration file did you see that? When >>> I had the issue I looked at >>> include/configs/{mx6qsabrelite,mx6_common}.h

[U-Boot] [PATCH] pcm051: Enable DDR PHY dynamic power down bit

2013-04-03 Thread Lars Poeschel
From: Lars Poeschel This is done already for am335x in 59dcf970d11ebff5d9f4bbbde79fda584e9e7ad4 and also applies for pcm051. It powers down the IO receiver when not performing read which helps reducing the overall power consuption in low power states (suspend/standby). Signed-off-by: Lars Poesc

[U-Boot] [PATCH 2/2] OMAP4: Add basic support for OMAP4470/TWL6032

2013-04-03 Thread Lubomir Popov
H/W used for test: TI Blaze/Tablet OMAP4470 Processor Board (750-2173-005) mounted on a custom main board (MMS benvolio4). Fixed bug in vcores_data omap4460_volts struct referencing tps62361 instead of twl6030 for core and mm voltages. Fixed some comments. Signed-off-by: Lubomir Popov --- arc

[U-Boot] Subject: [PATCH 1/2] OMAP4: Add ID for OMAP4470_ES1_0

2013-04-03 Thread Lubomir Popov
Signed-off-by: Lubomir Popov --- arch/arm/include/asm/omap_common.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/omap_common.h b/arch/arm/include/asm/omap_common.h index 091ddb5..f042c10 100644 --- a/arch/arm/include/asm/omap_common.h +++ b/arch/arm/include/asm/

Re: [U-Boot] OMAP (4) boot_params

2013-04-03 Thread Albert ARIBAUD
Hi Michael, On Wed, 3 Apr 2013 09:45:19 -0400, Michael Cashwell wrote: > On Apr 3, 2013, at 1:56 AM, Albert ARIBAUD wrote: > > > (please wrap your line around 70 chars max) > > I've never understood why this is useful. [...] ... but apparently you managed to do it, thanks. > > On Tue, 2 Apr

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Eric Nelson
On 04/03/2013 03:13 AM, Stefano Babic wrote: On 03/04/2013 11:50, Javier Martinez Canillas wrote: Just for curiosity, in which configuration file did you see that? When I had the issue I looked at include/configs/{mx6qsabrelite,mx6_common}.h and board/freescale/mx6qsabrelite/mx6qsabrelite.c but

Re: [U-Boot] [PATCH 1/1] i.MX6: mx6qsabrelite: README: don't pass chip-select to sf probe command

2013-04-03 Thread Eric Nelson
On 04/03/2013 02:25 AM, Stefano Babic wrote: On 25/03/2013 17:13, Javier Martinez Canillas wrote: since commit "c1173bd0: sf command: allow default bus and chip selects" the chip-select and bus arguments for the sf probe command are optional. Hi Javier, Even when passing the chip-select to

Re: [U-Boot] [RFC] command/cache: Add flush_cache command

2013-04-03 Thread Jim Chargin
I apologize for being so late with this question. York Sun freescale.com> writes: > > When we need the copied code/data in the main memory, we can flush the > cache now. It uses the existing function flush_cache. Syntax is > > flush_cache > > The addr and size are given in hexadecimal. Like

[U-Boot] [PATCH V8 9/9] COMMON: MMC: Command to support EMMC booting and to resize EMMC boot partition

2013-04-03 Thread Amar
This patch adds commands to access(open/close) and resize boot partitions on EMMC. Signed-off-by: Amar --- Changes since V1: 1)Combined the common piece of code between 'open' and 'close' operations. Changes since V2: 1)Updation of commit message and resubmition of prope

[U-Boot] [PATCH V8 8/9] SMDK5250: Enable EMMC booting

2013-04-03 Thread Amar
This patch adds support for EMMC booting on SMDK5250. Signed-off-by: Amar --- Changes since V1: 1)Updated spl_boot.c file to maintain irom pointer table instead of using the #define values defined in header file. Changes since V2: 1)Updation of commit message and resubmit

[U-Boot] [PATCH V8 7/9] MMC: APIs to support resize of EMMC boot partition

2013-04-03 Thread Amar
This patch adds APIs to access(open / close) and to resize boot partiton of EMMC. Signed-off-by: Amar --- Changes since V1: New patch. Changes since V2: 1)Updation of commit message and resubmition of proper patch set. Changes since V3: No change. Changes since V4:

[U-Boot] [PATCH V8 6/9] SMDK5250: Initialise and Enable DWMMC, support FDT and non-FDT

2013-04-03 Thread Amar
This patch enables and initialises DWMMC for SMDK5250. Supports both FDT and non-FDT. This patch creates a new file 'exynos5-dt.c' meant for FDT support. exynos5-dt.c: This file shall contain all code which supports FDT. Any addition of FDT support for any module n

[U-Boot] [PATCH 3/5] ARM: vexpress: create A5 specific board config

2013-04-03 Thread Andre Przywara
From: Ryan Harkin This patch creates a new config for the A5 dual core tile that includes the generic config for the Versatile Express platform. The generic config has been modified to provide support for the Extended Memory Map, as used on the A5 core tile. A5 does not support the legacy memor

[U-Boot] [PATCH V8 4/9] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-04-03 Thread Amar
This patch adds FDT support for DWMMC, by reading the DWMMC node data from the device tree and initialising DWMMC channels as per data obtained from the node. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)Updated code to have same signatur

[U-Boot] [PATCH 5/5] ARM: vexpress: enable bootz and hush parser for all VExpress boards

2013-04-03 Thread Andre Przywara
Signed-off-by: Andre Przywara --- include/configs/vexpress_common.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/vexpress_common.h b/include/configs/vexpress_common.h index cd268e3..65d0ce4 100644 --- a/include/configs/vexpress_common.h +++ b/include/configs/vexpress_c

[U-Boot] [PATCH V8 5/9] EXYNOS5: DWMMC: Initialise the local variable to avoid unwanted results.

2013-04-03 Thread Amar
This patch initialises the local variable 'shift' to zero. The uninitialised local variable 'shift' had garbage value and was resulting in unwnated results in the functions exynos5_get_mmc_clk() and exynos4_get_mmc_clk(). Signed-off-by: Amar Acked-by: Simon Glass --- Changes since V1: 1)

[U-Boot] [PATCH V8 3/9] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-04-03 Thread Amar
This patch enumerates dwmci and set auto stop command during dwmci initialisation. EMMC read/write is not happening in current implementation due to improper fifo size computation. Hence modified the fifo size computation to resolve EMMC read write issues. Signed-off-by: Amar --- Changes since V1

[U-Boot] [PATCH 4/5] ARM: vexpress: add support for Versatile Express Cortex-A15-TC2

2013-04-03 Thread Andre Przywara
This adds support for the Cortex-A15-TC2 core tile for the Versatile Express board by ARM. This is mostly a copy of the A5 support file, but will be extended later with A15 specific options. Signed-off-by: Andre Przywara --- boards.cfg | 1 + include/configs/vexpress_ca

[U-Boot] [PATCH 1/5] ARM: vexpress: move files in preparation for adding a new platform

2013-04-03 Thread Andre Przywara
From: Ryan Harkin The current ca9x4_ct_vxp platform contains support for a Versatile Express motherboard with a quad core A9 core tile. This patch is the first stage of making separating the Versatile Express motherboard code and the A9 specific code, before adding support for the dual core A5 c

[U-Boot] [PATCH 2/5] ARM: vexpress: create A9 specific board config

2013-04-03 Thread Andre Przywara
From: Ryan Harkin This patch creates a new config for the A9 quad core tile that includes the generic config for the Versatile Express platform. Signed-off-by: Ryan Harkin Signed-off-by: Andre Przywara --- MAINTAINERS | 2 +- boards.cfg| 2 +- i

[U-Boot] [PATCH V8 2/9] EXYNOS5: FDT: Add DWMMC device node data

2013-04-03 Thread Amar
This patch adds DWMMC device node data for exynos5. This patch also adds binding file for DWMMC device node. Signed-off-by: Vivek Gautam Signed-off-by: Amar Acked-by: Jaehoon Chung Acked-by: Simon Glass --- Changes since V1: 1)Added binding file for DWMMC device node at the location

[U-Boot] [PATCH 0/5] ARM: vexpress: add support for more core tiles

2013-04-03 Thread Andre Przywara
This series adds support for the Cortex-A5 and Cortex-A15 core tiles for the ARM Versatile Express boards. The first three patches have been around for about one and a half years in the Linaro tree now, they refactor the A9 support and add support for A5. I kept the original commits and authors, j

  1   2   >