Re: [U-Boot] [v2 PATCH 10/12] arm, spl, at91: add at91sam9260 and at91sam9g45 spl support

2014-10-31 Thread Heiko Schocher
Hello Bo, Am 31.10.2014 02:50, schrieb Bo Shen: Hi Heiko, On 10/30/2014 04:15 PM, Heiko Schocher wrote: diff --git a/arch/arm/cpu/at91-common/spl.c b/arch/arm/cpu/at91-common/spl.c index 674a470..5c9a3ad 100644 --- a/arch/arm/cpu/at91-common/spl.c +++ b/arch/arm/cpu/at91-common/spl.c I am

Re: [U-Boot] [v2 PATCH 10/12] arm, spl, at91: add at91sam9260 and at91sam9g45 spl support

2014-10-31 Thread Wolfgang Denk
Dear Bo Shen, In message 5452ead4.7080...@atmel.com you wrote: I am thinking, whether it be better to keep this file as two copy? This will remove #ifdef, although a little code duplication. I agree that we should try and minimize #ifdef's, but code duplication is even worse. Best

[U-Boot] [PATCH] arm: ls102xa: Update PCIe dts node status

2014-10-31 Thread Minghuan Lian
The patch changes PCIe dts node status to 'disabled' if the corresponding controller is disabled according to serdes protocol. Signed-off-by: Minghuan Lian minghuan.l...@freescale.com --- arch/arm/include/asm/arch-ls102xa/config.h | 3 ++ arch/arm/include/asm/pcie_layerscape.h | 13

[U-Boot] [PATCH] blackfin: rename blackfin i2c driver to adi

2014-10-31 Thread Scott Jiang
This driver is not only used on blackfin. So it's better to rename it and access i2c registers by standard io functions. Fix coding style as well. Signed-off-by: Scott Jiang scott.jiang.li...@gmail.com --- drivers/i2c/Makefile |2 +- drivers/i2c/{bfin-twi_i2c.c =

Re: [U-Boot] [PATCH] blackfin: rename blackfin i2c driver to adi

2014-10-31 Thread Heiko Schocher
Hello Scott, Am 01.11.2014 07:08, schrieb Scott Jiang: something is wrong with your clock ... patch is not yet in patchwork ... This driver is not only used on blackfin. So it's better to rename it and access i2c registers by standard io functions. Fix coding style as well. Signed-off-by:

Re: [U-Boot] [PATCH v5] fs: fat/ext4/sandbox - Deal with files greater than 2GB

2014-10-31 Thread Simon Glass
Hi Suriyan, On 28 October 2014 17:00, Suriyan Ramasami suriya...@gmail.com wrote: The commands fatls/ext4ls give negative values when dealing with files greater than 2GB. The commands fatsize/ext4size do not update the variable filesize for these files. To deal with this, the fs functions

Re: [U-Boot] verified boot of beaglebone black

2014-10-31 Thread Srinivasan S
Thanks a lot for your replies Simon, 1. Could you please confirm whether the beaglebone black support exists in that U-Boot 2014.07 can I use linux-3.12.10-ti2013.12.01 kernel (provided by ti-sdk-am335x-evm-07.00.00.00 )on top of this U-Boot 2014.07 2. Could you please provide me the link

Re: [U-Boot] verified boot of beaglebone black

2014-10-31 Thread Srinivasan S
Hi Simon Once again thanks a lot for your confirmation As you suggested, I have downloaded u-boot-2014.07.tar.bz2ftp://ftp.denx.de/pub/u-boot/u-boot-2014.07.tar.bz2 when I was trying to build the same , I was facing the below errors

[U-Boot] DECLARE_GLOBAL_DATA_PTR : move from source to Makefile

2014-10-31 Thread Kevin Du Huanpeng
Hi, all, I find this macro is found anywhere in the source, nearly one thousand in the source, looks odd sometime. I have a idea about this: 1. remove DECLARE_GLOBAL_DATA_PTR from source about one thousand DECLARE_GLOBAL_DATA_PTR in the source 2. add a file like, same as other archs.

Re: [U-Boot] [BUG] kwimage v0 broken

2014-10-31 Thread Stefan Roese
Hi Gerald! On 31.10.2014 01:06, drEagle wrote: I have compared the latest kwimage and the oldest one. I have found some minor differences that make my sheevaplugs flashing and u-booting again. Thanks for your effort here. Really appreciated! And sorry for breaking things for you. Thanks,

Re: [U-Boot] [PATCH 3/3] ARM: kwimage: fix v0 format

2014-10-31 Thread Stefan Roese
On 31.10.2014 01:03, Gerald Kerma wrote: This patch fix the kwimage tools for version 0 fileformat used for kirkwood Tested on sheevaplug Signed-off-by: Gerald Kerma drea...@doukki.net I tested this on AXP (version 1 instead of version 0) and found no problems here. So: Tested-by: Stefan

Re: [U-Boot] verified boot of beaglebone black

2014-10-31 Thread Jagan Teki
On 31 October 2014 10:48, Srinivasan S srinivasa...@tataelxsi.co.in wrote: Hi Simon Once again thanks a lot for your confirmation As you suggested, I have downloaded u-boot-2014.07.tar.bz2ftp://ftp.denx.de/pub/u-boot/u-boot-2014.07.tar.bz2 when I was trying to build the same , I was

Re: [U-Boot] [PATCH 1/2] kconfig: arm: select CPU_V7 for some new boards

2014-10-31 Thread Stefan Roese
On 31.10.2014 06:26, Masahiro Yamada wrote: Marvell DB-MV784MP-GP and maxBCM are pretty new boards and were missed by commit 2e07c249a67e (kconfig: arm: introduce symbol for ARM CPUs). This commit adds select CPU_V7 for them and remove redundant config SYS_CPU and string directives.

[U-Boot] [PATCH] arm: rmobile: r8a7790: Update initialize L2 cache

2014-10-31 Thread Nobuhiro Iwamatsu
Initialization of L2CTLR[5] was set only as R8A7790 by commit 237faf095fb43abbed6e40266ef7efccc8b9308b. However, initialization of cash needs to be performed continuously. This changes into the processing which continues initialization of L2CTLR[5] into L2CTLR cash and performs it. Signed-off-by:

[U-Boot] [PATCH] arm: rmobile: lager: Fix change of the CPU frequency

2014-10-31 Thread Nobuhiro Iwamatsu
The change of the CPU frequency is waited for until PLL0ST of the PLLECR is set to 1. Signed-off-by: Hisashi Nakamura hisashi.nakamura...@renesas.com Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- arch/arm/include/asm/arch-rmobile/rcar-base.h | 2 ++

Re: [U-Boot] [PATCH] arm: socfpga: Add example config entry for EPCS/EPCQ SPI

2014-10-31 Thread Jagan Teki
On 30 October 2014 22:59, Marek Vasut ma...@denx.de wrote: On Thursday, October 30, 2014 at 03:38:40 PM, Jagan Teki wrote: On 30 October 2014 15:00, Marek Vasut ma...@denx.de wrote: Add example config file entry for the Altera SPI controller. This SPI controller can also, under special

Re: [U-Boot] [PATCH] blackfin: rename blackfin i2c driver to adi

2014-10-31 Thread Scott Jiang
Hi Heiko, static int wait_for_completion(struct i2c_msg *msg) { - uint16_t int_stat; + u16 int_stat, ctl; This change is not related to the subject of the patch, please split this into seperate patches ... ulong timebase = get_timer(0); do { -

[U-Boot] [PATCH 2/6] arm: rmobile: koelsch: Add external RAM boot

2014-10-31 Thread Nobuhiro Iwamatsu
If CONFIG_RMOBILE_EXTRAM_BOOT is enabled, U-Boot is booted from External RAM. The default boot address is 0x7000. Signed-off-by: Hisashi Nakamura hisashi.nakamura...@renesas.com Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- arch/arm/cpu/armv7/rmobile/Kconfig | 2 +-

[U-Boot] [PATCH 4/6] arm: rmobile: lager: Remove RAM address initialization

2014-10-31 Thread Nobuhiro Iwamatsu
Since board info structure is not still set up, the setting of RAM address causes illegal access. Therefore the setting of RAM address is removed. Signed-off-by: Hisashi Nakamura hisashi.nakamura...@renesas.com Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com ---

[U-Boot] [PATCH 6/6] arm: rmobile: alt: Remove RAM address initialization

2014-10-31 Thread Nobuhiro Iwamatsu
Since board info structure is not still set up, the setting of RAM address causes illegal access. Therefore the setting of RAM address is removed. Signed-off-by: Hisashi Nakamura hisashi.nakamura...@renesas.com Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com ---

[U-Boot] [PATCH 5/6] arm: rmobile: koelsch: Remove RAM address initialization

2014-10-31 Thread Nobuhiro Iwamatsu
Since board info structure is not still set up, the setting of RAM address causes illegal access. Therefore the setting of RAM address is removed. Signed-off-by: Hisashi Nakamura hisashi.nakamura...@renesas.com Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com ---

[U-Boot] [PATCH 1/6] arm: rmobile: lager: Add external RAM boot

2014-10-31 Thread Nobuhiro Iwamatsu
If CONFIG_RMOBILE_EXTRAM_BOOT is enabled, U-Boot is booted from External RAM. The default boot address is 0xB000. Signed-off-by: Hisashi Nakamura hisashi.nakamura...@renesas.com Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- arch/arm/cpu/armv7/rmobile/Kconfig | 5

[U-Boot] [PATCH 3/6] arm: rmobile: alt: Add external RAM boot

2014-10-31 Thread Nobuhiro Iwamatsu
If CONFIG_RMOBILE_EXTRAM_BOOT is enabled, U-Boot is booted from External RAM. The default boot address is 0x7000. Signed-off-by: Hisashi Nakamura hisashi.nakamura...@renesas.com Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- arch/arm/cpu/armv7/rmobile/Kconfig | 2 +-

Re: [U-Boot] DECLARE_GLOBAL_DATA_PTR : move from source to Makefile

2014-10-31 Thread Masahiro Yamada
Hi Kevin. On Fri, 31 Oct 2014 13:04:38 +0800 Kevin Du Huanpeng u74...@gmail.com wrote: Hi, all, I find this macro is found anywhere in the source, nearly one thousand in the source, looks odd sometime. Only one thousand. We have more than 6000 source files.

[U-Boot] [PATCH 1/3] arm: rmobile: alt: Fix typo of SCIF id

2014-10-31 Thread Nobuhiro Iwamatsu
Alt board use SCIF2, not SCIF0. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- board/renesas/alt/alt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/renesas/alt/alt.c b/board/renesas/alt/alt.c index b668bf6..5c5a86f 100644 ---

[U-Boot] [PATCH 2/3] arm: rmobile: alt: Add support USB and USB commands

2014-10-31 Thread Nobuhiro Iwamatsu
This adds support for USB commands and USB storage device. Signed-off-by: Yoshiyuki Ito yoshiyuki.ito...@renesas.com Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- include/configs/alt.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/alt.h

[U-Boot] [PATCH 3/3] arm: rmobile: alt: Add VFAT filesystem support

2014-10-31 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- include/configs/alt.h | 6 ++ 1 file changed, 6 insertions(+) diff --git a/include/configs/alt.h b/include/configs/alt.h index 502b727..7bd649f 100644 --- a/include/configs/alt.h +++ b/include/configs/alt.h @@ -32,6 +32,8

[U-Boot] [v3 PATCH 05/12] arm, at91: add missing ddr2 cr register MPDDRC_CR_EBISHARE define

2014-10-31 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de Reviewed-by: Bo Shen voice.s...@atmel.com --- Changes in v3: add Reviewed-by from Bo Shen Changes in v2: add comment from Andreas Biessmann: - rename MPDDRC_CR_EBISHARE to MPDDRC_CR_DQMS_SHARED arch/arm/include/asm/arch-at91/atmel_mpddrc.h | 1 + 1

[U-Boot] [v3 PATCH 06/12] spl, nand: add option to boot raw u-boot.bin image only

2014-10-31 Thread Heiko Schocher
enable to boot only a raw u-boot.bin image from nand with the CONFIG_SPL_NAND_RAW_ONLY define. This option saves space on boards where spl space is low. Signed-off-by: Heiko Schocher h...@denx.de Reviewed-by: Andreas Bießmann andreas.de...@googlemail.com Reviewed-by: Bo Shen voice.s...@atmel.com

[U-Boot] [v3 PATCH 01/12] spi, atmel: move CONFIG_SYS_SPI_WRITE_TOUT into common header

2014-10-31 Thread Heiko Schocher
move CONFIG_SYS_SPI_WRITE_TOUT into drivers/spi/atmel_spi.h and define a default value. Delete this define in the board config files, where it is possible (all boards use currently the same value). Signed-off-by: Heiko Schocher h...@denx.de --- Changes in v3: rebased against

[U-Boot] [v3 PATCH 02/12] arm, at91: add spi dataflash support for the taurus board

2014-10-31 Thread Heiko Schocher
Signed-off-by: Heiko Schocher h...@denx.de Reviewed-by: Bo Shen voice.s...@atmel.com --- Changes in v3: add Reviewed-by from Bo Shen Changes in v2: - add comment from Jagan Teki: - remove spi_init_f() from board file - remove CONFIG_SYS_SPI_WRITE_TOUT from board config file instead

[U-Boot] [v3 PATCH 03/12] arm, at91, mpddrc: fix typo in ddr2_init()

2014-10-31 Thread Heiko Schocher
use the configure value for computing the ba_off value not the value from the cr register. This leaded in a wrong ram configuration on the upcoming corvus spl board support. Signed-off-by: Heiko Schocher h...@denx.de Reviewed-by: Andreas Bießmann andreas.de...@googlemail.com --- Changes in v3:

[U-Boot] [v3 PATCH 08/12] spl, nand, atmel_nand: add erase one block function

2014-10-31 Thread Heiko Schocher
erase one nand block in spl code. keep it simple, as size matters This is used on the upcoming taurus spl support. Signed-off-by: Heiko Schocher h...@denx.de Acked-by: Scott Wood scottw...@freescale.com Reviewed-by: Bo Shen voice.s...@atmel.com --- Changes in v3: add Acked-by from Scott Wood

[U-Boot] [v3 PATCH 04/12] arm, at91: compile mpddrc ram init code also for AT91SAM9M10G45

2014-10-31 Thread Heiko Schocher
- compile mpddrc ram init code also for AT91SAM9M10G45 based boards. - in CONFIG_SAMA5D3 case, look for the ATMEL_MPDDRC_CR_DECOD_INTERLEAVED in the cr configuration Signed-off-by: Heiko Schocher h...@denx.de Reviewed-by: Andreas Bießmann andreas.de...@googlemail.com Reviewed-by: Bo Shen

[U-Boot] [v3 PATCH 09/12] spl, mtd, nand, atmel_nand: invert device ready pin logic

2014-10-31 Thread Heiko Schocher
device ready pin is signalling that the device is ready on state 1 not on 0. Simmiliar as it is in drivers/mtd/nand/nand_spl_simple.c Signed-off-by: Heiko Schocher h...@denx.de Reviewed-by: Andreas Bießmann andreas.de...@googlemail.com Reviewed-by: Bo Shen voice.s...@atmel.com Acked-by: Scott

[U-Boot] [v3 PATCH 07/12] mtd: atmel_nand: add missign include

2014-10-31 Thread Heiko Schocher
using this driver in SPL code with CONFIG_SPL_NAND_ECC configured leads in an compileerror. Fix this. Signed-off-by: Heiko Schocher h...@denx.de Reviewed-by: Andreas Bießmann andreas.de...@googlemail.com Reviewed-by: Bo Shen voice.s...@atmel.com --- Changes in v3: add Reviewed-by from Bo Shen

[U-Boot] [v3 PATCH 10/12] arm, spl, at91: add at91sam9260 and at91sam9g45 spl support

2014-10-31 Thread Heiko Schocher
add support for using spl code on at91sam9260 and at91sam9g45 based boards. Signed-off-by: Heiko Schocher h...@denx.de Reviewed-by: Bo Shen voice.s...@atmel.com --- Changes in v3: add comment from Bo shen - fix AT91_PMC_MCKR_CSS_MASK and AT91_PMC_MCKR_PRES_MASK - make matrix_init weak, and add

[U-Boot] [v3 PATCH 11/12] arm, at91, spl: add spl support for the taurus board

2014-10-31 Thread Heiko Schocher
replaces the at91bootstrap code with SPL code. make the spl image with: ./tools/mkimage -T atmelimage -d spl/u-boot-spl.bin spl/boot.bin this writes the length of the spl image into the 6th execption vector. This is needed from the ROM bootloader. Signed-off-by: Heiko Schocher h...@denx.de

[U-Boot] [v3 PATCH 12/12] arm, spl, at91: add spl support for the corvus board

2014-10-31 Thread Heiko Schocher
replaces the at91bootstrap code with SPL code. make the spl image with: ./tools/mkimage -T atmelimage -d spl/u-boot-spl.bin spl/boot.bin this writes the length of the spl image into the 6th execption vector. This is needed from the ROM bootloader. Signed-off-by: Heiko Schocher h...@denx.de

Re: [U-Boot] [v3 PATCH 07/12] mtd: atmel_nand: add missign include

2014-10-31 Thread Bo Shen
Hi Heiko, Sorry for missing the subject typo error on v2 review. s/missign/missing. I think it can be corrected when apply. On 10/31/2014 03:31 PM, Heiko Schocher wrote: using this driver in SPL code with CONFIG_SPL_NAND_ECC configured leads in an compileerror. Fix this. Signed-off-by:

Re: [U-Boot] [PATCH v4 05/29] dm: spi: Add a uclass for SPI

2014-10-31 Thread Stefan Roese
Hi Simon, On 31.10.2014 02:30, Simon Glass wrote: But first let's make sure that you really do have the platform that doesn't use device tree... If it is ARM my understanding is that it should. It does. In the kernel. I think I'll dive into adding DT support for SoCFPGA for a few hours.

Re: [U-Boot] [v3 PATCH 07/12] mtd: atmel_nand: add missign include

2014-10-31 Thread Heiko Schocher
Hello Bo, Am 31.10.2014 08:43, schrieb Bo Shen: Hi Heiko, Sorry for missing the subject typo error on v2 review. s/missign/missing. Ups ... corrected ... I think it can be corrected when apply. That would be great, thanks! bye, Heiko On 10/31/2014 03:31 PM, Heiko Schocher wrote:

Re: [U-Boot] [PATCH] blackfin: rename blackfin i2c driver to adi

2014-10-31 Thread Heiko Schocher
Hello Scott Jiang, Am 31.10.2014 08:12, schrieb Scott Jiang: Hi Heiko, static int wait_for_completion(struct i2c_msg *msg) { - uint16_t int_stat; + u16 int_stat, ctl; This change is not related to the subject of the patch, please split this into seperate patches ...

[U-Boot] [v3 PATCH 0/12] arm, at91, spl: add spl support for the taurus and corvus boards

2014-10-31 Thread Heiko Schocher
This patchset add SPL support for the AT91SAM9G20 based taurus board, and the AT91SAM9M10G45 based corvus board from siemens, and replaces the at91bootstrap code. The boot.bin which replaces the at91bootstrap image can created with mkimage: ./tools/mkimage -T atmelimage -d spl/u-boot-spl.bin

Re: [U-Boot] Flat Image Tree and boot arguments

2014-10-31 Thread Weiß Christoph
Hello, Thanks for your answer. I recreated the ITB file and it then showed the load address and entry point given in the IST during boot execution. This however did not change anything. Strangely enough a newly compiled kernel image did the trick (although the original image worked in all

Re: [U-Boot] DECLARE_GLOBAL_DATA_PTR : move from source to Makefile

2014-10-31 Thread Kevin Du Huanpeng
Hi, Yamada, thanks for your reply, your reasons for keep this are: 1. 973/6535 = 10.60% in your opinion, 10.60 % is good. - - - - du@sailor:~/u-boot$ grep -R DECLARE_GLOBAL_DATA_PTR ./ | wc -l 973 du@sailor:~/openas/u-boot$ find -name *.[chS] | wc -l 6535 - - - - 2. a source file should only

Re: [U-Boot] [PATCH 1/3] exynos5: fix GPIO information of exynos5420

2014-10-31 Thread Lukasz Majewski
Hi Hyungwon, This patch fixes wrong GPIO information such as GPIO bank, table which is used to convert GPIO name to index, bank base address, and etc. Change-Id: Ideb0f1f10257c9c258f8bca68befc47aed3c43c7 Please remove Change-Id from commits. (you can run your patch through

Re: [U-Boot] Need FTP client support in U-Boot

2014-10-31 Thread Antony Pavlov
On Thu, 30 Oct 2014 08:08:44 +0100 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: On Wed, Oct 29, 2014 at 03:49:15PM +0100, Wolfgang Denk wrote: Dear Madhu, In message 23c3598d8b87452eb6a3d1f52afb8...@sg2pr01mb0394.apcprd01.prod.exchangelabs.com you wrote: We

Re: [U-Boot] Need FTP client support in U-Boot

2014-10-31 Thread Antony Pavlov
On Fri, 31 Oct 2014 12:35:18 +0400 Antony Pavlov antonynpav...@gmail.com wrote: $ time busybox tftp -g -r antony/16M -l 16M tftpserver ^^ antony/16M 100% |**| 16384k 0:00:00 ETA real

[U-Boot] [PATCH 3/3] Odroid-XU3: Add support for Odroid-XU3

2014-10-31 Thread Hyungwon Hwang
This patch adds support for Odroid-XU3. Change-Id: Ia45d119a62b126f2328684485b8c372ba6acbe00 Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- arch/arm/cpu/armv7/exynos/Kconfig | 4 + arch/arm/dts/Makefile | 3 +- arch/arm/dts/exynos5422-odroidxu3.dts | 72

[U-Boot] [PATCH 1/3] exynos5: fix GPIO information of exynos5420

2014-10-31 Thread Hyungwon Hwang
This patch fixes wrong GPIO information such as GPIO bank, table which is used to convert GPIO name to index, bank base address, and etc. I have done this work on the patchset submitted by Akshay Saraswat. https://patchwork.ozlabs.org/patch/400043/ Signed-off-by: Hyungwon Hwang

[U-Boot] [PATCH 2/3] Exynos5800: Add support for Exynos5800

2014-10-31 Thread Hyungwon Hwang
The gpios of Exynos5800 are different from that of Exynos5420. This patch adds the gpio information and table of Exynos5800. Change-Id: Ic609973ab531e2b6ee9a68cfec0b6b9571f203a8 Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- arch/arm/include/asm/arch-exynos/gpio.h | 31

Re: [U-Boot] [PATCH v2 6/6] dm: sunxi: Add support for serial using driver model

2014-10-31 Thread Hans de Goede
Hi Ian, On 30 October 2014 04:14, Ian Campbell i...@hellion.org.uk wrote: On Thu, 2014-10-30 at 10:36 +0100, Hans de Goede wrote: Hi, On 10/30/2014 10:08 AM, Ian Campbell wrote: On Wed, 2014-10-29 at 13:28 -0600, Simon Glass wrote: In the meantime could we somehow replace/augment the

Re: [U-Boot] [PATCH] arm: socfpga: Add example config entry for EPCS/EPCQ SPI

2014-10-31 Thread Marek Vasut
On Friday, October 31, 2014 at 08:09:21 AM, Jagan Teki wrote: On 30 October 2014 22:59, Marek Vasut ma...@denx.de wrote: On Thursday, October 30, 2014 at 03:38:40 PM, Jagan Teki wrote: On 30 October 2014 15:00, Marek Vasut ma...@denx.de wrote: Add example config file entry for the Altera

Re: [U-Boot] [PATCH 2/3] Exynos5422: Add support for Exynos5422

2014-10-31 Thread Lukasz Majewski
Hi Hyungwon, This patch adds support for Exynos5422 including GPIO, clock, pinmux, and cpu id. Change-Id: Ic609973ab531e2b6ee9a68cfec0b6b9571f203a8 Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- arch/arm/include/asm/arch-exynos/gpio.h | 31 +--

Re: [U-Boot] [PATCH] arm: socfpga: Add example config entry for EPCS/EPCQ SPI

2014-10-31 Thread Jagan Teki
On 31 October 2014 14:36, Marek Vasut ma...@denx.de wrote: On Friday, October 31, 2014 at 08:09:21 AM, Jagan Teki wrote: On 30 October 2014 22:59, Marek Vasut ma...@denx.de wrote: On Thursday, October 30, 2014 at 03:38:40 PM, Jagan Teki wrote: On 30 October 2014 15:00, Marek Vasut

Re: [U-Boot] [PATCH] arm: socfpga: Add example config entry for EPCS/EPCQ SPI

2014-10-31 Thread Marek Vasut
On Friday, October 31, 2014 at 10:16:20 AM, Jagan Teki wrote: On 31 October 2014 14:36, Marek Vasut ma...@denx.de wrote: On Friday, October 31, 2014 at 08:09:21 AM, Jagan Teki wrote: On 30 October 2014 22:59, Marek Vasut ma...@denx.de wrote: On Thursday, October 30, 2014 at 03:38:40 PM,

Re: [U-Boot] [PATCH 2/3] Exynos5422: Add support for Exynos5422

2014-10-31 Thread Hyungwon Hwang
Hi, On Fri, 31 Oct 2014 10:08:34 +0100 Lukasz Majewski l.majew...@samsung.com wrote: Hi Hyungwon, This patch adds support for Exynos5422 including GPIO, clock, pinmux, and cpu id. Change-Id: Ic609973ab531e2b6ee9a68cfec0b6b9571f203a8 Signed-off-by: Hyungwon Hwang

Re: [U-Boot] [PATCH v2 6/6] dm: sunxi: Add support for serial using driver model

2014-10-31 Thread Ian Campbell
On Fri, 2014-10-31 at 10:07 +0100, Hans de Goede wrote: Hi Ian, On 30 October 2014 04:14, Ian Campbell i...@hellion.org.uk wrote: On Thu, 2014-10-30 at 10:36 +0100, Hans de Goede wrote: Hi, On 10/30/2014 10:08 AM, Ian Campbell wrote: On Wed, 2014-10-29 at 13:28 -0600, Simon Glass

Re: [U-Boot] [PATCH v2 6/6] dm: sunxi: Add support for serial using driver model

2014-10-31 Thread Hans de Goede
Hi, On 10/31/2014 10:30 AM, Ian Campbell wrote: On Fri, 2014-10-31 at 10:07 +0100, Hans de Goede wrote: Hi Ian, On 30 October 2014 04:14, Ian Campbell i...@hellion.org.uk wrote: On Thu, 2014-10-30 at 10:36 +0100, Hans de Goede wrote: Hi, On 10/30/2014 10:08 AM, Ian Campbell wrote: On

[U-Boot] [PATCH] mtd, cfi, ubi: add missing writebufsize initialization

2014-10-31 Thread Heiko Schocher
ff94bc40af3481d47546595ba73c136de6af6929 mtd, ubi, ubifs: resync with Linux-3.14 introduced the writebufsize field in struct mtd_info, which is not initialized in the cfi_flash driver, which leads in not working ubi on cfi flashes. Fix it Signed-off-by: Heiko Schocher h...@denx.de Reported-by:

Re: [U-Boot] [PATCH] mtd, cfi, ubi: add missing writebufsize initialization

2014-10-31 Thread Stefan Roese
Hi Heiko, On 31.10.2014 10:39, Heiko Schocher wrote: ff94bc40af3481d47546595ba73c136de6af6929 mtd, ubi, ubifs: resync with Linux-3.14 introduced the writebufsize field in struct mtd_info, which is not initialized in the cfi_flash driver, which leads in not working ubi on cfi flashes. Fix it

[U-Boot] [PATCH v3 2/7] Exynos5800: Add DTS for new board Peach-Pi

2014-10-31 Thread Akshay Saraswat
We have a new board Peach-Pi similar to Peach-Pit. Peach-Pi differs from Peach-Pit in configuration factors like display resolution, memory size, SoC version etc. Signed-off-by: Alim Akhtar alim.akh...@samsung.com Signed-off-by: Akshay Saraswat aksha...@samsung.com --- Changes since v2: -

Re: [U-Boot] [PATCH v2 0/6] Addition of new board Peach-Pi

2014-10-31 Thread Akshay Saraswat
Hi Simon, Hi Simon, Apologies for the delay in reply. I was out of office. Hi Akshay, On 17 October 2014 11:52, Simon Glass wrote: Hi Akshay, On 15 October 2014 18:38, Akshay Saraswat wrote: Now we are adding a new Peach-Pi board which is a variant of Peach-Pit and is based on

[U-Boot] [PATCH v3 1/7] Exynos5800: Introduce new proid for Exynos5800

2014-10-31 Thread Akshay Saraswat
This patch intends to add a new proid for Exynos5800 which is a variant of Exynos5420. Product id for Exynos5800 is 0x5422. Both Exynos5420 and Exynos5800 are pin to pin compitable. This gives us an advantage of reusing Exynos5420 clock, pinmux, memory and other settings. Signed-off-by: Alim

[U-Boot] [PATCH v3 0/7] Addition of new board Peach-Pi

2014-10-31 Thread Akshay Saraswat
Now we are adding a new Peach-Pi board which is a variant of Peach-Pit and is based on Exynos5800. Exynos5800 itself is a variant of Exynos5420, hence, most of the hardware config and settings are reused for this board. Changes since v1: - Rebased all the patches Changes since v2:

[U-Boot] [PATCH v3 3/7] Config: Exynos5800: Enable build for Peach-Pi

2014-10-31 Thread Akshay Saraswat
This adds following things : - New config and defconfig for Peach-Pi board. - Alterations in Kconfig and MAINTAINERS. - Addition of CONFIG_EXYNOS5800. - ADdition of exynos5800-peach-pi in dts list. Signed-off-by: Akshay Saraswat aksha...@samsung.com --- Changes since v2: - Rebased this

[U-Boot] [PATCH v3 6/7] Exynos5: ddr3: Choose between single or double channel config

2014-10-31 Thread Akshay Saraswat
Add a 4G configuration and choose it based on the number of banks declared in config file. A board with 4 SDRAM banks declared (as per CONFIG_NR_DRAM_BANKS) will end up with the 2G confiuration. Signed-off-by: Doug Anderson diand...@chromium.org Signed-off-by: Akshay Saraswat aksha...@samsung.com

Re: [U-Boot] [PATCH] mtd, cfi, ubi: add missing writebufsize initialization

2014-10-31 Thread Heiko Schocher
Hello Stefan, Am 31.10.2014 10:44, schrieb Stefan Roese: Hi Heiko, On 31.10.2014 10:39, Heiko Schocher wrote: ff94bc40af3481d47546595ba73c136de6af6929 mtd, ubi, ubifs: resync with Linux-3.14 introduced the writebufsize field in struct mtd_info, which is not initialized in the cfi_flash

[U-Boot] [PATCH v3 7/7] Peach-Pi: Use the enhanced usb_copy() prototype

2014-10-31 Thread Akshay Saraswat
From: Vadim Bendebury vben...@chromium.org Exynos5800 IROM has a different, from 5250 and 5420, prototype of the usb_copy() function. Luckily the earlier version did not expect any arguments, which means the same code could be used with old and new SoCs, the old ones just ignoring the arguments.

[U-Boot] [PATCH v3 5/7] Config: Exynos5420: Refactor SDRAM Bank and Size

2014-10-31 Thread Akshay Saraswat
Since, not every board may have all memory channels configured and all available banks of DMC used, we wish to refactor configs for Memory Bank size and numbers as per board memory config. For Example, Peach-Pit has 2GB memory and will be using only 4 banks but Peach-Pi has 3.5GB memory and will

Re: [U-Boot] [PATCH 3/3] Odroid-XU3: Add support for Odroid-XU3

2014-10-31 Thread Lukasz Majewski
Hi Hyungwon, This patch adds support for Odroid-XU3. Change-Id: Ia45d119a62b126f2328684485b8c372ba6acbe00 As stated previously - please run checkpatch.pl on a patch before submitting. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- arch/arm/cpu/armv7/exynos/Kconfig | 4 +

Re: [U-Boot] [PATCH v2 6/6] dm: sunxi: Add support for serial using driver model

2014-10-31 Thread Ian Campbell
On Fri, 2014-10-31 at 10:33 +0100, Hans de Goede wrote: Ah, but I plan to merge the v3 Simon has posted to u-boot-sunxi/next and then do a pull-req with that in there this weekend. IOW we don't need to solve the pinmux problem for that series to get merged (from my pov). So maybe we should

Re: [U-Boot] [PATCH 2/3] Exynos5422: Add support for Exynos5422

2014-10-31 Thread Lukasz Majewski
Hi Hyungwon, Hi, On Fri, 31 Oct 2014 10:08:34 +0100 Lukasz Majewski l.majew...@samsung.com wrote: Hi Hyungwon, This patch adds support for Exynos5422 including GPIO, clock, pinmux, and cpu id. Change-Id: Ic609973ab531e2b6ee9a68cfec0b6b9571f203a8 Signed-off-by: Hyungwon

Re: [U-Boot] [PATCH v3 3/7] Config: Exynos5800: Enable build for Peach-Pi

2014-10-31 Thread Wolfgang Denk
Dear Akshay Saraswat, In message 1414745754-4394-4-git-send-email-aksha...@samsung.com you wrote: This adds following things : - New config and defconfig for Peach-Pi board. - Alterations in Kconfig and MAINTAINERS. - Addition of CONFIG_EXYNOS5800. - ADdition of exynos5800-peach-pi in dts

[U-Boot] mtd, ubi: errormessage handling

2014-10-31 Thread Heiko Schocher
Hello all, as I just debugged a problem with ubi on cfi flashes [1], the question raised, if it would be a good idea to enable ubi error messages by default? I think, if we enable them by default, the error Andrew had, would be visible immediately: with ubi errormessages [3]: = ubi part misc

[U-Boot] [PATCH v2] mtd, cfi, ubi: add missing writebufsize initialization

2014-10-31 Thread Heiko Schocher
ff94bc40af3481d47546595ba73c136de6af6929 mtd, ubi, ubifs: resync with Linux-3.14 introduced the writebufsize field in struct mtd_info, which is not initialized in the cfi_flash driver, which leads in not working ubi on cfi flashes. Fix it Signed-off-by: Heiko Schocher h...@denx.de Reported-by:

[U-Boot] [PATCH] MAINTAINERS: add me as a maintainer of MTD

2014-10-31 Thread Heiko Schocher
Add MAINTAINERS and doc/git-mailrc entry. Signed-off-by: Heiko Schocher h...@denx.de --- as discussed this step here and there first of all with Scott Wood for example here: http://lists.denx.de/pipermail/u-boot/2014-August/186005.html I am now ready for taking over the ownership for MTD ...

Re: [U-Boot] [v3 PATCH 02/12] arm, at91: add spi dataflash support for the taurus board

2014-10-31 Thread Jagan Teki
On 31 October 2014 13:00, Heiko Schocher h...@denx.de wrote: Signed-off-by: Heiko Schocher h...@denx.de Reviewed-by: Bo Shen voice.s...@atmel.com --- Changes in v3: add Reviewed-by from Bo Shen Changes in v2: - add comment from Jagan Teki: - remove spi_init_f() from board file -

[U-Boot] [PATCH v2] powerpc/t208xqds: VID support

2014-10-31 Thread ying.zhang
From: Ying Zhang b40...@freescale.com The fuse status register provides the values from on-chip voltage ID efuses programmed at the factory. These values define the voltage requirements for the chip. u-boot reads FUSESR and translates the values into the appropriate commands to set the voltage

Re: [U-Boot] [v3 PATCH 01/12] spi, atmel: move CONFIG_SYS_SPI_WRITE_TOUT into common header

2014-10-31 Thread Jagan Teki
On 31 October 2014 13:00, Heiko Schocher h...@denx.de wrote: move CONFIG_SYS_SPI_WRITE_TOUT into drivers/spi/atmel_spi.h and define a default value. Delete this define in the board config files, where it is possible (all boards use currently the same value). Signed-off-by: Heiko Schocher

Re: [U-Boot] [PATCH] MAINTAINERS: add me as a maintainer of MTD

2014-10-31 Thread Jagan Teki
Hi Heiko, On 31 October 2014 15:56, Heiko Schocher h...@denx.de wrote: Add MAINTAINERS and doc/git-mailrc entry. Signed-off-by: Heiko Schocher h...@denx.de --- as discussed this step here and there first of all with Scott Wood for example here:

Re: [U-Boot] [PATCH] imx:mx6sxsabresd fix pfuz probe failed

2014-10-31 Thread Fabio Estevam
On Fri, Oct 31, 2014 at 1:08 AM, Peng Fan peng@freescale.com wrote: The PFUZ probe failed with the following msg: wait_for_sr_state: failed sr=81 cr=a0 state=2020 i2c_init_transfer: failed for chip 0x8 retry=0 wait_for_sr_state: failed sr=81 cr=a0 state=2020 i2c_init_transfer:

[U-Boot] [PATCH 0/4] Adds support for Exynos5422 odroid xu3 board

2014-10-31 Thread Hyungwon Hwang
This patchset adds support for Exynos5422 odroid xu3 board. I have done this work on the patchset submitted by Akshay Saraswat. https://patchwork.ozlabs.org/patch/400043/ Hyungwon Hwang (4): exynos5: fix GPIO information of exynos5420 Exynos5800: Add support for Exynos5800 odroid: make

[U-Boot] [PATCH 3/4] odroid: make some macros common

2014-10-31 Thread Hyungwon Hwang
Some macros are used commonly for odroid series boards. This patch makes a common header file to congregate that kinds of macros. Even though there are more macros which can be common, they are not become common. Because they are a part of a register, the readability is better when they are

[U-Boot] [PATCH 1/4] exynos5: fix GPIO information of exynos5420

2014-10-31 Thread Hyungwon Hwang
This patch fixes wrong GPIO information such as GPIO bank, table which is used to convert GPIO name to index, bank base address, and etc. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- arch/arm/include/asm/arch-exynos/cpu.h | 11 +- arch/arm/include/asm/arch-exynos/gpio.h | 232

[U-Boot] [PATCH 2/4] Exynos5800: Add support for Exynos5800

2014-10-31 Thread Hyungwon Hwang
The gpios of Exynos5800 are different from that of Exynos5420. This patch adds the gpio information and table of Exynos5800. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- arch/arm/include/asm/arch-exynos/gpio.h | 31 +-- drivers/gpio/s5p_gpio.c

[U-Boot] [PATCH 4/4] Odroid-XU3: Add support for Odroid-XU3

2014-10-31 Thread Hyungwon Hwang
This patch adds support for Odroid-XU3. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- arch/arm/cpu/armv7/exynos/Kconfig | 4 ++ arch/arm/dts/Makefile | 3 +- arch/arm/dts/exynos5422-odroidxu3.dts | 72 +++ board/samsung/odroid-xu3/Kconfig

[U-Boot] [PATCH v2 0/4] Adds support for Exynos5422 odroid xu3 board

2014-10-31 Thread Hyungwon Hwang
This patchset adds support for Exynos5422 odroid xu3 board. I have done this work on the patchset submitted by Akshay Saraswat. https://patchwork.ozlabs.org/patch/400043/ Hyungwon Hwang (4): exynos5: fix GPIO information of exynos5420 Exynos5800: Add support for Exynos5800 odroid: make

[U-Boot] [PATCH v2 2/4] Exynos5800: Add support for Exynos5800

2014-10-31 Thread Hyungwon Hwang
The gpios of Exynos5800 are different from that of Exynos5420. This patch adds the gpio information and table of Exynos5800. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- arch/arm/include/asm/arch-exynos/gpio.h | 31 +-- drivers/gpio/s5p_gpio.c

[U-Boot] [PATCH v2 1/4] exynos5: fix GPIO information of exynos5420

2014-10-31 Thread Hyungwon Hwang
This patch fixes wrong GPIO information such as GPIO bank, table which is used to convert GPIO name to index, bank base address, and etc. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- arch/arm/include/asm/arch-exynos/cpu.h | 11 +- arch/arm/include/asm/arch-exynos/gpio.h | 232

[U-Boot] [PATCH v2 4/4] Odroid-XU3: Add support for Odroid-XU3

2014-10-31 Thread Hyungwon Hwang
This patch adds support for Odroid-XU3. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com --- arch/arm/cpu/armv7/exynos/Kconfig | 4 ++ arch/arm/dts/Makefile | 3 +- arch/arm/dts/exynos5422-odroidxu3.dts | 72 +++ board/samsung/odroid-xu3/Kconfig

[U-Boot] [PATCH v2 3/4] odroid: make some macros common

2014-10-31 Thread Hyungwon Hwang
Some macros are used commonly for odroid series boards. This patch makes a common header file to congregate that kinds of macros. Even though there are more macros which can be common, they are not become common. Because they are a part of a register, the readability is better when they are

Re: [U-Boot] [v3 PATCH 02/12] arm, at91: add spi dataflash support for the taurus board

2014-10-31 Thread Heiko Schocher
Hello Jagan, Am 31.10.2014 11:48, schrieb Jagan Teki: On 31 October 2014 13:00, Heiko Schocherh...@denx.de wrote: Signed-off-by: Heiko Schocherh...@denx.de Reviewed-by: Bo Shenvoice.s...@atmel.com --- Changes in v3: add Reviewed-by from Bo Shen Changes in v2: - add comment from Jagan Teki:

[U-Boot] [PATCH] MAINTAINERS: CFI flash maintainership only includes the CFI related files

2014-10-31 Thread Stefan Roese
All the other files in drivers/mtd/* are not really CFI related. So lets only include the files that are CFI specific. Signed-off-by: Stefan Roese s...@denx.de Cc: Heiko Schocher h...@denx.de Cc: Scott Wood scottw...@freescale.com Cc: Masahiro Yamada yamad...@jp.panasonic.com Cc: Jagan Teki

Re: [U-Boot] [PATCH] MAINTAINERS: add me as a maintainer of MTD

2014-10-31 Thread Heiko Schocher
Hello Masahiro Yamada, Am 31.10.2014 13:29, schrieb Masahiro Yamada: Hi Heiko, Wolfgang, On Fri, 31 Oct 2014 12:44:07 +0100 Wolfgang Denkw...@denx.de wrote: Dear Jagan, In messageCAD6G_RRkDhNHC=+OtgtXPd7WdfJzq2bokbMKhKnL=blsx-a...@mail.gmail.com you wrote: I am now ready for taking

Re: [U-Boot] [PATCH] MAINTAINERS: add me as a maintainer of MTD

2014-10-31 Thread Wolfgang Denk
Dear Jagan, In message CAD6G_RRkDhNHC=+OtgtXPd7WdfJzq2bokbMKhKnL=blsx-a...@mail.gmail.com you wrote: I am now ready for taking over the ownership for MTD ... Is it for entire drivers/mtd ? or any specific parts? This is meant for all parts of drivers/mtd that are not already covered by

Re: [U-Boot] [PATCH] MAINTAINERS: add me as a maintainer of MTD

2014-10-31 Thread Masahiro Yamada
Hi Heiko, Wolfgang, On Fri, 31 Oct 2014 12:44:07 +0100 Wolfgang Denk w...@denx.de wrote: Dear Jagan, In message CAD6G_RRkDhNHC=+OtgtXPd7WdfJzq2bokbMKhKnL=blsx-a...@mail.gmail.com you wrote: I am now ready for taking over the ownership for MTD ... Is it for entire drivers/mtd

Re: [U-Boot] [PATCH] MAINTAINERS: add me as a maintainer of MTD

2014-10-31 Thread Stefan Roese
On 31.10.2014 13:46, Heiko Schocher wrote: BTW, CFI FLASH entry is questionable. CFI FLASH M:Stefan Roeses...@denx.de S:Maintained T:git git://git.denx.de/u-boot-cfi-flash.git F:drivers/mtd/* Do all the files in drivers/mtd belong to CFI FLASH subsystem? I think no ...

Re: [U-Boot] [PATCH] MAINTAINERS: add me as a maintainer of MTD

2014-10-31 Thread Jagan Teki
Hi Masahiro Yamada, On 31 October 2014 17:59, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Heiko, Wolfgang, On Fri, 31 Oct 2014 12:44:07 +0100 Wolfgang Denk w...@denx.de wrote: Dear Jagan, In message CAD6G_RRkDhNHC=+OtgtXPd7WdfJzq2bokbMKhKnL=blsx-a...@mail.gmail.com you

  1   2   >