[U-Boot] Setting Ethernet Speed in NFS boot

2013-06-28 Thread Sandeep C R
Hi, I have a powerpc system with u-boot as the boot loader. Is it possible for me to set the speed of the ethernet link while doing a nfs boot? ie. When the nfs boot is happening i want to set the ethernet speed to say 10mbps or 100mbps according to my preference. Thanks and Regards, Sandeep ___

Re: [U-Boot] [PATCH 2/2] PPC MPC83xx: Fix MPC8323ERDB build warning

2013-06-28 Thread Sinan Akman
On 06/29/2013 12:11 AM, Timur Tabi wrote: On Fri, Jun 28, 2013 at 4:47 PM, Andy Fleming wrote: Well, he hasn't been at Freescale for years, now, so that's not surprising. It's not entirely clear to me whether that board is one we actively support, but I suspect we can get away with maintenance

Re: [U-Boot] [PATCH 2/2] PPC MPC83xx: Fix MPC8323ERDB build warning

2013-06-28 Thread Timur Tabi
On Fri, Jun 28, 2013 at 4:47 PM, Andy Fleming wrote: > Well, he hasn't been at Freescale for years, now, so that's not surprising. > It's not entirely clear to me whether that board is one we actively > support, but I suspect we can get away with maintenance moving over to Kim. > That said, I gue

[U-Boot] [PATCH] blackfin: Fix using gd->baudrate before setting its value

2013-06-28 Thread Axel Lin
Current code uses gd->baudrate before setting its value. Besides, I got below build warning which is introduced by commit ddb5c5be "blackfin: add baudrate to bdinfo". board.c:235:3: warning: passing argument 1 of 'simple_strtoul' makes pointer from integer without a cast [enabled by default] incl

Re: [U-Boot] [PATCH v2] cmd_bootm.c: Correct BOOTM_ERR_OVERLAP handling

2013-06-28 Thread Simon Glass
Hi Tom, On Fri, Jun 28, 2013 at 3:07 PM, Tom Rini wrote: > On Fri, Jun 28, 2013 at 02:41:49PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Fri, Jun 28, 2013 at 1:25 PM, Tom Rini wrote: > > > > > With 35fc84fa1 [Refactor the bootm command to reduce code duplication] > > > we stopped checking

Re: [U-Boot] [PATCH v2 1/1] socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V

2013-06-28 Thread Wolfgang Denk
Dear Chin Liang See, In message <1372454448.11240.7.ca...@drezykow-virtualbox.altera.com> you wrote: > socfpga: Adding System Manager driver which will > configure the pin mux for real hardware Cyclone V=20 > development kit (not Virtual Platform) Please fix all your patches: provide a short (

Re: [U-Boot] [PATCH v2 1/1] socfpga: Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit

2013-06-28 Thread Wolfgang Denk
Dear Chin Liang See, In message <1372452523.11240.4.ca...@drezykow-virtualbox.altera.com> you wrote: > socfpga: Consolidating reset code into reset_manager.c. > Also separating reset configuration for virtual target > and real hardware Cyclone V development kit Arghhh... 154 characters in the S

Re: [U-Boot] [PATCH v2 1/1] socfpga: Separating the configuration file for Virtual Target and real hardware Cyclone V development kit

2013-06-28 Thread Wolfgang Denk
Dear Chin Liang See, In message <1372451028.11240.2.ca...@drezykow-virtualbox.altera.com> you wrote: > socfpga: Separating the configuration file for Virtual > Target and real hardware Cyclone V development kit Please keep the Subject SHORT - it should be 50 characters or less! And please do no

[U-Boot] [PATCH v2 1/1] socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V

2013-06-28 Thread Chin Liang See
socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V development kit (not Virtual Platform) Signed-off-by: Chin Liang See --- arch/arm/cpu/armv7/socfpga/Makefile|2 +- arch/arm/cpu/armv7/socfpga/spl.c |6 +

[U-Boot] [PATCH v2 1/1] socfpga: Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit

2013-06-28 Thread Chin Liang See
socfpga: Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit Signed-off-by: Chin Liang See --- arch/arm/cpu/armv7/socfpga/Makefile |2 +- arch/arm/cpu/armv7/socfpga/misc.c

[U-Boot] [PATCH v2 1/1] socfpga: Separating the configuration file for Virtual Target and real hardware Cyclone V development kit

2013-06-28 Thread Chin Liang See
socfpga: Separating the configuration file for Virtual Target and real hardware Cyclone V development kit Signed-off-by: Chin Liang See --- include/configs/socfpga_cyclone5.h | 28 +--- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/include/configs/socf

Re: [U-Boot] [PATCH v5 2/8] usb: ehci-marvell: add support for second USB controller

2013-06-28 Thread Sascha Silbe
Dear Wolfgang Denk, Wolfgang Denk writes: >> -#define rdl(off)readl(MVUSB0_BASE + (off)) >> -#define wrl(off, val) writel((val), MVUSB0_BASE + (off)) >> +#define rdl(base, off) readl((base) + (off)) >> +#define wrl(base, off, val) writel((val), (base) + (off)) > > Instead

[U-Boot] [PATCH] usb: ehci-marvell: use structs for registers

2013-06-28 Thread Sascha Silbe
Use structs instead of computing offsets for accessing individual registers. The base address of the USB controller is still an offset defined in SoC headers as it can differ between SoCs. Signed-off-by: Sascha Silbe --- Tested on CuBox Pro only. drivers/usb/host/ehci-marvell.c | 48 +++

[U-Boot] [ANN] v2013.07-rc2

2013-06-28 Thread Tom Rini
Hey all, I've tagged and pushed v2013.07-rc2. A bit more over the place than I should have gone, but picked up a lot of things that have been outstanding for a while. The big thing is a refactor of the boot loop. Everything should be working right now, but please test. Related to this is the ab

Re: [U-Boot] [PATCH] Fix bootm to work on powerpc again (compressed uImage)

2013-06-28 Thread Tom Rini
On Fri, Jun 28, 2013 at 10:02:03AM +0200, Stefan Roese wrote: > Patch 35fc84fa1 [Refactor the bootm command to reduce code duplication] > breaks booting Linux (compressed uImage with fdt) on powerpc. > > boot_jump_linux() mustn't be called before boot_prep_linux() and > boot_body_linux() have bee

Re: [U-Boot] [PATCH] mkimage: Build signing only if board has CONFIG_FIT_SIGNATURE

2013-06-28 Thread Tom Rini
On Thu, Jun 27, 2013 at 10:43:18AM -0700, Simon Glass wrote: > At present mkimage is set up to always build with image signing support. > This means that the SSL libraries (e.g. libssl-dev) are always required. > > Adjust things so that mkimage can be built with and without image signing, > contr

Re: [U-Boot] [PATCH] bootm: Disable interrupts before loading OS

2013-06-28 Thread Tom Rini
On Fri, Jun 28, 2013 at 10:00:58AM +0200, Stefan Roese wrote: > On 06/28/2013 09:46 AM, Simon Glass wrote: > > This restores the ordering of interrupt disable to what it what before > > commit 35fc84fa. It seems that on some archiectures (e.g. PowerPC) the > > OS is loaded into an interrupt region,

Re: [U-Boot] [PATCH v2] cmd_bootm.c: Correct BOOTM_ERR_OVERLAP handling

2013-06-28 Thread Tom Rini
On Fri, Jun 28, 2013 at 02:41:49PM -0700, Simon Glass wrote: > Hi Tom, > > On Fri, Jun 28, 2013 at 1:25 PM, Tom Rini wrote: > > > With 35fc84fa1 [Refactor the bootm command to reduce code duplication] > > we stopped checking the return value of bootm_load_os (unintentionally!) > > and simply ret

Re: [U-Boot] [PATCH 0/6] Upstream environment changes being used in Yocto/OE

2013-06-28 Thread Fabio Estevam
On Fri, Jun 28, 2013 at 6:52 PM, Otavio Salvador wrote: > This changes were being done in every version of U-Boot and it > makes sense to try to merge them upstream. > > Please review them and ack/nack them. I think the series look good: Reviewed-by: Fabio Estevam __

[U-Boot] [PATCH 5/6] mx51evk: Change default environment to cope with OE changes

2013-06-28 Thread Otavio Salvador
OpenEmbedded has change partitioning layout of generated image so it does not raise warnings during the boot regarding unkown partition being used for U-Boot. Signed-off-by: Otavio Salvador --- include/configs/mx51evk.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/incl

[U-Boot] [PATCH 6/6] mx53ard: Change default environment to cope with OE changes

2013-06-28 Thread Otavio Salvador
OpenEmbedded has change partitioning layout of generated image so it does not raise warnings during the boot regarding unkown partition being used for U-Boot. Signed-off-by: Otavio Salvador --- include/configs/mx53ard.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/incl

[U-Boot] [PATCH 4/6] wandboard: Change default environment to cope with OE changes

2013-06-28 Thread Otavio Salvador
OpenEmbedded has change partitioning layout of generated image so it does not raise warnings during the boot regarding unkown partition being used for U-Boot. Signed-off-by: Otavio Salvador --- include/configs/wandboard.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/in

[U-Boot] [PATCH 3/6] mx6slevk: Change default environment to cope with OE changes

2013-06-28 Thread Otavio Salvador
OpenEmbedded has change partitioning layout of generated image so it does not raise warnings during the boot regarding unkown partition being used for U-Boot. Signed-off-by: Otavio Salvador --- include/configs/mx6slevk.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc

[U-Boot] [PATCH 2/6] mx6qsabrelite: Change default environment to cope with OE changes

2013-06-28 Thread Otavio Salvador
OpenEmbedded has change partitioning layout of generated image so it does not raise warnings during the boot regarding unkown partition being used for U-Boot. Signed-off-by: Otavio Salvador --- include/configs/mx6qsabrelite.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 1/6] mx53loco: Change default environment to cope with OE changes

2013-06-28 Thread Otavio Salvador
OpenEmbedded has change partitioning layout of generated image so it does not raise warnings during the boot regarding unkown partition being used for U-Boot. Signed-off-by: Otavio Salvador --- include/configs/mx53loco.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc

[U-Boot] [PATCH 0/6] Upstream environment changes being used in Yocto/OE

2013-06-28 Thread Otavio Salvador
This changes were being done in every version of U-Boot and it makes sense to try to merge them upstream. Please review them and ack/nack them. Otavio Salvador (6): mx53loco: Change default environment to cope with OE changes mx6qsabrelite: Change default environment to cope with OE changes

Re: [U-Boot] [PATCH v3 12/16] dm: Add GPIO support and tests

2013-06-28 Thread Marek Vasut
Dear Simon Glass, > Add driver model support for GPIOs. Since existing GPIO drivers do not use > driver model, this feature must be enabled by CONFIG_DM_GPIO. After all > GPO drivers are converted over we can perhaps remove this config. > > Tests are provided for the sandbox implementation, and a

Re: [U-Boot] [PATCH 2/2] PPC MPC83xx: Fix MPC8323ERDB build warning

2013-06-28 Thread Andy Fleming
On Fri, Jun 14, 2013 at 4:14 AM, Wolfgang Denk wrote: > Dear Kim, > > In message <1371198068-3581-1-git-send-email...@denx.de> you wrote: > > > > mpc8323erdb.c: In function 'mac_read_from_eeprom': > > mpc8323erdb.c:198:3: warning: dereferencing type-punned pointer will > > break strict-aliasing r

Re: [U-Boot] [PATCH v3 11/16] dm: Add a demonstration/example driver

2013-06-28 Thread Marek Vasut
Dear Simon Glass, > As an example of how to write a uclass and a driver, provide a demo version > of each, accessible through the 'demo' command. > > To use these with driver model, define CONFIG_CMD_DEMO and CONFIG_DM_DEMO. > > The two demo drivers are enabled with CONFIG_DM_DEMO_SIMPLE and > C

Re: [U-Boot] [PATCH] Fix bootm to work on powerpc again (compressed uImage)

2013-06-28 Thread Simon Glass
Hi Stefan, On Fri, Jun 28, 2013 at 1:02 AM, Stefan Roese wrote: > Patch 35fc84fa1 [Refactor the bootm command to reduce code duplication] > breaks booting Linux (compressed uImage with fdt) on powerpc. > > boot_jump_linux() mustn't be called before boot_prep_linux() and > boot_body_linux() have

Re: [U-Boot] [PATCH v2] cmd_bootm.c: Correct BOOTM_ERR_OVERLAP handling

2013-06-28 Thread Simon Glass
Hi Tom, On Fri, Jun 28, 2013 at 1:25 PM, Tom Rini wrote: > With 35fc84fa1 [Refactor the bootm command to reduce code duplication] > we stopped checking the return value of bootm_load_os (unintentionally!) > and simply returned if we had a non-zero return value from the function. > This broke the

Re: [U-Boot] [PATCH v3 15/16] dm: Add README for driver model

2013-06-28 Thread Marek Vasut
Dear Simon Glass, > From: Pavel Herrmann > > This adds a README to help with understanding of this series. > > Signed-off-by: Simon Glass > --- > Changes in v3: > - Updated README.txt to cover changes since version 2 > > Changes in v2: > - Removed pointer return values in favour of integer >

Re: [U-Boot] howto write uboot to nand

2013-06-28 Thread Scott Wood
On 06/28/2013 03:15:03 PM, kqt4a...@gmail.com wrote: I thought I should ask before I screw this up. I have a new uboot that I load with kwboot. It works fine and I want to write it to nand. I see many references to write it after loading with tftp but not kwboot. Can I do this? How? This is

Re: [U-Boot] [PATCH v3 10/16] dm: Add a 'dm' command for testing

2013-06-28 Thread Marek Vasut
Dear Simon Glass, > +U_BOOT_CMD( > + dm, 2, 1, do_dm, > + "Driver model low level access", > + "dump Dump driver model tree\n" > + "dm uclassDump list of instances for each uclass\n" > + "dm test Run tests" > +); Looking at this, remark co

Re: [U-Boot] [PATCH v3 07/16] dm: Add base driver model support

2013-06-28 Thread Marek Vasut
Dear Simon Glass, > Add driver model functionality for generic board. > > This includes data structures and base code for registering devices and > uclasses (groups of devices with the same purpose, e.g. all I2C ports will > be in the same uclass). > > The feature is enabled with CONFIG_DM. > >

Re: [U-Boot] [PATCH v3 08/16] dm: Set up driver model after relocation

2013-06-28 Thread Marek Vasut
Dear Simon Glass, > Make driver model available after relocation, by setting up data structures > and scanning for devices using compiled-in platform_data and (when > available) the device tree. > > Signed-off-by: Simon Glass > --- > Changes in v3: None > Changes in v2: None > > common/board_r

Re: [U-Boot] [PATCH] mmc: fsl_esdhc: Fix hang after 'save' command

2013-06-28 Thread Andy Fleming
On Thu, Jun 27, 2013 at 9:33 PM, Zhang Haijun-B42677 wrote: > Hi, Fleming > > ** ** > > I found the root cause. > > Our driver didn’t make a distinction between different board for this > register. (Just distinguish by esdhc version) > > On p1025 board watermark level was used both fo

Re: [U-Boot] [PULL] : Please pull u-boot-imx

2013-06-28 Thread Albert ARIBAUD
Hi Stefano, On Fri, 28 Jun 2013 17:05:29 +0200, Stefano Babic wrote: > Hi Albert, > > some fixes and pending patches. Please pull from u-boot-imx, thanks ! > > The following changes since commit 4a1c7b13ae104d4526d3176793b7f6b06694df15: > > vf610twr: Drop unneeded 'status' variable (2013-06

[U-Boot] [PATCH v2] cmd_bootm.c: Correct BOOTM_ERR_OVERLAP handling

2013-06-28 Thread Tom Rini
With 35fc84fa1 [Refactor the bootm command to reduce code duplication] we stopped checking the return value of bootm_load_os (unintentionally!) and simply returned if we had a non-zero return value from the function. This broke the valid case of a legacy image file of a single kernel loaded into an

[U-Boot] howto write uboot to nand

2013-06-28 Thread kqt4at5v
I thought I should ask before I screw this up. I have a new uboot that I load with kwboot. It works fine and I want to write it to nand. I see many references to write it after loading with tftp but not kwboot. Can I do this? How? This is to a Guruplug. Using tftp tftp 0x640 u-boot.kwb nan

Re: [U-Boot] [PATCH 6/7 v6] nand: tpl : introduce the TPL based on the SPL

2013-06-28 Thread Scott Wood
On 06/28/2013 02:57:55 AM, Zhang Ying-B40530 wrote: You don't need to mention a dependency on an earlier patch in the same patchset (and when you do need to mention a dependency, it should be below the --- line so it doesn't go into the git history). OTOH, you do need to mention the dependency o

Re: [U-Boot] [PATCH] spl_mmc.c: Detect missing kernel image in RAW MMC

2013-06-28 Thread Peter Korsgaard
> "Tom" == Tom Rini writes: Tom> Currently, we assume that if we can read from MMC correctly, we have Tom> found a valid image. This is not the case as an empty area will read Tom> just fine. Add a check for a valid IH_MAGIC. Tom> Signed-off-by: Tom Rini Reviewed-by: Peter Korsgaard

[U-Boot] [PATCH] spl_mmc.c: Detect missing kernel image in RAW MMC

2013-06-28 Thread Tom Rini
Currently, we assume that if we can read from MMC correctly, we have found a valid image. This is not the case as an empty area will read just fine. Add a check for a valid IH_MAGIC. Signed-off-by: Tom Rini --- common/spl/spl_mmc.c |4 1 file changed, 4 insertions(+) diff --git a/com

Re: [U-Boot] [PATCH v5 1/3] Prepare for TI816X : reuse existing code from TI814X

2013-06-28 Thread Wolfgang Denk
Dear "TENART Antoine", In message <3465d313fdfb824f9a9c8cd24fa4f6bc0112a...@frontmail.adetel.com> you wrote: > Rename some CONFIG_TI814X to a more generic CONFIG_81XX > > Signed-off-by: Antoine Tenart > --- > Makefile|2 +- > arch/arm/cpu/armv7/Makefile

Re: [U-Boot] [PATCH 1/1] socfpga: Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit

2013-06-28 Thread Chin Liang See
Hi Pavel, On Fri, 2013-06-28 at 13:44 +0200, ZY - pavel wrote: > Hi! > > > socfpga: Consolidating reset code into reset_manager.c. Also separating > > reset configuration for virtual target and real hardware Cyclone V > > development kit > > > > Signed-off-by: Chin Liang See > > > +++ b/arch/

Re: [U-Boot] [PATCH1/1] socfpga: Separating the configuration file for Virtual Target and real hardware Cyclone V development kit

2013-06-28 Thread Chin Liang See
Hi Pavel, On Fri, 2013-06-28 at 13:22 +0200, ZY - pavel wrote: > Hi! > > > socfpga: Separating the configuration file for Virtual Target and > > real hardware Cyclone V development kit > > > > Signed-off-by: Chin Liang See > > --- > > include/configs/socfpga_cyclone5.h | 28

Re: [U-Boot] [PATCH 1/1] socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V

2013-06-28 Thread Chin Liang See
Hi Pavel, On Fri, 2013-06-28 at 13:40 +0200, ZY - pavel wrote: > Hi! > > > socfpga: Adding System Manager driver which will configure the pin mux > > for real hardware Cyclone V development kit (not Virtual Platform) > > > > Signed-off-by: Chin Liang See > > > diff --git a/arch/arm/cpu/armv7

[U-Boot] [PATCH] cmd_bootm.c: Correct BOOTM_ERR_OVERLAP handling

2013-06-28 Thread Tom Rini
With 35fc84fa1 [Refactor the bootm command to reduce code duplication] we stopped checking the return value of bootm_load_os (unintentionally!) and simply returned if we had a non-zero return value from the function. This broke the valid case of a legacy image file of a single kernel loaded into an

[U-Boot] Pull request: nand flash

2013-06-28 Thread Scott Wood
The following changes since commit 2f998071254d566c71c34ef013aef1d9d0ec0fa3: image: Use ENOENT instead of ENOMEDIUM for better compatibility (2013-06-17 09:56:42 -0400) are available in the git repository at: git://git.denx.de/u-boot-nand-flash.git master for you to fetch changes up to 8b6

[U-Boot] [PATCH] arm:trats: Increase malloc pool size (for DFU ext4 transfers)

2013-06-28 Thread Lukasz Majewski
Commit: dfu: make data buffer size configurable SHA1: 89a72b2e0e141042c9109185e02d39b2107ffc62 replaced statically allocated buffers with one allocated with memalign. Malloc pool size of 1MiB was too small, since we needed bigger buffer to transfer for example uImage. Signed-off-by: Lukasz Majew

[U-Boot] [PATCH 2/2] dfu:ext4:fix Fix DFU upload functionality

2013-06-28 Thread Lukasz Majewski
For the first eMMC read of data for upload, use the "large" dfu_buf (now configurable) instead of usb request buffer allocated at composite layer (which is 4KiB) [*]. For eMMC the whole file is read, which usually is larger than the buffer [*] provided with usb request. Signed-off-by: Lukasz Maje

[U-Boot] [PATCH 1/2] dfu:ext4:fix Fix ext4{read|write} command formatting

2013-06-28 Thread Lukasz Majewski
In the following commit: "dfu: Support larger than memory transfers." SHA1: ea2453d56b8860dbd18a3c517531ffc8dcb5c839 The ext4{read|write} command formatting has been changed. It removed a write mandatory [sizebytes] parameter. It extents DFU_FS_EXT4 case at mmc_file_op to provide mandatory parame

Re: [U-Boot] [PATCH] powerpc/mpc85xx:Disable Debug TLB entry for non-minimal SPL

2013-06-28 Thread Scott Wood
On 06/28/2013 04:05:43 AM, Prabhakar Kushwaha wrote: On 06/27/2013 12:36 AM, Scott Wood wrote: On 06/25/2013 11:09:04 PM, Prabhakar Kushwaha wrote: then it should be like this. slightly complex. #if defined(CONFIG_SYS_PPC_E500_DEBUG_TLB) && !(defined(CONFIG_NAND_SPL) || \ (defined(CONFIG

Re: [U-Boot] [PATCH1/1] socfpga: Separating the configuration file for Virtual Target and real hardware Cyclone V development kit

2013-06-28 Thread Stefan Roese
Hi Chin Liang, On 06/28/2013 06:05 PM, Chin Liang See wrote: >>> socfpga: Separating the configuration file for Virtual Target and >>> real hardware Cyclone V development kit >>> >>> Signed-off-by: Chin Liang See >>> --- >>> include/configs/socfpga_cyclone5.h | 28 +---

Re: [U-Boot] [PATCH v2] exynos5250: move board specific configs to board specific config file

2013-06-28 Thread Simon Glass
Hi Inderpal, On Thu, Jun 20, 2013 at 12:10 AM, Inderpal Singh wrote: > Hi Simon, > > Thanks for review. > > > On 11 June 2013 19:57, Simon Glass wrote: > >> Hi, >> >> On Fri, Jun 7, 2013 at 4:56 AM, Inderpal Singh > > wrote: >> >>> Not all boards based on exynos5250 have SPI flash, same serial p

[U-Boot] [PATCH v5 3/3] Add TI816X evm board support

2013-06-28 Thread TENART Antoine
Signed-off-by: Antoine Tenart --- MAINTAINERS |4 + board/ti/ti816x/Makefile | 47 + board/ti/ti816x/evm.c| 229 ++ boards.cfg |1 + include/configs/ti816x_evm.h | 180 ++

[U-Boot] [PATCH v5 2/3] Add TI816X support

2013-06-28 Thread TENART Antoine
Signed-off-by: Antoine Tenart --- arch/arm/cpu/armv7/am33xx/Makefile |1 + arch/arm/cpu/armv7/am33xx/clock_ti814x.c | 95 - arch/arm/cpu/armv7/am33xx/clock_ti816x.c | 445 arch/arm/cpu/armv7/am33xx/emif4.c |2

[U-Boot] [PATCH v5 1/3] Prepare for TI816X : reuse existing code from TI814X

2013-06-28 Thread TENART Antoine
Rename some CONFIG_TI814X to a more generic CONFIG_81XX Signed-off-by: Antoine Tenart --- Makefile|2 +- arch/arm/cpu/armv7/Makefile |2 +- arch/arm/cpu/armv7/omap-common/Makefile |2 +- arch/arm/include/asm/arch-am33xx/cpu.h |2 +- ar

[U-Boot] [PATCH v5 0/3] Add TI816X EVM support

2013-06-28 Thread TENART Antoine
This serie introduce the support of the TI816X EVM board. The serie fits into the existing AM33XX SoC support and reuse some definitions from the TI814X. Based on the implementation in the TI-PSP-04.00.02.14 vendor tree: http://arago-project.org/git/projects/?p=u-boot-omap3.git;a=summary It has

Re: [U-Boot] [PATCH] video: mxsfb: Break the line in videomode message

2013-06-28 Thread Fabio Estevam
On Fri, Jun 28, 2013 at 11:57 AM, Stefano Babic wrote: > That is correct - as it is a very small change, I fix it myself by > applying the patch. Thanks, Stefano! > > Applied to u-boot-imx, thanks ! > > Best regards, > Stefano Babic ___ U-Boot mailing

[U-Boot] [PULL] : Please pull u-boot-imx

2013-06-28 Thread Stefano Babic
Hi Albert, some fixes and pending patches. Please pull from u-boot-imx, thanks ! The following changes since commit 4a1c7b13ae104d4526d3176793b7f6b06694df15: vf610twr: Drop unneeded 'status' variable (2013-06-06 17:52:08 +0200) are available in the git repository at: git://www.denx.de/git/

Re: [U-Boot] [PATCH v5 1/2] vf610twr: Add default environment in line with other Freescale boards

2013-06-28 Thread Stefano Babic
On 28/06/2013 14:52, Otavio Salvador wrote: > This adds a default environment which should be able to support both > 3.0.15 from Timesys and upcoming 3.11. > > Signed-off-by: Otavio Salvador > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH v5 2/2] vf610twr: Remove SoC name from U-Boot prompt

2013-06-28 Thread Stefano Babic
On 28/06/2013 14:53, Otavio Salvador wrote: > We've been dropping SoC name from U-Boot prompt as it increase > complexity for automatic testing and makes line longer for no good > reason. > > Signed-off-by: Otavio Salvador > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH] video: mxsfb: Break the line in videomode message

2013-06-28 Thread Stefano Babic
Hi Fabio, hi Marek, On 26/06/2013 21:56, Marek Vasut wrote: > Dear Fabio Estevam, > >> Currently we have the following on boot: >> >> CPU: Freescale i.MX28 rev1.2 at 454 MHz >> BOOT: SSP SD/MMC #0, 3V3 >> DRAM: 128 MiB >> MMC: MXS MMC: 0 >> Video: MXSFB: 'videomode' variable not set!In:

Re: [U-Boot] [PATCH] MAINTAINERS: Add an entry to the mx6q wandboard variant

2013-06-28 Thread Stefano Babic
On 26/06/2013 18:53, Fabio Estevam wrote: > Signed-off-by: Fabio Estevam > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235

Re: [U-Boot] [PATCH] Fix bootm to work on powerpc again (compressed uImage)

2013-06-28 Thread Stefan Roese
On 06/28/2013 03:03 PM, Tom Rini wrote: >> Patch 35fc84fa1 [Refactor the bootm command to reduce code duplication] >> breaks booting Linux (compressed uImage with fdt) on powerpc. >> >> boot_jump_linux() mustn't be called before boot_prep_linux() and >> boot_body_linux() have been called. So remove

Re: [U-Boot] [PATCH v5 2/2] vf610twr: Remove SoC name from U-Boot prompt

2013-06-28 Thread Andy Voltz
On Fri, Jun 28, 2013 at 08:53:00AM -0400, Otavio Salvador wrote: > We've been dropping SoC name from U-Boot prompt as it increase > complexity for automatic testing and makes line longer for no good > reason. > > Signed-off-by: Otavio Salvador Tested-by: Andy Voltz -- Andy Voltz Timesys Corpo

Re: [U-Boot] [PATCH v5 1/2] vf610twr: Add default environment in line with other Freescale boards

2013-06-28 Thread Andy Voltz
On Fri, Jun 28, 2013 at 08:52:59AM -0400, Otavio Salvador wrote: > This adds a default environment which should be able to support both > 3.0.15 from Timesys and upcoming 3.11. > > Signed-off-by: Otavio Salvador > --- I boot tested these patches using a yocto build. With our kernel I interrupted

Re: [U-Boot] [PATCH] Fix bootm to work on powerpc again (compressed uImage)

2013-06-28 Thread Tom Rini
On Fri, Jun 28, 2013 at 10:02:03AM +0200, Stefan Roese wrote: > Patch 35fc84fa1 [Refactor the bootm command to reduce code duplication] > breaks booting Linux (compressed uImage with fdt) on powerpc. > > boot_jump_linux() mustn't be called before boot_prep_linux() and > boot_body_linux() have bee

[U-Boot] [PATCH v5 1/2] vf610twr: Add default environment in line with other Freescale boards

2013-06-28 Thread Otavio Salvador
This adds a default environment which should be able to support both 3.0.15 from Timesys and upcoming 3.11. Signed-off-by: Otavio Salvador --- Changes in v5: - remove mem=128M param (Alison/Andy/Fabio) Changes in v4: - revert sys text address change (Alison) - add mem=128M to bootargs/netargs (A

[U-Boot] [PATCH v5 2/2] vf610twr: Remove SoC name from U-Boot prompt

2013-06-28 Thread Otavio Salvador
We've been dropping SoC name from U-Boot prompt as it increase complexity for automatic testing and makes line longer for no good reason. Signed-off-by: Otavio Salvador --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None include/configs/vf610twr.h | 2 +- 1 file

Re: [U-Boot] [PATCH v4 1/2] vf610twr: Add default environment in line with other Freescale boards

2013-06-28 Thread Fabio Estevam
On Fri, Jun 28, 2013 at 9:48 AM, Andy Voltz wrote: > It probably makes the most sense to just drop mem arg from the environment, > and > then we can patch our kernel to fix the memory setup issue. Agreed, Andy. Thanks, Fabio Estevam ___ U-Boot maili

Re: [U-Boot] [PATCH v4 1/2] vf610twr: Add default environment in line with other Freescale boards

2013-06-28 Thread Fabio Estevam
On Fri, Jun 28, 2013 at 9:48 AM, Andy Voltz wrote: > Hi Fabio, > > On Thu, Jun 27, 2013 at 10:14:40PM -0400, Fabio Estevam wrote: >> On Thu, Jun 27, 2013 at 11:12 PM, Otavio Salvador >> wrote: >> >> >> Just curious: why do we need to pass mem=128M? >> > >> > Board fails to boot otherwise ... Andy

Re: [U-Boot] [PATCH v4 1/2] vf610twr: Add default environment in line with other Freescale boards

2013-06-28 Thread Otavio Salvador
On Fri, Jun 28, 2013 at 9:48 AM, Andy Voltz wrote: > Hi Fabio, > > On Thu, Jun 27, 2013 at 10:14:40PM -0400, Fabio Estevam wrote: >> On Thu, Jun 27, 2013 at 11:12 PM, Otavio Salvador >> wrote: >> >> >> Just curious: why do we need to pass mem=128M? >> > >> > Board fails to boot otherwise ... Andy

Re: [U-Boot] [PATCH v4 1/2] vf610twr: Add default environment in line with other Freescale boards

2013-06-28 Thread Andy Voltz
Hi Fabio, On Thu, Jun 27, 2013 at 10:14:40PM -0400, Fabio Estevam wrote: > On Thu, Jun 27, 2013 at 11:12 PM, Otavio Salvador > wrote: > > >> Just curious: why do we need to pass mem=128M? > > > > Board fails to boot otherwise ... Andy did try it so he can explain it > > with more detail. > > Hm

Re: [U-Boot] [PATCH v4 1/2] vf610twr: Add default environment in line with other Freescale boards

2013-06-28 Thread Fabio Estevam
On Fri, Jun 28, 2013 at 5:59 AM, Wang Huan-B18965 wrote: > [Alison Wang] mem=128M is not needed with the latest kernel. Thanks for confirming, Alison. Could you please test Otavio's patch? ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx

Re: [U-Boot] [PATCH v4 1/2] vf610twr: Add default environment in line with other Freescale boards

2013-06-28 Thread Otavio Salvador
On Fri, Jun 28, 2013 at 5:59 AM, Wang Huan-B18965 wrote: > > >> -Original Message- >> From: Fabio Estevam [mailto:feste...@gmail.com] >> Sent: Friday, June 28, 2013 10:15 AM >> To: Otavio Salvador >> Cc: Andy Voltz; U-Boot Mailing List; Estevam Fabio-R49496; Stefano >> Babic; Wang Huan-B18

Re: [U-Boot] [PATCH 1/1] socfpga: Consolidating reset code into reset_manager.c. Also separating reset configuration for virtual target and real hardware Cyclone V development kit

2013-06-28 Thread Pavel Machek
Hi! > socfpga: Consolidating reset code into reset_manager.c. Also separating > reset configuration for virtual target and real hardware Cyclone V > development kit > > Signed-off-by: Chin Liang See > +++ b/arch/arm/cpu/armv7/socfpga/reset_manager.c > @@ -0,0 +1,50 @@ > +/* > + * Copyright Al

Re: [U-Boot] [PATCH 1/1] socfpga: Adding System Manager driver which will configure the pin mux for real hardware Cyclone V

2013-06-28 Thread Pavel Machek
Hi! > socfpga: Adding System Manager driver which will configure the pin mux > for real hardware Cyclone V development kit (not Virtual Platform) > > Signed-off-by: Chin Liang See > diff --git a/arch/arm/cpu/armv7/socfpga/system_manager.c > b/arch/arm/cpu/armv7/socfpga/system_manager.c > new f

Re: [U-Boot] [PATCH1/1] socfpga: Separating the configuration file for Virtual Target and real hardware Cyclone V development kit

2013-06-28 Thread Pavel Machek
Hi! > socfpga: Separating the configuration file for Virtual Target and > real hardware Cyclone V development kit > > Signed-off-by: Chin Liang See > --- > include/configs/socfpga_cyclone5.h | 28 +--- > 1 files changed, 21 insertions(+), 7 deletions(-) > > diff --gi

Re: [U-Boot] [PATCH v2] exynos5250: move board specific configs to board specific config file

2013-06-28 Thread Inderpal Singh
Hi Simon, On 20 June 2013 12:40, Inderpal Singh wrote: > Hi Simon, > > Thanks for review. > > > On 11 June 2013 19:57, Simon Glass wrote: > >> Hi, >> >> On Fri, Jun 7, 2013 at 4:56 AM, Inderpal Singh > > wrote: >> >>> Not all boards based on exynos5250 have SPI flash, same serial port and >>>

Re: [U-Boot] [PATCH v3 1/2] console: usbkbd: Improve TFTP booting performance

2013-06-28 Thread Jim Lin
On Fri, 2013-06-28 at 13:09 +0800, Stephen Warren wrote: > On 06/27/2013 09:59 PM, Jim Lin wrote: > > On Fri, 2013-06-28 at 02:20 +0800, Stephen Warren wrote: > >> On 06/27/2013 03:45 AM, Jim Lin wrote: > >>> TFTP booting is observed a little bit slow, especially when a USB > >>> keyboard is instal

[U-Boot] [PATCH] powerpc/srio-pcie-boot: Avoid the NOR_BOOT macro when boot from SRIO/PCIE

2013-06-28 Thread Liu Gang
When a board (slave) boots from SRIO/PCIE, it would get the instructions from a remote board (master) by SRIO/PCIE interface, and the slave's u-boot image should be built with the SYS_TEXT_BASE=0xFFF8; So the u-boot of the slave should avoid the NOR_BOOT branch at the booting stage.

Re: [U-Boot] [PATCH] powerpc/mpc85xx:Disable Debug TLB entry for non-minimal SPL

2013-06-28 Thread Prabhakar Kushwaha
On 06/27/2013 12:36 AM, Scott Wood wrote: On 06/25/2013 11:09:04 PM, Prabhakar Kushwaha wrote: On 06/25/2013 08:38 PM, Scott Wood wrote: On 06/25/2013 12:03:56 AM, Prabhakar Kushwaha wrote: CONFIG_SPL_BUILD creates debug TLB entry, so disable it before init_tlbs. CONFIG_SPL_INIT_MINIMAL neve

Re: [U-Boot] [PATCH v4 1/2] vf610twr: Add default environment in line with other Freescale boards

2013-06-28 Thread Wang Huan-B18965
> -Original Message- > From: Fabio Estevam [mailto:feste...@gmail.com] > Sent: Friday, June 28, 2013 10:15 AM > To: Otavio Salvador > Cc: Andy Voltz; U-Boot Mailing List; Estevam Fabio-R49496; Stefano > Babic; Wang Huan-B18965 > Subject: Re: [U-Boot] [PATCH v4 1/2] vf610twr: Add default e

Re: [U-Boot] [PULL] u-boot-pxa/master

2013-06-28 Thread Albert ARIBAUD
Hi Marek, On Sat, 22 Jun 2013 15:26:21 +0200, Marek Vasut wrote: > The following changes since commit fbf87b1823dd5ebc2a384711ea2c677543019ece: > > arm: optimize relocate_code routine (2013-06-21 23:05:50 +0200) > > are available in the git repository at: > > git://git.denx.de/u-boot-pxa.

Re: [U-Boot] [PATCH] mkimage: Build signing only if board has CONFIG_FIT_SIGNATURE

2013-06-28 Thread Lubomir Popov
Hi Simon, On 28/06/13 10:02, Andreas Bießmann wrote: > Hi Simon, > > On 28.06.13 08:52, Simon Glass wrote: >> Hi Andreas, >> >> On Thu, Jun 27, 2013 at 11:48 PM, Andreas Bießmann >> mailto:andreas.de...@googlemail.com>> wrote: > > > >> > +# TODO(s...@chromium.org

[U-Boot] [PATCH] Fix bootm to work on powerpc again (compressed uImage)

2013-06-28 Thread Stefan Roese
Patch 35fc84fa1 [Refactor the bootm command to reduce code duplication] breaks booting Linux (compressed uImage with fdt) on powerpc. boot_jump_linux() mustn't be called before boot_prep_linux() and boot_body_linux() have been called. So remove the superfluous call to boot_jump_linux() in arch/pow

Re: [U-Boot] [PATCH] bootm: Disable interrupts before loading OS

2013-06-28 Thread Stefan Roese
On 06/28/2013 09:46 AM, Simon Glass wrote: > This restores the ordering of interrupt disable to what it what before > commit 35fc84fa. It seems that on some archiectures (e.g. PowerPC) the > OS is loaded into an interrupt region, which can cause problems if > interrupts are still running. > > Sign

Re: [U-Boot] [PATCH 6/7 v6] nand: tpl : introduce the TPL based on the SPL

2013-06-28 Thread Zhang Ying-B40530
-Original Message- From: Wood Scott-B07421 Sent: Thursday, June 27, 2013 6:33 AM To: Zhang Ying-B40530 Cc: u-boot@lists.denx.de; aflem...@gmail.com; Xie Xiaobo-R63061; Zhang Ying-B40530 Subject: Re: [PATCH 6/7 v6] nand: tpl : introduce the TPL based on the SPL On 06/26/2013 02:18:31 AM

Re: [U-Boot] [PATCH v2 15/21] Refactor the bootm command to reduce code duplication

2013-06-28 Thread Simon Glass
Hi Stefan, On Fri, Jun 28, 2013 at 12:12 AM, Simon Glass wrote: > Hi Stefan, > > On Fri, Jun 28, 2013 at 12:04 AM, Stefan Roese wrote: > >> On 06/28/2013 08:58 AM, Simon Glass wrote: >> > One idea: It might have something to do with the interrupt >> disabling, as >> > powerpc compresses

[U-Boot] [PATCH 1/2] Revert "Add a 'fake' go command to the bootm command"

2013-06-28 Thread Simon Glass
This reverts commit d0ae31eb0714a8b44dcdb644f8b68dafdbc1c197. Signed-off-by: Simon Glass --- common/cmd_bootm.c | 19 ++- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index ba0bcd4..0cd9cc3 100644 --- a/common/cmd_bootm.c

[U-Boot] [PATCH 2/2] Revert "Refactor the bootm command to reduce code duplication"

2013-06-28 Thread Simon Glass
This reverts commit 35fc84fa1ff51e15ecd3e464dac87eb105ffed30. This bootm refactor breaks bootm on some boards, and the cause is as yet unknown. The changes to image.h are left alone. We may need to apply this until the bootm problem is understood and I have some more automated tests. Hopefully th

[U-Boot] [PATCH v2 2/2] cmd_sf: "sf update" preserve the final part of the last sector

2013-06-28 Thread Gerlando Falauto
Since "sf update" erases the last block as a whole, but only rewrites the meaningful initial part of it, the rest would be left erased, potentially erasing meaningful information. So, as a safety measure, have it rewrite the original content. Signed-off-by: Gerlando Falauto Cc: Valentin Longchamp

[U-Boot] [PATCH v2 0/2] SPI flash update command

2013-06-28 Thread Gerlando Falauto
Hi, this patchset allows "sf update" to erase+write a number of bytes which is not a multiple of the sector size. Start address must still be sector-aligned though. The first patch trivially makes it such it will always erase an entire sector before writing, regardless of the amount of data to w

[U-Boot] [PATCH v2 1/2] cmd_sf: let "sf update" erase last sector as a whole

2013-06-28 Thread Gerlando Falauto
make "sf update" work with unaligned `len' parameter, by deleting the whole last sector before writing, so to allow for: sf update ${load_addr_r} 0 ${filesize} Signed-off-by: Gerlando Falauto Cc: Valentin Longchamp Cc: Holger Brunck Acked-by: Simon Glass --- common/cmd_sf.c |3 ++- 1 fi

[U-Boot] [PATCH] bootm: Disable interrupts before loading OS

2013-06-28 Thread Simon Glass
This restores the ordering of interrupt disable to what it what before commit 35fc84fa. It seems that on some archiectures (e.g. PowerPC) the OS is loaded into an interrupt region, which can cause problems if interrupts are still running. Signed-off-by: Simon Glass --- common/cmd_bootm.c | 53 ++

Re: [U-Boot] [PATCH v2 15/21] Refactor the bootm command to reduce code duplication

2013-06-28 Thread Simon Glass
Hi Stefan, On Fri, Jun 28, 2013 at 12:04 AM, Stefan Roese wrote: > On 06/28/2013 08:58 AM, Simon Glass wrote: > > One idea: It might have something to do with the interrupt > disabling, as > > powerpc compresses to 0. And thats the location of the interrupt > vectors > > (timer?). Ju

Re: [U-Boot] [PATCH] mkimage: Build signing only if board has CONFIG_FIT_SIGNATURE

2013-06-28 Thread Simon Glass
Hi Andreas, On Fri, Jun 28, 2013 at 12:02 AM, Andreas Bießmann < andreas.de...@googlemail.com> wrote: > Hi Simon, > > On 28.06.13 08:52, Simon Glass wrote: > > Hi Andreas, > > > > On Thu, Jun 27, 2013 at 11:48 PM, Andreas Bießmann > > mailto:andreas.de...@googlemail.com>> > wrote: > > > > >

[U-Boot] [PATCH] lib/rsa/rsa-sig.c: compile on OS X

2013-06-28 Thread Andreas Bießmann
Interfaces exposed by error.h seems not to be used in rsa-sig.c, remove it. This also fixes an compile error on OS X: ---8<--- u-boot/lib/rsa/rsa-sign.c:23:19: error: error.h: No such file or directory --->8--- Signed-off-by: Andreas Bießmann --- At least rsa-sig compiles with this change on OS

  1   2   >