[U-Boot] [RFC PATCH v1 1/2] kgdb: add breakpoint support

2014-10-31 Thread Peng Fan
Add Z/z protocal support for breakpoint set/remove. Signed-off-by: Peng Fan --- common/kgdb.c | 273 + include/kgdb.h | 35 2 files changed, 308 insertions(+) diff --git a/common/kgdb.c b/common/kgdb.c index d357463..fd83ccd 100

[U-Boot] [RFC PATCH v1 0/2] kgdb:add breakpoint and arm support

2014-10-31 Thread Peng Fan
There were patches about this part before, such as http://lists.denx.de/pipermail/u-boot/2010-April/069592.html https://www.mail-archive.com/u-boot@lists.denx.de/msg13464.html And I reference that piece of code. I have verified this patch set on freescale mx6sxsabresd revb board. Because the board

[U-Boot] [RFC PATCH v1 2/2] arm:kgdb add KGDB support for arm platform

2014-10-31 Thread Peng Fan
The register save/restore: Use get_bad_stack and bad_save_user_regs to save regs. Introduce und_restore_regs to restore the previous regs before trigger a breakpoint. Signed-off-by: Peng Fan --- arch/arm/include/asm/proc-armv/ptrace.h | 2 +- arch/arm/include/asm/signal.h | 1 + ar

[U-Boot] [PATCH 2/2] arm:imx-common add function prototype for gpr set

2014-10-31 Thread Peng Fan
This patch "arm:imx-common introduce a new function to set gpr" missed to add the function prototype. Signed-off-by: Peng Fan --- arch/arm/include/asm/imx-common/iomux-v3.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/imx-common/iomux-v3.h b/arch/arm/include/asm/i

[U-Boot] [PATCH 1/2] imx:mx6sl_pins add pad settings for usb

2014-10-31 Thread Peng Fan
Add pad settings for usb support. This patch "imx:mx6slevk add usb support" missed to add pad definition. Signed-off-by: Peng Fan --- arch/arm/include/asm/arch-mx6/mx6sl_pins.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/mx6sl_pins.h b/arch/arm/includ

[U-Boot] [PATCH 3/5] arm:imx-common introduce a new function to set gpr

2014-10-31 Thread Peng Fan
Add a new function mxc_iomux_set_gpr_register to set the iomux gpr register. 32-bit general purpose registers according to SoC requirements for any usage. Signed-off-by: Peng Fan Signed-off-by: Ye.Li Signed-off-by: Nitin Garg --- arch/arm/imx-common/iomux-v3.c | 25 +

[U-Boot] [PATCH 0/5] add usb support for mx6 board

2014-10-31 Thread Peng Fan
Add usb support for mx6qarm2 mx6sabresd mx6sxsabresd mx6slevk. Mainly add pad settings and ehci power settings. Also introduce a new function to set IOMUXC GPR registers, because mx6sabresd usb needs that function to work. This patch set only contains board related settings for usb and a new gpr f

[U-Boot] [PATCH 2/5] imx:mx6slevk add usb support

2014-10-31 Thread Peng Fan
Add usb support for mx6slevk board. Signed-off-by: Peng Fan Signed-off-by: Ye.Li --- board/freescale/mx6slevk/mx6slevk.c | 29 + include/configs/mx6slevk.h | 14 ++ 2 files changed, 43 insertions(+) diff --git a/board/freescale/mx6slevk/mx6slevk

[U-Boot] [PATCH 5/5] imx:mx6sabresd add usb support

2014-10-31 Thread Peng Fan
Add usb support for mx6sabresd. Signed-off-by: Peng Fan Signed-off-by: Ye.Li --- board/freescale/mx6sabresd/mx6sabresd.c | 53 + include/configs/mx6sabresd.h| 14 + 2 files changed, 67 insertions(+) diff --git a/board/freescale/mx6sabresd/mx6

[U-Boot] [PATCH 4/5] imx:mx6qarm2 add usb support

2014-10-31 Thread Peng Fan
Add usb support for mx6qarm2 board. Signed-off-by: Peng Fan Signed-off-by: Ye.Li --- board/freescale/mx6qarm2/mx6qarm2.c | 27 +++ include/configs/mx6qarm2.h | 14 ++ 2 files changed, 41 insertions(+) diff --git a/board/freescale/mx6qarm2/mx6qarm2.c

[U-Boot] [PATCH 1/5] imx:mx6sxsabresd add usb support

2014-10-31 Thread Peng Fan
Add usb support for mx6sxsabresd board. Signed-off-by: Peng Fan Signed-off-by: Ye.Li --- board/freescale/mx6sxsabresd/mx6sxsabresd.c | 29 + include/configs/mx6sxsabresd.h | 14 ++ 2 files changed, 43 insertions(+) diff --git a/board/freesca

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

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

2014-10-31 Thread Fabio Estevam
On Fri, Oct 31, 2014 at 10:01 PM, Peng Fan wrote: > > > On 10/31/2014 08:01 PM, Fabio Estevam wrote: >> 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 chi

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

2014-10-31 Thread Peng Fan
On 10/31/2014 08:01 PM, Fabio Estevam wrote: > 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 st

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

2014-10-31 Thread Suriyan Ramasami
Hello Simon, On Thu, Oct 30, 2014 at 7:01 PM, Simon Glass wrote: > Hi Suriyan, > > On 28 October 2014 17:00, Suriyan Ramasami 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

[U-Boot] [GIT PULL] u-boot-mips/master

2014-10-31 Thread Daniel Schwierzeck
The following changes since commit 571bdf16a78e9e116a93d46f4809c4f8a3f2adb6: arm: interrupt_init: set sp in IRQ/FIQ modes (2014-10-29 09:03:28 -0400) are available in the git repository at: git://git.denx.de/u-boot-mips.git master for you to fetch changes up to 75a7d0242daf292fe048801e6c3e6

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

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 "

[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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[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

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

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

[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

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

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

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

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

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

[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

[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 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 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 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 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 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 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(+)

  1   2   >