Re: [U-Boot] [PATCH v3 3/4] kirkwood: implement kw_sdram_size_adjust

2012-09-06 Thread Holger Brunck
On 09/07/2012 01:20 AM, Prafulla Wadaskar wrote: > > >> -Original Message- >> From: Prafulla Wadaskar >> Sent: 20 July 2012 12:10 >> To: 'Holger Brunck'; u-boot@lists.denx.de >> Cc: Gerlando Falauto; Valentin Longchamp; Marek Vasut >> Subject: RE: [PATCH v3 3/4] kirkwood: implement kw_sdr

Re: [U-Boot] gpt: GUID/UUID - GPT restoration - open questions

2012-09-06 Thread Lukasz Majewski
Hi Stephen, > On 09/06/2012 08:14 AM, Lukasz Majewski wrote: > > Hi Rob, > > > >> The question I'm asking is why we need partition creation support > >> in u-boot in the first place? > > > > Please consider following scenarios: > > > > 1. eMMC content is exported to the user (via UMS USB Mass

Re: [U-Boot] MIPS: 1Mb U-Boot?

2012-09-06 Thread Stefan Roese
Hi David, On 09/07/2012 12:31 AM, Downey, David (c) wrote: > I'm David Downey, a software engineer at MIPS Technologies. > > Currently, our Malta and SEAD-3 dev boards use YAMON, MIPS' in-house > open source PROM monitor, as a boot loader. We are looking to migrate > YAMON's functionality to U-B

Re: [U-Boot] [PATCH] Tegra: Change Tegra20 to Tegra in common code, prep for T30

2012-09-06 Thread Stephen Warren
On 09/06/2012 03:27 PM, Tom Warren wrote: > Convert TEGRA20_ defines to either TEGRA_ or NV_PA_ where appropriate. > Convert tegra20_ source file and function names to tegra_, also. > > Upcoming Tegra30 port will use common code/defines/names where possible. > > Signed-off-by: Tom Warren I thin

[U-Boot] [PATCH v4] PXE: FDT: Add support for fdt in PXE

2012-09-06 Thread Chander Kashyap
Now DT support is becoming common for all new SoC's. Hence it is better to have option for getting specific FDT from the remote server. This patch adds support for new label i.e. 'fdt'. This will allow to retrieve 'fdt blob' from the remote server. This patch take care for the following scenarios.

Re: [U-Boot] [PATCH 1/6] davinci: ea20: reorganisation LCD startup

2012-09-06 Thread Bastian . Ruppert
Hello Tom, > Re: [U-Boot] [PATCH 1/6] davinci: ea20: reorganisation LCD startup > > On Wed, Aug 15, 2012 at 09:55:40AM -0700, Tom Rini wrote: > > On Fri, Aug 10, 2012 at 09:26:41AM +0200, Bastian Ruppert wrote: > > > > > Signed-off-by: Bastian Ruppert > > > CC: Tom Rini > > > CC: Stefano Babic

Re: [U-Boot] [PATCH v3] PXE: FDT: Add support for fdt in PXE

2012-09-06 Thread Chander Kashyap
Hi Jason On 6 September 2012 21:07, Jason Hobbs wrote: > Chander, > > Comments inline. > > On Thu, Sep 06, 2012 at 01:40:04AM -0400, Chander Kashyap wrote: >> Now DT support is becomming common for all new SoC's. Hence it is better to >> have option for getting specific FDT from the remote server

[U-Boot] [PATCH] mpc85xx: make gpio_direction_output respect value

2012-09-06 Thread Chris Packham
From: Chris Packham Users of familiar with the Linux gpiolib API expect that value parameter to gpio_direction_output reflects the initial state of the output pin. gpio_direction_output was always driving the output low, now it drives it high or low according to the value provided. Signed-off-by

Re: [U-Boot] [PATCH] mmc: Remove incorrect cmd->flags usage

2012-09-06 Thread Marek Vasut
Dear Marek Vasut, > Dear Andy Fleming, > > > There were a couple of drivers that were actually using the flags > > field of the cmd structure, despite the fact that no one ever > > *set* that field. When we removed the field, those drivers failed > > to compile. Replaced the references with the c

Re: [U-Boot] [PATCH v2 4/5] usb: ulpi: add indicator configuration function

2012-09-06 Thread Marek Vasut
Dear Lucas Stach, > Hi Tom, > > Am Mittwoch, den 05.09.2012, 09:25 -0700 schrieb Tom Warren: > > Igor/Marek, > > > > > -Original Message- > > > From: Marek Vasut [mailto:ma...@denx.de] > > > Sent: Wednesday, September 05, 2012 1:52 AM > > > To: Igor Grinberg > > > Cc: Lucas Stach; u-boot

Re: [U-Boot] [PATCH v4 1/2] Loop block device for sandbox

2012-09-06 Thread Marek Vasut
Dear Pavel Herrmann, > This driver uses files as block devices, can be used for testing disk > operations on sandbox. > A new command "sata_loop" is introduced to load files in runtime. WARNING: externs should be avoided in .c files #141: FILE: drivers/block/sata_loopback.c:39: +extern block_dev_

Re: [U-Boot] [PATCH] mmc: Remove incorrect cmd->flags usage

2012-09-06 Thread Marek Vasut
Dear Andy Fleming, > There were a couple of drivers that were actually using the flags > field of the cmd structure, despite the fact that no one ever > *set* that field. When we removed the field, those drivers failed > to compile. Replaced the references with the correct usage of > resp_type. I

[U-Boot] MIPS: 1Mb U-Boot?

2012-09-06 Thread Downey, David (c)
Hello U-Boot community, I'm David Downey, a software engineer at MIPS Technologies. Currently, our Malta and SEAD-3 dev boards use YAMON, MIPS' in-house open source PROM monitor, as a boot loader. We are looking to migrate YAMON's functionality to U-Boot. YAMON contains many features beyond t

Re: [U-Boot] [PATCH v3 3/4] kirkwood: implement kw_sdram_size_adjust

2012-09-06 Thread Prafulla Wadaskar
> -Original Message- > From: Prafulla Wadaskar > Sent: 20 July 2012 12:10 > To: 'Holger Brunck'; u-boot@lists.denx.de > Cc: Gerlando Falauto; Valentin Longchamp; Marek Vasut > Subject: RE: [PATCH v3 3/4] kirkwood: implement kw_sdram_size_adjust > > > > > -Original Message- > >

Re: [U-Boot] [PATCH v4 2/3] ARM: add support for Network Space v2 Lite and Mini

2012-09-06 Thread Prafulla Wadaskar
> -Original Message- > From: Simon Guinot [mailto:simon.gui...@sequanux.org] > Sent: 06 September 2012 13:52 > To: Prafulla Wadaskar; Albert ARIBAUD > Cc: u-boot@lists.denx.de; Simon Guinot > Subject: [PATCH v4 2/3] ARM: add support for Network Space v2 Lite and > Mini > > This patch add

Re: [U-Boot] [NEXT PATCH v1 2/7] NAND: added NAND type to nand_ids

2012-09-06 Thread Scott Wood
On 09/06/2012 03:04 AM, Stefano Babic wrote: > Signed-off-by: Stefano Babic > --- > drivers/mtd/nand/nand_ids.c |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c > index 3953549..fe75686 100644 > --- a/drivers/mtd/nand/nand_id

Re: [U-Boot] [PATCH 01/10] dm: arm: Remove support for lpc2292

2012-09-06 Thread Marek Vasut
Dear Tom Rini, > On 09/05/2012 07:44 PM, Marek Vasut wrote: > > Dear Tom Rini, > > > >> On Sun, Sep 02, 2012 at 06:15:02PM +0200, Marek Vasut wrote: > >>> Dear Wolfgang Denk, > >>> > Dear Albert, > > In message <1342882947-9174-1-git-send-email-ma...@denx.de> Marek > Vasut >

Re: [U-Boot] cuImage doesn't boot with u-boot 2009.11 version

2012-09-06 Thread Scott Wood
On 09/03/2012 01:08 PM, narayanasami vijayaraghavan wrote: > Hello uboot experts, > ( I am new to board level debugging. So, please excuse if I am asking any > basic question). > > Is cuImage format supported with u-boot-2009.11 version? > > I am running linux 2.6.32 with powerpc P1020 (freescale

Re: [U-Boot] [PATCH] kirkwood: fix mpp.h coding style

2012-09-06 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot- > boun...@lists.denx.de] On Behalf Of Luka Perkov > Sent: 05 September 2012 11:08 > To: u-boot@lists.denx.de > Subject: [U-Boot] [PATCH] kirkwood: fix mpp.h coding style > > > Signed-off-by: Luka Perkov > --- >

Re: [U-Boot] [PATCH v4 0/3] Board support and feature for LaCie devices

2012-09-06 Thread Prafulla Wadaskar
> -Original Message- > From: Simon Guinot [mailto:simon.gui...@sequanux.org] > Sent: 06 September 2012 13:52 > To: Prafulla Wadaskar; Albert ARIBAUD > Cc: u-boot@lists.denx.de; Simon Guinot > Subject: [PATCH v4 0/3] Board support and feature for LaCie devices > > Changes for v4: > - Dro

Re: [U-Boot] [PATCH V2 4/4] cmd_part: add partition-related command

2012-09-06 Thread Tom Rini
On 09/06/2012 11:46 AM, Stephen Warren wrote: > On 09/06/2012 11:12 AM, Tom Rini wrote: >> On Wed, Sep 05, 2012 at 08:38:26PM -0600, Stephen Warren wrote: >>> On 09/05/2012 05:51 PM, Rob Herring wrote: On 09/05/2012 05:03 PM, Stephen Warren wrote: > From: Stephen Warren > > This i

Re: [U-Boot] Specifying flash page sizes

2012-09-06 Thread Scott Wood
On 08/29/2012 03:48 AM, Ellis Andrew wrote: > Hi > > > I have been using uboot to with a number of devices Using U-Boot to do what with a number of devices? > which have a 256 > byte page. Currently I'm using a device with a 512 byte page. I have > had problems getting Linux to run on my system

Re: [U-Boot] [NEXT PATCH v1 5/7] SPL: Added MLO for mx35 SOC to SPL Makefile

2012-09-06 Thread stefano babic
Am 06/09/2012 22:48, schrieb Tom Rini: > On 09/06/2012 12:59 PM, Stefano Babic wrote: >> On 06/09/2012 19:49, Tom Rini wrote: >>> On 09/06/2012 01:04 AM, Stefano Babic wrote: Signed-off-by: Stefano Babic --- spl/Makefile |6 ++ 1 file changed, 6 insertions(+)

[U-Boot] [PATCH] Tegra: Change Tegra20 to Tegra in common code, prep for T30

2012-09-06 Thread Tom Warren
Convert TEGRA20_ defines to either TEGRA_ or NV_PA_ where appropriate. Convert tegra20_ source file and function names to tegra_, also. Upcoming Tegra30 port will use common code/defines/names where possible. Signed-off-by: Tom Warren --- arch/arm/cpu/arm720t/tegra20/cpu.c |

Re: [U-Boot] How to manage RMOBILE patches?

2012-09-06 Thread Tom Rini
On 09/06/2012 12:28 PM, Albert ARIBAUD wrote: > Hi Nobuhiro, > > On Thu, 6 Sep 2012 08:20:59 +0900, Nobuhiro Iwamatsu > wrote: > >> Hi, Tom. >> >> On Wed, Sep 5, 2012 at 11:17 PM, Tom Rini wrote: >>> On 09/05/2012 04:18 AM, Albert ARIBAUD wrote: Hi Nobuhiro, On Wed, 5 Sep 2012 11

[U-Boot] Please pull u-boot-mmc.git

2012-09-06 Thread Andy Fleming
Merge branch 'master' of git://git.denx.de/u-boot-avr32 (2012-09-04 09:17:27 +0200) are available in the git repository at: git://www.denx.de/git/u-boot-mmc.git master for you to fetch changes up to 95b01c47ed97a7ca8b59308e35fb8c21e8d996a5: mmc: Remove incorrect cmd->flags usage (2012-0

[U-Boot] [PATCH] mmc: Remove incorrect cmd->flags usage

2012-09-06 Thread Andy Fleming
There were a couple of drivers that were actually using the flags field of the cmd structure, despite the fact that no one ever *set* that field. When we removed the field, those drivers failed to compile. Replaced the references with the correct usage of resp_type. Signed-off-by: Andy Fleming --

[U-Boot] [PATCH v4 3/3] ARM: add support for d2 Network v2

2012-09-06 Thread Simon Guinot
This patch adds support for the LaCie board d2 Network v2 which share a lot of hardware caracteristics with the 2Big Network v2. - CPU: Marvell 88F6281 1200Mhz - SDRAM memory: 256MB DDR2 400Mhz - 2 SATA ports: internal and eSATA - Gigabit ethernet: PHY Marvell 88E1116R - Flash memory: SPI NOR 512K

[U-Boot] [PATCH v4 2/3] ARM: add support for Network Space v2 Lite and Mini

2012-09-06 Thread Simon Guinot
This patch adds support for the LaCie boards Network Space v2 (Lite and Mini). This two boards are derived from the Network Space v2 and a lot of hardware caracteristics are shared. - CPU: Marvell 88F6192 800Mhz - SDRAM memory: 128MB DDR2 200Mhz - 1 SATA port: internal - Gigabit ethernet: PHY Marv

[U-Boot] [PATCH v4 1/3] lacie_kw: add support for EFI partitions

2012-09-06 Thread Simon Guinot
Defines CONFIG_EFI_PARTITION for LaCie boards. Additionally this patch defines CONFIG_DOS_PARTITION. Note that this definition is implicit in mv_common.h when CONFIG_CMD_USB is enabled. Signed-off-by: Simon Guinot --- No changes for v2, v3 and v4. include/configs/lacie_kw.h |6 ++ 1 fi

[U-Boot] [PATCH v4 0/3] Board support and feature for LaCie devices

2012-09-06 Thread Simon Guinot
Changes for v4: - Drop patch "ARM: add netspace_mini_v2 to mach-types.h". - Include missing MACH_TYPE_ in configs/lacie_kw.h. Changes for v3: - Rebased against u-boot-mv/master and u-boot-arm/master. Changes for v2: - Move board support and feature into a separate patch set. - Move mach-type

Re: [U-Boot] [PATCH 5/5] fix for MMC write issue

2012-09-06 Thread Andy Fleming
Please copy me on MMC patches. On Mon, Aug 13, 2012 at 3:13 AM, Srikanth Reddy Vintha wrote: > From: Shrinivas Sahukar > > Signed-off-by: Shrinivas Sahukar > --- > drivers/mmc/qc_mmc.c | 71 +++-- This driver isn't in the tree, so NAK Andy __

Re: [U-Boot] [NEXT PATCH v1 5/7] SPL: Added MLO for mx35 SOC to SPL Makefile

2012-09-06 Thread Tom Rini
On 09/06/2012 12:59 PM, Stefano Babic wrote: > On 06/09/2012 19:49, Tom Rini wrote: >> On 09/06/2012 01:04 AM, Stefano Babic wrote: >>> Signed-off-by: Stefano Babic >>> --- >>> spl/Makefile |6 ++ >>> 1 file changed, 6 insertions(+) >>> >>> diff --git a/spl/Makefile b/spl/Makefile >>> ind

Re: [U-Boot] msm7630 mainline request

2012-09-06 Thread Andy Fleming
On Mon, May 28, 2012 at 6:28 AM, Srikanth Reddy wrote: > > Hi, > > The patch for msm7630 was released to the u-boot community on 16-Feb-2-2012 > can this be mainlined in v2012.07 release.The Patches contain the following > support > * low speed uart for msm7630 > * inter processo

Re: [U-Boot] [NEXT PATCH v1 5/7] SPL: Added MLO for mx35 SOC to SPL Makefile

2012-09-06 Thread Stefano Babic
On 06/09/2012 19:49, Tom Rini wrote: > On 09/06/2012 01:04 AM, Stefano Babic wrote: >> Signed-off-by: Stefano Babic >> --- >> spl/Makefile |6 ++ >> 1 file changed, 6 insertions(+) >> >> diff --git a/spl/Makefile b/spl/Makefile >> index f96c08e..77fc405 100644 >> --- a/spl/Makefile >> +++

Re: [U-Boot] How to manage RMOBILE patches?

2012-09-06 Thread Albert ARIBAUD
Hi Nobuhiro, On Thu, 6 Sep 2012 08:20:59 +0900, Nobuhiro Iwamatsu wrote: > Hi, Tom. > > On Wed, Sep 5, 2012 at 11:17 PM, Tom Rini wrote: > > On 09/05/2012 04:18 AM, Albert ARIBAUD wrote: > >> Hi Nobuhiro, > >> > >> On Wed, 5 Sep 2012 11:26:37 +0900, Nobuhiro Iwamatsu > >> wrote: > >> > >>> Hi

Re: [U-Boot] gpt: GUID/UUID - GPT restoration - open questions

2012-09-06 Thread Stephen Warren
On 09/06/2012 08:14 AM, Lukasz Majewski wrote: > Hi Rob, > >> The question I'm asking is why we need partition creation support in >> u-boot in the first place? > > Please consider following scenarios: > > 1. eMMC content is exported to the user (via UMS USB Mass Storage). Then > user by chance

Re: [U-Boot] [PATCH 4/6] gpt: Support for GPT (GUID Partition Table) restoration

2012-09-06 Thread Stephen Warren
On 09/06/2012 05:19 AM, Lukasz Majewski wrote: > Hi Stephen, > >> On 08/24/2012 02:13 AM, Lukasz Majewski wrote: >>> The restoration of GPT table (both primary and secondary) is now >>> possible. Simple GUID generation is supported. >> >>> diff --git a/include/part.h b/include/part.h >> >>> +int s

Re: [U-Boot] [PATCH v3 4/6] video: cfb_console: add function to plot the logo area black

2012-09-06 Thread Anatolij Gustschin
Hi, On Thu, 6 Sep 2012 08:07:37 +0200 Bastian Ruppert wrote: > Signed-off-by: Bastian Ruppert > CC: Anatolij Gustschin > CC: Tom Rini > CC: Stefano Babic > --- > drivers/video/cfb_console.c | 46 +++--- > 1 files changed, 42 insertions(+), 4 deletions(-

Re: [U-Boot] [PATCH v3 3/6] video: cfb_console: logo can be positioned via the splashpos variable

2012-09-06 Thread Anatolij Gustschin
Hi, On Thu, 6 Sep 2012 08:07:36 +0200 Bastian Ruppert wrote: > Extend the driver for placing the video/bmp logo as specified > by "splashpos" environment variable. > > Signed-off-by: Bastian Ruppert > Signed-off-by: Anatolij Gustschin > CC: Tom Rini > CC: Stefano Babic > --- > v3: > - logo

Re: [U-Boot] [PATCH 2/6] gpt: Replace the leXX_to_int() calls with ones defined at

2012-09-06 Thread Stephen Warren
On 09/06/2012 04:20 AM, Lukasz Majewski wrote: > Hi Stephen, > >> On 08/24/2012 02:13 AM, Lukasz Majewski wrote: >>> Custom definitions of le_XX_to_int functions have been replaced with >>> standard ones, defined at >>> >>> Signed-off-by: Chang Hyun Park >>> Signed-off-by: Lukasz Majewski >>> S

Re: [U-Boot] [PATCH V2 4/4] cmd_part: add partition-related command

2012-09-06 Thread Stephen Warren
On 09/06/2012 11:12 AM, Tom Rini wrote: > On Wed, Sep 05, 2012 at 08:38:26PM -0600, Stephen Warren wrote: >> On 09/05/2012 05:51 PM, Rob Herring wrote: >>> On 09/05/2012 05:03 PM, Stephen Warren wrote: From: Stephen Warren This implements the following: part uuid mmc 0:1 >

Re: [U-Boot] [PATCH v3 0/4] Board support and feature for LaCie devices

2012-09-06 Thread Prafulla Wadaskar
> -Original Message- > From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] > Sent: 06 September 2012 08:07 > To: U-Boot > Cc: Simon Guinot; Prafulla Wadaskar > Subject: Re: [PATCH v3 0/4] Board support and feature for LaCie > devices > > Hi Simon, > > On Thu, 6 Sep 2012 13:27:19 +02

Re: [U-Boot] [NEXT PATCH v1 5/7] SPL: Added MLO for mx35 SOC to SPL Makefile

2012-09-06 Thread Tom Rini
On 09/06/2012 01:04 AM, Stefano Babic wrote: > Signed-off-by: Stefano Babic > --- > spl/Makefile |6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/spl/Makefile b/spl/Makefile > index f96c08e..77fc405 100644 > --- a/spl/Makefile > +++ b/spl/Makefile > @@ -109,6 +109,12 @@ $(OBJTRE

Re: [U-Boot] [PATCH 2/2] patman: Do not sort changlog items order

2012-09-06 Thread Otavio Salvador
On Sun, Sep 2, 2012 at 5:23 PM, Wolfgang Denk wrote: > Dear Fabio, > > In message > you > wrote: >> >> > I cannot really parse this, not even if I assume we should s/of/if/ >> > here. What exactly do you mean? >> >> Looks like Otavio meant to do the same as this patch from Ilya Yanok, >> which

Re: [U-Boot] [PATCH V2 4/4] cmd_part: add partition-related command

2012-09-06 Thread Tom Rini
On Wed, Sep 05, 2012 at 08:38:26PM -0600, Stephen Warren wrote: > On 09/05/2012 05:51 PM, Rob Herring wrote: > > On 09/05/2012 05:03 PM, Stephen Warren wrote: > >> From: Stephen Warren > >> > >> This implements the following: > >> > >> part uuid mmc 0:1 > >> -> print partition UUID > >> part uui

Re: [U-Boot] [PATCH 4/5] powerpc/85xx: Add P5040 processor support

2012-09-06 Thread Scott Wood
On 08/31/2012 03:25 PM, Timur Tabi wrote: > + SET_PCI_LIODN_BASE(CONFIG_SYS_FSL_PCIE_COMPAT, 1, 193), > + SET_PCI_LIODN_BASE(CONFIG_SYS_FSL_PCIE_COMPAT, 2, 194), > + SET_PCI_LIODN_BASE(CONFIG_SYS_FSL_PCIE_COMPAT, 3, 195), You're only allowing for one LIODN per PCIe controller, which de

Re: [U-Boot] [PATCH 01/10] dm: arm: Remove support for lpc2292

2012-09-06 Thread Tom Rini
On 09/05/2012 07:44 PM, Marek Vasut wrote: > Dear Tom Rini, > >> On Sun, Sep 02, 2012 at 06:15:02PM +0200, Marek Vasut wrote: >>> Dear Wolfgang Denk, >>> Dear Albert, In message <1342882947-9174-1-git-send-email-ma...@denx.de> Marek Vasut > wrote: > This stuff has been rotting

Re: [U-Boot] [PATCH v3] PXE: FDT: Add support for fdt in PXE

2012-09-06 Thread Jason Hobbs
Chander, Comments inline. On Thu, Sep 06, 2012 at 01:40:04AM -0400, Chander Kashyap wrote: > Now DT support is becomming common for all new SoC's. Hence it is better to > have option for getting specific FDT from the remote server. > > This patch adds support for new lable i.e. fdt. If fdt_addr

Re: [U-Boot] [v3] arm: Fixed the offset for the no relocation.

2012-09-06 Thread Zhong Hongbo
On 06/09/12 03:22, Stefano Babic wrote: > On 05/09/2012 16:45, Zhong Hongbo wrote: >> On 04/09/12 23:57, Stefano Babic wrote: >>> On 04/09/2012 16:03, Zhong Hongbo wrote: On 03/09/12 08:14, Marek Vasut wrote: > Dear Zhong Hongbo, > >> From: Zhong Hongbo >> >> When the u-bo

Re: [U-Boot] [PATCH v3 0/4] Board support and feature for LaCie devices

2012-09-06 Thread Albert ARIBAUD
Hi Simon, On Thu, 6 Sep 2012 13:27:19 +0200, Simon Guinot wrote: > On Thu, Sep 06, 2012 at 11:25:23AM +0200, Simon Guinot wrote: > > Changes for v3: > > - Rebased against u-boot-mv/master and u-boot-arm/master. > > > > Changes for v2: > > - Move board support and feature into a separate patch

Re: [U-Boot] gpt: GUID/UUID - GPT restoration - open questions

2012-09-06 Thread Lukasz Majewski
Hi Rob, > The question I'm asking is why we need partition creation support in > u-boot in the first place? Please consider following scenarios: 1. eMMC content is exported to the user (via UMS USB Mass Storage). Then user by chance or on purpose will corrupt MBR/GPT. 2. misuse of "mmc" comman

Re: [U-Boot] [PATCH 5/6] gpt: Support for new "gpt" command

2012-09-06 Thread Lukasz Majewski
Hi Stephen, > On 08/24/2012 02:13 AM, Lukasz Majewski wrote: > > New command - "gpt" is now supported. It shows and restores the GPT > > partition table. > > It looks into the "partitions" environment variable for partitions > > definition. It can be enabled at target configuration file with > > C

[U-Boot] [Patch V6 4/4] MIPS: add board qemu-mips64 support

2012-09-06 Thread Zhizhou Zhang
Both big-endian and little-endian are tested with below commands: Rom version: (Default, Now we config it as rom version) qemu-system-mips64el -M mips -bios u-boot.bin -cpu MIPS64R2-generic -nographic qemu-system-mips64 -M mips -bios u-boot.bin -cpu MIPS64R2-generic -nographic Ram version: qemu-sys

[U-Boot] [Patch V6 2/4] MIPS: change address related header files

2012-09-06 Thread Zhizhou Zhang
Prepare for upcoming mips64 support. This patch add mips64 address support. Signed-off-by: Zhizhou Zhang --- arch/mips/include/asm/addrspace.h |2 +- arch/mips/include/asm/io.h | 16 arch/mips/include/asm/posix_types.h |6 ++ 3 files changed, 23 insertio

[U-Boot] [Patch V6 3/4] MIPS: remove board/qemu-mips/config.mk

2012-09-06 Thread Zhizhou Zhang
We define CONFIG_SYS_TEXT_BASE in board's specified header file. So config.mk is useless, then remove it. Signed-off-by: Zhizhou Zhang --- board/qemu-mips/config.mk | 10 -- include/configs/qemu-mips.h |1 + 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 boa

[U-Boot] [Patch V6 1/4] MIPS: don't use camel-case style

2012-09-06 Thread Zhizhou Zhang
Replace camel-case style with upper-case style globally. Signed-off-by: Zhizhou Zhang --- arch/mips/cpu/mips32/cache.S | 10 ++--- arch/mips/cpu/mips32/cpu.c |8 ++-- arch/mips/cpu/xburst/cpu.c | 12 +++--- arch/mips/cpu/xburst/start.S |4 +- arch/mips/include/asm

[U-Boot] [Patch V6 0/4] add mips64 cpus support

2012-09-06 Thread Zhizhou Zhang
I'm so sorry, because of my careless, I made a serious fault in last version. I wish everything is ok in this version. Changes in V6: - reorganise patch - add flash support Changes in V5: - omit camel-case style - avoid running "git bisect" failed - some code style problem corrected Cha

[U-Boot] [PATCH v4 1/2] Loop block device for sandbox

2012-09-06 Thread Pavel Herrmann
This driver uses files as block devices, can be used for testing disk operations on sandbox. A new command "sata_loop" is introduced to load files in runtime. Signed-off-by: Pavel Herrmann CC: Marek Vasut CC: Mike Frysinger --- Changes for v4: checkpatch fixes use NULLs instead of "" exte

Re: [U-Boot] gpt: GUID/UUID - GPT restoration - open questions

2012-09-06 Thread Rob Herring
On 08/24/2012 03:48 AM, Lukasz Majewski wrote: > Hi Stephen, > > I'm writing to you, since I've posted a patch series regarding GPT > support for Samsung Trats board (you were on the CC). > > e.g. http://patchwork.ozlabs.org/patch/179785/ > > I think, that we can cooperate to provide better EFI/

Re: [U-Boot] [PATCH] mx31: Define default SoC input clock frequencies

2012-09-06 Thread Stefano Babic
On 21/08/2012 23:06, Benoît Thébaudeau wrote: > Define default SoC input clock frequencies for i.MX31 in order to get rid of > duplicated definitions. > > Signed-off-by: Benoît Thébaudeau > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: Wolfgang Denk > Cc: Helmut Raiger > --- Applied to u-boot-

Re: [U-Boot] [PATCH 1/2] MX28: SPI: Fix the DMA DCache race condition

2012-09-06 Thread Stefano Babic
On 01/09/2012 04:07, Marek Vasut wrote: > This patch fixes dcache-related problem. The problem manifested > when dcache was enabled and the following command issued twice: > > mw 0x4200 0 0x4000 ; sf probe ; sf read 0x4200 0x0 0x1 ; sha1sum > 0x4200 0x1 > > The SHA1 checksum

Re: [U-Boot] [PATCH] MX28: MMC: Avoid DMA DCache race condition

2012-09-06 Thread Stefano Babic
On 01/09/2012 04:18, Marek Vasut wrote: > This patch prevents dcache-related problem. The problem manifested > itself on the SPI driver, this is just a port to the MMC driver. > > The scenario is the same. In case an "mmc read" is issued to a > buffer which was written right before it and data cac

Re: [U-Boot] [PATCH 2/2] MX28: SPI: Fix the DMA chaining

2012-09-06 Thread Stefano Babic
On 01/09/2012 04:08, Marek Vasut wrote: > It turns out that in order for the SPI DMA to properly support > continuous transfers longer than 65280 bytes, there are some very > important parts that were left out from the documentation. > > Firstly, the XFER_SIZE register is not written with the whol

Re: [U-Boot] [PATCH v3 0/4] Board support and feature for LaCie devices

2012-09-06 Thread Simon Guinot
On Thu, Sep 06, 2012 at 11:25:23AM +0200, Simon Guinot wrote: > Changes for v3: > - Rebased against u-boot-mv/master and u-boot-arm/master. > > Changes for v2: > - Move board support and feature into a separate patch set. > - Move mach-types update into a separate patch. > > Simon Guinot (4):

Re: [U-Boot] gpt: GUID/UUID - GPT restoration - open questions

2012-09-06 Thread Lukasz Majewski
Hi Stephen, > On 08/24/2012 02:48 AM, Lukasz Majewski wrote: > > Hi Stephen, > > > > I'm writing to you, since I've posted a patch series regarding GPT > > support for Samsung Trats board (you were on the CC). > > > > e.g. http://patchwork.ozlabs.org/patch/179785/ > > > > I think, that we can c

Re: [U-Boot] [PATCH 4/6] gpt: Support for GPT (GUID Partition Table) restoration

2012-09-06 Thread Lukasz Majewski
Hi Stephen, > On 08/24/2012 02:13 AM, Lukasz Majewski wrote: > > The restoration of GPT table (both primary and secondary) is now > > possible. Simple GUID generation is supported. > > > diff --git a/include/part.h b/include/part.h > > > +int set_gpt_table(block_dev_desc_t *dev_desc, > > +

Re: [U-Boot] [PATCH 0/6] add zip command support for uboot

2012-09-06 Thread Marek Vasut
Dear Lukasz Majewski, [...] > > Ok, that means we can make use of this command ? > > I cannot promise, that I will provide the "zip" support straightaway in > the DFU. > > On the one hand if DFU is the only user of this command we are adding in > fact a "dead" code. > On the other hand we can u

Re: [U-Boot] [PATCH 0/6] add zip command support for uboot

2012-09-06 Thread Lukasz Majewski
Hi Marek, > Dear Lukasz Majewski, > > > Dear Marek and Lei, > > > > > Dear Lei Wen, > > > > > > > Hi Marek, > > > > > > > > On Thu, Sep 6, 2012 at 12:18 PM, Marek Vasut > > > > > > > > wrote: > > > > > Dear adrian.w...@gmail.com, > > > > > > > > > >> From: Lei Wen > > > > > > > > > > Lei?

Re: [U-Boot] [PATCH 3/6] gpt: Replacement of GPT structures members with ones indicating endianness and size

2012-09-06 Thread Lukasz Majewski
Hi Stephen, > On 08/24/2012 02:13 AM, Lukasz Majewski wrote: > > Replacement of several GPT related structures members with ones > > indicating its endianness and proper size. > > This patch seems reasonable to me, but I'm surprised it doesn't > require /any/ changes to the code that uses these s

Re: [U-Boot] [PATCH 2/6] gpt: Replace the leXX_to_int() calls with ones defined at

2012-09-06 Thread Lukasz Majewski
Hi Stephen, > On 08/24/2012 02:13 AM, Lukasz Majewski wrote: > > Custom definitions of le_XX_to_int functions have been replaced with > > standard ones, defined at > > > > Signed-off-by: Chang Hyun Park > > Signed-off-by: Lukasz Majewski > > Signed-off-by: Kyungmin Park > > Did Chang Hyun Pa

Re: [U-Boot] [PATCH 2/6] gpt: Replace the leXX_to_int() calls with ones defined at

2012-09-06 Thread Lukasz Majewski
Hi Stephen, > On 08/24/2012 02:13 AM, Lukasz Majewski wrote: > > Custom definitions of le_XX_to_int functions have been replaced with > > standard ones, defined at > > > diff --git a/disk/part_efi.c b/disk/part_efi.c > > > -/* Convert char[8] in little endian format to the host format > > integ

[U-Boot] [PATCH v3 4/4] ARM: add support for d2 Network v2

2012-09-06 Thread Simon Guinot
This patch adds support for the LaCie board d2 Network v2 which share a lot of hardware caracteristics with the 2Big Network v2. - CPU: Marvell 88F6281 1200Mhz - SDRAM memory: 256MB DDR2 400Mhz - 2 SATA ports: internal and eSATA - Gigabit ethernet: PHY Marvell 88E1116R - Flash memory: SPI NOR 512K

[U-Boot] [PATCH v3 3/4] ARM: add support for Network Space v2 Lite and Mini

2012-09-06 Thread Simon Guinot
This patch adds support for the LaCie boards Network Space v2 (Lite and Mini). This two boards are derived from the Network Space v2 and a lot of hardware caracteristics are shared. - CPU: Marvell 88F6192 800Mhz - SDRAM memory: 128MB DDR2 200Mhz - 1 SATA port: internal - Gigabit ethernet: PHY Marv

[U-Boot] [PATCH v3 2/4] ARM: add netspace_mini_v2 to mach-types.h

2012-09-06 Thread Simon Guinot
This patch adds the Network Space Mini v2 machine to mach-types.h. Signed-off-by: Simon Guinot --- No changes for v3. arch/arm/include/asm/mach-types.h | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/include/asm/mach-types.h b/arch/arm/include/asm/mach-types.h ind

[U-Boot] [PATCH v3 1/4] lacie_kw: add support for EFI partitions

2012-09-06 Thread Simon Guinot
Defines CONFIG_EFI_PARTITION for LaCie boards. Additionally this patch defines CONFIG_DOS_PARTITION. Note that this definition is implicit in mv_common.h when CONFIG_CMD_USB is enabled. Signed-off-by: Simon Guinot --- No changes for v2 and v3. include/configs/lacie_kw.h |6 ++ 1 file c

[U-Boot] [PATCH v3 0/4] Board support and feature for LaCie devices

2012-09-06 Thread Simon Guinot
Changes for v3: - Rebased against u-boot-mv/master and u-boot-arm/master. Changes for v2: - Move board support and feature into a separate patch set. - Move mach-types update into a separate patch. Simon Guinot (4): lacie_kw: add support for EFI partitions ARM: add netspace_mini_v2 to mach

Re: [U-Boot] [PATCH 1/6] gpt:doc: GPT (GUID Partition Table) documentation

2012-09-06 Thread Lukasz Majewski
Hi Stephen, > On 08/24/2012 02:13 AM, Lukasz Majewski wrote: > > Documentation of the GPT table format. > > > +++ b/doc/README.gpt > > > +Glossary: > > + > > +- UUID -(Universally Unique Identifier) > > +- GUID - (Globally Unique ID) > > +- EFI - (Extensible Firmware Interface) > > +- UE

Re: [U-Boot] [PATCH v3 1/4] kirkwood: use c-struct for access to SDRAM addr decode registers

2012-09-06 Thread Marek Vasut
Dear Holger Brunck, > Hi Prafulla, > > On 07/20/2012 02:34 PM, Holger Brunck wrote: > > Remove the defines and do this with a C-struct. > > > > Signed-off-by: Holger Brunck > > cc: Prafulla Wadaskar > > cc: Valentin Longchamp > > cc: Gerlando Falauto > > cc: Marek Vasut > > --- > > > > cha

Re: [U-Boot] ima3-mx53:Rename CONFIG_PRIME => CONFIG_ETHPRME, remove unused macro CONFIG_DISCOVER_PHY

2012-09-06 Thread Stefano Babic
On 05/09/2012 18:50, Ashok wrote: > From 2d37e7db8adc529ce00e09158710292c3beffe94 Mon Sep 17 00:00:00 2001 > From: Ashok Kumar Reddy > Date: Wed, 5 Sep 2012 22:09:37 +0530 > Subject: [PATCH] ima3-mx53:Rename CONFIG_PRIME => CONFIG_ETHPRME, remove > unused macro CONFIG_DISCOVER_PHY > > Signed-off

Re: [U-Boot] [PATCH] Fix mx31_decode_pll

2012-09-06 Thread Stefano Babic
On 14/08/2012 20:43, Benoît Thébaudeau wrote: > The MFN bit-field of the PLL registers represents a signed value. See the > reference manual. > > Signed-off-by: Benoît Thébaudeau > Cc: Stefano Babic > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic --

Re: [U-Boot] [PATCH 3/7] mx35: Fix decode_pll

2012-09-06 Thread Stefano Babic
On 14/08/2012 22:32, Benoît Thébaudeau wrote: > The MFN bit-field of the PLL registers represents a signed value. See the > reference manual. > > Signed-off-by: Benoît Thébaudeau > Cc: Stefano Babic > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic --

Re: [U-Boot] [PATCH] mx25: Define default SoC input clock frequencies

2012-09-06 Thread Stefano Babic
On 21/08/2012 23:05, Benoît Thébaudeau wrote: > Define default SoC input clock frequencies for i.MX25 in order to get rid of > duplicated definitions. > > Signed-off-by: Benoît Thébaudeau > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: Matthias Weisser > --- Applied to u-boot-imx, thanks. Bes

Re: [U-Boot] [PATCH 5/7] mx35: Fix clock dividers

2012-09-06 Thread Stefano Babic
On 14/08/2012 22:33, Benoît Thébaudeau wrote: > The clock dividers that were used do not match at all the reference manual. > They > were either completely broken, or came from an early silicon revision > incompatible with the current one. > > Signed-off-by: Benoît Thébaudeau > Cc: Stefano Babic

Re: [U-Boot] [PATCH 4/7] mx35: Add definitions for clock gate values

2012-09-06 Thread Stefano Babic
On 14/08/2012 22:33, Benoît Thébaudeau wrote: > Signed-off-by: Benoît Thébaudeau > Cc: Stefano Babic > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang D

Re: [U-Boot] [PATCH 5/7] mx35: Fix clock dividers

2012-09-06 Thread Stefano Babic
On 03/09/2012 17:55, Stefano Babic wrote: > Yes, make this small change - then from my point of view I am ready to > merge it. Nevermind - this is really a detail. I prefer to fix soon the bugs. Thanks for having discovered and fixed. I merge the series now. Regards, Stefano -- ==

Re: [U-Boot] [PATCH v3 1/4] kirkwood: use c-struct for access to SDRAM addr decode registers

2012-09-06 Thread Holger Brunck
Hi Prafulla, On 07/20/2012 02:34 PM, Holger Brunck wrote: > Remove the defines and do this with a C-struct. > > Signed-off-by: Holger Brunck > cc: Prafulla Wadaskar > cc: Valentin Longchamp > cc: Gerlando Falauto > cc: Marek Vasut > --- > changes for v3: > - new patch as requested on the M

Re: [U-Boot] [PATCH 0/6] add zip command support for uboot

2012-09-06 Thread Marek Vasut
Dear Lukasz Majewski, > Dear Marek and Lei, > > > Dear Lei Wen, > > > > > Hi Marek, > > > > > > On Thu, Sep 6, 2012 at 12:18 PM, Marek Vasut > > > > > > wrote: > > > > Dear adrian.w...@gmail.com, > > > > > > > >> From: Lei Wen > > > > > > > > Lei? Long time no see :) > > > > > > Long time

Re: [U-Boot] [PATCH v3 1/2] Loop block device for sandbox

2012-09-06 Thread Marek Vasut
Dear Pavel Herrmann, > On Thursday 06 of September 2012 03:08:42 Marek Vasut wrote: > > Dear Pavel Herrmann, > > > > > On Wednesday 05 of September 2012 14:48:40 Marek Vasut wrote: > > > > Dear Pavel Herrmann, > > > > > > > > [...] > > > > > > > > > > besides, I think it'd be much systematic to

Re: [U-Boot] [PATCH v3 1/2] Loop block device for sandbox

2012-09-06 Thread Pavel Herrmann
On Thursday 06 of September 2012 03:08:42 Marek Vasut wrote: > Dear Pavel Herrmann, > > > On Wednesday 05 of September 2012 14:48:40 Marek Vasut wrote: > > > Dear Pavel Herrmann, > > > > > > [...] > > > > > > > > besides, I think it'd be much systematic to just scream at user to > > > > > call "

Re: [U-Boot] Pull request for u-boot-marvell.git

2012-09-06 Thread Albert ARIBAUD
Hi Prafulla, Simon, On Wed, 5 Sep 2012 18:21:47 -0700, Prafulla Wadaskar wrote: > > > > -Original Message- > > From: Simon Guinot [mailto:simon.gui...@sequanux.org] > > Sent: 05 September 2012 12:57 > > To: Prafulla Wadaskar > > Cc: Albert ARIBAUD; 'u-boot@lists.denx.de'; 'wolfg...@the

[U-Boot] [PATCH] at91sam9x5: set default EBI I/O drive configuration.

2012-09-06 Thread Josh Wu
This patch configure at91sam9x5's EBI drive I/O. Without this, When SD card boot, the nand flash read/write are not stable. Which will cause kernel MTD test fail (Since mainline kernel doesn't configure the EBI register). Signed-off-by: Josh Wu --- board/atmel/at91sam9x5ek/at91sam9x5ek.c |

Re: [U-Boot] [PATCH 0/6] add zip command support for uboot

2012-09-06 Thread Lukasz Majewski
Dear Marek and Lei, > Dear Lei Wen, > > > Hi Marek, > > > > On Thu, Sep 6, 2012 at 12:18 PM, Marek Vasut > > wrote: > > > Dear adrian.w...@gmail.com, > > > > > >> From: Lei Wen > > > > > > Lei? Long time no see :) > > > > Long time no see. :) > > Yep, you're doing well? > > > >> This patc

Re: [U-Boot] [PATCH v4 1/2] i2c:soft:multi: Support for multiple soft I2C buses at Samsung boards

2012-09-06 Thread Lukasz Majewski
Hi Heiko, Thanks for comments. > Hello Lukasz, > > On 05.09.2012 11:15, Lukasz Majewski wrote: > > Support for multiple soft I2C buses. > > > > Multibus I2C support is achieved by defining get_multi_{sda|scl}_pin > > functions to switch between multiple "soft" I2C buses. > > > > Common definitio

[U-Boot] [NEXT PATCH v1 7/7] MX35: add support for woodburn board

2012-09-06 Thread Stefano Babic
The woodburn board is based on the MX35 SOC. Support for both external (NOR) and internal (SD Card) boot mode are added. It uses the generic SPL framework to implement the internal boot mode. The following peripherals are supported: - Ethernet (FEC) - SD Card - NAND (16 Gb)

[U-Boot] [NEXT PATCH v1 5/7] SPL: Added MLO for mx35 SOC to SPL Makefile

2012-09-06 Thread Stefano Babic
Signed-off-by: Stefano Babic --- spl/Makefile |6 ++ 1 file changed, 6 insertions(+) diff --git a/spl/Makefile b/spl/Makefile index f96c08e..77fc405 100644 --- a/spl/Makefile +++ b/spl/Makefile @@ -109,6 +109,12 @@ $(OBJTREE)/MLO:$(obj)u-boot-spl.bin -a $(CONFIG_SPL_T

[U-Boot] [NEXT PATCH v1 4/7] MX35: Add soc_boot_mode and soc_boot_device to MX35

2012-09-06 Thread Stefano Babic
The functions are required to use the generic SPL Framework. Signed-off-by: Stefano Babic --- arch/arm/cpu/arm1136/mx35/generic.c | 80 + arch/arm/cpu/arm1136/u-boot-spl.lds | 62 +++ arch/arm/include/asm/arch-mx35/mmc_host_def.h |

[U-Boot] [NEXT PATCH v1 6/7] ARM: Add MLO target to arm1136

2012-09-06 Thread Stefano Babic
Signed-off-by: Stefano Babic --- arch/arm/cpu/arm1136/config.mk |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/cpu/arm1136/config.mk b/arch/arm/cpu/arm1136/config.mk index efee0d1..a6c1178 100644 --- a/arch/arm/cpu/arm1136/config.mk +++ b/arch/arm/cpu/arm1136/config.mk @@ -31,

[U-Boot] [NEXT PATCH v1 3/7] MX35: add LOW_LEVEL_SRAM_STACK to use SPL_FRAMEWORK

2012-09-06 Thread Stefano Babic
Signed-off-by: Stefano Babic --- arch/arm/include/asm/arch-mx35/imx-regs.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/include/asm/arch-mx35/imx-regs.h b/arch/arm/include/asm/arch-mx35/imx-regs.h index 3146006..6cd6460 100644 --- a/arch/arm/include/asm/arch-mx35/imx-regs.h

[U-Boot] [NEXT PATCH v1 2/7] NAND: added NAND type to nand_ids

2012-09-06 Thread Stefano Babic
Signed-off-by: Stefano Babic --- drivers/mtd/nand/nand_ids.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/nand/nand_ids.c b/drivers/mtd/nand/nand_ids.c index 3953549..fe75686 100644 --- a/drivers/mtd/nand/nand_ids.c +++ b/drivers/mtd/nand/nand_ids.c @@ -131,6 +131,8 @@ con

  1   2   >