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

2014-09-17 Thread Nikita Kiryanov
Hi Albert, On 16/09/14 17:38, Albert ARIBAUD wrote: Hi Stefano, On Fri, 12 Sep 2014 16:03:15 +0200, Stefano Babic wrote: Hi Albert, please pull from u-boot-imx, thanks ! The board cm_fx6 cannot be built due to a couple of missing patches that are already merged into u-boot-spi. Please igno

Re: [U-Boot] [PATCH v2 2/3] tools: Import Kconfiglib (Superseded !!!)

2014-09-17 Thread Ulf Magnusson
I personally mostly care about Kconfiglib being useful to people. I'm open to suggestions if the current license in any way gets in the way of that. :) (I'm not subscribed to the mailing list, so you might have to forward the reply there.) /Ulf On Wed, Sep 17, 2014 at 2:48 AM, Tom Rini wrote:

Re: [U-Boot] [PATCH v2 04/11] initcall: Display error number when an error occurs

2014-09-17 Thread Igor Grinberg
Hi Simon, On 09/17/14 06:51, Simon Glass wrote: > Now that some initcall functions return a useful error number, display it > when something goes wrong. > > Signed-off-by: Simon Glass This is a great addition! Thanks! Acked-by: Igor Grinberg -- Regards, Igor. ___

[U-Boot] [PATCH] usb: gadget: fastboot: improve download progress bar

2014-09-17 Thread Bo Shen
When download is ongoing, if the actual size of one transfer is not the same as BTYES_PER_DOT, which will cause the dot won't print anymore. Then it will let the user thinking it is stuck, actually it is transfering without dot printed. So, improve the method to show the progress bar (print dot).

[U-Boot] [PATCH 2/3] arm: goni: update SDRAM memory layout

2014-09-17 Thread Robert Baldyga
According to changes in memory configuration in first stage bootloader, we change PHYS_SDRAM_1 from 0x3000 to 0x2000. This change revealed problem in memory handling at goni platform, so this patch fix this problem by changing CONFIG_SYS_SDRAM_BASE to 0x4000. So far SDRAM base was set

[U-Boot] [PATCH 0/3] Fixes and updates for goni platform

2014-09-17 Thread Robert Baldyga
This patchset modifies goni platform configuration to make it working with latest version of first stage bootloader. There were some memory controller configuraion modifications, so we update SDRAM memory base, memory banks and environmental variables to be correct with new memory layout. As descr

[U-Boot] [PATCH 1/3] arm: goni: make board generic

2014-09-17 Thread Robert Baldyga
Define CONFIG_SYS_GENERIC_BOARD to make board generic. Signed-off-by: Robert Baldyga --- include/configs/s5p_goni.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index a51215d..82bd212 100644 --- a/include/configs/s5p_goni.h +++ b/inc

[U-Boot] [PATCH 3/3] arm: goni: update environmental variables

2014-09-17 Thread Robert Baldyga
According to changes in memory configuration in first stage bootloader, memory in address range 0x3000-0x3500 is no longer available. It has moved to 0x2000-0x2500 to make DRAM base for kernel the same as in another platforms based on s5pv210 SoC. Because this memory bank is not cu

Re: [U-Boot] [PATCH] imx: Fix warning by building vf610twr_nand

2014-09-17 Thread Stefano Babic
Hi Alison, On 17/09/2014 08:03, Huan Wang wrote: > Hi, Stefano, > > I agree with this patch. Thanks. > ok. This means I can add your Acked-by to the patch: Acked-by: Alison Wang By the way, your registered e-mail into U-Boot tree (board/freescale/vf610twr/MAINTAINERS) is . If this is n

Re: [U-Boot] [PATCH] OMAP4: Use generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage'.

2014-09-17 Thread Guillaume Gardet
Ping. Le 05/09/2014 15:32, Guillaume GARDET a écrit : This patch uses generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage' for OMAP4 boards. This allows to use EXT partition instead of FAT, while keeping FAT compa

Re: [U-Boot] [PATCH] am335x_evm: Add boot script support to am335x_evm

2014-09-17 Thread Guillaume Gardet
Ping. Guillaume Le 11/09/2014 09:23, Guillaume GARDET a écrit : This patch adds boot script support to am335x_evm Signed-off-by: Guillaume GARDET Cc: Tom Rini --- include/configs/am335x_evm.h | 29 ++--- 1 file changed, 18 insertions(+), 11 deletions(-) diff --gi

Re: [U-Boot] A minor question on a Driver Model function

2014-09-17 Thread Masahiro Yamada
Hi Igor, On Mon, 15 Sep 2014 11:04:20 +0300 Igor Grinberg wrote: > Hi, > > On 09/14/14 21:28, Simon Glass wrote: > > Hi Masahiro, > > > > On 12 September 2014 05:25, Masahiro Yamada > > wrote: > >> Hi Simon, > >> > >> > >> I have a qustion about lists_driver_lookup_name() function. > >> >

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

2014-09-17 Thread Albert ARIBAUD
Hi Stefano, On Tue, 16 Sep 2014 17:07:34 +0200, Stefano Babic wrote: > Hi Albert, > > On 16/09/2014 16:38, Albert ARIBAUD wrote: > > Hi Stefano, > > > > On Fri, 12 Sep 2014 16:03:15 +0200, Stefano Babic > > wrote: > > > >> Hi Albert, > >> > >> please pull from u-boot-imx, thanks ! > >> > >>

Re: [U-Boot] [PATCH] imx6: add Bachmann OT1200 board

2014-09-17 Thread Christian Gmeiner
Hi Stefano. Thanks for you review. I will send a V2 after the other patches I have send got reviewed too. > > On 09/09/2014 16:41, Christian Gmeiner wrote: >> This patch adds support for the OT1200 series of devices. >> >> Following components are used in u-boot: >> + ethernet >> + i2c >> + emmc

Re: [U-Boot] [PATCH v2 07/11] dm: imx: Add error checking to setup_i2c()

2014-09-17 Thread Igor Grinberg
Hi Simon, On 09/17/14 06:51, Simon Glass wrote: > Since this function can fail, check its return value. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Add new patch to add error checking to setup_i2c() > > arch/arm/imx-common/i2c-mxv7.c| 24 - > ar

[U-Boot] [PATCH] powerpc/t104xrdb: Disable DTSEC1 and DTSEC2 on T1042RDB

2014-09-17 Thread Vijay Rai
As the board was basically designed for T1040RDB so there are 5 DTSEC ports, DTSEC1 and DTSEC2 are connected to L2 switch and not usable in T1042 mode only 3 ports DTSEC3 to DTSEC5 are usable Signed-off-by: Vijay Rai Signed-off-by: Priyanka Jain --- board/freescale/t104xrdb/eth.c |2 +- dri

Re: [U-Boot] [PATCH v4 1/6] nand: denali: add Denali NAND driver for SPL

2014-09-17 Thread Masahiro Yamada
Hi Chin, On Mon, 15 Sep 2014 01:39:07 -0500 Chin Liang See wrote: > Hi Masahiro, > > On Fri, 2014-09-12 at 17:06 +0900, Masahiro Yamada wrote: > > > > > +/* nand_init() - initialize data to make nand usable by SPL */ > > > > +void nand_init(void) > > > > +{ > > > > + /* access to main a

[U-Boot] [PATCH] powerpc/t104xrdb: Enable SPI flash Extend address support

2014-09-17 Thread Hou Zhiqiang
Enable the Extend address to support SPI flash more than 16MB. Signed-off-by: Hou Zhiqiang --- Based on git://git.denx.de/u-boot.git. Also can be applied to git://www.denx.de/git/u-boot-mpc85xx.git. Tested on board T1040RDB. include/configs/T104xRDB.h | 1 + 1 file changed, 1 insertion(+) diff

Re: [U-Boot] [PATCH] usb: gadget: fastboot: improve download progress bar

2014-09-17 Thread Marek Vasut
On Wednesday, September 17, 2014 at 09:43:56 AM, Bo Shen wrote: +CC Lukasz, this is his turf. > When download is ongoing, if the actual size of one transfer > is not the same as BTYES_PER_DOT, which will cause the dot > won't print anymore. Then it will let the user thinking it > is stuck, actual

Re: [U-Boot] [PATCH] usb: gadget: fastboot: improve download progress bar

2014-09-17 Thread Bo Shen
Hi Marek, On 09/17/2014 06:10 PM, Marek Vasut wrote: On Wednesday, September 17, 2014 at 09:43:56 AM, Bo Shen wrote: +CC Lukasz, this is his turf. When download is ongoing, if the actual size of one transfer is not the same as BTYES_PER_DOT, which will cause the dot won't print anymore. Then

[U-Boot] [PATCH] powerpc/mpc85xx: SECURE BOOT - Bypass PAMU in case of secure boot

2014-09-17 Thread Ruchika Gupta
By default, PAMU's (IOMMU) are enabled in case of secure boot. Disable/bypass them , once the control reached the bootloader. For non-secure boot, PAMU's are already bypassed in the default SoC configuration Signed-off-by: Ruchika Gupta CC: York Sun --- arch/powerpc/cpu/mpc85xx/cpu_init.c |

[U-Boot] [PATCH] t104xrdb: Add Errata A_007662, A_008007 workaround in pbi.cfg

2014-09-17 Thread Priyanka Jain
-A_007662 states that for x1 link width, PCIe2 controller trains in Gen1 speed while configured for Gen2 speed. Workaround:Set the width to x1 and speed to Gen2 by writing to CCSR registers in PBI phase -A_008007 states that PVR register may show random value. Workaround: Reset PVR register us

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-17 Thread Chin Liang See
On Wed, 2014-09-17 at 01:52 +0200, ma...@denx.de wrote: > On Wednesday, September 17, 2014 at 12:29:54 AM, Dinh Nguyen wrote: > > [...] > > > >> Yes, tracked it down to get_ram_size(). I forced gd->ram_size to 1GB and > > >> it works fine for me now. I'll try to spend some cycles to debug the > >

Re: [U-Boot] [PATCH v2 2/3] tools: Import Kconfiglib (Superseded !!!)

2014-09-17 Thread Tom Rini
On Wed, Sep 17, 2014 at 04:48:09AM +0200, Ulf Magnusson wrote: > I personally mostly care about Kconfiglib being useful to people. I'm open > to suggestions if the current license in any way gets in the way of that. :) > > (I'm not subscribed to the mailing list, so you might have to forward the

Re: [U-Boot] [PATCH] usb: gadget: fastboot: improve download progress bar

2014-09-17 Thread Marek Vasut
On Wednesday, September 17, 2014 at 12:28:57 PM, Bo Shen wrote: > Hi Marek, > > On 09/17/2014 06:10 PM, Marek Vasut wrote: > > On Wednesday, September 17, 2014 at 09:43:56 AM, Bo Shen wrote: > > > > +CC Lukasz, this is his turf. > > > >> When download is ongoing, if the actual size of one transf

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-17 Thread Chin Liang See
On Mon, 2014-09-15 at 13:05 +0200, ma...@denx.de wrote: > This entire RFC series is the first stab at making SoCFPGA usable with > mainline U-Boot again. There are still some bits missing, but in general, > this allows me to use mainline U-Boot on my SoCFPGA systems. The big > missing part is the S

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-17 Thread Marek Vasut
On Wednesday, September 17, 2014 at 01:29:15 PM, Chin Liang See wrote: [...] > A quick test from my side and result as below: > > 1. SDRAM access is working where I can read and write to few spots. :) > > SOCFPGA_CYCLONE5 # md 0 > :

Re: [U-Boot] u-boot-socfpga repository

2014-09-17 Thread Chin Liang See
On Tue, 2014-09-16 at 11:56 +0200, ZY - pavel wrote: > Hi! > > > > I'd be interested in maintaining u-boot-socfpga repository. So far, we > > > don't > > > have a repo for this platform and there is a large flurry of patches > > > flying > > > around without any kind of central point for them. I

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-17 Thread Chin Liang See
On Wed, 2014-09-17 at 13:52 +0200, ma...@denx.de wrote: > On Wednesday, September 17, 2014 at 01:29:15 PM, Chin Liang See wrote: > [...] > > A quick test from my side and result as below: > > > > 1. SDRAM access is working where I can read and write to few spots. :) > > > > SOCFPGA_CYCLONE5 # md

Re: [U-Boot] [PATCH v4 1/6] nand: denali: add Denali NAND driver for SPL

2014-09-17 Thread Chin Liang See
Hi Masahiro, On Wed, 2014-09-17 at 18:09 +0900, Masahiro Yamada wrote: > Hi Chin, > > > On Mon, 15 Sep 2014 01:39:07 -0500 > Chin Liang See wrote: > > > Hi Masahiro, > > > > On Fri, 2014-09-12 at 17:06 +0900, Masahiro Yamada wrote: > > > > > > > +/* nand_init() - initialize data to make nand

Re: [U-Boot] [PATCH v2 08/11] dm: imx: Use gpio_request() to request GPIOs

2014-09-17 Thread Igor Grinberg
Hi Simon, On 09/17/14 06:51, Simon Glass wrote: > GPIOs should be requested before use. Without this, driver model will not > permit the GPIO to be used. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Check return values of gpio_request() > > arch/arm/imx-common/i2c-mxv7.c | 24 +

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-17 Thread Marek Vasut
On Wednesday, September 17, 2014 at 02:00:42 PM, Chin Liang See wrote: > On Wed, 2014-09-17 at 13:52 +0200, ma...@denx.de wrote: > > On Wednesday, September 17, 2014 at 01:29:15 PM, Chin Liang See wrote: > > [...] > > > > > A quick test from my side and result as below: > > > > > > 1. SDRAM acces

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-17 Thread Marek Vasut
On Wednesday, September 17, 2014 at 01:07:29 PM, Chin Liang See wrote: > On Wed, 2014-09-17 at 01:52 +0200, ma...@denx.de wrote: > > On Wednesday, September 17, 2014 at 12:29:54 AM, Dinh Nguyen wrote: > > > > [...] > > > > > >> Yes, tracked it down to get_ram_size(). I forced gd->ram_size to 1GB

[U-Boot] [PATCH 0/2] Abolish MIN, MAX, MIN3, MAX

2014-09-17 Thread Masahiro Yamada
Masahiro Yamada (2): cosmetic: replace MIN, MAX with min, max common.h: remove MIN, MAX, MIN3, MAX3 macros arch/arm/cpu/arm1176/tnetv107x/clock.c | 2 +- arch/arm/cpu/armv7/mx6/ddr.c | 40 +- arch/x86/lib/physmem.c | 4 ++-- board

[U-Boot] [PATCH 1/2] cosmetic: replace MIN, MAX with min, max

2014-09-17 Thread Masahiro Yamada
The macro MIN, MAX is defined as the aliase of min, max, respectively. Signed-off-by: Masahiro Yamada --- arch/arm/cpu/arm1176/tnetv107x/clock.c | 2 +- arch/arm/cpu/armv7/mx6/ddr.c | 40 +- arch/x86/lib/physmem.c | 4 ++-- board/frees

[U-Boot] [PATCH 2/2] common.h: remove MIN, MAX, MIN3, MAX3 macros

2014-09-17 Thread Masahiro Yamada
Now MIN, MAX, MIN3, MAX are not used. Going forward, use min, max, min3, max3. Signed-off-by: Masahiro Yamada --- include/common.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/include/common.h b/include/common.h index 97c04df..d5020c8 100644 --- a/include/common.h +++ b/include/comm

[U-Boot] [PATCH] compulab: eeprom: add default eeprom bus

2014-09-17 Thread Nikita Kiryanov
Add default eeprom bus setting. This addresses the trimslice compile error that was introduced with the addition of this setting. Cc: Albert ARIBAUD Cc: Igor Grinberg Signed-off-by: Nikita Kiryanov --- board/compulab/common/eeprom.c | 4 1 file changed, 4 insertions(+) diff --git a/board

Re: [U-Boot] [PATCH v2 09/11] dm: imx: gpio: Support driver model in MXC gpio driver

2014-09-17 Thread Igor Grinberg
On 09/17/14 06:51, Simon Glass wrote: > Add driver model support with this driver. In this case the platform data > is in the driver. It would be better to put this into an SOC-specific file, > but this is best attempted when more boards are moved over to use driver > model. > > Signed-off-by: Sim

Re: [U-Boot] [PATCH v2 11/11] dm: imx: Move cm_fx6 to use driver model for serial and GPIO

2014-09-17 Thread Igor Grinberg
On 09/17/14 06:51, Simon Glass wrote: > Now that serial and GPIO are available for iMX.6, move cm_fx6 over as an > example. > > Signed-off-by: Simon Glass Thanks for doing this. Acked-by: Igor Grinberg > --- > > Changes in v2: > - Use the correct namespace for the platform data > > board/c

[U-Boot] Gigabit support in UBOOT

2014-09-17 Thread sreejugr
Hi, I'm using an ARM 922 based board. It has gigabit ethernet support only. U-Boot Version used : U-Boot 2009.03 Problem faced: Unable to ping from my board. The terminal ends up with showing the Hardware address only. It's NOT showing if the IP address is alive or not. On debugging I found th

Re: [U-Boot] A minor question on a Driver Model function

2014-09-17 Thread Igor Grinberg
On 09/17/14 11:18, Masahiro Yamada wrote: > Hi Igor, > > > > On Mon, 15 Sep 2014 11:04:20 +0300 > Igor Grinberg wrote: > >> Hi, >> >> On 09/14/14 21:28, Simon Glass wrote: >>> Hi Masahiro, >>> >>> On 12 September 2014 05:25, Masahiro Yamada >>> wrote: Hi Simon, I have a q

Re: [U-Boot] [PATCH v2 07/11] dm: imx: Add error checking to setup_i2c()

2014-09-17 Thread Simon Glass
Hi Igor, On 17 September 2014 02:37, Igor Grinberg wrote: > Hi Simon, > > On 09/17/14 06:51, Simon Glass wrote: > > Since this function can fail, check its return value. > > > > Signed-off-by: Simon Glass > > --- > > > > Changes in v2: > > - Add new patch to add error checking to setup_i2c() >

Re: [U-Boot] [PATCH v2 08/11] dm: imx: Use gpio_request() to request GPIOs

2014-09-17 Thread Simon Glass
Hi Igor, On 17 September 2014 06:13, Igor Grinberg wrote: > Hi Simon, > > On 09/17/14 06:51, Simon Glass wrote: > > GPIOs should be requested before use. Without this, driver model will not > > permit the GPIO to be used. > > > > Signed-off-by: Simon Glass > > --- > > > > Changes in v2: > > - C

Re: [U-Boot] [PATCH v2 09/11] dm: imx: gpio: Support driver model in MXC gpio driver

2014-09-17 Thread Simon Glass
Hi Igor, On 17 September 2014 07:00, Igor Grinberg wrote: > On 09/17/14 06:51, Simon Glass wrote: > > Add driver model support with this driver. In this case the platform data > > is in the driver. It would be better to put this into an SOC-specific > file, > > but this is best attempted when mo

Re: [U-Boot] [PATCH 00/35][RFC] arm: socfpga: Usability fixes

2014-09-17 Thread Wolfgang Denk
Dear Chin Liang See, In message <1410952049.7769.11.ca...@clsee-virtualbox.altera.com> you wrote: > > Hmmm... actually I can get it works well for my Altera dev kit. The > get_dram_size would take in the argument PHYS_SDRAM_1_SIZE. From here, > the function will ensure the memory specified can rea

Re: [U-Boot] [PATCH] compulab: eeprom: add default eeprom bus

2014-09-17 Thread Igor Grinberg
On 09/17/14 15:59, Nikita Kiryanov wrote: > Add default eeprom bus setting. > This addresses the trimslice compile error that was introduced > with the addition of this setting. > > Cc: Albert ARIBAUD > Cc: Igor Grinberg > Signed-off-by: Nikita Kiryanov Acked-by: Igor Grinberg Albert, this s

Re: [U-Boot] [PATCH v2 07/11] dm: imx: Add error checking to setup_i2c()

2014-09-17 Thread Igor Grinberg
Hi Simon, On 09/17/14 16:56, Simon Glass wrote: > Hi Igor, > > On 17 September 2014 02:37, Igor Grinberg > wrote: > > Hi Simon, > > On 09/17/14 06:51, Simon Glass wrote: > > Since this function can fail, check its return value. > > > > Signed

Re: [U-Boot] [PATCH v2 08/11] dm: imx: Use gpio_request() to request GPIOs

2014-09-17 Thread Igor Grinberg
On 09/17/14 17:00, Simon Glass wrote: > Hi Igor, > > On 17 September 2014 06:13, Igor Grinberg > wrote: > > Hi Simon, > > On 09/17/14 06:51, Simon Glass wrote: > > GPIOs should be requested before use. Without this, driver model will > not > > pe

Re: [U-Boot] [PATCH v2 09/11] dm: imx: gpio: Support driver model in MXC gpio driver

2014-09-17 Thread Igor Grinberg
On 09/17/14 17:03, Simon Glass wrote: > Hi Igor, > > On 17 September 2014 07:00, Igor Grinberg > wrote: > > On 09/17/14 06:51, Simon Glass wrote: > > Add driver model support with this driver. In this case the platform > data > > is in the driver. It

Re: [U-Boot] [PATCH v2 08/11] dm: imx: Use gpio_request() to request GPIOs

2014-09-17 Thread Simon Glass
Hi Igor, On 17 September 2014 08:31, Igor Grinberg wrote: > On 09/17/14 17:00, Simon Glass wrote: > > Hi Igor, > > > > On 17 September 2014 06:13, Igor Grinberg > wrote: > > > > Hi Simon, > > > > On 09/17/14 06:51, Simon Glass wrote: > > > GPIOs shoul

[U-Boot] [PATCH v3 0/11] dm: imx: Add driver model support for GPIO and serial on cm_fx6

2014-09-17 Thread Simon Glass
This series adjusts the IMX serial and GPIO drivers to support driver model. As an example of its use, the recently-added cm_fx6 board is converted over to driver model. Some minor driver model core changed are required to make this work and these are included with this series. Changes in v3: - A

[U-Boot] [PATCH v3 03/11] dm: core: Allow device_bind() to used without CONFIG_OF_CONTROL

2014-09-17 Thread Simon Glass
The sequence number support in driver model requires device tree control. It should be skipped if CONFIG_OF_CONTROL is not defined, and should not require functions from fdtdec. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/core/device.c | 7 +-- 1 file cha

[U-Boot] [PATCH v3 01/11] dm: linker_lists: Add a way to declare multiple objects

2014-09-17 Thread Simon Glass
The existing ll_entry_declare() permits a single element of the list to be added to a linker list. Sometimes we want to add several objects at once. To avoid lots of messy declarations, add a macro to support this. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None include/

[U-Boot] [PATCH v3 02/11] dm: core: Allow a list of devices to be declared in one step

2014-09-17 Thread Simon Glass
The U_BOOT_DEVICE macro allows the declaration of a single U-Boot device. Add an equivalent macro to declare an array of devices, for convenience. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None include/dm/platdata.h | 4 1 file changed, 4 insertions(+) diff --git

[U-Boot] [PATCH v3 04/11] initcall: Display error number when an error occurs

2014-09-17 Thread Simon Glass
Now that some initcall functions return a useful error number, display it when something goes wrong. Signed-off-by: Simon Glass Acked-by: Igor Grinberg --- Changes in v3: None Changes in v2: - Add patch to display error number when an error occurs in initcall lib/initcall.c | 8 +--- 1 fi

[U-Boot] [PATCH v3 08/11] dm: imx: Use gpio_request() to request GPIOs

2014-09-17 Thread Simon Glass
GPIOs should be requested before use. Without this, driver model will not permit the GPIO to be used. Signed-off-by: Simon Glass --- Changes in v3: - Add a check for the Ethernet gpio_request() also - Add a comment for the CONFIG_SPL_BUILD #ifdef - Just warn when one of the board init stages fai

[U-Boot] [PATCH v3 07/11] imx: Add error checking to setup_i2c()

2014-09-17 Thread Simon Glass
Since this function can fail, check its return value. Signed-off-by: Simon Glass --- Changes in v3: - Just warn when one of the board init stages fails Changes in v2: - Add new patch to add error checking to setup_i2c() arch/arm/imx-common/i2c-mxv7.c| 24 ++--- arch/arm/in

[U-Boot] [PATCH v3 06/11] dm: serial: Put common code into separate functions

2014-09-17 Thread Simon Glass
Avoid duplicating the code which deals with getc() and putc(). It is fairly simple, but may expand later. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/serial/serial-uclass.c | 32 +--- 1 file changed, 17 insertions(+), 15 deletions(

[U-Boot] [PATCH v3 10/11] dm: imx: serial: Support driver model in the MXC serial driver

2014-09-17 Thread Simon Glass
Add driver model support with this driver. Boards which use this driver should define platform data in their board files. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/serial/serial_mxc.c | 170 +--- include/serial_mxc.h

[U-Boot] [PATCH v3 05/11] dm: serial: Don't require device tree to configure a console

2014-09-17 Thread Simon Glass
Allow serial_find_console_or_panic() to work without a device tree. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None drivers/serial/serial-uclass.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/serial/serial-uclass.c b/drivers/serial/serial

[U-Boot] [PATCH v3 11/11] dm: imx: Move cm_fx6 to use driver model for serial and GPIO

2014-09-17 Thread Simon Glass
Now that serial and GPIO are available for iMX.6, move cm_fx6 over as an example. Acked-by: Igor Grinberg Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Use the correct namespace for the platform data board/compulab/cm_fx6/cm_fx6.c | 10 ++ include/configs/cm_fx6.

[U-Boot] [PATCH v3 09/11] dm: imx: gpio: Support driver model in MXC gpio driver

2014-09-17 Thread Simon Glass
Add driver model support with this driver. In this case the platform data is in the driver. It would be better to put this into an SOC-specific file, but this is best attempted when more boards are moved over to use driver model. Signed-off-by: Simon Glass --- Changes in v3: - Use gpio_is_reques

Re: [U-Boot] A minor question on a Driver Model function

2014-09-17 Thread Bill Pringlemeir
> On 12 September 2014 05:25, Masahiro Yamada wrote: > I have a qustion about lists_driver_lookup_name() function. > for (entry = drv; entry != drv + n_ents; entry++) { > if (strncmp(name, entry->name, len)) > continue; > /* Full match */ > if (len == strlen(entry->name

[U-Boot] Running updated U-boot.img/u-boot.bin from already loaded u-boot shell

2014-09-17 Thread harsha kiran
Hi ! I am unable to load a different u-boot.img/u-boot.bin which is located in a different ext4 partition from the u-boot shell. Here are my observations. 1) i compiled a U-boot.img with a print statement(THIS IS A NEW U_BOOT) in (board_init) function in board.c file and placed it in the Boot par

Re: [U-Boot] Reading a text file from another FAT partition

2014-09-17 Thread harsha kiran
Hi ! I am sorry i should have been more specific. I am now able to load the file from a different partition and see in the memory. I do not see any commands in u-boot help to create a New file/ delete a file / Rename a file. Is there any support for these file operations from u-boot? Thanks, Hars

Re: [U-Boot] [PATCH] ARM: tegra: add PCIe-related pins to the Jetson TK1 pinmux tables

2014-09-17 Thread Stephen Warren
On 08/22/2014 03:04 PM, Stephen Warren wrote: From: Stephen Warren This pinmux tables currently omit any configuration for PCIe clk_req, wake, and rst pins, which in turn causes intermittent failures in U-Boot's PCIe support. Import an updated version of the pinmux tables which rectifies this.

Re: [U-Boot] [PATCH] ARM: tegra: add PCIe-related pins to the Jetson TK1 pinmux tables

2014-09-17 Thread Tom Warren
I take a look today. > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, September 17, 2014 9:17 AM > To: Tom Warren > Cc: u-boot@lists.denx.de; Simon Glass; Stephen Warren; Thierry Reding; > Tom Rini > Subject: Re: [U-Boot] [PATCH] ARM: tegra: add

Re: [U-Boot] Running updated U-boot.img/u-boot.bin from already loaded u-boot shell

2014-09-17 Thread Wolfgang Denk
Dear harsha kiran, In message <1410967834043-189648.p...@n7.nabble.com> you wrote: > > I am unable to load a different u-boot.img/u-boot.bin which is located in a > different ext4 partition from the u-boot shell. This is to be expected. U-Boot is supposed to start on a system coming directly ou

Re: [U-Boot] Reading a text file from another FAT partition

2014-09-17 Thread Wolfgang Denk
Dear harsha kiran, In message <1410968526130-189649.p...@n7.nabble.com> you wrote: > > I do not see any commands in u-boot help to create a New file/ delete a file > / Rename a file. Is there any support for these file operations from u-boot? No, there isn't. U-Boot is a boot loader, not a full

Re: [U-Boot] [PATCH] OMAP4: Use generic 'load' command instead of 'fatload' for 'loadbootscript' and 'loadbootenv' as already done for 'loadimage' and 'loaduimage'.

2014-09-17 Thread Tom Rini
On Wed, Sep 17, 2014 at 10:11:03AM +0200, Guillaume Gardet wrote: > Ping. Sorry, tracking down the boot regression sidetracked me from doing a u-boot-ti pull request after getting things into master, I'll be picking this (and your other patch, and a bunch of others) soon. -- Tom signature.asc

[U-Boot] [PATCH 0/3] Fixes for FreeBSD / clang

2014-09-17 Thread Jeroen Hofstee
- Some minor adjustments to the new compiler.h from linux. - Updated README for FreeBSD Jeroen Hofstee (3): compiler_gcc: do not redefine __gnu_attributes README.clang: update FreeBSD instructions compiler.h: remove duplicated uninitialized_var doc/README.clang | 6 +++--- inc

[U-Boot] [PATCH 2/3] README.clang: update FreeBSD instructions

2014-09-17 Thread Jeroen Hofstee
The mentioned binutils port got removed while the patch was pending. As Ian pointed out there is another port providing the binutils for arm now. Update the instructions accordingly. Cc: i...@freebsd.org Cc: Tom Rini Signed-off-by: Jeroen Hofstee --- doc/README.clang | 6 +++--- 1 file changed,

[U-Boot] [PATCH 1/3] compiler_gcc: do not redefine __gnu_attributes

2014-09-17 Thread Jeroen Hofstee
commit fb8ffd7cfc68b3dc44e182356a207d784cb30b34 "compiler*.h: sync include/linux/compiler*.h with Linux 3.16" undid the changes of 7ea50d52849fe8ffa5b5b74c979b60b1045d6fc9 "compiler_gcc: do not redefine __gnu_attributes". Add the checks back whether these macro's are already defined (as it causes a

[U-Boot] [PATCH 3/3] compiler.h: remove duplicated uninitialized_var

2014-09-17 Thread Jeroen Hofstee
Since clang has a different definition for uninitialized_var it will complain that it is redefined in include/compiler.h. Since these are already defined in linux/compiler.h just remove this instance. Cc: Masahiro Yamada Cc: Tom Rini Signed-off-by: Jeroen Hofstee --- This is only used in ubifs

[U-Boot] Need help with u-boot problem with usb-keyboard / kvm switch

2014-09-17 Thread Hans de Goede
Hi Marek, et al, I'm working on cleaning up Luc's hdmi out support patchset for sunxi. As part of this I want to also add support for usb keyboards, so as to get a full console without needing to solder wires to testpoints on some boards :) So when I plug in the usb coming from my kvm I get this

Re: [U-Boot] Need help with u-boot problem with usb-keyboard / kvm switch

2014-09-17 Thread Luc Verhaegen
On Wed, Sep 17, 2014 at 09:11:38PM +0200, Hans de Goede wrote: > Hi Marek, et al, > > I'm working on cleaning up Luc's hdmi out support patchset for > sunxi. ? Luc Verhaegen. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/lis

Re: [U-Boot] Need help with u-boot problem with usb-keyboard / kvm switch

2014-09-17 Thread Eric Nelson
Hi Hans, On 09/17/2014 12:11 PM, Hans de Goede wrote: > Hi Marek, et al, > > I'm working on cleaning up Luc's hdmi out support patchset for > sunxi. > > As part of this I want to also add support for usb keyboards, > so as to get a full console without needing to solder wires > to testpoints on

Re: [U-Boot] [PATCH] test: dfu: script: wrong md5sum on nand partitions

2014-09-17 Thread Scott Wood
On Mon, 2014-09-15 at 13:55 +0200, Lukasz Majewski wrote: > Hi Heiko, > > > Hello Lukasz, > > > > Am 15.09.2014 11:45, schrieb Lukasz Majewski: > > > The legacy dat_.img (e.g. dat_960.img) would be > > > truncated if needed in the script. > > > > > > This is a quick solution. > > > > Yes ... I d

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

2014-09-17 Thread Albert ARIBAUD
Hi Stefano, On Fri, 12 Sep 2014 16:03:15 +0200, Stefano Babic wrote: > Hi Albert, > > please pull from u-boot-imx, thanks ! > > The board cm_fx6 cannot be built due to a couple of missing patches that > are already merged into u-boot-spi. Please ignore this issue, the board > will be compiled

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

2014-09-17 Thread Albert ARIBAUD
Hi Tom, The following changes since commit a7f99bf139b3aaa0d5494693fd0395084355e41a: arm: Fix _start for CONFIG_SYS_DV_NOR_BOOT_CFG (2014-09-11 18:04:39 +0200) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to c292adae170fa8c27dca7

Re: [U-Boot] [U-Boot, PATCH v3 2/2] fastboot: Flash command support

2014-09-17 Thread Dileep Katta
Thanks for the review comments. Working on the fix. Regards, Dileep On 11 September 2014 13:42, Wolfgang Denk wrote: > > Dear Dileep Katta, > > In message <1410417650-16522-2-git-send-email-dileep.ka...@linaro.org> you > wrote: > > Flash command internally uses DFU, and Fastboot command initial

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

2014-09-17 Thread Tom Rini
On Wed, Sep 17, 2014 at 11:40:43PM +0200, Albert ARIBAUD wrote: > Hi Tom, > > The following changes since commit > a7f99bf139b3aaa0d5494693fd0395084355e41a: > > arm: Fix _start for CONFIG_SYS_DV_NOR_BOOT_CFG (2014-09-11 18:04:39 > +0200) > > are available in the git repository at: > > gi

Re: [U-Boot] [PATCH] kconfiglib: change SPDX-License-Identifier to ISC

2014-09-17 Thread Tom Rini
On Wed, Sep 17, 2014 at 01:37:45PM +0900, Masahiro Yamada wrote: > Commit f219e01311b2 (tools: Import Kconfiglib) > added SPDX GPL-2.0+ to this library by mistake. > It should be ISC. > > Signed-off-by: Masahiro Yamada > Cc: Ulf Magnusson Applied to u-boot/master, thanks! -- Tom signature.

Re: [U-Boot] [PATCH] usb: gadget: fastboot: improve download progress bar

2014-09-17 Thread Bo Shen
Hi Marek, On 09/17/2014 07:16 PM, Marek Vasut wrote: On Wednesday, September 17, 2014 at 12:28:57 PM, Bo Shen wrote: Hi Marek, On 09/17/2014 06:10 PM, Marek Vasut wrote: On Wednesday, September 17, 2014 at 09:43:56 AM, Bo Shen wrote: +CC Lukasz, this is his turf. When download is ongoing,

Re: [U-Boot] [PATCH 1/3] compiler_gcc: do not redefine __gnu_attributes

2014-09-17 Thread Masahiro Yamada
Jeroen, > commit fb8ffd7cfc68b3dc44e182356a207d784cb30b34 "compiler*.h: > sync include/linux/compiler*.h with Linux 3.16" undid the changes > of 7ea50d52849fe8ffa5b5b74c979b60b1045d6fc9 "compiler_gcc: do > not redefine __gnu_attributes". Add the checks back whether these > macro's are already defi

Re: [U-Boot] [PATCH 3/3] compiler.h: remove duplicated uninitialized_var

2014-09-17 Thread Masahiro Yamada
Jeroen, > Since clang has a different definition for uninitialized_var > it will complain that it is redefined in include/compiler.h. > Since these are already defined in linux/compiler.h just remove > this instance. > > Cc: Masahiro Yamada > Cc: Tom Rini > Signed-off-by: Jeroen Hofstee I

[U-Boot] [PATCH v2 2/2] common.h: remove MIN, MAX, MIN3, MAX3 macros

2014-09-17 Thread Masahiro Yamada
Now MIN, MAX, MIN3, MAX are not used. Going forward, use min, max, min3, max3. Signed-off-by: Masahiro Yamada --- Changes in v2: None include/common.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/include/common.h b/include/common.h index 97c04df..d5020c8 100644 --- a/include/common

[U-Boot] [PATCH v2 0/2] Abolish MIN, MAX, MIN3, MAX

2014-09-17 Thread Masahiro Yamada
Changes in v2: - Rebase on commit 9170818a4e004 Masahiro Yamada (2): cosmetic: replace MIN, MAX with min, max common.h: remove MIN, MAX, MIN3, MAX3 macros arch/arm/cpu/arm1176/tnetv107x/clock.c | 2 +- arch/arm/cpu/armv7/mx6/ddr.c | 40 +- arch/

[U-Boot] [PATCH v2 1/2] cosmetic: replace MIN, MAX with min, max

2014-09-17 Thread Masahiro Yamada
The macro MIN, MAX is defined as the aliase of min, max, respectively. Signed-off-by: Masahiro Yamada --- Changes in v2: - Rebase on commit 9170818a4e004 arch/arm/cpu/arm1176/tnetv107x/clock.c | 2 +- arch/arm/cpu/armv7/mx6/ddr.c | 40 +- arch/x86/l

Re: [U-Boot] [PATCH v2 2/2] doc: Use KBUILD_OUTPUT instead of BUILD_DIR

2014-09-17 Thread Masahiro Yamada
On Sun, 31 Aug 2014 21:20:31 +0530 Jagannadha Sutradharudu Teki wrote: > From: Jagannadha Sutradharudu Teki > > Now saving output files in a separate directory through > KBUILD_OUTPUT not with BUILD_DIR, so updated the documentation > accordingly. > > Signed-off-by: Jagannadha Sutradharudu Te

Re: [U-Boot] [linux-sunxi] Re: [PATCH 0/7] ARM: sunxi: Add basic support for Allwinner A31 (sun6i)

2014-09-17 Thread Siarhei Siamashka
On Tue, 09 Sep 2014 09:00:57 +0200 Hans de Goede wrote: > Hi, > > On 09/08/2014 03:28 PM, Chen-Yu Tsai wrote: > > Hi everyone, > > > > This series add basic support for Allwinner's A31 SoC. The patches, > > excluding the first one, were cherry-picked from u-boot-sunxi. Due to > > the difference

Re: [U-Boot] Email address of SPEAr custodian is not working

2014-09-17 Thread Masahiro Yamada
Hi On Tue, 16 Sep 2014 14:55:52 -0700 Viresh Kumar wrote: > Cc'ing Vipins new id. Thanks, Viresh! Vipin, could update MAINTAINERS board/spear/spear300/MAINTAINERS board/spear/spear600/MAINTAINERS board/spear/spear310/MAINTAINERS board/spear/spear320/MAINTAINERS and wiki page (http://www.d

[U-Boot] [PATCH 3/7] spl: Use u-boot.img instead of u-boot.bin when CONFIG_SPL_PBL_PAD is enabled

2014-09-17 Thread Alison Wang
In SD boot, the magic number of u-boot image will be checked. For LS102xA, u-boot.bin doesn't have the magic number. So use u-boot.img which includes the magic number instead of u-boot.bin when building u-boot-with-spl-pbl.bin. Signed-off-by: Alison Wang --- Makefile | 4 +++- 1 file changed, 3

[U-Boot] [PATCH 1/7] spl: pbl: Add new SPL image for pblimage tool

2014-09-17 Thread Alison Wang
For the pblimage tool, the SPL image is splitted into 64 byte chunks, and PBL needs a command for each piece. In current pblimage structure, the size of the SPL image should be a fixed value. Well, for LS102xA and some other ARM platforms, the size of the SPL image is changeable. So a new image spl

[U-Boot] [PATCH 2/7] ls102xa: pblimage: Add pblimage tool support for LS102xA

2014-09-17 Thread Alison Wang
For LS102xA, the initialized next_pbl_cmd should be the sum of 0x8100, the lower 24 bits of CONFIG_SPL_TEXT_BASE and CONFIG_SPL_MAX_SIZE(0x1a000). The sum is different from PowerPC. The PBI CRC command is different from PowerPC too. In pblimage tool, add the support for the above two issues. S

[U-Boot] [PATCH 0/7] Add SD boot support for LS1021AQDS/TWR board

2014-09-17 Thread Alison Wang
This series contain SD boot support for LS1021AQDS/TWR board. SPL framework is used. PBL initialize the internal RAM and copy SPL to it, then SPL initialize DDR using SPD and copy u-boot from SD card to DDR, finally SPL transfer control to u-boot. --

[U-Boot] [PATCH 4/7] ls102xa: qixis: Add CONFIG_QIXIS_I2C_ACCESS macro

2014-09-17 Thread Alison Wang
Through adding CONFIG_QIXIS_I2C_ACCESS macro, QIXIS_READ(reg)/QIXIS_WRITE(reg, value) can be used for both i2c and ifc access to QIXIS FPGA. This is more convenient for coding. Signed-off-by: Jason Jin Signed-off-by: Alison Wang --- board/freescale/common/qixis.h | 7 +++ 1 file changed, 7

[U-Boot] [PATCH 5/7] common: spl: Add interactive DDR debugger support for SPL

2014-09-17 Thread Alison Wang
For LS102xA, interactive DDR debugger is still needed in SPL part. So build the needed files in SPL image too. Signed-off-by: Alison Wang --- common/Makefile | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/common/Makefile b/common/Makefile index aca0f7f..

[U-Boot] [PATCH 6/7] arm: ls102xa: Add SD boot support for LS1021AQDS board

2014-09-17 Thread Alison Wang
This patch adds SD boot support for LS1021AQDS board. SPL framework is used. PBL initialize the internal RAM and copy SPL to it, then SPL initialize DDR using SPD and copy u-boot from SD card to DDR, finally SPL transfer control to u-boot. Signed-off-by: Alison Wang Signed-off-by: Jason Jin ---

[U-Boot] [PATCH 7/7] arm: ls102xa: Add SD boot support for LS1021ATWR board

2014-09-17 Thread Alison Wang
This patch adds SD boot support for LS1021ATWR board. SPL framework is used. PBL initialize the internal RAM and copy SPL to it, then SPL initialize DDR using SPD and copy u-boot from SD card to DDR, finally SPL transfer control to u-boot. Signed-off-by: Chen Lu Signed-off-by: Alison Wang Signed

  1   2   >