Re: [U-Boot] [PATCH] Add gc-section support for ARM

2012-05-15 Thread Albert ARIBAUD
Le 15/05/2012 07:12, Mike Frysinger a écrit : On Monday 14 May 2012 17:01:30 Charles Manning wrote: On Monday 14 May 2012 17:15:50 Mike Frysinger wrote: On Wednesday 02 May 2012 21:37:51 Charles Manning wrote: Seems odd that this hasn't been done yet. Shaves 5k off an omap overo build. my un

Re: [U-Boot] UBI: volume auto-resize

2012-05-15 Thread Matevz Langus
Hi, sorry for top-posting. It is Freescale eLB NAND controller. We need to investigate a bit more why it does not work with 512B sub-pages in u-boot. It does in Linux. In my case, I do not want to update boot-loader in the future. If any bugs in UBI are found, we can cope with this in Linux.

[U-Boot] ATA/CF support on u-boot

2012-05-15 Thread Altunbas Sabri (DC-IA/EAH2)
Hi All, I want to load linux-kernel from ATA/CF How can i do this ? My u-boot Version: uboot-2011.06 Thanx for any hints Best regards ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] ATA/CF support on u-boot

2012-05-15 Thread Bo Shen
? 2012/5/15 19:07, Altunbas Sabri (DC-IA/EAH2) ??: Hi All, I want to load linux-kernel from ATA/CF Please check whether ide command meet your requirement. Source code: How can i do this ? My u-boot Version: uboot-2011.06 Thanx for any hints Best regards

Re: [U-Boot] [PATCH 2/9] NET: fec_mxc.c: Add support for MII for MX5 SOCs

2012-05-15 Thread Dirk Behme
On 22.02.2012 11:24, Stefano Babic wrote: Signed-off-by: Stefano Babic CC: Fabio Estevam --- drivers/net/fec_mxc.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index 1fdd071..201e5d2 100644 --- a/drivers/net/fec_mxc.

Re: [U-Boot] [PATCH] i.mx: i.mx6x: NO_MUX_I/NO_PAD_I not set correctly

2012-05-15 Thread Dirk Behme
On 11.04.2012 13:58, Stefano Babic wrote: On 11/04/2012 13:18, Jason Liu wrote: If one PAD does not have mux or pad config register, we need set the NO_MUX_I/NO_PAD_I to 0, the old value is not correct Signed-off-by: Jason Liu CC: Stefano Babic --- arch/arm/include/asm/arch-mx6/mx6x_pins.h |

Re: [U-Boot] [PATCH] Add doc/README.kbd

2012-05-15 Thread Dirk Behme
On 16.04.2012 18:18, Eric Nelson wrote: On 04/16/2012 08:48 AM, Eric Nelson wrote: Signed-off-by: Eric Nelson --- doc/README.kbd | 84 1 files changed, 84 insertions(+), 0 deletions(-) create mode 100644 doc/README.kbd diff --git

Re: [U-Boot] [PATCH V2] i.MX: fsl_esdhc: allow use with cache enabled.

2012-05-15 Thread Dirk Behme
On 09.05.2012 07:45, Stefano Babic wrote: On 09/05/2012 01:31, Eric Nelson wrote: Thanks Andy, On 05/08/2012 03:59 PM, Andy Fleming wrote: --- a/drivers/mmc/fsl_esdhc.c +++ b/drivers/mmc/fsl_esdhc.c @@ -190,6 +190,10 @@ static int esdhc_setup_data(struct mmc *mmc, struct mmc_data *data)

Re: [U-Boot] [PATCH V2] i.MX: fsl_esdhc: allow use with cache enabled.

2012-05-15 Thread Anatolij Gustschin
Hi Dirk, On Tue, 15 May 2012 14:58:54 +0200 Dirk Behme wrote: > On 09.05.2012 07:45, Stefano Babic wrote: ... > > The problem with an #ifdef is that it is not very generic - we should > > add some #if (defined(CONFIG_MX51) || defined(CONFIG_MX53) || ... > > and update the driver for each new SOC

[U-Boot] [PATCH v4 00/27] updates for Keymile ARM boards

2012-05-15 Thread Valentin Longchamp
This patch series updates keymile boards with Kirkwood CPU and adds two new boards. This new boards are kmnusa and kmcoge5un. Also the existing boards with own config files were migrated to the common header km_kirkwood.h. Some small adaption in generic kirkwood code was needed due to two new featu

[U-Boot] [PATCH v4 21/27] arm/km: skip FPGA config when already configured

2012-05-15 Thread Valentin Longchamp
In order to be able to perform board resets without interrupting the traffic, the configuration of an already properly configured FPGA is skipped. This is because some PCIe FPGAs embed some other function that must continue to work over reset. It is then the responsibility of the application to t

[U-Boot] [PATCH v4 08/27] arm/km: enable mii cmd

2012-05-15 Thread Valentin Longchamp
This is useful to debug the switch initialization Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Gerlando Falauto cc: Prafulla Wadaskar --- include/configs/km/km_arm.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/km/km_arm.h b/in

[U-Boot] [PATCH v4 20/27] arm/km: enable external switch configuration for kmnusa

2012-05-15 Thread Valentin Longchamp
The configuration EEPROM should be removed for P1B. Signed-off-by: Valentin Longchamp --- board/keymile/km_arm/km_arm.c | 11 +-- board/keymile/km_arm/managed_switch.c |3 ++- board/keymile/km_arm/managed_switch.h |7 +++ 3 files changed, 14 insertions(+), 7 deletio

[U-Boot] [PATCH v4 22/27] arm/km: support the 2 PCIe fpga resets

2012-05-15 Thread Valentin Longchamp
The PCIe FPGAs now have to support 2 resets: one for the non traffic affecting part (PCIe) and one for the traffic affecting part. When the FPGA is not reconfigured, we only reset the PCIe part. Signed-off-by: Valentin Longchamp --- board/keymile/km_arm/fpga_config.c | 13 + 1 fil

[U-Boot] [PATCH v4 24/27] arm/km: fix testpin detection for kmcoge5un

2012-05-15 Thread Valentin Longchamp
From: Thomas Herzmann On kmcoge5un unfortunately the HW wiring is differently to other km arm boards. Signed-off-by: Thomas Herzmann Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp --- board/keymile/km_arm/km_arm.c |4 1 files changed, 4 insertions(+), 0 deletions(-)

[U-Boot] [PATCH v4 18/27] km_arm: redefine piggy 4 reg names to avoid conflicts

2012-05-15 Thread Valentin Longchamp
Some very similar #defines for reg addresses are used in a later patch (managed_switch support for km_arm). Signed-off-by: Valentin Longchamp --- board/keymile/km_arm/km_arm.c | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/board/keymile/km_arm/km_

[U-Boot] [PATCH v4 19/27] arm/km: add support for external switch configuration

2012-05-15 Thread Valentin Longchamp
This can be used if we do not want to use an EEPROM for the configuration. Signed-off-by: Valentin Longchamp --- board/keymile/common/common.h |7 -- board/keymile/km_arm/managed_switch.c | 169 +++-- board/keymile/km_arm/managed_switch.h | 99 +

[U-Boot] [PATCH v4 10/27] arm/kirkwood: protect the ENV_SPI #defines

2012-05-15 Thread Valentin Longchamp
So that they can be redefined by some boards specific values. Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Gerlando Falauto cc: Prafulla Wadaskar --- arch/arm/include/asm/arch-kirkwood/config.h | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) diff -

[U-Boot] [PATCH v4 23/27] arm/km: add implementation for read_dip_switch

2012-05-15 Thread Valentin Longchamp
From: Thomas Herzmann Add a function to read the dip_switch on kmcoge5un. If the switch is set the actual_bank is set to 0 and this SW is booted. Signed-off-by: Thomas Herzmann Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp --- board/keymile/km_arm/km_arm.c | 14 +++

[U-Boot] [PATCH v4 09/27] arm/km: use correct kw_gpio function for NAND/SPI switching

2012-05-15 Thread Valentin Longchamp
This used to be done with registers direct access, which is not clear and optimal. Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Gerlando Falauto cc: Prafulla Wadaskar --- board/keymile/km_arm/km_arm.c | 55 + include/configs/km/k

[U-Boot] [PATCH v4 27/27] km_arm: use filesize for erase in update command

2012-05-15 Thread Valentin Longchamp
We used to have an arbitrary value, which can be a problem if we have a u-boot image that is bigger than this value. This patch is dependant on the whole km/arm series and will be included in the v3 of the series if there is one. Signed-off-by: Valentin Longchamp cc: Holger Brunck cc: Gerlando

[U-Boot] [PATCH v4 03/27] arm/km: rename CONFIG option CONFIG_KM_DEF_ENV_UPDATE

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck This config option sounds like the it is responsible for the update of the environment, but it is the u-boot update handling. Therefore we adapt it to a more apropriate naming. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafull

[U-Boot] [PATCH v4 07/27] arm/km: remove CONFIG_RESET_PHY_R

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck This is already defined in the generic kirkwood header. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- include/configs/km/km_arm.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/incl

[U-Boot] [PATCH v4 13/27] arm/km: convert mgcoge3un target to km_kirkwood

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck Use the generic header km_kirkwood.h and get rid of the board specific header. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- board/keymile/km_arm/km_arm.c |9 ++-- boards.cfg|2 +-

[U-Boot] [PATCH v4 17/27] arm/km: cleanup km_kirkwood boards

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck Remove config options from boards.cfg and simply add one switch per board and differ afterwards in km_kirkwood.h between the features. More boards are upcoming and therefore it's easier to have this at one place. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH v4 16/27] arm/km: enable BOCO2 FPGA download support

2012-05-15 Thread Valentin Longchamp
This adds a first support of the FPGA download for a PCIe FPGA based on the BOCO2 CPLD. This takes place in 3 steps, all done accessing the SPICTRL reg of the BOCO2: 1) start the FPGA config with an access to the FPGA_PROG bit 2) later in the boot sequence, wait for the FPGA_DONE bit to toggle to

[U-Boot] [PATCH v4 02/27] arm/km: add piggy mac adress offset for mgcoge3un

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck On mgcoge3un the piggy mac adress is at offset 3. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- include/configs/mgcoge3un.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/co

[U-Boot] [PATCH v4 12/27] arm/km: add kmcoge5un board support

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck For u-boot this board is similar to mgcoge3un. But some differences are present. We have a different SDRAM on it and therefore a new SDRAM config file. Additionaly this board has a direct MAC/MAC connection from the kirkwood to a marvell simple switch without a phy inbetween,

[U-Boot] [PATCH v4 14/27] arm/km: remove portl2.h and use km_kirkwood instead

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck The additional headerfile is unneeded here, we can use the generic km_kirkwood.h instead. And we can use the better config option KM_PIGGY4_88E6061 for the specific features for boards with this design in km_arm.c. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longcha

[U-Boot] [PATCH v4 11/27] arm/km: add kmnusa board support

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck This board is similar to portl2, but it has the u-boot environment in a SPI NOR flash and not in an i2c eeprom like portl2 have. Some other details: - IVM EEPROM is at adress: pca9547:70:9 - PCI is enabled - PIGGY4 is connected via MV88E6352 simple switch. There is no phy

[U-Boot] [PATCH v4 15/27] arm/km: correct init of 88e6352 switch in the reset_phy function

2012-05-15 Thread Valentin Longchamp
This is achieved thanks to the support read/write regs for the external 88e6352 switch. The functions for this are added into an own file managed_switch.c. This is compiled if the define CONFIG_KM_MANAGED_SW_ADDR was set in the board setup. This define specifies the phy address. Signed-off-by: Val

[U-Boot] [PATCH v4 25/27] arm/km: implement weak function board_spi_clam_bus/release

2012-05-15 Thread Valentin Longchamp
They are needed on all km_arm boards where we have the environement variables in the NOR Flash. First boards using this feature are kmcoge5un and kmnusa. Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Gerlando Falauto cc: Prafulla Wadaskar --- board/keymile/km_arm/km_arm.c

[U-Boot] [PATCH v4 26/27] km/arm: remove spi toggle command

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck Now we toggle between SPI and NAND flash automatically if we claim the SPI bus. So we can get rid of this command. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- board/keymile/km_arm/km_arm.c | 26 -

[U-Boot] [PATCH v4 01/27] arm/km: add board type to boards.cfg

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck Some other kirkwood boards from keymile will follow. They will have some small differences, but we want to use the km_kirkwood.h for all to distinguish them. This patch a preparation for this. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falau

[U-Boot] [PATCH v4 04/27] arm/km: use ARRAY_SIZE macro

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- board/keymile/km_arm/km_arm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_ar

[U-Boot] [PATCH v4 05/27] arm/km: fix wrong comment in SDRAM config for mgcoge3un

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- board/keymile/km_arm/kwbimage-memphis.cfg |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/keymile/km_arm/kwbimage-memphis.cfg b/b

[U-Boot] [PATCH v4 06/27] arm/km: change maintainer for mgcoge3un

2012-05-15 Thread Valentin Longchamp
From: Holger Brunck Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Heiko Schocher cc: Prafulla Wadaskar cc: Gerlando Falauto --- MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 708ded7..2be0e6e 100644

Re: [U-Boot] [PATCH 1/2] tegra: add alternate UART1 funcmux entry

2012-05-15 Thread Lucas Stach
Hello Stephen, this patch looks reasonable. I also need to change the pingroup config for UARTA on the Colibri T20 board and came up with a similar approach, but I will rebase my work on top of this. As I'm not in the position to give anything more official, I just wanted to give this patch a pub

Re: [U-Boot] UBI: volume auto-resize

2012-05-15 Thread Marek Vasut
Dear Matevz Langus, > Hi, > > sorry for top-posting. > > It is Freescale eLB NAND controller. We need to investigate a bit more why > it does not work with 512B sub-pages in u-boot. It does in Linux. And are you sure it does use 512b subpages in linux? Because I think there's still a bug in li

[U-Boot] [PATCH V2] tegra: Whistler board support

2012-05-15 Thread Stephen Warren
From: Stephen Warren Whistler is a highly configurable Tegra evaluation and development board. This change adds support for the following specific configuration: E1120 motherboard E1108 CPU board E1116 PMU board The motherboard configuration switches are set as follows: SW1=0 SW2=0 SW3=5 S1/S2/

Re: [U-Boot] UBI: volume auto-resize

2012-05-15 Thread Scott Wood
On 05/15/2012 11:33 AM, Marek Vasut wrote: > Dear Matevz Langus, > >> Hi, >> >> sorry for top-posting. >> >> It is Freescale eLB NAND controller. We need to investigate a bit more why >> it does not work with 512B sub-pages in u-boot. It does in Linux. > > And are you sure it does use 512b subpag

Re: [U-Boot] UBI: volume auto-resize

2012-05-15 Thread Matevz Langus
Hi Scott, yes, I have also seen that. That makes me think using 2k alignment for all UBI structure is the safest/only way to go with eLBC NAND. But really confused I was, when I saw it working in Linux. Maybe Linux driver does not use HW ECC. Will report the findings when I finish other thi

[U-Boot] [PATCH v2 1/3] mx53: Allow IPUv3 driver to also work on mx53

2012-05-15 Thread Fabio Estevam
Adjust the IPU base registers so that ipuv3 driver can work on both mx51 and mx53 SoCs. Signed-off-by: Fabio Estevam --- Changes since v1: - Properly implement the IPU offset scheme. arch/arm/include/asm/arch-mx5/imx-regs.h |8 - drivers/video/ipu_regs.h | 42

[U-Boot] [PATCH v3 10/10] net: cosmetic: netconsole.c checkpatch compliance

2012-05-15 Thread Joe Hershberger
Requires: --ignore CONSIDER_KSTRTO Signed-off-by: Joe Hershberger Cc: Joe Hershberger --- Changes for v2: - Split into smaller patches Changes for v3: drivers/net/netconsole.c | 122 +++-- 1 files changed, 62 insertions(+), 60 deletions(-) diff --git

[U-Boot] [PATCH v3 09/10] net: cosmetic: tftp.* checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger --- Changes for v2: - Split into smaller patches Changes for v3: include/net.h |4 net/tftp.c| 30 ++ net/tftp.h|2 +- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/include

[U-Boot] [PATCH v3 03/10] net: cosmetic: bootp.* checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger --- Changes for v2: - Split into smaller patches Changes for v3: - Fixed commit summary net.c -> bootp.* net/bootp.c | 340 ++- net/bootp.h | 56 +- 2 files changed, 203 ins

[U-Boot] [PATCH v3 05/10] net: cosmetic: net.c checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger --- Changes for v2: - Split into smaller patches Changes for v3: common/main.c|1 - include/common.h |4 include/net.h|5 + net/net.c| 22 -- 4 files changed, 17 insertions(+), 15 del

Re: [U-Boot] [PATCH] fix IDE_BUS(dev) macro

2012-05-15 Thread Albert ARIBAUD
Hi Luka, Le 14/05/2012 21:29, Luka Perkov a écrit : Hi Albert, On Sun, Apr 29, 2012 at 10:19:41PM +0200, Luka Perkov wrote: On Thu, Apr 19, 2012 at 08:38:19AM +0200, Albert ARIBAUD wrote: Not my main area of expertise here, but I am not sure how this plays on Marvell non-kirkwood platforms (e

[U-Boot] [PATCH v3 07/10] net: cosmetic: rarp.* checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger --- Changes for v2: - Split into smaller patches Changes for v3: net/rarp.c | 28 ++-- net/rarp.h |4 ++-- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/net/rarp.c b/net/rarp.c index 77d63e8..5

[U-Boot] [PATCH v3 00/10] Network stack checkpatch.pl compliance

2012-05-15 Thread Joe Hershberger
This patch-series addresses checkpatch compliance issues throughout the networking stack. One particularly intrusive change is the removal of "volatile" from the Ethernet driver API. All network drivers need to be updated to not use volatile pointers when calling into the network stack. This is

[U-Boot] [PATCH v3 02/10] net: cosmetic: net.h checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger --- Changes for v2: - Split into smaller patches Changes for v3: - Added blank lines for Simon Glass include/net.h | 116 +--- 1 files changed, 60 insertions(+), 56 deletions(-) diff --g

[U-Boot] [PATCH v3 08/10] net: cosmetic: sntp.* checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger --- Changes for v2: - Split into smaller patches Changes for v3: - Changed literal to sizeof() for Simon Glass net/sntp.c | 31 +-- net/sntp.h |2 +- 2 files changed, 18 insertions(+), 15 deletions(-) diff

[U-Boot] [PATCH v3 06/10] net: cosmetic: nfs.* checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger --- Changes for v2: - Split into smaller patches Changes for v3: net/nfs.c | 300 ++--- net/nfs.h |2 +- 2 files changed, 150 insertions(+), 152 deletions(-) diff --git a/net/nfs.c

[U-Boot] [PATCH v3 01/10] net: Remove volatile from net API

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger --- Changes for v2: - Remove volatile from eth driver API - Not using global NetRxPacket (since not casting away volatile) Changes for v3: include/net.h | 25 + net/bootp.c |4 ++-- net/eth.c | 12 +

Re: [U-Boot] [PATCH] UBIFS: Improve error message when reading superblock failed

2012-05-15 Thread Thomas Weber
Ccing Albert Thomas On 04/02/2012 01:58 PM, Thomas Weber wrote: > From: Bernhard Walle > > In addition to the error message also display the error code. I had the > problem that my malloc memory was not enough (ENOMEM), and if u-boot > had displayed the error code immediately that would have sav

Re: [U-Boot] nand_get_device() and nand_release_device()

2012-05-15 Thread Scott Wood
On 05/07/2012 11:14 AM, Timur Tabi wrote: > Scott, > > As you know, the P1022 has this weird LBC/DIU muxing problem. I'd like to > add support for the 'nand' command while the DIU is active. Looking at > the NAND code, I see functions nand_get_device() and > nand_release_device(). What is the i

[U-Boot] [PATCH v3 04/10] net: cosmetic: eth.c checkpatch compliance

2012-05-15 Thread Joe Hershberger
Signed-off-by: Joe Hershberger Cc: Joe Hershberger --- Changes for v2: - Split into smaller patches Changes for v3: net/eth.c | 67 +--- 1 files changed, 32 insertions(+), 35 deletions(-) diff --git a/net/eth.c b/net/eth.c index 66a84

Re: [U-Boot] [PATCH] fix IDE_BUS(dev) macro

2012-05-15 Thread Luka Perkov
Hi Albert, On Tue, May 15, 2012 at 09:42:59PM +0200, Albert ARIBAUD wrote: > >diff --git a/include/ide.h b/include/ide.h > >index 8ecc9dd..385e909 100644 > >--- a/include/ide.h > >+++ b/include/ide.h > >@@ -24,7 +24,7 @@ > > #ifndef_IDE_H > > #define _IDE_H > > > >-#define IDE_BUS(dev)

[U-Boot] [PATCH 1/3] m28evk: use same notation to alloc the 128kB stack

2012-05-15 Thread Otavio Salvador
Signed-off-by: Otavio Salvador Cc: Marek Vasut Cc: Stefano Babic Cc: Wolfgang Denk --- include/configs/m28evk.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index 68e46b7..a076aa5 100644 --- a/include/configs/m28evk.

[U-Boot] [PATCH 2/3] m28evk: drop duplicated definition of CONFIG_OF_LIBFDT

2012-05-15 Thread Otavio Salvador
Signed-off-by: Otavio Salvador Cc: Marek Vasut Cc: Stefano Babic Cc: Wolfgang Denk --- include/configs/m28evk.h |2 -- 1 file changed, 2 deletions(-) diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index a076aa5..29ea8eb 100644 --- a/include/configs/m28evk.h +++ b/include

[U-Boot] [PATCH 3/3] mx28evk: extend default environment

2012-05-15 Thread Otavio Salvador
The environment has been based on mx53loco and m28evk but keeping the possibility to easy change the default console device as Freescale and mainline kernels differ on the device name. Signed-off-by: Otavio Salvador Cc: Marek Vasut Cc: Stefano Babic Cc: Wolfgang Denk Cc: Fabio Estevam --- in

Re: [U-Boot] [PATCH 3/3] mx28evk: extend default environment

2012-05-15 Thread Fabio Estevam
On Tue, May 15, 2012 at 5:59 PM, Otavio Salvador wrote: > +       "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" > \ > +       "mmcboot=echo Booting from mmc ...; " \ > +               "run mmcargs; " \ > +               "bootm\0" \ > +       "netargs=setenv bootargs conso

Re: [U-Boot] [PATCH V2 2/4] mtd/NAND: Add FSMC driver support

2012-05-15 Thread Scott Wood
On 05/07/2012 02:26 AM, Amit Virdi wrote: > + while (num_err--) { > + change_bit(0, &err_idx[i]); > + change_bit(1, &err_idx[i]); > + > + if (err_idx[i] < 512 * 8) { > + change_bit(err_idx[i], dat); > + i++; > +

Re: [U-Boot] [PATCH 2/3] m28evk: drop duplicated definition of CONFIG_OF_LIBFDT

2012-05-15 Thread Marek Vasut
Dear Otavio Salvador, > Signed-off-by: Otavio Salvador > Cc: Marek Vasut > Cc: Stefano Babic > Cc: Wolfgang Denk Please drop the other one, so this is the same as mx28evk.h and we can easily unify it. btw how did you find this? > --- > include/configs/m28evk.h |2 -- > 1 file changed,

Re: [U-Boot] [PATCH 1/3] m28evk: use same notation to alloc the 128kB stack

2012-05-15 Thread Marek Vasut
Dear Otavio Salvador, > Signed-off-by: Otavio Salvador > Cc: Marek Vasut > Cc: Stefano Babic > Cc: Wolfgang Denk Is this really necessary? I think it's a matter of personal taste, isn't it? > --- > include/configs/m28evk.h |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: [U-Boot] [PATCH 3/3] mx28evk: extend default environment

2012-05-15 Thread Marek Vasut
Dear Otavio Salvador, > The environment has been based on mx53loco and m28evk but keeping the > possibility to easy change the default console device as Freescale and > mainline kernels differ on the device name. FSL kernel is dumb :-( But I like this patch. On the other hand, can't this be made

Re: [U-Boot] [PATCH 3/3] mx28evk: extend default environment

2012-05-15 Thread Otavio Salvador
On Tue, May 15, 2012 at 6:08 PM, Fabio Estevam wrote: > On Tue, May 15, 2012 at 5:59 PM, Otavio Salvador > wrote: > >> +       "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} >> ${uimage}\0" \ >> +       "mmcboot=echo Booting from mmc ...; " \ >> +               "run mmcargs; " \ >> +  

Re: [U-Boot] [PATCH 3/3] mx28evk: extend default environment

2012-05-15 Thread Marek Vasut
Dear Otavio Salvador, > On Tue, May 15, 2012 at 6:16 PM, Marek Vasut wrote: > > But I like this patch. On the other hand, can't this be made even more > > generic so everyone can use such a nice unified env? > > I tried something in this direction but Wolfgang NACKed the patch. It > wasn't clear

Re: [U-Boot] [PATCH 3/3] mx28evk: extend default environment

2012-05-15 Thread Otavio Salvador
On Tue, May 15, 2012 at 6:21 PM, Marek Vasut wrote: > Dear Otavio Salvador, > >> I tried something in this direction but Wolfgang NACKed the patch. It >> wasn't clear to me what he wants so I preferred to go again with >> mx28evk patch only. > > Well ... it might have been a good idea to discuss i

[U-Boot] [PATCH 3/3] mx28evk: extend default environment

2012-05-15 Thread Otavio Salvador
The environment has been based on mx53loco and m28evk but keeping the possibility to easy change the default console device as Freescale and mainline kernels differ on the device name. Signed-off-by: Otavio Salvador Cc: Marek Vasut Cc: Stefano Babic Cc: Wolfgang Denk Cc: Fabio Estevam --- in

Re: [U-Boot] [PATCH 1/3] m28evk: use same notation to alloc the 128kB stack

2012-05-15 Thread Otavio Salvador
On Tue, May 15, 2012 at 6:14 PM, Marek Vasut wrote: > Is this really necessary? I think it's a matter of personal taste, isn't it? It is but you does this kind of style in other part of file so seemed logical to use the same. Since I was looking at the code it seemed good to send it as a style im

Re: [U-Boot] [PATCH 2/3] m28evk: drop duplicated definition of CONFIG_OF_LIBFDT

2012-05-15 Thread Otavio Salvador
On Tue, May 15, 2012 at 6:14 PM, Marek Vasut wrote: > Please drop the other one, so this is the same as mx28evk.h and we can easily > unify it. btw how did you find this? Good; will check it. I found it when looking about common stuff in boad configs; I am still willing to try to have a common h

[U-Boot] [PATCH] tegra: paz00: fix typo in SD slot CD detect GPIO

2012-05-15 Thread Stephen Warren
From: Stephen Warren Signed-off-by: Stephen Warren --- board/compal/paz00/paz00.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/board/compal/paz00/paz00.c b/board/compal/paz00/paz00.c index 3b48917..b07ce11 100644 --- a/board/compal/paz00/paz00.c +++ b/board/comp

Re: [U-Boot] [PATCH 2/3] m28evk: drop duplicated definition of CONFIG_OF_LIBFDT

2012-05-15 Thread Marek Vasut
Dear Otavio Salvador, > On Tue, May 15, 2012 at 6:14 PM, Marek Vasut wrote: > > Please drop the other one, so this is the same as mx28evk.h and we can > > easily unify it. btw how did you find this? > > Good; will check it. > > I found it when looking about common stuff in boad configs; I am st

Re: [U-Boot] [PATCH] Add gc-section support for ARM

2012-05-15 Thread Charles Manning
On Tuesday 15 May 2012 17:12:05 Mike Frysinger wrote: > On Monday 14 May 2012 17:01:30 Charles Manning wrote: > > On Monday 14 May 2012 17:15:50 Mike Frysinger wrote: > > > On Wednesday 02 May 2012 21:37:51 Charles Manning wrote: > > > > Seems odd that this hasn't been done yet. > > > > Shaves 5k o

[U-Boot] [PATCH 3/4] tegra: whistler: reduce and comment network cfg options

2012-05-15 Thread Stephen Warren
From: Stephen Warren CONFIG_CMD_PING/NFS aren't required for Whistler to boot. Add some comments. Signed-off-by: Stephen Warren --- include/configs/whistler.h |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/configs/whistler.h b/include/configs/whistler.h

[U-Boot] [PATCH 1/4] tegra: remove some cruft from CONFIG_EXTRA_ENV_SETTINGS

2012-05-15 Thread Stephen Warren
From: Stephen Warren console isn't used by anything, and the kernel should be set appropriately by whatever script is booting the kernel, not imposed by the bootloader. mem might be useful, but the current value is pretty bogus, since it includes nvmem options that make no sense for an upstream

[U-Boot] [PATCH 4/4] tegra: seaboard: add support for USB networking

2012-05-15 Thread Stephen Warren
From: Stephen Warren Signed-off-by: Stephen Warren --- include/configs/seaboard.h | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index c2ed686..7be8ecf 100644 --- a/include/configs/seaboard.h +++ b/inc

[U-Boot] [PATCH 2/4] tegra: flesh out bootcmd

2012-05-15 Thread Stephen Warren
From: Stephen Warren This implements a useful bootcmd for Tegra. The boot order is: * If USB enabled, USB storage * Internal MMC (SD card or eMMC) * If networking is enabled, BOOTP/TFTP When booting from USB or MMC, the boot script is assumed to be in partition 1 (although this may be overridde

Re: [U-Boot] [PATCH] Add gc-section support for ARM

2012-05-15 Thread Wolfgang Denk
Dear Charles, In message <201205161007.59560.mannin...@actrix.gen.nz> you wrote: > On Tuesday 15 May 2012 17:12:05 Mike Frysinger wrote: ... > > current u-boot policy is to not introduce changes that knowingly break > > other platforms. so if you want to update the common arm config.mk, you > > n

Re: [U-Boot] [PATCH] sh: Add SH7269 device and RSK2+SH7269 board

2012-05-15 Thread Nobuhiro Iwamatsu
Hi, Phil. Please write more infomation to changelog. Best regards, Nobuhiro 2012/5/10 Phil Edworthy : > This is an sh2a device. > > Signed-off-by: Phil Edworthy > --- >  arch/sh/include/asm/cpu_sh2.h         |    2 + >  arch/sh/include/asm/cpu_sh7269.h      |   26 + >  board/renesas/rsk72

[U-Boot] [PATCH V2 1/2] spi: Tegra2: Seaboard: fix UART corruption during SPI transactions

2012-05-15 Thread Tom Warren
Simon Glass's proposal to fix this on Seaboard was NAK'd, so I removed his NS16550 references and added a small delay before SPI/UART muxing. Tested on my Seaboard with large SPI reads/writes and saw no corruption (crc's matched) and no spurious comm chars. Signed-off-by: Tom Warren Acked-by: Sim

[U-Boot] [PATCH V2 2/2] spi: Tegra2: Seaboard: enable SPI/UART corruption fix

2012-05-15 Thread Tom Warren
Signed-off-by: Tom Warren --- v2: Split config file changes into separate commit include/configs/seaboard.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index 46d4228..889bdff 100644 --- a/include/configs

Re: [U-Boot] [PATCH] Add gc-section support for ARM

2012-05-15 Thread Charles Manning
On Wednesday 16 May 2012 10:25:26 Wolfgang Denk wrote: > Dear Charles, > > In message <201205161007.59560.mannin...@actrix.gen.nz> you wrote: > > On Tuesday 15 May 2012 17:12:05 Mike Frysinger wrote: > > ... > > > > current u-boot policy is to not introduce changes that knowingly break > > > other

Re: [U-Boot] Status of fsl_elbc_nand driver and 4k page NAND / 4bit ECC

2012-05-15 Thread Scott Wood
On 05/08/2012 03:07 PM, Rafael Beims wrote: > Based on your response, would it be OK to implement the marker in the > bbt as something like Liu Shuo suggested ('M', 'B', 'b', 't', 0) and > then do the scanning as follows: I'd leave the BBT marker alone, and have the migration marker be located els

Re: [U-Boot] [PATCH] Add doc/README.kbd

2012-05-15 Thread Eric Nelson
On 05/15/2012 05:47 AM, Dirk Behme wrote: On 16.04.2012 18:18, Eric Nelson wrote: On 04/16/2012 08:48 AM, Eric Nelson wrote: Signed-off-by: Eric Nelson --- doc/README.kbd | 84 1 files changed, 84 insertions(+), 0 deletions(-) create mode

[U-Boot] Pull request: u-boot-net/master

2012-05-15 Thread Joe Hershberger
The following changes since commit 0a6deb3251a68b5be640ab1b848ca67e906b75ce: Wolfgang Denk (1): Merge branch 'ag...@denx.de' of git://git.denx.de/u-boot-staging are available in the git repository at: git://git.denx.de/u-boot-net.git master Joe Hershberger (10): net: Remove vol

Re: [U-Boot] [PATCH 1/2 v2] net: punt bd->bi_ip_addr

2012-05-15 Thread Joe Hershberger
Hi Mike, On Wed, Apr 4, 2012 at 11:53 PM, Mike Frysinger wrote: > This field gets read in one place (by "bdinfo"), and we can replace > that with getenv("ipaddr").  After all, the bi_ip_addr field is kept > up-to-date implicitly with the value of the ipaddr env var. > > Signed-off-by: Mike Frysin

Re: [U-Boot] [PATCH V2] i.MX: fsl_esdhc: allow use with cache enabled.

2012-05-15 Thread Eric Nelson
On 05/15/2012 06:09 AM, Anatolij Gustschin wrote: Hi Dirk, On Tue, 15 May 2012 14:58:54 +0200 Dirk Behme wrote: On 09.05.2012 07:45, Stefano Babic wrote: ... The problem with an #ifdef is that it is not very generic - we should add some #if (defined(CONFIG_MX51) || defined(CONFIG_MX53) || .

Re: [U-Boot] [PATCH 2/2 v2] net: move bootfile init into eth_initialize

2012-05-15 Thread Joe Hershberger
Hi Mike, On Wed, Apr 4, 2012 at 11:53 PM, Mike Frysinger wrote: > All arches init this the same way, so move the logic into the core > net code to avoid duplicating it everywhere else. > > Signed-off-by: Mike Frysinger > --- > v2 >        - rebased onto mainline > >  arch/arm/lib/board.c        

Re: [U-Boot] [PATCH 2/3] m28evk: drop duplicated definition of CONFIG_OF_LIBFDT

2012-05-15 Thread Otavio Salvador
On Tue, May 15, 2012 at 7:05 PM, Marek Vasut wrote: > You submit your MX23 stuff, let's get that in. Then we can start with this > consolidation. Is it OK? This works but wouldn't be better to avoid a duplication before it? It doesn't matter for me but I'd prefer it fixed. -- Otavio Salvador   

Re: [U-Boot] [PATCH 2/3] m28evk: drop duplicated definition of CONFIG_OF_LIBFDT

2012-05-15 Thread Marek Vasut
Dear Otavio Salvador, > On Tue, May 15, 2012 at 7:05 PM, Marek Vasut wrote: > > You submit your MX23 stuff, let's get that in. Then we can start with > > this consolidation. Is it OK? > > This works but wouldn't be better to avoid a duplication before it? It > doesn't matter for me but I'd prefe

Re: [U-Boot] [PATCH V2] i.MX: fsl_esdhc: allow use with cache enabled.

2012-05-15 Thread Marek Vasut
Dear Eric Nelson, > On 05/15/2012 06:09 AM, Anatolij Gustschin wrote: > > Hi Dirk, > > > > On Tue, 15 May 2012 14:58:54 +0200 > > > > Dirk Behme wrote: > >> On 09.05.2012 07:45, Stefano Babic wrote: > > ... > > > >>> The problem with an #ifdef is that it is not very generic - we should > >>> a

Re: [U-Boot] [PATCH V2] tegra: Whistler board support

2012-05-15 Thread Tom Warren
Stephen, > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Tuesday, May 15, 2012 9:45 AM > To: Tom Warren > Cc: Simon Glass; u-boot@lists.denx.de; Stephen Warren > Subject: [PATCH V2] tegra: Whistler board support > > From: Stephen Warren > > Whistler is

Re: [U-Boot] [PATCH 1/4] tegra: remove some cruft from CONFIG_EXTRA_ENV_SETTINGS

2012-05-15 Thread Tom Warren
Stephen, > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Tuesday, May 15, 2012 3:16 PM > To: Tom Warren > Cc: Simon Glass; u-boot@lists.denx.de; Stephen Warren > Subject: [PATCH 1/4] tegra: remove some cruft from CONFIG_EXTRA_ENV_SETTINGS > > From: Steph

Re: [U-Boot] [PATCH 2/3] m28evk: drop duplicated definition of CONFIG_OF_LIBFDT

2012-05-15 Thread Otavio Salvador
On Tue, May 15, 2012 at 8:18 PM, Marek Vasut wrote: >> This works but wouldn't be better to avoid a duplication before it? It >> doesn't matter for me but I'd prefer it fixed. > > I'm all for applying this 2/3, the rest should be discussed more thoroughly. I checked mx28evk and m28evk config and

[U-Boot] [PATCH v2] sh: Add support for AP-SH4A-4A board

2012-05-15 Thread Nobuhiro Iwamatsu
The AP-SH4A-4A board has SH7734, 64MB DDR2-SDRAM, USB, Ethernet, and more. This patch supports the following functions: - 64MB DDR2-SDRAM - 16MB NOR Flash memory - Serial console (SCIF) - Ethernet (SH-Ether with Gigabit) - I2C Signed-off-by: Nobuhiro Iwamatsu --- V2: Fix inital value

Re: [U-Boot] [PATCH v5 4/5] net: add eth_setenv_enetaddr_by_index()

2012-05-15 Thread Joe Hershberger
Hi Michael, On Fri, May 11, 2012 at 5:50 PM, Michael Walle wrote: > Signed-off-by: Michael Walle > Cc: Joe Hershberger > --- >  include/net.h |   16 >  net/eth.c     |   15 +++ >  2 files changed, 31 insertions(+), 0 deletions(-) > > diff --git a/include/net.h b/inc

Re: [U-Boot] [PATCH 2/3] m28evk: drop duplicated definition of CONFIG_OF_LIBFDT

2012-05-15 Thread Marek Vasut
Dear Otavio Salvador, > On Tue, May 15, 2012 at 8:18 PM, Marek Vasut wrote: > >> This works but wouldn't be better to avoid a duplication before it? It > >> doesn't matter for me but I'd prefer it fixed. > > > > I'm all for applying this 2/3, the rest should be discussed more > > thoroughly. >

Re: [U-Boot] [PATCH v5 3/5] net: fix potential compiler warning

2012-05-15 Thread Joe Hershberger
Hi Michael, On Fri, May 11, 2012 at 5:50 PM, Michael Walle wrote: > Future compiler versions may generate a "too many arguments for functions" > warning. > > Signed-off-by: Michael Walle > Cc: Joe Hershberger > --- >  net/eth.c |   14 -- >  1 files changed, 12 insertions(+), 2 delet

  1   2   >