Re: [U-Boot] U-Boot Bug with newer GCC

2013-02-03 Thread Priebe, Sebastian
Hello, > So it seems to be, that patch at least solves this issue. > Sebastian: can you check if this is resolved also resolved for your board > after applying http://patchwork.ozlabs.org/patch/217695/ Apperently we are still working with v2012.10. Could someone be so kind and provide a patch f

[U-Boot] Watchdog Handlers

2013-02-03 Thread Gurucharan Ch
Hi Everyone, I know how to initialise watchdog registers & and how to change delay using WLDR reg, but I'm not getting how to use pre-scalar(i.e. WCLR reg), and one more thing is I want to stop the counter register of watchdog after it has reached certain point I wan

Re: [U-Boot] [PATCH 3/3 V2] EXYNOS5: GPIO: Enable GPIO Command for EXYNOS5

2013-02-03 Thread Rajeshwari Birje
Hi Simon, Thank you for comments. On Sun, Jan 27, 2013 at 1:29 AM, Simon Glass wrote: > Hi Rajeshwari, > > On Wed, Jan 23, 2013 at 2:48 AM, Rajeshwari Shinde > wrote: >> This patch enables GPIO Command for EXYNOS5. >> Function has been added to asm/gpio.h to decode the >> input gpio name to gpi

Re: [U-Boot] [PATCH 2/3 V2] EXYNOS5: Add gpio pin numbering feature

2013-02-03 Thread Rajeshwari Birje
Hi Simon, Thank you for comments On Sun, Jan 27, 2013 at 1:22 AM, Simon Glass wrote: > Hi, > > On Wed, Jan 23, 2013 at 2:48 AM, Rajeshwari Shinde > wrote: >> This patch adds support for gpio pin numbering support on EXYNOS5 >> pinmux. >> >> Signed-off-by: Leela Krishna Amudala >> Signed-off-by

Re: [U-Boot] [PATCH 1/2] README.scrapyard: add missing commit IDs

2013-02-03 Thread Wolfgang Denk
Dear Albert, In message <20130203143650.1e1e7508@lilith> you wrote: > > As 1/2 has landed on me (I suspect it is due to 2/2 being "somewhat > ARM"), and as I need 1/2 to be able to apply 2/2, I suggest that I take > 1/2 in and fix the header order on-the-fly. Wolfgang, is that Ok or do > you pref

Re: [U-Boot] 答复: [U-boot] mkimage -F parameter

2013-02-03 Thread Simon Glass
Hi Tiger, On Sun, Feb 3, 2013 at 5:52 PM, wrote: > Hi, Simon: > Thanks for your answer! > I have a PandaBoard (OMAP 4460). > I am studying Uboot code. > > If uboot integrates this verifying kernel function, then it would have a > security feature.(seams as UEFI firmware supported) Yes. It can

[U-Boot] 答复: [U-boot] mkimage -F parameter

2013-02-03 Thread TigerLiu
Hi, Simon: Thanks for your answer! I have a PandaBoard (OMAP 4460). I am studying Uboot code. If uboot integrates this verifying kernel function, then it would have a security feature.(seams as UEFI firmware supported) Best wishes, -邮件原件- 发件人: s...@google.com [mailto:s...@google.com] 代表

[U-Boot] u-boot command list, grouped by source file

2013-02-03 Thread Robert P. J. Day
while i was scouring the source code in the common/ directory, i put together this lengthy list of all of the possible commands, grouped by their source file and annotated by whatever *additional* CONFIG settings they require: http://www.crashcourse.ca/wiki/index.php/U-Boot_command/file_referen

[U-Boot] "#if defined(CONFIG_CMD_REGINFO)" in cmd_reginfo.c redundant?

2013-02-03 Thread Robert P. J. Day
another simple clarification -- i realize that a lot of the source files of the form common/cmd_*.c might contain more than just the command code, they might contain infrastructure code that's necessary apart from the commands themselves. but in the case of cmd_reginfo.c, this code at the ver

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

2013-02-03 Thread R Sricharan
On Sunday 03 February 2013 08:55 PM, Albert ARIBAUD wrote: Hi R, On Sun, 3 Feb 2013 19:52:04 +0530, R Sricharan wrote: Hi, On Sunday 03 February 2013 07:49 PM, R Sricharan wrote: Hi, On Sunday 03 February 2013 07:47 PM, Albert ARIBAUD wrote: Hi R Sicharan, Vincent, On Tue, 8 Jan 2013 23:3

[U-Boot] [PATCH] cmd_load.c: Add #endif comments to reduce confusion

2013-02-03 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day --- i think i got this right ... those chunks are just long enough that comments are useful. diff --git a/common/cmd_load.c b/common/cmd_load.c index 2c8dab1..46db962 100644 --- a/common/cmd_load.c +++ b/common/cmd_load.c @@ -1064,8 +1064,8 @@ U_BOOT_CMD(

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

2013-02-03 Thread Albert ARIBAUD
Hi R, On Sun, 3 Feb 2013 19:52:04 +0530, R Sricharan wrote: > Hi, > On Sunday 03 February 2013 07:49 PM, R Sricharan wrote: > > Hi, > > > > On Sunday 03 February 2013 07:47 PM, Albert ARIBAUD wrote: > >> Hi R Sicharan, Vincent, > >> > >> On Tue, 8 Jan 2013 23:38:22 +0530, R Sricharan > >> wrote

Re: [U-Boot] [PATCH 2/2] ARM: highbank: use wfi macro instead of inline asm

2013-02-03 Thread Albert ARIBAUD
Hi Rob, On Sun, 2 Dec 2012 21:06:22 -0600, Rob Herring wrote: > From: Rob Herring > > Older compilers don't recognize v7 wfi instruction, so use wfi macro to > fix builds on old compilers. > > Signed-off-by: Rob Herring > --- > board/highbank/highbank.c |3 ++- > 1 file changed, 2 inse

Re: [U-Boot] [PATCH 1/2] ARM: add wfi assembly macro

2013-02-03 Thread Albert ARIBAUD
Hi Rob, On Sun, 2 Dec 2012 21:06:21 -0600, Rob Herring wrote: > From: Rob Herring > > Since wfi instruction is only available on ARMv7, add a conditional > macro for it. > > Signed-off-by: Rob Herring > --- > arch/arm/include/asm/system.h |6 ++ > 1 file changed, 6 insertions(+) >

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

2013-02-03 Thread R Sricharan
Hi, On Sunday 03 February 2013 07:49 PM, R Sricharan wrote: Hi, On Sunday 03 February 2013 07:47 PM, Albert ARIBAUD wrote: Hi R Sicharan, Vincent, On Tue, 8 Jan 2013 23:38:22 +0530, R Sricharan wrote: i meant Currently for ARM based cpu's, mmu pagetable attributes are set with manager permi

[U-Boot] in cmd_df.c, why does U_BOOT_CMD reference cmd not defined in that file?

2013-02-03 Thread Robert P. J. Day
always willing to embarrass myself with silly questions, what is going on in cmd_df.c? note the command defined is apparently "sf", which invokes something called "do_serial_flash", which is nowhere to be seen here: /* * Command for accessing DataFlash. * * Copyright (C) 2008 Atmel Corporat

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

2013-02-03 Thread R Sricharan
Hi, On Sunday 03 February 2013 07:47 PM, Albert ARIBAUD wrote: Hi R Sicharan, Vincent, On Tue, 8 Jan 2013 23:38:22 +0530, R Sricharan wrote: 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

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

2013-02-03 Thread Albert ARIBAUD
Hi R Sicharan, Vincent, On Tue, 8 Jan 2013 23:38:22 +0530, R Sricharan wrote: > 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

Re: [U-Boot] [PATCH resend] armv7/ltimer: Add support for local timer on armv7 cpus

2013-02-03 Thread Albert ARIBAUD
Hi Vipin, On Thu, 6 Dec 2012 14:52:55 +0530, Vipin Kumar wrote: > Certain ARMV7 cpus eg. CortexA9 contains a local and a global timer within the > CPU core itself. This patch adds generic support for local timer. > > Signed-off-by: Vipin Kumar > --- > arch/arm/cpu/armv7/Makefile | 11

Re: [U-Boot] [PATCH 1/2] README.scrapyard: add missing commit IDs

2013-02-03 Thread Albert ARIBAUD
Hi Graeme, Wolfgang, On Fri, 30 Nov 2012 17:30:08 +1100, Graeme Russ wrote: > Hi Wolfgang, > > > On 30/11/2012, at 5:20 PM, Wolfgang Denk wrote: > > > Dear Graeme Russ, > > > > In message > > you > > wrote: > >> > >>> Board ArchCPU removed Commit last known > >>> main

[U-Boot] should config_cmd_all.h list *all* possible commands?

2013-02-03 Thread Robert P. J. Day
i ask since i glanced at it and it clearly doesn't reference the "gpio" command: ... snip ... #define CONFIG_CMD_FLASH/* flinfo, erase, protect */ #define CONFIG_CMD_FPGA /* FPGA configuration Support */ #define CONFIG_CMD_GETTIME /* Get time since boot */ #

[U-Boot] [PATCH v3] cmd_mem.c: Fix some typoes, no functional changes

2013-02-03 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day --- fixing a few simple typoes should not represent this much grief. diff --git a/common/cmd_mem.c b/common/cmd_mem.c index 0f3ffc8..d44aa1d 100644 --- a/common/cmd_mem.c +++ b/common/cmd_mem.c @@ -462,7 +462,8 @@ static int do_mem_loop(cmd_tbl_t *cmdtp, int f

Re: [U-Boot] [PATCH] cmd_mem.c: Fix simple typoes, no functional changes.

2013-02-03 Thread Wolfgang Denk
Dear Robert, In message you wrote: > > so what is the actual standard? besides the above, line space > above? line space below? because i see all sorts of variations in > the code, the most common of which is: The "standard" is the Linux CodingStyle: - snip

Re: [U-Boot] [PATCH V5 REPOST 6/7] mmc: add bcm2835 driver

2013-02-03 Thread Albert ARIBAUD
On Tue, 15 Jan 2013 19:26:58 -0700, Stephen Warren wrote: > This adds a simple driver for the BCM2835's SD controller. > > Workarounds are implemented for: > * Register writes can't be too close to each-other in time, or they will > be lost. > * Register accesses must all be 32-bit, so impleme

Re: [U-Boot] [Drivers PATCH 14/19] net/macb: workaround for transmission hang issue

2013-02-03 Thread Albert ARIBAUD
Hi Vipin, On Fri, 2 Nov 2012 23:09:59 +0530, Vipin Kumar wrote: > From: Shiraz Hashim > > It is observed on SPEAr320S RMII#1 interface that on transmitting > packets the MAC dma hangs randomly and constantly showing busy tx-go > state. > > It comes out if this situation only when Transmission

Re: [U-Boot] [PATCH] cmd_mem.c: Fix simple typoes, no functional changes.

2013-02-03 Thread Robert P. J. Day
On Sun, 3 Feb 2013, Wolfgang Denk wrote: > Dear Robert, > > In message you wrote: > > > > > multi line comments in u-boot are commonly > > > > > > /* > > > * I span > > > * multiple lines > > > */ > > > > > > So while at it, you might want to add the empty opening line as well. > > > > in ca

Re: [U-Boot] [PATCH] cmd_mem.c: Fix simple typoes, no functional changes.

2013-02-03 Thread Wolfgang Denk
Dear Robert, In message you wrote: > > > multi line comments in u-boot are commonly > > > > /* > > * I span > > * multiple lines > > */ > > > > So while at it, you might want to add the empty opening line as well. > > in cases like this, it's kind of a judgment call. if that's truly a > s

[U-Boot] [PATCH v2] cmd_mem.c: Fix simple typoes, no functional changes

2013-02-03 Thread Robert P. J. Day
Signed-off-by: Robert P. J. Day --- i'm going to leave the comment format as it is since it matches all of the other brief comments in that file. diff --git a/common/cmd_mem.c b/common/cmd_mem.c index 0f3ffc8..2568c04 100644 --- a/common/cmd_mem.c +++ b/common/cmd_mem.c @@ -462,7 +462,7 @@ s

[U-Boot] [RFC 0/3] MIPS: add automatic relocation support

2013-02-03 Thread Gabor Juhos
This series adds dynamic relocation support for MIPS. The patches are against the testing branch of the MIPS custodian tree. The patch-set depends on the following patches: http://patchwork.ozlabs.org/patch/214352/ (malloc: make malloc_bin_reloc static) http://patchwork.ozlabs.org/patch/21

[U-Boot] [RFC 3/3] MIPS: add dynamic relocation support

2013-02-03 Thread Gabor Juhos
The code handles relocation entries with the following relocation types only: mips32: R_MIPS_REL32 mips64: R_MIPS_REL+R_MIPS_64 xburst: R_MIPS_REL32 Other relocation entries are skipped without processing. The code must be extended if other relocation types must be upported, however my toolc

[U-Boot] [RFC 2/3] MIPS: add -pie flag to LDFLAGS_FINAL

2013-02-03 Thread Gabor Juhos
This ensures that the linker generates the .rel.dyn fixup table, which will be applied to the relocated image before transferring control to it. Signed-off-by: Gabor Juhos Cc: Daniel Schwierzeck --- arch/mips/config.mk |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/

[U-Boot] [RFC 1/3] MIPS: add .dyn.rel section to u-boot.lds

2013-02-03 Thread Gabor Juhos
This section contain the table needed for dynamic relocation. Also provide symbols for the relocation code to access the table. Signed-off-by: Gabor Juhos Cc: Daniel Schwierzeck --- arch/mips/cpu/u-boot.lds | 27 ++- 1 file changed, 26 insertions(+), 1 deletion(-) dif

Re: [U-Boot] [PATCH] cmd_mem.c: Fix simple typoes, no functional changes.

2013-02-03 Thread Robert P. J. Day
On Sat, 2 Feb 2013, Jeroen Hofstee wrote: > On 02/02/2013 05:04 PM, Robert P. J. Day wrote: > > Signed-off-by: Robert P. J. Day > > > > --- > > > >based on perusal of entire file as i was reading code. undoubtedly > > more of these file-wide proofreads coming if no objections ... > > > > dif

Re: [U-Boot] [PATCH v2 06/10] MIPS: qemu-malta: add PCI support

2013-02-03 Thread Gabor Juhos
2013.02.02. 20:37 keltezéssel, Daniel Schwierzeck írta: > I think this should be implemented as separate driver in drivers/pci/ Ok, i will move it. -Gabor ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 05/10] MIPS: qemu-malta: setup GT64120 registers as done by YAMON

2013-02-03 Thread Gabor Juhos
2013.02.02. 20:39 keltezéssel, Daniel Schwierzeck írta: > 2013/2/2 Gabor Juhos : >> Move the GT64120 register base to 0x1be0 >> and setup PCI BAR registers as done by the >> original YAMON bootloader. >> >> This is needed for running Linux kernel. >> >> Signed-off-by: Gabor Juhos >> Cc: Daniel

Re: [U-Boot] [PATCH v2 02/10] MIPS: qemu-malta: add reset support

2013-02-03 Thread Gabor Juhos
2013.02.02. 20:35 keltezéssel, Daniel Schwierzeck írta: >> diff --git a/board/qemu-malta/qemu-malta.c b/board/qemu-malta/qemu-malta.c >> index 9ba711d..9333242 100644 >> --- a/board/qemu-malta/qemu-malta.c >> +++ b/board/qemu-malta/qemu-malta.c >> @@ -8,6 +8,9 @@ >> >> #include >> >> +#include