Re: [U-Boot] [PATCH 10/10] board/t104xrdb: Add support of NAND, SD, SPI boot for T1040RDB

2014-03-31 Thread Rommel G Custodio
Dear Prabhakar Kushwaha, Prabhakar Kushwaha freescale.com> writes: > > > On 4/1/2014 4:40 AM, Rommel G Custodio wrote: > > Dear Prabhakar Kushwaha, > > > > Prabhakar Kushwaha freescale.com> writes: > > 8>< snipped ><8 > >> +#Flush PBL data > >> +091380c0 000F > > That's a "Wait" comman

Re: [U-Boot] [PATCH 2/3] dfu: add static alt num count in dfu_config_entities()

2014-03-31 Thread Marek Vasut
On Tuesday, April 01, 2014 at 08:47:05 AM, Przemyslaw Marczak wrote: > Hello, > This code was applied to u-boot-samsung few weeks ago. Please do NOT top-post. Why did it arrive in the ML yesterday ? > On 03/31/2014 11:15 AM, Lukasz Majewski wrote: > > Hi Marek, > > > >> On Monday, March 31, 2014

Re: [U-Boot] [PATCH 2/3] dfu: add static alt num count in dfu_config_entities()

2014-03-31 Thread Przemyslaw Marczak
Hello, This code was applied to u-boot-samsung few weeks ago. On 03/31/2014 11:15 AM, Lukasz Majewski wrote: Hi Marek, On Monday, March 31, 2014 at 10:48:48 AM, Lukasz Majewski wrote: From: Przemyslaw Marczak Thanks to this multiple calls of function dfu_config_entities() give continuous df

Re: [U-Boot] [PATCH] powerpc: mpc8xx: delete an unused source file

2014-03-31 Thread Wolfgang Denk
Dear Masahiro, In message <1396238924-12140-1-git-send-email-yamad...@jp.panasonic.com> you wrote: > Signed-off-by: Masahiro Yamada > Cc: Wolfgang Denk > --- > arch/powerpc/cpu/mpc8xx/wlkbd.c | 20 > 1 file changed, 20 deletions(-) > delete mode 100644 arch/powerpc/cpu/mp

Re: [U-Boot] [ANN] U-Boot v2014.04-rc3 released

2014-03-31 Thread Wolfgang Denk
Dear Tom, In message <20140331195316.GZ16360@bill-the-cat> you wrote: > > I've pushed v2014.04-rc3 out to the repository and tarballs should exist > soon. Tarball is out. Thanks! Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235

Re: [U-Boot] [PATCH v4 6/9] i2c, davinci: convert driver to new mutlibus/mutliadapter framework

2014-03-31 Thread Heiko Schocher
Hello Murali, Am 31.03.2014 22:23, schrieb Karicheri, Muralidharan: -Original Message- From: Heiko Schocher [mailto:h...@denx.de] Sent: Monday, March 31, 2014 1:24 AM To: Karicheri, Muralidharan Cc: Rini, Tom; u-boot@lists.denx.de Subject: Re: [U-Boot] [PATCH v4 6/9] i2c, davinci: conver

Re: [U-Boot] [PATCH 04/10] power: Explicitly select pmic device's bus

2014-03-31 Thread Heiko Schocher
Hello Lukasz, Am 31.03.2014 16:36, schrieb Lukasz Majewski: Hi Simon, Hi Lukasz, On 27 March 2014 11:33, Lukasz Majewski wrote: Hi Simon, Heiko From: Aaron Durbin The current pmic i2c code assumes the current i2c bus is the same as the pmic device's bus. There is nothing ensuring that to b

Re: [U-Boot] [PATCH 04/10] power: Explicitly select pmic device's bus

2014-03-31 Thread Heiko Schocher
Hello Lukasz, Am 31.03.2014 08:17, schrieb Lukasz Majewski: Hi Heiko, Hello Simon, Lukasz, Am 30.03.2014 01:17, schrieb Simon Glass: Hi Lukasz, On 27 March 2014 11:33, Lukasz Majewski wrote: Hi Simon, Heiko From: Aaron Durbin The current pmic i2c code assumes the current i2c bus is the

Re: [U-Boot] [PATCH 10/10] board/t104xrdb: Add support of NAND, SD, SPI boot for T1040RDB

2014-03-31 Thread Prabhakar Kushwaha
On 4/1/2014 5:14 AM, Rommel G Custodio wrote: Rommel G Custodio gmail.com> writes: Dear Prabhakar Kushwaha, Prabhakar Kushwaha freescale.com> writes: Add support of 2 stage NAND, SD, SPI boot loader using SPL framework. here, PBL initialise the internal SRAM and copy SPL(160KB). This furt

Re: [U-Boot] [PATCH 10/10] board/t104xrdb: Add support of NAND, SD, SPI boot for T1040RDB

2014-03-31 Thread Prabhakar Kushwaha
On 4/1/2014 4:40 AM, Rommel G Custodio wrote: Dear Prabhakar Kushwaha, Prabhakar Kushwaha freescale.com> writes: Add support of 2 stage NAND, SD, SPI boot loader using SPL framework. here, PBL initialise the internal SRAM and copy SPL(160KB). This further initialise DDR using SPD and environ

[U-Boot] [PATCH v2] tools: fix Makefile to clean-up fit_info and fit_check_sign

2014-03-31 Thread Masahiro Yamada
We should avoid the description in Makefile like this ifdef CONFIG_FIT_SIGNATURE hostprogs-y += fit_info$(SFX) fit_check_sign$(SFX) endif Otherwise, fit_info and fit_check_sign would never be cleaned by "make clean". Signed-off-by: Masahiro Yamada Cc: Heiko Schocher --- This patch is against

Re: [U-Boot] [PATCH 10/10] board/t104xrdb: Add support of NAND, SD, SPI boot for T1040RDB

2014-03-31 Thread Rommel G Custodio
Rommel G Custodio gmail.com> writes: > > Dear Prabhakar Kushwaha, > > Prabhakar Kushwaha freescale.com> writes: > > > > > Add support of 2 stage NAND, SD, SPI boot loader using SPL framework. > > here, PBL initialise the internal SRAM and copy SPL(160KB). This further > > initialise DDR usin

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-03-31 Thread Lukasz Majewski
On Mon, 31 Mar 2014 14:05:17 -0400 Tom Rini wrote: > On Mon, Mar 31, 2014 at 10:48:49AM +0200, Lukasz Majewski wrote: > > > Up till now the CRC32 of received data was calculated > > unconditionally. The standard crc32 implementation causes long > > delays when large images were uploaded. > > >

Re: [U-Boot] [PATCH 10/10] board/t104xrdb: Add support of NAND, SD, SPI boot for T1040RDB

2014-03-31 Thread Rommel G Custodio
Dear Prabhakar Kushwaha, Prabhakar Kushwaha freescale.com> writes: > > Add support of 2 stage NAND, SD, SPI boot loader using SPL framework. > here, PBL initialise the internal SRAM and copy SPL(160KB). This further > initialise DDR using SPD and environment and copy u-boot(768 KB) from NAND t

[U-Boot] [PATCH] armv8: Flush dcache before switching to EL2

2014-03-31 Thread York Sun
For ARMv8, U-boot has been running at EL3 with cache and MMU enabled. Without proper setup for EL2, cache and MMU are both disabled (out of reset). Before switching, we need to flush the dcache to make sure the data is in the main memory. Signed-off-by: York Sun --- arch/arm/lib/bootm.c |1 +

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-03-31 Thread Tormod Volden
On Mon, Mar 31, 2014 at 10:44 PM, Lukasz Majewski wrote: > The DFU 1.1 standard in its appendinx B specifies the DFU suffix. It has > the crc32 for the whole file, vendorID, device ID and other handy > fields. > > Unfortunately, this part of the standard is not supported neither at > dfu implementa

Re: [U-Boot] [PATCH 02/10] power: Add support for TPS65090 PMU chip.

2014-03-31 Thread Lukasz Majewski
Hi Simon, On Mon, 31 Mar 2014 11:27:11 -0600 Simon Glass wrote: > Hi Lukasz, > > On 31 March 2014 08:33, Lukasz Majewski > wrote: [snip] > > > > > > > > This can be easily added to be used at "pmic bat charge" command. > > > > > > Please look into the ./drivers/power/mfd/pmic_max77693.c > >

Re: [U-Boot] [PATCH 1/1] imx-common: cpu: add fdt_file environment variable

2014-03-31 Thread Troy Kisky
On 3/31/2014 12:47 PM, Marek Vasut wrote: > On Monday, March 31, 2014 at 09:38:02 PM, Otavio Salvador wrote: >> On Mon, Mar 31, 2014 at 4:22 PM, Marek Vasut wrote: >>> On Monday, March 31, 2014 at 08:36:55 PM, Troy Kisky wrote: On 3/29/2014 4:11 PM, Eric Nelson wrote: > Hi Troy, > >>>

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-03-31 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/31/2014 04:44 PM, Lukasz Majewski wrote: > On Mon, 31 Mar 2014 14:05:17 -0400 > Tom Rini wrote: > >> On Mon, Mar 31, 2014 at 10:48:49AM +0200, Lukasz Majewski wrote: >> >>> Up till now the CRC32 of received data was calculated >>> unconditional

Re: [U-Boot] [PATCH v4 6/9] i2c, davinci: convert driver to new mutlibus/mutliadapter framework

2014-03-31 Thread Karicheri, Muralidharan
>-Original Message- >From: Heiko Schocher [mailto:h...@denx.de] >Sent: Monday, March 31, 2014 1:24 AM >To: Karicheri, Muralidharan >Cc: Rini, Tom; u-boot@lists.denx.de >Subject: Re: [U-Boot] [PATCH v4 6/9] i2c, davinci: convert driver to new >mutlibus/mutliadapter framework > >Hello Mruali,

Re: [U-Boot] [PATCH v3 8/9] spi: davinci: add support for multiple bus and chip select

2014-03-31 Thread Karicheri, Muralidharan
>-Original Message- >From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >Sent: Thursday, March 27, 2014 1:47 PM >To: Karicheri, Muralidharan >Cc: Rini, Tom; u-boot@lists.denx.de; Chang, Rex >Subject: Re: [U-Boot] [PATCH v3 8/9] spi: davinci: add support for multiple >bus and chip >select >

Re: [U-Boot] [PATCH v4 1/2] RiOTboard: add new board

2014-03-31 Thread Eric Bénard
Hi Stefano, Le Sun, 30 Mar 2014 18:20:49 +0200, Stefano Babic a écrit : > A general remark. I agree by reading the whole thread about checking at > runtime which is the running board (you do it getting the cpu type). > > However, you use also a compiler switch mechanism, adding RIOTBOARD or > MA

[U-Boot] [ANN] U-Boot v2014.04-rc3 released

2014-03-31 Thread Tom Rini
Hey all, I've pushed v2014.04-rc3 out to the repository and tarballs should exist soon. Looking over the changelog it's mostly bugfixes and some improvements here and there. There's a few pull requests I'm looking for but I expect to release v2014.04 on time. As always, if anything is broken pl

Re: [U-Boot] [PATCH 1/1] imx-common: cpu: add fdt_file environment variable

2014-03-31 Thread Marek Vasut
On Monday, March 31, 2014 at 09:38:02 PM, Otavio Salvador wrote: > On Mon, Mar 31, 2014 at 4:22 PM, Marek Vasut wrote: > > On Monday, March 31, 2014 at 08:36:55 PM, Troy Kisky wrote: > >> On 3/29/2014 4:11 PM, Eric Nelson wrote: > >> > Hi Troy, > >> > > >> > On 03/29/2014 03:34 PM, Troy Kisky wro

Re: [U-Boot] [PATCH 1/1] imx-common: cpu: add fdt_file environment variable

2014-03-31 Thread Otavio Salvador
On Mon, Mar 31, 2014 at 4:22 PM, Marek Vasut wrote: > On Monday, March 31, 2014 at 08:36:55 PM, Troy Kisky wrote: >> On 3/29/2014 4:11 PM, Eric Nelson wrote: >> > Hi Troy, >> > >> > On 03/29/2014 03:34 PM, Troy Kisky wrote: >> >> This removes one block in the move toward 1 u-boot >> >> for both a

Re: [U-Boot] [PATCH 1/1] imx-common: cpu: add fdt_file environment variable

2014-03-31 Thread Marek Vasut
On Monday, March 31, 2014 at 08:36:55 PM, Troy Kisky wrote: > On 3/29/2014 4:11 PM, Eric Nelson wrote: > > Hi Troy, > > > > On 03/29/2014 03:34 PM, Troy Kisky wrote: > >> This removes one block in the move toward 1 u-boot > >> for both a mx6q (quad) and mx6dl (duallite) processor. > >> > >> Now f

Re: [U-Boot] [PATCH 0/6] Adjust command macros to allow smaller U-Boot size

2014-03-31 Thread Simon Glass
Hi Tom, On 31 March 2014 12:59, Tom Rini wrote: > On Mon, Mar 31, 2014 at 12:38:20PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On 31 March 2014 12:30, Tom Rini wrote: > > > > > On Mon, Mar 24, 2014 at 09:51:05AM -0600, Simon Glass wrote: > > > > > > > A large chunk of U-Boot's executable si

Re: [U-Boot] [PATCH 1/1] imx-common: cpu: add fdt_file environment variable

2014-03-31 Thread Troy Kisky
On 3/29/2014 4:11 PM, Eric Nelson wrote: > Hi Troy, > > On 03/29/2014 03:34 PM, Troy Kisky wrote: >> This removes one block in the move toward 1 u-boot >> for both a mx6q (quad) and mx6dl (duallite) processor. >> >> Now fdt_file hardcoded value can be removed. >> >> Signed-off-by: Troy Kisky >> -

Re: [U-Boot] [PATCH 0/6] Adjust command macros to allow smaller U-Boot size

2014-03-31 Thread Tom Rini
On Mon, Mar 31, 2014 at 12:38:20PM -0600, Simon Glass wrote: > Hi Tom, > > On 31 March 2014 12:30, Tom Rini wrote: > > > On Mon, Mar 24, 2014 at 09:51:05AM -0600, Simon Glass wrote: > > > > > A large chunk of U-Boot's executable size is the code to process and > > > execute commands. This is rea

Re: [U-Boot] [PATCH 1/1] imx-common: cpu: add fdt_file environment variable

2014-03-31 Thread Troy Kisky
On 3/30/2014 9:30 AM, Stefano Babic wrote: > Hi Troy, > > On 29/03/2014 23:34, Troy Kisky wrote: >> This removes one block in the move toward 1 u-boot >> for both a mx6q (quad) and mx6dl (duallite) processor. >> >> Now fdt_file hardcoded value can be removed. >> >> Signed-off-by: Troy Kisky >> --

Re: [U-Boot] [PATCH 0/6] Adjust command macros to allow smaller U-Boot size

2014-03-31 Thread Simon Glass
Hi Tom, On 31 March 2014 12:30, Tom Rini wrote: > On Mon, Mar 24, 2014 at 09:51:05AM -0600, Simon Glass wrote: > > > A large chunk of U-Boot's executable size is the code to process and > > execute commands. This is reasonable, since commands and scripts are > > an important part of U-Boot's fea

Re: [U-Boot] [PATCH 1/1] imx-common: cpu: add fdt_file environment variable

2014-03-31 Thread Troy Kisky
On 3/30/2014 7:52 AM, Marek Vasut wrote: > On Sunday, March 30, 2014 at 12:04:31 AM, Otavio Salvador wrote: >> On Sat, Mar 29, 2014 at 7:34 PM, Troy Kisky >> >> wrote: >>> This removes one block in the move toward 1 u-boot >>> for both a mx6q (quad) and mx6dl (duallite) processor. >>> >>> Now fdt_

Re: [U-Boot] [PATCH 1/1] TPM: STMicroelectronics u-boot driver I2C

2014-03-31 Thread Simon Glass
Hi Jean-Luc, On 31 March 2014 02:44, Jean-Luc BLANC wrote: > Hi Simon, > > I rewrote the patch. A complete different version will be pushed soon. > Sounds good, thanks. Please cc me when you are ready. Regards, Simon ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] [PATCH 0/6] Adjust command macros to allow smaller U-Boot size

2014-03-31 Thread Tom Rini
On Mon, Mar 24, 2014 at 09:51:05AM -0600, Simon Glass wrote: > A large chunk of U-Boot's executable size is the code to process and > execute commands. This is reasonable, since commands and scripts are > an important part of U-Boot's feature set and provide much of its > flexibility. > > However

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-03-31 Thread Tom Rini
On Mon, Mar 31, 2014 at 08:15:41PM +0200, Marek Vasut wrote: > On Monday, March 31, 2014 at 08:05:17 PM, Tom Rini wrote: > > On Mon, Mar 31, 2014 at 10:48:49AM +0200, Lukasz Majewski wrote: > > > Up till now the CRC32 of received data was calculated unconditionally. > > > The standard crc32 impleme

[U-Boot] u-boot does not build when lensfun is installed on host system

2014-03-31 Thread Alexander Stein
Hello, u-boot is not compilable when lensfun is isntalled on the host system. The package manager descrption says "lensfun: A library for rectifying and simulating photographic lens distortions". It seems that this caused by using -idirafter instead of -I. Any idea how to fix that? Best regards

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-03-31 Thread Marek Vasut
On Monday, March 31, 2014 at 08:05:17 PM, Tom Rini wrote: > On Mon, Mar 31, 2014 at 10:48:49AM +0200, Lukasz Majewski wrote: > > Up till now the CRC32 of received data was calculated unconditionally. > > The standard crc32 implementation causes long delays when large images > > were uploaded. > >

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-03-31 Thread Tom Rini
On Mon, Mar 31, 2014 at 10:48:49AM +0200, Lukasz Majewski wrote: > Up till now the CRC32 of received data was calculated unconditionally. > The standard crc32 implementation causes long delays when large images > were uploaded. > > The "dfu_checksum_method" environment variable gives the opportun

Re: [U-Boot] [PATCH 02/10] power: Add support for TPS65090 PMU chip.

2014-03-31 Thread Simon Glass
Hi Lukasz, On 31 March 2014 08:33, Lukasz Majewski wrote: [snip] > > > > This can be easily added to be used at "pmic bat charge" command. > > > > Please look into the ./drivers/power/mfd/pmic_max77693.c > > > > Not easily. As mentioned above this is quite a bit of work. For a > > later series

Re: [U-Boot] pull request for u-boot-tegra/master info ARM/master

2014-03-31 Thread Tom Warren
OK, will do. Albert - have you pull my latest PR into ARM master yet? Stephen was hoping to get it in before the next release. I'll send a new PR with the latest patches, but the first PR still needs to go in ASAP. Tom On Mon, Mar 31, 2014 at 9:25 AM, Stefan Agner wrote: > Am 2014-03-28 16:5

Re: [U-Boot] pull request for u-boot-tegra/master info ARM/master

2014-03-31 Thread Stefan Agner
Am 2014-03-28 16:54, schrieb Tom Warren: > Have they all been ACKed? Sorry, been really busy with normal NVIDIA stuff. They have been ACKed, see http://lists.denx.de/pipermail/u-boot/2014-March/175302.html and tested by Stephen, http://lists.denx.de/pipermail/u-boot/2014-March/174662.html > I

Re: [U-Boot] [PATCH v3 13/13] common: fixed linker-list example

2014-03-31 Thread Marek Vasut
On Monday, March 31, 2014 at 05:49:12 PM, Mateusz Zalega wrote: > Change-Id: Id1bab29ec026d83f7e811ba82802aad33f77bea0 You samsung guys need to fix your mailers ... and you need to learn to write commit messages. > Signed-off-by: Mateusz Zalega > Cc: Marek Vasut > Cc: Tom Rini Other than tha

Re: [U-Boot] [PATCH v3 06/13] USB: gadget: added a saner gadget downloader registration API

2014-03-31 Thread Marek Vasut
On Monday, March 31, 2014 at 05:49:05 PM, Mateusz Zalega wrote: > Preprocessor definitions and hardcoded implementation selection in > g_dnl core were replaced by a linker list made of (usb_function_name, > bind_callback) pairs. > > Signed-off-by: Mateusz Zalega > Cc: Lukasz Majewski > Cc: Marek

Re: [U-Boot] [PATCH] powerpc: mpc8xx: delete an unused source file

2014-03-31 Thread Wolfgang Denk
Dear Masahiro Yamada, In message <1396238924-12140-1-git-send-email-yamad...@jp.panasonic.com> you wrote: > Signed-off-by: Masahiro Yamada > Cc: Wolfgang Denk > --- > arch/powerpc/cpu/mpc8xx/wlkbd.c | 20 > 1 file changed, 20 deletions(-) > delete mode 100644 arch/powerpc

[U-Boot] [PATCH v3 11/13] mmc: postponed needless timer initialization

2014-03-31 Thread Mateusz Zalega
mmc_init() doesn't call get_timer() anymore if MMC is already initialized. Change-Id: Ib4e0f5a04316c604e6a77a0679d42ff61d5641d2 Signed-off-by: Mateusz Zalega --- drivers/mmc/mmc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c ind

[U-Boot] [PATCH v3 04/13] dfu: fix boards wo USB cable detection

2014-03-31 Thread Mateusz Zalega
Former usb_cable_connected() patch broke compilation of boards which do not support this feature. Signed-off-by: Mateusz Zalega Cc: Lukasz Majewski --- common/cmd_usb_mass_storage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/cmd_usb_mass_storage.c b/common/cmd_usb_mass_storage

[U-Boot] [PATCH v3 08/13] arm:goni: enable GPT command

2014-03-31 Thread Mateusz Zalega
Signed-off-by: Mateusz Zalega Cc: Minkyu Kang --- include/configs/s5p_goni.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index f97b52d..c52a00a 100644 --- a/include/configs/s5p_goni.h +++ b/include/configs/s5p_goni.h @@ -73,6 +

[U-Boot] [PATCH v3 01/13] mmc: mmc header fix

2014-03-31 Thread Mateusz Zalega
Structure definition used type block_dev_desc_t, defined in part.h, which wasn't included in mmc.h. It worked only in circumstances when common.h, or another header using part.h was incuded in implementation files. Signed-off-by: Mateusz Zalega Cc: Minkyu Kang --- include/mmc.h | 1 + 1 file ch

[U-Boot] [PATCH v3 07/13] arm:goni:dfu Add support for DFU to Goni target

2014-03-31 Thread Mateusz Zalega
Proper adjustment for supporting DFU at GONI target has been made. The s5p_goni.h file has been updated. Moreover the code for low level USB initialization has been added to GONI board code. The malloc pool has been enlarged in order to support larger buffer sizes needed by DFU implementation. Si

[U-Boot] [PATCH v3 10/13] dfu:mmc: raw data write fix

2014-03-31 Thread Mateusz Zalega
When user attempted to perform a raw write using DFU (vide dfu_fill_entity_mmc) with MMC interface not initialized before, get_mmc_blk_size() reported invalid (zero) block size - it wasn't possible to write ie. a new u-boot image. This commit fixes that by initializing device in get_mmc_blk_size()

[U-Boot] [PATCH v3 13/13] common: fixed linker-list example

2014-03-31 Thread Mateusz Zalega
Change-Id: Id1bab29ec026d83f7e811ba82802aad33f77bea0 Signed-off-by: Mateusz Zalega Cc: Marek Vasut Cc: Tom Rini --- include/linker_lists.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linker_lists.h b/include/linker_lists.h index 997d149..557e627 100644 --- a/incl

[U-Boot] [PATCH v3 06/13] USB: gadget: added a saner gadget downloader registration API

2014-03-31 Thread Mateusz Zalega
Preprocessor definitions and hardcoded implementation selection in g_dnl core were replaced by a linker list made of (usb_function_name, bind_callback) pairs. Signed-off-by: Mateusz Zalega Cc: Lukasz Majewski Cc: Marek Vasut --- common/cmd_dfu.c| 3 +- common/cmd_thordown.

[U-Boot] [PATCH v3 12/13] ums: always initialize mmc before ums_disk_init()

2014-03-31 Thread Mateusz Zalega
In some cases MMC was still uninitialized while media capacity check, leading to broken ums command. Tested on Samsung Goni. Change-Id: I4b86c2c59e430fb8b55272ea14f00316d8cb3dca Signed-off-by: Mateusz Zalega Tested-by: Mateusz Zalega Cc: Lukasz Majewski Cc: Minkyu Kang --- board/samsung/comm

[U-Boot] [PATCH v3 03/13] arm:goni: Update configuration for goni target

2014-03-31 Thread Mateusz Zalega
Configuration file for GONI has been updated to support FAT file system, new mmc partitioning scheme and read linux kernel from eMMC instead of OneNAND. Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Zalega Tested-by: Arkadiusz Wlodarczyk Tested-by: Mat

[U-Boot] [PATCH v3 09/13] arm:goni: enable USB Mass Storage

2014-03-31 Thread Mateusz Zalega
UMS-related defines were added to Samsung Goni config header. Signed-off-by: Mateusz Zalega Cc: Minkyu Kang --- include/configs/s5p_goni.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index c52a00a..f551c22 100644 --- a/include/co

[U-Boot] [PATCH v3 00/13] DFU, MMC, Gadget, Goni, misc.

2014-03-31 Thread Mateusz Zalega
This is an updated version of patch series regarding DFU, MMC, USB Gadget and Samsung Goni board, originally sent on 10 January 2014. --- Changes since v1: - reordered "USB: gadget: added a saner gadget downloader registration API" - fixed a bug related to usb_cable_connected() which broke previ

[U-Boot] [PATCH v3 05/13] am335x: dfu: disable DFU in am335x_evm SPL build

2014-03-31 Thread Mateusz Zalega
Future patches will make DFU too large to fit in this board's SPL build. Signed-off-by: Mateusz Zalega Cc: Tom Rini Cc: Lukasz Majewski --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index fd6f5

[U-Boot] [PATCH v3 02/13] part: header fix

2014-03-31 Thread Mateusz Zalega
Implementation made use of types defined in common.h, even though it wasn't #included. It worked in circumstances when .c files included every needed header (all). Signed-off-by: Mateusz Zalega Cc: Minkyu Kang --- include/part.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/part.h

Re: [U-Boot] Kbuild: allow building tools without board configuration

2014-03-31 Thread Tom Rini
On Mon, Mar 31, 2014 at 05:33:51PM +0900, Masahiro Yamada wrote: > Prior to Kbuild, U-Boot could build under tools/ directory > withour configuring for a specific board. > > That feature was lost when switching to Kbuild. > > This patch revives it again by adding a make target "tools-only". > >

Re: [U-Boot] [PATCH] Kbuild: allow building tools without board configuration

2014-03-31 Thread Tom Rini
On Mon, Mar 31, 2014 at 03:39:18PM +, Alexey Brodkin wrote: > On Mon, 2014-03-31 at 11:31 -0400, Tom Rini wrote: > > On Mon, Mar 31, 2014 at 03:24:19PM +, Alexey Brodkin wrote: > > > Hi Tom, > > > > > > On Mon, 2014-03-31 at 11:16 -0400, Tom Rini wrote: > > > > On Mon, Mar 31, 2014 at 05:3

Re: [U-Boot] [PATCH] Kbuild: allow building tools without board configuration

2014-03-31 Thread Alexey Brodkin
On Mon, 2014-03-31 at 11:31 -0400, Tom Rini wrote: > On Mon, Mar 31, 2014 at 03:24:19PM +, Alexey Brodkin wrote: > > Hi Tom, > > > > On Mon, 2014-03-31 at 11:16 -0400, Tom Rini wrote: > > > On Mon, Mar 31, 2014 at 05:33:51PM +0900, Masahiro Yamada wrote: > > > > > > > Prior to Kbuild, U-Boot

Re: [U-Boot] tegra: fix Makefile to pass per-file CFLAGS

2014-03-31 Thread Tom Rini
On Mon, Mar 31, 2014 at 02:23:15PM +0900, Masahiro Yamada wrote: > Since Kbuild was introduced, warmboot_avp.o has been compiled > without -march=armv4t. > > Makefile should be adjusted to pass a per-file option. > > Signed-off-by: Masahiro Yamada > Cc: Stephen Warren > Cc: Tom Warren Applie

Re: [U-Boot] [PATCH] Kbuild: allow building tools without board configuration

2014-03-31 Thread Tom Rini
On Mon, Mar 31, 2014 at 03:24:19PM +, Alexey Brodkin wrote: > Hi Tom, > > On Mon, 2014-03-31 at 11:16 -0400, Tom Rini wrote: > > On Mon, Mar 31, 2014 at 05:33:51PM +0900, Masahiro Yamada wrote: > > > > > Prior to Kbuild, U-Boot could build under tools/ directory > > > withour configuring for

Re: [U-Boot] [PATCH] Kbuild: allow building tools without board configuration

2014-03-31 Thread Alexey Brodkin
Hi Tom, On Mon, 2014-03-31 at 11:16 -0400, Tom Rini wrote: > On Mon, Mar 31, 2014 at 05:33:51PM +0900, Masahiro Yamada wrote: > > > Prior to Kbuild, U-Boot could build under tools/ directory > > withour configuring for a specific board. > > > > That feature was lost when switching to Kbuild. > >

[U-Boot] Please pull u-boot-ti/master

2014-03-31 Thread Tom Rini
Hey, The following changes since commit ab6423cae0323e8db2c8fdd0a99138d93fde2137: Merge branch 'u-boot/master' into 'u-boot-arm/master' (2014-03-25 10:53:15 +0100) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to 96de041ed9d91f

Re: [U-Boot] board: enable 32kHz RTC OSC at B&R boards

2014-03-31 Thread Tom Rini
On Thu, Mar 27, 2014 at 10:37:36AM +0100, Hannes Petermaier wrote: > Since RTC-Clock is needed on all B&R boards, the OSC will be enabled > wihtin SPL-stage. > > Signed-off-by: Hannes Petermaier Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH] Kbuild: allow building tools without board configuration

2014-03-31 Thread Tom Rini
On Mon, Mar 31, 2014 at 05:33:51PM +0900, Masahiro Yamada wrote: > Prior to Kbuild, U-Boot could build under tools/ directory > withour configuring for a specific board. > > That feature was lost when switching to Kbuild. > > This patch revives it again by adding a make target "tools-only". > >

Re: [U-Boot] [PATCH 04/10] power: Explicitly select pmic device's bus

2014-03-31 Thread Lukasz Majewski
Hi Simon, > Hi Lukasz, > > On 27 March 2014 11:33, Lukasz Majewski > wrote: Hi Simon, Heiko > > > From: Aaron Durbin > > > > The current pmic i2c code assumes the current i2c bus is > > the same as the pmic device's bus. There is nothing ensuring > > that to be true. Therefore, select the prop

Re: [U-Boot] [PATCH 02/10] power: Add support for TPS65090 PMU chip.

2014-03-31 Thread Lukasz Majewski
Hi Simon, > Hi Lukasz, > > On 27 March 2014 11:59, Lukasz Majewski > wrote: Hi Simon, > > > From: Tom Wai-Hong Tam > > > > This adds driver support for the TPS65090 PMU. Support includes > > hooking into the pmic infrastructure  so that the pmic commands > > can be used on the console. The TPS

Re: [U-Boot] All Sparc boards are broken

2014-03-31 Thread Daniel Hellstrom
Hello, I was recently informed about the problem by Tom. As I mentioned to him I'm very busy at the moment. I haven't looked into it yet, but my plan remains to do so in a few weeks time. Thanks, Daniel Hellstrom On 03/31/2014 04:27 AM, Masahiro Yamada wrote: Hi Daniel, All Sparc boards a

Re: [U-Boot] tools: fix Makefile to clean-up fit_info and fit_check_sign

2014-03-31 Thread Tom Rini
On Mon, Mar 31, 2014 at 10:58:33AM +0900, Masahiro Yamada wrote: > Hi Tom, > > > On Fri, 28 Mar 2014 15:12:25 -0400 > Tom Rini wrote: > > > On Fri, Mar 28, 2014 at 03:09:51PM +0900, Masahiro Yamada wrote: > > > > > We should avoid the description in Makefile like this > > > > > > ifdef CONFI

Re: [U-Boot] [i2c] Pull request

2014-03-31 Thread Tom Rini
On Mon, Mar 31, 2014 at 07:35:51AM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c.git, thanks! > > The following changes since commit 0b2da7e209f4110b7c81d578336a10330e4a4404: > > blackfin: mmc: Correct mmc_host_is_spi and bfin_sdh.c (2014-03-28 16:55:29 > -0400) >

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

2014-03-31 Thread Tom Rini
On Mon, Mar 31, 2014 at 10:52:33AM +0900, Nobuhiro Iwamatsu wrote: > Dear Tom Rini. > > Please pull u-boot-sh master branch. > > The following changes since commit 0b2da7e209f4110b7c81d578336a10330e4a4404: > > blackfin: mmc: Correct mmc_host_is_spi and bfin_sdh.c (2014-03-28 > 16:55:29 -0400)

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-03-31 Thread Pantelis Antoniou
Hi Lukasz, Hmm, looking at the code the crc is updated when draining the buffer. That means that in essence you're working with cache-cold data. Can you try performing the crc32 right in the dfu_write() function just after the memcpy? Regards -- Pantelis On Mar 31, 2014, at 3:04 PM, Lukasz M

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-03-31 Thread Pantelis Antoniou
Hi Lukasz, On Mar 31, 2014, at 3:04 PM, Lukasz Majewski wrote: > Hi Pantelis, > >> Hi Lukasz, >> >> On Mar 31, 2014, at 11:48 AM, Lukasz Majewski wrote: >> >>> Up till now the CRC32 of received data was calculated >>> unconditionally. The standard crc32 implementation causes long >>> delays wh

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-03-31 Thread Lukasz Majewski
Hi Pantelis, > Hi Lukasz, > > On Mar 31, 2014, at 11:48 AM, Lukasz Majewski wrote: > > > Up till now the CRC32 of received data was calculated > > unconditionally. The standard crc32 implementation causes long > > delays when large images were uploaded. > > > > The "dfu_checksum_method" environ

Re: [U-Boot] Chain loading an u-boot from an u-boot

2014-03-31 Thread Helmut Raiger
On 02/13/2014 10:03 AM, Helmut Raiger wrote: But you just inspired me! There are probably interrupts running for some time when the second u-boot starts and the relocation might destroy part of the interrupt entry points Thx for asking the right questions. I'll have to check this. Helmut

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-03-31 Thread Pantelis Antoniou
Hi Lukasz, On Mar 31, 2014, at 11:48 AM, Lukasz Majewski wrote: > Up till now the CRC32 of received data was calculated unconditionally. > The standard crc32 implementation causes long delays when large images > were uploaded. > > The "dfu_checksum_method" environment variable gives the opportun

[U-Boot] Booting image from ARM for different architecture

2014-03-31 Thread Michal Simek
Hi all, I want to check with you if someone tried this scenario. Load u-boot on main CPU (for me ARM cortex-a9) and boot different cpu(for me Microblaze) with FIT image or old u-boot image format. IRC I have seen any code regarding this but I am not able to find it out where. :-( My current usag

Re: [U-Boot] [PATCH] Kbuild: allow building tools without board configuration

2014-03-31 Thread Alexey Brodkin
On Mon, 2014-03-31 at 17:33 +0900, Masahiro Yamada wrote: > Prior to Kbuild, U-Boot could build under tools/ directory > withour configuring for a specific board. > > That feature was lost when switching to Kbuild. > > This patch revives it again by adding a make target "tools-only". > > Usage:

[U-Boot] [PATCH 10/10] board/t104xrdb: Add support of NAND, SD, SPI boot for T1040RDB

2014-03-31 Thread Prabhakar Kushwaha
Add support of 2 stage NAND, SD, SPI boot loader using SPL framework. here, PBL initialise the internal SRAM and copy SPL(160KB). This further initialise DDR using SPD and environment and copy u-boot(768 KB) from NAND to DDR. Finally SPL transer control to u-boot. Initialise/create followings req

[U-Boot] [PATCH 9/10] board/b4qds:Add support of 2 stage NAND boot-loader

2014-03-31 Thread Prabhakar Kushwaha
Add support of 2 stage NAND boot loader using SPL framework. here, PBL initialise the internal SRAM and copy SPL(160KB). This further initialise DDR using SPD and environment and copy u-boot(768 KB) from NAND to DDR. Finally SPL transer control to u-boot. Initialise/create followings required for

[U-Boot] [PATCH 7/10] driver/mtd/spi:Read 8KB data chunk during u-boot load in SPL

2014-03-31 Thread Prabhakar Kushwaha
SPI driver perform its operation(read/write) on 64KB buffer chunk for data greater than 64KB. This buffer chunk is allocated from system heap. During SPL boot, 768KB of data is read from SPI flash. Here, heap size may not be sufficient enough to full-fill 64KB buffer requirement of SPI driver. So

[U-Boot] [PATCH 8/10] Makefile: Add support of RAMBOOT_SPLPBL

2014-03-31 Thread Prabhakar Kushwaha
Objective of this target to have concatenate binary having - SPL binary in PBL command format - U-boot binary Signed-off-by: Prabhakar Kushwaha --- Makefile | 19 +++ README |4 2 files changed, 23 insertions(+) diff --git a/Makefile b/Makefile index e5f5a8c..e7a0

[U-Boot] [PATCH 02/10] powerpc/mpc85xx: Avoid hardcoding in SPL linker script

2014-03-31 Thread Prabhakar Kushwaha
SPL linker has fix location of bootpg and reset vector with respect to text base. It is not necessary to have fixed locations. Avoid such hardcoding. Signed-off-by: Prabhakar Kushwaha --- arch/powerpc/cpu/mpc85xx/u-boot-spl.lds |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) di

[U-Boot] [PATCH 6/10] driver/ifc: define nand_spl_load_image() for SPL

2014-03-31 Thread Prabhakar Kushwaha
nand_spl_load_image() can also be used for non TPL framework. Signed-off-by: Prabhakar Kushwaha --- drivers/mtd/nand/fsl_ifc_spl.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/fsl_ifc_spl.c b/drivers/mtd/nand/fsl_ifc_spl.c index 2f82f7c..8a7a3a3 100

[U-Boot] [PATCH 4/10] powerpc/mpc85xx:Disable non DDR LAWs before init_law

2014-03-31 Thread Prabhakar Kushwaha
Before parsing LAW table i.e. init_law, boot loader should disable all previous LAWs except DDR LAWs which has been created by previous pre boot loader during DDR initialization. Signed-off-by: Prabhakar Kushwaha --- arch/powerpc/cpu/mpc8xxx/law.c | 43 +++-

[U-Boot] [PATCH 03/10] powerpc:Add support of SPL non-relocation

2014-03-31 Thread Prabhakar Kushwaha
Current SPL code base has BSS section placed after reset_vector. This means they have to relocate to use the global variables. This put an implicit requirement of having SPL size = Memory/2. To avoid relocation: - Move bss_section within SPL range - Modify relocate_code() Signed-o

[U-Boot] [PATCH 5/10] common/env: Point default environment for GD

2014-03-31 Thread Prabhakar Kushwaha
GD(Global Data) structure has pointer to environment variable array. but, it always point to default_environment assuming it is running from final location. So update GD pointer with env variable array during SPL boot. Signed-off-by: Prabhakar Kushwaha --- common/env_common.c |3 +++ 1 file

[U-Boot] [PATCH 0/0] powerpc: Add support 2 stage boot loader for corenet platform

2014-03-31 Thread Prabhakar Kushwaha
Signed-off-by: Prabhakar Kushwaha --- Add support of 2 stage boot loader in cornet platforms using SPL framework. B4860QDS: NAND boot T1040RDB: NAND, SD, SPI boot T1042RDB_PI: NAND, SD, SPI boot In current secenrio size of u-boot can become >=512KB. So This patch set will be helpful for those

[U-Boot] [PATCH 01/10] powerpc/mpc85xx: Move LAW_EN define outside of config

2014-03-31 Thread Prabhakar Kushwaha
LAW_EN is only defined if CONFIG_SYS_CCSRBAR_DEFAULT is not equal to CONFIG_SYS_CCSRBAR_PHYS. in SPL framework CCSRBAR is not relocated hence both are same. This cause compilation error. So LAW_EN define outside of configs Signed-off-by: Prabhakar Kushwaha --- arch/powerpc/cpu/mpc85xx/start.S |

[U-Boot] [PATCH] driver/mmc: fix compile warnings

2014-03-31 Thread Prabhakar Kushwaha
Fix following compile warnings fsl_esdhc_spl.c: In function 'mmc_boot': fsl_esdhc_spl.c:35:10: warning: unused variable 'byte_num' [-Wunused-variable] fsl_esdhc_spl.c:35:7: warning: unused variable 'i' [-Wunused-variable] fsl_esdhc_spl.c:34:8: warning: unused variable 'val' [-Wunused-variable] fsl_

[U-Boot] [PATCH 2/2] powerpc/mpc85xx:Update MONITOR_LEN for 768KB u-boot size

2014-03-31 Thread Prabhakar Kushwaha
U-boot binary size has been increased from 512KB to 768KB. So update CONFIG_SYS_MONITOR_LEN to reflect the same. Signed-off-by: Prabhakar Kushwaha --- include/configs/B4860QDS.h |2 +- include/configs/BSC9131RDB.h |2 +- include/configs/BSC9132QDS.h |2 +- include/configs/C2

[U-Boot] [PATCH] powerpc/mpc85xx:Add CONFIG_SYS_FSL_ERRATUM_ESDHC111 to Txx/Bxx

2014-03-31 Thread Prabhakar Kushwaha
eSDHC host of T4x/B4x,T208x,T104x Soc has errata esdhc111. So add macro definition to enable its workaround. Signed-off-by: Haijun Zhang Signed-off-by: Prabhakar Kushwaha --- arch/powerpc/include/asm/config_mpc85xx.h |4 1 file changed, 4 insertions(+) diff --git a/arch/powerpc/includ

[U-Boot] [PATCH 01/2] powerpc/mpc85xx:Avoid fix address of bootpg section

2014-03-31 Thread Prabhakar Kushwaha
It is not necessary for bootpg to be present at text + 512KB. With increase of u-boot size (768KB), bootpg section's address cannot be fixed. Signed-off-by: Prabhakar Kushwaha --- arch/powerpc/cpu/mpc85xx/u-boot-nand.lds |8 +++- arch/powerpc/cpu/mpc85xx/u-boot.lds |6 +- 2

Re: [U-Boot] [PATCH V2 1/4] arm: mx5: Fix memory slowness on MX53QSB

2014-03-31 Thread Marek Vasut
On Monday, March 31, 2014 at 11:47:14 AM, Stefano Babic wrote: > Hi Marek, > > On 31/03/2014 09:48, Marek Vasut wrote: > > Thanks :) > > > > There are a few more patches in your PW queue from me, please check them > > and apply as seen fit. Thanks again! > > All patches from you (or from others)

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-03-31 Thread Lukasz Majewski
Hi Marek, > On Monday, March 31, 2014 at 11:24:31 AM, Lukasz Majewski wrote: > > Hi Marek, > > > > > On Monday, March 31, 2014 at 10:48:49 AM, Lukasz Majewski wrote: > > > > Up till now the CRC32 of received data was calculated > > > > unconditionally. The standard crc32 implementation causes lon

Re: [U-Boot] [PATCH V2 1/4] arm: mx5: Fix memory slowness on MX53QSB

2014-03-31 Thread Stefano Babic
Hi Marek, On 31/03/2014 09:48, Marek Vasut wrote: > Thanks :) > > There are a few more patches in your PW queue from me, please check them and > apply as seen fit. Thanks again! All patches from you (or from others) that are ok for me and ready to be merged are marked by me in PW as "under rev

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-03-31 Thread Marek Vasut
On Monday, March 31, 2014 at 11:24:31 AM, Lukasz Majewski wrote: > Hi Marek, > > > On Monday, March 31, 2014 at 10:48:49 AM, Lukasz Majewski wrote: > > > Up till now the CRC32 of received data was calculated > > > unconditionally. The standard crc32 implementation causes long > > > delays when lar

Re: [U-Boot] [PATCH 3/3] dfu: Introduction of the "dfu_checksum_method" env variable for checksum method setting

2014-03-31 Thread Lukasz Majewski
Hi Marek, > On Monday, March 31, 2014 at 10:48:49 AM, Lukasz Majewski wrote: > > Up till now the CRC32 of received data was calculated > > unconditionally. The standard crc32 implementation causes long > > delays when large images were uploaded. > > You might want to check common/cmd_hash.c and i

  1   2   >