Re: [U-Boot] [PATCH 1/2] video:cache:fix: Proper buffer alignment for lcd subsystem

2013-01-08 Thread Lukasz Majewski
Hi Simon, > Hi Lukasz, > > On Mon, Jan 7, 2013 at 1:23 AM, Lukasz Majewski > wrote: > > This commit makes the video subsystem code cache aware. > > Memory allocated for decompressed BMP memory is now cache line > > aligned. > > > > Tested-by: Lukasz Majewski > > Signed-off-by: Lukasz Majewski

Re: [U-Boot] [PATCH v3 2/3] EXYNOS5: Add device node for USB.

2013-01-08 Thread Vivek Gautam
Hi Marek, On Tue, Jan 8, 2013 at 12:36 PM, Marek Vasut wrote: > Dear Vivek Gautam, > >> From: Rajeshwari Shinde >> >> This patch adds the device node required for USB >> >> Signed-off-by: Vivek Gautam > > Please rebase on u-boot-usb/next. > "exynos5250.dtsi" seems to be missing in u-boot-usb

Re: [U-Boot] [PATCH v3 2/3] EXYNOS5: Add device node for USB.

2013-01-08 Thread Marek Vasut
Dear Vivek Gautam, > Hi Marek, > > On Tue, Jan 8, 2013 at 12:36 PM, Marek Vasut wrote: > > Dear Vivek Gautam, > > > >> From: Rajeshwari Shinde > >> > >> This patch adds the device node required for USB > >> > >> Signed-off-by: Vivek Gautam > > > > Please rebase on u-boot-usb/next. > > "ex

Re: [U-Boot] [PATCH v3 2/3] EXYNOS5: Add device node for USB.

2013-01-08 Thread Vivek Gautam
On Tue, Jan 8, 2013 at 2:20 PM, Marek Vasut wrote: > Dear Vivek Gautam, > >> Hi Marek, >> >> On Tue, Jan 8, 2013 at 12:36 PM, Marek Vasut wrote: >> > Dear Vivek Gautam, >> > >> >> From: Rajeshwari Shinde >> >> >> >> This patch adds the device node required for USB >> >> >> >> Signed-off-by: Vive

Re: [U-Boot] [PATCH v3 2/3] EXYNOS5: Add device node for USB.

2013-01-08 Thread Marek Vasut
Dear Vivek Gautam, > On Tue, Jan 8, 2013 at 2:20 PM, Marek Vasut wrote: > > Dear Vivek Gautam, > > > >> Hi Marek, > >> > >> On Tue, Jan 8, 2013 at 12:36 PM, Marek Vasut wrote: > >> > Dear Vivek Gautam, > >> > > >> >> From: Rajeshwari Shinde > >> >> > >> >> This patch adds the device node re

[U-Boot] [PATCH v4 1/3] EHCI: Exynos: Add fdt support

2013-01-08 Thread Vivek Gautam
From: Rajeshwari Shinde Adding fdt support to ehci-exynos in order to parse register base addresses from the device node. Signed-off-by: Vivek Gautam Signed-off-by: Rajeshwari Shinde --- Changes in v4: - Rebased on top of u-boot-samsung/master. Changes in v3: - Using macros f

[U-Boot] [PATCH v4 2/3] EXYNOS5: Add device node for USB.

2013-01-08 Thread Vivek Gautam
From: Rajeshwari Shinde This patch adds the device node required for USB Signed-off-by: Vivek Gautam --- Changes in v4: - Rebased on top of u-boot-samsung/master. Changes in v3: - Using a sub-node under ehci node for phy which provides "compatible" and "reg" informat

[U-Boot] [PATCH v4 3/3] EXYNOS5: FDT: Add compatible strings for USB

2013-01-08 Thread Vivek Gautam
From: Rajeshwari Shinde Add required compatible information for USB Signed-off-by: Vivek Gautam Acked-by: Simon Glass --- Changes in v4: - Rebased on top of u-boot-samsung/master. Changes in v3: - Added compatible string for USB PHY controller. Changes in v2: - None.

[U-Boot] [PATCH v4] SMDK5250: Enable VBus for USB 2.0 controller

2013-01-08 Thread Vivek Gautam
This patch enables Vbus required for USB 2.0 controller. Signed-off-by: Vivek Gautam Signed-off-by: Rajeshwari Shinde --- Changes from v3: - Rebased on top of u-boot-samsung/master. Changes from v2: - Rebased on top of u-boot-usb/next - Enclosed the function definition

Re: [U-Boot] [PATCH v3 2/3] EXYNOS5: Add device node for USB.

2013-01-08 Thread Minkyu Kang
Hello, On 08/01/13 18:14, Marek Vasut wrote: > Dear Vivek Gautam, > >> On Tue, Jan 8, 2013 at 2:20 PM, Marek Vasut wrote: >>> Dear Vivek Gautam, >>> Hi Marek, On Tue, Jan 8, 2013 at 12:36 PM, Marek Vasut wrote: > Dear Vivek Gautam, > >> From: Rajeshwari Shinde >>

[U-Boot] [PATCH 1/2] mxc nand: Add support for i.MX5

2013-01-08 Thread Marek Vasut
From: Benoît Thébaudeau Signed-off-by: Benoît Thébaudeau Cc: Scott Wood Cc: Stefano Babic --- arch/arm/include/asm/arch-mx5/imx-regs.h |9 ++ drivers/mtd/nand/mxc_nand.c | 219 ++ include/fsl_nfc.h| 149 +--

Re: [U-Boot] [PATCH v3 2/3] EXYNOS5: Add device node for USB.

2013-01-08 Thread Marek Vasut
Dear Minkyu Kang, > Hello, > > On 08/01/13 18:14, Marek Vasut wrote: > > Dear Vivek Gautam, > > > >> On Tue, Jan 8, 2013 at 2:20 PM, Marek Vasut wrote: > >>> Dear Vivek Gautam, > >>> > Hi Marek, > > On Tue, Jan 8, 2013 at 12:36 PM, Marek Vasut wrote: > > Dear Vivek Gautam,

Re: [U-Boot] [PATCH v3 2/3] EXYNOS5: Add device node for USB.

2013-01-08 Thread Vivek Gautam
Hi Minkyu Kang, On Tue, Jan 8, 2013 at 3:03 PM, Marek Vasut wrote: > Dear Minkyu Kang, > >> Hello, >> >> On 08/01/13 18:14, Marek Vasut wrote: >> > Dear Vivek Gautam, >> > >> >> On Tue, Jan 8, 2013 at 2:20 PM, Marek Vasut wrote: >> >>> Dear Vivek Gautam, >> >>> >> Hi Marek, >> >>

Re: [U-Boot] [PATCH 2/2] video:cache:fix:trats: Enable dcache flush for TRATS board's LCD subsystem

2013-01-08 Thread Minkyu Kang
Dear Lukasz, On 07/01/13 18:23, Lukasz Majewski wrote: > lcd_set_flush_dcache(1) function is called from trats configuration file > to enable lcd_sync function. > > Tested-at: TRATS (Exynos 4210) > Tested-by: Lukasz Majewski > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc:

[U-Boot] [PATCH] video:cache:fix: Enable dcache flush at LCD subsystem for Exynos based boards

2013-01-08 Thread Lukasz Majewski
lcd_set_flush_dcache(1) function is called from exynos_fb.c (exynos_lcd_init()) file to enable lcd_sync() function. Tested-at: TRATS (Exynos 4210) Tested-by: Lukasz Majewski Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- drivers/video/exynos_fb.c |2 ++ 1

Re: [U-Boot] [PATCH 1/2] mxc nand: Add support for i.MX5

2013-01-08 Thread Fabio Estevam
On Tue, Jan 8, 2013 at 7:33 AM, Marek Vasut wrote: > From: Benoît Thébaudeau > > Signed-off-by: Benoît Thébaudeau > Cc: Scott Wood > Cc: Stefano Babic > --- > arch/arm/include/asm/arch-mx5/imx-regs.h |9 ++ > drivers/mtd/nand/mxc_nand.c | 219 > ++---

Re: [U-Boot] [PATCH 1/2] mxc nand: Add support for i.MX5

2013-01-08 Thread Benoît Thébaudeau
Dear Marek Vasut, On Tuesday, January 8, 2013 10:33:29 AM, Marek Vasut wrote: > Subject: [PATCH 1/2] mxc nand: Add support for i.MX5 Where is the 2/2? > > From: Benoît Thébaudeau > > Signed-off-by: Benoît Thébaudeau > Cc: Scott Wood > Cc: Stefano Babic > --- > arch/arm/include/asm/arch-mx

Re: [U-Boot] [PATCH 1/2] mxc nand: Add support for i.MX5

2013-01-08 Thread Marek Vasut
Dear Benoît Thébaudeau, > Dear Marek Vasut, > > On Tuesday, January 8, 2013 10:33:29 AM, Marek Vasut wrote: > > Subject: [PATCH 1/2] mxc nand: Add support for i.MX5 > > Where is the 2/2? Nowhere, it's a typo. > > From: Benoît Thébaudeau > > > > Signed-off-by: Benoît Thébaudeau > > Cc: Scott

Re: [U-Boot] [PATCH 1/2] mxc nand: Add support for i.MX5

2013-01-08 Thread Marek Vasut
Dear Fabio Estevam, > On Tue, Jan 8, 2013 at 7:33 AM, Marek Vasut wrote: > > From: Benoît Thébaudeau > > > > Signed-off-by: Benoît Thébaudeau > > Cc: Scott Wood > > Cc: Stefano Babic > > --- > > > > arch/arm/include/asm/arch-mx5/imx-regs.h |9 ++ > > drivers/mtd/nand/mxc_nand.c

Re: [U-Boot] [PATCH 1/2] mxc nand: Add support for i.MX5

2013-01-08 Thread Benoît Thébaudeau
Dear Marek Vasut, On Tuesday, January 8, 2013 11:38:39 AM, Marek Vasut wrote: > Dear Benoît Thébaudeau, > > > Dear Marek Vasut, > > > > On Tuesday, January 8, 2013 10:33:29 AM, Marek Vasut wrote: > > > Subject: [PATCH 1/2] mxc nand: Add support for i.MX5 > > > > Where is the 2/2? > > Nowhere,

Re: [U-Boot] [PATCH 1/2] mxc nand: Add support for i.MX5

2013-01-08 Thread Marek Vasut
Dear Benoît Thébaudeau, [...] > > > > NOTE: I'm seeing issues when this is compiled into U-Boot. U-Boot > > > > won't boot on > > > > my MX53 board and will hang right after printing "DRAM:" and > > > > before > > > > printing the > > > > CPU info. I suspect it's some kind of unaligned access. >

Re: [U-Boot] [PATCH v4 3/3] ARM: OMAP5: redefine arm_setup_identity_mapping

2013-01-08 Thread R Sricharan
Hi Vincent, On Monday 07 January 2013 08:14 PM, Vincent Stehlé wrote: We introduce an OMAP5 specific version of arm_setup_identity_mapping(), which makes the first page of the identity mapping invalid. We want to unmap the region near address zero on HS OMAP devices, to avoid speculative access

Re: [U-Boot] [PATCH 1/2] mxc nand: Add support for i.MX5

2013-01-08 Thread Benoît Thébaudeau
Dear Marek Vasut, On Tuesday, January 8, 2013 12:05:26 PM, Marek Vasut wrote: > Dear Benoît Thébaudeau, > > [...] > > > > > > NOTE: I'm seeing issues when this is compiled into U-Boot. > > > > > U-Boot > > > > > won't boot on > > > > > my MX53 board and will hang right after printing "DRAM:" and

[U-Boot] [RFC PATCH 1/2] ARM: cache: Introduce weak dram_bank_setup function

2013-01-08 Thread R Sricharan
Introduce a weak version of dram_bank_setup function to allow a platform specific redefinition. This is used in the subsequent patch to setup dram region without 'XN' attribute in order to enable the region under client permissions. Signed-off-by: R Sricharan Cc: Vincent Stehle Cc: Tom Rini --

[U-Boot] [RFC PATCH 2/2] ARM: mmu: Set domain permissions to client access

2013-01-08 Thread R Sricharan
The 'XN' execute never bit is set in the pagetables. This will prevent speculative prefetches to non executable regions. But the domain permissions are set as master in the DACR register. So the pagetable attribute for 'XN' is not effective. Change the permissions to client. This fixes lot o

Re: [U-Boot] Pull request for u-boot-marvell.git

2013-01-08 Thread Andreas Bießmann
Dear Prafulla Wadaskar, On 07.01.2013 13:26, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] >> Sent: 23 December 2012 20:40 >> To: Prafulla Wadaskar >> Cc: 'u-boot@lists.denx.de'; Ashish Karkare; Prabhanjan Sarnaik; >> 'Wolfg

[U-Boot] uboot and Ethernet Controller issue

2013-01-08 Thread Sandeep C R
Hi, I have developed a PowerPC MPC7410 based processor board with Tsi107 as the Host bridge and intel 82551 the ethernet controller. We have ported u-boot-1.3.1 into it as its boot loader. The issue is as follows: When the board is powered on, i can ping to the host system through the ethernet po

Re: [U-Boot] [RFC PATCH 1/2] ARM: cache: Introduce weak dram_bank_setup function

2013-01-08 Thread Stefan Roese
On 01/08/2013 12:18 PM, R Sricharan wrote: > Introduce a weak version of dram_bank_setup function > to allow a platform specific redefinition. > > This is used in the subsequent patch to setup dram region > without 'XN' attribute in order to enable the region > under client permissions. > > Signe

Re: [U-Boot] [PATCH v4 1/3] EHCI: Exynos: Add fdt support

2013-01-08 Thread Minkyu Kang
On 08/01/13 18:35, Vivek Gautam wrote: > From: Rajeshwari Shinde > > Adding fdt support to ehci-exynos in order to parse > register base addresses from the device node. > > Signed-off-by: Vivek Gautam > Signed-off-by: Rajeshwari Shinde > --- > > Changes in v4: > - Rebased on top of u-bo

Re: [U-Boot] [PATCH v4 2/3] EXYNOS5: Add device node for USB.

2013-01-08 Thread Minkyu Kang
On 08/01/13 18:35, Vivek Gautam wrote: > From: Rajeshwari Shinde > > This patch adds the device node required for USB > > Signed-off-by: Vivek Gautam > --- > > Changes in v4: > - Rebased on top of u-boot-samsung/master. > > Changes in v3: > - Using a sub-node under ehci node f

Re: [U-Boot] [PATCH v4 3/3] EXYNOS5: FDT: Add compatible strings for USB

2013-01-08 Thread Minkyu Kang
On 08/01/13 18:35, Vivek Gautam wrote: > From: Rajeshwari Shinde > > Add required compatible information for USB > > Signed-off-by: Vivek Gautam > Acked-by: Simon Glass > --- > > Changes in v4: > - Rebased on top of u-boot-samsung/master. > > Changes in v3: > - Added compatib

Re: [U-Boot] [PATCH v4] SMDK5250: Enable VBus for USB 2.0 controller

2013-01-08 Thread Minkyu Kang
On 08/01/13 18:37, Vivek Gautam wrote: > This patch enables Vbus required for USB 2.0 controller. > > Signed-off-by: Vivek Gautam > Signed-off-by: Rajeshwari Shinde > --- > > Changes from v3: > - Rebased on top of u-boot-samsung/master. > > Changes from v2: > - Rebased on top of u-

[U-Boot] [PATCH 1/2] board/qemu-mips: fix a typo in README

2013-01-08 Thread Gabor Juhos
The 'Limitations & comments' section refers to the '-m mips' switch which is not valid. The '-m' switch can be used for setting the virtual RAM size: $qemu-system-mips --help | grep '^-m ' -m megs set virtual RAM size to megs MB [default=128] $ The correct switch for specifyin

[U-Boot] [PATCH 2/2] board/qemu-mips: add '-M mips' switch to the example usage command

2013-01-08 Thread Gabor Juhos
Using the example command from the README file does not work as expected. qemu shows a text similar to the one below and it hangs. $ qemu-system-mips -L . -nographic Could not open option rom 'pxe-pcnet.rom': No such file or directory qemu-system-mips: pci_add_option_rom: failed to fin

Re: [U-Boot] [PATCH v4 3/3] ARM: OMAP5: redefine arm_setup_identity_mapping

2013-01-08 Thread Vincent Stehlé
On 01/08/2013 12:14 PM, R Sricharan wrote: (..) > We had this problem of speculative aborts in the kernel uncompress code > as well, which maps all of 4GB address space. It was solved by setting > the non-DRAM region as non-executable(XN) and with client permissions > to the domain in the DACR

Re: [U-Boot] [PATCH] video:cache:fix: Enable dcache flush at LCD subsystem for Exynos based boards

2013-01-08 Thread Minkyu Kang
On 08/01/13 18:59, Lukasz Majewski wrote: > lcd_set_flush_dcache(1) function is called from exynos_fb.c > (exynos_lcd_init()) file > to enable lcd_sync() function. > > Tested-at: TRATS (Exynos 4210) > Tested-by: Lukasz Majewski > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park >

Re: [U-Boot] [PATCH V5 4/4] EXYNOS5: Add support for FIMD and DP

2013-01-08 Thread Minkyu Kang
Dear Donghwa and Ajay, On 08/01/13 16:32, Ajay Kumar wrote: > Add panel_info structure required by LCD driver > and DP panel platdata for SMDK5250. > Add GPIO configuration for LCD. > Enable FIMD and DP support on SMDK5250. > DP Panel size: 2560x1600. > We use 16BPP resolution to get LCD console.

Re: [U-Boot] [RFC PATCH 1/2] ARM: cache: Introduce weak dram_bank_setup function

2013-01-08 Thread R Sricharan
Hi Stefan, On Tuesday 08 January 2013 05:22 PM, Stefan Roese wrote: On 01/08/2013 12:18 PM, R Sricharan wrote: Introduce a weak version of dram_bank_setup function to allow a platform specific redefinition. This is used in the subsequent patch to setup dram region without 'XN' attribute in ord

Re: [U-Boot] [PATCH v4 3/3] ARM: OMAP5: redefine arm_setup_identity_mapping

2013-01-08 Thread R Sricharan
Hi Vincent, On Tuesday 08 January 2013 05:57 PM, Vincent Stehlé wrote: On 01/08/2013 12:14 PM, R Sricharan wrote: (..) We had this problem of speculative aborts in the kernel uncompress code as well, which maps all of 4GB address space. It was solved by setting the non-DRAM region as non-

Re: [U-Boot] Please pull u-boot-ti/master

2013-01-08 Thread Albert ARIBAUD
Hi Tom, On Mon, 10 Dec 2012 13:18:48 -0700, Tom Rini wrote: > Hello, > > The following changes since commit b8a7c467960ffb4d5a5e1eef5f7783fb6f594542: > > Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' (2012-11-25 > 13:01:58 +0100) > > are available in the git repository at: > >

[U-Boot] [PATCH v2] video:cache:fix: Enable dcache flush at LCD subsystem for Exynos based boards

2013-01-08 Thread Lukasz Majewski
lcd_set_flush_dcache(1) function is called from exynos_fb.c configuration file to enable lcd_sync function. Tested-at: TRATS (Exynos 4210) Tested-by: Lukasz Majewski Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- Changes for v2: - Blank line added --- drivers/

Re: [U-Boot] [PATCH] arm:exynos4:pinmux: Modify the gpio function for mmc

2013-01-08 Thread Albert ARIBAUD
Hi Minkyu, On Tue, 08 Jan 2013 10:50:58 +0900, Minkyu Kang wrote: > On 03/01/13 16:31, Piotr Wilczek wrote: > > This patch add pinmux settings for Exynos4 for mmc0 and mmc2 > > > > Signed-off-by: Piotr Wilczek > > Signed-off-by: Kyungmin Park > > CC: Minkyu Kang > > CC: Albert ARIBAUD > > --

[U-Boot] [PATCH 2/2] calimain: Generate random MAC address for factory tests

2013-01-08 Thread Christian Riesch
Signed-off-by: Christian Riesch --- board/omicron/calimain/calimain.c | 31 ++- include/configs/calimain.h|2 ++ 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/board/omicron/calimain/calimain.c b/board/omicron/calimain/calimain.c index 10

[U-Boot] [PATCH 1/2] net: Remove call of srand from eth_random_enetaddr()

2013-01-08 Thread Christian Riesch
Currently eth_random_enetaddr() seeds the random number generator with get_timer(0). Some boards might want to use other sources for the seed, therefore move the call of srand() to the board specific code. Signed-off-by: Christian Riesch Cc: Michael Walle Cc: Joe Hershberger --- board/buffalo/

[U-Boot] [PATCH 0/2] calimain: Generate random MAC address for factory testing

2013-01-08 Thread Christian Riesch
Hi, This patchset allows the calimain board to use a random MAC address if no MAC address has been set yet. We use this feature for tests during production of our boards. Later, official MAC addresses are assigned to the boards. To seed the random number generator I use the content of the uniniti

Re: [U-Boot] [PULL] : Please pull u-boot-imx

2013-01-08 Thread Albert ARIBAUD
Hi Stefano, On Sat, 05 Jan 2013 18:36:50 +0100, Stefano Babic wrote: > Hi Albert, > > please pull from u-boot-imx, thanks. > > The following changes since commit b874df74afc986b069738b180763f2464ac3f5f4: > > mx25pdk: Allow booting a device tree kernel (2012-12-13 09:23:59 +0100) > > are av

Re: [U-Boot] [PATCH 1/2] video:cache:fix: Proper buffer alignment for lcd subsystem

2013-01-08 Thread Simon Glass
Hi Lukasz, On Tue, Jan 8, 2013 at 12:28 AM, Lukasz Majewski wrote: > Hi Simon, > >> Hi Lukasz, >> >> On Mon, Jan 7, 2013 at 1:23 AM, Lukasz Majewski >> wrote: >> > This commit makes the video subsystem code cache aware. >> > Memory allocated for decompressed BMP memory is now cache line >> > ali

Re: [U-Boot] Pull request for u-boot-marvell.git

2013-01-08 Thread Albert ARIBAUD
Hi Prafulla, On Mon, 7 Jan 2013 04:26:09 -0800, Prafulla Wadaskar wrote: > > > > -Original Message- > > From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] > > Sent: 23 December 2012 20:40 > > To: Prafulla Wadaskar > > Cc: 'u-boot@lists.denx.de'; Ashish Karkare; Prabhanjan Sarnaik;

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

2013-01-08 Thread Albert ARIBAUD
Hello Tom, The following changes since commit 96764df1b47ddebfb50fadf5af72530b07b5fc89: Merge samsung, imx, tegra into u-boot-arm/master (2012-12-22 11:59:14 +0100) are available in the git repository at: git://git.denx.de/u-boot-arm.git master for you to fetch changes up to 7528cf5f016

[U-Boot] [PATCH] mxs: Use __weak annotation to simplify code

2013-01-08 Thread Fabio Estevam
Using the __weak annotation can make the code cleaner. Signed-off-by: Fabio Estevam --- arch/arm/cpu/arm926ejs/mxs/mxs.c |6 ++ arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c |5 ++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mxs/mxs.c

Re: [U-Boot] [PATCH] mxs: Use __weak annotation to simplify code

2013-01-08 Thread Marek Vasut
Dear Fabio Estevam, > Using the __weak annotation can make the code cleaner. > > Signed-off-by: Fabio Estevam Acked-by: Marek Vasut Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] common: env_mmc: Use __weak annotation to simplify code

2013-01-08 Thread Fabio Estevam
Using the __weak annotation can make the code cleaner. Signed-off-by: Fabio Estevam --- common/env_mmc.c |4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/env_mmc.c b/common/env_mmc.c index ce21671..02bd5ae 100644 --- a/common/env_mmc.c +++ b/common/env_mmc.c @@ -4

Re: [U-Boot] [PATCH] common: env_mmc: Use __weak annotation to simplify code

2013-01-08 Thread Marek Vasut
Dear Fabio Estevam, > Using the __weak annotation can make the code cleaner. > > Signed-off-by: Fabio Estevam Just a quickie -- have you checked that noone is using the "default" versions of all these functions you annotate with __weak? Other than that: Acked-by: Marek Vasut > --- > comm

Re: [U-Boot] Selecting from multiple device trees at runtime

2013-01-08 Thread Stephen Warren
On 01/07/2013 08:16 PM, Simon Glass wrote: > Hi, > > On Mon, Jan 7, 2013 at 2:21 PM, Curt Brune wrote: >> >> >> On 01/07/2013 12:12 PM, Wolfgang Denk wrote: >>> >>> Dear Curt Brune, >>> >>> In message <50eb0d92.2020...@cumulusnetworks.com> you wrote: What I would love is to have a

Re: [U-Boot] Selecting from multiple device trees at runtime

2013-01-08 Thread Simon Glass
Hi Stephen, On Tue, Jan 8, 2013 at 8:42 AM, Stephen Warren wrote: > On 01/07/2013 08:16 PM, Simon Glass wrote: >> Hi, >> >> On Mon, Jan 7, 2013 at 2:21 PM, Curt Brune wrote: >>> >>> >>> On 01/07/2013 12:12 PM, Wolfgang Denk wrote: Dear Curt Brune, In message <50eb0d92.2020...

Re: [U-Boot] [PATCH] Introduce a global bool type

2013-01-08 Thread Tabi Timur-B04825
On Mon, Jan 7, 2013 at 4:39 PM, Wolfgang Denk wrote: > > This seems broken to me. Can we rather try8 and get rid of all this > "bool" stuff instead? It's just obfuscating the code... Like Scott said, we sometimes copy code from Linux that uses 'bool', so it's simpler if we just retain this comm

[U-Boot] [PATCH] MIPS: qemu-mips: update and fix example usage in README

2013-01-08 Thread daniel . schwierzeck
From: Daniel Schwierzeck By now U-Boot supports Qemu MIPS for little and big endian as well as 32 bit and 64 bit. Update and fix the example usage in the README to reflect this. Signed-off-by: Daniel Schwierzeck --- board/qemu-mips/README | 28 +--- 1 file changed, 21 i

Re: [U-Boot] [PATCH v4 0/2] Factorize ARM startup code as mush as possible.

2013-01-08 Thread Albert ARIBAUD
On Tue, 27 Nov 2012 13:43:24 +0100, Albert ARIBAUD wrote: > The goal of this series is to scrub the start.S files > which have proliferated across arch/arm and eliminate > code redundancy. > > This series only factorizes the C runtime framework, > that is, the assembly code responsible for setti

[U-Boot] [RFC] mmc:fix: Increase the timeout value for SDHCI_send_command()

2013-01-08 Thread Lukasz Majewski
I'd like to ask for your opinion about the following problem: TRATS # saveenv Saving Environment to MMC... Writing to MMC(0)... Controller never released inhibit bit(s). Controller never released inhibit bit(s). Controller never released inhibit bit(s). ... failed The same is for e.g. ext4. The

[U-Boot] [PATCH 1/2] am33xx: add a pulldown macro to pinmux config

2013-01-08 Thread Lars Poeschel
From: Lars Poeschel Signed-off-by: Lars Poeschel --- arch/arm/include/asm/arch-am33xx/mux.h |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-am33xx/mux.h b/arch/arm/include/asm/arch-am33xx/mux.h index aed6b00..460ac1c 100644 --- a/arch/arm/incl

[U-Boot] [PATCH 2/2] pcm051: Add support for Phytec phyCORE-AM335x

2013-01-08 Thread Lars Poeschel
From: Lars Poeschel The board is named pcm051 and has this hardware: SOC: TI AM3359 DDR3-RAM: 2x MT41J256M8HX-15EIT:D 512MiB ETH 1: LAN8710AI SPI-Flash: W25Q64BVSSIG RTC: RV-4162-C7 I2C-EEPROM: CAT32WC32 NAND: MT29F4G08_VFPGA63 PMIC: TPS65910A3 LCD Supported: UART 1 MMC/SD ETH 1 USB I2C SPI Not

Re: [U-Boot] Pull request for u-boot-marvell.git

2013-01-08 Thread Prafulla Wadaskar
Dear Albert Please pull The following changes since commit 7528cf5f016b5b8b8b12b373f6f31a10bf89233d: Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' (2013-01-08 14:59:37 +0100) are available in the git repository at: u-boot-marvell.git master branch. Albert ARIBAUD (3): mv

Re: [U-Boot] [PATCH 1/2] board/qemu-mips: fix a typo in README

2013-01-08 Thread Daniel Schwierzeck
2013/1/8 Gabor Juhos : > The 'Limitations & comments' section refers to the > '-m mips' switch which is not valid. The '-m' switch > can be used for setting the virtual RAM size: > > $qemu-system-mips --help | grep '^-m ' > -m megs set virtual RAM size to megs MB [default=128] >

Re: [U-Boot] [PATCH 2/2] board/qemu-mips: add '-M mips' switch to the example usage command

2013-01-08 Thread Daniel Schwierzeck
2013/1/8 Gabor Juhos : > Using the example command from the README file does > not work as expected. qemu shows a text similar to > the one below and it hangs. > > $ qemu-system-mips -L . -nographic > Could not open option rom 'pxe-pcnet.rom': No such file or directory > qemu-system-mip

Re: [U-Boot] uboot and Ethernet Controller issue

2013-01-08 Thread Wolfgang Denk
Dear Sandeep C R, In message you wrote: > > I have developed a PowerPC MPC7410 based processor board with Tsi107 as the > Host bridge and intel 82551 the ethernet controller. We have ported > u-boot-1.3.1 into it as its boot loader. U-Boot v1.3.1? But this is more than 5 years old!! Why did y

Re: [U-Boot] Selecting from multiple device trees at runtime

2013-01-08 Thread Stephen Warren
On 01/08/2013 09:51 AM, Simon Glass wrote: > Hi Stephen, > > On Tue, Jan 8, 2013 at 8:42 AM, Stephen Warren wrote: >> On 01/07/2013 08:16 PM, Simon Glass wrote: >>> Hi, >>> >>> On Mon, Jan 7, 2013 at 2:21 PM, Curt Brune wrote: On 01/07/2013 12:12 PM, Wolfgang Denk wrote: > >>>

Re: [U-Boot] [PATCH 1/2] net: Remove call of srand from eth_random_enetaddr()

2013-01-08 Thread Wolfgang Denk
Dear Christian Riesch, In message <419e5c6e-b2ef-44c2-a4c1-bb25c50fc...@mary.at.omicron.at> you wrote: > Currently eth_random_enetaddr() seeds the random number generator with > get_timer(0). Some boards might want to use other sources for the seed, > therefore move the call of srand() to the boar

Re: [U-Boot] [PATCH 2/2] calimain: Generate random MAC address for factory tests

2013-01-08 Thread Wolfgang Denk
Dear Christian Riesch, In message <6cc4810c-1e2e-4ebf-912a-96936f035...@mary.at.omicron.at> you wrote: > Signed-off-by: Christian Riesch > --- > board/omicron/calimain/calimain.c | 31 ++- > include/configs/calimain.h|2 ++ > 2 files changed, 32 insertio

Re: [U-Boot] [PATCH] Introduce a global bool type

2013-01-08 Thread Wolfgang Denk
Dear Tabi Timur-B04825, In message <6ae080b68d46fc4ba2d2769e68d765b708205...@039-sn2mpn1-023.039d.mgd.msft.net> you wrote: > > > > This seems broken to me. Can we rather try8 and get rid of all this > > "bool" stuff instead? It's just obfuscating the code... > > Like Scott said, we sometimes

Re: [U-Boot] [PATCH] Introduce a global bool type

2013-01-08 Thread Timur Tabi
Wolfgang Denk wrote: > Dear Tabi Timur-B04825, > > In message > <6ae080b68d46fc4ba2d2769e68d765b708205...@039-sn2mpn1-023.039d.mgd.msft.net> > you wrote: >>> >>> This seems broken to me. Can we rather try8 and get rid of all this >>> "bool" stuff instead? It's just obfuscating the code... >>

Re: [U-Boot] Selecting from multiple device trees at runtime

2013-01-08 Thread Simon Glass
Hi Stephen, On Tue, Jan 8, 2013 at 9:37 AM, Stephen Warren wrote: > On 01/08/2013 09:51 AM, Simon Glass wrote: >> Hi Stephen, >> >> On Tue, Jan 8, 2013 at 8:42 AM, Stephen Warren wrote: >>> On 01/07/2013 08:16 PM, Simon Glass wrote: Hi, On Mon, Jan 7, 2013 at 2:21 PM, Curt Brune

[U-Boot] [PATCH 0/2] ARM: mmu: Set domain permissions to client access

2013-01-08 Thread R Sricharan
Currently for ARM based cpu's, mmu pagetable attributes are set with manager permissions for all 4GB address space. Because of this the 'execute never (XN)' permission is never checked on read sensitive regions which results in speculative aborts. This series changes the domain permissions of the

[U-Boot] [PATCH 2/2] ARM: mmu: Set domain permissions to client access

2013-01-08 Thread R Sricharan
The 'XN' execute never bit is set in the pagetables. This will prevent speculative prefetches to non executable regions. But the domain permissions are set as master in the DACR register. So the pagetable attribute for 'XN' is not effective. Change the permissions to client. This fixes lot o

[U-Boot] [PATCH 1/2] ARM: mmu: Introduce weak dram_bank_setup function

2013-01-08 Thread R Sricharan
Introduce a weak version of dram_bank_setup function to allow a platform specific function. This is used in the subsequent patch to setup dram region without 'XN' attribute in order to enable the region under client permissions. Signed-off-by: R Sricharan Cc: Vincent Stehle Cc: Tom Rini --- a

[U-Boot] [PATCH 1/2] ARM: mmu: Introduce weak dram_bank_setup function

2013-01-08 Thread R Sricharan
Introduce a weak version of dram_bank_setup function to allow a platform specific function. This is used in the subsequent patch to setup dram region without 'XN' attribute in order to enable the region under client permissions. Signed-off-by: R Sricharan Cc: Vincent Stehle Cc: Tom Rini --- a

Re: [U-Boot] [PATCH] Introduce a global bool type

2013-01-08 Thread Bernhard Walle
* Wolfgang Denk [2013-01-08 18:49]: > In message > <6ae080b68d46fc4ba2d2769e68d765b708205...@039-sn2mpn1-023.039d.mgd.msft.net> > you wrote: > > > > > > This seems broken to me. Can we rather try8 and get rid of all this > > > "bool" stuff instead? It's just obfuscating the code... > > > > Li

Re: [U-Boot] [PATCH 1/2] mxc nand: Add support for i.MX5

2013-01-08 Thread Scott Wood
On 01/08/2013 04:54:43 AM, Benoît Thébaudeau wrote: Dear Marek Vasut, On Tuesday, January 8, 2013 11:38:39 AM, Marek Vasut wrote: > I hope I didn't screw up the attribution. I used "From:" which I hope > is > correct. It's correctly filled, but I don't know if it's used by U-Boot's Git pro

Re: [U-Boot] [PATCH 2/2] pcm051: Add support for Phytec phyCORE-AM335x

2013-01-08 Thread Wolfgang Denk
Dear Lars, In message <1357663926-15937-2-git-send-email-la...@wh2.tu-dresden.de> you wrote: ... > arch/arm/include/asm/arch-am33xx/ddr_defs.h | 18 ++ > board/phytec/pcm051/Makefile| 46 > board/phytec/pcm051/board.c | 271 +++ > boa

Re: [U-Boot] [PATCH] Introduce a global bool type

2013-01-08 Thread Wolfgang Denk
Dear Timur Tabi, In message <50ec5d29.1070...@freescale.com> you wrote: > > > _Bool has been introduced very late to any C standard, and you can > > still see this from the ugly, unnatural name. > > It was introduced in C99, which is over 12 years old. And how old is C? I think the "official"

Re: [U-Boot] [PATCH] Introduce a global bool type

2013-01-08 Thread Wolfgang Denk
Dear Bernhard Walle, In message <20130108183424.ga2...@regiomontanus.your-server.de> you wrote: > > > _Bool has been introduced very late to any C standard, and you can > > still see this from the ugly, unnatural name. > > But C99 (well, that's 12 years now!) also includes that > defines 'bool',

Re: [U-Boot] [PATCH] Introduce a global bool type

2013-01-08 Thread Timur Tabi
Wolfgang Denk wrote: > You are right. And I wrote that it's a bug. But this is what you can > easily get from using boolean types. This is example has not been > invented by me. I don't even claim that this was good programming > style - all I want to say is that from what I have seen the boole

[U-Boot] [RFC 2/3] MIPS: bootm_qemu_mips.c: separate linux jump code

2013-01-08 Thread Gabor Juhos
Move the actual jump code into a separate function. This is just a cosmetic change. The function will be remved by a subsequent change. Signed-off-by: Gabor Juhos Cc: Daniel Schwierzeck --- This is compile tested only. I don't have suitable kernel images for mips,mipsel,mips64,mipsel64 systems t

[U-Boot] [RFC 3/3] MIPS: bootm.c: integrate QEMU specific functions

2013-01-08 Thread Gabor Juhos
The linux starting code of the qemu specific bootm implementation is very similar to the one which is used for regular boards. The preparation code is different but it makes no sense to keep that in a separate file. The pach moves the qemu specific code into bootm.c, and removes the custom file. T

[U-Boot] [RFC 1/3] MIPS: bootm_qemu_mips.c: separate linux preparation code

2013-01-08 Thread Gabor Juhos
Move the preparation code into a separate function. This is just a cosmetic change. The function will be moved into bootm.c by a subsequent change. Signed-off-by: Gabor Juhos Cc: Daniel Schwierzeck --- This is compile tested only. I don't have suitable kernel images for mips,mipsel,mips64,mipsel

Re: [U-Boot] Pull request for u-boot-marvell.git

2013-01-08 Thread Albert ARIBAUD
Hi Prafulla, On Tue, 8 Jan 2013 09:21:40 -0800, Prafulla Wadaskar wrote: > Dear Albert > Please pull > > The following changes since commit 7528cf5f016b5b8b8b12b373f6f31a10bf89233d: > > Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' (2013-01-08 > 14:59:37 +0100) > > are availabl

[U-Boot] setting the environment address

2013-01-08 Thread John Stile
How does uboot decide where in NAND the configuration will be found? I'm getting the classic errors: *** Warning - bad CRC or NAND, using default environment I am writing my environment to nand, with crc, but how do I know that uboot is looking for it in the right place? Is that a compile time on

Re: [U-Boot] [PATCH 1/7] powerpc/mpc8xxx: Enable entering DDR debugging by key press

2013-01-08 Thread York Sun
On 01/07/2013 10:35 PM, Wolfgang Denk wrote: > Dear York Sun, > > In message <1357323245-12455-1-git-send-email-york...@freescale.com> you > wrote: >> ... >> CONFIG_FSL_DDR_INTERACTIVE needs to be defined in header file. To enter the >> debug mode by key press, press key 'd' shortly after reset,

Re: [U-Boot] [PATCH v4 1/2] arm: move C runtime setup code in crt0.S

2013-01-08 Thread Tom Rini
On Tue, Nov 27, 2012 at 01:43:25PM +0100, Albert ARIBAUD wrote: > Move all the C runtime setup code from every start.S > in arch/arm into arch/arm/lib/crt0.S. This covers > the code sequence from setting up the initial stack > to calling into board_init_r(). > > Also, rewrite the C runtime setup

Re: [U-Boot] [PATCH v4 1/2] arm: move C runtime setup code in crt0.S

2013-01-08 Thread Albert ARIBAUD
Hi Tom, On Tue, 8 Jan 2013 12:26:07 -0700, Tom Rini wrote: > On Tue, Nov 27, 2012 at 01:43:25PM +0100, Albert ARIBAUD wrote: > > > Move all the C runtime setup code from every start.S > > in arch/arm into arch/arm/lib/crt0.S. This covers > > the code sequence from setting up the initial stack >

Re: [U-Boot] Pull request for u-boot-marvell.git

2013-01-08 Thread Albert ARIBAUD
On Tue, 8 Jan 2013 20:14:44 +0100, Albert ARIBAUD wrote: > Hi Prafulla, > > On Tue, 8 Jan 2013 09:21:40 -0800, Prafulla Wadaskar > wrote: > > > Dear Albert > > Please pull > > > > The following changes since commit 7528cf5f016b5b8b8b12b373f6f31a10bf89233d: > > > > Merge branch 'u-boot-imx/m

Re: [U-Boot] [PATCH] Introduce a global bool type

2013-01-08 Thread York Sun
On 01/08/2013 11:07 AM, Wolfgang Denk wrote: > Dear Timur Tabi, > > In message <50ec5d29.1070...@freescale.com> you wrote: >> >>> _Bool has been introduced very late to any C standard, and you can >>> still see this from the ugly, unnatural name. >> >> It was introduced in C99, which is over 12 ye

Re: [U-Boot] MPC8555 pci issue

2013-01-08 Thread Scott Wood
On 01/03/2013 07:03:49 AM, Ashok Kumar Kacham wrote: Dear Wolfgang Denk > Dear "Ashok Kumar Kacham", > > In message <0969b5bdd1b15922721db142831c3b02.squir...@mail.bel.co.in> you > wrote: >> >> Hi all, >> >> we have a pci-to-usb controller(32bit,33MHZ,PCI1 controller, IDSEL 18) >> on >> p

[U-Boot] [PATCH v5 0/2] Factorize ARM startup code as much as possible.

2013-01-08 Thread Albert ARIBAUD
The goal of this series is to scrub the start.S files which have proliferated across arch/arm and eliminate code redundancy. This series only factorizes the C runtime framework, that is, the assembly code responsible for setting up the C environments needed by board_init_*() and relocate_code().

[U-Boot] [PATCH v5 2/2] arm: remove useless code in start.S files

2013-01-08 Thread Albert ARIBAUD
Remove code such as unneeded includes or labels. These removals have no functional effect. Signed-off-by: Albert ARIBAUD --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - removed useless includes in arm926ejs and arm925t arch/arm/cpu/arm925t/start.S |4

[U-Boot] [PATCH v5 1/2] arm: move C runtime setup code in crt0.S

2013-01-08 Thread Albert ARIBAUD
Move all the C runtime setup code from every start.S in arch/arm into arch/arm/lib/crt0.S. This covers the code sequence from setting up the initial stack to calling into board_init_r(). Also, rewrite the C runtime setup and make functions board_init_*() and relocate_code() behave according to nor

Re: [U-Boot] setting the environment address

2013-01-08 Thread Albert ARIBAUD
Hi John, On Tue, 08 Jan 2013 11:18:17 -0800, John Stile wrote: > How does uboot decide where in NAND the configuration will be found? > I'm getting the classic errors: > *** Warning - bad CRC or NAND, using default environment > > I am writing my environment to nand, with crc, but how do I know

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

2013-01-08 Thread Simon Glass
Hi Albert, On Tue, Jan 8, 2013 at 7:07 AM, Albert ARIBAUD wrote: > Hello Tom, > > The following changes since commit > 96764df1b47ddebfb50fadf5af72530b07b5fc89: > > Merge samsung, imx, tegra into u-boot-arm/master (2012-12-22 11:59:14 > +0100) > > are available in the git repository at: > > >

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

2013-01-08 Thread Albert ARIBAUD
Hi Simon, On Tue, 8 Jan 2013 12:50:57 -0800, Simon Glass wrote: > Hi Albert, > > On Tue, Jan 8, 2013 at 7:07 AM, Albert ARIBAUD > wrote: > > Hello Tom, > > > > The following changes since commit > > 96764df1b47ddebfb50fadf5af72530b07b5fc89: > > > > Merge samsung, imx, tegra into u-boot-arm/ma

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

2013-01-08 Thread Simon Glass
Hi Albert, On Tue, Jan 8, 2013 at 1:01 PM, Albert ARIBAUD wrote: > Hi Simon, > > On Tue, 8 Jan 2013 12:50:57 -0800, Simon Glass wrote: >> Hi Albert, >> >> On Tue, Jan 8, 2013 at 7:07 AM, Albert ARIBAUD >> wrote: >> > Hello Tom, >> > >> > The following changes since commit >> > 96764df1b47ddebfb

Re: [U-Boot] Secure update of uboot devices?

2013-01-08 Thread Simon Glass
Hi Andreas, On Sat, Mar 17, 2012 at 2:25 AM, Andreas Bäck wrote: > Hello > > Our linux boxes with Uboot and frescale mpc5200B are set at production with > software and that is no problem. > But then when the need to update software afterwards in the field is today > only so simple that if uboot f

  1   2   >