[U-Boot] [PATCH v3 0/2] Add GPIO driver for BCM2835 SoC

2012-07-31 Thread Vikram Narayanan
Also, add the driver to the raspberrypi default config Cc: Stephen Warren swar...@wwwdotorg.org Cc: Albert Aribaud albert.u.b...@aribaud.net Vikram Narayanan (2): gpio: bcm2835: Add GPIO driver rbpi: Add BCM2835 GPIO driver for raspberry pi Changes from v2: Incorporate further comments

[U-Boot] [PATCH v3 1/2] gpio: bcm2835: Add GPIO driver

2012-07-31 Thread Vikram Narayanan
Driver for BCM2835 SoC. This gives the basic functionality of setting/clearing the output. Signed-off-by: Vikram Narayanan vikram...@gmail.com --- arch/arm/include/asm/arch-bcm2835/gpio.h | 71 drivers/gpio/Makefile|1 +

[U-Boot] [PATCH v3 2/2] rbpi: Add BCM2835 GPIO driver for raspberry pi

2012-07-31 Thread Vikram Narayanan
Add the driver to the default config Signed-off-by: Vikram Narayanan vikram...@gmail.com --- include/configs/rpi_b.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/include/configs/rpi_b.h b/include/configs/rpi_b.h index f547027..d4bbccc 100644 ---

Re: [U-Boot] [PATCH 2/2] tegra: Enable NAND on TEC

2012-07-31 Thread Thierry Reding
On Tue, Jul 31, 2012 at 09:40:54AM -0600, Stephen Warren wrote: On 07/31/2012 12:21 AM, Thierry Reding wrote: This commit enables NAND support on the Tamonten Evaluation Carrier and adds the corresponding device tree nodes. Furthermore, the U-Boot environment can now be stored in NAND.

Re: [U-Boot] [PATCH] tegra: harmony: fix comments for environment config options

2012-07-31 Thread Thierry Reding
On Tue, Jul 31, 2012 at 08:52:34AM -0700, Tom Warren wrote: Stephen/Thierry, -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Tuesday, July 31, 2012 8:47 AM To: Tom Warren Cc: Thierry Reding; U-Boot Mailing List; Stephen Warren Subject: [PATCH]

[U-Boot] [PATCH] mx28evk: Turn on caches

2012-07-31 Thread Fabio Estevam
Turn on data and instruction caches. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/mx28evk.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h index 54d21e6..5f145d1 100644 ---

[U-Boot] mx53loco hangs on 2012.07

2012-07-31 Thread Fabio Estevam
Hi, Just tried 2012.07 on a mx53loco and this is what I got: U-Boot 2012.07 (Jul 31 2012 - 15:21:51) Board: MX53 LOCO I2C: ready DRAM: 1 GiB WARNING: Caches not enabled CPU: Freescale i.MX53 family rev2.0 at 1000 MHz Reset cause: POR MMC: FSL_SDHC: 0, FSL_SDHC: 1 (Hangs here) Have

Re: [U-Boot] mx53loco hangs on 2012.07

2012-07-31 Thread Robert Nelson
On Tue, Jul 31, 2012 at 1:25 PM, Fabio Estevam feste...@gmail.com wrote: Hi, Just tried 2012.07 on a mx53loco and this is what I got: U-Boot 2012.07 (Jul 31 2012 - 15:21:51) Board: MX53 LOCO I2C: ready DRAM: 1 GiB WARNING: Caches not enabled CPU: Freescale i.MX53 family rev2.0 at

[U-Boot] [PATCH 00/11] Support for ST-Ericsson snowball board

2012-07-31 Thread mathieu . poirier
From: Mathieu J. Poirier mathieu.poir...@linaro.org This set adds support for the ST-Ericsson u8500 based snowball board. Doing so it moves u8500-href code around to allow for code reuse between boards. It was sent out during the 12.07 cycle but never received an official ACK. John Rigby (1):

[U-Boot] [PATCH 02/11] u8500: Moving prcmu to cpu directory

2012-07-31 Thread mathieu . poirier
From: Mathieu J. Poirier mathieu.poir...@linaro.org This is to allow the prcmu functions to be used by multiple u8500-based processors. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Signed-off-by: John Rigby john.ri...@linaro.org --- arch/arm/cpu/armv7/u8500/Makefile |2 +-

[U-Boot] [PATCH 03/11] snowball: Adding architecture dependent initialisation

2012-07-31 Thread mathieu . poirier
From: Mathieu J. Poirier mathieu.poir...@linaro.org Enabling timers and clocks in PRCMU and cleaning up mailbox. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Signed-off-by: John Rigby john.ri...@linaro.org --- arch/arm/cpu/armv7/u8500/Makefile |2 +-

[U-Boot] [PATCH 04/11] snowball: Adding CPU clock initialisation

2012-07-31 Thread mathieu . poirier
From: Mathieu J. Poirier mathieu.poir...@linaro.org Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Signed-off-by: John Rigby john.ri...@linaro.org --- arch/arm/cpu/armv7/u8500/clock.c| 34 +++ arch/arm/cpu/armv7/u8500/cpu.c |2 +

[U-Boot] [PATCH 05/11] snowball: Moving to ux500.v2 addess scheme for PRCMU access

2012-07-31 Thread mathieu . poirier
From: Mathieu J. Poirier mathieu.poir...@linaro.org Addresses between ux500.v1 and ux500.v2 have changed slightly, hence mandating a review of the PRCMU access methods. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Signed-off-by: John Rigby john.ri...@linaro.org ---

[U-Boot] [PATCH 07/11] u8500: Moving processor-specific functions to cpu area.

2012-07-31 Thread mathieu . poirier
From: Mathieu J. Poirier mathieu.poir...@linaro.org Functions such as providing power to the MMC device and reading the processor version register should be in the cpu area for access by multiple u8500-based boards. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Signed-off-by: John

[U-Boot] [PATCH 08/11] u8500: Enabling power to MMC device on AB8500 V2

2012-07-31 Thread mathieu . poirier
From: Mathieu J. Poirier mathieu.poir...@linaro.org Register mapping has changed on power control chip between the first and second revision. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Signed-off-by: John Rigby john.ri...@linaro.org --- arch/arm/cpu/armv7/u8500/cpu.c

[U-Boot] [PATCH 10/11] armv7: Adding cpu specific cache managmenent

2012-07-31 Thread mathieu . poirier
From: Mathieu J. Poirier mathieu.poir...@linaro.org Some CPU (i.e u8500) need more cache management before launching the Linux kernel. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Signed-off-by: John Rigby john.ri...@linaro.org --- arch/arm/cpu/armv7/cpu.c |8 1 files

[U-Boot] [PATCH 06/11] snowball: applying power to LAN and GBF controllers

2012-07-31 Thread mathieu . poirier
From: Mathieu J. Poirier mathieu.poir...@linaro.org LAN and GBF need to be powered explicitely, doing so with interface to AB8500 companion chip. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Signed-off-by: John Rigby john.ri...@linaro.org ---

[U-Boot] [PATCH 09/11] u8500: Separating mmc config parameters from driver

2012-07-31 Thread mathieu . poirier
From: John Rigby john.ri...@linaro.org Configuration in vexpress and u8500.v1 is different from what is needed in u8500.v2. As such, card configuration specifics need to reside in the board file rather than the driver. Signed-off-by: John Rigby john.ri...@linaro.org Signed-off-by: Mathieu

[U-Boot] [PATCH 11/11] snowball: Adding board specific cache cleanup routine

2012-07-31 Thread mathieu . poirier
From: Mathieu J. Poirier mathieu.poir...@linaro.org Following ARM's reference manuel for initializing the cache - the kernel won't boot otherwise. Signed-off-by: Mathieu Poirier mathieu.poir...@linaro.org Signed-off-by: John Rigby john.ri...@linaro.org --- arch/arm/cpu/armv7/u8500/cpu.c | 26

[U-Boot] [PATCH] mx53loco: Define CONFIG_BOARD_LATE_INIT

2012-07-31 Thread Fabio Estevam
Define CONFIG_BOARD_LATE_INIT so that the serial console messages can be redirected to the serial port. This is needed because in mx53loco.c we have: #ifdef CONFIG_BOARD_LATE_INIT int board_late_init(void) { setenv(stdout, serial); return 0; } #endif Signed-off-by: Fabio

Re: [U-Boot] mx53loco hangs on 2012.07

2012-07-31 Thread Fabio Estevam
On Tue, Jul 31, 2012 at 3:52 PM, Robert Nelson robertcnel...@gmail.com wrote: On Tue, Jul 31, 2012 at 1:25 PM, Fabio Estevam feste...@gmail.com wrote: Hi, Just tried 2012.07 on a mx53loco and this is what I got: U-Boot 2012.07 (Jul 31 2012 - 15:21:51) Board: MX53 LOCO I2C: ready DRAM:

Re: [U-Boot] [PATCH] mx53loco: Define CONFIG_BOARD_LATE_INIT

2012-07-31 Thread Fabio Estevam
On Tue, Jul 31, 2012 at 4:21 PM, Fabio Estevam fabio.este...@freescale.com wrote: Define CONFIG_BOARD_LATE_INIT so that the serial console messages can be redirected to the serial port. This is needed because in mx53loco.c we have: #ifdef CONFIG_BOARD_LATE_INIT int board_late_init(void) {

Re: [U-Boot] [PATCH v2 2/5] ehci-hcd: Boost transfer speed

2012-07-31 Thread Stefan Herbrechtsmeier
Am 31.07.2012 03:06, schrieb Benoît Thébaudeau: Dear Marek Vasut, On Tue, Jul 31, 2012 at 12:38:54 AM, Marek Vasut wrote: [...] Can you explain where this gain would come from? In both cases, the data in USB transfers would be organized in the same way, and it would be accessed in memory

Re: [U-Boot] early_malloc outline

2012-07-31 Thread Wolfgang Denk
Dear Tomas Hlavacek, In message caeb7qlchvgarx3cpde4tgq01bewozr6anhqnrjp02p6dznn...@mail.gmail.com you wrote: Can/should we use some existing mechanism? Or would it be considered a viable option to choose different beginning address for early heap, use it (in architecture-specific way) and

Re: [U-Boot] Pull request u-boot-blackfin.git (sf branch)

2012-07-31 Thread Wolfgang Denk
Dear Mike Frysinger, In message 1343746406-27916-1-git-send-email-vap...@gentoo.org you wrote: The following changes since commit b98b611502f5e0a85a1f8e15cf46c470cb105614: Merge branch 'next' of git://git.denx.de/u-boot (2012-07-30 20:39:52 +0200) are available in the git repository at:

Re: [U-Boot] [PATCH] mx53loco: Define CONFIG_BOARD_LATE_INIT

2012-07-31 Thread Wolfgang Denk
Dear Fabio Estevam, In message CAOMZO5CBpA4kVC+J6Yp8RwmL-EbLwK1PcYWC_RLX=swwrnq...@mail.gmail.com you wrote: ... -#ifdef CONFIG_BOARD_LATE_INIT int board_late_init(void) { - setenv(stdout, serial); + setenv(preboot, setenv stdout serial\0); NAK. Please never, never ever

Re: [U-Boot] [PATCH] mx53loco: Define CONFIG_BOARD_LATE_INIT

2012-07-31 Thread Wolfgang Denk
Dear Fabio Estevam, In message 1343762513-5574-1-git-send-email-fabio.este...@freescale.com you wrote: Define CONFIG_BOARD_LATE_INIT so that the serial console messages can be redirected to the serial port. This is needed because in mx53loco.c we have: #ifdef CONFIG_BOARD_LATE_INIT int

Re: [U-Boot] [PATCH v2 2/5] ehci-hcd: Boost transfer speed

2012-07-31 Thread Stefan Herbrechtsmeier
Dear Benoît Am 29.07.2012 02:48, schrieb Benoît Thébaudeau: Sorry for the delay. I'm very busy, and there is much to tell on this topic. No problem. Hopefully I don't make you to much extra trouble. BTW, the 15x speed gain that I gave in my patch description was compared to an older version

Re: [U-Boot] Pull request - microblaze

2012-07-31 Thread Wolfgang Denk
Dear Michal Simek, In message 50176ca2.6000...@monstr.eu you wrote: Please pull these patches to your repository. There will be one simple merge conflict around SPI makefile which is easy to resolve. Maybe it's easy for you - to me it was extra effort. And I don;t even know if I did it

Re: [U-Boot] [i2c] Pull request

2012-07-31 Thread Wolfgang Denk
Dear Heiko Schocher, In message 5017901a.2060...@denx.de you wrote: Hello Wolfgang, The following changes since commit b98b611502f5e0a85a1f8e15cf46c470cb105614: Merge branch 'next' of git://git.denx.de/u-boot (2012-07-30 20:39:52 +0200) are available in the git repository at:

[U-Boot] multiple definition of `reloc_dst'

2012-07-31 Thread Sabri Altunbas
Hello, i get this link error if i build u-boot ... ... ... sh4-unknown-linux-uclibc-ld -e 0x8FF0 --defsym reloc_dst=0x8FF0 -T u-boot.lds --gc-sections -Bstatic -Ttext 0x8FF0 $UNDEF_SYM arch/sh/cpu/sh4/start.o --start-group BR/BR_libsh4.a

[U-Boot] multiple definition of `reloc_dst'

2012-07-31 Thread Sabri Altunbas
Hello, i get this link error if i build u-boot ... ... ... sh4-unknown-linux-uclibc-ld -e 0x8FF0 --defsym reloc_dst=0x8FF0 -T u-boot.lds --gc-sections -Bstatic -Ttext 0x8FF0 $UNDEF_SYM arch/sh/cpu/sh4/start.o --start-group BR/BR_libsh4.a

Re: [U-Boot] [PATCH] lsxl: support power switch

2012-07-31 Thread Michael Walle
Am Dienstag 31 Juli 2012, 13:12:19 schrieb Prafulla Wadaskar: -Original Message- From: Michael Walle [mailto:mich...@walle.cc] Sent: 31 July 2012 16:22 To: Prafulla Wadaskar Cc: Michael Walle; u-boot@lists.denx.de Subject: RE: [PATCH] lsxl: support power switch On Tue,

Re: [U-Boot] [PATCH] SMDK6400: Add MAINTAINERS entry

2012-07-31 Thread Wolfgang Denk
Dear Zhong Hongbo, In message 1342787305-3083-1-git-send-email-bocui...@gmail.com you wrote: From: Zhong Hongbo bocui...@gmail.com Signed-off-by: Zhong Hongbo bocui...@gmail.com --- MAINTAINERS |5 - 1 files changed, 4 insertions(+), 1 deletions(-) Applied, thanks. Best regards,

Re: [U-Boot] [PATCH 1/7] powerpc/82xx: remove unused define for mgcoge3ne

2012-07-31 Thread Wolfgang Denk
Dear Gerlando Falauto, In message 1343402200-32020-2-git-send-email-gerlando.fala...@keymile.com you wrote: From: Holger Brunck holger.bru...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com --- include/configs/mgcoge3ne.h |3 --- 1 files changed, 0 insertions(+), 3

Re: [U-Boot] [PATCH 2/7] powerpc/82xx: move mgcoge, mgcoge3ne defines to ease subsequent merge

2012-07-31 Thread Wolfgang Denk
Dear Gerlando Falauto, In message 1343402200-32020-3-git-send-email-gerlando.fala...@keymile.com you wrote: Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com --- include/configs/mgcoge.h| 34 +- include/configs/mgcoge3ne.h | 34

Re: [U-Boot] [PATCH 3/7] powerpc/82xx: merge mgcoge.h and mgcoge3ne.h into km82xx.h

2012-07-31 Thread Wolfgang Denk
Dear Gerlando Falauto, In message 1343402200-32020-4-git-send-email-gerlando.fala...@keymile.com you wrote: Since mgcoge and mgcoge3ne are the only km82xx boards, there is no need to keep them as separate .h config files. Therefore, make mgcoge3ne.h and mgcoge.h converge into a single

Re: [U-Boot] [PATCH 4/7] powerpc/82xx: move km/km82xx-common.h within km82xx.h

2012-07-31 Thread Wolfgang Denk
Dear Gerlando Falauto, In message 1343402200-32020-5-git-send-email-gerlando.fala...@keymile.com you wrote: The only file including km82xx-common.h is km82xx.h. So there is no need to have it as a separate file. Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com ---

Re: [U-Boot] [PATCH 6/7] powerpc/82xx: use SDRAM detection for mgcoge2ne

2012-07-31 Thread Wolfgang Denk
Dear Gerlando Falauto, In message 1343402200-32020-7-git-send-email-gerlando.fala...@keymile.com you wrote: mgcoge2ne was an intermediate step towards mgcoge3ne. One difference is the smaller SDRAM on mgcoge2ne (128MB). To support both boards with the same u-boot we use here the SDRAM

Re: [U-Boot] [PATCH 5/7] powerpc/82xx: add SDRAM detection for km82xx

2012-07-31 Thread Wolfgang Denk
Dear Gerlando Falauto, In message 1343402200-32020-6-git-send-email-gerlando.fala...@keymile.com you wrote: This patch adds SDRAM detection feature to km82xx boards. To enable this feature, define CONFIG_SYS_SDRAM_LIST as the initializer for an array of struct sdram_conf_s. These structs

Re: [U-Boot] [PATCH 7/7] powerpc/82xx: adapt SDRAM settings for mgcoge3ne

2012-07-31 Thread Wolfgang Denk
Dear Gerlando Falauto, In message 1343402200-32020-8-git-send-email-gerlando.fala...@keymile.com you wrote: The HW guys suggested to change these two values. And these values are now identical to the values we use on mgcoge. PSDMR_WRC was set to 1C as it should lead to better performance.

Re: [U-Boot] [PATCH] mx53loco: Define CONFIG_BOARD_LATE_INIT

2012-07-31 Thread stefano babic
Am 31/07/2012 21:21, schrieb Fabio Estevam: Define CONFIG_BOARD_LATE_INIT so that the serial console messages can be redirected to the serial port. This is needed because in mx53loco.c we have: #ifdef CONFIG_BOARD_LATE_INIT int board_late_init(void) { setenv(stdout, serial);

Re: [U-Boot] [PATCH] mx53loco: Define CONFIG_BOARD_LATE_INIT

2012-07-31 Thread Wolfgang Denk
Dear Stefano, In message 501842d4.6060...@denx.de you wrote: #ifdef CONFIG_BOARD_LATE_INIT int board_late_init(void) { setenv(stdout, serial); return 0; } #endif Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Hi Fabio,

Re: [U-Boot] [PATCH] mx53loco: Define CONFIG_BOARD_LATE_INIT

2012-07-31 Thread stefano babic
Am 31/07/2012 21:56, schrieb Wolfgang Denk: Dear Fabio Estevam, Hi Fabio, In message CAOMZO5CBpA4kVC+J6Yp8RwmL-EbLwK1PcYWC_RLX=swwrnq...@mail.gmail.com you wrote: ... -#ifdef CONFIG_BOARD_LATE_INIT int board_late_init(void) { -setenv(stdout, serial); +setenv(preboot,

Re: [U-Boot] [PATCH 01/17] omap3/omap4/omap5/am33xx: Use a common running_from_sdram function

2012-07-31 Thread Tom Rini
On 07/31/2012 08:46 AM, R, Sricharan wrote: Correct. DRAM_ADDR_SPACE_END should be 0x for OMAP5. OK, I will just drop this. Thanks, Sricharan On Tue, Jul 31, 2012 at 9:12 PM, Tom Rini tr...@ti.com wrote: On 07/31/2012 08:27 AM, R, Sricharan wrote: Hi Tom, On Tue, Jul 31,

[U-Boot] [PATCH 1/5] am33xx: Enable gpio0 clock

2012-07-31 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/am33xx/clock.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv7/am33xx/clock.c b/arch/arm/cpu/armv7/am33xx/clock.c index c93a8ab..1071f92 100644 --- a/arch/arm/cpu/armv7/am33xx/clock.c +++

[U-Boot] [PATCH 2/5] am33xx: Remove board/ti/am335x/evm.c

2012-07-31 Thread Tom Rini
The intention has always been (and boards are to support) an i2c EEPROM that will identify what hardware they are, allowing a single binary to support multiple boards. As such, remove the 'evm.c' file as there is nothing EVM centric in it currently, only SoC peripheral configuration.

[U-Boot] [PATCH 0/5]: Further update am33xx support

2012-07-31 Thread Tom Rini
Hey all, The following series depends on both Ilya's cpsw work (the parts I've said I would accept as-is) as well as the previous series I posted. This series does a few things. The main part is support for the next TI EVM (AM335x StarterKit EVM) which features DDR3 and re-works the board.c

[U-Boot] [PATCH 4/5] am33xx evm: Add CONFIG_CMD_EEPROM and related

2012-07-31 Thread Tom Rini
am33xx boards have at least one eeprom and in the case of beaglebones with capes, more. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/am33xx/board.c | 13 - include/configs/am335x_evm.h |4 2 files changed, 8 insertions(+), 9 deletions(-) diff --git

[U-Boot] [PATCH 3/5] am33xx: Add support for TI AM335x StarterKit EVM

2012-07-31 Thread Tom Rini
- Board requires gpio0 #7 to be set to power DDR3. - Board uses DDR3, add a way to determine which DDR type to call config_ddr with. - Both of the above require filling in the header structure early, move it into the data section. Signed-off-by: Tom Rini tr...@ti.com ---

[U-Boot] [PATCH 5/5] am33xx: Rework pinmux functions

2012-07-31 Thread Tom Rini
- Move definition of the EEPROM contents to asm/arch/sys_proto.h - Make some defines a little less generic now. - Pinmux must be done by done by SPL now. - Create 3 pinmux functions, uart0, i2c0 and board. - Add pinmux specific to Starter Kit EVM for MMC now. Signed-off-by: Tom Rini

Re: [U-Boot] [PATCH] mx28evk: Turn on caches

2012-07-31 Thread stefano babic
Am 31/07/2012 20:10, schrieb Fabio Estevam: Turn on data and instruction caches. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/mx28evk.h |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/include/configs/mx28evk.h

Re: [U-Boot] [PATCH] mx53loco: Define CONFIG_BOARD_LATE_INIT

2012-07-31 Thread stefano babic
Am 31/07/2012 22:50, schrieb Wolfgang Denk: Dear Stefano, In message 501842d4.6060...@denx.de you wrote: #ifdef CONFIG_BOARD_LATE_INIT int board_late_init(void) { setenv(stdout, serial); return 0; } #endif Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Hi

Re: [U-Boot] [PATCH v3 1/2] gpio: bcm2835: Add GPIO driver

2012-07-31 Thread Vikram Narayanan
On 7/31/2012 11:18 PM, Vikram Narayanan wrote: Driver for BCM2835 SoC. This gives the basic functionality of setting/clearing the output. Signed-off-by: Vikram Narayananvikram...@gmail.com --- arch/arm/include/asm/arch-bcm2835/gpio.h | 71 drivers/gpio/Makefile

Re: [U-Boot] [PATCH v2 2/5] ehci-hcd: Boost transfer speed

2012-07-31 Thread Marek Vasut
Dear Stefan Herbrechtsmeier, [...] What do you mean by partial USB transfers? As seen from EHCI users like the MSC driver (usb_storage.c), USB transfers either succeed or fail, but they cannot be segmented. Segmented -- like multiple transfers being issues with small payload?

Re: [U-Boot] early_malloc outline

2012-07-31 Thread Graeme Russ
Hi Thomas, On 08/01/2012 01:30 AM, Tomas Hlavacek wrote: Hello all! In u-boot-dm mailinglist we had a discussion about implementation of early_malloc (not only) for U-Boot Driver Model. The intention is to have a simple malloc() function in the early stage of init before relocation and

[U-Boot] [PATCH V2 01/13] README: fix references to config_cmd_default.h

2012-07-31 Thread Stephen Warren
All usage of config_cmd_default.h uses for the include statement. Update the README to do the same, rather than using . Signed-off-by: Stephen Warren swar...@wwwdotorg.org --- v2: New patch --- README |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README b/README

[U-Boot] [PATCH V2 00/13] Basic Raspberyr Pi support

2012-07-31 Thread Stephen Warren
This series adds basic support for the Raspberry Pi ARM board. v2: * Add README config_cmd_default.h documentation fix. * Use not for include of config_cmd_default.h. * Squash together 3 patches related to enabling booting a Linux kernel. * Minor rpi_b.h order changes in order to drop later

[U-Boot] [PATCH V2 06/13] ARM: rpi_b: define CONFIG_MACH_TYPE

2012-07-31 Thread Stephen Warren
Use MACH_TYPE_BCM2708 as the Linux machine type for the Raspberry Pi. The Raspberry Pi actually uses a BCM2835. However, the 2835 this is apparently a SKU in a series for which the BCM2708 is the first or perhaps primary version, such that the 2708 name has historically been used for this

[U-Boot] [PATCH V2 05/13] ARM: rpi_b: enable CONFIG_ARCH_CPU_INIT for icache

2012-07-31 Thread Stephen Warren
This causes arch_cpu_init() to be called, which enables the icache. Extracted from work by Oleksandr Tymoshenko go...@bluezbox.com. Signed-off-by: Stephen Warren swar...@wwwdotorg.org --- include/configs/rpi_b.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/rpi_b.h

[U-Boot] [PATCH V2 02/13] ARM: add basic support for the Broadcom BCM2835 SoC

2012-07-31 Thread Stephen Warren
This SoC is used in the Raspberry Pi, for example. Initial support is enough to boot to a serial console, and execute a minimal set of U-Boot commands. No drivers are implemented. For more details, see http://www.broadcom.com/products/BCM2835 or

[U-Boot] [PATCH V2 03/13] ARM: bcm2835: add Raspberry Pi model B board

2012-07-31 Thread Stephen Warren
The Raspberry Pi model B uses the BCM2835 SoC, has 256MB of RAM, contains an SMSC 9512 USB LAN/Hub chip, and various IO connectors. For more details, see http://www.raspberrypi.org/. Signed-off-by: Stephen Warren swar...@wwwdotorg.org --- v2: Re-order defines slightly to drop a later cleanup

[U-Boot] [PATCH V2 04/13] ARM: arm1176: enable instruction cache in arch_cpu_init()

2012-07-31 Thread Stephen Warren
Note that this affects all users of the ARM1176 CPU that enable CONFIG_ARCH_CPU_INIT, not just the BCM2835 SoC, potentially such as tnetv107x. Cc: Cyril Chemparathy cy...@ti.com Signed-off-by: Stephen Warren swar...@wwwdotorg.org --- arch/arm/cpu/arm1176/cpu.c |7 +++ 1 file changed, 7

[U-Boot] [PATCH V2 07/13] ARM: rpi_b: include config_cmd_default.h

2012-07-31 Thread Stephen Warren
This enables a more typical default set of commands. Remove explicit enables for commands already in the default list. Signed-off-by: Stephen Warren swar...@wwwdotorg.org --- v2: Use not for #include of config_cmd_default.h --- include/configs/rpi_b.h |8 ++-- 1 file changed, 6

[U-Boot] [PATCH V2 08/13] ARM: rpi_b: enable booting the Linux kernel

2012-07-31 Thread Stephen Warren
CONFIG_OF_LIBFDT allows bootm/bootz to pass a device tree to the kernel. Set bi_boot_params to define where ATAGs will be written (extracted from work by Oleksandr Tymoshenko go...@bluezbox.com). Add ATAG support for bootm/bootz. Newer kernels use device tree, so this isn't that useful. However,

[U-Boot] [PATCH V2 09/13] ARM: rpi_b: drop RAM size to 128M

2012-07-31 Thread Stephen Warren
The board really has 256M. However, the VC (VideoCore co-processor) shares the RAM, and uses a configurable portion at the top. We tell U-Boot that a smaller amount of RAM is present in order to avoid stomping on the area the VC uses. Extracted from work by Oleksandr Tymoshenko

[U-Boot] [PATCH V2 10/13] ARM: rpi_b: move stack to top of RAM

2012-07-31 Thread Stephen Warren
Move the top-of-stack from 32k to near the top of RAM. This leaves the bottom of RAM free for ATAGs, or U-Boot scripts to use as they see fit. Extracted from work by Oleksandr Tymoshenko go...@bluezbox.com. Signed-off-by: Stephen Warren swar...@wwwdotorg.org --- include/configs/rpi_b.h |3

[U-Boot] [PATCH V2 11/13] ARM: bcm2835: implement reset using watchdog

2012-07-31 Thread Stephen Warren
Signed-off-by: Stephen Warren swar...@wwwdotorg.org --- arch/arm/cpu/arm1176/bcm2835/reset.c | 18 +++ arch/arm/include/asm/arch-bcm2835/wdog.h | 37 ++ 2 files changed, 50 insertions(+), 5 deletions(-) create mode 100644

[U-Boot] [PATCH V2 12/13] gpio: bcm2835: Add GPIO driver

2012-07-31 Thread Stephen Warren
From: Vikram Narayanan vikram...@gmail.com Driver for BCM2835 SoC. This gives the basic functionality of setting/clearing the output. swarren: * Fix BCM2835_GPIO_BASE; 0x7e20 is the address on the VC CPU, not the ARM CPU. * Fix BCM2835_GPIO_ALT* values to match datasheet. * Invert

[U-Boot] [PATCH V2 13/13] rbpi: Add BCM2835 GPIO driver for raspberry pi

2012-07-31 Thread Stephen Warren
From: Vikram Narayanan vikram...@gmail.com Add the driver to the default config swarren: Enable CONFIG_CMD_GPIO, so you can actually use the driver. Signed-off-by: Vikram Narayanan vikram...@gmail.com Signed-off-by: Stephen Warren swar...@wwwdotorg.org --- v2: New patch ---

Re: [U-Boot] [PATCH v3 0/2] Add GPIO driver for BCM2835 SoC

2012-07-31 Thread Stephen Warren
On 07/31/2012 11:48 AM, Vikram Narayanan wrote: Also, add the driver to the raspberrypi default config Hmm. I tested this on real HW, and there are quite a few issues. I just re-posted my base Raspberry Pi series and rolled these two patches onto the end, including the fixes I found needed

Re: [U-Boot] [PATCH v3 1/2] gpio: bcm2835: Add GPIO driver

2012-07-31 Thread Stephen Warren
On 07/31/2012 08:31 PM, Vikram Narayanan wrote: On 7/31/2012 11:18 PM, Vikram Narayanan wrote: Driver for BCM2835 SoC. This gives the basic functionality of setting/clearing the output. diff --git a/arch/arm/include/asm/arch-bcm2835/gpio.h +#define BCM2835_GPIO_COUNT53 GPIO count

[U-Boot] sh4 sti7109 for mb442 motherboards

2012-07-31 Thread Андрей Борисович
Hello Help make a u-boot for sti7109 for mb442 motherboards and Linux to boot in 32bit mode. (now loaded in 29bit modeBoard: STb7100-Reference (MB442) [29-bit mode]) Thanks in advance. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v2 0/4] DaVinci DA8xx: tidy up clock IDs

2012-07-31 Thread Prabhakar Lad
Hi Laurence, On Tuesday 31 July 2012 03:00 PM, Laurence Withers wrote: This small series of patches tidies up the clock IDs that are used to interact with the PLL controllers on the DaVinci DA8xx processors. It more clearly defines the structure and meaning of the IDs and untangles some

<    1   2