Re: [U-Boot] [PATCH 1/2] video:cache:fix: Buffer alignment and dcache flush for lcd subsystem

2012-08-09 Thread Lukasz Majewski
Hi Mike, > On Wednesday 08 August 2012 11:10:34 Lukasz Majewski wrote: > > This commit makes the video subsystem code cache aware. > > Memory allocated for decompressed BMP memory is now cache line > > aligned. > > > > Flushing of the dcache is also performed after copying BMP data to > > fb addr

Re: [U-Boot] [PATCH V3 1/3] imx-common/cmd_resetmode.c: add imx resetmode command

2012-08-09 Thread Stefano Babic
On 09/08/2012 03:26, Troy Kisky wrote: > This is useful for forcing the ROM's > usb downloader to activate upon a watchdog reset. > Or, you can boot from either SD Card. > Hi Troy, > Currently, support added for MX53 and MX6Q > Signed-off-by: Troy Kisky > > Note: MX53 support untested. It can

[U-Boot] Pull request v2 : u-boot-sh/master

2012-08-09 Thread Nobuhiro Iwamatsu
Dear Wolfgang Denk. Please pull from git://git.denx.de/u-boot-sh master. Best regards, Nobuhiro The following changes since commit 6d36121b878a3ccbbff7f60a02109e8c8d81dd0f: Merge branch 'master' of git://git.denx.de/u-boot-onenand (2012-08-07 23:42:55 +0200) are available in the git reposi

Re: [U-Boot] [PATCH v3 13/18] lcd: Add support for flushing LCD fb from dcache after update

2012-08-09 Thread Lukasz Majewski
Hi Simon, > This provides an option for the LCD to flush the dcache after each > update (puts, scroll or clear). > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Put the LCD cache flush logic into lcd_putc() instead of lcd_puts() > > Changes in v3: > - Put the LCD cache flush logic bac

Re: [U-Boot] [PATCH] mtd/cfi_flash: fix write problems for Numonyx P33/30 32 MBit flashs

2012-08-09 Thread Holger Brunck
Hi Stefan, On 08/09/2012 08:09 AM, Stefan Roese wrote: > On 08/08/2012 04:52 PM, Holger Brunck wrote: >> commit 54652991 >> Work around bug in Numonyx P33/P30 256-Mbit 65nm flash chips >> >> fixes a problem for Numonyx P33/P30 flashes for 256-Mbit, but this leads >> to problems for smaller version

[U-Boot] [PATCH v2] mtd/cfi_flash: fix write problems for Numonyx P33/30 32 MBit flashs

2012-08-09 Thread Holger Brunck
commit 54652991 Work around bug in Numonyx P33/P30 256-Mbit 65nm flash chips fixes a problem for Numonyx P33/P30 flashes for 256-Mbit, but this leads to problems for smaller versions of this chip e.g. the 32Mbit version with deviceid 0x16 on mgcoge. So move the code for this work around to an own

Re: [U-Boot] early_malloc outline

2012-08-09 Thread Tomas Hlavacek
Hi Graeme, On Thu, Aug 9, 2012 at 1:33 AM, Graeme Russ wrote: > > OK, this got me to thinking about the 'relocation' function in the driver > structure and how we can make the early heap more generic. My thoughts tie > into the DM tree structure being discussed in another thread... > [snip] > >

Re: [U-Boot] early_malloc outline

2012-08-09 Thread Graeme Russ
Hi Thomas, On 08/09/2012 06:58 PM, Tomas Hlavacek wrote: > Hi Graeme, > > On Thu, Aug 9, 2012 at 1:33 AM, Graeme Russ wrote: > >> >> OK, this got me to thinking about the 'relocation' function in the driver >> structure and how we can make the early heap more generic. My thoughts tie >> into th

[U-Boot] [PATCH 0/3] at91: atmel_nand: add PMECC(Programmable Multibit ECC controller) support

2012-08-09 Thread Josh Wu
This patch series will add PMECC support for atmel nand driver in u-boot. The driver patch is ported from kernel patch. The main different from kernel patch is the modification about registers access part. in this version it via a register structure to access. It is tested in atmel 9x5 series

[U-Boot] [PATCH 2/3] at91: atmel_nand: remove unused variables.

2012-08-09 Thread Josh Wu
Signed-off-by: Josh Wu --- drivers/mtd/nand/atmel_nand.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 113da93..9dc003e 100644 --- a/drivers/mtd/nand/atmel_nand.c +++ b/drivers/mtd/nand/atmel_nand.c @@

[U-Boot] [PATCH 1/3] at91: atmel_nand: extract HWECC initialization code into one function: atmel_hw_nand_init_param().

2012-08-09 Thread Josh Wu
Extract the hwecc initialization code into one function. It is a preparation for adding atmel PMECC support. Signed-off-by: Josh Wu --- drivers/mtd/nand/atmel_nand.c | 108 ++--- 1 file changed, 57 insertions(+), 51 deletions(-) diff --git a/drivers/mtd/nan

[U-Boot] [PATCH 3/3] at91: atmel_nand: Update driver to support Programmable Multibit ECC controller

2012-08-09 Thread Josh Wu
The Programmable Multibit ECC (PMECC) controller is a programmable binary BCH(Bose, Chaudhuri and Hocquenghem) encoder and decoder. This controller can be used to support both SLC and MLC NAND Flash devices. It supports to generate ECC to correct 2, 4, 8, 12 or 24 bits of error per

[U-Boot] [PATCH V3 3/4] common lcd: simplify core functions

2012-08-09 Thread Nikita Kiryanov
Move highly platform dependant code into its own function to reduce the number of #ifdefs in the bigger functions Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- Changes in V3: - Removed volatile qualifiers in patch 3 since the use of volatile is discouraged and

[U-Boot] [PATCH V3 4/4] common lcd: simplify lcd_display_bitmap

2012-08-09 Thread Nikita Kiryanov
Move highly platform dependant code into its own functions to reduce the number of #ifdefs in lcd_display_bitmap To avoid breaking the mcc200 board which does not #define CONFIG_CMD_BMP, this patch also implements bmp_display() for mcc200. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinb

[U-Boot] [PATCH V3 1/4] common lcd: simplify lcd_logo

2012-08-09 Thread Nikita Kiryanov
Simplify lcd_logo by extracting bmp unzip into its own function. Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- Changes in V2: - used bitmap_display() to further simplify code common/lcd.c | 12 +--- 1 files changed, 1 insertions(+), 11 deletions(-) diff --

[U-Boot] [PATCH V3 2/4] common lcd: simplify lcd_display

2012-08-09 Thread Nikita Kiryanov
Simplify lcd_display by centralizing code into a funciton Signed-off-by: Nikita Kiryanov Signed-off-by: Igor Grinberg --- common/lcd.c | 27 ++- 1 files changed, 18 insertions(+), 9 deletions(-) diff --git a/common/lcd.c b/common/lcd.c index 8890635..4a5c8d5 100644 --

[U-Boot] [PATCH V3 0/4] common/lcd cleanup

2012-08-09 Thread Nikita Kiryanov
This patch series attempts to simplify #ifdef complexity in common/lcd.c. It was compile tested on Arm and PowerPC using MAKEALL Changes in V3: - Rebased on latest u-boot-video - Removed volatile qualifiers in patch 3 since the use of volatile is discouraged and it looks l

[U-Boot] [PATCH] arm/km: remove unused code

2012-08-09 Thread Holger Brunck
For some reasons we had an own implementaion of dram_init and dram_init_banksize. This is not needed anymore, use the standard kirkwood functions instead. Signed-off-by: Holger Brunck cc: Prafulla Wadaskar cc: Valentin Longchamp cc: Gerlando Falauto --- board/keymile/km_arm/km_arm.c |

[U-Boot] [PATCH] km/ivm: fix string len check to support 7 char board names

2012-08-09 Thread Holger Brunck
From: Valentin Longchamp The fanless boards now have a 7-digit (X-F) board name. This triggers a border condition when reading this string in the IVM although this string is smaller than the currenly read string size, but only by 1 character. This patch corrects this by changing the size che

Re: [U-Boot] [PATCH 0/4] arm:samsung: Cleanup code for trats and universal boards

2012-08-09 Thread Piotr Wilczek
Dear Mr Kang, I would like to ask about patches I sent last week. If there is anything I should improve, please let me know. Kind regards, Piotr -Original Message- From: Piotr Wilczek [mailto:p.wilc...@samsung.com] Sent: Thursday, August 02, 2012 3:15 PM To: u-boot@lists.denx.de Cc: Kyu

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Make NMG_CPU_A011 workaround conditional

2012-08-09 Thread Wolfgang Denk
Dear York Sun, In message <1344467781.18960.41.camel@oslab-l1> you wrote: > > If the buffer isn't big enough, getenv_f() will print a message saying ... but only if it can (i. e. if he call is _after_ the initialization of the console driver has been completed (which is actually pretty late). Be

Re: [U-Boot] early_malloc outline

2012-08-09 Thread Wolfgang Denk
Dear Graeme Russ, In message you wrote: > > I pointed out that those pointers can only by in either GD or the early > malloc heap. But either way, there is no generic way to adjust them. Any > code that uses the early malloc heap and wants to retain that data for > use after relocation will nee

Re: [U-Boot] Early malloc() summary

2012-08-09 Thread Wolfgang Denk
Dear Graeme Russ, In message you wrote: > > While the need for early malloc() came about from the driver model and > the desire to make drivers usable before relocation, I think we can all > agree that its scope may well not be limited to use by drivers. A few > examples I can think of the top

Re: [U-Boot] Porting u-boot for MPC8280 based Board by taking MPC8260ads reference, Its hanging at some point

2012-08-09 Thread Wolfgang Denk
Dear Thirumalesha N, In message you wrote: > > I'm porting u-boot for mpc8280 based CPU board by taking mpc8260ads > reference, its hanging at some some point. i enabled debug mode. > > U-Boot 1.3.1 (Aug 8 2012 - 09:19:16) I explained this before. Please stop asking questions about 5

[U-Boot] [PATCH 11/11] arm: cm4008, cm41xx: read MAC address from flash

2012-08-09 Thread Yann Vernier
Previously code to do this was in the Ethernet driver itself. Since it is board specific, moved it here, and altered it to support preset MAC from environment. Signed-off-by: Yann Vernier --- board/cm4008/cm4008.c | 12 board/cm41xx/cm41xx.c | 12 2 files changed, 2

[U-Boot] [PATCH 10/11] arm: ks8695: document bus speed

2012-08-09 Thread Yann Vernier
Just use the existing #define instead of magic number. Signed-off-by: Yann Vernier --- arch/arm/cpu/arm920t/ks8695/lowlevel_init.S |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S b/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S

[U-Boot] [PATCH 08/11] arm: cm4008, cm41xx: don't define to 1

2012-08-09 Thread Yann Vernier
Removed needless values for configuration macros. Signed-off-by: Yann Vernier --- include/configs/cm4008.h | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/configs/cm4008.h b/include/configs/cm4008.h index 18f7900..43a2591 100644 --- a/include/configs/cm40

[U-Boot] [PATCH 09/11] arm: ks8695/cm4xxx: don't reconfigure switch

2012-08-09 Thread Yann Vernier
A small bug caused code to set up LEDs to instead disable lots of functionality in the Ethernet switch, including bounds checks. Signed-off-by: Yann Vernier --- arch/arm/cpu/arm920t/ks8695/lowlevel_init.S |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/arm920t

[U-Boot] [PATCH 05/11] arm: cm4008, cm41xx: set gd->ram_size in dram_init

2012-08-09 Thread Yann Vernier
Leave dram_init_banksize to set up the bank info data. ram_size was previously uninitialized. Also put data on SDRAM configuration in header file. Signed-off-by: Yann Vernier --- Changes for v2: - Update to use CONFIG_SYS_SDRAM_ constants - Update cm41xx also - Map SDRAM to match configu

[U-Boot] [PATCH 03/11] arm: ks8695eth: Use MAC address from environment

2012-08-09 Thread Yann Vernier
Removed board specific MAC reading code from driver. Should move the reading to the cm4008/cm41xx board code. Signed-off-by: Yann Vernier --- drivers/net/ks8695eth.c | 38 +- 1 file changed, 9 insertions(+), 29 deletions(-) diff --git a/drivers/net/ks8695et

[U-Boot] [PATCH 02/11] arm: ks8695: more macros for register values

2012-08-09 Thread Yann Vernier
Adding macros for more configurable lowlevel_init code. Also cleanup of some typos. Signed-off-by: Yann Vernier --- arch/arm/include/asm/arch-ks8695/platform.h | 55 - arch/arm/include/asm/arch-ks8695/regvalues.h | 112 ++ 2 files changed, 149 insertions(+)

[U-Boot] [PATCH 00/11] ks8695 (cm4008, cm41xx) bugfixes, constant removals, configuration generalized

2012-08-09 Thread Yann Vernier
On Fri, 6 Jul 2012 13:33:42 +0200 Albert ARIBAUD wrote: > Always a problem, those board config patches... :) > > I'll take this one in u-boot-arm/next, but later this week-end. if by > Monday I haven't sent an 'applied' mail, ping me. I haven't seen an applied mail, nor a commit in the git, so

[U-Boot] [PATCH 07/11] arm: ks8695/cm4008/cm41xx: Parameterize SDRAM

2012-08-09 Thread Yann Vernier
Allows configuration macros to set SDRAM parameters. Signed-off-by: Yann Vernier --- arch/arm/cpu/arm920t/ks8695/lowlevel_init.S | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S b/arch/arm/cpu/arm920t/ks8695/l

[U-Boot] [PATCH 06/11] arm: cm4008, cm41xx: Fix ROM relocation

2012-08-09 Thread Yann Vernier
Changed CONFIG_SYS_TEXT_BASE to actual address (required for board_init_f) and moved it into cm4{008,1xx}.h, along with a warning that it must match CONFIG_SYS_FLASH_BASE (since lowlevel_init relocates there). lowlevel_init now uses CONFIG_SYS_RCS0_BASE to map ROM. --- Changes for v2: - Update t

[U-Boot] [PATCH 01/11] arm: ks8695: use defined constants for UART

2012-08-09 Thread Yann Vernier
CONFIG_BAUDRATE and KS8695_UART_LINEC_WLEN8 used for UART registers Signed-off-by: Yann Vernier --- arch/arm/cpu/arm920t/ks8695/lowlevel_init.S |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S b/arch/arm/cpu/arm920t/ks8695/l

[U-Boot] [PATCH 04/11] arm: cm4008, cm41xx: use common cfi_flash support

2012-08-09 Thread Yann Vernier
This change allows use of other flash chips than the two supported by the cm4008 flash.c. Tested with Micrel KSZ8695X demo board. --- Changes for v2: - Update cm41xx also - Remove unused board specific flash code Changes for v3: - Do not define to 1 where it is not required, just define Ch

Re: [U-Boot] [PATCH v3] rtc: imxdi: Initial support

2012-08-09 Thread Stefano Babic
On 08/08/2012 16:52, Benoît Thébaudeau wrote: > Add support for Freescale's i.MX DryIce RTC, present on i.MX25. > > Signed-off-by: Benoît Thébaudeau > Cc: Wolfgang Denk > Cc: Stefano Babic > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- ==

[U-Boot] [PATCH] sc_sps_1: Adjust board config to use 'mxs' SoC code

2012-08-09 Thread Otavio Salvador
Fix build failure due the move of mx28 code to 'mxs' SoC. Signed-off-by: Otavio Salvador --- board/schulercontrol/sc_sps_1/sc_sps_1.c |4 ++-- board/schulercontrol/sc_sps_1/spl_boot.c |4 ++-- boards.cfg |2 +- include/configs/sc_sps_1.h |

Re: [U-Boot] [PATCH] sc_sps_1: Adjust board config to use 'mxs' SoC code

2012-08-09 Thread Stefano Babic
On 09/08/2012 16:12, Otavio Salvador wrote: > Fix build failure due the move of mx28 code to 'mxs' SoC. > > Signed-off-by: Otavio Salvador > --- > board/schulercontrol/sc_sps_1/sc_sps_1.c |4 ++-- > board/schulercontrol/sc_sps_1/spl_boot.c |4 ++-- > boards.cfg

[U-Boot] [PATCH 2/2] rmobile: Add README

2012-08-09 Thread Nobuhiro Iwamatsu
This add README of Renesas RMOBILE. Based doc/README.omap3. Signed-off-by: Nobuhiro Iwamatsu --- doc/README.rmobile | 46 ++ 1 file changed, 46 insertions(+) create mode 100644 doc/README.rmobile diff --git a/doc/README.rmobile b/doc/README.rmobile

[U-Boot] [PATCH 1/2] doc/git-mailrc: Add 'rmobile' alias

2012-08-09 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu --- doc/git-mailrc |1 + 1 file changed, 1 insertion(+) diff --git a/doc/git-mailrc b/doc/git-mailrc index 5eac8a5..4208748 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -51,6 +51,7 @@ alias samsunguboot, prom alias tegra uboot, Simon

Re: [U-Boot] [PATCH] spl: remove forced linking of commands into SPL

2012-08-09 Thread Tom Rini
On 08/08/2012 07:24 PM, Tyler Olmstead wrote: > Remove linker command line options from the SPL makefile > that force the inclusion of unreferenced command code from > linked object files. As commands are not used in the SPL, > these options resulted in an unnecessary increase in the > image size,

Re: [U-Boot] [PATCH 1/2] ARM: OMAP4/5: Remove dead code against CONFIG_SYS_CLOCKS_ENABLE_ALL

2012-08-09 Thread R, Sricharan
Hi, On Tue, Aug 7, 2012 at 2:59 PM, Jassi Brar wrote: > The commit > f3f98bb0 : "ARM: OMAP4/5: Do not configure non essential pads, clocks, dplls" > removed the config option aimed towards moving that stuff into kernel, which > renders some code unreachable. Remove that code. > > Signed-off-by:

Re: [U-Boot] Porting u-boot for MPC8280 based Board by taking MPC8260ads reference, Its hanging at some point

2012-08-09 Thread Markus Hubig
On Thu, Aug 09, 2012 at 11:44:18AM +0530, Thirumalesha N wrote: > I'm porting u-boot for mpc8280 based CPU board by taking mpc8260ads > reference, its hanging at some some point. i enabled debug mode. > U-Boot 1.3.1 (Aug 8 2012 - 09:19:16) > New Stack Pointer is: 1ffa0f48 > > please can you sugg

[U-Boot] [PATCH 1/6 v2] powerpc/corenet_ds: Update README.srio-boot-corenet

2012-08-09 Thread Liu Gang
Update some descriptions due to the implementation changes: For master: Get rid of the SRIOBOOT_MASTER build target, and to support for serving as a SRIO boot master via environment variable. For slave: 1. When compile the slave image for boot from SRIO, no longer

[U-Boot] [PATCH 2/6 v2] powerpc/corenet_ds: Get rid of the SRIOBOOT_MASTER build target

2012-08-09 Thread Liu Gang
Get rid of the SRIOBOOT_MASTER build target, and to support for serving as a SRIO boot master via environment variable. Set the environment variable "bootmaster" to "SRIO1" or "SRIO2" using the following command: setenv bootmaster SRIO1 saveenv The "bootmaster" wil

[U-Boot] [PATCH 4/6 v2] powerpc/corenet_ds: Update README and README.srio-pcie-boot-corenet

2012-08-09 Thread Liu Gang
Added descriptions about boot from PCIE in the files README and doc/README.srio-pcie-boot-corenet, and changed the name of the doc/README.srio-boot-corenet to doc/README.srio-pcie-boot-corenet. Signed-off-by: Liu Gang --- Changes in v2: - No. README| 12 ++-- doc/

[U-Boot] [PATCH 3/6 v2] powerpc/corenet_ds: Get rid of the CONFIG_SRIOBOOT_SLAVE_PORTx macro

2012-08-09 Thread Liu Gang
When compile the slave image for boot from SRIO, no longer need to specify which SRIO port it will boot from. The code will get this information from RCW and then finishes corresponding configurations. This has the following advantages: 1. No longer need to rebuild an image when change the

[U-Boot] [PATCH 5/6 v2] powerpc/corenet_ds: Master module for boot from PCIE

2012-08-09 Thread Liu Gang
For the powerpc processors with PCIE interface, boot location can be configured from one PCIE interface by RCW. The processor booting from PCIE can do without flash for u-boot image. The image can be fetched from another processor's memory space by PCIE link connected between them. The processor b

[U-Boot] [PATCH 6/6 v2] powerpc/corenet_ds: Slave module for boot from PCIE

2012-08-09 Thread Liu Gang
When boot from PCIE, slave's core should be in holdoff after powered on for some specific requirements. Master will release the slave's core at the right time by PCIE interface. Slave's ucode and ENV can be stored in master's memory space, then slave can fetch them through PCIE interface. For the

Re: [U-Boot] [PATCH 2/6] powerpc/corenet_ds: Get rid of the SRIOBOOT_MASTER build target

2012-08-09 Thread Liu Gang
On Wed, 2012-08-08 at 18:31 -0500, Andy Fleming wrote: > On Thu, Jun 7, 2012 at 1:43 AM, Liu Gang wrote: > > Signed-off-by: Liu Gang > > --- > > arch/powerpc/cpu/mpc85xx/cpu_init.c | 17 +++-- > > arch/powerpc/cpu/mpc8xxx/srio.c | 137 > > --- > > > The c

[U-Boot] [PATCH 0/2]: arm: Provide lowlevel_init C function wrapper for v7

2012-08-09 Thread Tom Rini
Hey all, As Allen Martin noted, on tegra platforms a bug is exposed when using certain toolchains that currently calls to lowlevel_init must be calls to another assembly function as the stack is not explicitly setup / saved and thus register corruption can occur. Over in TI-land Aneesh V wrote a

[U-Boot] [PATCH 1/2] omap4/5/am33xx: Make lowlevel_init available to all armv7 platforms

2012-08-09 Thread Tom Rini
Make the lowlevel_init function that these platforms have which just sets up the stack and calls a C function available to all armv7 platforms. As part of this we change some of the macros that are used to be more clear. Previously (except for am335x evm) we had been setting CONFIG_SYS_INIT_SP_AD

[U-Boot] [PATCH 2/2] armv7: Make lowlevel_init.S's lowlevel_init do ABI compatible stack

2012-08-09 Thread Tom Rini
Make sure that when we setup the stack before calling s_init() we have the stack have 8-byte alignment for ABI compliance. Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/lowlevel_init.S |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv7/lowlevel_init.S b/arch/arm/cpu/armv

Re: [U-Boot] [PATCH 2/2] powerpc/mpc85xx/p1_p2_rdb: add all LAWs during SPL

2012-08-09 Thread Scott Wood
On 08/08/2012 09:28 PM, McClintock Matthew-B29882 wrote: > On Wed, Aug 8, 2012 at 9:27 PM, Matthew McClintock wrote: >> On Wed, Aug 8, 2012 at 8:06 PM, Scott Wood wrote: >>> LAW init is skipped in the SPL payload because it's assumed that the SPL >>> has taken care of it -- so make sure the SPL l

Re: [U-Boot] [PATCH 2/2] rmobile: Add README

2012-08-09 Thread Tom Rini
On Thu, Aug 09, 2012 at 11:30:24PM +0900, Nobuhiro Iwamatsu wrote: > This add README of Renesas RMOBILE. > Based doc/README.omap3. > > Signed-off-by: Nobuhiro Iwamatsu > --- > doc/README.rmobile | 46 ++ > 1 file changed, 46 insertions(+) > create m

[U-Boot] Write ENV to File and flash it with openocd (problem) !!!

2012-08-09 Thread Franz Skale
Hi, i hope this is the place to solve my problem. Shortdesc: I am using opencd and fw_setenv (2008) from the sheeva plug installer to flash uboot and the env. The boards/sheevaplug.cfg is reflecting two functions for flashing uboot and the env. The sheevapluginstaller version is patched to use th

[U-Boot] Question about getting the length of u-boot binary.

2012-08-09 Thread shawn xy Bai
Hi, everyone, how long no see. Recently, I'm about to port U-boot to our board with MIPS cpu. When I look at the function "board_init_f" in arch/mips/lib/board.c, it's found that "ulong addr, addr_sp, len = (ulong)&uboot_end - CONFIG_SYS_MONITOR_BASE;" And I know "uboot_end" is assigned in u-b

Re: [U-Boot] Question about getting the length of u-boot binary.

2012-08-09 Thread Karl O. Pinc
On 08/09/2012 09:32:37 AM, shawn xy Bai wrote: > By the way, when I want to use hotmail to send this mail, there > comes > the error: > "Message rejected. No base64 encoded MIME text parts allowed." > > Do you have any ideas? Patches must be submitted to the mailing list without attachments, i

Re: [U-Boot] [PATCH] spl: remove forced linking of commands into SPL

2012-08-09 Thread Tyler Olmstead
Hi Tom, On Thu, Aug 9, 2012 at 7:35 AM, Tom Rini wrote: > On 08/08/2012 07:24 PM, Tyler Olmstead wrote: > >> Remove linker command line options from the SPL makefile >> that force the inclusion of unreferenced command code from >> linked object files. As commands are not used in the SPL, >> these

Re: [U-Boot] [PATCH] spl: remove forced linking of commands into SPL

2012-08-09 Thread Tom Rini
On Thu, Aug 09, 2012 at 10:37:43AM -0700, Tyler Olmstead wrote: > Hi Tom, > > On Thu, Aug 9, 2012 at 7:35 AM, Tom Rini wrote: > > On 08/08/2012 07:24 PM, Tyler Olmstead wrote: > > > >> Remove linker command line options from the SPL makefile > >> that force the inclusion of unreferenced command c

[U-Boot] [PATCH 2/5] am33xx: Correct MMC1, remove MMC2 support

2012-08-09 Thread Tom Rini
- Correct the MMC1 base offset - Remove MMC2 (that area is reserved and not MMC2). - Add the real BOOT_DEVICE_MMC2 value Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/board.c |8 +++- arch/arm/include/asm/arch-am33xx/mmc_host_def.h |3 +-- arch/arm/include/asm/o

[U-Boot] [PATCH 5/5] am335x evm: Enable support for spi0

2012-08-09 Thread Tom Rini
Signed-off-by: Tom Rini --- board/ti/am335x/mux.c| 11 +++ drivers/spi/omap3_spi.c | 10 ++ include/configs/am335x_evm.h |9 + 3 files changed, 30 insertions(+) diff --git a/board/ti/am335x/mux.c b/board/ti/am335x/mux.c index 992f9ba..80becd5 100644 -

[U-Boot] [PATCH 1/5] am335x evm: Initial support for AM335x GP EVM Profiles

2012-08-09 Thread Tom Rini
The AM335x GP EVM can have one of 8 different profiles selected. Each profile has a different set of peripherals and requires different pinmux configurations that conflict with other profiles. i2c1 is an example of a conflicted mux currently. Signed-off-by: Tom Rini --- board/ti/am335x/mux.c |

[U-Boot] [PATCH 3/5] am335x evm: Enable MMC1 pinmux

2012-08-09 Thread Tom Rini
MMC1 is available in profile 2 on the GP EVM and is exposed on the expansion header on beaglebone. Signed-off-by: Tom Rini --- board/ti/am335x/mux.c | 16 1 file changed, 16 insertions(+) diff --git a/board/ti/am335x/mux.c b/board/ti/am335x/mux.c index 5e902ab..992f9ba 100644

[U-Boot] [PATCH 4/5] am33xx: Add support, update omap3 McSPI driver

2012-08-09 Thread Tom Rini
Signed-off-by: Tom Rini --- arch/arm/cpu/armv7/am33xx/clock.c |5 + drivers/spi/omap3_spi.c |6 ++ drivers/spi/omap3_spi.h |5 + 3 files changed, 16 insertions(+) diff --git a/arch/arm/cpu/armv7/am33xx/clock.c b/arch/arm/cpu/armv7/am33xx/clock.c index

Re: [U-Boot] [PATCH] MAKEALL: Allow empty ERR directory

2012-08-09 Thread Tom Rini
On Wed, Aug 08, 2012 at 07:12:30PM -0500, Andy Fleming wrote: > If we build everything correctly with multiple builds, and an > ERR directory had been previously created, we failed to report > that everything was fine because grep failed to find anything > in the ERR directory. Use grep -r, which d

Re: [U-Boot] [PATCH v2 3/5] sh: Add support pin function control using GPIO

2012-08-09 Thread Wolfgang Denk
Dear Nobuhiro Iwamatsu, In message <1341471662-1157-3-git-send-email-nobuhiro.iwamatsu...@renesas.com> you wrote: > Renesas SH and R-Mobile set up device using PFC. > This provide the framework. Most codes were brought from linux kernel. ... > +static void config_reg_helper(struct pinmux_info *gp

Re: [U-Boot] [PATCH v2 1/5] arm: rmobile: Add basic support for Renesas R-Mobile

2012-08-09 Thread Wolfgang Denk
Dear Nobuhiro Iwamatsu, In message <1341471662-1157-1-git-send-email-nobuhiro.iwamatsu...@renesas.com> you wrote: > This patch adds minimum support for R-Mobile. Only minimal support with timer. > This CPU can uses the peripheral of Renesas SuperH. > > Signed-off-by: Nobuhiro Iwamatsu Checkpat

Re: [U-Boot] [PATCH 2/5] arm: rmobile: Add support Renesas SH73A0

2012-08-09 Thread Wolfgang Denk
Dear Nobuhiro Iwamatsu, In message <1341471662-1157-2-git-send-email-nobuhiro.iwamatsu...@renesas.com> you wrote: > Renesas SH73A0 is CPU with Cortex-A9. > This supports the basic register definition and GPIO. > --- a/arch/arm/cpu/armv7/rmobile/Makefile > +++ b/arch/arm/cpu/armv7/rmobile/Makefil

Re: [U-Boot] [PATCH V3 1/3] imx-common/cmd_resetmode.c: add imx resetmode command

2012-08-09 Thread Troy Kisky
On 8/9/2012 12:21 AM, Stefano Babic wrote: On 09/08/2012 03:26, Troy Kisky wrote: This is useful for forcing the ROM's usb downloader to activate upon a watchdog reset. Or, you can boot from either SD Card. Hi Troy, Currently, support added for MX53 and MX6Q Signed-off-by: Troy Kisky Note:

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

2012-08-09 Thread Wolfgang Denk
Dear Nobuhiro Iwamatsu, In message you wrote: > > are available in the git repository at: > > > git://git.denx.de/u-boot-sh.git master > > for you to fetch changes up to d61678e096bbb15d46bb297f98abbd903589c118: > > serial: sh: Add support Renesas R8A7740 (2012-08-08 09:52:06 +0900) >

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

2012-08-09 Thread Wolfgang Denk
Dear Nobuhiro Iwamatsu, In message you wrote: > Dear Wolfgang Denk. > > Please pull from git://git.denx.de/u-boot-sh master. > > Best regards, > Nobuhiro > > The following changes since commit 6d36121b878a3ccbbff7f60a02109e8c8d81dd0f: > > Merge branch 'master' of git://git.denx.de/u-boot

Re: [U-Boot] Please pull u-boot-mpc85xx.git

2012-08-09 Thread Wolfgang Denk
Dear Andy Fleming, In message <1344471771-17485-1-git-send-email-aflem...@freescale.com> you wrote: > powerpc/82xx: adapt SDRAM settings for mgcoge3ne (2012-07-31 22:36:38 +0200) > > are available in the git repository at: > > git://www.denx.de/git/u-boot-mpc85xx.git master > > for you to f

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

2012-08-09 Thread Wolfgang Denk
Dear Nobuhiro Iwamatsu, In message you wrote: > > > are available in the git repository at: > > git://git.denx.de/u-boot-sh.git master > > for you to fetch changes up to d764c5043d6d72e012f3e50092344ebd57a0c242: > > sh: Add support pin function control using GPIO (2012-08-08 10:24:41 +0

Re: [U-Boot] [RFC PATCH 0/5] Port of MUSB gadget driver from Linux

2012-08-09 Thread Marek Vasut
Dear Ilya Yanok, > Current MUSB driver in U-Boot uses old UDC API while new gagdet > client drivers need new gadget API. Also current MUSB driver has > some significant limitations (like inability to handle tx for > endpoints other than ep0). So I think port of new Linux driver is > desirable. >

Re: [U-Boot] [PATCH] MAKEALL: Allow empty ERR directory

2012-08-09 Thread Wolfgang Denk
Dear Andy Fleming, In message <1344471150-17020-1-git-send-email-aflem...@freescale.com> you wrote: > If we build everything correctly with multiple builds, and an > ERR directory had been previously created, we failed to report > that everything was fine because grep failed to find anything > in

Re: [U-Boot] [RFC PATCH 0/5] Port of MUSB gadget driver from Linux

2012-08-09 Thread Wolfgang Denk
Dear Marek Vasut, In message <201208092115.16264.marek.va...@gmail.com> you wrote: > > I hate to say it ... but given that this will cause duplication of code, I'm > somehow inclined to push you to do a complete replacement of the old musb > code, > remove it and add this. Agreed, we should a

Re: [U-Boot] [PATCH V3 1/3] imx-common/cmd_resetmode.c: add imx resetmode command

2012-08-09 Thread Eric Nelson
On 08/09/2012 11:48 AM, Troy Kisky wrote: On 8/9/2012 12:21 AM, Stefano Babic wrote: On 09/08/2012 03:26, Troy Kisky wrote: >>> >>> +int do_bootmmc0(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) +{ + return do_resetmode_cmd("mmc0"); +} + +int do_bootmmc1(cmd_tbl_t *cmdtp, int f

Re: [U-Boot] [PATCH v3] global_data: unify global flag defines

2012-08-09 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1332117084-25486-1-git-send-email-vap...@gentoo.org> you wrote: > All the global flag defines are the same across all arches. So unify them > in one place, and add a simple way for arches to extend for their needs. > > Signed-off-by: Mike Frysinger > --- > v3 >

Re: [U-Boot] [PATCH] config: Always use GNU ld

2012-08-09 Thread Otavio Salvador
On Sat, Aug 4, 2012 at 7:31 PM, Otavio Salvador wrote: > On Thu, Aug 2, 2012 at 2:49 PM, Mike Frysinger wrote: >> On Thursday 02 August 2012 12:19:34 Otavio Salvador wrote: >>> This patch makes sure that we always use the GNU ld. U-Boot uses certain >>> construct e.g. OVERLAY which are not implem

Re: [U-Boot] [PATCH 1/2] doc/git-mailrc: Add 'rmobile' alias

2012-08-09 Thread Mike Frysinger
On Thursday 09 August 2012 10:30:23 Nobuhiro Iwamatsu wrote: > --- a/doc/git-mailrc > +++ b/doc/git-mailrc > > alias tegra uboot, Simon Glass , Tom Warren > alias ti uboot, Tom Rini > +alias rmobileuboot, iwamatsu please keep it sorted -mike signature.asc Descript

Re: [U-Boot] [PATCH 1/8] EXT2: Indent cleanup of dev.c

2012-08-09 Thread Wolfgang Denk
Dear Marek Vasut, In message <1339176713-13309-2-git-send-email-ma...@denx.de> you wrote: > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > --- > fs/ext2/dev.c | 74 > +++-- > 1 file changed, 35 insertions(+), 39 deletions(-) > > diff --g

Re: [U-Boot] [PATCH 2/8] EXT2: Indent cleanup ext2fs.c

2012-08-09 Thread Wolfgang Denk
Dear Marek Vasut, In message <1339176713-13309-3-git-send-email-ma...@denx.de> you wrote: > * Mostly cleanup problems reported by checkpatch.pl -f > * Minor tweaks where it simplified the code > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > --- > fs/ext2/ext2fs.c | 264 > +++

Re: [U-Boot] [PATCH] Malloc: Fix -Wundef warnings

2012-08-09 Thread Wolfgang Denk
Dear Marek Vasut, In message <1333049295-13349-1-git-send-email-marek.va...@gmail.com> you wrote: > In file included from arch/arm/lib/board.c:43:0: > include/malloc.h:490:5: warning: "HAVE_MMAP" is not defined [-Wundef] > include/malloc.h:590:5: warning: "HAVE_USR_INCLUDE_MALLOC_H" is not defined

Re: [U-Boot] [PATCH V3 1/3] imx-common/cmd_resetmode.c: add imx resetmode command

2012-08-09 Thread stefano babic
Am 09/08/2012 20:48, schrieb Troy Kisky: >> Maybe I am searching in wrong places. Where can I find the description >> for the feature you have implemented ? > > The only documentations I've found are in the freescale release of u-boot. > cpu/arm_cortexa8/mx53/generic.c > > void do_switch_mfgmode

Re: [U-Boot] [PATCH v3 1/4] Add run_command_list() to run a list of commands

2012-08-09 Thread Wolfgang Denk
Dear Simon Glass, In message <1333179058-19598-1-git-send-email-...@chromium.org> you wrote: > This new function runs a list of commands separated by semicolon or newline. > We move this out of cmd_source so that it can be used by other code. The > PXE code also uses the new function. > > Suggest

Re: [U-Boot] [PATCH v3 2/4] Allow newlines within command environment vars

2012-08-09 Thread Wolfgang Denk
Dear Simon Glass, In message <1333179058-19598-2-git-send-email-...@chromium.org> you wrote: > Any environment variable can hold commands to be executed by the 'run' > command. The environment variables preboot, bootcmd and menucmd have > special code for triggering execution in certain circumstan

Re: [U-Boot] [PATCH v3 4/4] sandbox: Add basic test for command execution

2012-08-09 Thread Wolfgang Denk
Dear Simon Glass, In message <1333179058-19598-4-git-send-email-...@chromium.org> you wrote: > Since run_command() and run_command_list() are important and a little > confusing, add some basic tests to check that the behaviour is correct. > > Note: I am not sure that this should be committed, nor

Re: [U-Boot] [PATCH] UBIFS: Improve error message when reading superblock failed

2012-08-09 Thread Wolfgang Denk
Dear Thomas Weber, In message <167914-20461-1-git-send-email-we...@corscience.de> you wrote: > From: Bernhard Walle > > In addition to the error message also display the error code. I had the > problem that my malloc memory was not enough (ENOMEM), and if u-boot > had displayed the error cod

Re: [U-Boot] [PATCH v3 0/6] env: handle special variables and selective env default

2012-08-09 Thread Wolfgang Denk
Dear Gerlando Falauto, In message <191204-16318-1-git-send-email-gerlando.fala...@keymile.com> you wrote: > This patchset modifies the handling of all the operations on the environment > (set/import/default) so to unify handling of special variables. > On top of that we implement a selective

Re: [U-Boot] [PATCH] sc_sps_1: Adjust board config to use 'mxs' SoC code

2012-08-09 Thread Marek Vasut
Dear Stefano Babic, > On 09/08/2012 16:12, Otavio Salvador wrote: > > Fix build failure due the move of mx28 code to 'mxs' SoC. > > > > Signed-off-by: Otavio Salvador > > --- > > > > board/schulercontrol/sc_sps_1/sc_sps_1.c |4 ++-- > > board/schulercontrol/sc_sps_1/spl_boot.c |4 ++--

Re: [U-Boot] [PATCH] powerpc:Fix return type & parameter passed for I/O functions

2012-08-09 Thread Wolfgang Denk
Dear Prabhakar Kushwaha, In message <1334134139-421-1-git-send-email-prabha...@freescale.com> you wrote: > Return type of in_8, in_be16 and in_le16 should not be'int'. Update it to type > u8/u16/u32. > Although 'unsigned' for in_be32 and in_le32 is correct. But to make return > type > uniform acr

Re: [U-Boot] [PATCH] powerpc: Fix declaration type for I/O functions

2012-08-09 Thread Wolfgang Denk
Dear Prabhakar Kushwaha, In message <1334134152-456-1-git-send-email-prabha...@freescale.com> you wrote: > Prototype declaration of I/O operation functions are not correct. as both > 'extern' and function definition are at same place. > > Chage protoype declaration as static. > > Signed-off-by:

Re: [U-Boot] [PATCH 3/8] Build: Ignore build tree and IDE control file

2012-08-09 Thread Wolfgang Denk
Dear "Timo Ketola", In message <1334223234-23383-4-git-send-email-t...@exertus.fi> you wrote: > Signed-off-by: Timo Ketola > --- > .gitignore |4 > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/.gitignore b/.gitignore > index e4e95e2..3f5eaa7 100644 > --- a/.gitigno

Re: [U-Boot] [PATCH] configs: Remove unused symbol CONFIG_DISCOVER_PHY

2012-08-09 Thread Wolfgang Denk
Dear Fabio Estevam, In message <1334332296-17526-1-git-send-email-fabio.este...@freescale.com> you wrote: > CONFIG_DISCOVER_PHY is not used anywhere, so remove it from config files. > > Signed-off-by: Fabio Estevam > --- > include/configs/flea3.h|1 - > include/configs/m28evk.h |

Re: [U-Boot] [PATCH] Add doc/README.kbd

2012-08-09 Thread Wolfgang Denk
Dear Eric Nelson, In message <1334591288-22859-1-git-send-email-eric.nel...@boundarydevices.com> you wrote: > Signed-off-by: Eric Nelson > > --- > doc/README.kbd | 84 > > 1 files changed, 84 insertions(+), 0 deletions(-) > create mo

Re: [U-Boot] [PATCH 1/5] pxa255: Add UDC registers definitions

2012-08-09 Thread Marek Vasut
Dear Łukasz Dałek, > This patch starts series of patches adding support for USB support on > PXA255 chips. > > Signed-off-by: Łukasz Dałek > --- > arch/arm/include/asm/arch-pxa/pxa-regs.h | 247 > ++ 1 files changed, 247 insertions(+), 0 > deletions(-) > > diff --gi

Re: [U-Boot] [PATCH 2/5] drivers/usb/gadget/Makefile: Add UDC ACM and Ether

2012-08-09 Thread Marek Vasut
Dear Łukasz Dałek, > Compile USB ttyACM and Ethernet drivers on pxa255. > > Signed-off-by: Łukasz Dałek > --- > drivers/usb/gadget/Makefile |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > Squash with 3/5, remove the path from subject Best regards, Marek Vasut

Re: [U-Boot] [PATCH] fix IDE_BUS(dev) macro

2012-08-09 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message you wrote: > Sorry Luka (and all), been tied up pretty heavily recently, had to > adjust to find some free time again. > > I will test your patch today and post results tonight. What was the outcome of this? I cannot find any further messages to this thread...

  1   2   >