Re: [U-Boot] [PATCH v4 1/9] at91: Correct CONFIG_AUTOBOOT_PROMPT definition for pm9263

2013-05-17 Thread Andreas Bießmann
Hi Simon, On 15.05.13 18:23, Simon Glass wrote: This is not currently used, since autoboot is not enabled for this board, but the string is missing a parameter. Add it. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Andreas Bießmann andreas.de...@googlemail.com --- Changes in

[U-Boot] [PATCH] cfi_flash: use CFI driver without a monitor program

2013-05-17 Thread Masahiro Yamada
When CONFIG_SYS_MONITOR_BASE is not defined and CONFIG_SYS_FLASH_BASE is defined as zero, compile failed with an error. We can work around this problem by defining CONFIG_SYS_MONITOR_BASE as any value even though a monitor program is not used. But this is not a correct way. Using CFI driver

Re: [U-Boot] [PATCH] cfi_flash: use CFI driver without a monitor program

2013-05-17 Thread Stefan Roese
On 05/17/2013 08:35 AM, Masahiro Yamada wrote: When CONFIG_SYS_MONITOR_BASE is not defined and CONFIG_SYS_FLASH_BASE is defined as zero, compile failed with an error. We can work around this problem by defining CONFIG_SYS_MONITOR_BASE as any value even though a monitor program is not used.

[U-Boot] [PATCH] board/b4860qds: Relax NOR flash teadc timing parameter

2013-05-17 Thread Prabhakar Kushwaha
Relax parameters to give address latching more time to setup. Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Based upon git://git.denx.de/u-boot.git branch master include/configs/B4860QDS.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] mx23-olinuxino: occasional memory errors

2013-05-17 Thread Tsvetan Usunov, OLIMEX Ltd
I will ask our people to check! Tsvetan - Original Message - From: Fabio Estevam feste...@gmail.com To: Tsvetan Usunov, OLIMEX Ltd usu...@olimex.com Cc: Otavio Salvador ota...@ossystems.com.br; U-Boot Mailing List u-boot@lists.denx.de; cont...@archlinuxarm.org Sent: Thursday, May 16,

Re: [U-Boot] Reading uninitialized SDRAM values on OMAP4460 (PandaBoard)

2013-05-17 Thread André Schaller
Am 09.05.2013 14:59, schrieb Sricharan R: On Wednesday 08 May 2013 06:54 PM, An Schall wrote: Hi there, my task is to output the uninitialized SDRAM values over UART during device startup. Therefore, I first searched for the code that handles the SDRAM initialization since I have to put my

[U-Boot] [PATCH] board/p1010rdb: Fix PCIe TLB creation on CONFIG_PCI define

2013-05-17 Thread Prabhakar Kushwaha
PCIe TLB should be created with CONFIG_PCI defined Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- Based upon git://git.denx.de/u-boot.git branch master This patch depends upon following patch set 1) powerpc/mpc85xx:No NOR boot, do not compile IFC errata A003399

Re: [U-Boot] [PATCH] cfi_flash: use CFI driver without a monitor program

2013-05-17 Thread Masahiro Yamada
Hello, Stefan, Thank you for your reply. Could you please explain, what a monitor program is? I don't actually know what a monitor program is. But, I just thought it is like a stab program used by GDB or something. (I am not using GDB either, but somehow I just imagined so.) You mentioned

Re: [U-Boot] [PATCH RFC] OMAP5: uEVM: Enable USB EHCI functionality (preliminary, not tested)

2013-05-17 Thread Lubomir Popov
Hi, On Thursday 16 May 2013 08:59 PM, Tom Rini wrote: On Thu, May 16, 2013 at 05:56:57PM +0300, Lubomir Popov wrote: [snip] The same U-Boot (yesterday's u-boot-ti/master), just configured for my SOM5_EVB board: U-Boot SPL 2013.04-11569-ge3db066-dirty (May 16 2013 - 16:14:17) OMAP5430

[U-Boot] [PATCH 1/1] NET: Fix system hanging if NET device is not installed

2013-05-17 Thread Jim Lin
If we try to boot from NET device, NetInitLoop in net.c will be invoked. If NET device is not installed, eth_get_dev() function will return eth_current value, which is NULL. When NetInitLoop is called, eth_get_dev-enetaddr will access restricted memory area and therefore cause hanging. This issue

[U-Boot] [PATCH v2] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-17 Thread ying.zhang
From: Ying Zhang b40...@freescale.com There was some functionality will be used in the SPL. They had been excluded by ifndef CONFIG_SPL_BUILD. Now, put it into the SPL. Signed-off-by: Ying Zhang b40...@freescale.com --- Compared with the previous version, give up new symbol and delete the line

[U-Boot] [PATCH v3] Makefile: move the common makefile line to public area

2013-05-17 Thread ying.zhang
From: Ying Zhang b40...@freescale.com Move the common makefile line shared by the SPL and non-SPL to the public area, so that we can avoid excessive SPL symbols. Some of them will be used by the SPL later. This patch is on top of the patch common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT

[U-Boot] [PATCH 0/4 V5] SMDK5250: FDT: Add device tree support for console

2013-05-17 Thread Rajeshwari Shinde
Enabled fdt support for default console on SMDK5250. Changes in V2: - Changed the compatible string to samsung,exynos4210-uart Changes in V3: - Rebased the patchset on latest u-boot-samsung branch. - Added a alias console as we will support one at any point of time.

[U-Boot] [PATCH 1/4 V5] EXYNOS5: FDT: Add compatible strings for Serial

2013-05-17 Thread Rajeshwari Shinde
Add required compatible information for s5p serial driver Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in V2: - Changed the compatible string to samsung,exynos4210-uart

[U-Boot] [PATCH 2/4 V5] EXYNOS5: FDT: Add serial device node values

2013-05-17 Thread Rajeshwari Shinde
This patch adds the device node required for serial driver Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - Changed the compatible string to samsung,exynos4210-uart Changes in V3: - Added a alias

[U-Boot] [PATCH 3/4 V5] S5P: Serial: Add fdt support to driver

2013-05-17 Thread Rajeshwari Shinde
This patch adds FDT support to the serial s5p driver. At present disabling the serial console (from the device tree) crashes U-Boot. Add checks for this case, so that execution can continue without a serial console. It also enables the serial_s5p driver recognize the silent_console option.

[U-Boot] [PATCH 4/4 V5] CONFIG: EXYNOS5: Enable silent console

2013-05-17 Thread Rajeshwari Shinde
This patch enables CONFIG_SILENT_CONSOLE for EXYNOS5. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in V2: - None Changes in V3: - None Changes in V4: - None Changes in V5: - None

Re: [U-Boot] ARM v7: Flush icache when executing a program with go

2013-05-17 Thread Henrik Nordström
fre 2013-05-17 klockan 00:13 +0200 skrev Wolfgang Denk: There is a common, architecture-independent C API that implements cache flushing/invalidation; please re-read the summary at [1] Sorry I missed that discussion. Had a bit too much mail for a while. Or maybe just punt it. If you are on

Re: [U-Boot] [PATCH v2] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-17 Thread Tom Rini
On Fri, May 17, 2013 at 05:12:19PM +0800, ying.zh...@freescale.com wrote: From: Ying Zhang b40...@freescale.com There was some functionality will be used in the SPL. They had been excluded by ifndef CONFIG_SPL_BUILD. Now, put it into the SPL. Signed-off-by: Ying Zhang

Re: [U-Boot] [PATCH v1 1/2] OMAP3+: introduce generic ABB support

2013-05-17 Thread Nishanth Menon
On 10:08-20130515, Tom Rini wrote: On Wed, May 15, 2013 at 03:42:45PM +0300, Andrii Tseglytskyi wrote: Hi, Tom, Nishant, could you please review this series ? Reviewed-by: Tom Rini tr...@ti.com I think the right thread was: PATCH v02 0/2] OMAP3+: introduce generic Adaptive Body Bias

[U-Boot] [PATCH 0/2 V2] EXYNOS: Support a delay after deactivate for SPI

2013-05-17 Thread Rajeshwari Shinde
This patch set exports the function timer_get_us and adds a delay for devices that need some time to react after spi transation finishes This patch set is based on EXYNOS: SPI: Support SPI_PREAMBLE mode link: http://patchwork.ozlabs.org/patch/229891/ Changes in V2: - Removed #ifdefine

[U-Boot] [PATCH v3 0/12] Introduce Samsung's new board Trats2

2013-05-17 Thread Piotr Wilczek
This patchset add support for a new Samsung board Trats2. The board use now new i2c framework. Support for new multi function pmic max77693 is added. This patchset depends on: commit: 8faefadb7305b95d02df38bd2ea61429d59483e5 Author: Marc Dietrich marvi...@gmx.de 2013-03-29 08:57:10

[U-Boot] [PATCH v3 01/12] pmic:max77686: add function to set voltage and mode

2013-05-17 Thread Piotr Wilczek
This patch add new functions to pmic max77686 to set voltage and mode. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com CC: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Rajeshwari Shinde

[U-Boot] [PATCH 1/2 V2] EXYNOS: Export timer_get_us() to get microsecond timer

2013-05-17 Thread Rajeshwari Shinde
This function, if implemented by the board, provides a microsecond timer. The granularity may be larger than 1us if hardware does not support this. Signed-off-by: Simon Glass s...@chromium.org Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V2: - Removed #ifdefine

[U-Boot] [PATCH v3 02/12] drivers:power:max77693: add support for new multi function pmic max77693

2013-05-17 Thread Piotr Wilczek
This patch add support for new multi function pmic max77693. The driver is split into three modules: pmic, muic and fuelgage. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Lukasz Majewski l.majew...@samsung.com --- Changes in v3:

[U-Boot] [PATCH v3 03/12] arm:exynos:gpio: fix s5p_gpio_part_max for exynos4x12

2013-05-17 Thread Piotr Wilczek
This patch fix wrong value returned by 's5p_gpio_part_max' function for Exynos4412. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- Changes in v3: None Changes in v2: - new patch

[U-Boot] [PATCH 2/2 V2] EXYNOS: SPI: Support a delay after deactivate

2013-05-17 Thread Rajeshwari Shinde
For devices that need some time to react after a spi transaction finishes, add the ability to set a delay. Implement this as a delay on the first/next transaction to avoid any delay in the fairly common case where a SPI transaction is followed by other processing. Based on: EXYNOS: SPI: Support

[U-Boot] [PATCH v3 04/12] i2c:multi_i2c: adapt file to new i2c framework

2013-05-17 Thread Piotr Wilczek
This patch change get bus macro to i2c_get_bus_num() function New macros CONFIG_SOFT_I2C_I2C8_SCL/SDA is added. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Lukasz Majewski l.majew...@samsung.com --- Changes in v3: - I2C_GET_BUS

[U-Boot] [PATCH v3 06/12] drivers:power:power_i2c: adapt file to new i2c framework

2013-05-17 Thread Piotr Wilczek
This patch repalce I2C_SET_BUS macro with i2c_set_bus_num() finction. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes in v3: - new patch Changes in v2: None drivers/power/power_i2c.c |6 ++ 1 file changed, 6

[U-Boot] [PATCH v3 07/12] driver:i2c:s3c24x0: adapt driver to new i2c framework

2013-05-17 Thread Piotr Wilczek
The s3c24x0 i2c driver is adapted to new i2c framework. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com Tested on Trats2 Tested-by: Piotr Wilczek p.wilc...@samsung.com --- Changes in v3: None Changes

[U-Boot] [PATCH v3 05/12] power: fix pmic command

2013-05-17 Thread Piotr Wilczek
This patch fix automatic i2c bus change when calling subsequent 'pmic' command on diffrent devices connected to separete i2c bus. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Lukasz Majewski l.majew...@samsung.com --- Changes in

[U-Boot] [PATCH v3 08/12] drivers:video:s6e8ax0: change data_to_send array to static

2013-05-17 Thread Piotr Wilczek
This patch change 'data_to_send' array to static to avoid unaligned access exeption on some platforms (ex Trats2). Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com CC: Anatolij Gustschin ag...@denx.de

[U-Boot] [PATCH v3 09/12] drivers:lcd: fix unaligned access on lcd

2013-05-17 Thread Piotr Wilczek
This patch replace 'le32_to_cpu' function with 'get_unaligend_le32' to avoid unaligned access exception on some ARM platforms (ex Trats2). Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Anatolij Gustschin ag...@denx.de --- Changes in

[U-Boot] [PATCH v3 10/12] samsung: trats2: add support for new board Trats2

2013-05-17 Thread Piotr Wilczek
This patch add support for a new Samsung board Trats2. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes in v3: - add Maintainer entry - changed T-flash detect pin to GPX3[3] - removed MMC_ASYNC - swiched to new i2c framework,

[U-Boot] [PATCH v3 11/12] board:VCMA9 switch to ne i2c framework

2013-05-17 Thread Piotr Wilczek
Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: David Müller d.muel...@elsoft.ch --- Changes in v3: - new patch Changes in v2: None include/configs/VCMA9.h |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH v3 12/12] board:smdk5250: switch to new i2c framework

2013-05-17 Thread Piotr Wilczek
Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Chander Kashyap k.chan...@samsung.com --- Changes in v3: - new patch Changes in v2: None board/samsung/smdk5250/smdk5250.c |2 +- include/configs/exynos5250-dt.h |8

Re: [U-Boot] [PATCH v02 2/2] OMAP5: add ABB setup for MPU voltage domain

2013-05-17 Thread Nishanth Menon
On 19:49-20130513, Andrii Tseglytskyi wrote: Patch adds a call of abb_setup() function, and proper registers definitions needed for ABB setup sequence. ABB is initialized for MPU voltage domain. Signed-off-by: Andrii Tseglytskyi andrii.tseglyts...@ti.com ---

Re: [U-Boot] [PATCH v6] Add support for Congatec Conga-QEVAl board

2013-05-17 Thread Otavio Salvador
On Thu, May 16, 2013 at 1:13 PM, SARTRE Leo lsar...@adeneo-embedded.com wrote: Add minimal support (only boot from mmc device) for the Congatec Conga-QEVAl Evaluation Carrier Board with conga-Qmx6q (i.MX6 Quad processor) module. Signed-off-by: Leo Sartre lsar...@adeneo-embedded.com Acked-by:

Re: [U-Boot] [PATCH v02 1/2] OMAP3+: introduce generic ABB support

2013-05-17 Thread Nishanth Menon
On 19:49-20130513, Andrii Tseglytskyi wrote: [...] +void abb_setup(u32 fuse, u32 ldovbb, u32 setup, u32 control, +u32 txdone, u32 txdone_mask, u32 opp) +{ + u32 abb_type_mask, opp_sel_mask; + + /* sanity check */ + if (!setup || !control || !txdone) +

Re: [U-Boot] [PATCH v3 0/9] Bring in new I2C framework

2013-05-17 Thread Piotr Wilczek
Dear Heiko, -Original Message- From: Heiko Schocher [mailto:h...@denx.de] Sent: Saturday, May 04, 2013 2:02 PM To: u-boot@lists.denx.de Cc: Heiko Schocher; Dirk Eibach; Stefan Roese; Simon Glass; Piotr Wilczek; Holger Brunck; Mike Frysinger; Stephen Warren Subject: [PATCH v3 0/9]

Re: [U-Boot] [PATCH RFC] OMAP5: uEVM: Enable USB EHCI functionality (preliminary, not tested)

2013-05-17 Thread Tom Rini
On Thu, May 16, 2013 at 09:43:27PM +0300, Lubomir Popov wrote: Hi Tom, On Thu, May 16, 2013 at 05:56:57PM +0300, Lubomir Popov wrote: [snip] The same U-Boot (yesterday's u-boot-ti/master), just configured for my SOM5_EVB board: U-Boot SPL 2013.04-11569-ge3db066-dirty (May 16 2013 -

Re: [U-Boot] [PATCH v2] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-17 Thread Zhang Ying-B40530
From: Tom Rini [tom.r...@gmail.com] on behalf of Tom Rini [tr...@ti.com] Sent: Friday, May 17, 2013 12:34 PM To: Zhang Ying-B40530 Cc: u-boot@lists.denx.de; Wood Scott-B07421; aflem...@gmail.com; Xie Xiaobo-R63061; Zhang Ying-B40530 Subject: Re: [U-Boot]

Re: [U-Boot] [PATCH v2] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-17 Thread Tom Rini
On Fri, May 17, 2013 at 02:10:49PM +, Zhang Ying-B40530 wrote: From: Tom Rini [tom.r...@gmail.com] on behalf of Tom Rini [tr...@ti.com] Sent: Friday, May 17, 2013 12:34 PM To: Zhang Ying-B40530 Cc: u-boot@lists.denx.de; Wood Scott-B07421;

Re: [U-Boot] [PATCH v2] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-17 Thread Zhang Ying-B40530
From: Tom Rini [tom.r...@gmail.com] on behalf of Tom Rini [tr...@ti.com] Sent: Friday, May 17, 2013 2:20 PM To: Zhang Ying-B40530 Cc: u-boot@lists.denx.de; aflem...@gmail.com; x...@theia.denx.de; Wood Scott-B07421 Subject: Re: [U-Boot] [PATCH v2] spl:

Re: [U-Boot] [PATCH v2] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-17 Thread Tom Rini
On Fri, May 17, 2013 at 02:26:04PM +, Zhang Ying-B40530 wrote: From: Tom Rini [tom.r...@gmail.com] on behalf of Tom Rini [tr...@ti.com] Sent: Friday, May 17, 2013 2:20 PM To: Zhang Ying-B40530 Cc: u-boot@lists.denx.de; aflem...@gmail.com;

Re: [U-Boot] [PATCH v2] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-17 Thread Zhang Ying-B40530
From: Tom Rini [tom.r...@gmail.com] on behalf of Tom Rini [tr...@ti.com] Sent: Friday, May 17, 2013 2:54 PM To: Zhang Ying-B40530 Cc: x...@theia.denx.de; u-boot@lists.denx.de; aflem...@gmail.com; w...@theia.denx.de; Wood Scott-B07421 Subject: Re: [U-Boot]

Re: [U-Boot] [PATCH v2 6/6] arm: mvf600: Add basic support for Vybrid MVF600TWR board

2013-05-17 Thread Wang Huan-B18965
Hi, Stefano, On 14/05/2013 11:51, Alison Wang wrote: MVF600TWR is a board based on Vybrid MVF600 SoC. This patch adds basic support for Vybrid MVF600TWR board. Signed-off-by: Alison Wang b18...@freescale.com Signed-off-by: Jason Jin jason@freescale.com Signed-off-by: TsiChung

Re: [U-Boot] [PATCH v2 6/6] arm: mvf600: Add basic support for Vybrid MVF600TWR board

2013-05-17 Thread Stefano Babic
On 17/05/2013 17:20, Wang Huan-B18965 wrote: Hi, Stefano, Hi Alison, +void setup_iomux_ddr(void) +{ + imx_iomux_v3_setup_multiple_pads(ddr_pads, ARRAY_SIZE(ddr_pads)); } + +void ddr_phy_init(void) +{ + struct ddrmr_regs *ddrmr = (struct ddrmr_regs *)DDR_BASE_ADDR; + +

Re: [U-Boot] [PATCH v2 6/6] arm: mvf600: Add basic support for Vybrid MVF600TWR board

2013-05-17 Thread Benoît Thébaudeau
Hi Stefano, Alison, On Friday, May 17, 2013 6:07:43 PM, Stefano Babic wrote: On 17/05/2013 17:20, Wang Huan-B18965 wrote: Hi, Stefano, Hi Alison, +void setup_iomux_ddr(void) +{ + imx_iomux_v3_setup_multiple_pads(ddr_pads, ARRAY_SIZE(ddr_pads)); } + +void ddr_phy_init(void)

Re: [U-Boot] [PATCH] fdt_support: Use CONFIG_NR_DRAM_BANKS if defined

2013-05-17 Thread Doug Anderson
Tom, On Wed, May 15, 2013 at 9:51 AM, Doug Anderson diand...@chromium.org wrote: Vadim, On Wed, May 15, 2013 at 8:58 AM, Vadim Bendebury vben...@chromium.org wrote: This is not a big deal for u-boot (maybe very marginally inefficient when determining the actual memory size). Is this a big

Re: [U-Boot] [PATCH v2] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-17 Thread Scott Wood
On 05/17/2013 10:04:12 AM, Zhang Ying-B40530 wrote: From: Tom Rini [tom.r...@gmail.com] on behalf of Tom Rini [tr...@ti.com] Sent: Friday, May 17, 2013 2:54 PM To: Zhang Ying-B40530 Cc: x...@theia.denx.de; u-boot@lists.denx.de; aflem...@gmail.com;

Re: [U-Boot] [PATCH] fdt_support: Use CONFIG_NR_DRAM_BANKS if defined

2013-05-17 Thread Tom Rini
On Fri, May 17, 2013 at 09:26:19AM -0700, Doug Anderson wrote: Tom, On Wed, May 15, 2013 at 9:51 AM, Doug Anderson diand...@chromium.org wrote: Vadim, On Wed, May 15, 2013 at 8:58 AM, Vadim Bendebury vben...@chromium.org wrote: This is not a big deal for u-boot (maybe very

Re: [U-Boot] [PATCH v2] spl: Make CONFIG_SPL_BUILD contain more functionality

2013-05-17 Thread Zhang Ying-B40530
Oh, I understand. Thanks. From: Wood Scott-B07421 Sent: Friday, May 17, 2013 4:39 PM To: Zhang Ying-B40530 Cc: Tom Rini; u-boot@lists.denx.de; aflem...@gmail.com; Wood Scott-B07421; Xie Xiaobo-R63061 Subject: Re: [U-Boot] [PATCH v2] spl: Make

Re: [U-Boot] [PATCH] fdt_support: Use CONFIG_NR_DRAM_BANKS if defined

2013-05-17 Thread Doug Anderson
Tom, On Fri, May 17, 2013 at 9:40 AM, Tom Rini tr...@ti.com wrote: I think my email must have been lost in the shuffle, see http://patchwork.ozlabs.org/patch/240687/ So yes, I've got another fix in mind that should solve this and some other problems. Saw your reply but don't completely

Re: [U-Boot] [PATCH] fdt_support: Use CONFIG_NR_DRAM_BANKS if defined

2013-05-17 Thread Tom Rini
On Fri, May 17, 2013 at 09:48:13AM -0700, Doug Anderson wrote: Tom, On Fri, May 17, 2013 at 9:40 AM, Tom Rini tr...@ti.com wrote: I think my email must have been lost in the shuffle, see http://patchwork.ozlabs.org/patch/240687/ So yes, I've got another fix in mind that should solve

Re: [U-Boot] [PATCH v2 6/6] arm: mvf600: Add basic support for Vybrid MVF600TWR board

2013-05-17 Thread Stefano Babic
On 17/05/2013 18:06, Benoît Thébaudeau wrote: Hi Stefano, Alison, Hi Benoit, BTW, what's your suggestions about the other two patches, [PATCH v2 4/6] and [PATCH v2 5/6]? Thanks. Patches 4/6 and 5/6 are ok for me. And what about my comments regarding 2/6 and 3/6? There has been no reply

Re: [U-Boot] [PATCH] fdt_support: Use CONFIG_NR_DRAM_BANKS if defined

2013-05-17 Thread Doug Anderson
Tom, On Fri, May 17, 2013 at 9:52 AM, Tom Rini tr...@ti.com wrote: Saw your reply but don't completely understand it. I think we'd still like U-Boot to populate the memory property if possible and it sounds like your patch would prevent that. One reason is that we'd like to be able to

Re: [U-Boot] [PATCH] fdt_support: Use CONFIG_NR_DRAM_BANKS if defined

2013-05-17 Thread Tom Rini
On Fri, May 17, 2013 at 09:59:23AM -0700, Doug Anderson wrote: Tom, On Fri, May 17, 2013 at 9:52 AM, Tom Rini tr...@ti.com wrote: Saw your reply but don't completely understand it. I think we'd still like U-Boot to populate the memory property if possible and it sounds like your patch

[U-Boot] Building two different SPL for the same board?

2013-05-17 Thread Henrik Nordström
I am looking into reusing the SPL system initialization part for a very minimalistic SPL which only initializes the board. To give a bit of context, on the Allwinner CPUs there is a recovery boot mode where data can be copied over USB and executed by the CPU. But most of the board including DRAM

Re: [U-Boot] Building two different SPL for the same board?

2013-05-17 Thread Tom Rini
On Fri, May 17, 2013 at 08:06:07PM +0200, Henrik Nordstr?m wrote: I am looking into reusing the SPL system initialization part for a very minimalistic SPL which only initializes the board. To give a bit of context, on the Allwinner CPUs there is a recovery boot mode where data can be copied

Re: [U-Boot] [PATCH] mmc and fat bug fixes

2013-05-17 Thread Andy Fleming
On Thu, May 16, 2013 at 4:26 AM, Ruud Commandeur rcommand...@clb.nl wrote: Assuming this is necessary, I think it then might be time to reorder this: if (!blkcnt) -- possibly at the very start of the function. return 0; if (blkcnt == 1) cmd.cmdidx =

Re: [U-Boot] Building two different SPL for the same board?

2013-05-17 Thread Henrik Nordström
fre 2013-05-17 klockan 14:17 -0400 skrev Tom Rini: I would say you want to hypothetically add a _felboot build target for the allwinner boards that instead of building out a regular CONFIG_SPL_FRAMEWORK (I hope!) SPL spits out just a very tiny one that does what you need for this use case.

Re: [U-Boot] [PATCH 1/2] SPL: Makefile: Build a separate autoconf.mk for SPL

2013-05-17 Thread Tom Rini
On Tue, May 07, 2013 at 10:52:54AM -0500, Joel A Fernandes wrote: SPL defines CONFIG_SPL_BUILD but this does not percolate to the autoconf.mk Makefile. As a result the build breaks when CONFIG_SPL_BUILD is used in the board-specific include header file. With this, there is a possibility of

Re: [U-Boot] [PATCH] ARM: arm720t: Add missing CONFIG_SKIP_LOWLEVEL_INIT guard for cpu_init_crit

2013-05-17 Thread Tom Warren
Axel ( Albert) -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Wednesday, May 15, 2013 9:29 PM To: Axel Lin Cc: Wolfgang Denk; Heiko Schocher; Tom Warren; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH] ARM: arm720t: Add missing

Re: [U-Boot] [PATCH] common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT for environment in SPL

2013-05-17 Thread Scott Wood
On 05/16/2013 10:05:17 PM, ying.zh...@freescale.com wrote: diff --git a/common/Makefile b/common/Makefile index f50bf2e..26b8495 100644 --- a/common/Makefile +++ b/common/Makefile @@ -44,13 +44,11 @@ COBJS-$(CONFIG_SYS_GENERIC_BOARD) += board_r.o COBJS-y += cmd_boot.o COBJS-$(CONFIG_CMD_BOOTM)

Re: [U-Boot] [u-boot-mips] gp init and -pie option

2013-05-17 Thread Jason Harris
Daniel Schwierzeck daniel.schwierzeck at gmail.com writes: Hi, 2013/2/26 Juhyun (Justin) Oh Juhyun_Oh at sigmadesigns.com: HI Daniel, I'm using CodeSourcery 4.5.2. I've configured and have built the code for incaip board and dbau1000. The results are the same. (i.e. gp has

[U-Boot] [PATCH 1/2] ARM: tegra: support SKU 1 of Tegra114

2013-05-17 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Make U-Boot aware of the Tegra114 SKU 1, and treat it identically to any other Tegra114. This value is used on (at least some) Dalmore boards with a production rather than engineering chip. Such boards are in the hands of some partners who want to use

[U-Boot] [PATCH 2/2] ARM: tegra: support SKU 7 of Tegra20

2013-05-17 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Make U-Boot aware of the Tegra20 SKU 7, and treat it identically to any other Tegra20. My Whistler board has a SoC with this SKU. Signed-off-by: Stephen Warren swar...@nvidia.com --- arch/arm/cpu/tegra-common/ap.c |1 +

Re: [U-Boot] [PATCH 1/1] NET: Fix system hanging if NET device is not installed

2013-05-17 Thread Stephen Warren
On 05/17/2013 03:41 AM, Jim Lin wrote: If we try to boot from NET device, NetInitLoop in net.c will be invoked. If NET device is not installed, eth_get_dev() function will return eth_current value, which is NULL. When NetInitLoop is called, eth_get_dev-enetaddr will access restricted memory

Re: [U-Boot] [PATCH] common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT for environment in SPL

2013-05-17 Thread Zhang Ying-B40530
From: Wood Scott-B07421 Sent: Friday, May 17, 2013 10:41 PM To: Zhang Ying-B40530 Cc: u-boot@lists.denx.de; aflem...@gmail.com; Xie Xiaobo-R63061; Zhang Ying-B40530 Subject: Re: [PATCH] common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT for

[U-Boot] [PATCH v2] powerpc: fix 8xx and 82xx type-punning warnings with GCC 4.7

2013-05-17 Thread Scott Wood
C99's strict aliasing rules are insane to use in low-level code such as a bootloader, but as Wolfgang has rejected -fno-strict-aliasing in the past, add a union so that 16-bit accesses can be performed. Compile-tested only. Signed-off-by: Scott Wood scottw...@freescale.com --- v2: - Use