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
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 +
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
---
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.
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]
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
---
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
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
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):
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 +-
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 +-
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 +
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
---
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
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
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
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
---
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
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
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
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:
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)
{
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
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
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:
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
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
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
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
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:
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
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
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,
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,
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
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
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
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
---
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
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
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.
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);
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,
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,
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,
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
+++
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.
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
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
- 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
---
- 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
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
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
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
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?
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
---
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
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
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
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
101 - 174 of 174 matches
Mail list logo