Re: [U-Boot] 83xx and LCRR setting

2009-08-22 Thread Heiko Schocher
Hello Kim, Kim Phillips wrote: On Thu, 20 Aug 2009 12:05:58 +0200 Heiko Schocher h...@denx.de wrote: On my board (and for example on the MPC832XEMDS) the flash is connected to the localbus ... and this register setting is done, while running from flash ... Hmm.. is this safe? yeah, I'm

Re: [U-Boot] 83xx and LCRR setting

2009-08-22 Thread Heiko Schocher
Hello Kim, Kim Phillips wrote: On Thu, 20 Aug 2009 13:03:09 +0200 Detlev Zundel d...@denx.de wrote: or maybe even always use the mask, define it in the board config and do a #if !defined(LCCR_MASK) #define LCCR_MASK 0x #endif ack. nack, it should be #if !defined(LCCR_MASK)

Re: [U-Boot] Please pull u-boot-mpc83xx

2009-08-22 Thread Wolfgang Denk
Dear Kim Phillips, In message 20090821174533.d26d421b.kim.phill...@freescale.com you wrote: Heiko Schocher (1): mpc83xx: add missing CSCONFIG_ODT_WR_CFG for 832x CPUs Umm please do not edit the Subject line of the commit messages. At least, please tell me explicitly if you

Re: [U-Boot] Rules for board/* directory, was: [PATCH v3] Adding support for DevKit8000

2009-08-22 Thread Wolfgang Denk
Dear Frederik Kriewitz, In message f67028d40908211627v31668e61k859d431f3ecc...@mail.gmail.com you wrote: Ok, is there a official naming convention for the include/configs/*.h files and the *_config targets? Should they be grouped by CPU/SoC and/or vendor (Makefile/MAKEALL)? There is no

Re: [U-Boot] [PATCH 2/2] e1000: fix PCI memory addressing

2009-08-22 Thread Wolfgang Denk
Dear Timur Tabi, In message 1250542538-5717-1-git-send-email-ti...@freescale.com you wrote: The Intel E1000 driver was making assumptions about the relationship between some virtual, physical, and PCI addresses. Also fix some bad usage of the DEBUGOUT macro Signed-off-by: Timur Tabi

Re: [U-Boot] [PATCH 3/3] Consolidate arch-specific mem_malloc_init() implementations

2009-08-22 Thread Jean-Christophe PLAGNIOL-VILLARD
On 23:05 Fri 21 Aug , Peter Tyser wrote: Signed-off-by: Peter Tyser pty...@xes-inc.com --- common/dlmalloc.c | 15 +++ include/malloc.h |2 ++ lib_arm/board.c| 10 -- lib_avr32/board.c | 15 ++- lib_blackfin/board.c |

Re: [U-Boot] [PATCH 2/2] e1000: fix PCI memory addressing

2009-08-22 Thread Timur Tabi
On Sat, Aug 22, 2009 at 4:12 AM, Wolfgang Denkw...@denx.de wrote: This patch causes compiler warnings: Configuring for MVBC_P board... e1000.c: In function 'e1000_transmit': e1000.c:5019: warning: passing argument 1 of 'virt_to_phys' discards qualifiers from pointer target type That's odd.

Re: [U-Boot] [PATCH 2/2] e1000: fix PCI memory addressing

2009-08-22 Thread Wolfgang Denk
Dear Timur Tabi, In message ed82fe3e0908220440u26990f80x9db39de082996...@mail.gmail.com you wrote: This patch causes compiler warnings: Configuring for MVBC_P board... e1000.c: In function 'e1000_transmit': e1000.c:5019: warning: passing argument 1 of 'virt_to_phys' discards

Re: [U-Boot] [PATCH 3/3] Consolidate arch-specific mem_malloc_init() implementations

2009-08-22 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message 20090822085428.ga11...@game.jcrosoft.org you wrote: common/dlmalloc.c | 15 +++ include/malloc.h |2 ++ lib_arm/board.c| 10 -- lib_avr32/board.c | 15 ++-

[U-Boot] [PATCH] include/mmc.h: Fix typo in IS_SD() macro

2009-08-22 Thread Albin Tonnerre
Signed-off-by: Albin Tonnerre albin.tonne...@free-electrons.com --- include/mmc.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/mmc.h b/include/mmc.h index 229d494..2dc69ab 100644 --- a/include/mmc.h +++ b/include/mmc.h @@ -47,7 +47,7 @@ #define

Re: [U-Boot] [PATCH v3][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API

2009-08-22 Thread Wolfgang Denk
Dear Ben Warren, In message 1250822768-18396-1-git-send-email-biggerbadder...@gmail.com you wrote: All in-tree boards that use this controller have CONFIG_NET_MULTI added Also: - changed CONFIG_DRIVER_CS8900 to CONFIG_CS8900 - changed CS8900_BASE to CONFIG_CS8900_BASE - changed

Re: [U-Boot] [PATCH 3/3] Consolidate arch-specific mem_malloc_init() implementations

2009-08-22 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:54 Sat 22 Aug , Wolfgang Denk wrote: Dear Jean-Christophe PLAGNIOL-VILLARD, In message 20090822085428.ga11...@game.jcrosoft.org you wrote: common/dlmalloc.c | 15 +++ include/malloc.h |2 ++ lib_arm/board.c| 10 --

Re: [U-Boot] [PATCH 3/3] Consolidate arch-specific mem_malloc_init() implementations

2009-08-22 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message 20090822123232.gb11...@game.jcrosoft.org you wrote: That would mean you have to touch N board configurations. To me it sounds as if this was not per-board choice, but an architecture- specific decision. And a CONFIG_* name seems wrong (it

Re: [U-Boot] [PATCH v3][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API

2009-08-22 Thread Wolfgang Denk
Dear Ben Warren, In message 1250822768-18396-1-git-send-email-biggerbadder...@gmail.com you wrote: All in-tree boards that use this controller have CONFIG_NET_MULTI added Also: - changed CONFIG_DRIVER_CS8900 to CONFIG_CS8900 - changed CS8900_BASE to CONFIG_CS8900_BASE - changed

Re: [U-Boot] [PATCH 3/3] Consolidate arch-specific mem_malloc_init() implementations

2009-08-22 Thread Peter Tyser
Jean-Christophe PLAGNIOL-VILLARD wrote: On 23:05 Fri 21 Aug , Peter Tyser wrote: Signed-off-by: Peter Tyser pty...@xes-inc.com --- common/dlmalloc.c | 15 +++ include/malloc.h |2 ++ lib_arm/board.c| 10 -- lib_avr32/board.c | 15

[U-Boot] is -fno-strict-aliasing actually ok?

2009-08-22 Thread Kumar Gala
Wolfgang, Is it ok for a cpu family to enable -fno-strict-aliasing? We seem to do this on a fair number of the ARM ports and even some of the PPC ones? This seems to hid some of the warnings we get on other cpu family builds (like 85xx). - k board/tqc/tqm5200/Makefile: $(CC)

Re: [U-Boot] is -fno-strict-aliasing actually ok?

2009-08-22 Thread Wolfgang Denk
Dear Kumar Gala, In message 118ebb89-f697-4148-a572-838dbb658...@kernel.crashing.org you wrote: Is it ok for a cpu family to enable -fno-strict-aliasing? We seem to Please don't. Actually I consider this to be an issue that needs to be resolved. do this on a fair number of the ARM ports

Re: [U-Boot] Why u-boot linux uses different machineid for at91rm9200dk

2009-08-22 Thread Ulf Samuelsson
vibi sreenivasan skrev: hello Wolfgang Denk, On Wed, 2009-08-12 at 21:44 +0200, Wolfgang Denk wrote: Dear vibi sreenivasan, In message 1250062753.2419.8.ca...@hunter you wrote: Why u-boot linux uses different machine id for at91rm9200dk. do they? well, which exact versions of U-Boot

[U-Boot] [STATUS] v2009.08-rc3 is out

2009-08-22 Thread Wolfgang Denk
Hi everybody... v2009.08-rc3 has just been released. Please help testing, and submit fixes to the remaining problems. Things still missing should be submitted ASAP. * Many boards now throw the (expected) #warning Ethernet driver is deprecated. Please update to use CONFIG_NET_MULTI

Re: [U-Boot] [PATCH v3][Net] Convert CS8900 Ethernet driver to CONFIG_NET_MULTI API

2009-08-22 Thread Ben Warren
Wolfgang Denk wrote: Dear Ben Warren, In message 1250822768-18396-1-git-send-email-biggerbadder...@gmail.com you wrote: All in-tree boards that use this controller have CONFIG_NET_MULTI added Also: - changed CONFIG_DRIVER_CS8900 to CONFIG_CS8900 - changed CS8900_BASE to

Re: [U-Boot] [PATCH 3/3] Consolidate arch-specific mem_malloc_init() implementations

2009-08-22 Thread Graeme Russ
On Sun, Aug 23, 2009 at 2:45 AM, Peter Tyserpty...@xes-inc.com wrote: Jean-Christophe PLAGNIOL-VILLARD wrote: On 23:05 Fri 21 Aug , Peter Tyser wrote: Signed-off-by: Peter Tyser pty...@xes-inc.com --- [snip] +#ifndef CONFIG_X86 could we have a generic name (not arch)

Re: [U-Boot] [STATUS] v2009.08-rc3 is out

2009-08-22 Thread Mike Frysinger
On Saturday 22 August 2009 17:41:16 Wolfgang Denk wrote: v2009.08-rc3 has just been released. maybe you just didnt push updated master branch ? the 2009.08-rc3 tag is a commit ahead of master ... -mike signature.asc Description: This is a digitally signed message part.

[U-Boot] [PATCH] ignore generated u-boot.lds

2009-08-22 Thread Mike Frysinger
Signed-off-by: Mike Frysinger vap...@gentoo.org --- .gitignore |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 8ccd42a..67d2cd6 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,7 @@ /u-boot.ldr /u-boot.ldr.hex /u-boot.ldr.srec

[U-Boot] [PATCH] Blackfin: use common code to preprocess linker script

2009-08-22 Thread Mike Frysinger
Now that the common code preprocesses the linker script, the Blackfin code no longer needs to do it. Signed-off-by: Mike Frysinger vap...@gentoo.org --- lib_blackfin/Makefile |5 + lib_blackfin/config.mk |2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git

Re: [U-Boot] [PATCH] Fix all linker scripts for older binutils versions (pre-2.16)

2009-08-22 Thread Mike Frysinger
On Monday 17 August 2009 08:00:53 Wolfgang Denk wrote: --- a/config.mk +++ b/config.mk @@ -166,11 +166,21 @@ endif +# Special flags for CPP when processing the linker script +# Linker versions prior to 2.16 don't understand the builting +# functions SORT_BY_ALIGNMENT() and SORT_BY_NAME(), so

[U-Boot] [PATCH 03/17] Fix regression introduced by commit 8c63d47651f7

2009-08-22 Thread Graeme Russ
A local variable was deleted that should not have been Signed-off-by: Graeme Russ graeme.r...@gmail.com --- lib_i386/pcat_timer.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/lib_i386/pcat_timer.c b/lib_i386/pcat_timer.c index e282f64..c351b23 100644 ---

[U-Boot] [PATCH 05/17] Fix sc520 timer interrupt generation

2009-08-22 Thread Graeme Russ
The current implementation has the timer being started before the interrupt handler is installed. It the interrupt occurs before the handler is installed, the timer interrupt is never reset and the timer stops Signed-off-by: Graeme Russ graeme.r...@gmail.com --- cpu/i386/sc520/sc520_timer.c |

[U-Boot] [PATCH 15/17] Move eNET low-level initialisation into asm

2009-08-22 Thread Graeme Russ
Allows earlier indication of boot progress by initialising the LEDs and Serial Port while the CPU is still in 16-bit (Real) mode Signed-off-by: Graeme Russ graeme.r...@gmail.com --- board/eNET/eNET.c | 24 board/eNET/eNET_start.S |7 ++- board/eNET/eNET_start16.S |

[U-Boot] [PATCH 17/17] Change entire eNET code + data to run from RAM

2009-08-22 Thread Graeme Russ
Flash probing can cause the Boot Flash to lock up - Entire contents of Flash (minus the low level asm init which is not needed post-bootstrap) is copied to RAM This is not an ideal relocation mechanism. This change sets TEXT_BASE to an area just below the guaranteed 64MB RAM which exists on all

[U-Boot] [PATCH 06/17] Misc i386 PCI fixups

2009-08-22 Thread Graeme Russ
Change PCI_REGION_MEMORY to PCI_REGION_SYS_MEMORY (Originally done in commit ff4e66e93c1a, regressed by commit 6d7f610b09f8) Cast PCI_ROM_ADDRESS_MASK to u32 Wrap probe_pci_video() call inside #ifdef CONFIG_VIDEO Change call to pci_find_class() to pci_find_devices(). This is based on a patch

[U-Boot] [PATCH 14/17] Add PCI support to eNET board

2009-08-22 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- board/eNET/Makefile|1 + board/eNET/eNET_pci.c | 95 include/configs/eNET.h | 14 3 files changed, 103 insertions(+), 7 deletions(-) create mode 100644

[U-Boot] [PATCH 04/17] Fix environment configuration for eNET board

2009-08-22 Thread Graeme Russ
The current configuration of the Environment has the redundant copy of the environment in the Boot Flash - This was never the intent. The Environment should instead be in the first two sectors of the first Strata Flash Signed-off-by: Graeme Russ graeme.r...@gmail.com --- include/configs/eNET.h |

[U-Boot] [PATCH 09/17] Misc ds1722 fixups

2009-08-22 Thread Graeme Russ
This patch is based on a patch submitted by Jean-Christophe PLAGNIOL-VILLARD on 18th May 2008 as part of a general i386 / sc520 fixup which was never applied Signed-off-by: Graeme Russ graeme.r...@gmail.com --- drivers/hwmon/ds1722.c |3 ++- include/ds1722.h | 32

[U-Boot] [PATCH 07/17] Misc SATA fixups

2009-08-22 Thread Graeme Russ
Cast first parameter to sata_cpy() In /drivers/block/ata_piix.h, ata_id_has_lba48(), ata_id_has_lba(), ata_id_has_dma(), ata_id_u32(), ata_id_u64() are all defined in include/libata.h which is included in ata.h which is included by all files which include ata_piix.h (only ata_piix.c) so these

[U-Boot] [PATCH 02/17] Change inline asm global symbols to local

2009-08-22 Thread Graeme Russ
gcc 4.3.2 optimiser creates multiple copies of inline asm (who knows why) Remove use of global names for labels to prevent 'symbol already defined' errors Signed-off-by: Graeme Russ graeme.r...@gmail.com --- board/eNET/eNET.c |4 ++-- cpu/i386/sc520/sc520.c |4 ++-- 2 files changed,

[U-Boot] [PATCH 10/17] Fixup sc520_spunk board

2009-08-22 Thread Graeme Russ
Primary intent is to resolve build errors for this board which has been neglected for a very long time. I do not have one of these boards, so I cannot test functionality Signed-off-by: Graeme Russ graeme.r...@gmail.com --- board/sc520_spunk/sc520_spunk.c | 33 +++--

[U-Boot] [PATCH 00/17] i386 Updates (touches some common drivers)

2009-08-22 Thread Graeme Russ
Hi all, I've been working at cleaning up some lingering loose ends on the i386 architecture. This patch series cleans up the bulk of them. This series in itself is really a number of smaller incemental steps needed to get to where I wanted to be. Patches 1 though 6 only effect i386 specific code

[U-Boot] [PATCH 11/17] Misc sc520 cdp fixups

2009-08-22 Thread Graeme Russ
Now that the PCI, SATA et al compile problems have been resolved, the cludge that was applied to avoid them can be removed Signed-off-by: Graeme Russ graeme.r...@gmail.com --- include/configs/sc520_cdp.h | 22 -- 1 files changed, 0 insertions(+), 22 deletions(-) diff --git

[U-Boot] [PATCH 01/17] Add errno.h to i386

2009-08-22 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- include/asm-i386/errno.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) create mode 100644 include/asm-i386/errno.h diff --git a/include/asm-i386/errno.h b/include/asm-i386/errno.h new file mode 100644 index 000..4c82b50 ---

[U-Boot] [PATCH 16/17] Move low level eNET board init into dedicated sections

2009-08-22 Thread Graeme Russ
This patch is in readiness for moving all u-boot code + data from Flash to RAM. Low level init code is not needed after bootstrap and therefore does not need to be copied. Moving this code into dedicated sections makes it easier Signed-off-by: Graeme Russ graeme.r...@gmail.com ---

[U-Boot] [PATCH 08/17] Misc ti_pci1410a fixups

2009-08-22 Thread Graeme Russ
Removed do_pinit() - now declared in cmd_pcmcia.c Added #define CONFIG_CMD_PCMCIA around pcmcia_off() in line with other PCMCIA drivers signed/unsigned type fixups Added semi-colon after default: label as required by newer gcc The only board that appears to use this driver is the sc520_spunk

[U-Boot] [PATCH 13/17] Moved PCI from #ifdef to conditional compile for sc520 boards

2009-08-22 Thread Graeme Russ
Signed-off-by: Graeme Russ graeme.r...@gmail.com --- board/eNET/Makefile | 10 +- board/sc520_cdp/Makefile| 14 +- board/sc520_cdp/sc520_cdp.c | 239 -- board/sc520_cdp/sc520_cdp_pci.c | 271 +

Re: [U-Boot] [PATCH 00/17] i386 Updates (touches some common drivers)

2009-08-22 Thread Mike Frysinger
please set sendemail.chainreplyto to false in your git settings. patch series should be like: [summary 0/xx] |- [patch 1/xx] |- [patch 2/xx] not: [summary 0/xx] `- [patch 1/xx] `- [patch 2/xx] `- the latter makes things a lot more painful for people to parse with their e- mail

[U-Boot] [PATCH] Remove deprecated 'autoscr' command

2009-08-22 Thread Peter Tyser
The more standard 'source' command provides identical functionality to the autoscr command. Environment variable names/values on the MVBC_P, MVBML7, kmeter1, mgcoge, and km8xx boards were updated to no longer refernce 'autoscr'. Signed-off-by: Peter Tyser pty...@xes-inc.com --- There was a fair

Re: [U-Boot] [PATCH] Fix all linker scripts for older binutils versions (pre-2.16)

2009-08-22 Thread Wolfgang Denk
Dear Mike Frysinger, In message 200908222000.22345.vap...@gentoo.org you wrote: On Monday 17 August 2009 08:00:53 Wolfgang Denk wrote: --- a/config.mk +++ b/config.mk @@ -166,11 +166,21 @@ endif +# Special flags for CPP when processing the linker script +# Linker versions prior to

Re: [U-Boot] [PATCH 00/17] i386 Updates (touches some common drivers)

2009-08-22 Thread Wolfgang Denk
Dear Mike Frysinger, In message 200908230001.46558.vap...@gentoo.org you wrote: please set sendemail.chainreplyto to false in your git settings. patch series Why that? should be like: [summary 0/xx] |- [patch 1/xx] |- [patch 2/xx] not: [summary 0/xx] `- [patch 1/xx] `-