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

2014-10-31 Thread Jagan Teki
On 31 October 2014 10:48, Srinivasan S wrote: > Hi Simon > > > Once again thanks a lot for your confirmation > > > As you suggested, I have downloaded > u-boot-2014.07.tar.bz2 & > when I was trying to build the same , I was facing the below er

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

[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 Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/include/asm/arch-rmobile/rcar-base.h | 2 ++ board/renesas/lager/lager.c | 5 + 2 files changed, 7 insertions

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 wrote: > On Thursday, October 30, 2014 at 03:38:40 PM, Jagan Teki wrote: >> On 30 October 2014 15:00, Marek Vasut wrote: >> > Add example config file entry for the Altera SPI controller. This SPI >> > controller can also, under special conditions, be used to

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

[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 Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/cpu/armv7/rmobile/Kconfig | 2 +- board/renesas/koelsch/qos.c| 7 ++- include/configs

[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 Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/lager/lager.c | 1 - 1 file changed, 1 deletion(-) diff --git a/

[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 Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/alt/alt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/boar

[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 Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/koelsch/koelsch.c | 1 - 1 file changed, 1 deletion(-) diff --gi

[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 Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/cpu/armv7/rmobile/Kconfig | 5 + board/renesas/lager/qos.c | 7 ++- include/conf

[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 Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/cpu/armv7/rmobile/Kconfig | 2 +- board/renesas/alt/qos.c| 6 ++ include/configs/al

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 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. yamada@beagle:~/workspace/u-boot$ find . -name

[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 --- 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 --- a/board/renesas/alt/alt.c +++ b/board/renesas

[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 Signed-off-by: Nobuhiro Iwamatsu --- include/configs/alt.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/alt.h b/include/configs/alt.h index 5a19096..502b727 100644 --- a/include

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

2014-10-31 Thread Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu --- 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 @@ #define CONFIG_CMD_NFS #defi

[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 Reviewed-by: Bo Shen --- 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 file changed, 1 insertion(+)

[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 Reviewed-by: Andreas Bießmann Reviewed-by: Bo Shen --- on the siemens taurus board, this option saved 0x14d byt

[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 --- Changes in v3: rebased against 571bdf16a78e9e116a93d46f4809c4f8a

[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 Reviewed-by: Bo Shen --- 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 define a default in the spi driver ->

[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 Reviewed-by: Andreas Bießmann --- Changes in v3: ignore 80 characters length as Bo Shen an

[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 Acked-by: Scott Wood Reviewed-by: Bo Shen --- Changes in v3: add Acked-by from Scott Wood add Reviewed-by from Bo Shen Changes in v2: add comment f

[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 Reviewed-by: Andreas Bießmann Reviewed-by: Bo Shen --- Changes in v3: add Reviewed-by from Bo

[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 Reviewed-by: Andreas Bießmann Reviewed-by: Bo Shen Acked-by: Scott Wood --- Changes in v3: add Acked-by from Scott Wood add Revi

[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 Reviewed-by: Andreas Bießmann Reviewed-by: Bo Shen --- Changes in v3: add Reviewed-by from Bo Shen Changes in v2: add Reviewed-by: Andreas Bießmann drivers/m

[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 Reviewed-by: Bo Shen --- 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 it in the taurus board code - do

[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 Reviewed-by: Bo S

[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 Reviewed-by: Bo Sh

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

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: using

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 spl

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 othe

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 in

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 ./scripts/ch

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 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 are looking for

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 wrote: > > $ time busybox tftp -g -r antony/16M -l 16M tftpserver ^^ > antony/16M 100% |**| 16384k > 0:00:00 ETA > > real0m6.724s > use

[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 --- arch/arm/cpu/armv7/exynos/Kconfig | 4 + arch/arm/dts/Makefile | 3 +- arch/arm/dts/exynos5422-odroidxu3.dts | 72 ++ board/samsung/odro

[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 --- arch/arm/in

[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 --- arch/arm/include/asm/arch-exynos/gpio.h | 31 +-- driver

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 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 #ifdef ch

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 wrote: > > On Thursday, October 30, 2014 at 03:38:40 PM, Jagan Teki wrote: > >> On 30 October 2014 15:00, Marek Vasut wrote: > >> > Add example config file entry for the Altera SPI controller. Th

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 > --- > arch/arm/include/asm/arch-exynos/gpio.h | 31 > +-- > drivers/gpio/s5p_g

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 wrote: > On Friday, October 31, 2014 at 08:09:21 AM, Jagan Teki wrote: >> On 30 October 2014 22:59, Marek Vasut wrote: >> > On Thursday, October 30, 2014 at 03:38:40 PM, Jagan Teki wrote: >> >> On 30 October 2014 15:00, Marek Vasut wrote: >> >> > Add example

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 wrote: > > On Friday, October 31, 2014 at 08:09:21 AM, Jagan Teki wrote: > >> On 30 October 2014 22:59, Marek Vasut wrote: > >> > On Thursday, October 30, 2014 at 03:38:40 PM, Jagan Teki wrote: >

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 wrote: > Hi Hyungwon, > > > This patch adds support for Exynos5422 including GPIO, clock, > > pinmux, and cpu id. > > > > Change-Id: Ic609973ab531e2b6ee9a68cfec0b6b9571f203a8 > > Signed-off-by: Hyungwon Hwang > > --- > > arch/arm/include

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 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 wrot

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

[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 Reported-by: Andrew Ruder

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 Signed-off-by: Akshay Saraswat --- Changes since v2: - Rebased this patch Changes since v1:

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-Pi

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

[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 4/7] DMC: Exynos5: Enable update mode for DREX controller

2014-10-31 Thread Akshay Saraswat
From: Alim Akhtar As per Exynos5800 UM ver 0.00 section 17.13.2.1 CONCONTROL register bit 3 [update_mode], Exynos5800 does not support the PHY initiated update. And it is recommanded to set this field to 1'b1 during initialization. This patch sets this bit. Applying MC-initiated mode makes DDL tr

[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 --- Changes since v2: - Rebased this patch Changes since v1

[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 Signed-off-by: Akshay Saraswat --- Changes since v2: - Rebased t

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 driv

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

2014-10-31 Thread Akshay Saraswat
From: Vadim Bendebury 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. Signed-off-by: Vadim

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

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 > --- > arch/arm/cpu/armv7/exynos/Kconfig | 4 + > arch/arm/dts/M

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 wrote: > > > Hi Hyungwon, > > > > > This patch adds support for Exynos5422 including GPIO, clock, > > > pinmux, and cpu id. > > > > > > Change-Id: Ic609973ab531e2b6ee9a68cfec0b6b9571f203a8 > > > Signed-off-by: Hyungwo

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

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

[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 Reported-by: Andrew Ruder

[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 --- 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 ... @Scott: I woul

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 wrote: > Signed-off-by: Heiko Schocher > Reviewed-by: Bo Shen > > --- > > 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 fr

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

2014-10-31 Thread ying.zhang
From: Ying Zhang 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 output value of an exte

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 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 wrote: > Add MAINTAINERS and doc/git-mailrc entry. > > Signed-off-by: Heiko Schocher > > --- > 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.htm

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 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: failed for chip 0x8 r

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

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

[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 --- 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 --- arch/arm/include/asm/arch-exynos/gpio.h | 31 +-- drivers/gpio/s5p_gpio.c | 4 +++- 2 files

[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 --- arch/arm/cpu/armv7/exynos/Kconfig | 4 ++ arch/arm/dts/Makefile | 3 +- arch/arm/dts/exynos5422-odroidxu3.dts | 72 +++ board/samsung/odroid-xu3/Kconfig | 12 board/samsu

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

[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 --- arch/arm/include/asm/arch-exynos/gpio.h | 31 +-- drivers/gpio/s5p_gpio.c | 4 +++- 2 files

[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 --- 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 --- arch/arm/cpu/armv7/exynos/Kconfig | 4 ++ arch/arm/dts/Makefile | 3 +- arch/arm/dts/exynos5422-odroidxu3.dts | 72 +++ board/samsung/odroid-xu3/Kconfig | 12 board/samsu

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

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 Schocher wrote: Signed-off-by: Heiko Schocher Reviewed-by: Bo Shen --- 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] 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 Cc: Heiko Schocher Cc: Scott Wood Cc: Masahiro Yamada Cc: Jagan Teki --- MAINTAINERS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) dif

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 Denk wrote: Dear Jagan, In message you wrote: I am now ready for taking over the ownership for MTD ... Is it for entire drivers/mtd ? or any specific

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

2014-10-31 Thread Wolfgang Denk
Dear Jagan, In message 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 other custodians. > > +M: Heiko Schocher > > +S: Ma

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 wrote: > Dear Jagan, > > In message > 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 dr

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 Roese 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 ... Stefan, can you

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 wrote: > Hi Heiko, Wolfgang, > > > > On Fri, 31 Oct 2014 12:44:07 +0100 > Wolfgang Denk wrote: > >> Dear Jagan, >> >> In message >> you >> wrote: >> > >> > > I am now ready for taking over the ownership for MTD ... >> > >> > Is it

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

2014-10-31 Thread Jagan Teki
On 31 October 2014 18:27, Stefan Roese wrote: > 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 > Cc: Heiko Schocher > Cc: Scott Wood > Cc: Masahiro Yamada > Cc: Jagan Teki > --- > MAINTA

Re: [U-Boot] [PATCH v3 0/6] dm: Introduce driver model for sunxi

2014-10-31 Thread Hans de Goede
Hi, On 10/31/2014 03:25 AM, Simon Glass wrote: > This series adds driver model support for serial and GPIO for sunxi. Since > I only have a sun7i board to test with, I have added a new config for the > pcDuino3, which uses device tree and driver model. This should make it > fairly easy to enable f

Re: [U-Boot] [PATCH v2 06/10] ARM: sunxi-mmc: Add mmc support for sun6i / A31

2014-10-31 Thread Pantelis Antoniou
Hi Ian, > On Sep 25, 2014, at 21:52 , Ian Campbell wrote: > > On Wed, 2014-09-24 at 16:01 +0800, Chen-Yu Tsai wrote: >> From: Hans de Goede >> >> The mmc hardware on sun6i has an extra reset control that needs to >> be de-asserted prior to usage. Also the FIFO address is different. >> >> Sign

[U-Boot] [PATCH] fs: make it possible to read the filesystem UUID

2014-10-31 Thread Christian Gmeiner
Some filesystems have a UUID stored in its superblock. To allow using root=UUID=... for the kernel command line we need a way to read-out the filesystem UUID. Hit any key to stop autoboot: 0 => fsuuid fsuuid - Look up a filesystem UUID Usage: fsuuid : - print filesystem UUID fsuuid :

[U-Boot] [off-topic] LinuxCon/ELCE 2014 presentation on "Redundant booting with U-Boot"

2014-10-31 Thread James Chargin
Hello Tom, I'm not sure that this question really belongs on the U-Boot mailing list but I thought others might have a similar question. I was not able to attend LinuxCon/ELCE 2014, but I was very interested in your presentation titled "Redundant booting with U-Boot". Is a recording, transc

Re: [U-Boot] [PATCH v3 0/6] dm: Introduce driver model for sunxi

2014-10-31 Thread Hans de Goede
Hi, On 10/31/2014 03:03 PM, Hans de Goede wrote: > Hi, > > On 10/31/2014 03:25 AM, Simon Glass wrote: >> This series adds driver model support for serial and GPIO for sunxi. Since >> I only have a sun7i board to test with, I have added a new config for the >> pcDuino3, which uses device tree and

[U-Boot] [PATCH 1/2] sunxi: Request card detect gpio

2014-10-31 Thread Hans de Goede
This is necessary for the device-model enabled builds to work properly. Signed-off-by: Hans de Goede --- drivers/mmc/sunxi_mmc.c | 32 ++-- 1 file changed, 22 insertions(+), 10 deletions(-) diff --git a/drivers/mmc/sunxi_mmc.c b/drivers/mmc/sunxi_mmc.c index f2fa12e.

[U-Boot] [PATCH 2/2] sunxi: Request USB vbus gpio

2014-10-31 Thread Hans de Goede
This is necessary for the device-model enabled builds to work properly. Signed-off-by: Hans de Goede --- drivers/usb/host/ehci-sunxi.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/usb/host/ehci-sunxi.c b/drivers/usb/host/ehci-sunxi.c index d65e798..4befd57 100644 --- a

Re: [U-Boot] [off-topic] LinuxCon/ELCE 2014 presentation on "Redundant booting with U-Boot"

2014-10-31 Thread Jagan Teki
On 31 October 2014 21:06, James Chargin wrote: > Hello Tom, > > I'm not sure that this question really belongs on the U-Boot mailing list > but I thought others might have a similar question. > > I was not able to attend LinuxCon/ELCE 2014, but I was very interested in > your presentation titled "

Re: [U-Boot] [off-topic] LinuxCon/ELCE 2014 presentation on "Redundant booting with U-Boot"

2014-10-31 Thread James Chargin
Dear Jagan Teki, On 10/31/2014 09:28 AM, Jagan Teki wrote: On 31 October 2014 21:06, James Chargin wrote: Hello Tom, I'm not sure that this question really belongs on the U-Boot mailing list but I thought others might have a similar question. I was not able to attend LinuxCon/ELCE 2014, but

  1   2   >