[U-Boot] ARM Cortext 9 AMP mode support

2012-04-09 Thread Tushar K
Hi, I would like to know whether u-boot has support for AMP mode for ARM Cortex A9. If yes can you provide me the details on how to boot multiple OS using u-boot? If not, can I know what changes I need to do in u-boot to boot multiple OS on multiple CPUs of ARM core? Thanks & Regards, Tushar

Re: [U-Boot] [PATCH 0/4] USB: Fix EHCI to work with data cache enabled

2012-04-09 Thread puneets
Dear Marek, After applying these 4 patches I don't see any alignment spew and it detects the mass storage device perfectly though I see a warning "EHCI timed out on TD - token=0x80008c80" consistently in each "usb reset". Thanx & Regards, Puneet On Monday 09 April 2012 08:42 AM, Marek Vasut

Re: [U-Boot] [PATCH 0/4] USB: Fix EHCI to work with data cache enabled

2012-04-09 Thread Marek Vasut
Dear puneets, > Dear Marek, > After applying these 4 patches I don't see any alignment spew and it > detects the > mass storage device perfectly though I see a warning "EHCI timed out on > TD - token=0x80008c80" > consistently in each "usb reset". That's something else (unrelated to this patchset

Re: [U-Boot] [PATCH v4 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2012-04-09 Thread Dirk Behme
Dear Simon, On 15.10.2011 17:48, Simon Glass wrote: This new option allows U-Boot to embed a binary device tree into its image to allow run-time control of peripherals. This device tree is for U-Boot's own use and is not necessarily the same one as is passed to the kernel. The device tree compi

[U-Boot] [PATCH v3 0/3] mmc: support sdhci instead of s5p_mmc

2012-04-09 Thread Jaehoon Chung
This patchset is supported the sdhci controller for Samsung-SoC. In mmc driver, already implemented the generic sdhci. There is no reason that didn't use sdhci.c. So, use the sdhci instead of s5p_mmc. Changelog-v3: - Add the quirks for broken R1b response. - Add the timeout to prev

[U-Boot] [PATCH v3 1/3] mmc: sdhci: add the quirk for broken R1b response

2012-04-09 Thread Jaehoon Chung
When response type is R1b, mask value is added the SDHCI_INT_DAT_END. but in while(), didn't check that flag. So sdhci controller didn't work fine. CMD6 didn't always complete. So add the quirks for broken r1b response and add the timeout value to prevent the infinite loop. Signed-off-by: Jaehoon

[U-Boot] [PATCH v3 3/3] ARM: SAMSUNG: support sdhci controller

2012-04-09 Thread Jaehoon Chung
To support sdhci controller, remove the CONFIG_S5P_MMC.. Instead, use the CONFIG_S5P_SDHCI/CONFIG_SDHCI. Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park --- include/configs/origen.h|3 ++- include/configs/s5p_goni.h |3 ++- include/configs/s5pc210_universa

[U-Boot] [PATCH v3 2/3] mmc: use sdhci.c intead of s5p_mmc.c

2012-04-09 Thread Jaehoon Chung
In driver mmc, generic sdhci code is implemented. s5p_mmc file is dupulicated. we are good that use the generic sdhci. This patch supported the sdhci for Samsung-SoC. Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park --- arch/arm/include/asm/arch-exynos/mmc.h | 93 +++--- arch/arm/

Re: [U-Boot] [PATCH v4] AT91SAM9*: Change kernel address in dataflash to match u-boot's size

2012-04-09 Thread Wolfgang Denk
Dear Andreas, In message <4f82835f.2030...@googlemail.com> you wrote: > > > Where are these odd sizes like > > > >> #define CONFIG_ENV_SIZE 0x4200 > > > > coming from? Has a size of 0x4200 any special maning on these > > systems? > > please read Ulfs mail: > http://thread.gmane.org

Re: [U-Boot] [PATCH] FAT: Properly align buffers to allow cache operations

2012-04-09 Thread Dirk Behme
On 09.04.2012 08:45, Marek Vasut wrote: Align the FAT FS buffers so DMA on various systems can directly pick them. Just fyi: http://lists.denx.de/pipermail/u-boot/2012-March/119311.html http://lists.denx.de/pipermail/u-boot/2012-March/119309.html Best regards Dirk Signed-off-by: Marek Vas

Re: [U-Boot] [PATCH] FAT: Properly align buffers to allow cache operations

2012-04-09 Thread Marek Vasut
Dear Dirk Behme, > On 09.04.2012 08:45, Marek Vasut wrote: > > Align the FAT FS buffers so DMA on various systems can directly pick > > them. > > Just fyi: > > http://lists.denx.de/pipermail/u-boot/2012-March/119311.html > > http://lists.denx.de/pipermail/u-boot/2012-March/119309.html Heh, nic

Re: [U-Boot] [PATCH] SMDK5250: fix compiler warning

2012-04-09 Thread Minkyu Kang
On 4 April 2012 13:28, Minkyu Kang wrote: > this patch fixed following warning. > tzpc_init.c: In function 'tzpc_init': > tzpc_init.c:35: warning: assignment from incompatible pointer type > > Signed-off-by: Minkyu Kang > Cc: Chander Kashyap > --- >  board/samsung/smdk5250/tzpc_init.c |    2 +-

Re: [U-Boot] [PATCH V2] USB:gadget:designware USB OTG implementation

2012-04-09 Thread Amit Virdi
Dear Marek, [...] +static void dwc_otg_read_packet(struct dwc_ep *ep, u16 bytes) +{ + u32 i; + int word_count = (bytes + 3) / 4; + u32 *fifo = dev_if->data_fifo[0]; + u32 *data_buff = (u32 *) ep->xfer_buff; + u32 unaligned; + /* + * This requires reading data from t

Re: [U-Boot] [PATCH V2] USB:gadget:designware USB OTG implementation

2012-04-09 Thread Marek Vasut
Dear Amit Virdi, > Dear Marek, > > [...] > > >> +static void dwc_otg_read_packet(struct dwc_ep *ep, u16 bytes) > >> +{ > >> + u32 i; > >> + int word_count = (bytes + 3) / 4; > >> + u32 *fifo = dev_if->data_fifo[0]; > >> + u32 *data_buff = (u32 *) ep->xfer_buff; > >> + u32 una

[U-Boot] ARM Cortex 9 AMP mode support

2012-04-09 Thread Tushar K
Hi, I would like to know whether u-boot has support for AMP mode for ARM Cortex A9. If yes can you provide me the details on how to boot multiple OS using u-boot? If not, can I know what changes I need to do in u-boot to boot multiple OS on multiple CPUs of ARM core? Thanks & Regards, Tushar

Re: [U-Boot] [PATCH v3 2/3] mmc: use sdhci.c intead of s5p_mmc.c

2012-04-09 Thread Jaehoon Chung
On 04/09/2012 05:49 PM, Lei Wen wrote: > Hi Jaehoon, > >> -Original Message- >> From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] >> Sent: Monday, April 09, 2012 3:58 PM >> To: u-boot@lists.denx.de; Andy Fleming; mk7.k...@samsung.com; Kyungmin Park; >> Lei Wen >> Subject: [PATCH v3 2/3]

Re: [U-Boot] [PATCH] FAT: Properly align buffers to allow cache operations

2012-04-09 Thread Dirk Behme
On 09.04.2012 10:26, Marek Vasut wrote: Dear Dirk Behme, On 09.04.2012 08:45, Marek Vasut wrote: Align the FAT FS buffers so DMA on various systems can directly pick them. Just fyi: http://lists.denx.de/pipermail/u-boot/2012-March/119311.html http://lists.denx.de/pipermail/u-boot/2012-Marc

Re: [U-Boot] [PATCH] FAT: Properly align buffers to allow cache operations

2012-04-09 Thread Marek Vasut
Dear Dirk Behme, > On 09.04.2012 10:26, Marek Vasut wrote: > > Dear Dirk Behme, > > > >> On 09.04.2012 08:45, Marek Vasut wrote: > >>> Align the FAT FS buffers so DMA on various systems can directly pick > >>> them. > >> > >> Just fyi: > >> > >> http://lists.denx.de/pipermail/u-boot/2012-March/

Re: [U-Boot] [PATCH V3] i.MX28: Allow coexistence of PIO and DMA mode for SD/MMC

2012-04-09 Thread Stefano Babic
On 05/04/2012 15:30, Marek Vasut wrote: > This SD DMA function of i.MX28 is still apparently too experimental to be > enabled by default in 2012.04 release. Enable this feature only if the user > plans to tinker with DCache or explicitly enables it. > > Signed-off-by: Marek Vasut > Cc: Stefano Ba

Re: [U-Boot] [PATCH 1/2] ARM926EJS: Make asm routines volatile in cache ops

2012-04-09 Thread Stefano Babic
On 06/04/2012 15:25, Marek Vasut wrote: > We certainly don't want the compiler to reorganise the code for dcache > flushing. > > Signed-off-by: Marek Vasut > Cc: Stefano Babic > Cc: Albert ARIBAUD > --- > arch/arm/cpu/arm926ejs/cache.c |2 +- > 1 files changed, 1 insertions(+), 1 deletion

[U-Boot] [PATCH] MX35: mx35pdk: wrong board revision

2012-04-09 Thread Stefano Babic
The board revision is detected accessing to the pmic, that is not available before relocation (I2C). This generates the following error: CPU: Freescale i.MX35 rev 2.0 at 532 MHz. Reset cause: WDOG = 7 is invalid. Should be less than 0 Board: MX35 PDK 1.0 The revision number is wrong, as a defa

[U-Boot] [PATCH] ARM1136: MX35: Make asm routines volatile in cache ops

2012-04-09 Thread Stefano Babic
As well as pushed for ARM926EJS, we certainly don't want the compiler to reorganise the code for dcache flushing Fix checkpatch warnings as well. Signed-off-by: Stefano Babic CC: Marek Vasut CC: Albert Aribaud --- arch/arm/cpu/arm1136/cpu.c | 22 -- 1 files changed, 12 in

[U-Boot] [PATCH V2] MX35: mx35pdk: wrong board revision

2012-04-09 Thread Stefano Babic
The board revision is detected accessing to the pmic, that is not available before relocation (I2C). This generates the following error: CPU: Freescale i.MX35 rev 2.0 at 532 MHz. Reset cause: WDOG = 7 is invalid. Should be less than 0 Board: MX35 PDK 1.0 The revision number is wrong, as a defa

Re: [U-Boot] [PATCH V2] MX35: mx35pdk: wrong board revision

2012-04-09 Thread Fabio Estevam
On 4/9/12, Stefano Babic wrote: > The board revision is detected accessing to the pmic, > that is not available before relocation (I2C). > This generates the following error: > > CPU: Freescale i.MX35 rev 2.0 at 532 MHz. > Reset cause: WDOG > = 7 is invalid. Should be less than 0 > Board: MX35

Re: [U-Boot] [PATCH] i.MX28: Lower the amount of blocks transfered in one DMA cycle

2012-04-09 Thread Fabio Estevam
Hi Marek, On 4/9/12, Marek Vasut wrote: > Some MMC cards, like my ancient 32.0MB SanDisk RS-MMC cards had issue if > b_max > was set to 0x40 and DMA was enabled. Lower this value to 0x20, which allows > these cards to work too. I know this is off topic here, but I am wondering whether the mxs mm

Re: [U-Boot] [PATCH] FAT: Properly align buffers to allow cache operations

2012-04-09 Thread Eric Nelson
On 04/09/2012 01:26 AM, Marek Vasut wrote: Dear Dirk Behme, On 09.04.2012 08:45, Marek Vasut wrote: Align the FAT FS buffers so DMA on various systems can directly pick them. Just fyi: http://lists.denx.de/pipermail/u-boot/2012-March/119311.html http://lists.denx.de/pipermail/u-boot/2012-M

[U-Boot] Standalone Binary

2012-04-09 Thread Viral Sachde
Dear all, I'm try to execute hello_world standalone after booting u-boot. In examples/Makefile, I found load address where I'm loading hello_world.bin (via tftp). ifeq ($(ARCH),arm) LOAD_ADDR = 0xc10 endif OK6410 # bootelf c10 ## No elf image at address 0x0c10 OK6410 # go c10

Re: [U-Boot] [PATCH 1/2 V3] DMA: Split the APBH DMA init into block and channel init

2012-04-09 Thread Fabio Estevam
On Mon, Apr 9, 2012 at 12:34 AM, Marek Vasut wrote: > This fixes the issue where mxs_dma_init() was called either twice or never, > without introducing any new init hooks. > > The idea is to allow each and every device using the APBH DMA block to > configure and request only the channels it uses,

Re: [U-Boot] [PATCH 1/3] imx: Add GPIO_TO_PORT macro

2012-04-09 Thread Vikram Narayanan
Hello Dirk, On 4/9/2012 11:03 AM, Dirk Behme wrote: Dear Vikram , On 06.04.2012 10:56, Stefano Babic wrote: On 04/04/2012 18:05, Vikram Narayanan wrote: imx: Add GPIO_TO_PORT macro Signed-off-by: Vikram Narayanan Hi, --- arch/arm/include/asm/arch-mx5/gpio.h | 2 ++ arch/arm/include/asm/ar

Re: [U-Boot] [PATCH] LMB: Fix undefined lmb_reserve() on non-lmb platforms

2012-04-09 Thread Wolfgang Denk
Dear Marek Vasut, In message <1333288786-10296-1-git-send-email-ma...@denx.de> you wrote: > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: Mike Frysinger > Cc: Stephen Warren > Cc: Tom Warren > Cc: Graeme Russ > --- > common/cmd_bootm.c |1 + > 1 files changed, 1 insertions(+), 0

Re: [U-Boot] Pull request: u-boot-x86/master

2012-04-09 Thread Wolfgang Denk
Dear Graeme Russ, In message <4f783f94.5080...@gmail.com> you wrote: > Hi Wolfgang, > > The following changes since commit c008b6f6dd6b8965e9a7654ffbce75bb9ff7a3b5: > > Prepare v2012.04-rc1 (2012-03-31 00:13:05 +0200) > > are available in the git repository at: > git://git.denx.de/u-boot-x8

Re: [U-Boot] Pull request: u-boot-nios/master

2012-04-09 Thread Wolfgang Denk
Dear Thomas Chou, In message <4f799aae.2010...@wytron.com.tw> you wrote: > > So please pull the u-boot-nios/master. Applied, thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenze

Re: [U-Boot] Pull request: u-boot-onenand

2012-04-09 Thread Wolfgang Denk
Dear Lukasz Majewski, In message <20120404171512.145ea7e0@lmajewski.digital.local> you wrote: > Hi Wolfgang, > > Please pull following commits: > > The following changes since commit > c008b6f6dd6b8965e9a7654ffbce75bb9ff7a3b5: > > Prepare v2012.04-rc1 (2012-03-31 00:13:05 +0200) > > are avai

Re: [U-Boot] Pull request: u-boot-net

2012-04-09 Thread Wolfgang Denk
Dear Joe Hershberger, In message you wrote: > Hi Wolfgang, > > Please pull following commits: > > The following changes since commit c008b6f6dd6b8965e9a7654ffbce75bb9ff7a3b5: > Wolfgang Denk (1): > Prepare v2012.04-rc1 > > are available in the git repository at: > > git://git.den

Re: [U-Boot] [PULL] u-boot-staging/marek.va...@gmail.com :: FOR u-boot/master

2012-04-09 Thread Wolfgang Denk
Dear Marek Vasut, In message <201204060454.56108.ma...@denx.de> you wrote: ... > The following changes since commit c008b6f6dd6b8965e9a7654ffbce75bb9ff7a3b5: > > Prepare v2012.04-rc1 (2012-03-31 00:13:05 +0200) > > are available in the git repository at: > > git://git.denx.de/u-boot-staging

Re: [U-Boot] [PULL] u-boot-staging/ma...@denx.de :: FOR u-boot/-next

2012-04-09 Thread Wolfgang Denk
Dear Marek Vasut, In message <201204060455.17359.ma...@denx.de> you wrote: > The following changes since commit c008b6f6dd6b8965e9a7654ffbce75bb9ff7a3b5: > > Prepare v2012.04-rc1 (2012-03-31 00:13:05 +0200) > > are available in the git repository at: > > git://git.denx.de/u-boot-staging.git

Re: [U-Boot] [PATCH 1/3] imx: Add GPIO_TO_PORT macro

2012-04-09 Thread Vikram Narayanan
Hi, On 4/6/2012 2:26 PM, Stefano Babic wrote: On 04/04/2012 18:05, Vikram Narayanan wrote: imx: Add GPIO_TO_PORT macro Signed-off-by: Vikram Narayanan Hi, --- arch/arm/include/asm/arch-mx5/gpio.h |2 ++ arch/arm/include/asm/arch-mx6/gpio.h |2 ++ 2 files changed, 4 insertions(+

Re: [U-Boot] [PATCH] davinci/spi: allow usage of other chip selects and buses

2012-04-09 Thread Tom Rini
On Sun, Apr 08, 2012 at 05:22:52PM -0400, J??r??me Carretero wrote: > Use the spi_slave bus and cs attributes, reduce C2T/T2C delays, > allow overriding of spi_cs_is_valid(). > > As it is, this patch breaks the configuration files for DaVinci boards > that only use SPI1. > > Signed-off-by: J??r?

Re: [U-Boot] Standalone Binary

2012-04-09 Thread Wolfgang Denk
Dear Viral Sachde, In message you wrote: > > I'm try to execute hello_world standalone after booting u-boot. > > In examples/Makefile, I found load address where I'm loading > hello_world.bin (via tftp). Load address != entry point address. > Can any one suggest me if I'm wrong in any proce

Re: [U-Boot] [PULL] u-boot-staging/ma...@denx.de :: FOR u-boot/-next

2012-04-09 Thread Marek Vasut
Dear Wolfgang Denk, > Dear Marek Vasut, > > In message <201204060455.17359.ma...@denx.de> you wrote: > > The following changes since commit c008b6f6dd6b8965e9a7654ffbce75bb9ff7a3b5: > > Prepare v2012.04-rc1 (2012-03-31 00:13:05 +0200) > > > > are available in the git repository at: > > git:/

Re: [U-Boot] [PATCH] i.MX28: Lower the amount of blocks transfered in one DMA cycle

2012-04-09 Thread Marek Vasut
Dear Fabio Estevam, > Hi Marek, > > On 4/9/12, Marek Vasut wrote: > > Some MMC cards, like my ancient 32.0MB SanDisk RS-MMC cards had issue if > > b_max > > was set to 0x40 and DMA was enabled. Lower this value to 0x20, which > > allows these cards to work too. > > I know this is off topic here

Re: [U-Boot] [PULL] u-boot-staging/marek.va...@gmail.com :: FOR u-boot/master

2012-04-09 Thread Wolfgang Denk
Dear Marek Vasut, In message <201204060454.56108.ma...@denx.de> you wrote: ... > The following changes since commit c008b6f6dd6b8965e9a7654ffbce75bb9ff7a3b5: > > Prepare v2012.04-rc1 (2012-03-31 00:13:05 +0200) > > are available in the git repository at: > > git://git.denx.de/u-boot-staging

Re: [U-Boot] Standalone Binary

2012-04-09 Thread Viral Sachde
On Mon, Apr 9, 2012 at 11:32 PM, Wolfgang Denk wrote: > Dear Viral Sachde, > > In message > you > wrote: >> >> I'm try to execute hello_world standalone after booting u-boot. >> >> In examples/Makefile, I found load address where I'm loading >> hello_world.bin (via tftp). > > Load address != en

Re: [U-Boot] Standalone Binary

2012-04-09 Thread Wolfgang Denk
Dear Viral Sachde, In message you wrote: > > I forgot to mention but I did tried -nm too as below: > > arm-linux-nm -n hello_world > 0c10 T hello_world What is the memory map on your system? Maybe you provide a bit more information - like which processor and board we are talking about? A

[U-Boot] ld fails with .bss / .rel.dyn overlap for 2011.12

2012-04-09 Thread Joey Oravec
This email is to report a problem building u-boot 2011.12 with a gcc 4.3.2 toolchain. I've added support locally for a marvell 78xx0 based board. It's using arm926ejs and I have not modified the *.lds linker script. Case 1: With gcc 4.3.2 provided by marvell, the build fails with this error: a

Re: [U-Boot] [PATCH v3 04/23] i2c: Add TPS6586X driver

2012-04-09 Thread Stephen Warren
On 04/02/2012 05:18 PM, Simon Glass wrote: > This power management chip supports battery charging and a large number > of power supplies. This initial driver only provides the ability to adjust > the two synchronous buck converters SM0 and SM1 in a stepwise manner. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v3 06/23] tegra: Move ap20.h header into arch location

2012-04-09 Thread Stephen Warren
On 04/02/2012 05:18 PM, Simon Glass wrote: > We want to include this from board code, so move the header into > an easily-accessible location. > > Signed-off-by: Simon Glass > diff --git a/arch/arm/cpu/armv7/tegra2/board.c > b/arch/arm/cpu/armv7/tegra2/board.c > +#include That seems unrelate

Re: [U-Boot] [PATCH v3 06/23] tegra: Move ap20.h header into arch location

2012-04-09 Thread Stephen Warren
On 04/02/2012 05:18 PM, Simon Glass wrote: > We want to include this from board code, so move the header into > an easily-accessible location. > diff --git a/arch/arm/cpu/armv7/tegra2/ap20.c > b/arch/arm/cpu/armv7/tegra2/ap20.c > -#include "ap20.h" > #include > #include > +#include BTW, wh

Re: [U-Boot] [PATCH v3 10/23] tegra: Add tegra_get_chip_type() to detect SKU

2012-04-09 Thread Stephen Warren
On 04/02/2012 05:18 PM, Simon Glass wrote: > We want to know which type of chip we are running on - the Tegra > family has several SKUs. This can be determined by reading a > fuse register, so add this function to ap20. > > Signed-off-by: Simon Glass > Acked-by: Stephen Warren > --- > Changes in

Re: [U-Boot] ld fails with .bss / .rel.dyn overlap for 2011.12

2012-04-09 Thread Wolfgang Denk
Dear Joey Oravec, In message <4f834e09.3010...@drewtech.com> you wrote: > This email is to report a problem building u-boot 2011.12 with a gcc > 4.3.2 toolchain. I've added support locally for a marvell 78xx0 based > board. It's using arm926ejs and I have not modified the *.lds linker script. >

Re: [U-Boot] [PATCH v3 06/23] tegra: Move ap20.h header into arch location

2012-04-09 Thread Simon Glass
Hi Stephen, On Mon, Apr 9, 2012 at 2:06 PM, Stephen Warren wrote: > On 04/02/2012 05:18 PM, Simon Glass wrote: >> We want to include this from board code, so move the header into >> an easily-accessible location. > >> diff --git a/arch/arm/cpu/armv7/tegra2/ap20.c >> b/arch/arm/cpu/armv7/tegra2/a

Re: [U-Boot] [PATCH v3 04/23] i2c: Add TPS6586X driver

2012-04-09 Thread Simon Glass
Hi Stephen, On Mon, Apr 9, 2012 at 2:01 PM, Stephen Warren wrote: > On 04/02/2012 05:18 PM, Simon Glass wrote: >> This power management chip supports battery charging and a large number >> of power supplies. This initial driver only provides the ability to adjust >> the two synchronous buck conve

Re: [U-Boot] [PATCH v4 19/23] tegra: Add EMC settings for Seaboard

2012-04-09 Thread Stephen Warren
On 04/05/2012 03:55 PM, Simon Glass wrote: > From: Jimmy Zhang > > Set Seaboard to optimal memory settings based on the SOC in use (T20 or T25). > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Move EMC tables to device tree > - Removed check for nominal voltage (not needed as it is do

Re: [U-Boot] [PATCH v4 22/23] tegra: fdt: Add EMC data for Tegra2 Seaboard

2012-04-09 Thread Stephen Warren
On 04/05/2012 03:55 PM, Simon Glass wrote: > This adds timings for T20 and T25 Seaboards, using the bindings found here: > > http://patchwork.ozlabs.org/patch/132928/ > > We supply both full speed options for normal running, and half speed options > for testing / development. > > Signed-off-by:

Re: [U-Boot] [PATCH v3 15/23] tegra: Add warmboot implementation

2012-04-09 Thread Stephen Warren
On 04/02/2012 05:18 PM, Simon Glass wrote: > From: Yen Lin > > Add code to set up the warm boot area in the Tegra CPU ready for a > resume after suspend. > > Signed-off-by: Simon Glass > Acked-by: Stephen Warren > +static enum fuse_operating_mode fuse_get_operation_mode(void) > +{ > + u32

Re: [U-Boot] [PATCH v4 19/23] tegra: Add EMC settings for Seaboard

2012-04-09 Thread Simon Glass
+Olof Hi Stephen, On Mon, Apr 9, 2012 at 2:27 PM, Stephen Warren wrote: > On 04/05/2012 03:55 PM, Simon Glass wrote: >> From: Jimmy Zhang >> >> Set Seaboard to optimal memory settings based on the SOC in use (T20 or T25). >> >> Signed-off-by: Simon Glass >> --- >> Changes in v2: >> - Move EMC

Re: [U-Boot] [PATCH 3/3] net/tsec: Don't tell the link status if used with netconsole

2012-04-09 Thread Joe Hershberger
On Sun, Apr 8, 2012 at 3:26 AM, Mike Frysinger wrote: > On Wednesday 04 April 2012 11:27:44 Joe Hershberger wrote: >> On Tue, Apr 3, 2012 at 3:54 PM, Sebastian Andrzej Siewior wrote: >> > On 04/03/2012 10:42 PM, Mike Frysinger wrote: >> >> On Friday 23 March 2012 16:11:19 Sebastian Andrzej Siewior

Re: [U-Boot] ld fails with .bss / .rel.dyn overlap for 2011.12

2012-04-09 Thread Joey Oravec
On 4/9/2012 5:12 PM, Wolfgang Denk wrote: Dear Joey Oravec, In message<4f834e09.3010...@drewtech.com> you wrote: This email is to report a problem building u-boot 2011.12 with a gcc 4.3.2 toolchain. I've added support locally for a marvell 78xx0 based board. It's using arm926ejs and I have not

Re: [U-Boot] [PATCH v3 06/23] tegra: Move ap20.h header into arch location

2012-04-09 Thread Tom Warren
Simon/Stephen, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Monday, April 09, 2012 2:24 PM > To: Stephen Warren > Cc: U-Boot Mailing List; Tom Warren > Subject: Re: [PATCH v3 06/23] tegra: Move ap20.h header into arch location > >

Re: [U-Boot] [PATCH v3 10/23] tegra: Add tegra_get_chip_type() to detect SKU

2012-04-09 Thread Simon Glass
Hi Stephen, On Mon, Apr 9, 2012 at 2:09 PM, Stephen Warren wrote: > On 04/02/2012 05:18 PM, Simon Glass wrote: >> We want to know which type of chip we are running on - the Tegra >> family has several SKUs. This can be determined by reading a >> fuse register, so add this function to ap20. >> >>

Re: [U-Boot] [PATCH v3 06/23] tegra: Move ap20.h header into arch location

2012-04-09 Thread Simon Glass
Hi Tom, On Mon, Apr 9, 2012 at 2:50 PM, Tom Warren wrote: > Simon/Stephen, > >> -Original Message- >> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass >> Sent: Monday, April 09, 2012 2:24 PM >> To: Stephen Warren >> Cc: U-Boot Mailing List; Tom Warren >> Subject: Re

Re: [U-Boot] [PATCH v4 22/23] tegra: fdt: Add EMC data for Tegra2 Seaboard

2012-04-09 Thread Simon Glass
Hi Stephen, On Mon, Apr 9, 2012 at 2:30 PM, Stephen Warren wrote: > On 04/05/2012 03:55 PM, Simon Glass wrote: >> This adds timings for T20 and T25 Seaboards, using the bindings found here: >> >> http://patchwork.ozlabs.org/patch/132928/ >> >> We supply both full speed options for normal running,

Re: [U-Boot] [PATCH v3 0/23] tegra: warmboot (suspend / resume) support

2012-04-09 Thread Stephen Warren
On 04/02/2012 05:18 PM, Simon Glass wrote: > This series adds support for warm boot, allowing the device to suspend > and resume. U-Boot sets up some 'warm boot' code in a special area such > that the SOC can find it on a resume. This code is responsible for > setting up memory and clocked and then

Re: [U-Boot] [PATCH v3 06/23] tegra: Move ap20.h header into arch location

2012-04-09 Thread Stephen Warren
On 04/09/2012 03:24 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Apr 9, 2012 at 2:06 PM, Stephen Warren wrote: >> On 04/02/2012 05:18 PM, Simon Glass wrote: >>> We want to include this from board code, so move the header into >>> an easily-accessible location. >> >>> diff --git a/arch/arm/cpu

Re: [U-Boot] [PATCH v3 04/23] i2c: Add TPS6586X driver

2012-04-09 Thread Stephen Warren
On 04/09/2012 03:25 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Apr 9, 2012 at 2:01 PM, Stephen Warren wrote: >> On 04/02/2012 05:18 PM, Simon Glass wrote: >>> This power management chip supports battery charging and a large number >>> of power supplies. This initial driver only provides the

Re: [U-Boot] [PATCH v4 19/23] tegra: Add EMC settings for Seaboard

2012-04-09 Thread Stephen Warren
On 04/09/2012 03:40 PM, Simon Glass wrote: > +Olof > > Hi Stephen, > > On Mon, Apr 9, 2012 at 2:27 PM, Stephen Warren wrote: >> On 04/05/2012 03:55 PM, Simon Glass wrote: >>> From: Jimmy Zhang >>> >>> Set Seaboard to optimal memory settings based on the SOC in use (T20 or >>> T25). >>> >>> Sig

Re: [U-Boot] [PATCH v4 19/23] tegra: Add EMC settings for Seaboard

2012-04-09 Thread Olof Johansson
On Mon, Apr 9, 2012 at 2:59 PM, Stephen Warren wrote: > On 04/09/2012 03:40 PM, Simon Glass wrote: >> +Olof >> >> Hi Stephen, >> >> On Mon, Apr 9, 2012 at 2:27 PM, Stephen Warren wrote: >>> On 04/05/2012 03:55 PM, Simon Glass wrote: From: Jimmy Zhang Set Seaboard to optimal memory

Re: [U-Boot] [PATCH v3 0/23] tegra: warmboot (suspend / resume) support

2012-04-09 Thread Tom Warren
Stephen, > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Monday, April 09, 2012 2:54 PM > To: Simon Glass; Tom Warren > Cc: U-Boot Mailing List > Subject: Re: [PATCH v3 0/23] tegra: warmboot (suspend / resume) support > > On 04/02/2012 05:18 PM, Simon Gl

Re: [U-Boot] [PATCH v3 0/23] tegra: warmboot (suspend / resume) support

2012-04-09 Thread Stephen Warren
On 04/09/2012 04:05 PM, Tom Warren wrote: > From: Stephen Warren wrote at Monday, April 09, 2012 2:54 PM: ... >> Note: >> >> Neither board appears to be able to actually boot a kernel any more, failing >> with the following error: >> >> = >> Starting kernel ... >> >> Uncompressing Linux

Re: [U-Boot] [PATCH 1/3] imx: Add GPIO_TO_PORT macro

2012-04-09 Thread stefano babic
Am 09/04/2012 18:09, schrieb Vikram Narayanan: > Hi, > Hi, > > Yes. You are right. > So, instead of defining all the headers this way, > > #if defined(CONFIG_MX53) || defined(CONFIG_MX51) > #include > #elif defined(CONFIG_MX6) > #include > #endif > . etc We have not this code - I canno

Re: [U-Boot] [PATCH v3 04/23] i2c: Add TPS6586X driver

2012-04-09 Thread Simon Glass
+Jimmy, who wrote the original pmu code Hi Stephen, On Mon, Apr 9, 2012 at 2:57 PM, Stephen Warren wrote: > On 04/09/2012 03:25 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Apr 9, 2012 at 2:01 PM, Stephen Warren wrote: >>> On 04/02/2012 05:18 PM, Simon Glass wrote: This power manage

Re: [U-Boot] [PATCH v4 19/23] tegra: Add EMC settings for Seaboard

2012-04-09 Thread Simon Glass
Hi Stephen, On Mon, Apr 9, 2012 at 3:03 PM, Olof Johansson wrote: > On Mon, Apr 9, 2012 at 2:59 PM, Stephen Warren wrote: >> On 04/09/2012 03:40 PM, Simon Glass wrote: >>> +Olof >>> >>> Hi Stephen, >>> >>> On Mon, Apr 9, 2012 at 2:27 PM, Stephen Warren >>> wrote: On 04/05/2012 03:55 PM, S

[U-Boot] [PATCH 1/4] gunzip: rename z{alloc, free} to gz{alloc, free}

2012-04-09 Thread Mike Frysinger
This allows us to add a proper zalloc() func (one that does a zeroing alloc), and removes duplicate prototypes. Signed-off-by: Mike Frysinger --- fs/cramfs/uncompress.c |7 ++- include/u-boot/zlib.h |3 +++ lib/gunzip.c | 11 --- 3 files changed, 9 insertions(+),

[U-Boot] [PATCH 4/4] lin_gadget: use common linux/compat.h

2012-04-09 Thread Mike Frysinger
Merge our duplicate definitions with the common header. Signed-off-by: Mike Frysinger --- include/linux/compat.h |3 +++ include/usb/lin_gadget_compat.h | 15 ++- 2 files changed, 5 insertions(+), 13 deletions(-) diff --git a/include/linux/compat.h b/include/linux/com

[U-Boot] [PATCH 2/4] lin_gadget: use common mdelay

2012-04-09 Thread Mike Frysinger
No need to provide our own mdelay() macro when we have a func for it. Signed-off-by: Mike Frysinger --- include/usb/lin_gadget_compat.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/usb/lin_gadget_compat.h b/include/usb/lin_gadget_compat.h index fce3be7..1b937e

[U-Boot] [PATCH 3/4] linux/compat.h: rename from linux/mtd/compat.h

2012-04-09 Thread Mike Frysinger
This lets us use it in more places than just mtd code. Signed-off-by: Mike Frysinger --- board/samsung/smdkc100/onenand.c|2 +- common/cmd_onenand.c|2 +- common/env_onenand.c|2 +- drivers/mtd/mtdconcat.c |2 +- drivers/mtd/mtdcore

[U-Boot] [PATCH v4 1/4] mmc: sdhci: add the quirk for broken r1b response

2012-04-09 Thread Jaehoon Chung
When response type is R1b, mask value is added the SDHCI_INT_DAT_END. but in while(), didn't check that flag. So sdhci controller didn't work fine. CMD6 didn't always complete. So add the quirks for broken r1b response and add the timeout value to prevent the infinite loop. Signed-off-by: Jaehoon

[U-Boot] [PATCH v4 0/4] mmc: support sdhci instead of s5p_mmc

2012-04-09 Thread Jaehoon Chung
This patchset is supported the sdhci controller for Samsung-SoC. In mmc driver, already implemented the generic sdhci. There is no reason that didn't use sdhci.c. So, use the sdhci instead of s5p_mmc. Changelog-v4: - seperate the device driver and SoC patch. Changelog-v3: - Add th

[U-Boot] [PATCH v4 2/4] mmc: add the quirk to use the sdhci for samsung-soc

2012-04-09 Thread Jaehoon Chung
To support the Samsung-SoC, added the basically functions. Samsung-SoC didn't used the SDHCI_CTRL_HISPD. And added set_control_reg callback for s3c64xx. Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park --- drivers/mmc/sdhci.c | 12 include/sdhci.h |6 ++ 2 fi

[U-Boot] [PATCH v4 3/4] mmc: support the sdhci instead of s5p_mmc for samsung-soc

2012-04-09 Thread Jaehoon Chung
In driver mmc, generic s5p_sdhci code is implemented. s5p_mmc file is dupulicated. we are good that use the generic sdhci. This patch supported the sdhci for Samsung-SoC. Signed-off-by: Jaehoon Chung --- arch/arm/include/asm/arch-exynos/mmc.h | 93 +++--- arch/arm/include/asm/arch-s5pc1xx/m

[U-Boot] [PATCH v4 4/4] ARM: SAMSUNG: support sdhci controller

2012-04-09 Thread Jaehoon Chung
To support sdhci controller, remove the CONFIG_S5P_MMC.. Instead, use the CONFIG_S5P_SDHCI/CONFIG_SDHCI. Signed-off-by: Jaehoon Chung Signed-off-by: Kyungmin Park --- include/configs/origen.h|3 ++- include/configs/s5p_goni.h |3 ++- include/configs/s5pc210_universa

Re: [U-Boot] [PATCH 1/3] imx: Add GPIO_TO_PORT macro

2012-04-09 Thread Vikram Narayanan
Hi Stefano, On 4/10/2012 4:01 AM, stefano babic wrote: Am 09/04/2012 18:09, schrieb Vikram Narayanan: Hi, Hi, Yes. You are right. So, instead of defining all the headers this way, #if defined(CONFIG_MX53) || defined(CONFIG_MX51) #include #elif defined(CONFIG_MX6) #include #endif . et

Re: [U-Boot] [PATCH v4 19/23] tegra: Add EMC settings for Seaboard

2012-04-09 Thread Stephen Warren
On 04/09/2012 05:07 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Apr 9, 2012 at 3:03 PM, Olof Johansson wrote: >> On Mon, Apr 9, 2012 at 2:59 PM, Stephen Warren wrote: >>> On 04/09/2012 03:40 PM, Simon Glass wrote: +Olof Hi Stephen, On Mon, Apr 9, 2012 at 2:27 PM, St

Re: [U-Boot] [PATCH] FAT: Properly align buffers to allow cache operations

2012-04-09 Thread Mike Frysinger
On Monday 09 April 2012 02:45:03 Marek Vasut wrote: > @@ -765,9 +767,6 @@ > > -__attribute__ ((__aligned__ (__alignof__ (dir_entry > -__u8 do_fat_read_block[MAX_CLUSTSIZE]; > - > > @@ -788,6 +787,7 @@ do_fat_read (const char *filename, void *buffer, > > int rootdir_size = 0; > int

Re: [U-Boot] [PATCH 0/6] add zip command support for uboot

2012-04-09 Thread Mike Frysinger
On Tuesday 03 April 2012 05:31:09 Lei Wen wrote: > Hi Mike, > > On Tue, Apr 3, 2012 at 3:17 AM, Mike Frysinger wrote: > > On Tue, Mar 27, 2012 at 04:04, Lei Wen wrote: > >> On Sun, Mar 25, 2012 at 11:53 PM, wrote: > >>> From: Lei Wen > >>> > >>> This patch set add zip command support for ubo

Re: [U-Boot] fw_setenv writes to bootdelay but not ethaddr

2012-04-09 Thread Mike Frysinger
On Sunday 08 April 2012 18:16:51 Bishop, Mark wrote: > > -Original Message- > > From: Mike Frysinger [mailto:vap...@gentoo.org] > > Sent: Sunday, April 08, 2012 5:32 PM > > To: Bishop, Mark > > Cc: u-boot@lists.denx.de > > Subject: Re: [U-Boot] fw_setenv writes to bootdelay but not ethaddr

Re: [U-Boot] [PATCH 0/6] add zip command support for uboot

2012-04-09 Thread Lei Wen
Hi Mike, On Tue, Apr 10, 2012 at 12:37 PM, Mike Frysinger wrote: > On Tuesday 03 April 2012 05:31:09 Lei Wen wrote: >> Hi Mike, >> >> On Tue, Apr 3, 2012 at 3:17 AM, Mike Frysinger wrote: >> > On Tue, Mar 27, 2012 at 04:04, Lei Wen wrote: >> >> On Sun, Mar 25, 2012 at 11:53 PM,   wrote: >> >>>

Re: [U-Boot] [PATCH] FAT: Properly align buffers to allow cache operations

2012-04-09 Thread Marek Vasut
Dear Mike Frysinger, > On Monday 09 April 2012 02:45:03 Marek Vasut wrote: > > @@ -765,9 +767,6 @@ > > > > -__attribute__ ((__aligned__ (__alignof__ (dir_entry > > -__u8 do_fat_read_block[MAX_CLUSTSIZE]; > > - > > > > @@ -788,6 +787,7 @@ do_fat_read (const char *filename, void *buffer, > >

[U-Boot] procedure to down load u-boot to RAM

2012-04-09 Thread apple pie
Hi Wolfgang, I have a number of u-boot development questions that I would like to raise to you for answers: (1) Is it possible to install u-boot in a Windows XP environment? If it is, please tell me the steps to follow. Are they the same as those cut out for Linux? (2) Is it possible to use 'c

Re: [U-Boot] [PATCH v3 13/23] tegra: Add PMU to manage power supplies

2012-04-09 Thread jimmzhang
On Mon, 2012-04-02 at 16:18 -0700, Simon Glass wrote: > From: Jimmy Zhang > > Power supplies must be adjusted in line with clock frequency. This code > provides a simple routine to set the voltage to allow operation at maximum > frequency. > > - Split PMU code into separate TPS6586X driver > S

Re: [U-Boot] [PATCH v3 12/23] tegra: Add EMC support for optimal memory timings

2012-04-09 Thread jimmzhang
On Mon, 2012-04-02 at 16:18 -0700, Simon Glass wrote: > From: Jimmy Zhang > > Add support for setting up the memory controller parameters. Boards > can set up an appropriate table in the device tree. > Signed-off-by: Jimmy Zhang > Signed-off-by: Simon Glass > --- -

Re: [U-Boot] [PATCH V2] MX35: mx35pdk: wrong board revision

2012-04-09 Thread Stefano Babic
On 09/04/2012 14:56, Fabio Estevam wrote: > On 4/9/12, Stefano Babic wrote: >> The board revision is detected accessing to the pmic, >> that is not available before relocation (I2C). >> This generates the following error: >> >> CPU: Freescale i.MX35 rev 2.0 at 532 MHz. >> Reset cause: WDOG >> =