[U-Boot] 83xx, uec: split enet_interface in two variables, was: 83xx, uec: adjust enet_interface settings on the fly.

2010-01-20 Thread Heiko Schocher
There's no sensible reason to unite speed and interface type into one variable. So split this variable enet_interface into two vars: enet_interface_type, which hold the interface type and speed. Also: add the possibility for switching between 10 and 100 MBit interfaces on the fly, when running in

[U-Boot] 83xx, kmeter1: fix compile error

2010-01-20 Thread Heiko Schocher
- delete double MTDIDS_DEFAULT and MTDPARTS_DEFAULT defines in board config file. - add mising CONFIG_KM_UBI_PARTITION_NAME define Signed-off-by: Heiko Schocher --- include/configs/kmeter1.h |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/include/configs/kmeter1.

Re: [U-Boot] ColdFire I2C implementing I2C idle [PATCH]

2010-01-20 Thread Heiko Schocher
Hello Michael, Michael Durrant wrote: > Signed-off-by: David Wu > Signed-off-by: Michael Durrant Can you please use git-format-patch for creating this patch, and post it here again not attached, just as plain text? (Same for your other 3 patches) Thanks. bye Heiko -- DENX Software Engineeri

Re: [U-Boot] u-boot fails to read from nand flash in omap3

2010-01-20 Thread fgd
Thanks for your quick replies, I could finally solve it yesterday, the problem was that I was writing the nand with nandecc set to HW, so if I read it just after writing it would work, but as soon as I reseted it, it would go back to ecc SW and stop working... I was just forgetting to add a "nande

Re: [U-Boot] [PATCH] Add bootcount to AT91

2010-01-20 Thread Anders Darander
Hi all, As the merge window has closed, I'd just like to bump my old mail below and ask for comments. Currently the actual register to use is hard-coded. I'm unsure of what the current status is when it comes to include new architecture specific CONFIG_*-options. The bootcount-feature is supporte

Re: [U-Boot] [PATCH V2 7/9] fsl_esdhc: add support for mx51 processor

2010-01-20 Thread Stefano Babic
Andy Fleming wrote: > Wolfgang has already covered most of this, but I have a few other > comments (plus a couple of redundant ones) Hi Andy, > I know why you did this, but I really think it's a bad idea to "trick" > the driver into doing the right thing. I agree, I wanted only to point out why

Re: [U-Boot] U-boot running on DDR fails to detect the CFI compliant flash

2010-01-20 Thread prakash bedge
Hi Albert and Stefan, I have used the proper commands. i.e. mw.b 0xfc00 0xf0 mw.b 0xfc55 0x98 md.b 0xfc10 But still no positive results. Last time I forgot to tell here, that I have commneted the for(;;) loop in "hang" function after flash_init result testing in lib_ppc/board.c and the

Re: [U-Boot] Linux Kernel without Ethernet (missed MAC)

2010-01-20 Thread Detlev Zundel
Hi Arno, >> But maybe you did not even read the FAQ, for example >> http://www.denx.de/wiki/view/DULG/EthernetDoesNotWorkInLinux ? > > In my first mail > (http://lists.denx.de/pipermail/u-boot/2010-January/066703.html) > I wrote that I have checked this and wrote down what I found out. > Probably

[U-Boot] [GIT PULL] MIPS updates

2010-01-20 Thread Shinya Kuribayashi
Hi, please pull the following unaligned.h patch required by zlib.c. Thanks in advance, Shinya --- The following changes since commit 50ef25ef24eccd8e69d2c1ccc97b3f7e30109f51: Michal Simek (1): microblaze: zlib needs asm/unaligned.h are available in the git repository at: git://g

Re: [U-Boot] [STATUS] Merge Window closed, waiting for pull requests

2010-01-20 Thread Wolfgang Denk
Dear Mike Frysinger, In message <201001191826.17864.vap...@gentoo.org> you wrote: > > did you see my pull request for kgdb patches from the Blackfin tree ? I did. Do you think anything is missing in current mainline? > also, should i collect my misc smallish patches that saw no feedback in a >

Re: [U-Boot] U-boot running on DDR fails to detect the CFI compliant flash

2010-01-20 Thread Jerry Van Baren
Hi Prakash Please quote properly and don't top post. Your emails are very hard to understand. prakash bedge wrote: > Hi Albert and Stefan, > > I have used the proper commands. > i.e. > mw.b 0xfc00 0xf0 > mw.b 0xfc55 0x98 > md.b 0xfc10 > But still no positive results. > Last time I

[U-Boot] [PATCH] mpc5xxx: Support CPU internal watchdog.

2010-01-20 Thread Detlev Zundel
Signed-off-by: Detlev Zundel --- cpu/mpc5xxx/cpu.c | 20 +++- cpu/mpc5xxx/cpu_init.c | 14 +- include/watchdog.h |5 + 3 files changed, 37 insertions(+), 2 deletions(-) diff --git a/cpu/mpc5xxx/cpu.c b/cpu/mpc5xxx/cpu.c index 2a28df4..edfb828 1006

Re: [U-Boot] Linux Kernel without Ethernet (missed MAC)

2010-01-20 Thread Arno Steffen
I did a small mod in uboot now. After each ethernet-access the interface chip seems to get a soft reset, which deletes the mac address in its registers. So in smc911x.h () in function smc911x_reset I commented the line // smc911x_reg_write(dev, HW_CFG, HW_CFG_SRST); It is somehow pitty

Re: [U-Boot] [PATCH v2] da830evm: Use table driven pin mux configuration

2010-01-20 Thread Paulraj, Sandeep
> > Tidyup the pin muxer configuration using the Davinci table driven > pinmux configuration function and data tables. > > Signed-off-by: Nick Thompson > --- > Applies to master > > Changes: > Rebased after USB patch > > board/davinci/da830evm/da830evm.c | 35 +--

Re: [U-Boot] Profiling uboot

2010-01-20 Thread Ira W. Snyder
On Wed, Jan 20, 2010 at 09:51:57AM +0530, Basavaraj Dengi wrote: > Hi, > > I am trying to measure the time taken by uboot, from its init till > it jumps to zImage[kernel]. > > Any suggestions as to which API's to be used for that? > > Thanks in advance. > I've used the attached ptx_ts script t

[U-Boot] [PATCH V3 01/11] mkimage: Add Freescale imx Boot Image support (imximage)

2010-01-20 Thread Stefano Babic
This patch adds support for "imximage" (MX Boot Image) to the mkimage utility. The imximage is used on the Freescales's MX.25, MX.35 and MX.51 processors. Further details under doc/README.imximage. This patch was tested on a Freescale mx51evk board. Signed-off-by: Stefano Babic --- Makefile

[U-Boot] [PATCH V3 02/11] MX51: Add initial support for the Freescale MX51

2010-01-20 Thread Stefano Babic
The patch add initial support for the Freescale i.MX51 processor (family arm cortex_a8). Signed-off-by: Stefano Babic Signed-off-by: Fred Fan --- cpu/arm_cortexa8/mx51/Makefile| 48 ++ cpu/arm_cortexa8/mx51/clock.c | 293 + cpu/arm_cortexa8

[U-Boot] [PATCH V3 03/11] MX51: Add register definitions

2010-01-20 Thread Stefano Babic
The patch add header files to support the Freescale i.MX51 processor, setting definitions for internal registers. Signed-off-by: Stefano Babic Signed-off-by: Fred Fan --- include/asm-arm/arch-mx51/asm-offsets.h | 50 ++ include/asm-arm/arch-mx51/crm_regs.h| 192 +

[U-Boot] [PATCH V3 04/11] MX51: Add pin and multiplexer definitions.

2010-01-20 Thread Stefano Babic
The patch add header files to support the pin multiplexer of the the Freescale i.MX51 processor. Signed-off-by: Stefano Babic Signed-off-by: Fred Fan --- include/asm-arm/arch-mx51/iomux.h | 193 + include/asm-arm/arch-mx51/mx51_pins.h | 374

[U-Boot] [PATCH V3 05/11] serial_mxc: add support for MX51 processor

2010-01-20 Thread Stefano Babic
The patch adds support for the Freescale mx51 processor. Signed-off-by: Stefano Babic Signed-off-by: Fred Fan --- drivers/serial/serial_mxc.c | 18 -- 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/drivers/serial/serial_mxc.c b/drivers/serial/serial_mxc.c inde

[U-Boot] [PATCH V3 06/11] mmc: check correctness of the voltage mask in ocr

2010-01-20 Thread Stefano Babic
Most cards do not answer if some reserved bits in the ocr are set. However, some controllers can set bit 7 (reserved for low voltages), but how to manage low voltages SD card is not yet specified. Signed-off-by: Stefano Babic --- drivers/mmc/mmc.c | 10 +- 1 files changed, 9 insertions

[U-Boot] [PATCH V3 07/11] fec_mxc: add support for MX51 processor

2010-01-20 Thread Stefano Babic
The patch add support for the Freescale mx51 processor to the FEC ethernet driver. Signed-off-by: Stefano Babic --- drivers/net/fec_mxc.c | 68 +--- 1 files changed, 30 insertions(+), 38 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/

[U-Boot] [PATCH V3 08/11] MMC: add weak function to detect MMC/SD card

2010-01-20 Thread Stefano Babic
Most controllers can check if there is a card in the slot. However, they require pins that could be not available because required by other functions and the detection of a card must be performed in another way. This patch adds a weak function that a board can implement to add its internal custom w

[U-Boot] [PATCH V3 09/11] ARM/PPC: add a common way to access registers

2010-01-20 Thread Stefano Babic
Some Freescale's processors of different architecture have the same peripheral (eSDHC controller in PowerPC and i.MX51). This patch adds neutral functions to access to the internal registers of the SOCs that can be used by both architectures. Signed-off-by: Stefano Babic --- include/asm-arm/io.h

[U-Boot] [PATCH V3 10/11] fsl_esdhc: add support for mx51 processor

2010-01-20 Thread Stefano Babic
The esdhc controller in the mx51 processor is quite the same as the one in some powerpc processors (MPC83xx, MPC85xx). This patches adapts the driver to support the arm mx51. Signed-off-by: Stefano Babic --- cpu/arm_cortexa8/mx51/Makefile |2 +- cpu/arm_cortexa8/mx51/speed.c | 38

[U-Boot] [PATCH V3 11/11] Add initial support for Freescale mx51evk board

2010-01-20 Thread Stefano Babic
The patch adds initial support for the Freescale mx51evk board. Network (FEC) and SD controller (fsl_esdhc) are supported. Signed-off-by: Stefano Babic Signed-off-by: Fred Fan --- MAINTAINERS |4 + MAKEALL |1 + Makefile

[U-Boot] Uboot port for Cortex M1,M3

2010-01-20 Thread Shinose
Hi All, I have the u-boot port done for Cortex-M1 controller on https://www.actel.com/products/hardware/devkits_boards/m1proasic3l.aspx which can also be extended to be used for the latest Cortex-M3 controller boards. But this processor only supports thumb and thumb2 instructions. With my working

[U-Boot] U-Boot for LENO3 processor board

2010-01-20 Thread K Balaji
Dear All, Greetings! I am having the following boot requirements: Boot software will be flashed in to PROM, which should start from PROM and copy the application software which is flahsed in other flash device in different address space. The processor is LEON3FT. is current release of U-Boot

Re: [U-Boot] [STATUS] Merge Window closed, waiting for pull requests

2010-01-20 Thread Dirk Behme
On 19.01.2010 23:30, Wolfgang Denk wrote: > Hi > > as you probably have noticed, the merge window closed about 24 hours > ago. Checking my list, I still see s _long_ list of ARM related > patches that have not been processed yet. For many of them I haven't > seen any review comments, nor have archi

[U-Boot] turning off interactive mode...

2010-01-20 Thread Steve Iribarne (GMail)
Hi list. I did a search and I must be completely missing the point. I want to build a "released" version of u-boot on my system. If I set the bootdely=0 and set a bootcmd does this prevent someone from hitting a key really quick and disrupting the boot? By reading the documentation, I'm pretty

Re: [U-Boot] [STATUS] Merge Window closed, waiting for pull requests

2010-01-20 Thread Paulraj, Sandeep
> Subject: Re: [U-Boot] [STATUS] Merge Window closed, waiting for pull > requests > > On 19.01.2010 23:30, Wolfgang Denk wrote: > > Hi > > > > as you probably have noticed, the merge window closed about 24 hours > > ago. Checking my list, I still see s _long_ list of ARM related > > patches that

Re: [U-Boot] Adding EP2500 MCF5282 board [PATCH] -- resent in git format

2010-01-20 Thread Michael Durrant
Mercury-EP2500.patch - added Mercury's EP2500 board uses the mcf5282 processor CREDITS.patch Signed-off-by: David Wu Signed-off-by: Michael Durrant --- CREDITS|5 + Makefile |3 +++ cpu/mcf52x2/cpu_init.c | 11 +++ 3 files changed, 19 inse

Re: [U-Boot] ColdFire I2C implementing I2C idle [PATCH] -- resent in git format

2010-01-20 Thread Michael Durrant
drivers_i2c_fsl_i2c.patch - need to set I2C to be idle according to the MCF5282 user's manual If I2SR[IBB] is set when the I2C bus module is enabled, execute the following code sequence before proceeding with normal initialization code. This issues a STOP command to the slave device

Re: [U-Boot] ColdFire/M68K board.c initialization / order matters [PATCH] -- resent in git format

2010-01-20 Thread Michael Durrant
lib_m68k_board.patch - eth_init() requires eth_current which is initialized in eth_initialize() so eth_initialize (bd) should be called first then eth_init(bd) Signed-off-by: David Wu Signed-off-by: Michael Durrant --- lib_m68k/board.c |6 +++--- 1 files changed, 3 insertions(+), 3

Re: [U-Boot] MCF528x cache errata / fix [PATCH] -- resent in git format

2010-01-20 Thread Michael Durrant
cpu_mcf52x2_cache.patch - Setup CACR, bit 5 set to 0 per Freescale chip errata (MCF5282DE, Rev. 6, 5/2009) Signed-off-by: David Wu Signed-off-by: Michael Durrant --- cpu/mcf52x2/cpu_init.c |6 -- cpu/mcf52x2/start.S|5 - 2 files changed, 8 insertions(+), 3 deletions(

Re: [U-Boot] [STATUS] Merge Window closed, waiting for pull requests

2010-01-20 Thread Dirk Behme
On 20.01.2010 18:58, Paulraj, Sandeep wrote: > > >> Subject: Re: [U-Boot] [STATUS] Merge Window closed, waiting for pull >> requests >> >> On 19.01.2010 23:30, Wolfgang Denk wrote: >>> Hi >>> >>> as you probably have noticed, the merge window closed about 24 hours >>> ago. Checking my list, I still

Re: [U-Boot] [PATCH-V2 4/9] Nand mxc_nand add v1.1 controller support

2010-01-20 Thread Magnus Lilja
Scott, Scott Wood skrev: > On Sat, Jan 16, 2010 at 09:50:22PM -0700, John Rigby wrote: >> Add support for version 1.1 of the nfc nand flash >> controller which is on the i.mx25 soc. >> >> Use CONFIG_NAND_MXC_V1 and CONFIG_NAND_MXC_V1_1 to >> differentiate between the two supported versions. >> >>

Re: [U-Boot] Profiling uboot

2010-01-20 Thread Wolfgang Denk
Dear "Ira W. Snyder", In message <20100120162647.gb4...@ovro.caltech.edu> you wrote: > > I've used the attached ptx_ts script to measure U-Boot. It probably came > from this mailing list at some point. Yeah, that's the perl version modeled after our good old expect script. Functionally equivalen

Re: [U-Boot] turning off interactive mode...

2010-01-20 Thread Wolfgang Denk
Dear "Steve Iribarne (GMail)", In message you wrote: > > I did a search and I must be completely missing the point. > > I want to build a "released" version of u-boot on my system. If I set > the bootdely=0 and set a bootcmd does this prevent someone from > hitting a key really quick and disr

Re: [U-Boot] [PATCH-V2 4/9] Nand mxc_nand add v1.1 controller support

2010-01-20 Thread John Rigby
> > > > A comment for John Rigby on the patch though: Is it really necessary to > specify the version of the NAND controller in the board configuration file? > As far as I know, once you select which i.MX-device to use U-boot already > has the necessary information to derive the version of the NAND

Re: [U-Boot] ColdFire/M68K board.c initialization / order matters [PATCH] -- resent in git format

2010-01-20 Thread Ben Warren
Hi Michael, Michael Durrant wrote: > lib_m68k_board.patch >- eth_init() requires eth_current which is initialized in > eth_initialize() > so eth_initialize (bd) should be called first then eth_init(bd) > > Actually, eth_init() shouldn't be called in board.c at all. regards, Ben __

Re: [U-Boot] ColdFire/M68K board.c initialization / order matters [PATCH] -- resent in git format

2010-01-20 Thread Michael Durrant
Ben Warren wrote: > Hi Michael, > > Michael Durrant wrote: >> lib_m68k_board.patch >>- eth_init() requires eth_current which is initialized in >> eth_initialize() >> so eth_initialize (bd) should be called first then eth_init(bd) >> >> > Actually, eth_init() shouldn't be called in board

Re: [U-Boot] ColdFire/M68K board.c initialization / order matters [PATCH] -- resent in git format

2010-01-20 Thread Ben Warren
Michael Durrant wrote: > Ben Warren wrote: > >> Hi Michael, >> >> Michael Durrant wrote: >> >>> lib_m68k_board.patch >>>- eth_init() requires eth_current which is initialized in >>> eth_initialize() >>> so eth_initialize (bd) should be called first then eth_init(bd) >>> >>> >>>

[U-Boot] [PATCH] 85xx/eSDHC: fix eSDHC clock frequency mask

2010-01-20 Thread Mingkai Hu
The default value of the prescaler of eSDHC clock frequency is 0x80, so we need to mask the MSB to set a different clock, or else it maybe make the behavior of this prescaler undefined. Signed-off-by: Mingkai Hu --- include/fsl_esdhc.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-)

Re: [U-Boot] [PATCH] 85xx/eSDHC: fix eSDHC clock frequency mask

2010-01-20 Thread Liu Dave-R63238
> The default value of the prescaler of eSDHC clock frequency > is 0x80, so we need to mask the MSB to set a different clock, > or else it maybe make the behavior of this prescaler undefined. > > Signed-off-by: Mingkai Hu > --- > include/fsl_esdhc.h |2 +- > 1 files changed, 1 insertions(+

Re: [U-Boot] [STATUS] Merge Window closed, waiting for pull requests

2010-01-20 Thread Mike Frysinger
On Wednesday 20 January 2010 07:58:17 Wolfgang Denk wrote: > Mike Frysinger wrote: > > did you see my pull request for kgdb patches from the Blackfin tree ? > > I did. Do you think anything is missing in current mainline? the latest master in your tree doesnt contain the two Blackfin kgdb patches

Re: [U-Boot] ColdFire I2C implementing I2C idle [PATCH] -- resent in git format

2010-01-20 Thread Heiko Schocher
Hello Michael, Thanks for posting your patches in plain text. Michael Durrant wrote: > drivers_i2c_fsl_i2c.patch >- need to set I2C to be idle according to the MCF5282 user's manual > >If I2SR[IBB] is set when the I2C bus module is enabled, >execute the following code sequence before

Re: [U-Boot] [PATCH] ppc4xx: Fix reporting of bootstrap options G and F on 460EX/GT

2010-01-20 Thread Stefan Roese
On Tuesday 19 January 2010 16:37:13 Felix Radensky wrote: > Bootstrap options G and F are reported incorrectly (G instead > of F and vice versa). This patch fixes this. Applied to u-boot-ppc4xx/master. Thanks. Cheers, Stefan -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zund

Re: [U-Boot] [PATCH] ppc4xx: Allow setting a single SPD EEPROM address for DDR2 DIMMs

2010-01-20 Thread Stefan Roese
On Tuesday 19 January 2010 20:19:06 Felix Radensky wrote: > On platforms where SPD EEPROM and another EEPROM have adjacent > I2C addresses SPD_EEPROM_ADDRESS should be defined as a single > element array, otherwise DDR2 setup code would fail with the > following error: > > ERROR: Unknown DIMM dete

Re: [U-Boot] ColdFire I2C implementing I2C idle [PATCH] -- resent in git format

2010-01-20 Thread Joakim Tjernlund
> > Hello Michael, > > Thanks for posting your patches in plain text. > > Michael Durrant wrote: > > drivers_i2c_fsl_i2c.patch > >- need to set I2C to be idle according to the MCF5282 user's manual > > > >If I2SR[IBB] is set when the I2C bus module is enabled, > >execute the following c

[U-Boot] Please pull u-boot-ppc4xx/master

2010-01-20 Thread Stefan Roese
The following changes since commit 50ef25ef24eccd8e69d2c1ccc97b3f7e30109f51: Michal Simek (1): microblaze: zlib needs asm/unaligned.h are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master Felix Radensky (2): ppc4xx: Fix reporting of bootstrap op