[U-Boot] [PATCH v3] common/image.c: align usage of fdt_high with initrd_high

2012-01-09 Thread Shawn Guo
The commit message of a28afca (Add uboot "fdt_high" enviroment variable) states that fdt_high behaves similarly to the existing initrd_high. But fdt_high actually has an outstanding difference from initrd_high. The former specifies the start address, while the later specifies the end address. As f

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

2012-01-09 Thread Stefan Roese
Hi Wolfgang, please pull the following changes: The following changes since commit 9a4209869bd2c37affd931d627b3c3e72952: ARM: highbank: enable networking and pxe (2012-01-05 20:10:38 +0100) are available in the git repository at: git://www.denx.de/git/u-boot-ppc4xx.git master David Mül

Re: [U-Boot] [PATCH 5/7] tegra: Use funcmux for MMC on tamonten

2012-01-09 Thread Thierry Reding
* Simon Glass wrote: > Use the new funcmux_select() feature to set up the MMC pin mux. > > Signed-off-by: Simon Glass Tested on Plutux and Medcom. Acked-by: Thierry Reding Tested-by: Thierry Reding > --- > board/avionic-design/common/tamonten.c | 10 ++ > 1 files changed, 2 insert

[U-Boot] [PATCH] da850evm: drop NET_MULTI reference

2012-01-09 Thread Prabhakar Lad
remove obsolete macro CONFIG_NET_MULTI, Now that none of the core checks CONFIG_NET_MULTI, there's not much point in boards defining it. Signed-off-by: Prabhakar Lad Cc: Mike Frysinger Cc: Tom Rini --- include/configs/da850_am18xxevm.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-)

Re: [U-Boot] [PATCH v4 5/5] ARM:AM33XX: Add SPL support for AM335X EVM

2012-01-09 Thread Igor Grinberg
Hi Chandan, Tom, On 01/10/12 08:38, Chandan Nath wrote: > This patch is added to support SPL feature on AM335X > platform. In this patch, MMC1 is configured as boot > device for SPL and support for other devices will be > added in the next patch series. > > Signed-off-by: Chandan Nath > Signed-o

[U-Boot] [PATCH v4 5/5] ARM:AM33XX: Add SPL support for AM335X EVM

2012-01-09 Thread Chandan Nath
This patch is added to support SPL feature on AM335X platform. In this patch, MMC1 is configured as boot device for SPL and support for other devices will be added in the next patch series. Signed-off-by: Chandan Nath Signed-off-by: Tom Rini --- Changes since v3: - Use of common bootmode functi

[U-Boot] [PATCH v4 0/5] Added SPL support

2012-01-09 Thread Chandan Nath
This patch series is submitted to add support for MMC/SD along with SPL support. Also, fixed incorrect register offset of ddr and timer registers. The patches have been compile tested and run on AM335X EVM. The patches depends on previous patch series which was submitted for supporting AM33xx pla

[U-Boot] [PATCH v4 4/5] ARM:AM33XX: Add mmc/sd support

2012-01-09 Thread Chandan Nath
This patch add supports for mmc/sd driver on AM335X platform. PLL and pinmux configurations for mmc/sd are configured in this patch. Signed-off-by: Chandan Nath Signed-off-by: Tom Rini --- Changes since v3: - Addressed review comments Changes since v2: - No change Changes since v1: - Remove

[U-Boot] [PATCH v4 1/5] ARM:AM33XX: Replace CONFIG_AM335X with CONFIG_AM33XX

2012-01-09 Thread Chandan Nath
This patch is added to replace CONFIG_AM335X symbol with CONFIG_AM333XX for AM33XX platforms. Signed-off-by: Chandan Nath Signed-off-by: Tom Rini --- Changes since v3: - Splitted 1st patch into 3 patches - Addressed review comments Changes since v2: - No change Changes since v1: - Changed

[U-Boot] [PATCH v4 3/5] ARM:AM33XX: Fixing AM335X config parameters

2012-01-09 Thread Chandan Nath
This patch is added to correct some of the AM335X config parameters which were incorrect along with some cleanup like removing unused code. Signed-off-by: Chandan Nath Signed-off-by: Tom Rini --- Changes since v3: - Splitted 1st patch into 3 patches - Addressed review comments Changes since v

[U-Boot] [PATCH v4 2/5] ARM:AM33XX: Fix ddr and timer register offset

2012-01-09 Thread Chandan Nath
This patch is added to update incorrect ddr and timer register offset. Signed-off-by: Chandan Nath Signed-off-by: Tom Rini --- Changes since v3: - Splitted 1st patch into 3 patches - Addressed review comments Changes since v2: - No change Changes since v1: - Changed CONFIG_AM335X to CONFIG

Re: [U-Boot] [PATCH] eth: remove usb-ethernet devices before re-enumerating them

2012-01-09 Thread Wolfgang Grandegger
On 01/09/2012 10:08 PM, Vincent Palatin wrote: > On Mon, Jan 9, 2012 at 12:57, Marek Vasut wrote: >>> Fix the crash when running several times usb_init() with a USB ethernet >>> device plugged. >>> >>> Signed-off-by: Vincent Palatin >>> Tested-by: Wolfgang Grandegger >>> --- >>> drivers/usb/eth

Re: [U-Boot] [PATCH v2] common/image.c: align usage of fdt_high with initrd_high

2012-01-09 Thread Shawn Guo
Please hold on this patch. I found some problem with it. Regards, Shawn On Sat, Jan 07, 2012 at 10:39:53PM +0800, Shawn Guo wrote: > The commit message of a28afca (Add uboot "fdt_high" enviroment variable) > states that fdt_high behaves similarly to the existing initrd_high. > But fdt_high actua

Re: [U-Boot] [PATCH 2/2] Changes to move hawkboard to the new infrastructure.

2012-01-09 Thread Sughosh Ganu
On Mon Jan 09, 2012 at 04:30:56PM -0700, Tom Rini wrote: > On 01/09/2012 11:28 AM, Sughosh Ganu wrote: > > --- a/arch/arm/cpu/arm926ejs/davinci/Makefile > > +++ b/arch/arm/cpu/arm926ejs/davinci/Makefile > > @@ -38,8 +38,11 @@ COBJS-$(CONFIG_DRIVER_TI_EMAC) += lxt972.o dp83848.o > > et1011c.o

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-09 Thread Wolfgang Denk
Dear Chander Kashyap, In message you wrote: > > > Are you planning to reimplement most of these two files in C as per > > Wolfgang's comments on the TRATS board, or is that a separate issue? > Not as of now. We have 14K for spl. Using C style it might not fit into that. What makes you think t

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-09 Thread Kyungmin Park
On 1/10/12, Chander Kashyap wrote: > Dear Simon, > > On 9 January 2012 23:25, Simon Glass wrote: >> Hi Chander, >> >> On Sun, Jan 8, 2012 at 10:40 PM, Chander Kashyap >> wrote: >>> This patchset add support for Samsung's SMDK5250 board based on >>> EXYNOS5250 based SoC. It also adds support for

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-09 Thread Chander Kashyap
Dear Simon, On 9 January 2012 23:25, Simon Glass wrote: > Hi Chander, > > On Sun, Jan 8, 2012 at 10:40 PM, Chander Kashyap > wrote: >> This patchset add support for Samsung's SMDK5250 board based on >> EXYNOS5250 based SoC. It also adds support for MMC SPL booting. >> >> The porting is done by S

Re: [U-Boot] Add ext4 write support

2012-01-09 Thread Kim Phillips
On Mon, 9 Jan 2012 23:21:40 +0530 wrote: > We are still keeping crc16.c file in fs/ext4 because the lib/crc16.c file ( > Poly - x^16 + x^12 + x^5 + 1) > is not compatible with Linux kernel crc implementation (Poly - x^16 + x^15 + > x^2 + 1). I see that now - lib/crc16.c implements the CCITT ve

Re: [U-Boot] [PATCH v3 03/16] Add gpio_request() to asm-generic header

2012-01-09 Thread Kim Phillips
On Sun, 8 Jan 2012 03:44:19 -0500 Mike Frysinger wrote: > On Tuesday 06 December 2011 20:24:02 Simon Glass wrote: > > +int gpio_request(unsigned gpio, const char *label); > > should add gpio_free too fyi, I just sent Wolfgang a pull request for this: commit 3608b70fec881ccd4e41180c22662293a7e3

[U-Boot] [GIT PULL] Please pull u-boot-mpc83xx: new 8321 tuge1, GPIO support, fixes

2012-01-09 Thread Kim Phillips
Dear Wolfgang Denk, Please pull 8321-based tuge1 board support, GPIO support for the mpc8313erdb, and other fixes: The following changes since commit 9a4209869bd2c37affd931d627b3c3e72952: ARM: highbank: enable networking and pxe (2012-01-05 20:10:38 +0100) are available in the git reposit

Re: [U-Boot] [PATCH] mpc8313erdb: fix mtdparts address

2012-01-09 Thread Kim Phillips
On Wed, 4 Jan 2012 16:48:26 -0600 Scott Wood wrote: > Fix a copy-and-paste error when adapting mpc8315erdb mtdparts > to mpc8313erdb. mtdids was already using the proper address > on mpc8313erdb. > > Signed-off-by: Scott Wood > --- applied, thanks. Kim __

Re: [U-Boot] [PATCH 1/4] powerpc/83xx/km: update SDRAM parameters for km8321 boards

2012-01-09 Thread Kim Phillips
On Wed, 14 Dec 2011 16:21:42 +0100 Holger Brunck wrote: > From: Marco Schmid > > Measurements during HW basic test showed, that the SDRAM timing > has to be optimized. This patch adapted these timings accordingly. > > Signed-off-by: Marco Schmid > Signed-off-by: Holger Brunck > cc: Kim Phill

Re: [U-Boot] [PATCH] ns16550: tegra: Specify debugging serial port at boot.

2012-01-09 Thread Doug Anderson
On Fri, Jan 6, 2012 at 2:51 PM, Stephen Warren wrote: > From: Doug Anderson > > This works together with a kernel change that looks at the scratchpad > register to determine which of the many UARTs it should use for early > printing: > > http://www.spinics.net/lists/arm-kernel/msg154633.html > >

Re: [U-Boot] expection for help with ethernet driver for DP83849

2012-01-09 Thread Kim Phillips
On Thu, 5 Jan 2012 22:38:50 +0800 wrote: > Sorry to bother you. I find your email on the website > 'lists.denx.de'. I am anxious about the ethernet driver for > DP83849. I am looking for the ethernet driver for DP83849 on > MPC8387XERDB motherboard. Are you happy to help me with it ? C

Re: [U-Boot] [PATCH 0/7] tegra: Enhance funcmux to support I2C and MMC

2012-01-09 Thread Stephen Warren
On 01/09/2012 04:36 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Jan 9, 2012 at 3:11 PM, Stephen Warren wrote: >> On 01/09/2012 03:53 PM, Simon Glass wrote: >>> This series expands funcmux_select() to support configs other than 0, and >>> to support options associated with a config. >>> >>> T

Re: [U-Boot] [PATCH 06/14] tegra: Add EMC support for optimal memory timings

2012-01-09 Thread Stephen Warren
On 12/26/2011 12:32 PM, Simon Glass wrote: > From: Jimmy Zhang > > Add support for setting up the memory controller parameters. Boards > can call tegra_set_emc() with a table containing the required > parameters. ... > diff --git a/arch/arm/cpu/armv7/tegra2/emc.c b/arch/arm/cpu/armv7/tegra2/emc.c

Re: [U-Boot] [PATCH 0/7] tegra: Enhance funcmux to support I2C and MMC

2012-01-09 Thread Simon Glass
Hi Stephen, On Mon, Jan 9, 2012 at 3:11 PM, Stephen Warren wrote: > On 01/09/2012 03:53 PM, Simon Glass wrote: >> This series expands funcmux_select() to support configs other than 0, and >> to support options associated with a config. >> >> This permits introduction of I2C support using multiple

Re: [U-Boot] [PATCH] usb: add numeric keypad support to HID driver

2012-01-09 Thread Vincent Palatin
On Mon, Jan 9, 2012 at 15:13, Marek Vasut wrote: >> +     /* Numeric keypad */ >> +     if ((scancode >= 0x54) && (scancode <= 0x67)) >> +             keycode = usb_kbd_num_keypad[scancode - 0x54]; >> + >>       if (data->flags & USB_KBD_CTRL) >>               keycode = scancode - 0x3; > > This is

Re: [U-Boot] [PATCH 2/2] Changes to move hawkboard to the new infrastructure.

2012-01-09 Thread Tom Rini
On 01/09/2012 11:28 AM, Sughosh Ganu wrote: > This patch moves hawkboard to the new spl infrastructure from the > older nand_spl one. Making this change required some code refactoring > with a couple of davinci based platforms which use spl. > > Removed the hawkboard_nand_config build option -- Th

Re: [U-Boot] [PATCH 05/14] tegra: Add tegra_get_chip_type() to detect SKU

2012-01-09 Thread Stephen Warren
On 12/26/2011 12:32 PM, Simon Glass wrote: > We want to know which type of chip we are running on - the Tegra > family has several SKUs. This can be determined by reading a > fuse register, so add this function to ap20. ... > diff --git a/arch/arm/cpu/armv7/tegra2/ap20.c > b/arch/arm/cpu/armv7/teg

[U-Boot] [PATCH v3] tegra2: Enable data cache

2012-01-09 Thread Simon Glass
This enables the data cache on Tegra2 boards. As discussed on the list, this is better off in the Tegra2 cpu code than in a particular vendor directory. We should be safe turning on the cache for all Tegra2 boards. Signed-off-by: Simon Glass --- Changes in v2: - Enable caches for all Tegra2 boar

[U-Boot] [PATCH v2] tegra: mmc: Support operation with dcache enabled

2012-01-09 Thread Simon Glass
When the data cache is enabled we must flush on write and invalidate on read. We also check that buffers are aligned to data cache lines boundaries. With recent work in U-Boot this should generally be the case but the warnings will catch problems. Signed-off-by: Simon Glass --- Changes in v2: - A

Re: [U-Boot] [PATCH] usb: add numeric keypad support to HID driver

2012-01-09 Thread Marek Vasut
> When keys are pressed on the numeric keypad, emit key codes for the > numbers, operators, dot and enter. > > Signed-off-by: Vincent Palatin > --- > common/usb_kbd.c | 10 ++ > 1 files changed, 10 insertions(+), 0 deletions(-) > > diff --git a/common/usb_kbd.c b/common/usb_kbd.c > in

Re: [U-Boot] [PATCH 0/7] tegra: Enhance funcmux to support I2C and MMC

2012-01-09 Thread Stephen Warren
On 01/09/2012 03:53 PM, Simon Glass wrote: > This series expands funcmux_select() to support configs other than 0, and > to support options associated with a config. > > This permits introduction of I2C support using multiple config options. > > The options parameter is used by MMC to select stan

Re: [U-Boot] [PATCH] mx28: fix clearing of IRQs in power init

2012-01-09 Thread Marek Vasut
> There are 2 locations in the power init code for the mx28 where IRQs are > not being cleared because incorrect methods to clear those bits were being > used. This was causing my board to get stuck waiting for > POWER_CTRL_VDD5V_DROOP_IRQ to clear. Using the correct method to clear > the IRQs fi

[U-Boot] [PATCH 3/7] tegra: Enhance funcmux to support options

2012-01-09 Thread Simon Glass
Add support for an options parameter to funcmux_select() which allows different pinmux options to be selected. An example of where this might be used is a UART which supports 2-wire and 4-wire operation. The option parameter in this case would specify which is required. Invalid options cause failu

[U-Boot] [PATCH] usb: add numeric keypad support to HID driver

2012-01-09 Thread Vincent Palatin
When keys are pressed on the numeric keypad, emit key codes for the numbers, operators, dot and enter. Signed-off-by: Vincent Palatin --- common/usb_kbd.c | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/common/usb_kbd.c b/common/usb_kbd.c index aaf7d6f..2472d25

Re: [U-Boot] [PATCH 3/7] tegra: Add I2C support to funcmux

2012-01-09 Thread Simon Glass
Hi Stephe, On Mon, Jan 9, 2012 at 1:40 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Jan 9, 2012 at 1:36 PM, Stephen Warren wrote: >> On 12/26/2011 11:11 AM, Simon Glass wrote: >>> Add support to funcmux for selecting I2C functions and programming >>> the pinmux appropriately. >>> >>> Signed-

[U-Boot] [PATCH 7/7] tegra: Use funcmux for MMC on seaboard

2012-01-09 Thread Simon Glass
Use the new funcmux_select() feature to set up the MMC pin mux. Signed-off-by: Simon Glass --- board/nvidia/seaboard/seaboard.c | 21 - 1 files changed, 4 insertions(+), 17 deletions(-) diff --git a/board/nvidia/seaboard/seaboard.c b/board/nvidia/seaboard/seaboard.c index

[U-Boot] [PATCH 5/7] tegra: Use funcmux for MMC on tamonten

2012-01-09 Thread Simon Glass
Use the new funcmux_select() feature to set up the MMC pin mux. Signed-off-by: Simon Glass --- board/avionic-design/common/tamonten.c | 10 ++ 1 files changed, 2 insertions(+), 8 deletions(-) diff --git a/board/avionic-design/common/tamonten.c b/board/avionic-design/common/tamonten.c

[U-Boot] [PATCH 6/7] tegra: Use funcmux for MMC on harmony

2012-01-09 Thread Simon Glass
Use the new funcmux_select() feature to set up the MMC pin mux. Signed-off-by: Simon Glass --- board/nvidia/harmony/harmony.c | 19 --- 1 files changed, 4 insertions(+), 15 deletions(-) diff --git a/board/nvidia/harmony/harmony.c b/board/nvidia/harmony/harmony.c index d5e147d.

[U-Boot] [PATCH 4/7] tegra: Add SDMMC support to funcmux

2012-01-09 Thread Simon Glass
This adds support for SDMMC ports to the funcmux. Only one option is supported: FUNCMUXO_SDMMC_8BIT which selects an 8-bit wide SDIO interface where available. Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/tegra2/funcmux.c| 70 arch/arm/include/asm/arch

[U-Boot] [PATCH 1/7] tegra: Adjust funcmux config test to permit expansion

2012-01-09 Thread Simon Glass
We want to support config options other than zero, so move the test to the end to allow intermediate code to OK such a config. Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/tegra2/funcmux.c| 35 +-- arch/arm/include/asm/arch-tegra2/funcmux.h |3 ++ 2 fil

[U-Boot] [PATCH 2/7] tegra: Add I2C support to funcmux

2012-01-09 Thread Simon Glass
Add support to funcmux for selecting I2C functions and programming the pinmux appropriately. Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/tegra2/funcmux.c | 40 +++ 1 files changed, 40 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/tegra2/fu

[U-Boot] [PATCH 0/7] tegra: Enhance funcmux to support I2C and MMC

2012-01-09 Thread Simon Glass
This series expands funcmux_select() to support configs other than 0, and to support options associated with a config. This permits introduction of I2C support using multiple config options. The options parameter is used by MMC to select standard (4-bit) or 8-bit operation. Simon Glass (7): t

[U-Boot] [PATCH v2 6/9] sandbox: Add required header to os.c

2012-01-09 Thread Simon Glass
We should include sys/time.h header to avoid warnings. Signed-off-by: Simon Glass --- Changes in v2: - Rebase after changes to sandbox header sort patch arch/sandbox/cpu/os.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/cpu/os.c i

[U-Boot] [PATCH v2 5/9] sandbox: sort header files in os.c

2012-01-09 Thread Simon Glass
Tidy this up as the list is long and likely to get longer. Signed-off-by: Simon Glass --- Changes in v2: - Sort correctly: include/, sys/, linux/, asm/ arch/sandbox/cpu/os.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/arch/sandbox/cpu/os.c b/arch/sandbox/c

Re: [U-Boot] [PATCH 6/9] sandbox: Add required header to os.c

2012-01-09 Thread Simon Glass
Hi Mike, On Sun, Jan 8, 2012 at 12:49 AM, Mike Frysinger wrote: > On Thursday 05 January 2012 22:54:54 Simon Glass wrote: >> --- a/arch/sandbox/cpu/os.c >> +++ b/arch/sandbox/cpu/os.c >> >>  #include >>  #include >>  #include >> +#include >>  #include >> >>  #include > > guess this will nee

Re: [U-Boot] [PATCH 5/9] sandbox: sort header files in os.c

2012-01-09 Thread Simon Glass
Hi Mike, On Sun, Jan 8, 2012 at 12:49 AM, Mike Frysinger wrote: > On Thursday 05 January 2012 22:54:53 Simon Glass wrote: >> --- a/arch/sandbox/cpu/os.c >> +++ b/arch/sandbox/cpu/os.c >> >> +#include >>  #include >> +#include >>  #include >>  #include >> -#include >>  #include >> -#include

[U-Boot] [PATCH] mx28: fix clearing of IRQs in power init

2012-01-09 Thread Zach Sadecki
There are 2 locations in the power init code for the mx28 where IRQs are not being cleared because incorrect methods to clear those bits were being used. This was causing my board to get stuck waiting for POWER_CTRL_VDD5V_DROOP_IRQ to clear. Using the correct method to clear the IRQs fixes it.

Re: [U-Boot] [PATCH 4/7] tegra: Add I2C driver

2012-01-09 Thread Stephen Warren
On 12/26/2011 11:11 AM, Simon Glass wrote: > From: Yen Lin > > Add basic i2c driver for Tegra2 with 8- and 16-bit address support. > The driver supports building both with and without CONFIG_OF_CONTROL. > > Without CONFIG_OF_CONTROL a number of CONFIG options must be supplied > in the board conf

[U-Boot] [PATCH] mx28: fix clearing of IRQs in power init

2012-01-09 Thread Zach Sadecki
There are 2 locations in the power init code for the mx28 where IRQs are not being cleared because incorrect methods to clear those bits were being used. This was causing my board to get stuck waiting for POWER_CTRL_VDD5V_DROOP_IRQ to clear. Using the correct method to clear the IRQs fixes it.

Re: [U-Boot] [PATCH 7/7] tegra: Enable I2C on Seaboard

2012-01-09 Thread Stephen Warren
On 12/26/2011 11:11 AM, Simon Glass wrote: > This enables I2C on Seaboard. ... > diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h ... > +#define CONFIG_SYS_I2C_INIT_BOARD I don't think that option is correct for Seaboard; the description in the README indicates this causes a fu

Re: [U-Boot] [PATCH 6/7] tegra: Select I2C ordering for Seaboard

2012-01-09 Thread Stephen Warren
On 12/26/2011 11:11 AM, Simon Glass wrote: > Select the port ordering for I2C on Seaboard. > > Signed-off-by: Simon Glass Acked-by: Stephen Warren -- nvpublic ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/7] tegra: Add I2C support to funcmux

2012-01-09 Thread Simon Glass
Hi Stephen, On Mon, Jan 9, 2012 at 1:36 PM, Stephen Warren wrote: > On 12/26/2011 11:11 AM, Simon Glass wrote: >> Add support to funcmux for selecting I2C functions and programming >> the pinmux appropriately. >> >> Signed-off-by: Simon Glass > > Conceptually the changes here look fine. I think

Re: [U-Boot] [PATCH 3/7] tegra: Add I2C support to funcmux

2012-01-09 Thread Stephen Warren
On 12/26/2011 11:11 AM, Simon Glass wrote: > Add support to funcmux for selecting I2C functions and programming > the pinmux appropriately. > > Signed-off-by: Simon Glass Conceptually the changes here look fine. I think that adding the new I2C cases and the tests for valid config values to the e

Re: [U-Boot] [PATCH 1/7] tegra: Rename NV_PA_PMC_BASE to TEGRA2_PMC_BASE

2012-01-09 Thread Stephen Warren
On 12/26/2011 11:11 AM, Simon Glass wrote: > Change this name to fit with the current convention in the Tegra > header file. > > Signed-off-by: Simon Glass Acked-by: Stephen Warren -- nvpublic ___ U-Boot mailing list U-Boot@lists.denx.de http://list

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Scott Wood
On 01/09/2012 03:21 PM, Mike Frysinger wrote: > On Monday 09 January 2012 14:41:07 Scott Wood wrote: >> Unless/until the toolchain can properly GC anonymous strings, I think >> finer-grained conditional compilation is the way to go. > > i think we should use GC when it works (we've found 1 case so

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Tom Rini
On Mon, Jan 9, 2012 at 2:23 PM, Tom Rini wrote: > On Mon, Jan 9, 2012 at 2:21 PM, Mike Frysinger wrote: >> On Monday 09 January 2012 14:41:07 Scott Wood wrote: >>> Unless/until the toolchain can properly GC anonymous strings, I think >>> finer-grained conditional compilation is the way to go. >>

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Tom Rini
On Mon, Jan 9, 2012 at 2:21 PM, Mike Frysinger wrote: > On Monday 09 January 2012 14:41:07 Scott Wood wrote: >> Unless/until the toolchain can properly GC anonymous strings, I think >> finer-grained conditional compilation is the way to go. > > i think we should use GC when it works (we've found 1

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Mike Frysinger
On Monday 09 January 2012 14:41:07 Scott Wood wrote: > Unless/until the toolchain can properly GC anonymous strings, I think > finer-grained conditional compilation is the way to go. i think we should use GC when it works (we've found 1 case so far where it doesn't), and add fine grained compilat

Re: [U-Boot] [PATCH] eth: remove usb-ethernet devices before re-enumerating them

2012-01-09 Thread Vincent Palatin
On Mon, Jan 9, 2012 at 12:57, Marek Vasut wrote: >> Fix the crash when running several times usb_init() with a USB ethernet >> device plugged. >> >> Signed-off-by: Vincent Palatin >> Tested-by: Wolfgang Grandegger >> --- >>  drivers/usb/eth/usb_ether.c |    7 +-- >>  include/net.h          

Re: [U-Boot] [PATCH] eth: remove usb-ethernet devices before re-enumerating them

2012-01-09 Thread Marek Vasut
> Fix the crash when running several times usb_init() with a USB ethernet > device plugged. > > Signed-off-by: Vincent Palatin > Tested-by: Wolfgang Grandegger > --- > drivers/usb/eth/usb_ether.c |7 +-- > include/net.h |1 + > net/eth.c | 29 ++

Re: [U-Boot] [PATCH] USB: fix USB keyboard polling parameter

2012-01-09 Thread Marek Vasut
> On Mon, Jan 9, 2012 at 12:46, Marek Vasut wrote: > >> When doing a "GET_REPORT" request on the keyboard control endpoint, > >> the report ID should 0 (ie report ID not used) rather than 1 > >> as reports are not used in boot mode. > >> > >> Signed-off-by: Vincent Palatin > >> --- > >> common/

Re: [U-Boot] [PATCH] USB: fix USB keyboard polling parameter

2012-01-09 Thread Vincent Palatin
On Mon, Jan 9, 2012 at 12:46, Marek Vasut wrote: >> When doing a "GET_REPORT" request on the keyboard control endpoint, >> the report ID should 0 (ie report ID not used) rather than 1 >> as reports are not used in boot mode. >> >> Signed-off-by: Vincent Palatin >> --- >>  common/usb_kbd.c |    2

Re: [U-Boot] [PATCH] USB: fix USB keyboard polling parameter

2012-01-09 Thread Marek Vasut
> When doing a "GET_REPORT" request on the keyboard control endpoint, > the report ID should 0 (ie report ID not used) rather than 1 > as reports are not used in boot mode. > > Signed-off-by: Vincent Palatin > --- > common/usb_kbd.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) >

Re: [U-Boot] [PATCH 3/3] tegra2: Add support for Compal Paz00 (Toshiba AC100)

2012-01-09 Thread Simon Glass
Hi Stephen, On Mon, Jan 9, 2012 at 12:10 PM, Stephen Warren wrote: > On 01/09/2012 01:04 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Jan 9, 2012 at 12:00 PM, Stephen Warren wrote: >>> On 01/09/2012 12:55 PM, Simon Glass wrote: On Fri, Jan 6, 2012 at 2:14 PM, Stephen Warren wrote: >

Re: [U-Boot] [PATCH 3/3] tegra2: Add support for Compal Paz00 (Toshiba AC100)

2012-01-09 Thread Stephen Warren
On 01/09/2012 01:04 PM, Simon Glass wrote: > Hi Stephen, > > On Mon, Jan 9, 2012 at 12:00 PM, Stephen Warren wrote: >> On 01/09/2012 12:55 PM, Simon Glass wrote: >>> On Fri, Jan 6, 2012 at 2:14 PM, Stephen Warren wrote: The Toshiba AC100 (Compal code-name Paz00, aka Dynabook AZ) is a netboo

Re: [U-Boot] [PATCH 3/3] tegra2: Add support for Compal Paz00 (Toshiba AC100)

2012-01-09 Thread Simon Glass
HI Stephen, On Mon, Jan 9, 2012 at 12:04 PM, Stephen Warren wrote: > On 01/09/2012 12:55 PM, Simon Glass wrote: > ... >>> +       debug("board_mmc_init: init eMMC\n"); >>> +       /* init dev 0, eMMC chip, with 4-bit bus */ >>> +       /* The board has an 8-bit bus, but 8-bit doesn't work yet */

Re: [U-Boot] [PATCH 3/3] tegra2: Add support for Compal Paz00 (Toshiba AC100)

2012-01-09 Thread Stephen Warren
On 01/09/2012 12:55 PM, Simon Glass wrote: ... >> + debug("board_mmc_init: init eMMC\n"); >> + /* init dev 0, eMMC chip, with 4-bit bus */ >> + /* The board has an 8-bit bus, but 8-bit doesn't work yet */ >> + tegra2_mmc_init(0, 4, -1, -1); > > Yes - I will see if I can do

Re: [U-Boot] [PATCH 3/3] tegra2: Add support for Compal Paz00 (Toshiba AC100)

2012-01-09 Thread Simon Glass
Hi Stephen, On Mon, Jan 9, 2012 at 12:00 PM, Stephen Warren wrote: > On 01/09/2012 12:55 PM, Simon Glass wrote: >> On Fri, Jan 6, 2012 at 2:14 PM, Stephen Warren wrote: >>> The Toshiba AC100 (Compal code-name Paz00, aka Dynabook AZ) is a netbook >>> derived from the NVIDIA Tegra Harmony referenc

Re: [U-Boot] [PATCH 3/3] tegra2: Add support for Compal Paz00 (Toshiba AC100)

2012-01-09 Thread Stephen Warren
On 01/09/2012 12:55 PM, Simon Glass wrote: > On Fri, Jan 6, 2012 at 2:14 PM, Stephen Warren wrote: >> The Toshiba AC100 (Compal code-name Paz00, aka Dynabook AZ) is a netbook >> derived from the NVIDIA Tegra Harmony reference board. It ships with >> Android, but is often repurposed to run Linux. T

Re: [U-Boot] [PATCH 3/3] tegra2: Add support for Compal Paz00 (Toshiba AC100)

2012-01-09 Thread Simon Glass
Hi Stephen, On Fri, Jan 6, 2012 at 2:14 PM, Stephen Warren wrote: > The Toshiba AC100 (Compal code-name Paz00, aka Dynabook AZ) is a netbook > derived from the NVIDIA Tegra Harmony reference board. It ships with > Android, but is often repurposed to run Linux. This patch adds just enough > suppor

Re: [U-Boot] [PATCH] NAND: Allow nand_ids and nand_bbt to be compiled in SPL

2012-01-09 Thread Scott Wood
On 01/08/2012 03:56 AM, Mike Frysinger wrote: > On Wednesday 04 January 2012 18:56:23 Scott Wood wrote: >> On 12/05/2011 05:17 PM, Marek Vasut wrote: >>> This will be beneficial for the PXA3XX NAND driver, which uses the NAND >>> IDs to identify the chip and configure the controller accordingly. >>

Re: [U-Boot] [PATCH 2/3] tegra2: Fix default RAM size selection in odmdata

2012-01-09 Thread Simon Glass
On Fri, Jan 6, 2012 at 2:14 PM, Stephen Warren wrote: > A value of 0 in the odmdata RAM size field means default, which is 512MB > not 1GB. Fix this. For reference, see: > > http://nv-tegra.nvidia.com/gitweb/?p=linux-2.6.git;a=blob;\ > f=arch/arm/mach-tegra/odm_kit/query/harmony/tegra_devkit_custo

Re: [U-Boot] [PATCH 1/3] tegra2: Fix conflicting pinmux for UARTA

2012-01-09 Thread Simon Glass
On Fri, Jan 6, 2012 at 2:14 PM, Stephen Warren wrote: > Tegra appears to boot with function UARTA pre-selected on mux > group SDB. If two mux groups are both set to the same function, > it's unclear which group's pins drive the RX signals into the > HW module. For UARTA, SDB certainly overrides gr

Re: [U-Boot] [PATCH 1/2] Flush the date cache before disabling it.

2012-01-09 Thread Sughosh Ganu
On Mon Jan 09, 2012 at 01:41:58PM -0500, Mike Frysinger wrote: > On Monday 09 January 2012 13:25:50 Sughosh Ganu wrote: > > arch/arm/cpu/arm926ejs/start.S | 10 +++--- > > your patch summary should include a relevant prefix. something like "arm: " > or > "arm926: ". that way non-arm peop

Re: [U-Boot] [PATCH 1/2] Flush the date cache before disabling it.

2012-01-09 Thread Mike Frysinger
On Monday 09 January 2012 13:25:50 Sughosh Ganu wrote: > arch/arm/cpu/arm926ejs/start.S | 10 +++--- your patch summary should include a relevant prefix. something like "arm: " or "arm926: ". that way non-arm people can ignore this. -mike signature.asc Description: This is a digitally s

[U-Boot] [PATCH] eth: remove usb-ethernet devices before re-enumerating them

2012-01-09 Thread Vincent Palatin
Fix the crash when running several times usb_init() with a USB ethernet device plugged. Signed-off-by: Vincent Palatin Tested-by: Wolfgang Grandegger --- drivers/usb/eth/usb_ether.c |7 +-- include/net.h |1 + net/eth.c | 29

[U-Boot] [PATCH 2/2] Changes to move hawkboard to the new infrastructure.

2012-01-09 Thread Sughosh Ganu
This patch moves hawkboard to the new spl infrastructure from the older nand_spl one. Making this change required some code refactoring with a couple of davinci based platforms which use spl. Removed the hawkboard_nand_config build option -- The spl code now gets compiled with hawkboard_config, af

[U-Boot] [PATCH] USB: fix USB keyboard polling parameter

2012-01-09 Thread Vincent Palatin
When doing a "GET_REPORT" request on the keyboard control endpoint, the report ID should 0 (ie report ID not used) rather than 1 as reports are not used in boot mode. Signed-off-by: Vincent Palatin --- common/usb_kbd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/com

[U-Boot] [PATCH 1/2] Flush the date cache before disabling it.

2012-01-09 Thread Sughosh Ganu
The current implementation invalidates the cache instead of flushing it. This causes problems on platforms where the spl/u-boot is already loaded to the RAM, with caches enabled by a first stage bootloader. The V bit of the cp15's control register c1 is set to the value of VINITHI on reset. Do not

Re: [U-Boot] [RFC PATCH 01/19] Introduce generic global_data

2012-01-09 Thread Simon Glass
Hi Andreas, On Mon, Jan 9, 2012 at 3:21 AM, Andreas Bießmann wrote: > Hi Simon and Graeme, > > On 08.01.2012 19:13, Simon Glass wrote: >> Hi Graeme, >> >> On Sun, Jan 8, 2012 at 2:48 AM, Graeme Russ wrote: >>> Hi Simon, >>> >>> On 08/01/12 09:33, Simon Glass wrote: Hi Andreas, On

Re: [U-Boot] net: re-enumerating usb-ethernet devices hangs the system

2012-01-09 Thread Vincent Palatin
Hi, On Mon, Jan 9, 2012 at 04:02, Wolfgang Grandegger wrote: > as you already know, the re-enumerating of usb ethernet devices (calling > "usb start" twice) hangs the system because eth_register() is called > more than once. If have found a related patch from you with the subject > "eth: remove u

Re: [U-Boot] [PATCH v2 0/4] Add SMDK5250 board support

2012-01-09 Thread Simon Glass
Hi Chander, On Sun, Jan 8, 2012 at 10:40 PM, Chander Kashyap wrote: > This patchset add support for Samsung's SMDK5250 board based on > EXYNOS5250 based SoC. It also adds support for MMC SPL booting. > > The porting is done by Samsung engineers at HQ in System LSI Team. > I am contributing in ups

[U-Boot] [PATCH V4 0/2] *** Add ext4 filesystem support in uboot ***

2012-01-09 Thread uma . shankar
From: uma.shankar *** This patch series adds support for ext4 ls,load and write features in uboot Journaling is supported for write feature. To Enable ext4 ls and load commands, modify the board specific config file with #define CONFIG_CMD_EXT4 To enable ext4 write command, modify the board spe

[U-Boot] Add ext4 write support

2012-01-09 Thread uma . shankar
Hi All, We have resolved the coding style issues and updated the copyrights correctly in the respective header files. Ext4fs code has been made independant of ext2 code. A separate config CONFIG_CMD_EXT4 is provided for ext4ls and load, also CONFIG_CMD_EXT4_WRITE for ext4 write feature. We are

Re: [U-Boot] [PATCH v2] Blackfin: pr1: new board port

2012-01-09 Thread Dimitar Penev
Hi Mike, The patch is working on the PR1 Appliance hardware. Best Regards Dimitar Penev - Original Message - From: "Mike Frysinger" To: Cc: "Dimitar Penev" Sent: Sunday, January 08, 2012 11:24 AM Subject: [PATCH v2] Blackfin: pr1: new board port From: Dimitar Penev This add su

Re: [U-Boot] [PATCH v2] Blackfin: br4: new board port

2012-01-09 Thread Dimitar Penev
Hi Mike, The patch is working on BR4 Appliance hardware. Best Regards Dimitar Penev - Original Message - From: "Mike Frysinger" To: Cc: "Dimitar Penev" Sent: Sunday, January 08, 2012 11:25 AM Subject: [PATCH v2] Blackfin: br4: new board port From: Dimitar Penev This adds suppo

Re: [U-Boot] [RFC PATCH v2 13/15] bootstage: Add microsecond boot time measurement

2012-01-09 Thread Mike Frysinger
On Sunday 08 January 2012 12:42:02 Simon Glass wrote: > On Sun, Jan 8, 2012 at 12:35 AM, Mike Frysinger wrote: > > On Saturday 10 December 2011 16:08:05 Simon Glass wrote: > >> --- a/include/bootstage.h > >> +++ b/include/bootstage.h > >> > >> +static inline ulong bootstage_mark(enum bootstage_id

Re: [U-Boot] [RFC PATCH v2 15/15] bootstage: arm: Add bootstage calls in board and bootm

2012-01-09 Thread Mike Frysinger
On Sunday 08 January 2012 18:48:18 Simon Glass wrote: > On Sun, Jan 8, 2012 at 11:58 AM, Mike Frysinger wrote: > > On Sunday 08 January 2012 12:43:09 Simon Glass wrote: > >> On Sun, Jan 8, 2012 at 12:36 AM, Mike Frysinger wrote: > >> > On Saturday 10 December 2011 16:08:07 Simon Glass wrote: > >> >

Re: [U-Boot] [PATCH 2/4] dfu: generic backend parts

2012-01-09 Thread Mike Frysinger
On Monday 09 January 2012 02:50:00 Andrzej Pietrasiewicz wrote: > However, Wolfgang Denk was not convinced about introducing dfu > support to u-boot the way it was proposed. Are there any new > circumstances? i just had the thread marked unread, so i read it & reviewed for some high level details

Re: [U-Boot] [RFC PATCH v2 27/28] tegra: Mark board init files for ARMv4t

2012-01-09 Thread Stephen Warren
On 01/06/2012 05:25 PM, Simon Glass wrote: > Since Tegra executes early code on an ARMv4T (but the rest on ARMv7) > we must mark the new board init files for compilation with ARMv4t > architecture. > > Signed-off-by: Simon Glass This and patch 28 seem fine to me (but I didn't look at patches 1..

Re: [U-Boot] OMAP3 performance regression in 2011.12

2012-01-09 Thread Joe Woodward
> -Original Message- > From: Tom Rini > To: Joe Woodward > Cc: u-boot@lists.denx.de > Date: Mon, 9 Jan 2012 08:11:07 -0700 > Subject: Re: [U-Boot] OMAP3 performance regression in 2011.12 > > > On Mon, Jan 9, 2012 at 3:27 AM, Joe Woodward > wrote: > > > Commit "armv7: disable L2 cache in

Re: [U-Boot] OMAP3 performance regression in 2011.12

2012-01-09 Thread Joe Woodward
I'm fairly certain... If I take the 2011.12 uBoot release the kernel takes about twice the time to boot (compared to 2011.09), and the device is noticably slower. Then if I comment out the v7_out_cache_disable() line in cpu.c and rebuild uBoot then everything speeds up again. I thought the ker

Re: [U-Boot] OMAP3 performance regression in 2011.12

2012-01-09 Thread Tom Rini
On Mon, Jan 9, 2012 at 3:27 AM, Joe Woodward wrote: > Commit "armv7: disable L2 cache in cleanup_before_linux()" on 6th Dec 2011 by > Aneesh V adds the following: > > arch/arm/cpu/armv7/cpu.c:cleanup_before_linux() > > ... > v7_out_cache_disable(); > ... > > The commit message implies this change

[U-Boot] [PATCH 4/4] zipitz2: fix boot issue introduced by PXA low level init rework

2012-01-09 Thread Vasily Khoruzhick
CONFIG_SYS_INIT_SP_ADDR points to RAM, but it's used before DRAM controller init. Fix it by setting CONFIG_SYS_INIT_SP_ADDR to SRAM Signed-off-by: Vasily Khoruzhick --- include/configs/zipitz2.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/zipitz2.h b

[U-Boot] [PATCH 1/4] PXA: PXA27x Matrix keypad driver

2012-01-09 Thread Vasily Khoruzhick
From: Marek Vasut Signed-off-by: Marek Vasut Signed-off-by: Vasily Khoruzhick [vasily: adapted Marek's old version for newer u-boot] --- arch/arm/include/asm/arch-pxa/pxa-regs.h |6 +- drivers/input/Makefile |2 + drivers/input/pxa27x-mkp.c | 229 ++

[U-Boot] [PATCH 2/4] zipitz2: enable pxa27x_mkp driver

2012-01-09 Thread Vasily Khoruzhick
Signed-off-by: Vasily Khoruzhick --- include/configs/zipitz2.h | 83 ++--- 1 files changed, 78 insertions(+), 5 deletions(-) diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h index 26204af..5560bef 100644 --- a/include/configs/zipitz2.h

[U-Boot] [PATCH 3/4] zipitz2: use pxa_mmc_gen as MMC driver

2012-01-09 Thread Vasily Khoruzhick
Signed-off-by: Vasily Khoruzhick --- board/zipitz2/zipitz2.c |8 include/configs/zipitz2.h |5 +++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/board/zipitz2/zipitz2.c b/board/zipitz2/zipitz2.c index b093c2f..4075fb6 100644 --- a/board/zipitz2/zipitz2.c +++

  1   2   >