[U-Boot] [PATCH] lib: time: add weak timer_init() function

2013-12-19 Thread Darwin Rambo
If timer_init() is made a weak stub function, then it allows us to remove several empty timer_init functions for those boards that already have a timer initialized when u-boot starts. Architectures that use the timer framework may also remove the need for timer.c. Signed-off-by: Darwin Rambo

[U-Boot] [PATCH] mmc: Minor cleanup of sdhci.c

2013-12-19 Thread Darwin Rambo
Fixup prints to show where the print is done from, and a few minor formatting/grammar issues. Signed-off-by: Darwin Rambo --- drivers/mmc/sdhci.c | 32 +++- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c

[U-Boot] [PATCH] lib: fix return codes when CONFIG_SYS_VSNPRINTF is enabled

2013-12-19 Thread Darwin Rambo
. Fix this issue by setting pointer 'str' back to the location of the '\0'. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae --- lib/vsprintf.c |1 + 1 file changed, 1 insertion(+) diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 82e5c13..60874da 100644 --- a/lib/

Re: [U-Boot] [PATCH] mmc: Minor cleanup of sdhci.c

2013-12-29 Thread Darwin Rambo
> -Original Message- > From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] > Sent: Wednesday, December 25, 2013 11:32 PM > To: Darwin Rambo; u-boot@lists.denx.de > Cc: Pantelis Antoniou > Subject: Re: [U-Boot] [PATCH] mmc: Minor cleanup of sdhci.c > > Hi, Darwin.

Re: [U-Boot] how to get u-boot code with arm64: core support

2014-01-23 Thread Darwin Rambo
On 14-01-23 07:58 AM, Detlev Zundel wrote: Hi Bhupesh, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of drambo Sent: Thursday, January 23, 2014 12:32 AM To: u-boot@lists.denx.de Subject: Re: [U-Boot] how to get u-boot code with a

[U-Boot] [PATCH 4/6] i2c: kona: Add Kona I2C driver

2014-01-27 Thread Darwin Rambo
Add support for the Kona I2C controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/i2c/Makefile |1 + drivers/i2c/kona_i2c.c | 730 2 files changed, 731

[U-Boot] [PATCH 6/6] board: bcm28155_ap: Add board files

2014-01-27 Thread Darwin Rambo
Add support for the bcm28155_ap reference board. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- board/broadcom/bcm28155_ap/Makefile |7 ++ board/broadcom/bcm28155_ap/bcm28155_ap.c | 99 boards.cfg

[U-Boot] [PATCH 1/6] arch: kona: Initial commit of kona-common architecture code

2014-01-27 Thread Darwin Rambo
The Kona architecture is present on a number of Broadcom mobile SoCs including the bcm281xx family of chips. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- arch/arm/cpu/armv7/Makefile|1 + arch/arm/cpu/armv7/kona-common/Makefile

[U-Boot] [PATCH 0/6] Introducing the Broadcom bcm281xx Architecture

2014-01-27 Thread Darwin Rambo
u-boot-arm custodian tree. Darwin Rambo (6): arch: kona: Initial commit of kona-common architecture code arch: bcm281xx: Initial commit of bcm281xx architecture code gpio: kona: Add Kona gpio driver i2c: kona: Add Kona I2C driver mmc: kona: Add Kona mmc driver board: bcm28155_ap: Add

[U-Boot] [PATCH 3/6] gpio: kona: Add Kona gpio driver

2014-01-27 Thread Darwin Rambo
Add support for the Kona GPIO controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- drivers/gpio/Makefile|1 + drivers/gpio/kona_gpio.c | 143

[U-Boot] [PATCH 2/6] arch: bcm281xx: Initial commit of bcm281xx architecture code

2014-01-27 Thread Darwin Rambo
Add bcm281xx architecture support code including a clock framework and chip reset. Define register block base addresses for the bcm281xx architecture and create an empty gpio header file required when CONFIG_CMD_GPIO is set. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim

[U-Boot] [PATCH 5/6] mmc: kona: Add Kona mmc driver

2014-01-27 Thread Darwin Rambo
Add support for the Kona SDHCI found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/mmc/Makefile |1 + drivers/mmc/kona_sdhci.c | 127 ++ 2 files changed, 128 insertions

Re: [U-Boot] [PATCH 2/6] arch: bcm281xx: Initial commit of bcm281xx architecture code

2014-01-30 Thread Darwin Rambo
On 14-01-29 02:32 PM, Tom Rini wrote: > On Mon, Jan 27, 2014 at 10:53:26AM -0800, Darwin Rambo wrote: > >> Add bcm281xx architecture support code including a clock framework and >> chip reset. Define register block base addresses for the bcm281xx >> architecture and cre

Re: [U-Boot] [PATCH 6/6] board: bcm28155_ap: Add board files

2014-01-30 Thread Darwin Rambo
On 14-01-29 02:33 PM, Tom Rini wrote: > On Mon, Jan 27, 2014 at 10:53:30AM -0800, Darwin Rambo wrote: > >> Add support for the bcm28155_ap reference board. >> >> Signed-off-by: Darwin Rambo >> Reviewed-by: Steve Rae >> Reviewed-by: Tim K

Re: [U-Boot] [PATCH 1/6] arch: kona: Initial commit of kona-common architecture code

2014-01-30 Thread Darwin Rambo
On 14-01-29 02:32 PM, Tom Rini wrote: > On Mon, Jan 27, 2014 at 10:53:25AM -0800, Darwin Rambo wrote: > >> The Kona architecture is present on a number of Broadcom mobile SoCs >> including the bcm281xx family of chips. > [snip] >> +int __weak clk_sdio_enabl

Re: [U-Boot] [PATCH 0/6] Introducing the Broadcom bcm281xx Architecture

2014-01-30 Thread Darwin Rambo
On 14-01-29 02:32 PM, Tom Rini wrote: > On Mon, Jan 27, 2014 at 10:53:24AM -0800, Darwin Rambo wrote: > >> This patchset introduces the Broadcom bcm281xx family of mobile SoC >> chips. Broadcom kona hardware blocks are often found in Broadcom mobile >> SoC chips inclu

Re: [U-Boot] [PATCH 6/6] board: bcm28155_ap: Add board files

2014-01-31 Thread Darwin Rambo
On 14-01-31 09:15 AM, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 01/31/2014 12:05 PM, Tim Kryger wrote: >> On Fri, Jan 31, 2014 at 6:17 AM, Tom Rini wrote: >>> On 01/30/2014 06:05 PM, Darwin Rambo wrote: >>>> We tried using t

Re: [U-Boot] [PATCH 2/6] arch: bcm281xx: Initial commit of bcm281xx architecture code

2014-01-31 Thread Darwin Rambo
On 14-01-31 09:54 AM, Tom Rini wrote: > On Thu, Jan 30, 2014 at 02:03:41PM -0800, Darwin Rambo wrote: >> >> >> On 14-01-29 02:32 PM, Tom Rini wrote: >>> On Mon, Jan 27, 2014 at 10:53:26AM -0800, Darwin Rambo wrote: >>> >>>> Add bcm281xx archit

[U-Boot] [PATCH v1 1/6] arch: kona: Initial commit of kona-common architecture code

2014-02-03 Thread Darwin Rambo
The Kona architecture is present on a number of Broadcom mobile SoCs including the bcm281xx family of chips. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- arch/arm/cpu/armv7/Makefile|1 + arch/arm/cpu/armv7/kona-common/Makefile

[U-Boot] [PATCH v1 0/6] Introducing the Broadcom bcm281xx Architecture

2014-02-03 Thread Darwin Rambo
prompt. Darwin Rambo (6): arch: kona: Initial commit of kona-common architecture code arch: bcm281xx: Initial commit of bcm281xx architecture code gpio: kona: Add Kona gpio driver i2c: kona: Add Kona I2C driver mmc: kona: Add Kona mmc driver board: bcm28155_ap: Add board files arch

[U-Boot] [PATCH v1 2/6] arch: bcm281xx: Initial commit of bcm281xx architecture code

2014-02-03 Thread Darwin Rambo
Add bcm281xx architecture support code including a clock framework and chip reset. Define register block base addresses for the bcm281xx architecture and create an empty gpio header file required when CONFIG_CMD_GPIO is set. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim

[U-Boot] [PATCH v1 3/6] gpio: kona: Add Kona gpio driver

2014-02-03 Thread Darwin Rambo
Add support for the Kona GPIO controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- drivers/gpio/Makefile|1 + drivers/gpio/kona_gpio.c | 141

[U-Boot] [PATCH v1 4/6] i2c: kona: Add Kona I2C driver

2014-02-03 Thread Darwin Rambo
Add support for the Kona I2C controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/i2c/Makefile |1 + drivers/i2c/kona_i2c.c | 730 2 files changed, 731

[U-Boot] [PATCH v1 5/6] mmc: kona: Add Kona mmc driver

2014-02-03 Thread Darwin Rambo
Add support for the Kona SDHCI found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/mmc/Makefile |1 + drivers/mmc/kona_sdhci.c | 125 ++ 2 files changed, 126 insertions

[U-Boot] [PATCH v1 6/6] board: bcm28155_ap: Add board files

2014-02-03 Thread Darwin Rambo
Add support for the bcm28155_ap reference board. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- board/broadcom/bcm28155_ap/Makefile |7 ++ board/broadcom/bcm28155_ap/bcm28155_ap.c | 87 +++ boards.cfg

Re: [U-Boot] [PATCH v1 0/6] Introducing the Broadcom bcm281xx Architecture

2014-02-03 Thread Darwin Rambo
Sorry folks, I missed my morning caffeine and mislabeled the patch version in the subject as v1. I will be resending the series with the proper v2 versioning asap to avoid confusion. Regards, Darwin > -Original Message- > From: Darwin Rambo [mailto:dra...@broadcom.com] > Sen

[U-Boot] [PATCH v2 1/6] arch: kona: Initial commit of kona-common architecture code

2014-02-03 Thread Darwin Rambo
The Kona architecture is present on a number of Broadcom mobile SoCs including the bcm281xx family of chips. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- arch/arm/cpu/armv7/Makefile|1 + arch/arm/cpu/armv7/kona-common/Makefile

[U-Boot] [PATCH v2 2/6] arch: bcm281xx: Initial commit of bcm281xx architecture code

2014-02-03 Thread Darwin Rambo
Add bcm281xx architecture support code including a clock framework and chip reset. Define register block base addresses for the bcm281xx architecture and create an empty gpio header file required when CONFIG_CMD_GPIO is set. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim

[U-Boot] [PATCH v2 0/6] Introducing the Broadcom bcm281xx Architecture

2014-02-03 Thread Darwin Rambo
prompt. Darwin Rambo (6): arch: kona: Initial commit of kona-common architecture code arch: bcm281xx: Initial commit of bcm281xx architecture code gpio: kona: Add Kona gpio driver i2c: kona: Add Kona I2C driver mmc: kona: Add Kona mmc driver board: bcm28155_ap: Add board files arch

[U-Boot] [PATCH v2 6/6] board: bcm28155_ap: Add board files

2014-02-03 Thread Darwin Rambo
Add support for the bcm28155_ap reference board. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- board/broadcom/bcm28155_ap/Makefile |7 ++ board/broadcom/bcm28155_ap/bcm28155_ap.c | 87 +++ boards.cfg

[U-Boot] [PATCH v2 3/6] gpio: kona: Add Kona gpio driver

2014-02-03 Thread Darwin Rambo
Add support for the Kona GPIO controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- drivers/gpio/Makefile|1 + drivers/gpio/kona_gpio.c | 141

[U-Boot] [PATCH v2 5/6] mmc: kona: Add Kona mmc driver

2014-02-03 Thread Darwin Rambo
Add support for the Kona SDHCI found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/mmc/Makefile |1 + drivers/mmc/kona_sdhci.c | 125 ++ 2 files changed, 126 insertions

[U-Boot] [PATCH v2 4/6] i2c: kona: Add Kona I2C driver

2014-02-03 Thread Darwin Rambo
Add support for the Kona I2C controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/i2c/Makefile |1 + drivers/i2c/kona_i2c.c | 730 2 files changed, 731

Re: [U-Boot] [PATCH v1 5/6] mmc: kona: Add Kona mmc driver

2014-02-04 Thread Darwin Rambo
On 14-02-03 05:12 PM, Jaehoon Chung wrote: > On 02/04/2014 06:03 AM, Darwin Rambo wrote: >> Add support for the Kona SDHCI found on Broadcom mobile SoCs. >> >> Signed-off-by: Darwin Rambo >> Reviewed-by: Steve Rae >> Reviewed-by: Tim Kryger >>

Re: [U-Boot] [PATCH v2 4/6] i2c: kona: Add Kona I2C driver

2014-02-04 Thread Darwin Rambo
On 14-02-03 11:22 PM, Heiko Schocher wrote: > Hello Darwin, > > Am 03.02.2014 23:12, schrieb Darwin Rambo: >> Add support for the Kona I2C controller found on Broadcom mobile SoCs. >> >> Signed-off-by: Darwin Rambo >> Reviewed-by: Steve Rae >> Revie

[U-Boot] [PATCH v3 0/6] Introducing the Broadcom bcm281xx Architecture

2014-02-06 Thread Darwin Rambo
, cosmetic changes, dead code removal. Create include/bitfield.h. Use get_ram_size(). Use weak timer_init(); Skip lowlevel init. Remove memory test config. Use standard baud table and prompt. Darwin Rambo (6): arch: kona: Initial commit of kona-common architecture code arch: bcm281xx: Initial

[U-Boot] [PATCH v3 6/6] board: bcm28155_ap: Add board files

2014-02-06 Thread Darwin Rambo
Add support for the bcm28155_ap reference board. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- board/broadcom/bcm28155_ap/Makefile |7 ++ board/broadcom/bcm28155_ap/bcm28155_ap.c | 87 +++ boards.cfg

[U-Boot] [PATCH v3 1/6] arch: kona: Initial commit of kona-common architecture code

2014-02-06 Thread Darwin Rambo
The Kona architecture is present on a number of Broadcom mobile SoCs including the bcm281xx family of chips. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- arch/arm/cpu/armv7/Makefile|1 + arch/arm/cpu/armv7/kona-common/Makefile

[U-Boot] [PATCH v3 4/6] i2c: kona: Add Kona I2C driver

2014-02-06 Thread Darwin Rambo
Add support for the Kona I2C controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/i2c/Makefile |1 + drivers/i2c/kona_i2c.c | 730 2 files changed, 731

[U-Boot] [PATCH v3 3/6] gpio: kona: Add Kona gpio driver

2014-02-06 Thread Darwin Rambo
Add support for the Kona GPIO controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- drivers/gpio/Makefile|1 + drivers/gpio/kona_gpio.c | 141

[U-Boot] [PATCH v3 5/6] mmc: kona: Add Kona mmc driver

2014-02-06 Thread Darwin Rambo
Add support for the Kona SDHCI found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/mmc/Makefile |1 + drivers/mmc/kona_sdhci.c | 134 ++ 2 files changed, 135 insertions

[U-Boot] [PATCH v3 2/6] arch: bcm281xx: Initial commit of bcm281xx architecture code

2014-02-06 Thread Darwin Rambo
Add bcm281xx architecture support code including a clock framework and chip reset. Define register block base addresses for the bcm281xx architecture and create an empty gpio header file required when CONFIG_CMD_GPIO is set. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim

Re: [U-Boot] [PATCH v3 0/6] Introducing the Broadcom bcm281xx Architecture

2014-02-06 Thread Darwin Rambo
! Regards, Darwin On 14-02-06 07:23 PM, Darwin Rambo wrote: > This patchset introduces the Broadcom bcm281xx family of mobile SoC > chips. Broadcom kona hardware blocks are often found in Broadcom mobile > SoC chips including the bcm281xx family, so support for some of these > kona bl

[U-Boot] [PATCH v4 1/6] arch: kona: Initial commit of kona-common architecture code

2014-02-11 Thread Darwin Rambo
The Kona architecture is present on a number of Broadcom mobile SoCs including the bcm281xx family of chips. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- arch/arm/cpu/armv7/Makefile|1 + arch/arm/cpu/armv7/kona-common/Makefile

[U-Boot] [PATCH v4 0/6] Introducing the Broadcom bcm281xx Architecture

2014-02-11 Thread Darwin Rambo
header for bitfield.h v2 changes -- Delete lowlevel_init.S and create s_init.c. File header cleanup, cosmetic changes, dead code removal. Create include/bitfield.h. Use get_ram_size(). Use weak timer_init(); Skip lowlevel init. Remove memory test config. Use standard baud table and prompt. Da

[U-Boot] [PATCH v4 6/6] board: bcm28155_ap: Add board files

2014-02-11 Thread Darwin Rambo
Add support for the bcm28155_ap reference board. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- board/broadcom/bcm28155_ap/Makefile |7 ++ board/broadcom/bcm28155_ap/bcm28155_ap.c | 87 +++ boards.cfg

[U-Boot] [PATCH v4 4/6] i2c: kona: Add Kona I2C driver

2014-02-11 Thread Darwin Rambo
Add support for the Kona I2C controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/i2c/Makefile |1 + drivers/i2c/kona_i2c.c | 730 2 files changed, 731

[U-Boot] [PATCH v4 2/6] arch: bcm281xx: Initial commit of bcm281xx architecture code

2014-02-11 Thread Darwin Rambo
Add bcm281xx architecture support code including a clock framework and chip reset. Define register block base addresses for the bcm281xx architecture and create an empty gpio header file required when CONFIG_CMD_GPIO is set. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim

[U-Boot] [PATCH v4 3/6] gpio: kona: Add Kona gpio driver

2014-02-11 Thread Darwin Rambo
Add support for the Kona GPIO controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Markus Mayer Reviewed-by: Tim Kryger --- drivers/gpio/Makefile|1 + drivers/gpio/kona_gpio.c | 141

[U-Boot] [PATCH v4 5/6] mmc: kona: Add Kona mmc driver

2014-02-11 Thread Darwin Rambo
Add support for the Kona SDHCI found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae Reviewed-by: Tim Kryger --- drivers/mmc/Makefile |1 + drivers/mmc/kona_sdhci.c | 134 ++ 2 files changed, 135 insertions

[U-Boot] Licensing Question on ARM Semihosting Code

2014-02-28 Thread Darwin Rambo
orm..." clauses below, we could try to find an alternative implementation that is GPL2.0+ licensed or rewrite the parts we need from scratch. Any suggestions you have would be most welcome. Thanks. Regards, Darwin Rambo > /* > * Copyright (c) 2013-2014, ARM Limited and Contrib

Re: [U-Boot] Licensing Question on ARM Semihosting Code

2014-03-06 Thread Darwin Rambo
On 14-02-28 10:49 AM, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 02/28/2014 01:18 PM, Darwin Rambo wrote: >> Given the ARM header below, is this code possible to put into >> u-boot? >> >> For reference, I see this discussion below

[U-Boot] [PATCH] arm: Add support for semihosting for armv8 fastmodel targets.

2014-03-12 Thread Darwin Rambo
semihosting functionality is required, such as file seek, outputting strings, reading characters, etc, then it can be easily added later. Signed-off-by: Darwin Rambo --- arch/arm/include/asm/semihosting.h | 21 +++ arch/arm/lib/Makefile |1 + arch/arm/lib/semihosting.c

Re: [U-Boot] [PATCH] arm: Add support for semihosting for armv8 fastmodel targets.

2014-03-12 Thread Darwin Rambo
On 14-03-12 09:24 AM, Tom Rini wrote: > On Wed, Mar 12, 2014 at 09:04:01AM -0700, Darwin Rambo wrote: > >> The reason for this change is to be able to use the ARM Trusted Firmware >> (ATF) to load the various ATF images, plus u-boot, which can then load >> the kernel/r

Re: [U-Boot] [PATCH] arm: Add support for semihosting for armv8 fastmodel targets.

2014-03-12 Thread Darwin Rambo
On 14-03-12 09:41 AM, Albert ARIBAUD wrote: > Hi Darwin, > > On Wed, 12 Mar 2014 09:04:01 -0700, Darwin Rambo > wrote: > >> The reason for this change is to be able to use the ARM Trusted Firmware >> (ATF) to load the various ATF images, plus u-boot, which can then

Re: [U-Boot] [PATCH] arm: Add support for semihosting for armv8 fastmodel targets.

2014-03-12 Thread Darwin Rambo
On 14-03-12 10:18 AM, Tom Rini wrote: > On Wed, Mar 12, 2014 at 09:41:20AM -0700, Darwin Rambo wrote: >> >> >> On 14-03-12 09:24 AM, Tom Rini wrote: >>> On Wed, Mar 12, 2014 at 09:04:01AM -0700, Darwin Rambo wrote: > [snip] >>>> +

[U-Boot] [PATCH v2] arm: Add support for semihosting for armv8 fastmodel targets.

2014-03-21 Thread Darwin Rambo
, then it can be easily added later. Signed-off-by: Darwin Rambo --- Changes in v2: - use kernel_addr_r, fdt_addr_r, initrd_addr_r convention. - Use env variables for kernel/fdt/initrd file names. - Add CONFIG_BASE_FVP to differentiate VE and BASE FVP models. - CONFIG_SEMIHOSTING only refers to

[U-Boot] [PATCH v3] arm: Add support for semihosting for armv8 fastmodel targets.

2014-03-24 Thread Darwin Rambo
, then it can be easily added later. Signed-off-by: Darwin Rambo --- Changes in v3: - minor format fixup in board file Changes in v2: - use kernel_addr_r, fdt_addr_r, initrd_addr_r convention. - Use env variables for kernel/fdt/initrd file names. - Add CONFIG_BASE_FVP to differentiate VE and BASE

Re: [U-Boot] [PATCH] arm: Allow u-boot to run from offset base address

2014-05-26 Thread Darwin Rambo
Hi Albert, The previous stage bootloader (which I had no control over) wanted it's header to be aligned to a 512 byte MMC block boundary, presumably since this allowed DMA operations without copy/shifting. At the same time, I didn't want to hack a header into start.S because I didn't want to c

[U-Boot] [PATCH] mmc: free allocated memory on initialization errors

2014-05-26 Thread Darwin Rambo
Cleanup to balance malloc/free calls. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae --- drivers/mmc/kona_sdhci.c |8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/kona_sdhci.c b/drivers/mmc/kona_sdhci.c index 77e42c8..f804f4c 100644 --- a/drivers

Re: [U-Boot] [PATCH] arm: Allow u-boot to run from offset base address

2014-06-02 Thread Darwin Rambo
On 14-06-02 12:26 AM, Albert ARIBAUD wrote: Hi Darwin, On Mon, 26 May 2014 09:11:35 -0700, Darwin Rambo wrote: Hi Albert, The previous stage bootloader (which I had no control over) wanted it's header to be aligned to a 512 byte MMC block boundary, presumably since this allowe

[U-Boot] [PATCH v5] arm: Add support for semihosting for armv8 fastmodel targets.

2014-06-09 Thread Darwin Rambo
service trap opcode. Please refer to README.semihosting for a more detailed description of semihosting and how it is used with the armv8 virtual platforms. Signed-off-by: Darwin Rambo Cc: tr...@ti.com Cc: feng...@phytium.com.cn Cc: bhupesh.sha...@freescale.com --- Changes in v5: - Shorten and

Re: [U-Boot] [PATCH v5] arm: Add support for semihosting for armv8 fastmodel targets.

2014-06-09 Thread Darwin Rambo
On 14-06-09 11:25 AM, Albert ARIBAUD wrote: Hi Darwin, On Mon, 9 Jun 2014 11:12:59 -0700, Darwin Rambo wrote: [...] Please refer to README.semihosting for a more detailed description of semihosting and how it is used with the armv8 virtual platforms. With your permission, will apply but

[U-Boot] [PATCH] arm: Fix armv8 compilation error

2014-06-09 Thread Darwin Rambo
From: "Shaibal.Dutta" Fix following compilation error when CONFIG_ARM64 is defined Error: unknown or missing system register name at operand 2 -- `mrs x0,daifmsr daifset,#3' Signed-off-by: Shaibal.Dutta Signed-off-by: Darwin Rambo Reviewed-by: Darwin Rambo --- arch/arm/i

[U-Boot] [PATCH] i2c: Fix i2c speed command

2013-12-13 Thread Darwin Rambo
This corrects i2c core to interpret the value returned by i2c_set_bus_speed as a success indicator rather than the actual speed that was set. When i2c_set_bus_speed returns a failure code, the speed is unknown so the adapter speed is set to zero. Signed-off-by: Darwin Rambo Reviewed-by: Tim

[U-Boot] armv8 relocation questions

2014-05-13 Thread Darwin Rambo
gn 11" which I believe means 0x800 or 2048. Note that an armv7 target appears to relocate properly with smaller offsets such as 0x20. Thanks. Best Regards, Darwin Rambo ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] arm: Allow u-boot to run from offset base address

2014-05-14 Thread Darwin Rambo
n tested there and may not be appropriate for other architectures. Signed-off-by: Darwin Rambo Reviewed-by: Steve Rae --- arch/arm/lib/board.c | 13 + common/board_f.c | 10 ++ 2 files changed, 23 insertions(+) diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board

Re: [U-Boot] [PATCH] arm: Allow u-boot to run from offset base address

2014-05-15 Thread Darwin Rambo
On 14-05-14 09:26 PM, Wolfgang Denk wrote: Dear Darwin Rambo, In message <1400105145-6628-1-git-send-email-dra...@broadcom.com> you wrote: If an earlier loader stage requires an image header and a specific offset, then u-boot's base address (CONFIG_SYS_TEXT_BASE) may be advance

Re: [U-Boot] [PATCH] arm: Allow u-boot to run from offset base address

2014-05-15 Thread Darwin Rambo
On 14-05-14 03:41 PM, Jeroen Hofstee wrote: Hello Darwin, On wo, 2014-05-14 at 15:05 -0700, Darwin Rambo wrote: +#ifdef CONFIG_ARM64 + /* +* Fix relocation if u-boot is not on an aligned address. +*/ + { + int offset = CONFIG_SYS_TEXT_BASE % 4096

Re: [U-Boot] [PATCH] arm: Allow u-boot to run from offset base address

2014-05-15 Thread Darwin Rambo
On 14-05-15 08:21 AM, Wolfgang Denk wrote: Dear Darwin, In message <5374cd55.3010...@broadcom.com> you wrote: Do you really want to check a define at runtime? Placement is typically at the end of RAM and allocation goes down, not up as in this patch. Aren't you overlapping memory here? Yes, I

Re: [U-Boot] armv8 relocation questions

2014-05-16 Thread Darwin Rambo
On 14-05-16 06:47 AM, feng...@phytium.com.cn wrote: hi Darwin, It's a little late. I'm hoping someone can help answer these questions about armv8 relocation. The CONFIG_SYS_TEXT_BASE seems to be be usually setup to a decent amount of alignment. For the purposes of this discussion, l

Re: [U-Boot] armv8 relocation questions

2014-05-16 Thread Darwin Rambo
On 14-05-16 01:28 PM, Wolfgang Denk wrote: Dear Darwin, In message <53763b78.6030...@broadcom.com> you wrote: 3. Fixed offset case: CONFIG_SYS_TEXT_BASE = 0x8820 You completely fail to respond to my repeated statement that a CONFIG_SYS_TEXT_BASE like this is bogus. I want to set it thi

Re: [U-Boot] [PATCH v3] arm: Add support for semihosting for armv8 fastmodel targets.

2014-05-23 Thread Darwin Rambo
----- From: Darwin Rambo [mailto:dra...@broadcom.com] Sent: Tuesday, March 25, 2014 12:46 AM To: u-boot@lists.denx.de Cc: Darwin Rambo; Albert Aribaud; Tom Rini; feng...@phytium.com.cn; Sharma Bhupesh-B45370 Subject: [PATCH v3] arm: Add support for semihosting for armv8 fastmodel targets. The reaso

[U-Boot] [PATCH v4] arm: Add support for semihosting for armv8 fastmodel targets.

2014-05-23 Thread Darwin Rambo
, then it can be easily added later. Signed-off-by: Darwin Rambo Cc: tr...@ti.com Cc: feng...@phytium.com.cn Cc: bhupesh.sha...@freescale.com --- Changes in v4: - refreshed patch and retested - fix boards.cfg conflict - fix GICV3 conflict - minor documentation cleanup - semihosting.c