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

2013-01-08 Thread Christian Riesch
Hello Wolfgang, Thank you for your comments. On Tuesday, January 8, 2013, Wolfgang Denk wrote: > 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

[U-Boot] [PATCH 3/3 V5] PMIC: MAX77686: Add FDT Support

2013-01-08 Thread Rajeshwari Shinde
This patch adds fdt support to MAX77686. Signed-off-by: Rajeshwari Shinde --- Changes in V2: - Corrected indentation errors. Changes in V3: - Rebased on top of the latest implementation of PMIC Changes in V4: - Corrected PMIC register address Changes in V5:

[U-Boot] [PATCH 2/3 V5] EXYNOS5: Add device node for PMIC

2013-01-08 Thread Rajeshwari Shinde
Add device node for MAX77686 Signed-off-by: Rajeshwari Shinde --- Changes in V2: - Changed reg value from 06 to 6. Chnages in V3: - converted the pmic name to small letters. Changes in V4: - Corrected PMIC register address Changes in V5: - None board/samsung/dts/e

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

2013-01-08 Thread Rajeshwari Shinde
Add required compatible information for PMIC Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass --- Changes in V2: - None Changes in V3: - converted the pmic name to small letters. Changes in V4: - None Changes in V5: - Rebased on latest u-boot-samsung tree.

[U-Boot] [PATCH 0/3 V5] EXYNOS5: MAX77686 add FDT support

2013-01-08 Thread Rajeshwari Shinde
Add FDT support to PMIC MAX77686 chip. Changes in V2: - Changed chip address from 06 to 6. - Corrected indentation errors. Changes in V3: - Rebased on top of the latest implementation of PMIC Changes in V4: - Corrected PMIC register address Changes in V5:

Re: [U-Boot] [PATCH] fdt: fix dts preprocessor options

2013-01-08 Thread Stephen Warren
On 01/08/2013 07:07 PM, Allen Martin wrote: > Using "-ansi" preprocessor option will cause dts lines that begin with > '#' to choke the preprocessor. Change to "-x assembler-with-cpp" > instead which is what the kernel uses to preprocess dts files. Well, it's what the kernel hopefully /will/ use

Re: [U-Boot] [PATCH] tegra30: fix UART2 pinmux table entry

2013-01-08 Thread Stephen Warren
On 01/08/2013 06:23 PM, Allen Martin wrote: > UART2_TXD and UART2_RXD mux 0 SFIO entries should be IRDA not UARTB. IRDA is just a needlessly different synonym for UARTB; there shouldn't be any mention of IRDA in the pinmux code anywhere, or any users of the pinmux code. ___

[U-Boot] [PATCH V2] MPC8308: Fixup clocks in PCI Host configuration

2013-01-08 Thread Barry Grussling
While trying to bring up a custom MPC8308 based board I found that the clocking was wrong. The comment in include/configs/mpc8308_p1m.h led me to believe setting HRCWH_PCI_HOST and HRCWH_PCI1_ARBITER_ENABLE in the CONFIG_SYS_HRCW_HIGH should allow the system to work, but on my newer version of the

Re: [U-Boot] [PATCH] MPC8308: Fixup clocks in PCI Host configuration

2013-01-08 Thread Barry Grussling
> I don't have an 8308 and nothing relevant shows up in the errata, so > modulo modifying the rcwh read with an i/o accessor (in_be32) and it > still failing, we ought to amend the comment with this new info. > > cc'ing Ilya, in case he can test on his 8308. Sounds good to have more testing. I am

Re: [U-Boot] [PATCH V2] fs: fat: Fix mkcksum() function parameters

2013-01-08 Thread Aaron Williams
Hi Marek, This patch is broken. It breaks detecting duplicate filenames. The problem is that you are using sizeof(name) and sizeof(ext). This does not work since this just reports the size of the pointer in gcc 4.7, which according to our compiler guy is the correct behavior. Instead of using

[U-Boot] [PATCH] fdt: fix dts preprocessor options

2013-01-08 Thread Allen Martin
Using "-ansi" preprocessor option will cause dts lines that begin with '#' to choke the preprocessor. Change to "-x assembler-with-cpp" instead which is what the kernel uses to preprocess dts files. Signed-off-by: Allen Martin --- dts/Makefile |2 +- 1 file changed, 1 insertion(+), 1 deleti

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

2013-01-08 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 --- arch/powerpc/cpu/mpc8260/commproc.c

[U-Boot] [PATCH] powerpc/85xx: select -mcpu=8540 to match -Wa, e500

2013-01-08 Thread Scott Wood
This allows building with toolchains that by default target e6500. When targetting e6500, GCC generates a two-operand form of mfcr which gas normally maps to mfocr. However, when we tell gas to target e500 rather than e6500, it rejects two-operand mfcr. Tell GCC to target a least-common-denomina

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

2013-01-08 Thread Curt Brune
On 01/08/2013 02:37 PM, Stephen Warren wrote: Besides, it seems that storing a bunch of *.dtb in /boot is far easier than screwing around with FIT images, which just seem like a hopeless mess to me; why put a filesystem inside a file when there's already a /boot filesystem that you could use...

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

2013-01-08 Thread Minkyu Kang
On 08/01/13 22:48, Lukasz Majewski wrote: > 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

[U-Boot] [PATCH] tegra30: fix UART2 pinmux table entry

2013-01-08 Thread Allen Martin
UART2_TXD and UART2_RXD mux 0 SFIO entries should be IRDA not UARTB. Signed-off-by: Allen Martin --- arch/arm/cpu/tegra30-common/pinmux.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/tegra30-common/pinmux.c b/arch/arm/cpu/tegra30-common/pinmux.c index

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

2013-01-08 Thread Minkyu Kang
On 08/01/13 23:03, Albert ARIBAUD wrote: > 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 >>

Re: [U-Boot] [PATCH] MPC8308: Fixup clocks in PCI Host configuration

2013-01-08 Thread Kim Phillips
On Tue, 8 Jan 2013 10:24:05 -0800 Barry Grussling wrote: > While trying to bring up a custom MPC8308 based board I found > that the clocking was wrong. The comment in > include/configs/mpc8308_p1m.h led me to believe > setting HRCWH_PCI_HOST and HRCWH_PCI1_ARBITER_ENABLE in the > CONFIG_SYS_HRCW

Re: [U-Boot] NOR NAND Interference question

2013-01-08 Thread Andrei
Hi Scott, Thanks for you replay and sorry for my not speedy answer comments below. On Mon, 2013-01-07 at 18:37 -0600, Scott Wood wrote: > On 01/04/2013 05:47:06 PM, Andrei wrote: > > Hi, > > Recently I am start getting strange problem > > with u-boot-2011.09. MPC8313ERDB like > > configuration (

[U-Boot] [PATCH] board sc3: fix warning about nested comment

2013-01-08 Thread Jeroen Hofstee
cc: Heiko Schocher Signed-off-by: Jeroen Hofstee --- board/sc3/init.S |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/board/sc3/init.S b/board/sc3/init.S index d374db4..6352368 100644 --- a/board/sc3/init.S +++ b/board/sc3/init.S @@ -71,7 +71,8 @@ ext_bus_cntlr_init:

[U-Boot] [PATCH] Fix SPL build for non-ARM targets

2013-01-08 Thread Albert ARIBAUD
Signed-off-by: Albert ARIBAUD --- drivers/mtd/nand/Makefile |4 1 file changed, 4 insertions(+) diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 2c3812c..c77c0c4 100644 --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile @@ -79,6 +79,10 @@ COBJS-$(CO

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

2013-01-08 Thread Simon Glass
Hi Stephen, On Tue, Jan 8, 2013 at 2:37 PM, Stephen Warren wrote: > On 01/08/2013 10:58 AM, Simon Glass wrote: >> 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, Step

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

2013-01-08 Thread Stephen Warren
On 01/08/2013 10:58 AM, Simon Glass wrote: > 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:

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

2013-01-08 Thread Tom Rini
On Tue, Jan 08, 2013 at 04:07:59PM +0100, 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] [PATCH] Introduce a global bool type

2013-01-08 Thread York Sun
On 01/08/2013 01:39 PM, Wolfgang Denk wrote: > Dear York Sun, > > In message <50ec79e1.1080...@freescale.com> you wrote: >> >> No disagree. How shall we close this? Will some change like below >> acceptable? >> >> diff --git a/include/linux/types.h b/include/linux/types.h >> index 925ece7..f07ba41

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

2013-01-08 Thread Scott Wood
On 01/08/2013 03:43:34 PM, York Sun wrote: On 01/08/2013 01:39 PM, Wolfgang Denk wrote: > Dear York Sun, > > In message <50ec79e1.1080...@freescale.com> you wrote: >> >> No disagree. How shall we close this? Will some change like below >> acceptable? >> >> diff --git a/include/linux/types.h b/inc

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

2013-01-08 Thread Wolfgang Denk
Dear York Sun, In message <50ec79e1.1080...@freescale.com> you wrote: > > No disagree. How shall we close this? Will some change like below > acceptable? > > diff --git a/include/linux/types.h b/include/linux/types.h > index 925ece7..f07ba41 100644 > --- a/include/linux/types.h > +++ b/include/li

[U-Boot] [PATCH] MPC8308: Fixup clocks in PCI Host configuration

2013-01-08 Thread Barry Grussling
While trying to bring up a custom MPC8308 based board I found that the clocking was wrong. The comment in include/configs/mpc8308_p1m.h led me to believe setting HRCWH_PCI_HOST and HRCWH_PCI1_ARBITER_ENABLE in the CONFIG_SYS_HRCW_HIGH should allow the system to work, but on my newer version of the

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

2013-01-08 Thread Albert ARIBAUD
Hi Albert, On Tue, 8 Jan 2013 21:18:01 +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 responsib

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

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] 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 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] 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

[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

[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 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().

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

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] 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 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] [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 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,

[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] 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] [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

[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 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

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

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 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 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 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] 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

[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

[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 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

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

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] [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 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 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] 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] 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] [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] [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] 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

[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

[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] [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

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] [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] 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

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] 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] [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

[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] 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] 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

[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

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;

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] : 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

[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

[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 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

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 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] 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: > >

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] [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 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] [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 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

[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

[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

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-

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 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

  1   2   >