[U-Boot] [PATCH v3 0/2] Introduce CONFIG_SUPPORT_SPL/TPL

2014-10-08 Thread Masahiro Yamada
Masahiro Yamada (2): kconfig: add CONFIG_SUPPORT_SPL kconfig: add CONFIG_SUPPORT_TPL Kconfig| 9 ++- arch/arm/Kconfig | 45 ++ arch/arm/cpu/arm926ejs/davinci/Kconfig | 4 +++

[U-Boot] [PATCH v3 1/2] kconfig: add CONFIG_SUPPORT_SPL

2014-10-08 Thread Masahiro Yamada
CONFIG_SPL should not be enabled for boards that do not have SPL. CONFIG_SUPPORT_SPL introduced by this commit should be selected by boards with SPL support and CONFIG_SPL should depend on it. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Simon Glass s...@chromium.org ---

[U-Boot] [PATCH v3 2/2] kconfig: add CONFIG_SUPPORT_TPL

2014-10-08 Thread Masahiro Yamada
CONFIG_TPL should not be enabled for boards that do not have TPL. CONFIG_SUPPORT_TPL introduced by this commit should be selected by boards with TPL support and CONFIG_TPL should depend on it. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v3: None Changes in v2: - bug

[U-Boot] [PATCH] mxs: add watchdog

2014-10-08 Thread Alexey Ignatov
Use RTC watchdog feature as hardware watchdog. Signed-off-by: Alexey Ignatov lexsz...@gmail.com --- drivers/watchdog/Makefile | 1 + drivers/watchdog/mxsrtc_wdt.c | 23 +++ include/configs/mxs.h | 4 3 files changed, 28 insertions(+) create mode 100644

Re: [U-Boot] [PATCH V5] ARM: mx6: Add support for Kosagi Novena

2014-10-08 Thread Sean Cross
On 08/10/2014 05:55, Nikolay Dimitrov wrote: Hi Marek, I'm marking only the critical issues that are left unfixed from previous conversations, to speed-up the process a little bit. I'll send later patches for the non-critical issues to spare you the extra work (and I'm sure my constructive

Re: [U-Boot] [PATCH 1/4] Add snoop disable for slave port 0, port 1 and port 2

2014-10-08 Thread Huan Wang
Hi, Albert, On Mon, 29 Sep 2014 10:53:11 +0800, Alison Wang b18...@freescale.com wrote: From: Jason Jin jason@freescale.com Disable the snoop for slave interface 0, 1 and 2 to avoid the interleaving on the CCI400 BUS. Please be more specific: this patch specifically targets

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

2014-10-08 Thread Wolfgang Denk
Dear Tom, In message 20141007002839.GH25506@bill-the-cat you wrote: I've pushed v2014.10-rc4 out to the repository and tarballs should exist soon. THanks - tarball is out. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk Detlev Zundel HRB 165235

Re: [U-Boot] Upstream uboot and Arndale 5250 support

2014-10-08 Thread Guillaume Gardet
I used the following values with 2014.10-rc2: kerneladdr=0x4400 ramdiskaddr=0x4500 fdtaddr=0x4c00 But I used a zImage. If you use a uImage, you need to modify the kernel load addr. Guillaume Le 07/10/2014 17:02, Paolo Pisati a écrit : those are the addresses suggested by u-boot

Re: [U-Boot] [PATCH 1/2] mtd: denali: fix NAND_CMD_PARAM command

2014-10-08 Thread Chin Liang See
On Fri, 2014-10-03 at 20:03 +0900, Masahiro Yamada wrote: NAND_CMD_PARAM (0xEC) command is not working on the Denali NAND controller driver. Unlike NAND_CMD_READID (0x90), when the NAND_CMD_PARAM command is followed by an address cycle, the target device goes busy. (R/B# is deasserted)

Re: [U-Boot] [PATCH 2/2] mtd: denali: support NAND_CMD_RNDOUT command

2014-10-08 Thread Chin Liang See
On Fri, 2014-10-03 at 20:03 +0900, Masahiro Yamada wrote: The function nand_flash_detect_ext_param_page() requires NAND_CMD_RNDOUT command supported. It is necessary to detect some types of ONFi-compliant devices. Without it, the error message unsupported command received 0x5 is shown.

[U-Boot] [PULL] Please pull u-boot-imx

2014-10-08 Thread Stefano Babic
Hi Albert, please pull from u-boot-imx, thanks ! cm_fx6 is still broken in u-boot-imx, but after merging with Tom's tree it is built correctly. The following changes since commit 2a8c9c86b92a9ccee3c27286de317e19bb0530b3: Merge branch 'u-boot-ti/master' into 'u-boot-arm/master' (2014-09-21

Re: [U-Boot] [PATCH] cmd_sf: add handler for +len arg for all commands

2014-10-08 Thread Chin Liang See
On Sun, 2014-10-05 at 22:55 +0200, ma...@denx.de wrote: On Sunday, October 05, 2014 at 10:35:06 PM, Maxime Hadjinlian wrote: On Sun, Oct 5, 2014 at 10:28 PM, Marek Vasut ma...@denx.de wrote: On Sunday, October 05, 2014 at 09:51:27 PM, Maxime Hadjinlian wrote: On Sun, Oct 5, 2014 at 9:45

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

2014-10-08 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: Akshay

[U-Boot] [PATCH 4/6] DMC: Exynos5: Enable update mode for DREX controller

2014-10-08 Thread Akshay Saraswat
From: Alim Akhtar alim.akh...@samsung.com 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

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

2014-10-08 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: Akshay Saraswat aksha...@samsung.com --- arch/arm/dts/Makefile| 3 +-

[U-Boot] [PATCH 1/2] WIP: Add support for pi

2014-10-08 Thread Akshay Saraswat
Signed-off-by: Akshay Saraswat aksha...@samsung.com --- arch/arm/cpu/armv7/exynos/Kconfig| 5 +- arch/arm/dts/Makefile| 3 +- arch/arm/dts/exynos5800-peach-pi.dts | 157 +++ board/samsung/smdk5420/Kconfig | 16

[U-Boot] [PATCH 2/2] WIP2: Add support for pi

2014-10-08 Thread Akshay Saraswat
Signed-off-by: Akshay Saraswat aksha...@samsung.com --- arch/arm/cpu/armv7/exynos/clock.c | 20 +++- arch/arm/cpu/armv7/exynos/clock_init_exynos5.c | 2 +- arch/arm/cpu/armv7/exynos/pinmux.c | 2 +- arch/arm/include/asm/arch-exynos/cpu.h | 11

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

2014-10-08 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

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

2014-10-08 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. Akshay Saraswat (5): Exynos5800: Introduce new proid for Exynos5800

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

2014-10-08 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 --- arch/arm/cpu/armv7/exynos/Kconfig | 5

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

2014-10-08 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] [SoCFPGA] next steps

2014-10-08 Thread Michal Simek
Hi, On 10/07/2014 02:45 PM, Marek Vasut wrote: Hey, given that we now have most of the u-boot socfpga stuff in mainline, I decided it would be a good idea to list what we're still missing and we should also decide how to move on now. First thing I should probably clarify is the late

Re: [U-Boot] [PATCH 2/2] WIP2: Add support for pi

2014-10-08 Thread Akshay Saraswat
Please, ignore this patch. Pushed by mistake. Signed-off-by: Akshay Saraswat aksha...@samsung.com --- arch/arm/cpu/armv7/exynos/clock.c | 20 +++- arch/arm/cpu/armv7/exynos/clock_init_exynos5.c | 2 +- arch/arm/cpu/armv7/exynos/pinmux.c | 2 +-

Re: [U-Boot] [PATCH 1/2] WIP: Add support for pi

2014-10-08 Thread Akshay Saraswat
Please, ignore this patch. Pushed by mistake. Signed-off-by: Akshay Saraswat --- arch/arm/cpu/armv7/exynos/Kconfig| 5 +- arch/arm/dts/Makefile| 3 +- arch/arm/dts/exynos5800-peach-pi.dts | 157 +++ board/samsung/smdk5420/Kconfig | 16

Re: [U-Boot] [PATCH 6/7] arm: ls102xa: Add SD boot support for LS1021AQDS board

2014-10-08 Thread Huan Wang
Hi, Albert, On Thu, 25 Sep 2014 06:45:00 +, Huan Wang alison.w...@freescale.com wrote: Hi, Albert, On Mon, 22 Sep 2014 06:46:20 +, Huan Wang alison.w...@freescale.com wrote: Hi, Albert, On Thu, 18 Sep 2014 13:47:18 +0800, Alison Wang

Re: [U-Boot] Upstream uboot and Arndale 5250 support

2014-10-08 Thread Paolo Pisati
that's weird, because i don't have bootz: U-Boot 2014.10-rc3 (Oct 08 2014 - 11:34:33) for ARNDALE CPU:Exynos5250@1000MHz Board: Arndale I2C: i2c_init: failed to init bus 0 for speed = 10 ready DRAM: 2 GiB trace: copying 00086db4 bytes of early data from 5000 to beff trace:

Re: [U-Boot] [PATCH 7/7] mips: enable CONFIG_USE_PRIVATE_LIBGCC by default

2014-10-08 Thread Daniel Schwierzeck
On 26.09.2014 12:23, Masahiro Yamada wrote: Without the private libgcc, we need a full multilib toolchain with different libgcc or multiple toolchains to build all BE/LE and hard-float/soft-float variants of MIPS boards. That is not feasible. This commit allows us to build all the MIPS

Re: [U-Boot] [PATCH][v2] ls102x: configs - Add hash command in freescale LS1 platforms

2014-10-08 Thread Wolfgang Denk
Dear Ruchika Gupta, In message 141267-31325-1-git-send-email-ruchika.gu...@freescale.com you wrote: Hardware accelerated support for SHA-1 and SHA-256 has been added. Hash command enabled along with hardware accelerated support for SHA-1 and SHA-256 for platforms which have CAAM block.

Re: [U-Boot] [PATCH 2/2] HACK: arndale: deinit scsi before launching Linux

2014-10-08 Thread Wolfgang Denk
Dear Ian Campbell, In message 1412690200-6630-2-git-send-email-...@hellion.org.uk you wrote: From: Ian Campbell ian.campb...@citrix.com NOT TO BE APPLIED AS IS Without this Linux fails to correctly init the phy (or something) and cannot detect the disk. Even with this we can fail to

Re: [U-Boot] [SoCFPGA] next steps

2014-10-08 Thread Marek Vasut
On Wednesday, October 08, 2014 at 10:58:24 AM, Michal Simek wrote: Hi, On 10/07/2014 02:45 PM, Marek Vasut wrote: Hey, given that we now have most of the u-boot socfpga stuff in mainline, I decided it would be a good idea to list what we're still missing and we should also decide

Re: [U-Boot] [PATCH v6 0/15] samsung: Use common config files with Samsung boards

2014-10-08 Thread Minkyu Kang
On 08/10/14 13:01, Simon Glass wrote: This series tries to unify the Samsung board configs into a few header files for exynos5 and exynos4. The purpose is to make it easier to move to driver model. In that case I would like things like the GPIO drivers and serial drivers to work in a

Re: [U-Boot] [PATCH] armv7: s5pc1xx: improve cache handling

2014-10-08 Thread Minkyu Kang
On 19/09/14 19:17, Robert Baldyga wrote: Move cache handling code to C file, and add enable_caches() and disable_caches() functions. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- arch/arm/cpu/armv7/s5pc1xx/cache.S | 30 arch/arm/cpu/armv7/s5pc1xx/cache.c

Re: [U-Boot] [PATCH v2] exynos: update maintainer of Snow and SMDK5420 board

2014-10-08 Thread Minkyu Kang
On 26/09/14 18:54, Masahiro Yamada wrote: The email address of Rajeshwari Shinde rajeshwar...@samsung.com is not working. This commit gives Akshay the maintainership of Snow and SMDK5420 boards. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Akshay Saraswat

Re: [U-Boot] [PATCH] odroid: clock: set aclk_cores to 200MHz

2014-10-08 Thread Minkyu Kang
On 23/09/14 19:46, Przemyslaw Marczak wrote: This change fixes suspend/resume issue in the kernel caused by the wrong 'aclk_cores' clock value expected by the kernel. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com ---

Re: [U-Boot] [PATCH] ORIGEN: Enhance origen config to be more flexible on boot.

2014-10-08 Thread Minkyu Kang
Hi, On 29/09/14 15:35, Guillaume Gardet wrote: Ping. Guillaume Le 19/09/2014 15:32, Guillaume GARDET a écrit : This patch enhances the boot of origen board by adding support to ext2, bootz, initrd, bootenv loading and boot script. It still keeps the previous mmc load command if boot

Re: [U-Boot] [SoCFPGA] next steps

2014-10-08 Thread Pavel Machek
On Wed 2014-10-08 10:58:24, Michal Simek wrote: Hi, On 10/07/2014 02:45 PM, Marek Vasut wrote: Hey, given that we now have most of the u-boot socfpga stuff in mainline, I decided it would be a good idea to list what we're still missing and we should also decide how to move on

Re: [U-Boot] [PATCH v8 08/12] dm: exynos: Move s5p_goni to generic board

2014-10-08 Thread Minkyu Kang
Dear Robert Baldyga, On 29/09/14 15:06, Robert Baldyga wrote: On 09/15/2014 12:29 AM, Simon Glass wrote: The generic board deadline is approaching, and we need this feature to enable driver model. Enable CONFIG_SYS_GENERIC_BOARD for s5p_goni. Signed-off-by: Simon Glass s...@chromium.org ---

[U-Boot] please pull u-boot-samsung master

2014-10-08 Thread Minkyu Kang
Dear Albert, The following changes since commit 6dd0e7c00bfa5ce861a72b8e4a3ef9e787306125: git-mailrc: add me as a maintainer of UniPhier platform (2014-10-05 14:10:09 +0900) are available in the git repository at: http://git.denx.de/u-boot-samsung for you to fetch changes up to

Re: [U-Boot] [PATCH] compulab: eeprom: add default eeprom bus

2014-10-08 Thread Nikita Kiryanov
Gentle ping. On 18/09/14 23:35, Albert ARIBAUD wrote: Hi Nikita, On Thu, 18 Sep 2014 16:21:07 +0300, Nikita Kiryanov nik...@compulab.co.il wrote: Hi ALbert, On 18/09/14 15:26, Albert ARIBAUD wrote: Hi Igor, On Wed, 17 Sep 2014 17:18:49 +0300, Igor Grinberg grinb...@compulab.co.il wrote:

Re: [U-Boot] [PATCH v8 08/12] dm: exynos: Move s5p_goni to generic board

2014-10-08 Thread Robert Baldyga
On 10/08/2014 01:36 PM, Minkyu Kang wrote: Dear Robert Baldyga, On 29/09/14 15:06, Robert Baldyga wrote: On 09/15/2014 12:29 AM, Simon Glass wrote: The generic board deadline is approaching, and we need this feature to enable driver model. Enable CONFIG_SYS_GENERIC_BOARD for s5p_goni.

[U-Boot] [PATCH V2] ORIGEN: Enhance origen config to be more flexible on boot.

2014-10-08 Thread Guillaume GARDET
V2: rebased on latest GIT version V1: This patch enhances the boot of origen board by adding support to ext2, bootz, initrd, bootenv loading and boot script. It still keeps the previous mmc load command if boot script fails. Signed-off-by: Guillaume GARDET guillaume.gar...@free.fr Cc: Minkyu

[U-Boot] [FAT/EXT4/SANDBOX] files 2GB

2014-10-08 Thread Suriyan Ramasami
Hello, I recently saw a post about fat commands such as fatls returning -ve values under u-boot for files whose sizes are =2GB. fatsize would also not set up filesize in this case. This also effects ext4/sandbox commands. I just looked at the ones which are handled by fs/fs.c I am

Re: [U-Boot] Upstream uboot and Arndale 5250 support

2014-10-08 Thread Guillaume Gardet
Le 08/10/2014 12:16, Paolo Pisati a écrit : that's weird, because i don't have bootz: are you using a patched u-boot? i'm using the default arndale_defconfig. anyhow, can i have your full working config? i'm starting to feel i'm chasing ghosts here. I used this patch for -rc2 (which

Re: [U-Boot] [SoCFPGA] next steps

2014-10-08 Thread Dinh Nguyen
Hi Marek, On 10/7/14, 7:45 AM, Marek Vasut wrote: Hey, given that we now have most of the u-boot socfpga stuff in mainline, I decided it would be a good idea to list what we're still missing and we should also decide how to move on now. Thanks for all of your hard work on this!

Re: [U-Boot] U-Boot Mini Summit

2014-10-08 Thread Detlev Zundel
Hi Alexey, Hi Detlev, On Tue, 2014-10-07 at 11:38 +0200, Detlev Zundel wrote: Hello Masahiro-san, [...] Perhaps, is it better to insert 5-minute break between talks? Speakers might need to get something prepared. (connecting their laptop to the beamer, etc.) Of course. I did

[U-Boot] [PATCH] fix typo in error message

2014-10-08 Thread Pavel Machek
Fix confusing typo in error message. Signed-off-by: Pavel Machek pa...@denx.de diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh index 4a8737f..811fa6e 100644 --- a/scripts/multiconfig.sh +++ b/scripts/multiconfig.sh @@ -120,7 +120,7 @@ do_board_defconfig () { if [ ! -r

Re: [U-Boot] [PATCH] fix typo in error message

2014-10-08 Thread Jeroen Hofstee
Hello Pavel, On 08-10-14 15:47, Pavel Machek wrote: Fix confusing typo in error message. Signed-off-by: Pavel Machek pa...@denx.de diff --git a/scripts/multiconfig.sh b/scripts/multiconfig.sh index 4a8737f..811fa6e 100644 --- a/scripts/multiconfig.sh +++ b/scripts/multiconfig.sh @@

[U-Boot] [PATCH][v3] ls102x: configs - Add hash command in freescale LS1 platforms

2014-10-08 Thread Ruchika Gupta
Hardware accelerated support for SHA-1 and SHA-256 has been added. Hash command enabled along with hardware accelerated support for SHA-1 and SHA-256 for platforms which have CAAM block. Signed-off-by: Ruchika Gupta ruchika.gu...@freescale.com --- Changed from v2: Incorporated Denx comments

Re: [U-Boot] [U-boot] [Patch v2 0/4] keystone2: generalize navigator driver usage

2014-10-08 Thread Ivan Khoronzhuk
On 09/05/2014 07:02 PM, Ivan Khoronzhuk wrote: This series generalize keystone_nav driver usage in order to add keystone2 K2E/K2L SoCs support. Based on u-boot-ti/master v2..v1: rebased on top of u-boot-ti/master, no functional changes Ivan Khoronzhuk (4): keystone2: keystone_nav:

Re: [U-Boot] [U-boot] [Patch v2 0/4] keystone2: generalize navigator driver usage

2014-10-08 Thread Tom Rini
On Wed, Oct 08, 2014 at 05:37:10PM +0300, Ivan Khoronzhuk wrote: On 09/05/2014 07:02 PM, Ivan Khoronzhuk wrote: This series generalize keystone_nav driver usage in order to add keystone2 K2E/K2L SoCs support. Based on u-boot-ti/master v2..v1: rebased on top of u-boot-ti/master, no

Re: [U-Boot] [PATCH V5] ARM: mx6: Add support for Kosagi Novena

2014-10-08 Thread picmaster
Hi Sean, - Цитат от Sean Cross (x...@kosagi.com), на 08.10.2014 в 10:47 - On 08/10/2014 05:55, Nikolay Dimitrov wrote: Hi Marek, I'm marking only the critical issues that are left unfixed from previous conversations, to speed-up the process a little bit. I'll send later patches for

Re: [U-Boot] Pull request for u-boot-marvell.git

2014-10-08 Thread Albert ARIBAUD
Hi Prafulla, On Mon, 6 Oct 2014 06:22:29 -0700, Prafulla Wadaskar prafu...@marvell.com wrote: Hi Albert, Please pull The following changes since commit be9f643ae6aa9044c60fe80e3a2c10be8371c692: Merge branch 'for-tom' of git://git.denx.de/u-boot-dm (2014-09-26 20:10:48 -0400) are

Re: [U-Boot] please pull u-boot-samsung master

2014-10-08 Thread Albert ARIBAUD
Hi Minkyu, On Wed, 08 Oct 2014 20:36:34 +0900, Minkyu Kang mk7.k...@samsung.com wrote: Dear Albert, The following changes since commit 6dd0e7c00bfa5ce861a72b8e4a3ef9e787306125: git-mailrc: add me as a maintainer of UniPhier platform (2014-10-05 14:10:09 +0900) are available in the

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

2014-10-08 Thread Simon Glass
Hi, On 4 October 2014 11:29, Simon Glass s...@chromium.org 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

Re: [U-Boot] [SoCFPGA] next steps

2014-10-08 Thread Tom Rini
On Wed, Oct 08, 2014 at 10:58:24AM +0200, Michal Simek wrote: Hi, On 10/07/2014 02:45 PM, Marek Vasut wrote: Hey, given that we now have most of the u-boot socfpga stuff in mainline, I decided it would be a good idea to list what we're still missing and we should also decide

Re: [U-Boot] [PATCH v3 0/29] Introduce driver model support for SPI, SPI flash, cros_ec

2014-10-08 Thread Simon Glass
Hi, On 29 September 2014 13:34, Simon Glass s...@chromium.org wrote: Up until now driver model has not been used for any type of bus. Buses have some unique properties and needs, so we cannot claim that driver model can cover all the common cases unless we have converted a bus over to driver

[U-Boot] [PATCH 09/19] dm: pmic: new commands: pmic and regulator

2014-10-08 Thread Przemyslaw Marczak
This introduces new commands: - pmic (new) - CONFIG_DM_PMIC - regulator - CONFIG_DM_PMIC Both uses a common code and dm pmic api. To avoid code mess the old pmic command is kept without changes. Command pmic This is based on an old pmic command code - the new one uses driver model pmic api. The

[U-Boot] [PATCH 03/19] exynos: config-common: enable generic fs command

2014-10-08 Thread Przemyslaw Marczak
This command is required for trats2 and odroid environment, since those boards uses it. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- include/configs/exynos-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/exynos-common.h

[U-Boot] [PATCH 01/19] lib: errno: introduce errno_str(): returns errno related message

2014-10-08 Thread Przemyslaw Marczak
The functions error's numbers are standarized - but the error messages are not. The errors are often handled with unclear error messages, so why not use an errno standarized messages. Advantages: - This could decrease the binary size. - Appended with a detailed information, the error message

[U-Boot] [PATCH 05/19] dm: pmic: add implementation of driver model regulator uclass

2014-10-08 Thread Przemyslaw Marczak
This is the implementation of driver model regulator uclass api. To use it, the CONFIG_DM_PMIC is required with driver implementation, since it provides pmic devices I/O API. The regulator framework is based on a 'structure dm_regulator_ops', which provides all regulator functions call types.

[U-Boot] [PATCH 02/19] exynos: config-common: enable errno_str() function

2014-10-08 Thread Przemyslaw Marczak
Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- include/configs/exynos-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/exynos-common.h b/include/configs/exynos-common.h index 6ba9bb7..fa02cb2 100644 --- a/include/configs/exynos-common.h +++

[U-Boot] [PATCH 00/19] [RFC] Power(full) framework based on Driver Model

2014-10-08 Thread Przemyslaw Marczak
Hello, This piece of code was a base for prepare my presentation talk for the U-Boot Mini Summit, which taking place at ELCE2014 conference, 13-th October 2014 Dusseldorf, Germany. The tittle of talk: Power(full) framework based on Driver Model The presentation will be shared after the Summit.

[U-Boot] [PATCH 14/19] trats2: board: add support to dm pmic api

2014-10-08 Thread Przemyslaw Marczak
Changes required to support dm pmic and dm regulator api: - move call to board_init_i2c() into exynos_init() - earlier init the i2c - remove redundant ldo setup - default hardware configuration is proper - adjust pmic/regulator calls to new pmic api Signed-off-by: Przemyslaw Marczak

[U-Boot] [PATCH 07/19] dm: pmic: add max77686 pmic driver

2014-10-08 Thread Przemyslaw Marczak
This adds a simple implementation of driver model uclass pmic driver. This implementation includes two funcitons: - max77686_ofdata_to_platdada(...) - init I/O data from fdt - max77686_probe(...) - looks for max77686 regulator driver and bind it If there is no regulator driver, then pmic can

[U-Boot] [PATCH 04/19] dm: pmic: add implementation of driver model pmic uclass

2014-10-08 Thread Przemyslaw Marczak
This is an introduction to driver-model multi class PMIC support. It starts with UCLASS_PMIC - a common PMIC class type for I/O, which doesn't need to implement any specific operations and features beside the platform data, which is the 'struct pmic_platdata' defined in file: -

[U-Boot] [PATCH 17/19] odroid: board: add support to dm pmic api

2014-10-08 Thread Przemyslaw Marczak
Changes added to support new pmic api: - call board_init_i2c() in exynos_init(), do i2c init before pmic_init_dm() - change max77686 regulator calls to new pmic api calls Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- board/samsung/odroid/odroid.c | 31

[U-Boot] [PATCH 18/19] odroid: dts: add 'voltage-regulators' description to max77686 node

2014-10-08 Thread Przemyslaw Marczak
Adding regulators subnode to fdt max77686 node allows properly init regulators descriptors from by the max77686 regulator driver. This enables the complete functionality of the regulator command. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- arch/arm/dts/exynos4412-odroid.dts | 250

[U-Boot] [PATCH 11/19] doc: driver-model: pmic and regulator uclass documentation

2014-10-08 Thread Przemyslaw Marczak
Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- doc/driver-model/dm-pmic-framework.txt | 450 + 1 file changed, 450 insertions(+) create mode 100644 doc/driver-model/dm-pmic-framework.txt diff --git a/doc/driver-model/dm-pmic-framework.txt

[U-Boot] [PATCH 06/19] dm: common: board_r: add call and weak of power_init_dm()

2014-10-08 Thread Przemyslaw Marczak
This function call is required to init dm pmic framework and drivers before call to power_init_board(). Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- common/board_r.c | 8 1 file changed, 8 insertions(+) diff --git a/common/board_r.c b/common/board_r.c index

[U-Boot] [PATCH 19/19] odroid: config: enable dm pmic, dm regulator and max77686 driver

2014-10-08 Thread Przemyslaw Marczak
This change enables the configs required to init and setup max77686 regulator driver, using the new driver model pmic API. Enabled configs: - CONFIG_DM_PMIC - CONFIG_DM_PMIC_MAX77686 - CONFIG_DM_PMIC_I2C - CONFIG_DM_REGULATOR - CONFIG_DM_REGULATOR_MAX77686 Signed-off-by: Przemyslaw Marczak

[U-Boot] [PATCH 10/19] dm: board:samsung: power_init_board: add requirement of CONFIG_DM_PMIC

2014-10-08 Thread Przemyslaw Marczak
In the power_init_board function call, regulator driver init is called, so before compile, make sure that any power framework is defined. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- board/samsung/common/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 15/19] trats2: dts: max77686: add pmic alias and names cleanup

2014-10-08 Thread Przemyslaw Marczak
Changes to support new pmic api: - add pmic alias - currently required for new pmic - remove i2c addr from max77686 node name - fix names of some regulators Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- arch/arm/dts/exynos4412-trats2.dts | 17 + 1 file changed, 9

[U-Boot] [PATCH 12/19] samsung: board: lcd menu: check if any power framework is enabled

2014-10-08 Thread Przemyslaw Marczak
The lcd menu requires pmic framework to get the power key state. Now two pmic frameworks are available - the old one and the new one based on a driver-model. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- board/samsung/common/board.c | 3 ++- 1 file changed, 2 insertions(+), 1

[U-Boot] [PATCH 13/19] samsung: misc: power_key_pressed: add support to dm pmic framework

2014-10-08 Thread Przemyslaw Marczak
In case of two pmic frameworks availability - enable support of both, since the new pmic framework is not fully finished and some boards still supports only the old framework. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- board/samsung/common/misc.c | 21 ++--- 1

Re: [U-Boot] [PULL] Please pull u-boot-imx

2014-10-08 Thread Albert ARIBAUD
Hi Stefano, On Wed, 08 Oct 2014 10:17:49 +0200, Stefano Babic sba...@denx.de wrote: Hi Albert, please pull from u-boot-imx, thanks ! cm_fx6 is still broken in u-boot-imx, but after merging with Tom's tree it is built correctly. Ok -- it has been building correctly in u-boot-arm/master

[U-Boot] [PATCH 16/19] trats2: config: enable dm pmic, dm regulator api, dm max77686

2014-10-08 Thread Przemyslaw Marczak
This change enables the configs required to init and setup max77686 regulator driver, using the new driver model pmic API. Enabled configs: - CONFIG_DM_PMIC - CONFIG_DM_PMIC_MAX77686 - CONFIG_DM_PMIC_I2C - CONFIG_DM_REGULATOR - CONFIG_DM_REGULATOR_MAX77686 Signed-off-by: Przemyslaw Marczak

Re: [U-Boot] [PATCH v1 1/1] fs: fat/ext4/sandbox: Deal with files 2GB in ls and size commands

2014-10-08 Thread Simon Glass
Hi Suriyan, On 8 October 2014 14:23, Suriyan Ramasami suriya...@gmail.com wrote: The commands fatls/ext4ls give -ve values when dealing with files 2GB. The commands fatsize/ext4size do not update the variable filesize for these files. To deal with this, the functions *_size have been

[U-Boot] [PATCH v1 1/1] fs: fat/ext4/sandbox: Deal with files 2GB in ls and size commands

2014-10-08 Thread Suriyan Ramasami
The commands fatls/ext4ls give -ve values when dealing with files 2GB. The commands fatsize/ext4size do not update the variable filesize for these files. To deal with this, the functions *_size have been modified to take a second parameter of type * off_t which is then populated. The return

[U-Boot] EXT4 slow boot problem

2014-10-08 Thread Pendleton, Blair
We have discovered a significant performance problem in U-Boot accessing an EXT4 file system.If a large image file happens to be created with more than 4 extents, file read time increases from a few seconds to several minutes. The root cause is the indexed extent block is being re-read

[U-Boot] [PATCH 08/19] dm: regulator: add max77686 regulator driver

2014-10-08 Thread Przemyslaw Marczak
This commit adds support to max77686 regulator driver based on a uclass regulator driver-model api, which provides implementation of all uclass regulator api function calls. New file: drivers/power/regulator/max77686.c New config: CONFIG_DM_REGULATOR_MAX77686 Signed-off-by: Przemyslaw Marczak

Re: [U-Boot] [PATCH v1 1/1] fs: fat/ext4/sandbox: Deal with files 2GB in ls and size commands

2014-10-08 Thread Pavel Machek
On Wed 2014-10-08 13:23:48, Suriyan Ramasami wrote: The commands fatls/ext4ls give -ve values when dealing with files 2GB. The commands fatsize/ext4size do not update the variable filesize for these files. To deal with this, the functions *_size have been modified to take a second

[U-Boot] [PATCH] ARM: mxs: tools: Add support for verbose and silent boot progress flags

2014-10-08 Thread Alexey Ignatov
mkimage -T mxs now support new flags in config file: NODISPLAYPROGRESS - makes boot silent VERBOSEPROGRESS - makes boot progress display more verbose Signed-off-by: Alexey Ignatov lexsz...@gmail.com --- tools/mxsimage.c | 41 ++--- tools/mxsimage.h | 6 +-

Re: [U-Boot] [PATCH 00/19] [RFC] Power(full) framework based on Driver Model

2014-10-08 Thread Przemyslaw Marczak
Hello all, On 10/08/2014 10:48 PM, Przemyslaw Marczak wrote: Hello, This piece of code was a base for prepare my presentation talk for the U-Boot Mini Summit, which taking place at ELCE2014 conference, 13-th October 2014 Dusseldorf, Germany. The tittle of talk: Power(full) framework based on

[U-Boot] [PATCH 01/49] arm: board: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- arch/arm/lib/board.c | 40 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c index 76adaf3..98782ca 100644 --- a/arch/arm/lib/board.c +++

[U-Boot] [PATCH 03/49] cti_flash.c: use __weak when requested

2014-10-08 Thread Jeroen Hofstee
For performance reason there seems to be a CONFIG_xyz. Introduce a __maybe_weak to allow using __weak directly instead of relying on aliases. Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- drivers/mtd/cfi_flash.c | 50 - 1 file changed, 16

[U-Boot] [PATCH 05/49] misc: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- common/menu.c | 5 + post/post.c | 9 ++--- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/common/menu.c b/common/menu.c index 94afeb2..e81c074 100644 --- a/common/menu.c +++ b/common/menu.c @@ -105,12 +105,9 @@

[U-Boot] [PATCH 00/49] reduce warnings with W=1

2014-10-08 Thread Jeroen Hofstee
When compiling u-boot with W=1 there are numerous of warnings. This patchset attempts to reduce it a bit. One source of false warnings are the aliases missing a prototype, most of them are replaced with __weak functions. Others are cause by missing includes / local functions not be marked as such.

[U-Boot] [PATCH 04/49] i2c: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- arch/arm/cpu/arm926ejs/cache.c | 5 + drivers/i2c/i2c_core.c | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/cache.c b/arch/arm/cpu/arm926ejs/cache.c index e86c2ed..8d7873c 100644

[U-Boot] [PATCH 06/49] net: phy: fix warnings with W=1

2014-10-08 Thread Jeroen Hofstee
get_phy_id is marked weak but has no protype nor a strong version, just make it static. Use __weak for board_phy_config. Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- drivers/net/phy/phy.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/net/phy/phy.c

[U-Boot] [PATCH 08/49] samsung: board: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- board/samsung/common/board.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/board/samsung/common/board.c b/board/samsung/common/board.c index 5c3c5bb..758ce4f 100644 --- a/board/samsung/common/board.c +++

[U-Boot] [PATCH 02/49] common: board: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- common/board_f.c | 10 ++ common/board_r.c | 10 ++ 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/common/board_f.c b/common/board_f.c index e6aa298..b5bebc9 100644 --- a/common/board_f.c +++

[U-Boot] [PATCH 07/49] pci: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- drivers/pci/pci.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 28859f3..60c333e 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -572,7 +572,7 @@ const char *

[U-Boot] [PATCH 09/49] usb: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- drivers/usb/host/ehci-hcd.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 6323c50..5e44ba1 100644 --- a/drivers/usb/host/ehci-hcd.c +++

[U-Boot] [PATCH 10/49] video: use __weak

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- drivers/video/cfb_console.c | 10 ++ drivers/video/exynos_fb.c | 32 2 files changed, 10 insertions(+), 32 deletions(-) diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index

[U-Boot] [PATCH 11/49] common: cmd_elf: make do_bootelf_exec static

2014-10-08 Thread Jeroen Hofstee
do_bootelf_exec was a weak function without a prototype nor and strong version. Just make it static. Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- common/cmd_elf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/cmd_elf.c b/common/cmd_elf.c index

[U-Boot] [PATCH 12/49] common: board_r: make local functions static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- common/board_r.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/common/board_r.c b/common/board_r.c index 40eae4e..54294d5 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -364,7 +364,7 @@ static int

[U-Boot] [PATCH 13/49] disk/part.c: make local function static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- disk/part.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/disk/part.c b/disk/part.c index cfd77b0..43485c9 100644 --- a/disk/part.c +++ b/disk/part.c @@ -57,7 +57,7 @@ static const struct block_drvr block_drvr[] = {

[U-Boot] [PATCH 15/49] env_nand: make local functions static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- common/env_nand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/env_nand.c b/common/env_nand.c index 5a734a9..749605f 100644 --- a/common/env_nand.c +++ b/common/env_nand.c @@ -124,7 +124,7 @@ int

[U-Boot] [PATCH 16/49] eth: make eth_address_set static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- net/eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/eth.c b/net/eth.c index 76ffa05..eac4f7b 100644 --- a/net/eth.c +++ b/net/eth.c @@ -153,7 +153,7 @@ static void eth_current_changed(void)

[U-Boot] [PATCH 14/49] ehci-hcd.c: make local functions static

2014-10-08 Thread Jeroen Hofstee
Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- drivers/usb/host/ehci-hcd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 5e44ba1..936d006 100644 --- a/drivers/usb/host/ehci-hcd.c +++

  1   2   >