Re: [U-Boot] [PATCH 2/2] Changes to move hawkboard to the new infrastructure.

2012-01-10 Thread Christian Riesch
Hi Sughosh and Tom, On Tuesday, January 10, 2012, Sughosh Ganu urwithsugh...@gmail.com wrote: On Mon Jan 09, 2012 at 04:30:56PM -0700, Tom Rini wrote: On 01/09/2012 11:28 AM, Sughosh Ganu wrote: snip --- a/arch/arm/cpu/arm926ejs/davinci/Makefile +++

Re: [U-Boot] [PATCH] da850evm: drop NET_MULTI reference

2012-01-10 Thread Christian Riesch
Hi, On Tue, Jan 10, 2012 at 8:13 AM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: remove obsolete macro CONFIG_NET_MULTI, Now that none of the core checks CONFIG_NET_MULTI, there's not much point in boards defining it. Signed-off-by: Prabhakar Lad prabhakar.cse...@gmail.com Cc: Mike

Re: [U-Boot] [PATCH 2/2] Changes to move hawkboard to the new infrastructure.

2012-01-10 Thread Sughosh Ganu
hi Christian, On Tue Jan 10, 2012 at 09:15:14AM +0100, Christian Riesch wrote: Hi Sughosh and Tom, On Tuesday, January 10, 2012, Sughosh Ganu urwithsugh...@gmail.com wrote: On Mon Jan 09, 2012 at 04:30:56PM -0700, Tom Rini wrote: On 01/09/2012 11:28 AM, Sughosh Ganu wrote: snip

Re: [U-Boot] [PATCH] da850evm: drop NET_MULTI reference

2012-01-10 Thread Prabhakar Lad
Christian, Oops my Bad , didn't notice it. Regards, --Prabhakar Lad On Tue, Jan 10, 2012 at 2:09 PM, Christian Riesch christian.rie...@omicron.at wrote: Hi, On Tue, Jan 10, 2012 at 8:13 AM, Prabhakar Lad prabhakar.cse...@gmail.com wrote: remove obsolete macro CONFIG_NET_MULTI, Now that

[U-Boot] [PATCH v3 0/3] ARMV7: Exynos4: Add support for TRATS board

2012-01-10 Thread HeungJun, Kim
This patch series support for Samsung TRATS board, and add the headers of watchdog and power. I missed logs of v2 on this thread, so I'm going to add this: http://lists.denx.de/pipermail/u-boot/2012-January/114857.html Also, this patch is tested on Samsung TRATS board. Thank you. Best Regards,

[U-Boot] [PATCH v3 1/3] ARMV7: Exynos4: Add watchdog.h for Exynos4

2012-01-10 Thread HeungJun, Kim
This patch add watchdog.h for Exynos4 Signed-off-by: HeungJun, Kim riverful@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/include/asm/arch-exynos/watchdog.h | 53 +++ 1 files changed, 53 insertions(+), 0 deletions(-) create mode

[U-Boot] [PATCH v3 2/3] ARMV7: Exynos4: Add supoort power for Exynos4

2012-01-10 Thread HeungJun, Kim
This patch adds power.h and SAMSUNG_BASE() macro for using Exynos4 power. Signed-off-by: HeungJun, Kim riverful@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/include/asm/arch-exynos/cpu.h |1 + arch/arm/include/asm/arch-exynos/power.h | 230

[U-Boot] [PATCH v3 3/3] ARMV7: Exynos4: Add support for TRATS board

2012-01-10 Thread HeungJun, Kim
This patch adds support for Samsung TRATS board Signed-off-by: HeungJun, Kim riverful@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- MAINTAINERS |4 + board/samsung/trats/Makefile | 43 ++ board/samsung/trats/trats.c | 349

Re: [U-Boot] add nand spl boot for qi_lb60 board

2012-01-10 Thread Xiangfu Liu
On 01/07/2012 03:05 AM, Scott Wood wrote: forget add CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST to board configure head file. That still doesn't explain how a few duplicate externs changed the resulting binary... yes. strange. have no idea about this. when I have time I will compare the binary

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-10 Thread HeungJun, Kim
Hi Chander Kashyap, I'm going to share the status of size. The case of assemble code: textdata bss dec hex filename 1929 20 121961 7a9 board/samsung/trats/libtrats.o 912 0 0 912 390 board/samsung/trats/lowlevel_init.o 1017 20

Re: [U-Boot] [PATCH 2/2] Changes to move hawkboard to the new infrastructure.

2012-01-10 Thread Heiko Schocher
Hello Sughosh, Christian, Tom, Sughosh Ganu wrote: hi Christian, On Tue Jan 10, 2012 at 09:15:14AM +0100, Christian Riesch wrote: Hi Sughosh and Tom, On Tuesday, January 10, 2012, Sughosh Ganu urwithsugh...@gmail.com wrote: On Mon Jan 09, 2012 at 04:30:56PM -0700, Tom Rini wrote: On

Re: [U-Boot] [PATCH v3 1/7] drivers/i2c/omap24xx_i2c.c: replace printf with one argument by puts

2012-01-10 Thread Heiko Schocher
Hello Andreas, Andreas Müller wrote: Signed-off-by: Andreas Müller schnitzelt...@gmx.de --- drivers/i2c/omap24xx_i2c.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) Acked-by: Heiko Schocher h...@denx.de bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang

Re: [U-Boot] [PATCH v3 4/7] drivers/i2c/omap24xx_i2c.c: move all local variables to SRAM

2012-01-10 Thread Heiko Schocher
Hello Andreas, Andreas Müller wrote: At old overo boards TWL4030 RTC irq is connected to gpio112. Unfortunately this pin is also used for revision detection. Therefore we need to send shut-up to TWL4030 to avoid reading wrong revision. In SPL this must be done before SDRAM is set up because

Re: [U-Boot] [PATCH 2/2] Changes to move hawkboard to the new infrastructure.

2012-01-10 Thread Sughosh Ganu
hi Heiko, On Tue Jan 10, 2012 at 10:42:08AM +0100, Heiko Schocher wrote: Hello Sughosh, Christian, Tom, Sughosh Ganu wrote: I see a CONFIG_MACH_DAVINCI_* like define in da850evm.h and hawkboard.h. Should i add a similar define for cam_enc_4xx, and use these instead. Actually the

[U-Boot] [PATCH] imx: mx6q: add aipstz init for off platform periph

2012-01-10 Thread Jason Liu
Init peripheral access control register of AIPSTZ OPACRx: Buffer Writes(BW): 0 - not bufferable, Supervisor Protect(SP): 0 - not require supervisor privilege level for accesses. Write Protect(WP): 0 - allows write accesses. Trusted Protect(TP):0 - allows unstrusted master

Re: [U-Boot] [PATCH] eth: remove usb-ethernet devices before re-enumerating them

2012-01-10 Thread Marek Vasut
On 01/09/2012 10:08 PM, Vincent Palatin wrote: On Mon, Jan 9, 2012 at 12:57, Marek Vasut marek.va...@gmail.com wrote: Fix the crash when running several times usb_init() with a USB ethernet device plugged. Signed-off-by: Vincent Palatin vpala...@chromium.org Tested-by: Wolfgang

Re: [U-Boot] [PATCH] M28EVK: Fix build if CONFIG_CMD_NAND not selected

2012-01-10 Thread Marek Vasut
Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de --- include/configs/m28evk.h |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index

Re: [U-Boot] [PATCH] M28EVK: Fix build if CONFIG_CMD_NAND not selected

2012-01-10 Thread Fabio Estevam
Hi Marek, On Sun, Jan 1, 2012 at 2:28 AM, Marek Vasut marek.va...@gmail.com wrote: Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de ---  include/configs/m28evk.h |    4 +++-  1 files changed, 3 insertions(+), 1 deletions(-)

Re: [U-Boot] [PATCH] M28EVK: Fix build if CONFIG_CMD_NAND not selected

2012-01-10 Thread Marek Vasut
Hi Marek, On Sun, Jan 1, 2012 at 2:28 AM, Marek Vasut marek.va...@gmail.com wrote: Signed-off-by: Marek Vasut marek.va...@gmail.com Cc: Wolfgang Denk w...@denx.de Cc: Stefano Babic sba...@denx.de --- include/configs/m28evk.h |4 +++- 1 files changed, 3 insertions(+), 1

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-10 Thread Chander Kashyap
Hi Kyungmin Park, On 10 January 2012 10:42, Kyungmin Park kmp...@infradead.org wrote: On 1/10/12, Chander Kashyap chander.kash...@linaro.org wrote: Dear Simon, On 9 January 2012 23:25, Simon Glass s...@chromium.org wrote: Hi Chander, On Sun, Jan 8, 2012 at 10:40 PM, Chander Kashyap

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-10 Thread Chander Kashyap
Dear Wolfgang Denk, On 10 January 2012 11:05, Wolfgang Denk w...@denx.de wrote: Dear Chander Kashyap, In message CANuQgHEWBf3ssfoLN6AqAU=kgstvegttakuntvnimu0jnua...@mail.gmail.com you wrote: Are you planning to reimplement most of these two files in C as per Wolfgang's comments on the

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-10 Thread Chander Kashyap
Hi HeungJun, On 10 January 2012 14:50, HeungJun, Kim riverful@samsung.com wrote: Hi Chander Kashyap, I'm going to share the status of size. The case of assemble code: text    data     bss     dec     hex filename   1929      20      12    1961     7a9 board/samsung/trats/libtrats.o    

[U-Boot] [PATCH 2/8] powerpc/env: Correct the compilation errors when defined CONFIG_ENV_IS_NOWHERE

2012-01-10 Thread Liu Gang
When defined CONFIG_ENV_IS_NOWHERE, there will be some compilation errors: ./common/env_nowhere.o: In function `env_relocate_spec': ./common/env_nowhere.c:38: multiple definition of `env_relocate_spec' ./common/env_flash.o: ./common/env_flash.c:326: first defined here ./common/env_nowhere.o: In

[U-Boot] [PATCH 6/8] powerpc/boot: Slave uploads ucode when boot from SRIO

2012-01-10 Thread Liu Gang
When boot from SRIO, slave's ucode can be stored in master's memory space, then slave can fetch the ucode image through SRIO interface. Master needs to: 1. Put the slave's ucode image into it's own memory space. 2. Set an inbound SRIO window covered slave's ucode stored in

[U-Boot] [PATCH 3/8] powerpc/boot: Document for the boot from SRIO

2012-01-10 Thread Liu Gang
This document describes the implementation of the boot from SRIO, includes the introduction of envionment, an example based on P4080DS platform, an example of the slave's RCW, and the description about how to use this feature. Signed-off-by: Liu Gang gang@freescale.com ---

[U-Boot] [PATCH 4/8] powerpc/boot: Master module for boot from SRIO

2012-01-10 Thread Liu Gang
For the powerpc processors with SRIO interface, boot location can be configured from SRIO1 or SRIO2 by RCW. The processor booting from SRIO can do without flash for u-boot image. The image can be fetched from another processor's memory space by SRIO link connected between them. The processor

[U-Boot] [PATCH 1/8] powerpc/srio: Correct the register defined errors in the struct ccsr_rio_t

2012-01-10 Thread Liu Gang
Many registers were not defined in the struct ccsr_rio_t in the file arch/powerpc/include/asm/immap_85xx.h. For example it lacks registers from offset 0xc0600 to 0xd0160. Accordingly, some register's offset need to be modified in the struct. In addition, add the register's offset in the comments.

[U-Boot] [PATCH 5/8] powerpc/boot: Slave module for boot from SRIO

2012-01-10 Thread Liu Gang
For the powerpc processors with SRIO interface, boot location can be configured from SRIO1 or SRIO2 by RCW. The processor booting from SRIO can do without flash for u-boot image. The image can be fetched from another processor's memory space by SRIO link connected between them. The processor

[U-Boot] [PATCH 7/8] powerpc/boot: Slave reads ENV from master when boot from SRIO

2012-01-10 Thread Liu Gang
When boot from SRIO, slave's ENV can be stored in master's memory space, then slave can fetch the ENV through SRIO interface. NOTE: Because the slave can not erase, write master's Norflash by SRIO interface, so it can not modify the ENV parameters stored in master's Norflash

[U-Boot] [PATCH 8/8] powerpc/boot: Slave core in holdoff when boot from SRIO

2012-01-10 Thread Liu Gang
When boot from SRIO, slave's core can be in holdoff after powered on for some specific requirements. Master can release the slave's core at the right time by SRIO interface. Master needs to: 1. Set outbound SRIO windows in order to configure slave's registers for the core's

[U-Boot] [PATCH] arm, davinci: Add support for the Calimain board from OMICRON electronics

2012-01-10 Thread Christian Riesch
This patch adds support for the Calimain board from OMICRON electronics GmbH. The board features a Texas Instruments AM1808 SoC, 128 MB DDR2 memory, and 64 MB NOR flash memory connected to CS2 and CS3. Signed-off-by: Christian Riesch christian.rie...@omicron.at --- MAINTAINERS

Re: [U-Boot] [PATCH 13/15] New board support: Nokia RX-51 aka N900

2012-01-10 Thread Pali Rohár
On Tuesday 03 January 2012 09:05:17 Tom Rini wrote: On Sun, Dec 18, 2011 at 2:34 PM, Pali Rohár pali.ro...@gmail.com wrote: This board definition results in a u-boot.bin which can be chainloaded from NOLO in qemu or on a real N900. It does very little hardware config because NOLO has

Re: [U-Boot] [PATCH 13/15] New board support: Nokia RX-51 aka N900

2012-01-10 Thread Tom Rini
On Tue, Jan 10, 2012 at 6:14 AM, Pali Rohár pali.ro...@gmail.com wrote: On Tuesday 03 January 2012 09:05:17 Tom Rini wrote: On Sun, Dec 18, 2011 at 2:34 PM, Pali Rohár pali.ro...@gmail.com wrote: This board definition results in a u-boot.bin which can be chainloaded from NOLO in qemu or on a

[U-Boot] [PATCH v3] add nand spl boot for qi_lb60 board

2012-01-10 Thread Xiangfu Liu
Signed-off-by: Xiangfu Liu xian...@openmobilefree.net --- Changes for v2: -Add CONFIG_SYS_NAND_4BIT_HW_ECC_OOBFIRST -Cleanup jz4740_nand.c a little Changes for v3: -Remove CONFIG_NAND_SPL_TEXT_BASE, fix the wrong TEXT base under SPL u-boot.lds -Remove overcomplicated 'dd', pad to 32KB SPL

Re: [U-Boot] [PATCH v2] add nand spl boot for qi_lb60 board

2012-01-10 Thread Xiangfu Liu
Hi Scott thanks for your comments. PATCH v3 have sent out for you to review. On 01/07/2012 06:36 AM, Scott Wood wrote: We are transitioning from nand_spl/ to spl/. Please try to work within the new infrastructure. You may run into problems with size in spl/, due to gc-sections not removing

Re: [U-Boot] [PATCH v2 1/4] ehci-omap: Clean up added ehci-omap.c

2012-01-10 Thread Marek Vasut
From: Govindraj.R govindraj.r...@ti.com Clean up added ehci-omap.c and make it generic for re-use across soc having same ehci ip block. Also pass the modes to be configured and configure the ports accordingly. All usb layers are not cache aligned till then keep cache off for usb ops as ehci

Re: [U-Boot] [PATCH 2/8] powerpc/env: Correct the compilation errors when defined CONFIG_ENV_IS_NOWHERE

2012-01-10 Thread Tabi Timur-B04825
On Tue, Jan 10, 2012 at 5:42 AM, Liu Gang gang@freescale.com wrote: There will be a confict if defined CONFIG_ENV_IS_NOWHERE and CONFIG_ENV_IS_IN_FLASH. This doesn't make any sense. How can the environment be nowhere *and* also in flash, at the same time? -- Timur Tabi Linux kernel

Re: [U-Boot] [PATCH 5/8] powerpc/boot: Slave module for boot from SRIO

2012-01-10 Thread Tabi Timur-B04825
On Tue, Jan 10, 2012 at 5:42 AM, Liu Gang gang@freescale.com wrote: +#define CONFIG_SYS_QE_FMAN_FW_IN_REMOTE +#define CONFIG_SYS_QE_FMAN_FW_ADDR     0 Where is CONFIG_SYS_QE_FMAN_FW_IN_REMOTE documented? And where is the code that uses it? -- Timur Tabi Linux kernel developer at

Re: [U-Boot] [PATCH 6/8] powerpc/boot: Slave uploads ucode when boot from SRIO

2012-01-10 Thread Tabi Timur-B04825
On Tue, Jan 10, 2012 at 5:42 AM, Liu Gang gang@freescale.com wrote: When boot from SRIO, slave's ucode can be stored in master's memory space, then slave can fetch the ucode image through SRIO interface. What kind of ucode is this? Fman or QE? + +       /* configure inbound window for

Re: [U-Boot] [PATCH] sdhc_boot: Introduce CONFIG_FSL_FIXED_MMC_LOCATION option

2012-01-10 Thread Fabio Estevam
Andy, Any comment about this patch? Without this patch we get corrupted SD cards after trying to store env vars on several i.MX boards. Regards, Fabio Estevam On Thu, Dec 29, 2011 at 9:54 AM, Fabio Estevam feste...@gmail.com wrote: Kumar/Andy, On Thu, Dec 29, 2011 at 7:47 AM, Stefano Babic

Re: [U-Boot] [PATCH 07/14] tegra: Add PMU to manage power supplies

2012-01-10 Thread Stephen Warren
On 12/26/2011 12:33 PM, Simon Glass wrote: From: Jimmy Zhang jimmzh...@nvidia.com Power supplies must be adjusted in line with clock frequency. This code provides a simple routine to set the voltage to allow operation at maximum frequency. Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH 08/14] tegra: Set up PMU for Nvidia boards

2012-01-10 Thread Stephen Warren
On 12/26/2011 12:33 PM, Simon Glass wrote: Adjust PMU to permit maximum frequency operation. ... diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c ... +#ifdef CONFIG_TEGRA2_I2C + i2c_init_board(); + +#ifdef CONFIG_TEGRA_PMU + pmu_set_nominal(); +#endif +#endif

Re: [U-Boot] [PATCH v2 5/9] sandbox: sort header files in os.c

2012-01-10 Thread Mike Frysinger
On Monday 09 January 2012 17:25:15 Simon Glass wrote: --- a/arch/sandbox/cpu/os.c +++ b/arch/sandbox/cpu/os.c +#include errno.h #include fcntl.h +#include os.h #include stdlib.h #include termios.h -#include unistd.h #include time.h -#include errno.h -#include sys/types.h

Re: [U-Boot] [PATCH v2] add nand spl boot for qi_lb60 board

2012-01-10 Thread Scott Wood
On 01/10/2012 09:13 AM, Xiangfu Liu wrote: Hi Scott thanks for your comments. PATCH v3 have sent out for you to review. On 01/07/2012 06:36 AM, Scott Wood wrote: We are transitioning from nand_spl/ to spl/. Please try to work within the new infrastructure. You may run into problems with

Re: [U-Boot] [PATCH] da850evm: drop NET_MULTI reference

2012-01-10 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-10 Thread Sughosh Ganu
The current implementation invalidates the cache instead of flushing it. This causes problems on platforms where the spl/u-boot is already loaded to the RAM, with caches enabled by a first stage bootloader. The V bit of the cp15's control register c1 is set to the value of VINITHI on reset. Do

[U-Boot] [PATCH 2/2 V2] Changes to move hawkboard to the new spl infrastructure.

2012-01-10 Thread Sughosh Ganu
This patch moves hawkboard to the new spl infrastructure from the older nand_spl one. Removed the hawkboard_nand_config build option -- The spl code now gets compiled with hawkboard_config, after building the main u-boot image, using the CONFIG_SPL_TEXT_BASE. Modified the README.hawkboard to

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-10 Thread Mike Frysinger
On Monday 09 January 2012 16:27:44 Scott Wood wrote: On 01/09/2012 03:21 PM, Mike Frysinger wrote: On Monday 09 January 2012 14:41:07 Scott Wood wrote: Unless/until the toolchain can properly GC anonymous strings, I think finer-grained conditional compilation is the way to go. i think

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-10 Thread Mike Frysinger
On Monday 09 January 2012 16:25:41 Tom Rini wrote: On Mon, Jan 9, 2012 at 2:23 PM, Tom Rini tom.r...@gmail.com wrote: On Mon, Jan 9, 2012 at 2:21 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 09 January 2012 14:41:07 Scott Wood wrote: Unless/until the toolchain can properly GC

Re: [U-Boot] [PATCH 09/14] tegra: Add warmboot implementation

2012-01-10 Thread Stephen Warren
On 12/26/2011 12:33 PM, Simon Glass wrote: From: Yen Lin ye...@nvidia.com Add code to set up the warm boot area in the Tegra CPU ready for a resume after suspend. Signed-off-by: Simon Glass s...@chromium.org How come Yen's S-o-b line is missing here? As a general comment on this patch,

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-10 Thread Tom Rini
On Tue, Jan 10, 2012 at 11:25 AM, Mike Frysinger vap...@gentoo.org wrote: On Monday 09 January 2012 16:25:41 Tom Rini wrote: On Mon, Jan 9, 2012 at 2:23 PM, Tom Rini tom.r...@gmail.com wrote: On Mon, Jan 9, 2012 at 2:21 PM, Mike Frysinger vap...@gentoo.org wrote: On Monday 09 January 2012

Re: [U-Boot] [PATCH 12/14] tegra: Set vdd_core and vdd_cpu to high

2012-01-10 Thread Stephen Warren
On 12/26/2011 12:33 PM, Simon Glass wrote: From: Jimmy Zhang jimmzh...@nvidia.com At cold boot, the default voltage supplied by pmu is not high enough to support emc to run at its highest clock frequency. The code added here is to update the default vdd_core and vdd_cpu to higher values.

Re: [U-Boot] [PATCH 13/14] tegra: Add EMC settings for Seaboard, Harmony

2012-01-10 Thread Stephen Warren
On 12/26/2011 12:33 PM, Simon Glass wrote: From: Jimmy Zhang jimmzh...@nvidia.com Set Seaboard and Harmony to optimal memory settings based on the SOC in use (T20 or T25). Signed-off-by: Simon Glass s...@chromium.org diff --git a/board/nvidia/common/emc.c b/board/nvidia/common/emc.c ...

[U-Boot] [PATCH 1/3] m28evk: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Fabio Estevam
CONFIG_NET_MULTI is not used anymore, so remove it from board file. Cc: Marek Vasut marek.va...@gmail.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/m28evk.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/m28evk.h

[U-Boot] [PATCH 2/3] efika0: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Fabio Estevam
CONFIG_NET_MULTI is not used anymore, so remove it from board file. Cc: Marek Vasut marek.va...@gmail.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/efikamx.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/efikamx.h

[U-Boot] [PATCH 3/3] flea3: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Fabio Estevam
CONFIG_NET_MULTI is not used anymore, so remove it from board file. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/flea3.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/flea3.h b/include/configs/flea3.h index

[U-Boot] [PATCH v2 2/3] efika: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Fabio Estevam
CONFIG_NET_MULTI is not used anymore, so remove it from board file. Cc: Marek Vasut marek.va...@gmail.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v1: - Fix typo in board name include/configs/efikamx.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-)

[U-Boot] [PATCH 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Doug Anderson
If you would like the old behavior of having bootm modify the bootargs to silence the linux console when CONFIG_SILENT_CONSOLE is defined, you now need to define the config CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE. A previous change already added this new config to all known users of

[U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
As discussed previously on the U-Boot mailing list (see comments on Fix fixup_silent_linux() buffer overrun patchset), relying on bootm to mangle the Linux bootargs is not a suggested way to go. We now officially deprecate it and provide a way to avoid it (but still get the other

[U-Boot] [PATCH 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
I have set this config option based on the existing usage of CONFIG_SILENT_CONSOLE. This is to support a future change deprecating the silencing of the linux console in bootm by having bootm modify the linux command-line arguments. Signed-off-by: Doug Anderson diand...@chromium.org ---

Re: [U-Boot] [PATCH 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message 1326223018-12441-2-git-send-email-diand...@chromium.org you wrote: I have set this config option based on the existing usage of CONFIG_SILENT_CONSOLE. This is to support a future change deprecating the silencing of the linux console in bootm by having bootm

Re: [U-Boot] [PATCH 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message 1326223018-12441-2-git-send-email-diand...@chromium.org you wrote: I have set this config option based on the existing usage of CONFIG_SILENT_CONSOLE. This is to support a future change deprecating the silencing of the linux console in bootm by having bootm

Re: [U-Boot] [PATCH] arm, davinci: Add support for the Calimain board from OMICRON electronics

2012-01-10 Thread Tom Rini
On Tue, Jan 10, 2012 at 5:56 AM, Christian Riesch christian.rie...@omicron.at wrote: This patch adds support for the Calimain board from OMICRON electronics GmbH. The board features a Texas Instruments AM1808 SoC, 128 MB DDR2 memory, and 64 MB NOR flash memory connected to CS2 and CS3.

Re: [U-Boot] [PATCH 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message 1326223018-12441-3-git-send-email-diand...@chromium.org you wrote: If you would like the old behavior of having bootm modify the bootargs to silence the linux console when CONFIG_SILENT_CONSOLE is defined, you now need to define the config

Re: [U-Boot] [PATCH v2 2/3] efika: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Marek Vasut
CONFIG_NET_MULTI is not used anymore, so remove it from board file. Cc: Marek Vasut marek.va...@gmail.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- Changes since v1: - Fix typo in board name include/configs/efikamx.h |1 - 1 files changed, 0 insertions(+), 1

Re: [U-Boot] [PATCH 1/3] m28evk: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Marek Vasut
CONFIG_NET_MULTI is not used anymore, so remove it from board file. Cc: Marek Vasut marek.va...@gmail.com Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/m28evk.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git

Re: [U-Boot] [PATCH 1/3] m28evk: Remove CONFIG_NET_MULTI option

2012-01-10 Thread Fabio Estevam
On Tue, Jan 10, 2012 at 5:57 PM, Marek Vasut marek.va...@gmail.com wrote: Acked-by: Marek Vasut marek.va...@gmail.com Though you should drop it from all other board files (hint: git grep CONFIG_NET_MULTI) Ok, will submit a patch for removing it from other board files. Regards, Fabio

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-10 Thread Marek Vasut
The current implementation invalidates the cache instead of flushing it. This causes problems on platforms where the spl/u-boot is already loaded to the RAM, with caches enabled by a first stage bootloader. What platforms are affected? M The V bit of the cp15's control register c1 is set

Re: [U-Boot] [PATCH 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 14:16:58 Doug Anderson wrote: --- a/README +++ b/README @@ -606,9 +606,8 @@ The following options need to be configured: environment 'console=serial'. When CONFIG_SILENT_CONSOLE is defined, all console - messages (by U-Boot

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 14:16:56 Doug Anderson wrote: As discussed previously on the U-Boot mailing list (see comments on Fix fixup_silent_linux() buffer overrun patchset), relying on bootm to mangle the Linux bootargs is not a suggested way to go. We now officially deprecate it and provide

Re: [U-Boot] [RFC PATCH 1/2] fdt: Add fdtdec_find_aliases() to deal with alias nodes

2012-01-10 Thread Stephen Warren
On 12/26/2011 03:31 PM, Simon Glass wrote: Stephen Warren pointed out that we should use nodes whether or not they have an alias in the /aliases section. The aliases section specifies the order so far as it can, but is not essential. Operating without alisses is useful when the enumerated

Re: [U-Boot] [PATCH 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
Dear Wolfgang, On Tue, Jan 10, 2012 at 11:46 AM, Wolfgang Denk w...@denx.de wrote: Hm...actually - why do we need both now?  This is ugly and makes little sense to me. Having both CONFIG_SILENT_CONSOLE and CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE separate allows us to continue to use

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
On Tue, Jan 10, 2012 at 12:18 PM, Mike Frysinger vap...@gentoo.org wrote: personally i found the current behavior useful, but the code to implement it is crappy.  oh well. Agreed. However, in the previous thread Wolfgang was of the view that the behavior of silencing linux is best achieved

Re: [U-Boot] [RFC PATCH 1/2] fdt: Add fdtdec_find_aliases() to deal with alias nodes

2012-01-10 Thread Simon Glass
Hi Stephen, On Tue, Jan 10, 2012 at 12:27 PM, Stephen Warren swar...@nvidia.com wrote: On 12/26/2011 03:31 PM, Simon Glass wrote: Stephen Warren pointed out that we should use nodes whether or not they have an alias in the /aliases section. The aliases section specifies the order so far as it

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 16:04:27 Doug Anderson wrote: I believe that you can do a script something like this (where normal_bootargs is the old bootargs without the console= part, console_args is the non-silent console settings, and old_bootcmd is the old bootcmd): it's not exactly the same

[U-Boot] [PATCH v2 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
As discussed previously on the U-Boot mailing list (see comments on Fix fixup_silent_linux() buffer overrun patchset), relying on bootm to mangle the Linux bootargs is not a suggested way to go. We now officially deprecate it and provide a way to avoid it (but still get the other

Re: [U-Boot] [RFC PATCH 1/2] fdt: Add fdtdec_find_aliases() to deal with alias nodes

2012-01-10 Thread Stephen Warren
On 01/10/2012 02:22 PM, Simon Glass wrote: Hi Stephen, On Tue, Jan 10, 2012 at 12:27 PM, Stephen Warren swar...@nvidia.com wrote: On 12/26/2011 03:31 PM, Simon Glass wrote: Stephen Warren pointed out that we should use nodes whether or not they have an alias in the /aliases section. The

[U-Boot] [PATCH v2 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
I have set this config option based on the existing usage of CONFIG_SILENT_CONSOLE. This is to support a future change deprecating the silencing of the linux console in bootm by having bootm modify the linux command-line arguments. Signed-off-by: Doug Anderson diand...@chromium.org --- Changes

Re: [U-Boot] [PATCH v2 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 16:36:20 Doug Anderson wrote: --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c +static void fixup_silent_linux(void) __attribute__ ((deprecated)); __deprecated (from linux/compiler.h) --- a/doc/README.silent +++ b/doc/README.silent

Re: [U-Boot] [PATCH v2] tegra: mmc: Support operation with dcache enabled

2012-01-10 Thread Stephen Warren
On 01/09/2012 04:20 PM, Simon Glass wrote: When the data cache is enabled we must flush on write and invalidate on read. We also check that buffers are aligned to data cache lines boundaries. With recent work in U-Boot this should generally be the case but the warnings will catch problems.

Re: [U-Boot] [PATCH v2 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Mike Frysinger
On Tuesday 10 January 2012 16:36:19 Doug Anderson wrote: include/configs/bfin_adi_common.h |1 + don't bother. we didn't enable silent=1 by default in any of the Blackfin boards. just made the functionality available to people if they wanted to test things out with it when

Re: [U-Boot] [PATCH v3] tegra2: Enable data cache

2012-01-10 Thread Stephen Warren
On 01/09/2012 04:22 PM, Simon Glass wrote: This enables the data cache on Tegra2 boards. As discussed on the list, this is better off in the Tegra2 cpu code than in a particular vendor directory. We should be safe turning on the cache for all Tegra2 boards. Signed-off-by: Simon Glass

[U-Boot] [PATCH v2 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Doug Anderson
If you would like the old behavior of having bootm modify the bootargs to silence the linux console when CONFIG_SILENT_CONSOLE is defined, you now need to define the config CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE. A previous change already added this new config to all known users of

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message CAD=FV=Wr9JNLOP_0=kugv-ao1qf6zxf4xxox3azyh3-ns3v...@mail.gmail.com you wrote: personally i found the current behavior useful, but the code to implement it is crappy.  oh well. Agreed. However, in the previous thread Wolfgang was of the view that the

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
Dear Wolfgang Denk, On Tue, Jan 10, 2012 at 2:16 PM, Wolfgang Denk w...@denx.de wrote: In which way would this approach avoid the problem (potential overflow of cmdline max size) that you are trying to fix with your patch? The overflow will be avoided on any boards that don't define

[U-Boot] [PATCH v3 0/3] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
As discussed previously on the U-Boot mailing list (see comments on Fix fixup_silent_linux() buffer overrun patchset), relying on bootm to mangle the Linux bootargs is not a suggested way to go. We now officially deprecate it and provide a way to avoid it (but still get the other

[U-Boot] [PATCH v3 1/3] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
I have set this config option based on the existing usage of CONFIG_SILENT_CONSOLE. This is to support a future change deprecating the silencing of the linux console in bootm by having bootm modify the linux command-line arguments. Signed-off-by: Doug Anderson diand...@chromium.org --- Changes

[U-Boot] [PATCH v3 3/3] config: Remove Blackfin CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Doug Anderson
As Mike Frysinger writes: We didn't enable silent=1 by default in any of the Blackfin boards Just made the functionality available to people if they wanted to test things out with it when prototyping on dev boards. Signed-off-by: Doug Anderson diand...@chromium.org --- Changes in v3: -

Re: [U-Boot] [PATCH v2] bootm: Avoid 256-byte overflow in fixup_silent_linux()

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message 1319133298-30249-1-git-send-email-diand...@chromium.org you wrote: This makes fixup_silent_linux() use malloc() to allocate its working space, meaning that our maximum kernel command line should only be limited by malloc(). Previously it was silently

Re: [U-Boot] [PATCH v2 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message 1326231380-30128-1-git-send-email-diand...@chromium.org you wrote: As discussed previously on the U-Boot mailing list (see comments on Fix fixup_silent_linux() buffer overrun patchset), relying on Please provide a link. bootm to mangle the Linux bootargs is

[U-Boot] [PATCH v3 2/3] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Doug Anderson
If you would like the old behavior of having bootm modify the bootargs to silence the linux console when CONFIG_SILENT_CONSOLE is defined, you now need to define the config CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE. A previous change already added this new config to all known users of

Re: [U-Boot] [PATCH v2 2/2] bootm: Move silencing of linux console to deprecated config option.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message 1326231380-30128-3-git-send-email-diand...@chromium.org you wrote: If you would like the old behavior of having bootm modify the bootargs to silence the linux console when CONFIG_SILENT_CONSOLE is defined, you now need to define the config

Re: [U-Boot] [PATCH v2 1/2] config: Add CONFIG_DEPRECATED_SILENT_LINUX_CONSOLE

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message 1326231380-30128-2-git-send-email-diand...@chromium.org you wrote: I have set this config option based on the existing usage of CONFIG_SILENT_CONSOLE. This is to support a future change deprecating the silencing of the linux console in bootm by having bootm

Re: [U-Boot] [PATCH v2 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
Dear Wolfgang Denk On Tue, Jan 10, 2012 at 2:30 PM, Wolfgang Denk w...@denx.de wrote: As discussed previously on the U-Boot mailing list (see comments on Fix fixup_silent_linux() buffer overrun patchset), relying on Please provide a link. Sure! This is the message I'm referring to:

Re: [U-Boot] [PATCH 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message CAD=FV=vx-bepx2idra1t1sbt2h6n9vyaytb1hytnjjtna_z...@mail.gmail.com you wrote: Dear Wolfgang Denk, On Tue, Jan 10, 2012 at 2:16 PM, Wolfgang Denk w...@denx.de wrote: In which way would this approach avoid the problem (potential overflow of cmdline max size)

Re: [U-Boot] [PATCH v2 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Wolfgang Denk
Dear Doug Anderson, In message CAD=FV=w+gerkz2lceuoyrswgvfg2qx9esh3rjjvj7kq6tjd...@mail.gmail.com you wrote: Please provide a link. Sure! This is the message I'm referring to: http://lists.denx.de/pipermail/u-boot/2011-October/106255.html. I You should do so in the commit mesage (but

Re: [U-Boot] [PATCH v2] bootm: Avoid 256-byte overflow in fixup_silent_linux()

2012-01-10 Thread Doug Anderson
Dear Wolfgang Denk, On Tue, Jan 10, 2012 at 2:28 PM, Wolfgang Denk w...@denx.de wrote: This makes fixup_silent_linux() use malloc() to allocate its working space, meaning that our maximum kernel command line should only be limited by malloc().  Previously it was silently overflowing the

Re: [U-Boot] [PATCH v2 0/2] Deprecate Linux bootargs munging with CONFIG_SILENT_CONSOLE.

2012-01-10 Thread Doug Anderson
Dear Wolfgang Denk, On Tue, Jan 10, 2012 at 2:48 PM, Wolfgang Denk w...@denx.de wrote: You should do so in the commit mesage (but judging from my current state of mind you can save the efforts for a v4). Got it. If we end up with a v4, I'll add it. I just replied to one of your earlier

Re: [U-Boot] [PATCH V4] nand_spl_simple: store ecc data on the stack

2012-01-10 Thread Scott Wood
On 12/13/2011 01:33 PM, Stefano Babic wrote: Currently nand_spl_simple puts it's temp data at 0x1 offset in SDRAM which is likely to contain already loaded data. The patch saves the oob data and the ecc on the stack replacing the fixed address in RAM. Signed-off-by: Stefano Babic

[U-Boot] [PATCH] cmd_source: introduce run_script()

2012-01-10 Thread Michael Walle
Move actual script execution into a new function run_script(), which then can be called from other modules. Signed-off-by: Michael Walle mich...@walle.cc Cc: Wolfgang Denk w...@denx.de --- common/cmd_source.c | 71 -- include/common.h|1 +

  1   2   >