Re: [U-Boot] [PATCH] : add canyonlands RAM-boot target

2011-03-08 Thread Stefan Roese
On Sunday 06 March 2011 13:13:30 Fawaz wrote: This patch adds another build target for the AMCC Canyonlands PPC460Ex eval board. Using JTAG debugger(e.g. BDI2000/3000) configured to setup the SDRAM. here are TLB entries required by RAM-u-boot (for BDI2000/3000): WTLB 0x0095

[U-Boot] Undelivered Mail Returned to Sender

2011-03-08 Thread Mail Delivery System
This is the mail system at host mx01.topica.com. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your

Re: [U-Boot] [PATCH 06/22] arm: new labels in the linker script file

2011-03-08 Thread Aneesh V
On Tuesday 08 March 2011 03:42 PM, Po-Yu Chuang wrote: Hi Aneesh, [snip ..] + __flash_image_end = .; + .bss __rel_dyn_start (OVERLAY) : { __bss_start = .; *(.bss) There is a patch series which makes _end as end of image and has been applied

[U-Boot] [PATCH v2 01/10] arm: make default implementation of cache_flush() weakly linked

2011-03-08 Thread Aneesh V
make default implementation of cache_flush() weakly linked so that sub-architectures can override it Signed-off-by: Aneesh V ane...@ti.com --- arch/arm/lib/cache.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/lib/cache.c b/arch/arm/lib/cache.c index

[U-Boot] [PATCH v2 00/10] armv7: cache maintenance operations

2011-03-08 Thread Aneesh V
With D-cache and MMU enabled for ARM in u-boot it becomes imperative to support a minimal set of cache maintenance operations and necessary initializations before enabling MMU. This series of patches attempt to do the following for armv7: * Necessary initialization sequence before enabling MMU

[U-Boot] [PATCH v2 02/10] armv7: add miscellaneous utility macros

2011-03-08 Thread Aneesh V
add utility macros for: * bit field operations * log2n functions Signed-off-by: Aneesh V ane...@ti.com --- arch/arm/include/asm/utils.h | 80 ++ 1 files changed, 80 insertions(+), 0 deletions(-) create mode 100644 arch/arm/include/asm/utils.h diff

[U-Boot] [PATCH v2 10/10] armv7: adapt s5pc1xx to the new cache maintenance framework

2011-03-08 Thread Aneesh V
adapt s5pc1xx to the new layered cache maintenance framework Signed-off-by: Aneesh V ane...@ti.com --- arch/arm/cpu/armv7/s5pc1xx/cache.S| 88 ++--- arch/arm/include/asm/arch-s5pc1xx/sys_proto.h |3 - 2 files changed, 7 insertions(+), 84 deletions(-) diff

[U-Boot] [PATCH v2 06/10] arm: minor fixes for cache and mmu handling

2011-03-08 Thread Aneesh V
1. make sure that page table setup is not done multiple times 2. flush_dcache_all() is more appropriate while disabling cache than a range flush on the entire memory(flush_cache()) Provide a default implementation for flush_dcache_all() for backward compatibility and to avoid build

[U-Boot] [PATCH v2 05/10] armv7: integrate cache maintenance support

2011-03-08 Thread Aneesh V
- Enable I-cache on bootup - Enable MMU and D-cache immediately after relocation - Do necessary initialization before enabling d-cache and MMU - Changes to cleanup_before_linux() - Make changes according to the new framework Signed-off-by: Aneesh V ane...@ti.com ---

[U-Boot] [PATCH v2 04/10] armv7: replace CONFIG_L2_OFF with CONFIG_SYS_NO_L2CACHE

2011-03-08 Thread Aneesh V
replace all occurences of CONFIG_L2_OFF with a more appropriate CONFIG_SYS_NO_L2CACHE CONFIG_SYS_NO_L2CACHE has been chosen to be in line with CONFIG_SYS_NO_ICACHE and CONFIG_SYS_NO_DCACHE Signed-off-by: Aneesh V ane...@ti.com --- arch/arm/cpu/armv7/cpu.c|6 +-

[U-Boot] [PATCH v2 09/10] armv7: adapt omap3 to the new cache maintenance framework

2011-03-08 Thread Aneesh V
adapt omap3 to the new layered cache maintenance framework Signed-off-by: Aneesh V ane...@ti.com --- arch/arm/cpu/armv7/omap3/Makefile |1 - arch/arm/cpu/armv7/omap3/board.c| 138 -- arch/arm/cpu/armv7/omap3/cache.S| 263

[U-Boot] [PATCH v2 03/10] armv7: cache maintenance operations for armv7

2011-03-08 Thread Aneesh V
- Add a framework for layered cache maintenance - separate out SOC specific outer cache maintenance from maintenance of caches known to CPU - Add generic ARMv7 cache maintenance operations that affect all caches known to ARMv7 CPUs. For instance in Cortex-A8 these opertions

[U-Boot] [PATCH v2 08/10] armv7: adapt omap4 to the new cache maintenance framework

2011-03-08 Thread Aneesh V
adapt omap4 to the new layered cache maintenance framework Signed-off-by: Aneesh V ane...@ti.com --- arch/arm/cpu/armv7/omap4/lowlevel_init.S| 18 ++ arch/arm/include/asm/arch-omap4/sys_proto.h |1 - include/configs/omap4_panda.h |8 +---

[U-Boot] [PATCH v2 07/10] armv7: add PL310 support to u-boot

2011-03-08 Thread Aneesh V
PL310 is the L2$ controller from ARM used in many SoCs including the Cortex-A9 based OMAP4430 Add support for some of the key PL310 operations - Invalidate all - Invalidate range - Flush(clean invalidate) all - Flush range Signed-off-by: Aneesh V ane...@ti.com

[U-Boot] cfi: Problem with Intel Strata 28F320 flash

2011-03-08 Thread Heiko Schocher
Hello, as I am actual trying to get the keymile boards in sync with actual mainline u-boot, I faced the following Problem with an Intel Strata Flash on the mgcoge (mpc8247 based board): I couldn;t unprotect/erase/write/protect some (not all!) Flash sectors. For Example, I could do this without

[U-Boot] [PATCH 15/20] keymile boards: add CONFIG_PIGGY_MAC_ADRESS_OFFSET

2011-03-08 Thread Heiko Schocher
Normaly the PIGGY_MAC_ADRESS can be read directly from the IVM on keymile boards. On mgcoge3 it differs. Because there are two piggy boards deployed the second MAC adress must be calculated with the IVM mac adress and an offset. This patch allows to set such a offset in the board config.

[U-Boot] [PATCH 18/20] keymile boards: support of boardId / hwkey lists

2011-03-08 Thread Heiko Schocher
From: Thomas Herzmann thomas.herzm...@keymile.com In order to support boardId / hwkey lists, the u-boot default environment has been updated: Added a script checkboardidlist which checks the list of boardId / hwkey if the boadrId / hwkey of the IVM is included in that list. This feature is used

[U-Boot] [PATCH 05/20] arm: add support for kirkwood based mgcoge2un board

2011-03-08 Thread Heiko Schocher
This board is similar to keymile suen3. Signed-off-by: Clive Stubbings clive.stubbi...@xentech.co.uk Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Heiko Schocher h...@denx.de cc: Prafulla Wadaskar prafu...@marvell.com --- MAINTAINERS |1 + boards.cfg

[U-Boot] [PATCH 09/20] powerpc, 83xx: add kmsupx5 board support

2011-03-08 Thread Heiko Schocher
The Keymile SUPx5 board series is based on a PBEC8321 but contains an additional PBUS FPGA (LPXF) on local bus CS2. Signed-off-by: Thomas Reufer thomas.reu...@keymile.com Signed-off-by: Heiko Schocher h...@denx.de cc: Wolfgang Denk w...@denx.de cc: Kim Phillips kim.phill...@freescale.com cc:

[U-Boot] [PATCH 06/20] arm: add support of Kirkwood based board SUEN8

2011-03-08 Thread Heiko Schocher
The Kirwood based SUEN8 board from Keymile is at this stage the same than the suen3 board. This patch adds the board support for the suen8. Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Heiko Schocher h...@denx.de cc: Prafulla Wadaskar prafu...@marvell.com --- MAINTAINERS

[U-Boot] [PATCH 11/20] km_arm: change some register values for SDRAM initialization

2011-03-08 Thread Heiko Schocher
These new values were given by Clive Stubbings from Xentech. According to him they should be used on all bobcat designs. The changes are the following: - enables UART0 and UART1 pins in MPP - define some L2 cache settings - changes a SDRAM timing to better fit the hardware - removed three writes

[U-Boot] [PATCH 17/20] ppc, arm: rework and enhance keymile-common.h

2011-03-08 Thread Heiko Schocher
From: Holger Brunck holger.bru...@keymile.com Add: - introduce bootrunner environment variable This allows to execute consecutive different commands specified in the list subbootcmd. If one command fails the command serie will stop. - introduce environment variable develop, ramfs

[U-Boot] [PATCH 10/20] km-arm: i2c support for suenx based boards

2011-03-08 Thread Heiko Schocher
This patch renames the suen3 defines and functions to suenx which is more generic and more precise, because these values and functions where used by all suenX boards and not only sune3. Signed-off-by: Lukas Roggli lukas.rog...@keymile.com Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH 0/20] keymile board update

2011-03-08 Thread Heiko Schocher
The following patchset updates the support for the keymile boards. - heavy rework of the headerfiles, common board code - add support for 4 new mpc83xx based boards - add support for 1 82xx based board - add support for 2 new kirkwood based boards - fix i2c deblocking for this boards Patch

[U-Boot] [PATCH 14/20] arm, keymile: updates for the arm based boards from keymile

2011-03-08 Thread Heiko Schocher
define KM_IVM_BUS and KM_ENV_BUS macros KM_IVM_BUS is used to define the EEprom_ivm environment variable. These macros allow the reuse of these I2C addresses in other code locations. remove unneeded code On first HW versions the BOCO FPGA was behind a MUX device. These HW versions are not

[U-Boot] [PATCH 20/20] ppc, mgcoge, mgcoge2ne: add DIP switch detection

2011-03-08 Thread Heiko Schocher
From: Huber, Andreas andreas.hu...@keymile.com This reads the DIP switch register in the BFTICU (0x4089). If 'Full reset' or 'DB erase' is selected, 'actual_bank' is set to 0. This loads the Bootloader application who does the erase stuff. Signed-off-by: Andreas Huber

[U-Boot] [PATCH 04/20] mpc832x: add support for mpc8321 based tuda1 board

2011-03-08 Thread Heiko Schocher
This board is similar to suvd3 board. So most initialisation topics are taken from suvd3 (UART1, Ethernet, piggy PHY, flash, ram) only the application specific chip selects differ. Signed-off-by: Lukas Roggli lukas.rog...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com

[U-Boot] [PATCH 13/20] keymile, common; fix i2c deblocking support

2011-03-08 Thread Heiko Schocher
This patch fix the i2c deblocking facility with the i2c HW-Controller. The required delays for byte reading, the enhanced criteria for stop the dummy read and required 5 start/stop sequences are added. Add i2c deblocking before ivm eeprom read. Improve i2c deblocking sequence by respecting stop

[U-Boot] [PATCH 02/20] mpc832x: add support for the mpc8321 based suvd3 board

2011-03-08 Thread Heiko Schocher
- serial console on UART1 - Ethernet RMII over UCC4 - PHY SMSC LAN8700 - 64MB Flash - 128 MB DDR2 RAM - I2C - bootcount This board is similiar to the kmeter1 (8360) board, so common config options are extracted into the include/configs/km83xx-common.h file. Signed-off-by: Heiko Schocher

[U-Boot] [PATCH 01/20] keymile: rework headerfiles for keymile boards

2011-03-08 Thread Heiko Schocher
- This patch reworks all headerfiles for keymile boards (coge, supx4, eter1, suen3). Furthermore, a refactoring on the whole environment variables has been acomplished. - Environment variables: - grouped into logical blocks (#defines) based on the functionality/purpose - short

[U-Boot] [PATCH 19/20] keymile-common.h: remove IO mux stuff

2011-03-08 Thread Heiko Schocher
From: Holger Brunck holger.bru...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Wolfgang Denk w...@denx.de cc: Valentin Longchamp valentin.longch...@keymile.com cc: Heiko Schocher h...@denx.de --- include/configs/keymile-common.h |9 +++-- 1 files changed, 3

[U-Boot] [PATCH 03/20] mpc832x: add support for mpc8321 based tuxa1 board

2011-03-08 Thread Heiko Schocher
This board is similar to suvd3 board. So most initialisation topics are taken from suvd3 (UART1, Ethernet, piggy PHY, flash, ram) only the application specific chip selects differ. Signed-off-by: Lukas Roggli lukas.rog...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com

[U-Boot] [PATCH 16/20] keymile, common: add setting of some environment variables

2011-03-08 Thread Heiko Schocher
This patch adds last_stage_init to all keymile boards. And in the last stage init some environment variables for u-boot were set. Currently these are pnvramaddr, pram and var address. Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Heiko Schocher h...@denx.de cc: Valentin

[U-Boot] [PATCH 08/20] keymile, 8321 boards: move common definitions to km8321-common.h

2011-03-08 Thread Heiko Schocher
From: Thomas Reufer thomas.reu...@keymile.com First step for a cleanup of all header files for km8321 boards. Signed-off-by: Thomas Reufer thomas.reu...@keymile.com cc: Wolfgang Denk w...@denx.de cc: Kim Phillips kim.phill...@freescale.com cc: Valentin Longchamp valentin.longch...@keymile.com

[U-Boot] [PATCH 07/20] ppc: add support for ppc based board mgcoge2ne

2011-03-08 Thread Heiko Schocher
The mgcoge2 board from keymile deploys two different porcessors. An ARM based Kirkwood for the unit part of the SW and a PPC for the ne part of the SW. Therefore in Linux and U-Boot the names for the board are mgcoge2un and mgcoge2ne. This patch adds the mgcoge2ne part of the board. The ppc part

[U-Boot] [PATCH 12/20] ppc, 8321: cleanup tuxa1, tuda1 and suvd3 support

2011-03-08 Thread Heiko Schocher
For the kmsupx5 a new header file was introduced km8321-common.h. Now the common stuff from tuxa1, tuda1 and suvd3 was removed and the new header file included. The defines CONFIG_SYS_PIGGY_BASE and CONFIG_SYS_PIGGY_SIZE are confusing. Because they actually describe the KMBEC FPGA values. The

[U-Boot] [PATCH] microblaze: Setup monitor_flash_len

2011-03-08 Thread Michal Simek
Flash address on Microblaze systems could be on higher addresses then ram. This patch fixed this assumption and flash can be located on any address. Signed-off-by: Michal Simek mon...@monstr.eu --- arch/microblaze/lib/board.c |8 1 files changed, 8 insertions(+), 0 deletions(-)

[U-Boot] [PATCH v2 1/2] net: axi_ethernet: Add driver to u-boot v2

2011-03-08 Thread Michal Simek
Add the first axi_ethernet driver for little-endian Microblaze. Signed-off-by: Michal Simek mon...@monstr.eu --- v2: - Fix return addreses - Fix NULL pointer defer for priv structure --- .../xilinx/microblaze-generic/microblaze-generic.c |4 + drivers/net/Makefile

[U-Boot] [PATCH 2/2] net: xilinx emaclite: Fix return values

2011-03-08 Thread Michal Simek
Fix return values for initialize/init/recv/send functions Signed-off-by: Michal Simek mon...@monstr.eu --- drivers/net/xilinx_emaclite.c | 14 +++--- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/net/xilinx_emaclite.c b/drivers/net/xilinx_emaclite.c index

Re: [U-Boot] cfi: Problem with Intel Strata 28F320 flash

2011-03-08 Thread Philippe De Muyter
Hello Heiko, On Tue, Mar 08, 2011 at 02:08:26PM +0100, Heiko Schocher wrote: Hello, as I am actual trying to get the keymile boards in sync with actual mainline u-boot, I faced the following Problem with an Intel Strata Flash on the mgcoge (mpc8247 based board): I couldn;t

Re: [U-Boot] [PATCH 15/21] nios2: Generic system restart support

2011-03-08 Thread Scott McNutt
Hi Kyle, Kyle Moffett wrote: The Nios-II port appears to use no generic hardware capability for performing a CPU reset. Since all of the supported boards use the exact same code to perform a jump-to-flash it goes into __arch_restart(). This means that Nios-II has a no-op

Re: [U-Boot] [PATCH 15/21] nios2: Generic system restart support

2011-03-08 Thread Moffett, Kyle D
Hi! On Mar 08, 2011, at 19:13, Scott McNutt wrote: Hi Kyle, Kyle Moffett wrote: The Nios-II port appears to use no generic hardware capability for performing a CPU reset. Since all of the supported boards use the exact same code to perform a jump-to-flash it goes into __arch_restart().

Re: [U-Boot] [PATCH 15/21] nios2: Generic system restart support

2011-03-08 Thread Scott McNutt
Moffett, Kyle D wrote: Hi! On Mar 08, 2011, at 19:13, Scott McNutt wrote: Hi Kyle, Kyle Moffett wrote: The Nios-II port appears to use no generic hardware capability for performing a CPU reset. Since all of the supported boards use the exact same code to perform a jump-to-flash it goes

[U-Boot] make fails for versatilepb_config

2011-03-08 Thread william estrada
Using u-boot-marvell.git, doing a make all make[1]: Entering directory `/src/IConnect/src/U-boot/u-boot-marvell.git/arch/arm/lib' arm-gp2x-linux-gcc -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -DCONFIG_SYS_TEXT_BASE=0x0100

Re: [U-Boot] [PATCH 17/22] omap4: calculate EMIF register values

2011-03-08 Thread John Rigby
On Mon, Feb 28, 2011 at 4:46 AM, Aneesh V ane...@ti.com wrote: Calculate EMIF register values based on AC timing parameters from the SDRAM datasheet and the DDR frequency rather than using the hard-coded values. For a new board the user doen't have to go through the tedious process of

Re: [U-Boot] [PATCH 17/22] omap4: calculate EMIF register values

2011-03-08 Thread Aneesh V
On Wednesday 09 March 2011 10:16 AM, John Rigby wrote: On Mon, Feb 28, 2011 at 4:46 AM, Aneesh Vane...@ti.com wrote: Calculate EMIF register values based on AC timing parameters from the SDRAM datasheet and the DDR frequency rather than using the hard-coded values. For a new board the user

[U-Boot] problem with crossmaking

2011-03-08 Thread mohd hamid khan
i m making crossmake on my host machine linux (x486/4.4.4) when i m in process of u boot compilation i found error given as bellow. root@hamid:/home/u-boot-1.1.6# crossmake for dir in tools examples post post/cpu ; do make -C $dir _depend ; done make[1]: Entering directory

[U-Boot] problem with crossmaking

2011-03-08 Thread Mohd Hamid
i m making crossmake on my host machine linux (x486/4.4.4) when i m in process of u boot compilation i found error given as bellow. root@hamid:/home/u-boot-1.1.6# crossmake for dir in tools examples post post/cpu ; do make -C $dir _depend ; done make[1]: Entering directory

Re: [U-Boot] [PATCH 2/5] powerpc/85xx: Read board switch settings on p1_p2_rdb

2011-03-08 Thread McClintock Matthew-B29882
On Sun, Mar 6, 2011 at 10:17 PM, Kumar Gala ga...@kernel.crashing.org wrote: +               if (i2c_data 0x1) { +                       setbits_be32(gur-pmuxcr, MPC85xx_PMUXCR_SD_DATA); +                       puts(SD/MMC : 8-bit Mode\n); +                       puts(eSPI : Disabled\n); +  

Re: [U-Boot] cfi: Problem with Intel Strata 28F320 flash

2011-03-08 Thread Heiko Schocher
Hello Philippe, Philippe De Muyter wrote: On Tue, Mar 08, 2011 at 02:08:26PM +0100, Heiko Schocher wrote: Hello, as I am actual trying to get the keymile boards in sync with actual mainline u-boot, I faced the following Problem with an Intel Strata Flash on the mgcoge (mpc8247 based board):

Re: [U-Boot] problem with crossmaking

2011-03-08 Thread Mike Frysinger
On Wednesday, March 09, 2011 00:58:23 mohd hamid khan wrote: root@hamid:/home/u-boot-1.1.6# crossmake two things: - you're using u-boot-1.1.6 which is not supported. upgrade. - crossmake has nothing to do with u-boot. ask whoever wrote it. -mike signature.asc Description: This is a

Re: [U-Boot] [PATCH] net: axi_ethernet: Add driver to u-boot

2011-03-08 Thread Mike Frysinger
On Friday, March 04, 2011 05:09:53 Michal Simek wrote: Mike Frysinger wrote: 3. dev-init return -1 - if init failed return 0 - on success ok (here you are saying should be return # of devices) no, i think you confused initialize with init in my feedback ok. From my point

Re: [U-Boot] [PATCH v2 1/2] net: axi_ethernet: Add driver to u-boot v2

2011-03-08 Thread Mike Frysinger
On Tuesday, March 08, 2011 09:25:52 Michal Simek wrote: +int xilinx_axiemac_initialize(bd_t *bis, int base_addr, int dma_addr) +{ + struct eth_device *dev; + struct axidma_priv *dma; + + dev = calloc(1, sizeof(struct eth_device)); + if (dev == NULL) + return -1;

Re: [U-Boot] [PATCH] net: axi_ethernet: Add driver to u-boot

2011-03-08 Thread Mike Frysinger
On Friday, March 04, 2011 05:09:53 Michal Simek wrote: To finish this discuss - here is what you think that it is correct. ad 2) return -1 - if initialize failed return 0 - never return return 0 - # of devices oh, and to clarify on the return 0, i think it's conceivable that if a device