Re: [U-Boot] [PATCH] Correct call to eth_write_hwaddr()

2011-09-02 Thread Heiko Schocher
Hello Simon, Simon Glass wrote: > This fixes "Warning: failed to set MAC address" on platforms which rely on > an 'ethaddr' environment variable to set the MAC address. > > This bug was introduced by this commit: > > 7616e785 Add Ethernet hardware MAC address framework to usbnet > > Signed-off-

Re: [U-Boot] [PATCH] net: fix warning not initializing MAC address

2011-09-02 Thread Heiko Schocher
Hello Kumar, Kumar Gala wrote: > On Sep 2, 2011, at 12:55 AM, Heiko Schocher wrote: > >> following warning message blobs up, when initializing for example >> DaVinci EMAC: >> >> Net: Ethernet PHY: KSZ8873 @ 0x02 >> DaVinci-EMACWarning: failed to set MAC address >> >> Introduced from commit >> >

Re: [U-Boot] [PATCH v2 1/2] MX25: tx25: Avoid the usage of extern in C file

2011-09-02 Thread Stefano Babic
On 08/30/2011 02:20 PM, Fabio Estevam wrote: > Avoid the usage of extern in C file as pointed out by checkpatch. > > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, as a fix, thanks. Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH] MX25: tx25: Cleanup tx25.h config

2011-09-02 Thread Stefano Babic
On 08/30/2011 05:44 PM, Fabio Estevam wrote: > Cleanup tx25.h by removing unnecessary defines and by removing unneeded "1"'s. > > Signed-off-by: Fabio Estevam > --- > include/configs/tx25.h | 14 ++ > 1 files changed, 6 insertions(+), 8 deletions(-) > Applied to u-boot-imx (fix),

Re: [U-Boot] [PATCH v2 1/2] MX25: tx25: Avoid the usage of extern in C file

2011-09-02 Thread Stefano Babic
On 09/02/2011 09:14 AM, Stefano Babic wrote: > On 08/30/2011 02:20 PM, Fabio Estevam wrote: >> Avoid the usage of extern in C file as pointed out by checkpatch. >> >> Signed-off-by: Fabio Estevam >> --- > Hi Fabio, > Applied to u-boot-imx, as a fix, thanks. Sorry, it is not. Your patch introdu

Re: [U-Boot] [PATCH 1/2] ARM: mx25: Print the silicon revison

2011-09-02 Thread Stefano Babic
On 08/30/2011 03:54 PM, Fabio Estevam wrote: > Print the silicon revison during boot. > > Signed-off-by: Fabio Estevam > --- Hi Fabio, > > + > +u32 get_cpu_rev(void) > +{ > + u32 srev; > + u32 system_rev = 0x25000; > + > + /* read SREV register from IIM module */ > + struct ii

Re: [U-Boot] [PATCH 2/2] ARM: mx25: Print the source of reset

2011-09-02 Thread Stefano Babic
On 08/30/2011 03:54 PM, Fabio Estevam wrote: > Print the source of reset during boot. > > Signed-off-by: Fabio Estevam > --- > arch/arm/cpu/arm926ejs/mx25/generic.c | 25 - > 1 files changed, 24 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/cpu/arm926ejs/mx25

Re: [U-Boot] [PATCH 1/5] coldfire: Change timer_init return type from void to int

2011-09-02 Thread Wolfgang Denk
Dear Mike Frysinger, In message <20110830.00896.vap...@gentoo.org> you wrote: > ... > you should have gotten a build error as the prototype is in common.h. so=20 > please add an include for common.h to this file. ... > drop the extern and include common.h ... When requesting changes to a pat

[U-Boot] please pull u-boot-samsung/master

2011-09-02 Thread Minkyu Kang
Dear Albert ARIBAUD, The following changes since commit 5a70b8d8cc8481f7b25e2fcab98c4b9fb24907cf: Tegra2: Use clock and pinmux functions to simplify code (2011-08-30 18:45:54 +0200) are available in the git repository at: git://git.denx.de/u-boot-samsung master Chander Kashyap (2): A

Re: [U-Boot] [PATCH] s5p-mmc: Fix ambiguous setting of data transfer width

2011-09-02 Thread Minkyu Kang
Dear Wolfgang Denk, On 1 September 2011 14:51, Wolfgang Denk wrote: > Dear Minkyu Kang, > > In message > you > wrote: >> >> > I know these were like this before, but those numbers are awfully >> > magical. You should really define constants for them. >> >> We decided to use comments instead of

Re: [U-Boot] [PATCH v3] net: ll_temac: Add LL TEMAC driver to u-boot

2011-09-02 Thread Wolfgang Denk
Dear Michal Simek, In message <4e607a0b.3040...@monstr.eu> you wrote: > > +static void sdma_out_be32(struct ll_priv *priv, u32 offset, u32 val) > +{ > +if (priv->mode & DCR_BIT) > +mtdcr_local(priv->ctrl + offset, val); > +else > +

Re: [U-Boot] [PATCH v3] net: ll_temac: Add LL TEMAC driver to u-boot

2011-09-02 Thread Michal Simek
Wolfgang Denk wrote: > Dear Michal Simek, > > In message <4e607a0b.3040...@monstr.eu> you wrote: >> +static void sdma_out_be32(struct ll_priv *priv, u32 offset, u32 val) >> +{ >> +if (priv->mode & DCR_BIT) >> +mtdcr_local(priv->ctrl + offset, val); >> +

[U-Boot] [PATCH] new tool mkenvimage: generates an env image from an arbitrary config file

2011-09-02 Thread David Wagner
This tool takes a key=value configuration file (same as would a `printenv' show) and generates the corresponding environment image, ready to be flashed. use case: flash the environment with an external tool Signed-off-by: David Wagner --- changes since v5 - fi

[U-Boot] [PATCHv6] new tool mkenvimage: generates an env image from an arbitrary config file

2011-09-02 Thread David Wagner
This tool takes a key=value configuration file (same as would a `printenv' show) and generates the corresponding environment image, ready to be flashed. use case: flash the environment with an external tool Signed-off-by: David Wagner --- changes since v5 - fi

Re: [U-Boot] [PATCH] new tool mkenvimage: generates an env image from an arbitrary config file

2011-09-02 Thread David Wagner
oops, subject is missing "v6". I just resent a correct version. David ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v4] ns16550: change to allow 32 bit access to registers

2011-09-02 Thread Dave Aldridge
If CONFIG_SYS_NS16550_MEM32 is defined then 32 bit memory mapped access will be used to read/write the uart registers. This is especially useful for SoC devices that implement 16550 compatible uarts but that have peripheral access width constraints. Signed-off-by: Dave Aldridge --- Changes for v

Re: [U-Boot] U-Boot with gcov / gprof?

2011-09-02 Thread Andrew Murray
Hi, I've not used that - but have used -finstrument-functions which works fairly well. The difficulty is figuring out what to do during the extra calls it generates. Thanks, Andrew Murray On 2 September 2011 05:06, Simon Glass wrote: > Hi, > > Has anyone got a profiling tool running with U-Bo

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

2011-09-02 Thread Michal Simek
Dear Wolfgang Denk, Wolfgang Denk wrote: > Dear Michal Simek, > > In message <1314877154-14536-2-git-send-email-mon...@monstr.eu> you wrote: >> Add axi_ethernet driver for little-endian Microblaze. >> >> RX/TX BDs and rxframe buffer are shared among all axi_ethernet MACs. >> Only one MAC can work

Re: [U-Boot] [PATCH v3] net: ll_temac: Add LL TEMAC driver to u-boot

2011-09-02 Thread Wolfgang Denk
Dear Michal Simek, In message <4e609682.8030...@monstr.eu> you wrote: > > >> +static void sdma_out_be32(struct ll_priv *priv, u32 offset, u32 val) > >> +{ > >> + if (priv->mode & DCR_BIT) > >> + mtdcr_local(priv->ctrl + offset, val); > >> + else > >>

Re: [U-Boot] [PATCH v2] net: Check network device driver name

2011-09-02 Thread Michal Simek
Mike Frysinger wrote: > On Tuesday, August 30, 2011 05:30:13 Michal Simek wrote: >> --- a/net/eth.c >> +++ b/net/eth.c >> @@ -224,6 +224,14 @@ int eth_write_hwaddr(struct eth_device *dev, const >> char *base_name, int eth_register(struct eth_device *dev) >> { >> struct eth_device *d; >> + >>

Re: [U-Boot] [PATCH 3/3 v3] ARM: ARM926EJS - Add cache operations

2011-09-02 Thread Simon Guinot
Hi Hong, On Mon, Aug 15, 2011 at 03:08:51PM +0800, Hong Xu wrote: > Hi Marek, > > On 08/11/2011 12:47 PM, Marek Vasut wrote: > > On Thursday, August 11, 2011 05:27:37 AM Hong Xu wrote: > >> Add a new file arch/arm/cpu/arm926ejs/cache.c and put cache operations > >> into this file. > >> > >> Signe

Re: [U-Boot] [PATCH 3/3 v3] ARM: ARM926EJS - Add cache operations

2011-09-02 Thread Marek Vasut
On Friday, September 02, 2011 12:22:05 PM Simon Guinot wrote: > Hi Hong, > > On Mon, Aug 15, 2011 at 03:08:51PM +0800, Hong Xu wrote: > > Hi Marek, > > > > On 08/11/2011 12:47 PM, Marek Vasut wrote: > > > On Thursday, August 11, 2011 05:27:37 AM Hong Xu wrote: > > >> Add a new file arch/arm/cpu/a

[U-Boot] Good news?! China Daily Europe advertising - Two-for-One expiring 15th Sept

2011-09-02 Thread China Daily Europe (weekly, in English)
Hi there We thought you might be interested to know that the TWO-FOR-ONE advertising offer for China Daily Europe Edition (weekly) has been reinstated briefly and is finishing on 15th Sept 2011 (original details below). This £2500.00 offer gives you exposure to the entire AB1 distribution in tw

Re: [U-Boot] [PATCH v3] net: ll_temac: Add LL TEMAC driver to u-boot

2011-09-02 Thread Michal Simek
Dear Wolfgang Denk, Wolfgang Denk wrote: > Dear Michal Simek, > > In message <4e609682.8030...@monstr.eu> you wrote: +static void sdma_out_be32(struct ll_priv *priv, u32 offset, u32 val) +{ + if (priv->mode & DCR_BIT) + mtdcr_local(priv->ctrl

[U-Boot] [PATCH V4 0/6] SPL Linux boot

2011-09-02 Thread Simon Schwarz
Adds direct Linux boot to SPL. It implements a spl export command to save ATAGS or FDT to NAND flash. The kernel image has to be in place for this! based on: - The new SPL layout - OMAP3 new SPL layout (http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105260) - CONFIG_MACH_TYPE fix (h

[U-Boot] [PATCH V4 2/6] Add cmd_spl command

2011-09-02 Thread Simon Schwarz
This adds a spl command to the u-boot. Related config: CONFIG_CMD_CPL activate/deactivate the command CONFIG_CMD_SPL_NAND_OFS Offset in NAND to use Signed-off-by: Simon Schwarz --- V2 changes: CHG corrected bootm call. Now bootm is called with five parameters including A

[U-Boot] [PATCH V4 3/6] devkit8000/spl: init GPMC for dm9000 in SPL

2011-09-02 Thread Simon Schwarz
Linux crashes if the GPMC isn't configured for the dm9000. Signed-off-by: Simon Schwarz --- V2 changes: nothing V3 changes: nothing --- arch/arm/include/asm/omap_common.h |2 ++ board/timll/devkit8000/devkit8000.c | 33 - 2 files changed, 26 insertions(+)

[U-Boot] [PATCH V4 4/6] omap-common/spl: Add linux boot to SPL

2011-09-02 Thread Simon Schwarz
This adds Linux booting to the SPL This depends on CONFIG_MACH_TYPE patch by Igor Grinberg (http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105809) Related CONFIGs: CONFIG_SPL_OS_BOOT Activates/Deactivates the OS booting feature CONFIG_SPL_OS_BOOT_KEY defines the IO-pin nu

[U-Boot] [PATCH V4 5/6] omap-common: Add NAND SPL linux booting

2011-09-02 Thread Simon Schwarz
This implements booting of Linux from NAND in SPL Related config parameters: CONFIG_SYS_NAND_SPL_KERNEL_OFFS Offset in NAND of direct boot kernel image to use in SPL CONFIG_SYS_SPL_ARGS_ADDR Address where the kernel boot arguments are expected - this is normally RAM-start +

[U-Boot] [PATCH V4 6/6] omap-common: fixes BSS overwriting problem

2011-09-02 Thread Simon Schwarz
spl_nand overwrote BSS section because it reads a whole block everytime. Now loads the block to spare area and just copy the needed junk to destination. Whole block read is necessary for ecc check! Signed-off-by: Simon Schwarz --- V2 changes: nothing V3 changes: nothing --- arch/arm/cpu/armv7/

[U-Boot] [PATCH V4 1/6] removed static from images in cmd_bootm.c

2011-09-02 Thread Simon Schwarz
This removes static modifier from cmd_bootm.c to make it public and usable by savebp Signed-off-by: Simon Schwarz --- common/cmd_bootm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 1966da4..c642299 100644 --- a/common/cm

[U-Boot] [PATCH 1/3] powerpc/p4080: Add support for secure boot flow

2011-09-02 Thread Ruchika Gupta
Pre u-boot Flow: 1. User loads the u-boot image in flash 2. PBL/Configuration word is used to create LAW for Flash at 0xc000 (Please note that ISBC expects all these addresses, images to be validated, entry point etc within 0 - 3.5G range) 3. ISBC validates the u-boot image, and passes c

[U-Boot] [PATCH 0/3] Add secure boot support on P4080/P3041/P5020 & P1010 boards.

2011-09-02 Thread Ruchika Gupta
Boot Flow in secure systems: 1. User loads the u-boot image in flash 2. PBL/Configuration word is used to create LAW for Flash at 0xc000 (Please note that ISBC expects all these addresses, images to be validated, entry point etc within 0 - 3.5G range) 3. On system reset, BOOt ROM code ex

[U-Boot] [PATCH 3/3] P1010RDB :Secure Boot support added for NOR , NAND and SPIFLASH

2011-09-02 Thread Ruchika Gupta
From: Kumar Gala Signed-off-by: Ruchika Gupta Signed-off-by: Kuldip Giroh --- boards.cfg |6 ++ include/configs/P1010RDB.h | 15 +-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/boards.cfg b/boards.cfg index 6fd6e55..25ca5f5 100644 --- a

[U-Boot] [PATCH 2/3] powerpc/85xx: Add PBL & SECUREBOOT support on P3041/P5020DS boards

2011-09-02 Thread Ruchika Gupta
From: Kumar Gala Signed-off-by: Kumar Gala --- boards.cfg |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/boards.cfg b/boards.cfg index dae858c..6fd6e55 100644 --- a/boards.cfg +++ b/boards.cfg @@ -672,6 +672,7 @@ P2041RDB_SPIFLASHpowerpc mpc85xx p

Re: [U-Boot] [PATCH 2/2] powerpc/85xx: standardize display of address map size (32-bit vs. 36-bit)

2011-09-02 Thread Tabi Timur-B04825
Kumar Gala wrote: > 1. We reduce the amount printed in the "default" case > 2. First choice should always be to have a command the print status info > 3. Allow a board port to makes its own decision if it wants to do something > like enable CONFIG_PCI_SCAN_SHOW > > Any concerns w/that proposal? A

[U-Boot] [PATCH 1/1 V2] add support for mcf5307 cpu

2011-09-02 Thread angelo
Hi Jason and all, i am really interested to bring mcf5307 inside u-boot. But still waiting for your feedback/help on my comments below. Let me know your comments. Many thanks, Regards, angelo > Hello Jason and all, > i started to work to rewrite the patch. > > Starting from mcf532x/cpu.c,

Re: [U-Boot] [RFC PATCH 0/4] Run-time configuration of U-Boot via a flat device tree (fdt)

2011-09-02 Thread Jerry Van Baren
Hi Simon, On 09/01/2011 04:49 PM, Simon Glass wrote: > At present in U-Boot configuration is mostly done using CONFIG options in the > board file. This patch set aims to make it possible for a single U-Boot > binary to support multiple boards, with the exact configuration of each board > controlle

Re: [U-Boot] [PATCH 3/3 v3] ARM: ARM926EJS - Add cache operations

2011-09-02 Thread Simon Guinot
On Fri, Sep 02, 2011 at 12:23:54PM +0200, Marek Vasut wrote: > On Friday, September 02, 2011 12:22:05 PM Simon Guinot wrote: > > Hi Hong, > > > > On Mon, Aug 15, 2011 at 03:08:51PM +0800, Hong Xu wrote: > > > Hi Marek, > > > > > > On 08/11/2011 12:47 PM, Marek Vasut wrote: > > > > On Thursday, Au

Re: [U-Boot] [PATCH 3/3 v3] ARM: ARM926EJS - Add cache operations

2011-09-02 Thread Marek Vasut
On Friday, September 02, 2011 01:43:39 PM Simon Guinot wrote: > On Fri, Sep 02, 2011 at 12:23:54PM +0200, Marek Vasut wrote: > > On Friday, September 02, 2011 12:22:05 PM Simon Guinot wrote: > > > Hi Hong, > > > > > > On Mon, Aug 15, 2011 at 03:08:51PM +0800, Hong Xu wrote: > > > > Hi Marek, > > >

Re: [U-Boot] [PATCH v2 1/8] POST/arm: adaptations needed for POST on ARM to work

2011-09-02 Thread Valentin Longchamp
On 09/02/2011 12:11 AM, Mike Frysinger wrote: > On Thursday, September 01, 2011 11:39:20 Valentin Longchamp wrote: >> arch/arm/include/asm/global_data.h |4 >> arch/arm/lib/board.c |2 ++ > > these two are fine for arm > >> include/post.h |8 +++

Re: [U-Boot] [PATCH v2 6/8] POST/km_arm: add POST memory tests infrastructure

2011-09-02 Thread Valentin Longchamp
On 09/02/2011 12:10 AM, Mike Frysinger wrote: > On Thursday, September 01, 2011 11:39:25 Valentin Longchamp wrote: >> post/board/km_arm/Makefile | 29 + >> post/board/km_arm/memory.c | 35 +++ > > cant these live in board// ? i'd lik

[U-Boot] [PATCH] omap3evm: Set environment variable 'ethaddr'

2011-09-02 Thread Sanjeev Premi
It is now responsibility of the board specific init code to set the environment variable corresponding to the MAC address. Signed-off-by: Sanjeev Premi --- Tested on omap3evm at against latest master at: bd061a5 : Merge branch 'master' of git://git.denx.de/u-boot-sh board/ti/evm/evm.c | 10

Re: [U-Boot] [PATCH v3] net: ll_temac: Add LL TEMAC driver to u-boot

2011-09-02 Thread Wolfgang Denk
Dear Michal Simek, In message <4e60b220.6010...@monstr.eu> you wrote: > > As I see there is still ugly board/xilinx/common folder and ancient enet > driver and i2c > driver. Indeed, and improvementrs are more than welcome. > > Actually even this is incorrect - AFAIK Device Control Registers (D

Re: [U-Boot] [PATCH 2/2] powerpc/85xx: standardize display of address map size (32-bit vs. 36-bit)

2011-09-02 Thread Kumar Gala
On Sep 2, 2011, at 6:36 AM, Tabi Timur-B04825 wrote: > Kumar Gala wrote: >> 1. We reduce the amount printed in the "default" case >> 2. First choice should always be to have a command the print status info >> 3. Allow a board port to makes its own decision if it wants to do something >> like ena

Re: [U-Boot] [RFC 0/3] omap: gpio: User generic (instead of custom) API

2011-09-02 Thread Premi, Sanjeev
> -Original Message- > From: Luca Ceresoli [mailto:luca.ceres...@comelit.it] > Sent: Thursday, September 01, 2011 10:19 PM > To: Premi, Sanjeev > Cc: u-boot@lists.denx.de; Paulraj, Sandeep; Igor Grinberg; > Enric Balletbo i Serra; Sunil Kumar; Shashi Ranjan; Menon, > Nishanth; Steve Sako

Re: [U-Boot] [PATCH] powerpc/85xx: Cleanup how SVR_MAJ() is defined on MPC8536

2011-09-02 Thread Kumar Gala
On Aug 24, 2011, at 9:16 AM, Kumar Gala wrote: > The MPC8536 seems to use only 3 bits for the major revision field in the > SVR rather than the 4 bits used by all other processors. The most > significant bit is used as a mfg code on MPC8536. > > Signed-off-by: Kumar Gala > --- > arch/powerpc/c

Re: [U-Boot] [PATCH 1/3] powerpc/mpc8xxx: Extend CWL table

2011-09-02 Thread Kumar Gala
On Aug 24, 2011, at 11:40 AM, York Sun wrote: > Extend CAS write Latency (CWL) table to comply with DDR3 spec > > Signed-off-by: York Sun > --- > arch/powerpc/cpu/mpc8xxx/ddr/ctrl_regs.c | 18 -- > 1 files changed, 16 insertions(+), 2 deletions(-) applied to 85xx - k

Re: [U-Boot] [PATCH 2/3] powerpc/mpc8xxx: Move DDR RCW overriding to common code

2011-09-02 Thread Kumar Gala
On Aug 24, 2011, at 11:40 AM, York Sun wrote: > DDR RCW varies at different speeds. It is common for all platform. Move it > out from corenet_ds. > > Signed-off-by: York Sun > --- > arch/powerpc/cpu/mpc8xxx/ddr/options.c | 15 +++ > board/freescale/corenet_ds/ddr.c | 14 ---

Re: [U-Boot] [PATCH 3/3] powerpc/corenet_ds: Use separated speed tables for UDIMM and RDIMM

2011-09-02 Thread Kumar Gala
On Aug 24, 2011, at 11:40 AM, York Sun wrote: > RDIMM has different timing parameters from UDIMM. Create new tables for > RDIMMs. Single-, dual- and quad-rank RDIMMs have been verified with speeds > from 800 to 1333MT/s. Speed table expands to include 1600MT/s for future > use. Single- and quad-r

Re: [U-Boot] [PATCH v3] net: ll_temac: Add LL TEMAC driver to u-boot

2011-09-02 Thread Michal Simek
Dear Wolfgang Denk, > In message <4e60b220.6010...@monstr.eu> you wrote: >> As I see there is still ugly board/xilinx/common folder and ancient enet >> driver and i2c >> driver. > > Indeed, and improvementrs are more than welcome. > >>> Actually even this is incorrect - AFAIK Device Control Reg

[U-Boot] UBI problems on current u-bo

2011-09-02 Thread Holger Brunck
Hi Stefan, I address this question to you because one of your commits is connected to this problem, but other hints from other readers are also welcome ;-) . We have a kirkwood based board with a micron NAND flash. We have one ubi device created on the NAND flash and inside the device we have one

Re: [U-Boot] [PATCH 2/2] powerpc/85xx: standardize display of address map size (32-bit vs. 36-bit)

2011-09-02 Thread Timur Tabi
Kumar Gala wrote: > Both. I'm think for your patch we'd add some general config option for extra > print info. So you want to see this instead: /* * Display whether this is a 32-bit build or a 36-bit build. */ #ifdef CONFIG_DISPLAY_ADDR_SIZE #ifdef CONFIG_PHYS_64BIT puts("ADDR: 36-bi

Re: [U-Boot] [PATCH] omap3evm: Set environment variable 'ethaddr'

2011-09-02 Thread Wolfgang Denk
Dear Sanjeev Premi, In message <1314967433-14199-1-git-send-email-pr...@ti.com> you wrote: > It is now responsibility of the board specific init > code to set the environment variable corresponding > to the MAC address. > > Signed-off-by: Sanjeev Premi This looks all wrong to me. In U-Boot, th

Re: [U-Boot] [PATCH] omap3evm: Set environment variable 'ethaddr'

2011-09-02 Thread Premi, Sanjeev
> -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Friday, September 02, 2011 7:14 PM > To: Premi, Sanjeev > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH] omap3evm: Set environment > variable 'ethaddr' > > Dear Sanjeev Premi, > > In message <1314967433-1

[U-Boot] [PATCH v3 1/2] MX25: tx25: Avoid the usage of extern in C file

2011-09-02 Thread Fabio Estevam
Avoid the usage of extern in C file as pointed out by checkpatch. Signed-off-by: Fabio Estevam --- Changes since v2: - Place the extern in the MX25 imx-regs.h instead of inside the MX27 imx-regs.h Changes since v1: - No changes arch/arm/include/asm/arch-mx25/imx-regs.h |1 + board/karo/tx25/

[U-Boot] [PATCH v3 2/2] MX25: Add initial support for MX25PDK

2011-09-02 Thread Fabio Estevam
Add the initial support for MX25PDK booting from SD card via internal boot. Signed-off-by: Fabio Estevam --- Changes since v2: - No changes Changes since v1: - Keep mx25pdk entry to boards.cfg sorted - Removed unused defines in mx25pdk.h - Do not use the whole RAM space for memory test MAINTAINE

Re: [U-Boot] [PATCH v3] net: ll_temac: Add LL TEMAC driver to u-boot

2011-09-02 Thread Wolfgang Denk
Dear Michal Simek, In message <4e60da47.4070...@monstr.eu> you wrote: > > >> That driver is not definitely for all ppc systems. That IP is available > >> just for > >> Xilinx FPGA where can be possible to use it with Microblaze and xilinx > >> ppc440 (maybe ppc405). > >> That DCR handling, which

Re: [U-Boot] [PATCHv6] new tool mkenvimage: generates an env image from an arbitrary config file

2011-09-02 Thread Mike Frysinger
On Friday, September 02, 2011 04:48:03 David Wagner wrote: > This tool takes a key=value configuration file (same as would a `printenv' > show) and generates the corresponding environment image, ready to be > flashed. > > use case: flash the environment with an external tool Acked-by: Mike Frysin

Re: [U-Boot] [PATCH v5 1/3] net: Adds Fast Ethernet Controller driver for Armada100

2011-09-02 Thread Mike Frysinger
On Friday, September 02, 2011 01:18:39 Ajay Bhargav wrote: > This patch adds support for Fast Ethernet Controller driver for > Armada100 series. Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-B

[U-Boot] [PATCH v3 7/8] km_arm: change CONFIG_SYS_TEXT_BASE to end of RAM

2011-09-02 Thread Valentin Longchamp
This allows to test a larger part of the RAM in the memory tests. Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck Cc: Prafulla Wadaskar --- include/configs/km/km_arm.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/km/km_arm.h b/include

[U-Boot] [PATCH v3 0/8] POST: support for km_arm and mem_regions test definition

2011-09-02 Thread Valentin Longchamp
This series adds support for POST on the km_arm boards. These boards use a jumper to run some self-tests at the board power-up. There are some adaptations for POST to run on the ARM architecture. This series defines a new mem_regions POST test. This test also takes place before relocation, but

[U-Boot] [PATCH v3 1/8] POST/arm: adaptations needed for POST on ARM to work

2011-09-02 Thread Valentin Longchamp
For post to run on ARM, 3 things are needed: - post_log_word to be defined in gd - a post.h include in arch/arm/lib/board.c Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck Cc: Mike Frysinger --- Changes for v2: - introduced CONFIG_POST_EXTERNAL_WORD_FUNCS Changes for v3: - remo

[U-Boot] [PATCH v3 5/8] POST: drivers/memory.c coding style cleanup

2011-09-02 Thread Valentin Longchamp
This is needed for a further patch adding a new memory test. Signed-off-by: Valentin Longchamp Acked-by: Mike Frysinger --- post/drivers/memory.c | 118 + 1 files changed, 60 insertions(+), 58 deletions(-) diff --git a/post/drivers/memory.c b/po

[U-Boot] [PATCH v3 2/8] POST: allow redefinition of post_word_load/store

2011-09-02 Thread Valentin Longchamp
The predefinde post_word_load/store functions do not fit all boards, so we introduce a way to define post_word_load/store as externs in post.h that then can be defined in board specific files. This is done with the CONFIG_POST_EXTERNAL_WORD_FUNCS #define Signed-off-by: Valentin Longchamp Signed-o

[U-Boot] [PATCH v3 3/8] POST: add post_log_res field for post results in global data

2011-09-02 Thread Valentin Longchamp
The current post_log_word in global data is currently split into 2x 16 bits: half for the test start, half for the test success. Since we alredy have more than 16 POST tests defined and more could be defined, this may result in an overflow and the post_output_backlog would not work for the tests de

[U-Boot] [PATCH v3 8/8] km_arm: enable POST for these boards

2011-09-02 Thread Valentin Longchamp
The current km_arm boards have a Power-On test jumper. When this jumper is set, this triggers some Power-On tests on the board. This patch enables the support of this jumper for starting the memory_regions test when the jumper is set. Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunc

[U-Boot] [PATCH v3 4/8] POST: make env test flags fetching optional

2011-09-02 Thread Valentin Longchamp
Some boards have the environment variables defined in a slow EEPROM. post_run accesses these environment variables to define which tests have to be run (in post_get_flags). This is very slow before the code relocation on some boards with a slow I2C EEPROM for environement variables. This patch add

[U-Boot] [PATCH v3 6/8] POST: add new memory regions test

2011-09-02 Thread Valentin Longchamp
This test is similar to the actual POST memory test but quicker and far less complete. It checks the address and data lines and then only tests some regularly placed sub regions of the RAM. This can be useful when we want to test the RAM but we do not have enough time to run the full memory test.

[U-Boot] [MPC8379E-rdb] Question about master bus busy after enabling I2C.

2011-09-02 Thread shawn Bai
Hi, here is a question about I2C initialization. I2C driver of our own references i2c driver implemented in fsl_i2c.c The init flow is almost the same. After writing enable-bit MEN into i2c control register to enable I2C controler, sometimes, Bit 2 in i2c status, MBB bit, will be set, ind

Re: [U-Boot] [PATCH 6/8] POST/km_arm: add POST memory tests infrastructure

2011-09-02 Thread Mike Frysinger
On Thursday, August 18, 2011 06:44:34 Marek Vasut wrote: > On Sunday, August 14, 2011 09:49:27 PM Mike Frysinger wrote: > > On Wednesday, August 03, 2011 08:37:05 Valentin Longchamp wrote: > > > This patch adds a board support for km_arm in the POST framework. > > > It consists of a memory test con

Re: [U-Boot] [PATCH v2 6/8] POST/km_arm: add POST memory tests infrastructure

2011-09-02 Thread Mike Frysinger
On Friday, September 02, 2011 08:39:15 Valentin Longchamp wrote: > On 09/02/2011 12:10 AM, Mike Frysinger wrote: > > On Thursday, September 01, 2011 11:39:25 Valentin Longchamp wrote: > >> post/board/km_arm/Makefile | 29 + > >> post/board/km_arm/memory.c | 35 +

[U-Boot] [PATCH v2 1/2] ARM: mx25: Print the silicon revison

2011-09-02 Thread Fabio Estevam
Print the silicon revison during boot. Signed-off-by: Fabio Estevam --- Changes since v1: - Handle the unkown silicon revision in the same way as for mx31. arch/arm/cpu/arm926ejs/mx25/generic.c | 32 +++- arch/arm/include/asm/arch-mx25/imx-regs.h |3 ++ 2 files

[U-Boot] [PATCH v2 2/2] ARM: mx25: Print the source of reset

2011-09-02 Thread Fabio Estevam
Print the source of reset during boot. Signed-off-by: Fabio Estevam --- Changes since v1: - Fix the logic for detecting the reset cause arch/arm/cpu/arm926ejs/mx25/generic.c | 25 - 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/

Re: [U-Boot] [PATCH v3 6/8] POST: add new memory regions test

2011-09-02 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 1/8] POST/arm: adaptations needed for POST on ARM to work

2011-09-02 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v2] omap3evm: Set environment variable 'ethaddr'

2011-09-02 Thread Sanjeev Premi
It is now responsibility of the board specific init code to set the environment variable corresponding to the MAC address. Signed-off-by: Sanjeev Premi --- Changes in v2: - Ensure that environment variable is set iff it wasn't already set earlier. Tested on omap3evm at against late

Re: [U-Boot] [RFC PATCH 1/4] fdt: ARM: Add device tree control of U-Boot (CONFIG_OF_CONTROL)

2011-09-02 Thread Mike Frysinger
On Thursday, September 01, 2011 16:49:06 Simon Glass wrote: > --- a/arch/arm/include/asm/global_data.h > +++ b/arch/arm/include/asm/global_data.h > > + const void *blob; /* Our device tree, NULL if none */ let's call it "fdt_blob" or something less generic than "blob" -mike s

Re: [U-Boot] [RFC PATCH 0/4] Run-time configuration of U-Boot via a flat device tree (fdt)

2011-09-02 Thread Mike Frysinger
On Thursday, September 01, 2011 16:49:05 Simon Glass wrote: > At present in U-Boot configuration is mostly done using CONFIG options in > the board file. This patch set aims to make it possible for a single > U-Boot binary to support multiple boards, with the exact configuration of > each board con

Re: [U-Boot] [RFC PATCH 0/4] Run-time configuration of U-Boot via a flat device tree (fdt)

2011-09-02 Thread Simon Glass
HI Mike, On Fri, Sep 2, 2011 at 9:33 AM, Mike Frysinger wrote: > On Thursday, September 01, 2011 16:49:05 Simon Glass wrote: >> At present in U-Boot configuration is mostly done using CONFIG options in >> the board file. This patch set aims to make it possible for a single >> U-Boot binary to sup

Re: [U-Boot] [RFC PATCH 0/4] Run-time configuration of U-Boot via a flat device tree (fdt)

2011-09-02 Thread Simon Glass
Hi Jerry, On Fri, Sep 2, 2011 at 4:42 AM, Jerry Van Baren wrote: > Hi Simon, > > On 09/01/2011 04:49 PM, Simon Glass wrote: >> >> At present in U-Boot configuration is mostly done using CONFIG options in >> the >> board file. This patch set aims to make it possible for a single U-Boot >> binary t

Re: [U-Boot] [RFC PATCH 1/4] fdt: ARM: Add device tree control of U-Boot (CONFIG_OF_CONTROL)

2011-09-02 Thread Simon Glass
Hi Mike, On Fri, Sep 2, 2011 at 9:32 AM, Mike Frysinger wrote: > On Thursday, September 01, 2011 16:49:06 Simon Glass wrote: >> --- a/arch/arm/include/asm/global_data.h >> +++ b/arch/arm/include/asm/global_data.h >> >> +     const void      *blob;          /* Our device tree, NULL if none */ > >

Re: [U-Boot] [PATCH 2/2] powerpc/85xx: standardize display of address map size (32-bit vs. 36-bit)

2011-09-02 Thread Kumar Gala
On Sep 2, 2011, at 8:41 AM, Timur Tabi wrote: > Kumar Gala wrote: >> Both. I'm think for your patch we'd add some general config option for >> extra print info. > > So you want to see this instead: > > /* > * Display whether this is a 32-bit build or a 36-bit build. > */ > #ifdef CONFIG_DISPL

Re: [U-Boot] [PATCH 2/2] powerpc/85xx: standardize display of address map size (32-bit vs. 36-bit)

2011-09-02 Thread Timur Tabi
Kumar Gala wrote: > I think we could introduce kernel style "printk" levels that would allow more > control over something like this. > Or we could implement Kconfig and defconfigs. But neither of these options is going to help me now. -- Timur Tabi Linux kernel developer at Freescale __

Re: [U-Boot] [PATCH] omap3evm: Set environment variable 'ethaddr'

2011-09-02 Thread Wolfgang Denk
Dear "Premi, Sanjeev", In message you wrote: > > > Your patch always and unconditionally overwrites any existing > > "ethaddr" settings. This is not acceptable. > > For the EVM, MAC address is always probed from the chip. Hence, I > assumed it safe to set the ethaddr - without checking for env

Re: [U-Boot] [PATCH 2/2] powerpc/85xx: standardize display of address map size (32-bit vs. 36-bit)

2011-09-02 Thread Wolfgang Denk
Dear Kumar Gala, In message you wrote: > > I think we could introduce kernel style "printk" levels that would allow = > more control over something like this. We can invent many things, or we can keep the code lean and simple. Let's just move this to where it belongs - to some command that pri

Re: [U-Boot] [PATCH v4] dcache: Dcache line size aligned stack buffer allocation

2011-09-02 Thread Anton Staaf
On Thu, Sep 1, 2011 at 3:30 AM, Lukasz Majewski wrote: > > ALLOC_CACHE_ALIGN_BUFFER shall be used in functions, which are using > stack allocated buffers for DMA transfers. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > CC: Albert ARIBAUD > --- > Changes for v2: >        -

[U-Boot] [PATCH] common: fix behavior of ROUND macro when input is already rounded

2011-09-02 Thread Anton Staaf
Currently when you call ROUND with a value that is already a multiple of the second parameter it will return a value that is one multiple larger, instead of returning the value passed in. There are only two types of usage of ROUND currently, one in various config files to round CONFIG_SYS_MALLOC_L

[U-Boot] [GIT PULL] MIPS patche

2011-09-02 Thread Shinya Kuribayashi
Hi Wolfgang, please pull the following patch from Yao, thanks in advance. The following changes since commit a1118d60423c1fe25afc9df9015f72739f96fd67: MPC8xx: fix build problem for ETX094 board (2011-08-31 22:38:20 +0200) are available in the git repository at: git://git.denx.de/u-boot-mips

[U-Boot] [PATCH] mmc: retry the cmd8 to meet 74 clocks requirement in the spec

2011-09-02 Thread Lei Wen
For some controller it has dynamic clock gating, and only toggle out clk when the first cmd0 send out, while some card strictly obey the 74 clocks rule, the interval may not be sufficient between the cmd0 and this cmd8, retry to fulfil the clock requirement. Signed-off-by: Lei Wen --- drivers/mm