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

2011-08-30 Thread Marek Vasut
On Tuesday, August 30, 2011 07:44:40 AM Ajay Bhargav wrote: > This patch adds support for Fast Ethernet Controller driver for > Armada100 series. > > Signed-off-by: Ajay Bhargav [...] > +static int smi_reg_read(const char *devname, u8 phy_addr, u8 phy_reg, > + u16 *value) >

Re: [U-Boot] [PATCH v2 09/16] ARM: remove broken "versatile" boards.

2011-08-30 Thread Stefano Babic
On 08/30/2011 08:47 AM, Albert ARIBAUD wrote: > Hi Stefano, Hi Albert, > Building all versatile boards here with ELDK4.2 on a Natty Ubuntu, I get > warnings of two sorts: > > 1) in the QEMU build, you needlessly cast a pointer as 'volatile', This is wrong... > which > I missed on review but wh

Re: [U-Boot] [PATCH 9/9] OMAP3: Remove legacy mmc driver

2011-08-30 Thread Marek Vasut
On Tuesday, August 30, 2011 06:59:24 AM Premi, Sanjeev wrote: > > -Original Message- > > From: u-boot-boun...@lists.denx.de > > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Rini, Tom > > Sent: Tuesday, August 23, 2011 3:44 AM > > To: u-boot@lists.denx.de > > Subject: [U-Boot] [PATCH 9

Re: [U-Boot] [PATCH v2 01/16] ARM: remove broken "armadillo" board

2011-08-30 Thread Marek Vasut
On Tuesday, August 30, 2011 08:06:43 AM Albert ARIBAUD wrote: > Hi Marek, > > > This one can be fixed with such a patch, though I dunno if it's worth it. > > > > diff --git a/include/configs/armadillo.h b/include/configs/armadillo.h > > [...] > > I have seen the rest of the discussion already, a

Re: [U-Boot] [PATCH 1/2 v5] fdt: Add a do_fixup_by_path_string() function

2011-08-30 Thread Chunhe Lan
On Tue, 30 Aug 2011 13:20:48 +0800, Wolfgang Denk wrote: > Dear Chunhe Lan, > > In message <1314675674-9825-1-git-send-email-chunhe@freescale.com> > you wrote: >> The do_fixup_by_path_string() will set the specified node's property to >> the >> value contained in "status". It would just b

Re: [U-Boot] [PATCH 2/2 v5] powerpc/p1023rds: Disable nor flash node and enable nand flash node

2011-08-30 Thread Chunhe Lan
On Tue, 30 Aug 2011 13:24:34 +0800, Wolfgang Denk wrote: > Dear Chunhe Lan, > > In message <1314675698-9847-1-git-send-email-chunhe@freescale.com> > you wrote: > ... >> status = "okay"; > ... >> When booting from nor flash, the status of nor node is null that means >>

[U-Boot] [PATCH] ARM: versatilepb : drop warnings due to double definitions

2011-08-30 Thread Stefano Babic
CONFIG_ARCH_VERSATILE_PB is defined twice - drop the define from config.h. Signed-off-by: Stefano Babic --- boards.cfg |2 +- include/configs/versatile.h |4 2 files changed, 1 insertions(+), 5 deletions(-) diff --git a/boards.cfg b/boards.cfg index c31114d..19861

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

2011-08-30 Thread Stefano Babic
On 08/29/2011 10:30 PM, Fabio Estevam wrote: > Add the initial support for MX25PDK booting from SD card via internal boot. > Hi Fabio, > diff --git a/boards.cfg b/boards.cfg > index c31114d..b68d6c8 100644 > --- a/boards.cfg > +++ b/boards.cfg > @@ -165,6 +165,7 @@ jadecpu a

[U-Boot] [PATCH][V3] drivers: add the support for Silicon Image SATA controller

2011-08-30 Thread b29983
From: Tang Yuantian Add the Silicon Image series PCI Express to Serial ATA controller support, including Sil3132, Sil3131 and Sil3124. The SATA controller can be used to load kernel. The features list: - Supports 1-lane 2.5 Gbit/s PCI Express - Supports one/two/four independent S

Re: [U-Boot] [PATCH] ARM: versatilepb : drop warnings due to double definitions

2011-08-30 Thread Albert ARIBAUD
Hi Stefano, Le 30/08/2011 09:24, Stefano Babic a écrit : > CONFIG_ARCH_VERSATILE_PB is defined twice - drop > the define from config.h. > > Signed-off-by: Stefano Babic > --- > boards.cfg |2 +- > include/configs/versatile.h |4 > 2 files changed, 1 insertions(+)

Re: [U-Boot] [PATCH v2 09/16] ARM: remove broken "versatile" boards.

2011-08-30 Thread Albert ARIBAUD
Le 30/08/2011 09:16, Stefano Babic a écrit : > On 08/30/2011 08:47 AM, Albert ARIBAUD wrote: >> Hi Stefano, > > Hi Albert, > >> Building all versatile boards here with ELDK4.2 on a Natty Ubuntu, I get >> warnings of two sorts: >> >> 1) in the QEMU build, you needlessly cast a pointer as 'volatile'

Re: [U-Boot] [PATCH v2 09/16] ARM: remove broken "versatile" boards.

2011-08-30 Thread Albert ARIBAUD
Stefano, Le 30/08/2011 10:16, Albert ARIBAUD a écrit : > Le 30/08/2011 09:16, Stefano Babic a écrit : > >> On 08/30/2011 08:47 AM, Albert ARIBAUD wrote: >>> Hi Stefano, >> >> Hi Albert, >> >>> Building all versatile boards here with ELDK4.2 on a Natty Ubuntu, I get >>> warnings of two sorts: >>> >

[U-Boot] [PATCH] ARM: versatile: drop warnings

2011-08-30 Thread Stefano Babic
Drop warning: "passing argument 1 of 'get_ram_size' discards qualifiers from pointer target type" Signed-off-by: Stefano Babic CC: Albert Aribaud --- board/armltd/versatile/versatile.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/armltd/versatile/versatile.c

Re: [U-Boot] [GIT PULL] Pull request: u-boot-imx

2011-08-30 Thread Albert ARIBAUD
Hi Stefano, Le 26/08/2011 16:23, Stefano Babic a écrit : > Hi Albert, > > please pull from u-boot-imx: > > The following changes since commit 5557e86bb0793012057d5462976c2a902bc629ac: > >omap4: increase SRAM budget to fix build error (2011-08-21 10:14:51 +0200) > > are available in the git rep

Re: [U-Boot] [PATCH] MX25: tx25: Fix build by making use of GPIO framework

2011-08-30 Thread Stefano Babic
On 08/29/2011 04:27 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Make use of GPIO framework and avoid the following build error: > Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineeri

Re: [U-Boot] [RFC PATCH] Pre-console buffer for ARM

2011-08-30 Thread Wolfgang Denk
Dear Graeme Russ, In message you wrote: > > > If you want to support arbitrary buffer sizes, then just use > > > >#define CIRC_BUF_IDX(idx) ((idx) % CONFIG_SYS_TMP_CON_BUF_SZ) > > I know, but I was concerned that you wouldn't like the use of modulo > arithmetic for every putc() - But I

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

2011-08-30 Thread Michal Simek
If name is longer than allocated space NAMESIZE mac address is rewritten which show error message like: Error message: Warning: Xlltemac.8700 MAC addresses don't match: Address in SROM is 30:00:00:00:00:00 Address in environment is 00:0a:35:00:6a:04 NAMESIZE contains Driver name + ze

Re: [U-Boot] [PATCH] Makefile: remove tx25 exception

2011-08-30 Thread Stefano Babic
On 08/29/2011 09:59 PM, Wolfgang Denk wrote: > Dear Stefano Babic, > > In message <1314629830-32588-1-git-send-email-sba...@denx.de> you wrote: >> An entry in the main Makefile for the tx25 board is not >> necessary, and the board is added to boards.cfg as all >> other targets. > > In theorey you

Re: [U-Boot] [PATCH] ARM: versatile: drop warnings

2011-08-30 Thread Albert ARIBAUD
Hi Stefano, Le 30/08/2011 10:49, Stefano Babic a écrit : > Drop warning: "passing argument 1 of 'get_ram_size' > discards qualifiers from pointer target type" > > Signed-off-by: Stefano Babic > CC: Albert Aribaud > --- > board/armltd/versatile/versatile.c |2 +- > 1 files changed, 1 inserti

Re: [U-Boot] [PATCH v2 01/16] ARM: remove broken "armadillo" board

2011-08-30 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4e5c7df3.3090...@aribaud.net> you wrote: > Hi Marek, > > > This one can be fixed with such a patch, though I dunno if it's worth it. > > > > diff --git a/include/configs/armadillo.h b/include/configs/armadillo.h > > [...] > > I have seen the rest of the discussio

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

2011-08-30 Thread Wolfgang Denk
Dear Stefano Babic, In message <4e5c928f.4070...@denx.de> you wrote: > > Targets are sorted based on SOC in boards.cfg. Move your entry before > the zmx25 board. Actually the file header contains precise instructions how to sort the file: # To keep the list sorted, use something like

Re: [U-Boot] [RFC PATCH] Pre-console buffer for ARM

2011-08-30 Thread Graeme Russ
Hi Wolfgang, On 30/08/11 19:29, Wolfgang Denk wrote: > Dear Graeme Russ, > > In message > you > wrote: >> >>> If you want to support arbitrary buffer sizes, then just use >>> >>>#define CIRC_BUF_IDX(idx) ((idx) % CONFIG_SYS_TMP_CON_BUF_SZ) >> >> I know, but I was concerned that you wou

Re: [U-Boot] [PATCH] Makefile: remove tx25 exception

2011-08-30 Thread Wolfgang Denk
Dear Stefano Babic, In message <4e5cada8.1030...@denx.de> you wrote: > > In principle you are right, too, but in include/configs/tx25.h: > > /* NAND BOOT is the only boot method */ > #define CONFIG_NAND_U_BOOT Ah, I see. > I do not think we need it, because it is already defined in the config.h

Re: [U-Boot] [PATCH v2] add dm9000 eeprom read/write command

2011-08-30 Thread Stefano Babic
On 08/28/2011 11:47 PM, Eric Jarrige wrote: > Signed-off-by: Eric Jarrige > Signed-off-by: Stefano Babic > Cc: Wolfgang Denk > Cc: Detlev Zundel > > Changes for v2: > - remove DM9000 driver dependant compilation flag > --- Hi Eric, why should this code put in a separate file and not in

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

2011-08-30 Thread Stefano Babic
On 08/30/2011 11:36 AM, Wolfgang Denk wrote: > Actually the file header contains precise instructions how to sort the > file: > > # To keep the list sorted, use something like > # :.,$! sort -bdf -k2,2 -k3,3 -k6,6 -k5,5 -k1,1 Ok, it seems that most people, as me, have never read

[U-Boot] Bootm command

2011-08-30 Thread smitha.vanga
Hi Wolfgang, I am trying to boot linux by using the bootm command. It fails when it tries to compare the filesystem header with the IH_MAGIC and fails and gets reset. Could you let me know what should I need to change this number. This in cmd_bootm.c file in do_bootm_linux () function. Below ar

Re: [U-Boot] Bootm command

2011-08-30 Thread Marek Vasut
On Tuesday, August 30, 2011 12:08:00 PM smitha.va...@wipro.com wrote: > Hi Wolfgang, > > I am trying to boot linux by using the bootm command. It fails when it > tries to compare the filesystem header with the IH_MAGIC and fails and > gets reset. Could you let me know what should I need to change

Re: [U-Boot] [PATCH V3+] I2C: mxc_i2c rework

2011-08-30 Thread Stefano Babic
On 07/13/2011 11:58 PM, Marek Vasut wrote: > Rewrite the mxc_i2c driver. > * This version is much closer to Linux implementation. > * Fixes IPG_PERCLK being incorrectly used as clock source > * Fixes behaviour of the driver on iMX51 > * Clean up coding style a bit ;-) Hi Marek, as it seems we

Re: [U-Boot] Bootm command

2011-08-30 Thread Wolfgang Denk
Dear smitha.va...@wipro.com, In message <07acdfb8eca8ef47863a613bc01bbb2203663...@hyd-mkd-mbx02.wipro.com> you wrote: > > I am trying to boot linux by using the bootm command. It fails when it > tries to compare the filesystem header with the IH_MAGIC and fails and > gets reset. Could you let

[U-Boot] [PATCH 1/2] MX31: fix missing mxc_get_clk() call

2011-08-30 Thread Stefano Babic
Add missing case to be used in common MXC code. Signed-off-by: Stefano Babic --- arch/arm/cpu/arm1136/mx31/generic.c|1 + arch/arm/include/asm/arch-mx31/clock.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/ar

[U-Boot] [PATCH 2/2] I2C: mxc: fix compilation for MX31

2011-08-30 Thread Stefano Babic
Signed-off-by: Stefano Babic CC: Heiko Schocher --- drivers/i2c/mxc_i2c.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 89d1973..ebde3c5 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -89,14 +89

[U-Boot] [PATCH 1/2] Makefile: drop imx31_phycore from general Makefile

2011-08-30 Thread Stefano Babic
Signed-off-by: Stefano Babic --- Makefile |8 boards.cfg |2 ++ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 3b52c68..fec662b 100644 --- a/Makefile +++ b/Makefile @@ -896,14 +896,6 @@ apollon_config : unconfig @ech

[U-Boot] [PATCH 2/2] Makefile: remove mx31pdk exception

2011-08-30 Thread Stefano Babic
An entry in the main Makefile for the mx31pdk board is not necessary, and the board is added to boards.cfg as all other targets. Signed-off-by: Stefano Babic CC: Wolfgang Denk --- Makefile | 10 -- boards.cfg |2 ++ 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a

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

2011-08-30 Thread Chander Kashyap
mmc data transfer width is set as following: WIDE8[5]: 0 = Depend on WIDE4 1 = 8-bit mode WIDE4[1]: 1 = 4-bit mode 0 = 1-bit mode In case of 4-bit mode reset 8-bit mode and in case of 1-bit mode reset 8-bit mode and 4-bit mode Signed-off-by: Chander Kashyap --- drivers/mmc/s5p_mmc.c | 10

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

2011-08-30 Thread Ajay Bhargav
- "Marek Vasut" wrote: > On Tuesday, August 30, 2011 07:44:40 AM Ajay Bhargav wrote: > > This patch adds support for Fast Ethernet Controller driver for > > Armada100 series. > > > > Signed-off-by: Ajay Bhargav > > [...] > > > +static int smi_reg_read(const char *devname, u8 phy_addr, u8

Re: [U-Boot] Bootm command

2011-08-30 Thread smitha.vanga
Hi Mark, I didn't understand what you mean to say. Actually I have built a cramfs image and programmed the file system at the location 0xfe34(this is flash address where it is programmed) in the flash . I loaded uImage kernel image at 0x100 this is my ram area address. I have loaded .dtb

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

2011-08-30 Thread Lukasz Majewski
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: - ./include/cache.h has been removed and replaced with simpler macro

[U-Boot] Debugging u-boot

2011-08-30 Thread Mirko Banchi
Hi all, could someone write briefly the steps needed to debug u-boot with BDI2000? I can-t find documentation about it. On-line docs specify only how to proceed with gdb after that the host bdi is up and configured. Thank you all! Mirko -- Mirko Banchi e-mail:mk.ban...@gmail.com id-jabber

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

2011-08-30 Thread Michal Simek
Add the first axi_ethernet driver for little-endian Microblaze. Signed-off-by: Michal Simek --- drivers/net/Makefile |1 + drivers/net/xilinx_axi_emac.c | 622 + include/netdev.h |1 + 3 files changed, 624 insertions(+), 0 de

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

2011-08-30 Thread Michal Simek
LL Temac driver can be used by microblaze, xilinx ppc405/440 in sdma and fifo mode. DCR or XPS bus can be used. The driver uses and requires PHYLIB. Signed-off-by: Michal Simek --- v2: Remove helper function for access to temac Remove SDMA/FIFO/DCR macros and configure it in board Setup

Re: [U-Boot] Debugging u-boot

2011-08-30 Thread Stefano Babic
On 08/30/2011 01:59 PM, Mirko Banchi wrote: > Hi all, could someone write briefly the steps needed to debug u-boot > with BDI2000? I can-t find documentation about it. On-line docs > specify only how to proceed with gdb after that the host bdi is up > and configured. http://www.denx.de/wiki/view/D

Re: [U-Boot] Debugging u-boot

2011-08-30 Thread Mirko Banchi
> To set up the BDI2000 please refer to the Abatron manual. This was the missing step :) Thank you Stefano! Mirko -- Mirko Banchi e-mail:mk.ban...@gmail.com id-jabber: mk.ban...@jabber.org PGP key fingerprint: 308F BFB1 4E67 2522 C88E DC69 7631 52ED 32A5 6456 _

[U-Boot] [PATCH 0/5] feature additions and fixes for da830

2011-08-30 Thread nagabhushana.netagunte
From: Nagabhushana netagunte These set of patches enable some features and have some minor fixes for da830. Nagabhushana Netagunte (5): da830: disable cache usage due to coherency issues da830: enable SPI flash boot mode da830: add support for NAND boot mode da830: modify the U-Boot pro

[U-Boot] [PATCH 3/5] da830: add support for NAND boot mode

2011-08-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte Add support for enabling NAND boot mode in configuration file and add correspanding pinmux support, nand initialize function in board file. Since the environment variable are stored in first block CONFIG_ENV_OFFSET is set to offset 0 from (512 << 10) and also the size

[U-Boot] [PATCH 2/5] da830: enable SPI flash boot mode

2011-08-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte Enable SPI flash boot mode in configuration file as default. With the introduction of 456MHz part, SPI operating frequency will increase and at this frequency SPI does not work correctly. Hence reduce the default SPI speed to 30MHz from 50MHz. Signed-off-by: Sudhakar

[U-Boot] [PATCH 5/5] da830: modify the MEMTEST start and end address

2011-08-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte Modify the MEMTEST start and end address. The memtest range was overlapping the CONFIG_SYS_LOAD_ADDR which causes the uImage to be corrupt.Also, modify the size for which mtest is run to 32MB from 16MB. Signed-off-by: Sudhakar Rajashekhara Signed-off-by: Nagabhushan

[U-Boot] [PATCH 1/5] da830: disable cache usage due to coherency issues

2011-08-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte there are cache coherency issues when using the DAVINCI Ethernet driver, hence caches cant be used for da830 u-boot. As per new cache management framework,if the caches are not used in u-boot, it needs to be explicitly indicated through macros in config file. CACHE di

[U-Boot] [PATCH 4/5] da830: modify the U-Boot prompt string

2011-08-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte Modify U-boot promt string from 'DA830-evm >' to 'U-Boot >' as there are many variants of da830 based boards which have diffrent names such as L137, AM1707 etc. Signed-off-by: Sudhakar Rajashekhara Signed-off-by: Nagabhushana Netagunte --- include/configs/da830evm

[U-Boot] [PATCH] dm6446: disable cache usage due to coherency issues

2011-08-30 Thread nagabhushana.netagunte
From: Nagabhushana Netagunte there are cache coherency issues when using the DAVINCI Ethernet driver, hence caches cant be used for dm6446 u-boot. As per new cache management framework,if the caches are not used in u-boot, it needs to be explicitly indicated through macros in config file. CACHE d

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

2011-08-30 Thread Fabio Estevam
Avoid the usage of extern in C file as pointed out by checkpatch. Signed-off-by: Fabio Estevam --- Changes since v1: - No changes arch/arm/include/asm/arch-mx27/imx-regs.h |1 + board/karo/tx25/tx25.c|2 -- 2 files changed, 1 insertions(+), 2 deletions(-) diff --git

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

2011-08-30 Thread Fabio Estevam
Add the initial support for MX25PDK booting from SD card via internal boot. Signed-off-by: Fabio Estevam --- 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 MAINTAINERS

[U-Boot] [PATCH V2] console: Implement pre-console buffer

2011-08-30 Thread Graeme Russ
Allow redirection of console output prior to console initialisation to a temporary buffer. To enable this functionality, the board configuration file must define: - CONFIG_PRE_CONSOLE_BUFFER - Enable pre-console buffer - CONFIG_PRE_CON_BUF_ADDR - Base address of pre-console buffer - CONFIG_PRE_

Re: [U-Boot] Bootm command

2011-08-30 Thread Wolfgang Denk
Dear smitha.va...@wipro.com, In message <07acdfb8eca8ef47863a613bc01bbb2203663...@hyd-mkd-mbx02.wipro.com> you wrote: > > I didn't understand what you mean to say. Actually I have built a cramfs > image and programmed the file system at the location 0xfe34(this is > flash address where it i

Re: [U-Boot] Debugging u-boot

2011-08-30 Thread Wolfgang Denk
Dear Mirko Banchi, In message <659acfbd-2b5d-4f28-89bf-5473d90ad...@gmail.com> you wrote: > Hi all, could someone write briefly the steps needed to debug u-boot with > BDI2000? I can-t find documentation about it. On-line docs specify only how > to proceed with gdb after that the host bdi is up

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

2011-08-30 Thread stany MARCEL
timer_init protorype change for uniformization with other architectures Signed-off-by: Stany MARCEL --- arch/m68k/cpu/mcf547x_8x/slicetimer.c |4 +++- arch/m68k/lib/board.c |2 +- arch/m68k/lib/time.c |8 ++-- 3 files changed, 10 insertions(+), 4

[U-Boot] [PATCH 3/5] coldfire: Permit build in a different directory

2011-08-30 Thread stany MARCEL
Add $(obj) before lib$(CPU) to permit build in a different directory Signed-off-by: Stany MARCEL --- arch/m68k/cpu/mcf5227x/Makefile |2 +- arch/m68k/cpu/mcf523x/Makefile|2 +- arch/m68k/cpu/mcf532x/Makefile|2 +- arch/m68k/cpu/mcf5445x/Makefile |2 +- arch/m68k/cpu/

[U-Boot] [PATCH 2/5] coldfire: Add creation of include directories for _config rules

2011-08-30 Thread stany MARCEL
Signed-off-by: Stany MARCEL --- Makefile | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 03d80b7..9381768 100644 --- a/Makefile +++ b/Makefile @@ -594,11 +594,13 @@ ucname= $(shell echo $(1) | sed -e 's/\(.*\)_config/\U\1/') as

[U-Boot] [PATCH 4/5] coldfire: Remove link files entries to prevent multiple definitions

2011-08-30 Thread stany MARCEL
Signed-off-by: Stany MARCEL --- board/BuS/EB+MCF-EV123/u-boot.lds|5 - board/astro/mcf5373l/u-boot.lds |4 board/cobra5272/u-boot.lds |5 - board/esd/tasreg/u-boot.lds |4 board/freescale/m5208evbe/u-boot.lds |1 - board/freescale

[U-Boot] [PATCH 5/5] coldfire: Remove board with major build issues

2011-08-30 Thread stany MARCEL
Remove boards with a _config rules errors or with missing linker scripts from MAKEALL or boards.cfg. Permit to run the MAKEALL coldfire to the end. Signed-off-by: Stany MARCEL --- MAKEALL|4 boards.cfg |1 - 2 files changed, 0 insertions(+), 5 deletions(-) diff --git a/MAKEALL

[U-Boot] Coldfire

2011-08-30 Thread stany MARCEL
Hello, I am currently porting U-Boot 2011.06 to a board based on a coldfire. My first step was to make it compile and start on a M5485EVB board. I will send following this mail the patches I made to do that. Regards, Stany MARCEL ___ U-Boot mailing l

[U-Boot] [PATCH V2] Makefile : fix generation of cpu related asm-offsets.h

2011-08-30 Thread Stefano Babic
commit 0edf8b5b2fa0d210ebc4d6da0fd1aceeb7e44e47 breaks building on a different directory with the O= parameter. The patch wil fix this issue, generating always asm-offsets.h before the other targets. Signed-off-by: Stefano Babic --- Changes since V1: - use an empty asm-offsets.s instead of asm-

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

2011-08-30 Thread Fabio Estevam
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/generic.c b/arch/arm/cpu/arm926ejs/mx25/generic.c index a4e

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

2011-08-30 Thread Fabio Estevam
Print the silicon revison during boot. Signed-off-by: Fabio Estevam --- arch/arm/cpu/arm926ejs/mx25/generic.c | 32 - arch/arm/include/asm/arch-mx25/imx-regs.h |4 +++ 2 files changed, 35 insertions(+), 1 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx2

Re: [U-Boot] Debugging u-boot

2011-08-30 Thread Mirko Banchi
Il giorno 30/ago/2011, alle ore 14.55, Wolfgang Denk ha scritto: > Dear Mirko Banchi, > > In message <659acfbd-2b5d-4f28-89bf-5473d90ad...@gmail.com> you wrote: >> Hi all, could someone write briefly the steps needed to debug u-boot with >> BDI2000? I can-t find documentation about it. On-line

Re: [U-Boot] Debugging u-boot

2011-08-30 Thread Wolfgang Denk
Dear Mirko Banchi, In message <857d4443-39b6-43b0-b269-bb6ce7c9a...@gmail.com> you wrote: > > > Could you please explain which information you consider missing in > > these sections of the manual? > > > > 10.1. Debugging of U-Boot > > > >10.1.1. Debugging of U-Boot Before Relocation > >

[U-Boot] Add Ethernet hardware MAC address framework to usbnet -- issues??

2011-08-30 Thread Kumar Gala
With the following commit I now see: commit 7616e7850804c7c69e0a22c179dfcba9e8f3f587 Author: Simon Glass Date: Mon Jun 13 16:13:10 2011 -0700 Add Ethernet hardware MAC address framework to usbnet Built-in Ethernet adapters support setting the mac address by means of a ethaddr environ

[U-Boot] [PATCH] tools/env: use lib/crc32.c directly

2011-08-30 Thread Andreas Bießmann
Instead of linking the file into $(obj) tree use directly the source file. This also prevents littered source tree if building not out-of-tree. Signed-off-by: Andreas Bießmann --- tools/env/Makefile |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/tools/env/Makefile

Re: [U-Boot] [PATCH] tools/env: use lib/crc32.c directly

2011-08-30 Thread Mike Frysinger
On Tuesday, August 30, 2011 10:42:29 Andreas Bießmann wrote: > Instead of linking the file into $(obj) tree use directly the source file. > This also prevents littered source tree if building not out-of-tree. Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed m

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

2011-08-30 Thread Mike Frysinger
On Tuesday, August 30, 2011 09:00:10 stany MARCEL wrote: > --- a/arch/m68k/cpu/mcf547x_8x/slicetimer.c > +++ b/arch/m68k/cpu/mcf547x_8x/slicetimer.c > > -void timer_init(void) > +int timer_init(void) you should have gotten a build error as the prototype is in common.h. so please add an include

Re: [U-Boot] [PATCH 2/5] coldfire: Add creation of include directories for _config rules

2011-08-30 Thread Mike Frysinger
On Tuesday, August 30, 2011 09:00:13 stany MARCEL wrote: > --- a/Makefile > +++ b/Makefile > astro_mcf5373l_config \ > astro_mcf5373l_RAM_config : unconfig > + @mkdir -p $(obj)include > @$(MKCONFIG) -n $@ -t $@ astro_mcf5373l m68k mcf532x mcf5373l astro pretty sure this gets taken car

Re: [U-Boot] [PATCH 1/5] da830: disable cache usage due to coherency issues

2011-08-30 Thread Mike Frysinger
On Tuesday, August 30, 2011 08:15:56 nagabhushana.netagu...@ti.com wrote: > there are cache coherency issues when using the DAVINCI Ethernet driver, > hence caches cant be used for da830 u-boot. why not fix the davinci eth driver ? -mike signature.asc Description: This is a digitally signed mess

Re: [U-Boot] [STATUS] ARM (Tegra)

2011-08-30 Thread Mike Frysinger
On Saturday, August 20, 2011 14:50:27 Mike Frysinger wrote: > On Thursday, August 18, 2011 18:09:56 Albert ARIBAUD wrote: > > 1) if there are any pull requests to u-voot-arm/master in the works, > > please try to submit them soon or at lease let me know, and > > we've got some Tegra stuff that see

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

2011-08-30 Thread Mike Frysinger
On Tuesday, August 30, 2011 01:44:40 Ajay Bhargav wrote: > +static void update_hash_table_mac_address(struct armdfec_device *darmdfec, > + u8 *oaddr, u8 *addr) > +{ > + u32 mach; > + u32 macl; > + > + /* Delete old entry */ > + if (oaddr) { > +

Re: [U-Boot] [PATCH 1/2] Add board_panic_no_console to deal with early critical errors

2011-08-30 Thread Simon Glass
Hi Graeme, On Mon, Aug 29, 2011 at 4:15 PM, Graeme Russ wrote: > Hi Simon > > On Tue, Aug 30, 2011 at 2:05 AM, Simon Glass wrote: >> Tested-by: Simon Glass >> Signed-off-by: Simon Glass >> --- >>  include/common.h |    8 >>  lib/vsprintf.c   |   26 -- >>  2 fil

Re: [U-Boot] [STATUS] ARM (Tegra)

2011-08-30 Thread Albert ARIBAUD
Le 30/08/2011 17:20, Mike Frysinger a écrit : > On Saturday, August 20, 2011 14:50:27 Mike Frysinger wrote: >> On Thursday, August 18, 2011 18:09:56 Albert ARIBAUD wrote: >>> 1) if there are any pull requests to u-voot-arm/master in the works, >>> please try to submit them soon or at lease let me k

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

2011-08-30 Thread Fabio Estevam
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(-) diff --git a/include/configs/tx25.h b/include/configs/tx25.h index cb604a5..deeba8a 1006

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

2011-08-30 Thread Mike Frysinger
On Thursday, August 25, 2011 05:34:00 Wolfgang Denk wrote: > CONFIG_SYS_CACHELINE_SIZE is a mandatory #define, and it's OK that a > build breaks when it's missing. On the other hand I don;t se why this > macro needs top be removed when the data cache is off. i guess a lot of arch people will need

Re: [U-Boot] Add Ethernet hardware MAC address framework to usbnet -- issues??

2011-08-30 Thread Simon Glass
Hi Kumar, On Tue, Aug 30, 2011 at 7:19 AM, Kumar Gala wrote: > With the following commit I now see: > > commit 7616e7850804c7c69e0a22c179dfcba9e8f3f587 > Author: Simon Glass > Date:   Mon Jun 13 16:13:10 2011 -0700 > >   Add Ethernet hardware MAC address framework to usbnet > >   Built-in Ethern

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

2011-08-30 Thread Simon Glass
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-by: Simon Glass --- net/eth.c |2 +- 1 file

Re: [U-Boot] [STATUS] ARM (Tegra)

2011-08-30 Thread Simon Glass
On Tue, Aug 30, 2011 at 8:34 AM, Albert ARIBAUD wrote: > Le 30/08/2011 17:20, Mike Frysinger a écrit : >> >> On Saturday, August 20, 2011 14:50:27 Mike Frysinger wrote: >>> >>> On Thursday, August 18, 2011 18:09:56 Albert ARIBAUD wrote: 1) if there are any pull requests to u-voot-arm/mas

[U-Boot] [STATUS] ARM status as of 2011-08-30

2011-08-30 Thread Albert ARIBAUD
Hi all, I have just applied Wolfgang's updated ARM board removal patch set. Currently, u-boot-arm/master builds 182 boards, of which: - ELDK4.2 finds 37 boards with warnings or errors ( dnp1110 gcplus lart shannon ep7312 evb4510 impa7 lpc2292sodimm modnet50 SMN42 jadecpu smdk2410 VCMA9 versati

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

2011-08-30 Thread Kumar Gala
On Aug 30, 2011, at 10:51 AM, 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 usbne

[U-Boot] [PATCH v4 0/4] Add basic clock and pinmux functions to the Tegra2

2011-08-30 Thread Simon Glass
This patch series adds basic clock and pinmux functions to the Tegra2, and modifies the ap20 and board code to use them. Changes in v2: - Removed use of bitfield access macros - Now uses manual shifts and masks Changes in v3: - Removed bitfield shift/mask macros and write these out manually - Reb

[U-Boot] [PATCH v4 4/4] Tegra2: Use clock and pinmux functions to simplify code

2011-08-30 Thread Simon Glass
Signed-off-by: Simon Glass --- Changes in v2: - Removed use of bitfield access macros - Now uses manual shifts and masks Changes in v3: - Removed bitfield shift/mask macros and write these out manually - Rebased to take account to new MMC patches Changes in v4: - Rebase against U-Boot master a

[U-Boot] [PATCH v4 3/4] Tegra2: Add additional pin multiplexing features

2011-08-30 Thread Simon Glass
This adds an enum for each pin and some functions for changing the pin muxing setup. Signed-off-by: Simon Glass --- Changes in v2: - Removed use of bitfield access macros arch/arm/cpu/armv7/tegra2/Makefile|2 +- arch/arm/cpu/armv7/tegra2/pinmux.c| 53 ++ arch/arm/i

[U-Boot] [PATCH v4 1/4] Tegra2: Add microsecond timer function

2011-08-30 Thread Simon Glass
These functions provide access to the high resolution microsecond timer and tidy up a global variable in the code. Signed-off-by: Simon Glass --- Changes in v3: - Remove future time function - No microsecond timing changes as I am unsure of the state of this in U-Boot Changes in v4: - Remove fut

[U-Boot] [PATCH v4 2/4] Tegra2: Add more clock support

2011-08-30 Thread Simon Glass
This adds functions to enable/disable clocks and reset to on-chip peripherals. Signed-off-by: Simon Glass --- Changes in v2: - Removed use of bitfield access macros arch/arm/cpu/armv7/tegra2/Makefile |2 +- arch/arm/cpu/armv7/tegra2/ap20.c | 52 ++ arch/arm/cpu/armv7

Re: [U-Boot] [STATUS] ARM (Tegra)

2011-08-30 Thread Simon Glass
Hi Albert, On Tue, Aug 30, 2011 at 8:57 AM, Simon Glass wrote: > On Tue, Aug 30, 2011 at 8:34 AM, Albert ARIBAUD > wrote: >> Le 30/08/2011 17:20, Mike Frysinger a écrit : >>> >>> On Saturday, August 20, 2011 14:50:27 Mike Frysinger wrote: On Thursday, August 18, 2011 18:09:56 Albert AR

Re: [U-Boot] [STATUS] ARM (Tegra)

2011-08-30 Thread Albert ARIBAUD
Le 30/08/2011 17:57, Simon Glass a écrit : > On Tue, Aug 30, 2011 at 8:34 AM, Albert ARIBAUD > wrote: >> Le 30/08/2011 17:20, Mike Frysinger a écrit : >>> >>> On Saturday, August 20, 2011 14:50:27 Mike Frysinger wrote: On Thursday, August 18, 2011 18:09:56 Albert ARIBAUD wrote: > >>

Re: [U-Boot] [STATUS] ARM (Tegra)

2011-08-30 Thread Simon Glass
On Tue, Aug 30, 2011 at 9:31 AM, Albert ARIBAUD wrote: > Le 30/08/2011 17:57, Simon Glass a écrit : >> >> On Tue, Aug 30, 2011 at 8:34 AM, Albert ARIBAUD >>  wrote: >>> >>> Le 30/08/2011 17:20, Mike Frysinger a écrit : On Saturday, August 20, 2011 14:50:27 Mike Frysinger wrote: > >>

Re: [U-Boot] [STATUS] ARM (Tegra)

2011-08-30 Thread Albert ARIBAUD
Le 30/08/2011 18:36, Simon Glass a écrit : > Hi Albert, > > I just resent the series as v4 with this change - is that OK? Apologies -- I had not seen the V4 before posting. V4 is fine to me and since there was only one comment for V3 and V4's only change is to address this comment, I think I ca

Re: [U-Boot] [STATUS] ARM (Tegra)

2011-08-30 Thread Simon Glass
On Tue, Aug 30, 2011 at 9:39 AM, Albert ARIBAUD wrote: > Le 30/08/2011 18:36, Simon Glass a écrit : > >> Hi Albert, >> >> I just resent the series as v4 with this change - is that OK? > > Apologies -- I had not seen the V4 before posting. > > V4 is fine to me and since there was only one comment f

Re: [U-Boot] [PATCH v4 0/4] Add basic clock and pinmux functions to the Tegra2

2011-08-30 Thread Albert ARIBAUD
Le 30/08/2011 18:23, Simon Glass a écrit : > This patch series adds basic clock and pinmux functions to the Tegra2, and > modifies the ap20 and board code to use them. > > Changes in v2: > - Removed use of bitfield access macros > - Now uses manual shifts and masks > > Changes in v3: > - Removed bi

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

2011-08-30 Thread Anton Staaf
On Tue, Aug 30, 2011 at 8:44 AM, Mike Frysinger wrote: > On Thursday, August 25, 2011 05:34:00 Wolfgang Denk wrote: >> CONFIG_SYS_CACHELINE_SIZE is a mandatory #define, and it's OK that a >> build breaks when it's missing.  On the other hand I don;t se why this >> macro needs top be removed when t

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

2011-08-30 Thread Anton Staaf
On Tue, Aug 30, 2011 at 4:45 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: >        - .

Re: [U-Boot] [PATCH 1/2] console: Squelch pre-console output in console functions

2011-08-30 Thread Mike Frysinger
On Monday, August 29, 2011 08:14:05 Graeme Russ wrote: > --- a/drivers/i2c/soft_i2c.c > +++ b/drivers/i2c/soft_i2c.c > > #ifdef DEBUG_I2C > #define PRINTD(fmt,args...) do {\ > - if (gd->have_console) \ > printf (fmt ,##args); \ > } while (0) > #else the

Re: [U-Boot] [PATCH V2] console: Implement pre-console buffer

2011-08-30 Thread Mike Frysinger
On Tuesday, August 30, 2011 08:49:41 Graeme Russ wrote: > - if (!gd->have_console) > + if (!gd->have_console) { > +#ifdef CONFIG_PRE_CONSOLE_BUFFER > + pre_console_putc(c); > +#endif > return; > + } add inline stubs for the pre_console_xxx helpers and you can

[U-Boot] [PATCH V3] Makefile : fix generation of cpu related asm-offsets.h

2011-08-30 Thread Stefano Babic
commit 0edf8b5b2fa0d210ebc4d6da0fd1aceeb7e44e47 breaks building on a different directory with the O= parameter. The patch wil fix this issue, generating always asm-offsets.h before the other targets. Signed-off-by: Stefano Babic CC: Matthias Weisser CC: Wolfgang Denk --- Note: V2 breaks *all*

Re: [U-Boot] [PATCH 0/3] Makefile & x86 - Move to generic include/asm/arch/asm-offsets.h

2011-08-30 Thread Mike Frysinger
On Sunday, August 28, 2011 09:03:10 Graeme Russ wrote: > This series creates build rules to create (and clean) > include/asm/arch/asm-offsets.h from an asm-offsets.c file located in the > SoC directory. In particular, the new rules will skip creating the > asm-offsets.h file if the SoC does not hav

Re: [U-Boot] [PATCH v2] FPGA: constify Lattice FPGA code

2011-08-30 Thread Stefano Babic
On 08/05/2011 02:29 PM, Wolfgang Denk wrote: > The Lattice code was missed by commit e6a857d "fpga: constify to fix > build warning" resulting in such warnings: > > fpga.c: In function 'fpga_load': > fpga.c:238: warning: passing argument 2 of 'lattice_load' discards qualifiers > from pointer targ

  1   2   >