Re: [U-Boot] drivers/net/enc28j60.c - generalisation, how?

2010-07-26 Thread Reinhard Meyer
Mike Frysinger wrote: On Sunday, July 25, 2010 20:07:31 Reinhard Meyer wrote: I can rename the current driver to like enc28j60_lpc2292.c and make the two affected boards use it, so they still compile and work. I can't do those boards' maintainers work and add the required code to use the

Re: [U-Boot] [PATCH] at91: Don't initialize watchdog if CONFIG_SYS_WDTC_WDMR_VAL is undefined

2010-07-26 Thread Wolfgang Denk
Dear Alexander Stein, please always keep the mailing list on Cc: - thanks. In message 201007260810.47268.alexander.st...@systec-electronic.com you wrote: I can see the intention, but this should not depend on val being defined or not - and it needs explicit documentation (in the README,

Re: [U-Boot] [PATCH v2] at91: Don't initialize watchdog if CONFIG_SKIP_WATCHDOG_INIT is undefined

2010-07-26 Thread Wolfgang Denk
Dear Alexander Stein, In message 1280136874-20303-1-git-send-email-alexander.st...@systec-electronic.com you wrote: This allows Linux to initialize and use the watchdog with the included driver. Please explain why this is needed. It may be clear to you, but no to most other readers. +-

[U-Boot] [PATCH v3] at91: Don't initialize watchdog if CONFIG_SKIP_WATCHDOG_INIT is undefined

2010-07-26 Thread Alexander Stein
On AT91 the watchdog mode register can only be written once after reset. If this register is written by u-boot e.g. a Linux driver can't reconfigure the watchdog later. If the watchdog is left untouched this is possible. Without touching the mode register the watchdog has a default setup and

Re: [U-Boot] Problem when compiling Uboot 1.3.4 use arm-linux-gcc 3.3.2

2010-07-26 Thread yaojin liu
just use new arm-gcc. 4.x 2010/7/25 Zheng Zhang zwxp...@gmail.com Hi everyone, I am porting uboot 1.3.4 to my s3c2440 board, the cross compiler is arm-linux-gcc 3.3.2, and met a problem as following: cd /home/Fedora/Desktop/utu2440/u-boot-1.3.4 arm-linux-ld -Bstatic -T

Re: [U-Boot] [PATCH v2] powerpc/85xx: Add additional p4080 platform related defines/structs

2010-07-26 Thread Kumar Gala
On Jul 21, 2010, at 12:42 AM, Kumar Gala wrote: * Added PCIE4 address, offset, DEVDISR LAW target ID * Added new p4080 DDR registers and defines to immap * Add missing corenet platform DEVDISR related defines * Updated ccsr_gur to include LIODN registers * Add RCWSR defines * Added Basic

Re: [U-Boot] [PATCH] powerpc/fsl_fman: Add initial fman immap structures

2010-07-26 Thread Kumar Gala
On Jul 15, 2010, at 12:05 AM, Kumar Gala wrote: Add basic structures for Frame Manager on P4080/P3041/P5020 devices Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- arch/powerpc/include/asm/fsl_fman.h | 212 + arch/powerpc/include/asm/immap_85xx.h

[U-Boot] did anyone use flash_utils on dm355 platform?i cannot write flash!

2010-07-26 Thread yaojin liu
hi: i use the GUN tools. flash_utils.tar.gz now I can read the flash ID,(K9F1208U0C):ID = 0x00EC0x00760x00A50x00C0 but i cannot write data to page, so i cannot use UBOOT! Therefor i doubt that uboot also has the same problem? i have tried several days, but cannot figure it out yet!

[U-Boot] Webmail Update Account

2010-07-26 Thread Mail Administrator
Caro utilizador Webmail, Esta mensagem é a partir do Webmail IT Service centro de mensagens para todos os assinantes de usuários / webmail. Estamos atualizando nossa base de dados e e-mail devido a um centro de atividades incomuns identificado em nosso sistema de e-mail. Nós estamos apagando

[U-Boot] Webmail Update Account

2010-07-26 Thread Mail Administrator
Caro utilizador Webmail, Esta mensagem é a partir do Webmail IT Service centro de mensagens para todos os assinantes de usuários / webmail. Estamos atualizando nossa base de dados e e-mail devido a um centro de atividades incomuns identificado em nosso sistema de e-mail. Nós estamos apagando

Re: [U-Boot] drivers/net/enc28j60.c - generalisation, how?

2010-07-26 Thread Ben Warren
On Sunday, July 25, 2010, Reinhard Meyer reinhard.me...@emk-elektronik.de wrote: Mike Frysinger wrote: On Sunday, July 25, 2010 20:07:31 Reinhard Meyer wrote: I can rename the current driver to like enc28j60_lpc2292.c and make the two affected boards use it, so they still compile and work.

Re: [U-Boot] [PATCH 5/5] New implementation for internal handling of environment variables.

2010-07-26 Thread Matthias Fuchs
Hi Wolfgang, I could think of some situations where the new env command is helpful. But more during development than for production systems. Switching between environment profiles would be cool. And a env default -f behavior that keeps MAC addresses and serial# is also on my wishlist. I did

Re: [U-Boot] [PATCH] [mips] add $(ENDIANNESS) option when link hello_world example

2010-07-26 Thread Xiangfu Liu
Hi Shinya thanks for the links and patch. comment inline :) On 07/21/2010 10:08 PM, Shinya Kuribayashi wrote: Little endian build is one of the outstanding issues for MIPS ports[1]. There are several technical issues, 1) lack of powerful configration infrastructure (it's drastically improved

Re: [U-Boot] did anyone use flash_utils on dm355 platform?i cannot write flash!

2010-07-26 Thread Henrique Camargo
Are you using a serial writer or a JTAG? DM355 has a second stage bootloader called UBL, have you got that working? On Mon, Jul 26, 2010 at 11:20 AM, yaojin liu lanma...@gmail.com wrote: hi: i use the GUN tools. flash_utils.tar.gz now I can read the flash ID,(K9F1208U0C):ID =

[U-Boot] [PATCH 0/3] Fix building various esd boards in u-boot-testing repo's hastable branch

2010-07-26 Thread matthias . fuchs
From: Matthias Fuchs matthias.fu...@esd.eu Fix building various esd boards in u-boot-testing repo's hastable branch. Matthias Fuchs (3): ppc4xx: Fix building of AR405 board ppc4xx: Fix building of CANBT board ppc4xx: Fix building of PMC440 board board/esd/ar405/config.mk |9

[U-Boot] [PATCH 1/3] ppc4xx: Fix building of AR405 board

2010-07-26 Thread matthias . fuchs
From: Matthias Fuchs matthias.fu...@esd.eu Update image size after addition of new environment handling. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- board/esd/ar405/config.mk |9 + include/configs/AR405.h | 10 +- 2 files changed, 6 insertions(+), 13

[U-Boot] [PATCH 2/3] ppc4xx: Fix building of CANBT board

2010-07-26 Thread matthias . fuchs
From: Matthias Fuchs matthias.fu...@esd.eu Update image size after addition of new environment handling. Signed-off-by: Matthias Fuchs matthias.fu...@esd.eu --- board/esd/canbt/config.mk |8 +--- include/configs/CANBT.h |6 +++--- 2 files changed, 4 insertions(+), 10 deletions(-)

[U-Boot] U-Boot: U-Boot 2010.06 doesn't boot from NAND Flash on AMCC Sequoia

2010-07-26 Thread YURI ZHARIKOV
Dear all: We are Microelectronic Design and Applications (DMA) research group from University Carlos III of Madrid (Spain). At the moment, we are developing our own computational hardware platform, based on AMCC Sequoia board. In the past, we used U-Boot 1.3.3 with AMCC Sequoia board, and PPC

Re: [U-Boot] [PATCH] powerpc/p2020: Move INIT_RAM_ADDR physical address higher for 36-bit for P2020DS

2010-07-26 Thread Kumar Gala
On Jul 14, 2010, at 10:14 AM, Kumar Gala wrote: From: york york...@freescale.com If 36-bit is enabled, move INIT_RAM_ADDR physical address higher to free lowest 4GB address space. Signed-off-by: York Sun york...@freescale.com --- board/freescale/p2020ds/tlb.c |8

[U-Boot] [PATCH v2] powerpc/p4080: Add support for the P4080DS board

2010-07-26 Thread Kumar Gala
Add support for the P4080DS board, with the following features: * 36-bit only * Boots from NOR flash * FMAN drivers NOT supported * SPD DDR initialization Signed-off-by: Ed Swarthout ed.swarth...@freescale.com Signed-off-by: Emil Medve emilian.me...@freescale.com Signed-off-by: Becky Bruce

Re: [U-Boot] [PATCH 2/4] powerpc/p4080: Add workaround for errata SERDES8

2010-07-26 Thread Kumar Gala
On Jul 15, 2010, at 5:15 PM, Kumar Gala wrote: Signed-off-by: Scott Wood scottw...@freescale.com Signed-off-by: Emil Medve emilian.me...@freescale.com Signed-off-by: Ed Swarthout ed.swarth...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org ---

Re: [U-Boot] [PATCH 3/4] powerpc/p4080: Add workaround for erratum CPU22

2010-07-26 Thread Kumar Gala
On Jul 15, 2010, at 5:15 PM, Kumar Gala wrote: Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- arch/powerpc/cpu/mpc85xx/cmd_errata.c |4 +++- arch/powerpc/cpu/mpc85xx/cpu_init.c |7 +++ arch/powerpc/cpu/mpc85xx/release.S|6 ++

Re: [U-Boot] [PATCH] powerpc/p4080: Add support for CPC(Corenet platform cache) on CoreNet platforms

2010-07-26 Thread Kumar Gala
On Jul 15, 2010, at 11:52 AM, Kumar Gala wrote: The CoreNet style platforms can have a L3 cache that fronts the memory controllers. Enable that cache as well as add information into the device tree about it. Signed-off-by: Kumar Gala ga...@kernel.crashing.org Signed-off-by: Dave Liu

Re: [U-Boot] [PATCH 1/8] powerpc/8xxx: Enabled hwconfig for memory interleaving

2010-07-26 Thread Kumar Gala
On Jul 14, 2010, at 10:14 AM, Kumar Gala wrote: Replace environmental variables memctl_intlv_ctl and ba_intlv_ctl with hwconfig parameters. The syntax is setenv hwconfig fsl_ddr:ctlr_intlv=mode,bank_intlv=mode The mode values for memory controller interleaving are cacheline

Re: [U-Boot] [PATCH 3/8] powerpc/8xxx: Enable quad-rank DIMMs.

2010-07-26 Thread Kumar Gala
On Jul 14, 2010, at 10:14 AM, Kumar Gala wrote: From: york york...@freescale.com Previous code presumes each DIMM has up to two rank (chip select). Newer DDR controller supports up to four chip select on one DIMM. Signed-off-by: York Sun york...@freescale.com ---

Re: [U-Boot] [PATCH 2/8] powerpc/8xxx: Fix bug in memctrl interleaving bank interleaving on cs0~cs4

2010-07-26 Thread Kumar Gala
On Jul 14, 2010, at 10:14 AM, Kumar Gala wrote: From: york york...@freescale.com Verified on MPC8641HPCN with four DDR2 dimms. Each dimm has dual rank with 512MB each rank. Also check dimm size and rank size for memory controller interleaving Signed-off-by: York Sun

Re: [U-Boot] [PATCH 4/8] powerpc/8xxx: Enabled address hashing for 85xx

2010-07-26 Thread Kumar Gala
On Jul 14, 2010, at 10:14 AM, Kumar Gala wrote: From: york york...@freescale.com For 85xx silicon which supports address hashing, it can be activated by hwconfig. Signed-off-by: York Sun york...@freescale.com --- arch/powerpc/cpu/mpc85xx/ddr-gen3.c |2 ++

Re: [U-Boot] [PATCH 5/8] powerpc/8xxx: Enable DDR3 RDIMM support

2010-07-26 Thread Kumar Gala
On Jul 14, 2010, at 10:14 AM, Kumar Gala wrote: From: york york...@freescale.com Enabled registered DIMMs using data from SPD. RDIMMs have registers which need to be configured before using. The register configuration words are stored in SPD byte 60~116 (JEDEC standard No.21-C). Software

Re: [U-Boot] [PATCH 7/8] powerpc/p2020ds: Integrated with P2020DS DDR change and enabled hwconfig

2010-07-26 Thread Kumar Gala
On Jul 14, 2010, at 10:15 AM, Kumar Gala wrote: From: york york...@freescale.com Enabled SPD Enabled DDR2 Enabled hwconfig Signed-off-by: York Sun york...@freescale.com --- Makefile |1 + board/freescale/p2020ds/ddr.c | 56

Re: [U-Boot] drivers/net/enc28j60.c - generalisation, how?

2010-07-26 Thread Mike Frysinger
On Sunday, July 25, 2010 16:40:14 Mike Frysinger wrote: On Sunday, July 25, 2010 16:06:31 Reinhard Meyer wrote: Mike Frysinger wrote: On Saturday, July 24, 2010 02:11:16 Reinhard Meyer wrote: I would like to generalize that driver and make it also CONFIG_NET_MULTI-able. someone

[U-Boot] [PATCH] ext2fs: Fix optimization bug for doubly-indirect block pointers

2010-07-26 Thread Aaron Pace
Fix optimization bug for doubly-indirect block pointers Doubly-indirect block numbers are compared against the first-level indirect block when checking for a cached copy. This is causing the doubly-indirect block to be re-read each time it is accessed. Repairing this reduces load time for a 70M

Re: [U-Boot] [PATCH] ext2fs: Fix optimization bug for doubly-indirect block pointers

2010-07-26 Thread Aaron Pace
Apologies for the oversight, here's the non line-wrapped version. Fix optimization bug for doubly-indirect block pointers Doubly-indirect block numbers are compared against the first-level indirect block when checking for a cached copy. This is causing the doubly-indirect block to be re-read

[U-Boot] Driver for CONFIG_CF_QSPI

2010-07-26 Thread Richard Retanubun
Hi TC, I am looking to use the QSPI for MCF5270 and noticed that the cf_spi driver only stubs this part. Any chance there are CF_QSPI driver code written somewhere but just not submitted upstream? Sorry for overloading the question, any pointers to where I can find it for uClinux also? Thanks

Re: [U-Boot] [PATCH] [mips] add $(ENDIANNESS) option when link hello_world example

2010-07-26 Thread Shinya Kuribayashi
On 7/27/10 12:06 AM, Xiangfu Liu wrote: what about split this patch to two: one is all *.lds files, the other one is for the argument, Sounds good. I have one question here. if we decete the board cpu by CONFIG_CPU_LITTLE_ENDIAN. why we need check the toolchina again. The answer is

Re: [U-Boot] [PATCH 5/5] New implementation for internal handling of environment variables.

2010-07-26 Thread Kim Phillips
On Sun, 25 Jul 2010 23:45:02 +0200 Wolfgang Denk w...@denx.de wrote: Could you please also test the code from the current (rebased) version in the hashtable branch of the git://git.denx.de/u-boot-testing.git repo? I have adresses the problem of early environment accesses, and at least on

[U-Boot] [PATCH] net: rename FSL UECx net interfaces UECx

2010-07-26 Thread Kim Phillips
continuation of commit 2ecc2262d66a286e3aac79005bcb5f461312dea8 net ppc: fix ethernet device names with spaces (currently in u-boot-net.git) for QE based parts. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- doc/README.kmeter1|2 +- drivers/qe/uec.c |

[U-Boot] [PATCH] cfi_flash: flinfo: allow user interrupt in flash print info fn

2010-07-26 Thread Kim Phillips
flashes getting larger, users more impatient. Signed-off-by: Kim Phillips kim.phill...@freescale.com --- drivers/mtd/cfi_flash.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c index 3267c5d..38d0ca5 100644 ---

[U-Boot] Adding New Boards

2010-07-26 Thread Henrique Camargo
I'm working on a project porting the latest version of u-boot to a dm365evm based board from Appro [1]. The board is a bit different, but most of the changes are to the /include/configs/board.h file. Should I contribute the code when it's working? How should i proceed? This board came with a old

[U-Boot] [PATCH] ppc4xx: Fix building of sc3 board

2010-07-26 Thread Heiko Schocher
Update image size after addition of new environment handling. Signed-off-by: Heiko Schocher h...@denx.de --- board/sc3/config.mk |2 +- include/configs/sc3.h |5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/board/sc3/config.mk b/board/sc3/config.mk index