[U-Boot] [PATCH 2/2] mmc: sh_mmcif: Fix warning by unused variable

2014-03-31 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Reported-by: Masahiro Yamada yamad...@jp.panasonic.com --- drivers/mmc/sh_mmcif.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mmc/sh_mmcif.c b/drivers/mmc/sh_mmcif.c index ad5b23c..ed83a14 100644

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

2014-03-31 Thread Nobuhiro Iwamatsu
Applied to u-boot-sh.git. Thanks! Nobuhiro 2014-03-31 14:46 GMT+09:00 Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com: 2014-03-31 13:09 GMT+09:00 Masahiro Yamada yamad...@jp.panasonic.com: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Nobuhiro Iwamatsu

[U-Boot] [U-BOOT] [PATCH v3] powerpc/t104xrdb: Unification of T104xRDB header files

2014-03-31 Thread Vijay Rai
T1040RDB, T1042RDB header files are very similar so merged into new header file T104xRDB. T104xRDB header file can support both T1040RDB and T1042RDB_PI header. Patch makes following changes -Update Boards.cfg file for T1040RDB and T1042RDB_PI -Add new T104xRDB header file -Delete T1040RDB,

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

2014-03-31 Thread 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 Majewskil.majew...@samsung.com wrote: Hi Simon, Heiko From: Aaron Durbinadur...@chromium.org The current pmic i2c code assumes the current i2c bus is the

[U-Boot] [PATCH 1/2] mmc: sh_mmcif: Fix compile error

2014-03-31 Thread Nobuhiro Iwamatsu
BY commit mmc: Split mmc struct, rework mmc initialization (v2), sh_mmcif has compile error. This fixes compile error. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com CC: Pantelis Antoniou pa...@antoniou-consulting.com Reported-by: Masahiro Yamada yamad...@jp.panasonic.com ---

Re: [U-Boot] uhs-1 support in imx_esdhc.c file

2014-03-31 Thread Zhang Haijun
Hi, TigerLiu Sorry to miss you mail. Now UHS-I support has not been merged into fsl_esdhc.c. We plan to. There is no plan to support UHS-II now. Thanks. Regards Thanks -- Haijun On 03/27/2014 07:19 PM, tiger...@via-alliance.com wrote: Hi, Haijun: Freescale engineer had ever added UHS-I

[U-Boot] why not enable ICache in vexpress_aemv8a.h

2014-03-31 Thread TigerLiu
Hi, fenghua: I found you defined these marcoes in vexpress_aemv8a.h : #define CONFIG_SYS_DCACHE_OFF #define CONFIG_SYS_ICACHE_OFF Most ARMv7 platform will enable Icache to make code run faster. So, why not turn on Icache on ARMv8 FVP model? Is there any side-effects? Best wishes,

Re: [U-Boot] [PATCH] board: prodrive: delete unused source files

2014-03-31 Thread Stefan Roese
On 31.03.2014 06:12, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Stefan Roese s...@denx.de Good catch! Acked-by: Stefan Roese s...@denx.de Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] board: esd: remove remainders of dead boards

2014-03-31 Thread Stefan Roese
On 31.03.2014 05:59, Masahiro Yamada wrote: Commit 99bcad18 deleted ADCIOP and DASA_SIM board support but missed to delete board/esd/adciop and board/esd/dasa_sim. It also missed to add entries to doc/README.scrapyard. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Stefan Roese

Re: [U-Boot] [PATCH] kbuild/makefile: allow building host tools separately

2014-03-31 Thread Masahiro Yamada
Hi Alexey, Works as a charm for me as well. Do you mind to submit your changes (because it was you who implemented it properly and I don't want to steal your credits)? Or I do it still on your behalf putting you in as an author? -Alexey OK. I will post it with your Suggested-by

Re: [U-Boot] [PATCH 1/2] mmc: sh_mmcif: Fix compile error

2014-03-31 Thread Pantelis Antoniou
Hi Nobuhiro, Thank you for catching this. On Mar 31, 2014, at 8:54 AM, Nobuhiro Iwamatsu wrote: BY commit mmc: Split mmc struct, rework mmc initialization (v2), sh_mmcif has compile error. This fixes compile error. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com CC:

Re: [U-Boot] [PATCH 2/2] mmc: sh_mmcif: Fix warning by unused variable

2014-03-31 Thread Pantelis Antoniou
Hi Nobuhiro, Thanks for catching this. On Mar 31, 2014, at 8:54 AM, Nobuhiro Iwamatsu wrote: Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com Reported-by: Masahiro Yamada yamad...@jp.panasonic.com --- drivers/mmc/sh_mmcif.c | 3 +-- 1 file changed, 1 insertion(+), 2

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

2014-03-31 Thread Stefano Babic
Hi Eric, On 30/03/2014 21:52, Eric Bénard wrote: We have already discussed in the past about this function. Each board (at least, imx6 board) want to have such of them, and code is duplicated. What about to factorize it ? I am not against to move it into imx-common, if we generally agree,

Re: [U-Boot] [PATCH] board: esd: remove remainders of dead boards

2014-03-31 Thread Matthias Fuchs
Hi Masahiro, On 31.03.2014 05:59, Masahiro Yamada wrote: Commit 99bcad18 deleted ADCIOP and DASA_SIM board support but missed to delete board/esd/adciop and board/esd/dasa_sim. It also missed to add entries to doc/README.scrapyard. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com

Re: [U-Boot] [PATCH 1/2] mmc: sh_mmcif: Fix compile error

2014-03-31 Thread Nobuhiro Iwamatsu
Hi! Thanks for your Acked-by. These are part of the MMC, I want to fetch in into your repository. And could you send PR to Tom? Best regards, Nobuhiro 2014-03-31 15:45 GMT+09:00 Pantelis Antoniou pa...@antoniou-consulting.com: Hi Nobuhiro, Thank you for catching this. On Mar 31, 2014,

Re: [U-Boot] [PATCH 1/2] mmc: sh_mmcif: Fix compile error

2014-03-31 Thread Pantelis Antoniou
Hi Nobuhiro, Will be part of the next PR to Tom. Regards -- Pantelis On Mar 31, 2014, at 10:06 AM, Nobuhiro Iwamatsu wrote: Hi! Thanks for your Acked-by. These are part of the MMC, I want to fetch in into your repository. And could you send PR to Tom? Best regards, Nobuhiro

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

2014-03-31 Thread Stefano Babic
Hi Marek, On 28/03/2014 08:30, Marek Vasut wrote: Fix memory access slowness on i.MX53 MX53QSB board. Let us inspect the issue: First of all, the i.MX53 CPU has two memory banks mapped at 0x7000_ and 0xb000_ and each of those can hold up to 1GiB of DRAM memory. Notice that the memory

Re: [U-Boot] [PATCH] build:arm: Remove setting of CROSS_COMPILE environment variable

2014-03-31 Thread Lukasz Majewski
Hi Albert, Hi Albert, Hi Lukasz, On Tue, 25 Mar 2014 09:55:45 +0100, Lukasz Majewski l.majew...@samsung.com wrote: Hi Albert, Hi Lukasz, Tom, Hi Tom, On Tue, Mar 18, 2014 at 04:46:48PM +0100, Lukasz Majewski wrote: After

[U-Boot] [U-boot] how to compile vexpress_aemv8a with latest u-boot code

2014-03-31 Thread TigerLiu
Hi, experts: I usually compiled u-boot for ARMv8 FVP model with below command: export ARCH=aarch64 export CROSS_COMPILE=/home/tiger/tiger-linux-share/CBP5860/ARMv8/gcc-linaro-aar ch64/bin/aarch64-linux-gnu- make vexpress_aemv8a but when I tried to compile it with

Re: [U-Boot] Native builds broken ?

2014-03-31 Thread Lukasz Majewski
Hi Masahiro, Hi On Sun, 30 Mar 2014 23:08:09 +0100 selsin...@gmail.com wrote: Trying to build the u-boot master branch today from 0b2da7e209f4110b7c81d578336a10330e4a4404 natively on arm gives make: arm-linux-gcc: Command not found /bin/sh: arm-linux-gcc: command not found

Re: [U-Boot] [U-boot] how to compile vexpress_aemv8a with latest u-bootcode

2014-03-31 Thread TigerLiu
Hi: Has solved it. make vexpress_aemv8a Should replace it with make vexpress_aemv8a_config and make Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH v2 2/2] mx6: add example DTB for mx6qsabreauto

2014-03-31 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de CC: Fabio Estevam fabio.este...@freescale.com --- Changes in v2: - Use the same dts name as in kernel: imx6q-sabreauto.dts (Fabio Estevam, Lars Steubesand) arch/arm/dts/Makefile|1 + arch/arm/dts/imx6q-sabreauto.dts | 13

[U-Boot] [PATCH v2 1/2] imx: add rules for U-Boot DTB support

2014-03-31 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de --- Changes in v2: None Makefile |6 +++--- arch/arm/config.mk |4 arch/arm/imx-common/Makefile |8 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index

Re: [U-Boot] [PATCH RFC] fsl_esdhc: flush cache after non-read operation

2014-03-31 Thread Hector Palacios
Hi, On 03/28/2014 03:36 PM, Eric Nelson wrote: Hi Hector, On 03/28/2014 06:49 AM, Fabio Estevam wrote: On Fri, Mar 28, 2014 at 7:15 AM, Hector Palacios hector.palac...@digi.com wrote: Cache was invalidated on the read operation, but it should also be flushed otherwise. Signed-off-by: Hector

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

2014-03-31 Thread Masahiro Yamada
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: $ make tools-only Neither board configuration nor cross compiler are

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 09:21:38 AM, Stefano Babic wrote: Hi Marek, On 28/03/2014 08:30, Marek Vasut wrote: Fix memory access slowness on i.MX53 MX53QSB board. Let us inspect the issue: First of all, the i.MX53 CPU has two memory banks mapped at 0x7000_ and 0xb000_ and each

Re: [U-Boot] [PATCH RFC] fsl_esdhc: flush cache after non-read operation

2014-03-31 Thread Marek Vasut
On Monday, March 31, 2014 at 10:23:50 AM, Hector Palacios wrote: Hi, On 03/28/2014 03:36 PM, Eric Nelson wrote: Hi Hector, On 03/28/2014 06:49 AM, Fabio Estevam wrote: On Fri, Mar 28, 2014 at 7:15 AM, Hector Palacios hector.palac...@digi.com wrote: Cache was invalidated on the

Re: [U-Boot] Native builds broken ?

2014-03-31 Thread selsinork
On 31/03/14 01:56, Masahiro Yamada wrote: See http://patchwork.ozlabs.org/patch/331460/ Cool, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 0/3] dfu: Several enhancements for dfu subsystem

2014-03-31 Thread Lukasz Majewski
This patch series provide following improvements: - Time needed for flashing is reduced by switching CRC32 calculation to be optional. - Access to eMMC device partitions (like boot) is now possible - It is now possible to assign several envs for dfu command Lukasz Majewski (2): dfu: mmc:

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

2014-03-31 Thread Lukasz Majewski
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 opportunity to enable on demand (when e.g. debugging) the crc32 calculation. It can

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

2014-03-31 Thread Lukasz Majewski
From: Przemyslaw Marczak p.marc...@samsung.com Thanks to this multiple calls of function dfu_config_entities() give continuous dfu alt numbering until call dfu_free_entities(). This allows to store dfu entities in multiple env variables. Change-Id: Ibca7e785bfca9f53b64d3dff0490185b06841b54

[U-Boot] [PATCH 1/3] dfu: mmc: Provide support for eMMC boot partition access

2014-03-31 Thread Lukasz Majewski
Before this patch it was only possible to access only the default eMMC partition. By partition selection I mean the access to eMMC via ext_csd[179] register programming. It sometimes happens that it is necessary to write to other partitions. This patch adds extra attributes to mmc sub type of the

Re: [U-Boot] [RFC PATCH 04/17] kconfig: add defconfig files for all boards

2014-03-31 Thread Masahiro Yamada
Hi Daniel, On Fri, 28 Mar 2014 21:35:37 +0100 Daniel Schwierzeck daniel.schwierz...@gmail.com wrote: 2014-03-28 3:25 GMT+01:00 Masahiro Yamada yamad...@jp.panasonic.com: Those boards have linker errors, but I do not understand yet why. For example on ARM the linker complains about

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 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 include/hash.h for the

Re: [U-Boot] [PATCH 1/3] dfu: mmc: Provide support for eMMC boot partition access

2014-03-31 Thread Marek Vasut
On Monday, March 31, 2014 at 10:48:47 AM, Lukasz Majewski wrote: Before this patch it was only possible to access only the default eMMC partition. By partition selection I mean the access to eMMC via ext_csd[179] register programming. It sometimes happens that it is necessary to write to

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

2014-03-31 Thread Marek Vasut
On Monday, March 31, 2014 at 10:48:48 AM, Lukasz Majewski wrote: From: Przemyslaw Marczak p.marc...@samsung.com Thanks to this multiple calls of function dfu_config_entities() give continuous dfu alt numbering until call dfu_free_entities(). This allows to store dfu entities in multiple

Re: [U-Boot] [PATCH 1/3] dfu: mmc: Provide support for eMMC boot partition access

2014-03-31 Thread Lukasz Majewski
Hi Marek, On Monday, March 31, 2014 at 10:48:47 AM, Lukasz Majewski wrote: Before this patch it was only possible to access only the default eMMC partition. By partition selection I mean the access to eMMC via ext_csd[179] register programming. It sometimes happens that it is

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

2014-03-31 Thread Lukasz Majewski
Hi Marek, On Monday, March 31, 2014 at 10:48:48 AM, Lukasz Majewski wrote: From: Przemyslaw Marczak p.marc...@samsung.com Thanks to this multiple calls of function dfu_config_entities() give continuous dfu alt numbering until call dfu_free_entities(). This allows to store dfu

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

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 large images

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

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 long delays

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) that are ok

[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 prabha...@freescale.com --- arch/powerpc/cpu/mpc85xx/u-boot-nand.lds |8 +++-

[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 haijun.zh...@freescale.com Signed-off-by: Prabhakar Kushwaha prabha...@freescale.com --- arch/powerpc/include/asm/config_mpc85xx.h |4 1 file changed,

[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 prabha...@freescale.com --- include/configs/B4860QDS.h |2 +- include/configs/BSC9131RDB.h |2 +- include/configs/BSC9132QDS.h |

[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]

[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 prabha...@freescale.com ---

[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 prabha...@freescale.com --- 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

[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 prabha...@freescale.com ---

[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 prabha...@freescale.com --- arch/powerpc/cpu/mpc85xx/u-boot-spl.lds |7 ++- 1 file changed, 6

[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 prabha...@freescale.com --- 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

[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 prabha...@freescale.com --- 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()

[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 prabha...@freescale.com --- Makefile | 19 +++ README |4 2 files changed, 23 insertions(+) diff --git a/Makefile

[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

[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

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: $ make

[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

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 opportunity to

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.

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 environment variable

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 when large images

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

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) are

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) are

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 tr...@ti.com wrote: On Fri, Mar 28, 2014 at 03:09:51PM +0900, Masahiro Yamada wrote: We should avoid the description in Makefile like this ifdef

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

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 l.majew...@samsung.com wrote: Hi Simon, From: Tom Wai-Hong Tam waih...@chromium.org This adds driver support for the TPS65090 PMU. Support includes hooking into the pmic infrastructure  so that the pmic commands can be

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 l.majew...@samsung.com wrote: Hi Simon, Heiko From: Aaron Durbin adur...@chromium.org 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

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. Usage:

Re: [U-Boot] board: enable 32kHz RTC OSC at BR 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 BR boards, the OSC will be enabled wihtin SPL-stage. Signed-off-by: Hannes Petermaier oe5...@oevsv.at Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital

[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

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. This

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 a specific

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 yamad...@jp.panasonic.com Cc: Stephen Warren

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 could build

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:33:51PM +0900,

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. Usage:

[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 m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- include/part.h | 1 + 1 file changed, 1

[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

[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 m.zal...@samsung.com Cc: Tom Rini tr...@ti.com Cc: Lukasz Majewski l.majew...@samsung.com --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[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 m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- 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

[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 m.zal...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de ---

[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 m.zal...@samsung.com Tested-by: Mateusz Zalega m.zal...@samsung.com Cc: Lukasz Majewski

[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 a.wlodarc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Signed-off-by: Mateusz

[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 m.zal...@samsung.com Cc: Marek Vasut ma...@denx.de Cc: Tom Rini tr...@ti.com --- include/linker_lists.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linker_lists.h

[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

[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.

[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 m.zal...@samsung.com Cc: Minkyu Kang

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

2014-03-31 Thread Mateusz Zalega
Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- 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

[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 m.zal...@samsung.com Cc: Lukasz Majewski l.majew...@samsung.com --- common/cmd_usb_mass_storage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[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 m.zal...@samsung.com --- drivers/mmc/mmc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/mmc.c

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 yamad...@jp.panasonic.com Cc: Wolfgang Denk w...@denx.de --- arch/powerpc/cpu/mpc8xx/wlkbd.c | 20 1 file changed, 20 deletions(-)

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 m.zal...@samsung.com Cc: Lukasz

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 m.zal...@samsung.com Cc: Marek Vasut ma...@denx.de

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 If

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 ste...@agner.ch wrote: Am

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 l.majew...@samsung.com 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

  1   2   >