Re: [U-Boot] [RFC/PATCH] davinci: disable dcache on boards with EMAC

2011-11-28 Thread Christian Riesch
Hi Ilya, On Mon, Nov 28, 2011 at 5:02 PM, Ilya Yanok wrote: > Hi Christian, > > On 28.11.2011 19:43, Christian Riesch wrote: What do you mean by "broken"? Is it "never working" or is it "working sometimes" or "not working under specific conditions"? I have a DA850 based board and I

Re: [U-Boot] [RFC/PATCH] davinci: disable dcache on boards with EMAC

2011-11-28 Thread Christian Riesch
Wolfgang, On Mon, Nov 28, 2011 at 4:59 PM, Wolfgang Denk wrote: > Dear Christian Riesch, > > In message > you > wrote: > ... >> Then I commented out the lines >> #define CONFIG_SYS_ICACHE_OFF >> #define CONFIG_SYS_DCACHE_OFF >> #define CONFIG_SYS_L2CACHE_OFF >> re-built u-boot and tried the sa

Re: [U-Boot] [PATCH V3 00/13] Support for HTKW mcx board

2011-11-28 Thread Igor Grinberg
On 11/29/11 09:39, Ilya Yanok wrote: > Hi Igor, > > On 29.11.2011 11:29, Igor Grinberg wrote: >>> these patches introduce support for HTKW mcx board (AM3517-based) >>> including DaVinci EMAC driver fixes to work on AM35xx, SPL fixes >>> and OMAP3 EHCI support. >>> >>> This is an updated version of

Re: [U-Boot] [PATCH v3 3/3] arm, davinci: add support for am1808 based enbw_cmc board

2011-11-28 Thread Igor Grinberg
On 11/28/11 17:28, Wolfgang Denk wrote: > Dear Igor Grinberg, > > it is really not necessary to quote 1300+ lines of unrelated code. > Just provide sufficient context for your remarks. > > In message <4ed373c6.5020...@compulab.co.il> you wrote: >> >>> + ret = gpio_request(gpio, enbw_gpi

Re: [U-Boot] [PATCH V3 00/13] Support for HTKW mcx board

2011-11-28 Thread Ilya Yanok
Hi Igor, On 29.11.2011 11:29, Igor Grinberg wrote: >> these patches introduce support for HTKW mcx board (AM3517-based) >> including DaVinci EMAC driver fixes to work on AM35xx, SPL fixes >> and OMAP3 EHCI support. >> >> This is an updated version of previously posted patches: >> http://thread.gma

Re: [U-Boot] [GIT PULL] Pull request: u-boot-staging

2011-11-28 Thread Igor Grinberg
Hi Wolfgang, On 11/28/11 20:52, Wolfgang Denk wrote: > Dear Igor Grinberg, > > In message <4ece39a9.4080...@compulab.co.il> you wrote: >> As for my understanding, the delivery path ends with the repository from which the pull process starts. >>> >>> That makes no sense either. What abo

Re: [U-Boot] [PATCH V3 00/13] Support for HTKW mcx board

2011-11-28 Thread Igor Grinberg
Hi Ilya, On 11/28/11 18:37, Ilya Yanok wrote: > Hi All, > > these patches introduce support for HTKW mcx board (AM3517-based) > including DaVinci EMAC driver fixes to work on AM35xx, SPL fixes > and OMAP3 EHCI support. > > This is an updated version of previously posted patches: > http://thread.

[U-Boot] [PATCH] x86: Turn on support for EFI's GPT in the coreboot config

2011-11-28 Thread Gabe Black
This allows u-boot to figure out the partitions of a chrome-os install. Signed-off-by: Gabe Black --- include/configs/coreboot.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 348a25b..e98201d 100644 --- a/in

Re: [U-Boot] [PATCH] mmc: Implement card detection.

2011-11-28 Thread Thierry Reding
* Andy Fleming wrote: [...] > Well, while this isn't the case in any systems I know of now, it is > quite possible for there to be more than one *type* of SD/MMC > controller on an SoC, and there's always the possibility that an SoC > provides a non-controller-specific card-detect mechanism. The id

Re: [U-Boot] uboot to load uboot

2011-11-28 Thread Wolfgang Denk
Dear Sridhar Addagada, In message <1322545120.45725.yahoomail...@web120206.mail.ne1.yahoo.com> you wrote: > > Here is a scenario, i have a working version of the u-boot on my > board, and am trying my changes.  Am not sure it is going to freeze > the board, so would like the present version to l

[U-Boot] [PATCH v4] pci_ftpci100: Implementation FTPCI100 PCI driver

2011-11-28 Thread Macpaul Lin
From: Gavin Guo FTPCI100 is a SoC PCI componenet of Faraday company. Which is usually built into SoC chips for providing embedded PCI functions. Signed-off-by: Gavin Guo Signed-off-by: Macpaul Lin --- Changes for v2: - clean up lines over 80 charaters. - fix static functions. - fix the o

Re: [U-Boot] [PATCH v3 3/3] arm, davinci: add support for am1808 based enbw_cmc board

2011-11-28 Thread Heiko Schocher
Hello Wolfgang, Wolfgang Denk schrieb: > Dear Heiko Schocher, > > In message <4ed3a6a8.5010...@denx.de> you wrote: + ret = gpio_request(gpio, enbw_gpio_config[i].name); + if (ret) + printf("%s: Could not get %s gpio\n", __func__, +

[U-Boot] [PATCH] pci_ftpci100: Implementation FTPCI100 PCI driver

2011-11-28 Thread Macpaul Lin
From: Gavin Guo FTPCI100 is a SoC PCI componenet of Faraday company. Which is usually built into SoC chips for providing embedded PCI functions. Signed-off-by: Gavin Guo Signed-off-by: Macpaul Lin --- Changes for v2: - clean up lines over 80 charaters. - fix static functions. - fix the o

Re: [U-Boot] [PATCH] tools/envcrc: fix compile breakage

2011-11-28 Thread Igor Grinberg
On 11/29/11 06:25, Mike Frysinger wrote: > On Monday 28 November 2011 02:57:38 Igor Grinberg wrote: >> When ENV_IS_EMBEDDED is not set, but CONFIG_BUILD_ENVCRC is set, >> the environment.h file does not get included resulting in unrecognized >> env_t type. >> Fix this by moving the include directiv

Re: [U-Boot] [PATCH] tools/envcrc: fix compile breakage

2011-11-28 Thread Igor Grinberg
On 11/28/11 17:15, Wolfgang Denk wrote: > Dear Igor Grinberg, > > In message <4ed34e9b.7040...@compulab.co.il> you wrote: >> >>> Hm... the fix seems wrong to me. What happens now if ENV_IS_EMBEDDED >>> is set, but CONFIG_BUILD_ENVCRC is _not_ set? >> >> Well, you should look into that file... >

Re: [U-Boot] [PATCH] tools/envcrc: fix compile breakage

2011-11-28 Thread Igor Grinberg
On 11/28/11 20:52, Mike Frysinger wrote: > On Mon, Nov 28, 2011 at 04:04, Igor Grinberg wrote: >> I don't have the tool chain for ppc. > > http://dev.gentoo.org/~vapier/u-boot/ 10x Mike -- Regards, Igor. ___ U-Boot mailing list U-Boot@lists.denx.de h

Re: [U-Boot] [PATCH 02/14] fdt: Add functions to access phandles, arrays and bools

2011-11-28 Thread David Gibson
On Mon, Nov 28, 2011 at 11:41:32AM -0700, Stephen Warren wrote: > On 11/23/2011 08:54 PM, Simon Glass wrote: > > Add a function to lookup a property which is a phandle in a node, and > > another to read a fixed-length integer array from an fdt property. > > Also add a function to read boolean prope

Re: [U-Boot] uboot to load uboot

2011-11-28 Thread Mike Frysinger
On Tuesday 29 November 2011 00:38:40 Sridhar Addagada wrote: > Here is a scenario, i have a working version of the u-boot on my board, and > am trying my changes. Am not sure it is going to freeze the board, so > would like the present version to load the new version for testing before > it can be

[U-Boot] can't git clone u-boot-ti.git

2011-11-28 Thread bing bing
Hello, Who can help me to this git clone issue? I'm trying to use git bash tool to get u-boo-ti.git but just get error"fatal: the remote end hung up unexpectedly", but I can get u-boot.git. What's the problem? Thanks very much! -- Best Regards Justfora __

[U-Boot] uboot to load uboot

2011-11-28 Thread Sridhar Addagada
Here is a scenario, i have a working version of the u-boot on my board, and am trying my changes.  Am not sure it is going to freeze the board, so would like the present version to load the new version for testing before it can be burned to flash.  Is it possible to do this or is it already done

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Mike Frysinger
On Tuesday 29 November 2011 00:04:12 Graeme Russ wrote: > I think I need to do some reading up on 'rebase' versus 'merge' in git rebase: rewrites the history by taking all of your local changes and placing them on top of the commit you've specified. this ultimately produces a much more linear a

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Andy Fleming
Ignoring most of the context for the moment, I think fixing your problem requires: Start in your current, broken branch: 1) git branch save_broken_branch #just in case 2) git rebase -i u-boot/master Interactive rebase will show you a long list of commits that aren't yet in the mainline, even the

Re: [U-Boot] [PATCH] x86: Fix IDE configuration for the coreboot board

2011-11-28 Thread Gabe Black
I missed this patch when I was gathering up the change which introduce the coreboot cpu/board/config. This should be applied on top of it, or folded into it. Gabe On Mon, Nov 28, 2011 at 9:21 PM, Gabe Black wrote: > The ports for the IDE controller were reversed. Because u-boot was > configured

[U-Boot] [PATCH] x86: Fix IDE configuration for the coreboot board

2011-11-28 Thread Gabe Black
The ports for the IDE controller were reversed. Because u-boot was configured to look for at most one bus with one disk attached, it looked at the wrong one, didn't find anything, and quit looking. This change does not increase the number of busses or devices per bus that u-boot should check for b

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Graeme Russ
Hi Mike, On Tue, Nov 29, 2011 at 3:49 PM, Mike Frysinger wrote: > On Monday 28 November 2011 23:17:47 Graeme Russ wrote: >> My development is done using stacked git on development branches (I'm even >> considering using an entirely independent local git repo 'just in case') > > that's fine. it's

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 23:17:47 Graeme Russ wrote: > My development is done using stacked git on development branches (I'm even > considering using an entirely independent local git repo 'just in case') that's fine. it's just a matter of how often you want to publish patches to the wider wor

Re: [U-Boot] [PATCH 01/14] fdt: Tidy up a few fdtdec problems

2011-11-28 Thread David Gibson
On Mon, Nov 28, 2011 at 11:33:22AM -0700, Stephen Warren wrote: > On 11/23/2011 08:54 PM, Simon Glass wrote: > > This fixes three trivial issues in fdtdec.c: > > 1. fdtdec_get_is_enabled() doesn't really need a default value > > 2. The fdt must be word-aligned, since otherwise it will fail on ARM >

Re: [U-Boot] [PATCH] ARM: davici_emac: Fix condition for number of phy detects

2011-11-28 Thread Prabhakar Lad
Sandeep, Can you take this patch ? Regards, --Prabhakar Lad On Thu, Nov 17, 2011 at 6:34 PM, Heiko Schocher wrote: > Hello prabhakar.cse...@gmail.com > > prabhakar.cse...@gmail.com wrote: > > From: Prabhakar Lad > > > > Fix the condition for number of phys in > > davinci_eth_phy_detect() func

Re: [U-Boot] [PATCH] tools/envcrc: fix compile breakage

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 02:57:38 Igor Grinberg wrote: > When ENV_IS_EMBEDDED is not set, but CONFIG_BUILD_ENVCRC is set, > the environment.h file does not get included resulting in unrecognized > env_t type. > Fix this by moving the include directive. seems to work for me now; thanks! Tested-by

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Graeme Russ
Hi Mike, On Tue, Nov 29, 2011 at 3:01 PM, Mike Frysinger wrote: > On Monday 28 November 2011 22:35:24 Graeme Russ wrote: >> On Tue, Nov 29, 2011 at 2:31 PM, Mike Frysinger wrote: >> > the expected behavior of downstream users is apparently to always >> > fetch+rebase rather than fetch+merge (what

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 22:35:24 Graeme Russ wrote: > On Tue, Nov 29, 2011 at 2:31 PM, Mike Frysinger wrote: > > the expected behavior of downstream users is apparently to always > > fetch+rebase rather than fetch+merge (what "pull" normally does). this > > is pretty unusual (and in most git ci

Re: [U-Boot] CONFIG_BOOTCOUNT_LIMIT

2011-11-28 Thread Sridhar Addagada
Sorry! my mistake, the code is in main.c : : bootcount_store(bootcount); sprintf (bcs_set, "%lu", bootcount); setenv("bootcount", bcs_set); : : From: Sridhar Addagada To: "u-boot@lists.denx.de" Sent: Tuesday, November 29, 2011 9:03 AM Subject: Re: CONFIG_BO

[U-Boot] [PATCH v4] ftsdc010: improve performance and capability

2011-11-28 Thread Macpaul Lin
This patch improve the performance by spliting flag examination code in ftsdc010_send_cmd() into 3 functions. This patch also reordered the function which made better capability to some high performance cards against to the next version of ftsdc010 hardware. Signed-off-by: Macpaul Lin --- Changes

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Graeme Russ
Hi Mike, On Tue, Nov 29, 2011 at 2:31 PM, Mike Frysinger wrote: > On Monday 28 November 2011 19:02:20 Graeme Russ wrote: >> > cd Source/U-Boot/x86 (my local version of the u-boot-x86 repo) >> > git fetch u-boot (as per the 'new' methodology of not having a seperate >> > u-boot branch) >> > git ch

Re: [U-Boot] CONFIG_BOOTCOUNT_LIMIT

2011-11-28 Thread Sridhar Addagada
Any recommendations for the scratch pad memory area.  I noticed in bootcount.c that even though the configured memory area is updated, even the environment variable is also being update.  My question is that will it got lost when the kernel takes control. Thanks S __

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 19:02:20 Graeme Russ wrote: > > cd Source/U-Boot/x86 (my local version of the u-boot-x86 repo) > > git fetch u-boot (as per the 'new' methodology of not having a seperate > > u-boot branch) > > git checkout master > > git rebase u-boot/master > > git push ssh://gu-...@git

Re: [U-Boot] [RFC PATCH 7/7] reboard: arm: Remove unused code in start.S

2011-11-28 Thread Mike Frysinger
On Monday 21 November 2011 18:58:00 Simon Glass wrote: > --- a/board/reloc.c > +++ b/board/reloc.c > > -void new_relocate_code(ulong dest_addr_sp, gd_t *new_gd, ulong dest_addr) > +void relocate_code(ulong dest_addr_sp, gd_t *new_gd, ulong dest_addr) this is too fragile. we can't have every arch

Re: [U-Boot] [RFC PATCH 6/7] reboard: arm: Move over to generic relocation

2011-11-28 Thread Mike Frysinger
On Monday 21 November 2011 18:57:59 Simon Glass wrote: > --- a/board/reloc.c > +++ b/board/reloc.c > > -void relocate_code(ulong dest_addr_sp, gd_t *new_gd, ulong dest_addr) > +void new_relocate_code(ulong dest_addr_sp, gd_t *new_gd, ulong dest_addr) shouldn't this be squashed into the patch that

Re: [U-Boot] [RFC PATCH 5/7] reboard: arm: Add processor function library

2011-11-28 Thread Mike Frysinger
On Monday 21 November 2011 18:57:58 Simon Glass wrote: > +.globl proc_call_board_init_r > +proc_call_board_init_r: ENTRY(proc_call_board_init_r) > + mov sp, r3 > + /* jump to it ... */ > + mov pc, r2 then add ENDPROC(proc_call_board_init_r) here -mike signature.asc Descript

Re: [U-Boot] [RFC PATCH 1/7] reboard: define CONFIG_SYS_LEGACY_BOARD everywhere

2011-11-28 Thread Mike Frysinger
On Monday 21 November 2011 18:57:54 Simon Glass wrote: > We are introducing a new unified board setup and we want this to > be the default. So we need to opt all architectures out first. the define says "BOARD", so shouldn't it be in board configs ? we can do that easily: add it to include/confi

Re: [U-Boot] [RFC PATCH 3/7] reboard: Add generic relocation feature

2011-11-28 Thread Mike Frysinger
On Monday 21 November 2011 18:57:56 Simon Glass wrote: > board/Makefile | 45 > board/reloc.c| 101 not to bikeshed, but i don't think we want files in board/. how about board/common/ or board/generic/ instead ? > --- /dev/null > +++ b/board/Makefile > > +ifndef CONFIG_SYS_LEGACY_BOARD

Re: [U-Boot] [RFC PATCH 2/7] reboard: Add generic link symbols

2011-11-28 Thread Mike Frysinger
On Monday 21 November 2011 18:57:55 Simon Glass wrote: > include/asm-generic/link_symbols.h | 38 this should be asm-generic/sections.h. might actually want to import the Linux one and then add a section for u-boot specific symbols. -mike signature.asc Description: This is a digitally signed

Re: [U-Boot] [PATCH v3] ftsdc010: improve performance and capability

2011-11-28 Thread Macpaul Lin
Hi Andy 2011/11/29 Andy Fleming > >> > > >> >clear |= FTSDC010_STATUS_DATA_TIMEOUT; > >> > >> Why set clear? This code returns before clear is written. > >> >writel(sta, &host->reg->clr); > >> > + > >> >return TIMEOUT; > >

[U-Boot] [PATCH v4] mmc: add host_caps checking avoid switch card improperly

2011-11-28 Thread Macpaul Lin
Add a host capability checking to avoid the mmc stack switch the card to HIGHSPEED mode when the card supports HIGHSPEED while the host doesn't. This patch avoid furthur transaction problem when the mmc/sd card runs different mode to the host. Signed-off-by: Macpaul Lin --- Changes for v2: - R

[U-Boot] FW: [PATCH v3] AT91: pio: Add PIO3 features

2011-11-28 Thread Xu, Hong
Hi Albert, It's seems Reinhard is in hibernate state. ;-) Could you please give me a hint how to make AT91 patches move forward? Thanks. BR, Eric -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Hong Xu Sent: Monday, November 21, 2

Re: [U-Boot] [PATCH v2] mmc: add host_caps checking avoid switch card improperly

2011-11-28 Thread Macpaul Lin
Hi Andy and Wolfgang, 2011/11/28 Wolfgang Denk > Dear Macpaul Lin, > > In message omzns+maj+...@mail.gmail.com> you wrote: > > > > Please drop these multiple mails which are the same. > > I'll delete them in patchworks and left the only one patch v2 of this > patch > > which should be correct.

[U-Boot] [PATCH v2 5/7] tegra: Add support for UART init in cpu board.c

2011-11-28 Thread Simon Glass
We add a way of initialising the selected of UARTs prior to relocation. Boards can use the board_init_uart_f() instead of repeating this code themselves. Signed-off-by: Simon Glass --- Changes in v2: - Use size_t instead of int - Remove UART_COUNT subscript - Use clock_ll_start_uart() to set up U

[U-Boot] [PATCH v2 7/7] tegra: Fix build error in plutux, medcom

2011-11-28 Thread Simon Glass
We need to define CONFIG_ENV_IS_NOWHERE to avoid this error: cmd_nvedit.c:69:3: error: #error Define one of CONFIG_ENV_IS_IN_... Signed-off-by: Simon Glass Acked-by: Stephen Warren --- Changes in v2: - Wrap nvedit error in commit message include/configs/medcom.h |2 ++ include/configs/plu

[U-Boot] [PATCH v2 4/7] tegra: Add a function mux feature

2011-11-28 Thread Simon Glass
funcmux permits selection of config options for particular peripherals, such as the pins that are used for that peripheral, if there are several options. Add UART selection to start with. Signed-off-by: Simon Glass --- Changes in v2: - funcmux functions can fail and now return an error code - Mo

[U-Boot] [PATCH v2 1/7] tegra: Move cpu_init_cp15() to arch_cpu_init()

2011-11-28 Thread Simon Glass
This call is more of an architecture requirement than a board one, so move it there. Signed-off-by: Simon Glass Acked-by: Stephen Warren --- Changes in v2: - Code style: added blank line before return in arch_cpu_init() arch/arm/cpu/armv7/tegra2/board.c |4 board/nvidia/common/board.c

[U-Boot] [PATCH v2 3/7] tegra: add clock_ll_start_uart() to enable UART prior to reloc

2011-11-28 Thread Simon Glass
Most boards will want to enable a UART early. This function provides that feature in Tegra architecture code so the code does not need to be copied on every board. Signed-off-by: Simon Glass --- Changes in v2: - Move UART init from funcmux to clock arch/arm/cpu/armv7/tegra2/clock.c| 1

[U-Boot] [PATCH v2 6/7] tegra: Move boards over to use arch-level board UART function

2011-11-28 Thread Simon Glass
Now that we can set up the UART in common tegra code, make the boards use it. Signed-off-by: Simon Glass --- board/avionic-design/common/tamonten.c | 50 + board/nvidia/common/board.c| 76 +--- 2 files changed, 5 insertions(+), 121

[U-Boot] [PATCH v2 2/7] tegra: Move clock_early_init() to arch_cpu_init()

2011-11-28 Thread Simon Glass
The clock init is not board specific, so move it into the cpu code. Signed-off-by: Simon Glass Acked-by: Stephen Warren --- arch/arm/cpu/armv7/tegra2/board.c |3 +++ board/nvidia/common/board.c |3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/cpu/ar

[U-Boot] [PATCH v2 0/7] Introduce function mux library

2011-11-28 Thread Simon Glass
It is clear even at this early stage that some board/nvidia code needs to move into the cpu area. Stephen Warren suggested two changes which are the subject of the first two patches in this series. This series also introduces a new function mux concept, which allows selecting of pin options for a

Re: [U-Boot] [PATCH 4/6] tegra: Add support for UART init in cpu board.c

2011-11-28 Thread Simon Glass
Hi Mike, On Mon, Nov 28, 2011 at 3:06 PM, Mike Frysinger wrote: > On Monday 28 November 2011 15:14:40 Simon Glass wrote: >> On Wed, Nov 23, 2011 at 3:40 PM, Mike Frysinger wrote: >> > On Wednesday 23 November 2011 17:59:06 Simon Glass wrote: >> >> +     int i; >> > >> > size_t >> >> Ick. OK. > >

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Graeme Russ
Hi Mike, On Tue, Nov 29, 2011 at 10:43 AM, Mike Frysinger wrote: > On Monday 28 November 2011 18:20:51 Graeme Russ wrote: >> On Tue, Nov 29, 2011 at 10:16 AM, Andy Fleming wrote: >> > On Mon, Nov 28, 2011 at 5:13 PM, Mike Frysinger wrote: >> >> On Monday 28 November 2011 18:05:00 Graeme Russ wrot

Re: [U-Boot] [RFC PATCH 0/7] reboard: Introduce generic relocation feature

2011-11-28 Thread Tom Rini
On Mon, Nov 21, 2011 at 4:57 PM, Simon Glass wrote: > This is the second patch series aiming to unify the various board.c files > in each architecture into a single one. This series creates a libboard > library and implements relocation in it. It then moves ARM over to use > this framework, as an

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 18:20:51 Graeme Russ wrote: > On Tue, Nov 29, 2011 at 10:16 AM, Andy Fleming wrote: > > On Mon, Nov 28, 2011 at 5:13 PM, Mike Frysinger wrote: > >> On Monday 28 November 2011 18:05:00 Graeme Russ wrote: > >>> On Tue, Nov 29, 2011 at 10:02 AM, Mike Frysinger wrote: > >>> >

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Graeme Russ
On Tue, Nov 29, 2011 at 10:16 AM, Andy Fleming wrote: > On Mon, Nov 28, 2011 at 5:13 PM, Mike Frysinger wrote: >> On Monday 28 November 2011 18:05:00 Graeme Russ wrote: >>> On Tue, Nov 29, 2011 at 10:02 AM, Mike Frysinger wrote: >>> > On Monday 28 November 2011 17:31:19 Graeme Russ wrote: >>> >>

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Andy Fleming
On Mon, Nov 28, 2011 at 5:13 PM, Mike Frysinger wrote: > On Monday 28 November 2011 18:05:00 Graeme Russ wrote: >> On Tue, Nov 29, 2011 at 10:02 AM, Mike Frysinger wrote: >> > On Monday 28 November 2011 17:31:19 Graeme Russ wrote: >> >> $ git fetch u-boot >> >> ... >> >> $ git rebase u-boot/master

Re: [U-Boot] [PATCH] Blackfin: br4: new board port

2011-11-28 Thread Dimitar Penev
Dear Wolfgang Denk Dear "Dimitar Penev", In message <003601ccada7$ce75c4b0$2901a8c0@dpn> you wrote: I will try to fix my mail client and use plain text as it is explained for the future. You don't even need to fix your mail client. Just use "git send-email". Thank you for the tip. I hav

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 18:05:00 Graeme Russ wrote: > On Tue, Nov 29, 2011 at 10:02 AM, Mike Frysinger wrote: > > On Monday 28 November 2011 17:31:19 Graeme Russ wrote: > >> $ git fetch u-boot > >> ... > >> $ git rebase u-boot/master > >> ... > >> $ git push ssh://gu-...@git.denx.de/u-boot-x86 >

Re: [U-Boot] [PATCH] menu.c: use puts() instead of printf() where possible

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 14:24:49 Wolfgang Denk wrote: > common/menu.c used printf() in a number of places to print user > provided, constant strings (like the "title" string). printf() is > dangerous here for example in case the user unwittingly embeds some > '%' caracters that printf() would i

Re: [U-Boot] [PATCH 4/6] tegra: Add support for UART init in cpu board.c

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 15:14:40 Simon Glass wrote: > On Wed, Nov 23, 2011 at 3:40 PM, Mike Frysinger wrote: > > On Wednesday 23 November 2011 17:59:06 Simon Glass wrote: > >> + int i; > > > > size_t > > Ick. OK. why ick ? :) > >> + for (i = 0; i < UART_COUNT; i++) { > > > > ... and

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Graeme Russ
Hi Mike, On Tue, Nov 29, 2011 at 10:02 AM, Mike Frysinger wrote: > On Monday 28 November 2011 17:31:19 Graeme Russ wrote: >> error: refs/tags/2009.01-rc2 does not point to a valid object! > > this tag seems to have bled into some people's repos ... i'd suggest you punt > it locally: >        git

Re: [U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 17:31:19 Graeme Russ wrote: > error: refs/tags/2009.01-rc2 does not point to a valid object! this tag seems to have bled into some people's repos ... i'd suggest you punt it locally: git tag -d 2009.01-rc2 and then punt it remotely: git push :2009.01-rc

Re: [U-Boot] Attempts to make U-Boot start from L2 Cache on P2020RDB-like board

2011-11-28 Thread Ira W. Snyder
On Mon, Nov 28, 2011 at 11:22:01PM +0100, Wojciech Zabolotny wrote: > Hi, > I'm trying to achieve starting of U-Boot from L2 cache memory after > downloading from SD card. > The board is P2020RDB-like, however it contains only 512MB of memory. > Because we suspect, that there may be problems with D

Re: [U-Boot] practicality of demonstrating u-boot in a QEMU session?

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 07:07:47 Robert P. J. Day wrote: > i'm teaching some embedded linux next week and, while i will have > physical boards for the students to play with, i'd also like to > demonstrate basic u-boot within a QEMU session as far as that's > practical. if `make sandbox` is go

Re: [U-Boot] [PATCH 3/6] tegra: Add a function mux feature

2011-11-28 Thread Simon Glass
Hi Stephen, On Mon, Nov 28, 2011 at 11:42 AM, Stephen Warren wrote: > On 11/28/2011 12:19 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Nov 28, 2011 at 10:17 AM, Stephen Warren wrote: >>> On 11/23/2011 03:59 PM, Simon Glass wrote: funcmux permits selection of config options for partic

Re: [U-Boot] [PATCH] sandbox: Add timer simulation

2011-11-28 Thread Mike Frysinger
On Monday 28 November 2011 16:40:29 Matthias Weisser wrote: > Making sleep command work i like the idea, but using clock_xxx funcs makes me sad (generally requires a "newerish" glibc and -lrt). my only alternative proposal is to use usec's with gettimeofday ... maybe that's good enough ? altho

[U-Boot] Attn Maintainers: git advise needed (how to fix messed up repo)

2011-11-28 Thread Graeme Russ
Hi All, I've asked Wolfgang the following, but it looks like he's just too snowed under at the moment... Somehow I've managed to do something 'interesting' to the u-boot-x86 repository - It has duplicate patches. He's the sequence of events leading up to the problem $ git fetch u-boot remote: C

[U-Boot] Attempts to make U-Boot start from L2 Cache on P2020RDB-like board

2011-11-28 Thread Wojciech Zabolotny
Hi, I'm trying to achieve starting of U-Boot from L2 cache memory after downloading from SD card. The board is P2020RDB-like, however it contains only 512MB of memory. Because we suspect, that there may be problems with DDR memory, we wanted at least to get U-Boot starting from L2 cache configured

[U-Boot] [PATCH] sandbox: Add timer simulation

2011-11-28 Thread Matthias Weisser
Making sleep command work Signed-off-by: Matthias Weisser --- arch/sandbox/config.mk |1 + arch/sandbox/cpu/cpu.c |2 +- arch/sandbox/cpu/os.c | 15 +++ board/sandbox/sandbox/sandbox.c |4 +++- include/os.h| 14 +

Re: [U-Boot] [PATCH v6] ulpi: add generic ULPI functionality

2011-11-28 Thread Simon Glass
On Mon, Nov 28, 2011 at 11:43 AM, Jana Rapava wrote: > Add generic functions for reading, writing and setting bits in ULPI registers. > > Signed-off-by: Jana Rapava > Cc: Remy Bohmer > Cc: Stefano Babic > Cc: Igor Grinberg > Cc: Wolfgang Grandegger > Cc: Simon Glass > > Acked-by: Igor Grinbe

Re: [U-Boot] [RFC PATCH 1/3] MAINTAINERS: Fix my email address

2011-11-28 Thread Wolfgang Denk
Dear Stephen Warren, In message <4ed3e4d9.6090...@nvidia.com> you wrote: > > The reason it doesn't apply is because the line being edited isn't in > the code yet. It was only added to the file when I added support for the > first board where I was listed as maintainer. I assume you agree that > th

Re: [U-Boot] [PATCH 4/6] tegra: Add support for UART init in cpu board.c

2011-11-28 Thread Simon Glass
Hi Mike, On Wed, Nov 23, 2011 at 3:40 PM, Mike Frysinger wrote: > On Wednesday 23 November 2011 17:59:06 Simon Glass wrote: >> --- a/arch/arm/cpu/armv7/tegra2/board.c >> +++ b/arch/arm/cpu/armv7/tegra2/board.c >> >> +static void setup_uarts(int uart_ids) >> +{ >> +     static enum periph_id id_fo

Re: [U-Boot] [RFC PATCH 1/3] MAINTAINERS: Fix my email address

2011-11-28 Thread Stephen Warren
On 11/28/2011 12:41 PM, Wolfgang Denk wrote: > Dear Stephen Warren, > > In message <4ed3e260.7020...@nvidia.com> you wrote: >> MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) > ... >> This series relies on other Tegra patches, both from myself and from >> others

Re: [U-Boot] [PATCH 3/6] tegra: Add a function mux feature

2011-11-28 Thread Stephen Warren
On 11/28/2011 12:19 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Nov 28, 2011 at 10:17 AM, Stephen Warren wrote: >> On 11/23/2011 03:59 PM, Simon Glass wrote: >>> funcmux permits selection of config options for particular peripherals, >>> such as the pins that are used for that peripheral, if

Re: [U-Boot] [RFC PATCH 1/3] MAINTAINERS: Fix my email address

2011-11-28 Thread Wolfgang Denk
Dear Stephen Warren, In message <4ed3e260.7020...@nvidia.com> you wrote: > > >> MAINTAINERS |2 +- > >> 1 files changed, 1 insertions(+), 1 deletions(-) ... > This series relies on other Tegra patches, both from myself and from > others (Simon Glass in particular). Those other patches were po

[U-Boot] [PATCH v6] ulpi: add generic ULPI functionality

2011-11-28 Thread Jana Rapava
Add generic functions for reading, writing and setting bits in ULPI registers. Signed-off-by: Jana Rapava Cc: Remy Bohmer Cc: Stefano Babic Cc: Igor Grinberg Cc: Wolfgang Grandegger Cc: Simon Glass Acked-by: Igor Grinberg Acked-by: Simon Glass --- Changes for v2: - make code EHCI-in

Re: [U-Boot] [RFC PATCH 1/3] MAINTAINERS: Fix my email address

2011-11-28 Thread Stephen Warren
On 11/28/2011 12:01 PM, Wolfgang Denk wrote: > Dear Stephen Warren, > > In message <1321735649-27138-2-git-send-email-swar...@nvidia.com> you wrote: >> I forgot to edit it when I cut/paste Tom Warren's MAINTAINERS entry. >> >> Signed-off-by: Stephen Warren >> --- >> MAINTAINERS |2 +- >> 1 f

Re: [U-Boot] [PATCH 1/4] PXA: Drop CERF250 board

2011-11-28 Thread Marek Vasut
> Hi Marek, > > On Mon, Nov 28, 2011 at 11:05 AM, Marek Vasut wrote: > >> Hi Marek, > >> > >> On Mon, Nov 28, 2011 at 9:21 AM, Marek Vasut wrote: > >> >> Hi Marek, > >> >> > >> >> On Fri, Nov 25, 2011 at 10:53 AM, Marek Vasut > > > > wrote: > >> >> > The board is unmaintained and maintainer

[U-Boot] [PATCH] menu.c: use puts() instead of printf() where possible

2011-11-28 Thread Wolfgang Denk
common/menu.c used printf() in a number of places to print user provided, constant strings (like the "title" string). printf() is dangerous here for example in case the user unwittingly embeds some '%' caracters that printf() would interpret as formatting and then pick up random arguments. Use pu

Re: [U-Boot] [PATCH 1/4] PXA: Drop CERF250 board

2011-11-28 Thread Simon Glass
Hi Marek, On Mon, Nov 28, 2011 at 11:05 AM, Marek Vasut wrote: >> Hi Marek, >> >> On Mon, Nov 28, 2011 at 9:21 AM, Marek Vasut wrote: >> >> Hi Marek, >> >> >> >> On Fri, Nov 25, 2011 at 10:53 AM, Marek Vasut > wrote: >> >> > The board is unmaintained and maintainer doesn't respond. >> >> >> >>

Re: [U-Boot] [PATCH 10/14] tegra: usb: Add support for USB peripheral

2011-11-28 Thread Stephen Warren
On 11/23/2011 08:54 PM, Simon Glass wrote: > This adds basic support for the Tegra2 USB controller. Board files should > call board_usb_init() to set things up. Just a very brief review: > +/* Put the port into host mode (this only works for USB1) */ > +static void set_host_mode(struct usb_ctlr *

Re: [U-Boot] [PATCH] mmc: Implement card detection.

2011-11-28 Thread Andy Fleming
On Mon, Nov 28, 2011 at 11:47 AM, Thierry Reding wrote: >> >> Also, to handle code like is in fsl_esdhc.c for fallback in case no >> board-specific code is written, I'm thinking we should use a mechanism >> similar to the ethernet drivers: >> >>         if (board_eth_init != __def_eth_init) { >>  

Re: [U-Boot] [PATCH 3/6] tegra: Add a function mux feature

2011-11-28 Thread Simon Glass
Hi Stephen, On Mon, Nov 28, 2011 at 10:17 AM, Stephen Warren wrote: > On 11/23/2011 03:59 PM, Simon Glass wrote: >> funcmux permits selection of config options for particular peripherals, >> such as the pins that are used for that peripheral, if there are several >> options. Thanks for looking a

Re: [U-Boot] [PATCH 09/14] tegra: usb: Add support for data alignment and txfifo threshold

2011-11-28 Thread Stephen Warren
On 11/23/2011 08:54 PM, Simon Glass wrote: > CONFIG_USB_EHCI_DATA_ALIGN sets the required alignment of data for > USB packets (e.g. 4 means word-aligned). This is required for Tegra > to operate. > > CONFIG_USB_EHCI_TXFIFO_THRESH enables setting of the txfilltuning > field in the EHCI controller o

Re: [U-Boot] [PATCH 1/4] PXA: Drop CERF250 board

2011-11-28 Thread Marek Vasut
> Hi Marek, > > On Mon, Nov 28, 2011 at 9:21 AM, Marek Vasut wrote: > >> Hi Marek, > >> > >> On Fri, Nov 25, 2011 at 10:53 AM, Marek Vasut wrote: > >> > The board is unmaintained and maintainer doesn't respond. > >> > >> Should this and the other patches be version 2, or perhaps 3? > > > > P

Re: [U-Boot] [RFC PATCH 1/3] MAINTAINERS: Fix my email address

2011-11-28 Thread Wolfgang Denk
Dear Stephen Warren, In message <1321735649-27138-2-git-send-email-swar...@nvidia.com> you wrote: > I forgot to edit it when I cut/paste Tom Warren's MAINTAINERS entry. > > Signed-off-by: Stephen Warren > --- > MAINTAINERS |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Wrong. N

Re: [U-Boot] [PATCH 1/6] tegra: Move cpu_init_cp15() to arch_cpu_init()

2011-11-28 Thread Simon Glass
Hi Mike, On Wed, Nov 23, 2011 at 3:34 PM, Mike Frysinger wrote: > On Wednesday 23 November 2011 17:59:03 Simon Glass wrote: >> --- a/arch/arm/cpu/armv7/tegra2/board.c >> +++ b/arch/arm/cpu/armv7/tegra2/board.c >> @@ -80,6 +80,9 @@ int arch_cpu_init(void) >>  { >>       /* Fire up the Cortex A9 */

Re: [U-Boot] [RFC PATCH 1/3] MAINTAINERS: Fix my email address

2011-11-28 Thread Wolfgang Denk
Dear Stephen Warren, In message <1321735649-27138-2-git-send-email-swar...@nvidia.com> you wrote: > I forgot to edit it when I cut/paste Tom Warren's MAINTAINERS entry. > > Signed-off-by: Stephen Warren > --- > MAINTAINERS |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Applied,

Re: [U-Boot] Pull request: u-boot-staging (updated)

2011-11-28 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <202831.10432bf4@wker> you wrote: > Hello Wolfgang, > > Added a patch from Stefano. > > The following changes since commit 99258c34103efad3395c679256a221731d010c4b: > > Merge branch 'master' of git://git.denx.de/u-boot-mmc (2011-11-27 16:03:21 > +0

Re: [U-Boot] [PATCH 05/14] tegra: fdt: Add Tegra2x device tree file

2011-11-28 Thread Stephen Warren
On 11/23/2011 08:54 PM, Simon Glass wrote: > This was taken from commit 1ea6b8f at: > git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git That's not the latest version in linux-next. Also, this doesn't include quite a few changes that have been sent to the mailing lists but not yet applie

Re: [U-Boot] [PATCH v4] Add board_pre_console_putc to deal with early console output

2011-11-28 Thread Simon Glass
On Fri, Nov 25, 2011 at 3:53 AM, Stefano Babic wrote: > On 25/11/2011 08:35, Simon Glass wrote: >> Hi, >> >> On Tue, Oct 18, 2011 at 4:50 PM, Graeme Russ wrote: >>> Hi Simon, >>> > > Hi Simon, > A new board_pre_console_putc() function is added to the board API. If provided by the board

Re: [U-Boot] practicality of demonstrating u-boot in a QEMU session?

2011-11-28 Thread Robert P. J. Day
On Mon, 28 Nov 2011, Wolfgang Denk wrote: > Dear "Robert P. J. Day", > > In message you wrote: > > > > i'm teaching some embedded linux next week and, while i will have > > physical boards for the students to play with, i'd also like to > > demonstrate basic u-boot within a QEMU session as far

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

2011-11-28 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <2027202055.15fa9fe2@wker> you wrote: > Hello Wolfgang, > > The following changes since commit fdbe8b9a2d1858ba35dd6214315563ad44d4a0e3: > > Merge branch 'h...@denx.de' of git://git.denx.de/u-boot-staging (2011-11-23 > 21:23:45 +0100) > > are available

Re: [U-Boot] [GIT PULL] Pull request: u-boot-staging

2011-11-28 Thread Wolfgang Denk
Dear Igor Grinberg, In message <4ece39a9.4080...@compulab.co.il> you wrote: > > >> As for my understanding, the delivery path ends with the repository > >> from which the pull process starts. > > > > That makes no sense either. What about the case where the author > > provides (say, for conveni

Re: [U-Boot] [PATCH] tools/envcrc: fix compile breakage

2011-11-28 Thread Mike Frysinger
On Mon, Nov 28, 2011 at 04:04, Igor Grinberg wrote: > I don't have the tool chain for ppc. http://dev.gentoo.org/~vapier/u-boot/ -mike ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 02/14] fdt: Add functions to access phandles, arrays and bools

2011-11-28 Thread Stephen Warren
On 11/23/2011 08:54 PM, Simon Glass wrote: > Add a function to lookup a property which is a phandle in a node, and > another to read a fixed-length integer array from an fdt property. > Also add a function to read boolean properties. > > Signed-off-by: Simon Glass Looking at the U-Boot custodian

  1   2   >