Re: [U-Boot] [PATCH] lcd: Add support for CONFIG_LCD_NOSTDOUT

2014-05-05 Thread Hannes Petermaier
Hi Jeroen, many thanks for answer. Unfortunately no. The LCD-framework does overrule this environment settings. I guess the reason for this behaviour is, that environment ist loaded _before_ the lcd-driver is initialized. best regards, hannes Jeroen Hofstee wrote: On do, 2014-03-06 at 15:26

[U-Boot] [PATCH v2] fsl/pci: Add workaround for erratum A-005434

2014-05-05 Thread Chunhe Lan
For BSC9132 platform, all PEX inbound windows PEX_PEXIWARn[TRGT] defaults to 0xF, which is mapped to CCSRBAR. However, for other products, 0xF is mapped to the local memory. Therefore, for the BSC9132, any default PCI Express access to the local memory (DDR) will now access the CCSRBAR. This

[U-Boot] booting signed Images

2014-05-05 Thread Heiko Schocher
Hello Simon, just talked with Wolfgang about the booting process from signed images, as it is described in: doc/uImage.FIT/verified-boot.txt doc/uImage.FIT/signature.txt If we see it correct, then it is still possible to boot an uImage or a FIT image without signature with bootm when

Re: [U-Boot] [PATCH v5 01/12] mmc: mmc header fix

2014-05-05 Thread Lukasz Majewski
Hi Mateusz, Structure definition used type block_dev_desc_t, defined in part.h, which wasn't included in mmc.h. It worked only in circumstances when common.h, or another header using part.h was incuded in implementation files. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Minkyu

Re: [U-Boot] [PATCH v5 02/12] part: header fix

2014-05-05 Thread Lukasz Majewski
Hi Mateusz, Implementation made use of types defined in common.h, even though it wasn't #included. It worked in circumstances when .c files included every needed header (all). Signed-off-by: Mateusz Zalega m.zal...@samsung.com Cc: Tom Rini tr...@ti.com Cc: Minkyu Kang mk7.k...@samsung.com

Re: [U-Boot] [PATCH v5 03/12] usb: dfu: fix boards wo USB cable detection

2014-05-05 Thread Lukasz Majewski
Hi Mateusz, Former usb_cable_connected() patch broke compilation of boards which do not support this feature. I've renamed usb_cable_connected() to g_dnl_usb_cable_connected() and added its default implementation to gadget downloader driver code. There's only one driver of this kind and

Re: [U-Boot] [PATCH v5 04/12] dfu: mmc: raw data write fix

2014-05-05 Thread Lukasz Majewski
Hi Mateusz, When user attempted to perform a raw write using DFU (vide dfu_fill_entity_mmc) with MMC interface not initialized before, get_mmc_blk_size() reported invalid (zero) block size - it wasn't possible to write ie. a new u-boot image. This commit fixes that by initializing MMC

Re: [U-Boot] [PATCH v5 05/12] dfu: mmc: change offset base handling

2014-05-05 Thread Lukasz Majewski
Hi Mateusz, Previously offsets handled by dfu_fill_entity_mmc(), defined in boards' CONFIG_DFU_ALT were treated as hexadecimal regardless of their prefix, which sometimes led to confusion. This patch forces usage of explicit numerical base prefixes. Signed-off-by: Mateusz Zalega

Re: [U-Boot] [PATCH v5 06/12] ums: always initialize mmc before ums_disk_init()

2014-05-05 Thread Lukasz Majewski
Hi Mateusz, In cases when MMC hadn't been initialized before, ie. by the user or other subsystem, it was still uninitialized while UMS media capacity check, leading to broken ums command. UMS has to initialize resources it uses. Tested on Samsung Goni. Signed-off-by: Mateusz Zalega

Re: [U-Boot] [PATCH v5 07/12] am335x: dfu: disable DFU in am335x_evm SPL build

2014-05-05 Thread Lukasz Majewski
Hi Mateusz, Future patches will make DFU too large to fit in this board's SPL build. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Acked-by: Tom Rini tr...@ti.com Reviewed-by: Lukasz Majewski l.majew...@samsung.com Applied to u-boot-dfu. THanks. -- Best regards, Lukasz Majewski

Re: [U-Boot] [PATCH v5 08/12] USB: gadget: added a saner gadget downloader registration API

2014-05-05 Thread Lukasz Majewski
Hi Mateusz, Preprocessor definitions and hardcoded implementation selection in g_dnl core were replaced by a linker list made of (usb_function_name, bind_callback) pairs. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Acked-by: Lukasz Majewski l.majew...@samsung.com Acked-by: Marek

Re: [U-Boot] [PATCH] USB: gadget: save driver name before registering it

2014-05-05 Thread Lukasz Majewski
Hi Stephen, From: Stephen Warren swar...@nvidia.com g_dnl_register() currently first attempts to register a composite driver by name, and then saves the driver name once it's registered. Internally to the registration code, g_dnl_do_config() is called and attempts to compare the composite

[U-Boot] Pull request: u-boot-dfu

2014-05-05 Thread Lukasz Majewski
Hi Marek, Please find following PR. I have also added commit from Stephen, since it immediately fixes problem with the current code. And linker list documentation update, since this fix emerged during the work with this code. The following changes since commit

Re: [U-Boot] [PATCH v2] common: fixed linker-list example

2014-05-05 Thread Lukasz Majewski
Hi Mateusz, Last argument shouldn't be there. Signed-off-by: Mateusz Zalega m.zal...@samsung.com Acked-by: Marek Vasut ma...@denx.de Cc: Tom Rini tr...@ti.com --- Detached from earlier DFU, MMC, Gadget, Goni, misc. series because of lack of relevance to other patches. v2: - deleted

Re: [U-Boot] [PATCH 03/12] MX6: add common SPL configuration

2014-05-05 Thread Stefano Babic
Hi Tim, On 28/04/2014 22:17, Tim Harvey wrote: Add a common header which can hopefully be shared amon imx6 SPL users Signed-off-by: Tim Harvey thar...@gateworks.com --- v2: - adjust CONFIG_SPL_TEXT_BASE, CONFIG_SPL_STACK and CONFIG_SPL_MAX_SIZE to accomodate the IMX6SOLO/DUALLITE which

Re: [U-Boot] [PATCH 05/12] MX6: add boot device support for SPL

2014-05-05 Thread Stefano Babic
Hi Tim, On 28/04/2014 22:17, Tim Harvey wrote: Add a common spl.c file to support boot device functions needed for SPL such as detecting the boot device. Signed-off-by: Tim Harvey thar...@gateworks.com --- v2: - re-base on top of Masahiro Yamada's consolidation patch:

Re: [U-Boot] [PATCH 2/4] video: Add support for imx25 lcd controller

2014-05-05 Thread Anatolij Gustschin
Hi, On Wed, 23 Apr 2014 07:52:43 +0200 die...@gmx.de wrote: From: Thomas Diener die...@gmx.de This patch adds support for the imx25 lcd display controller. Signed-off-by: Thomas Diener die...@gmx.de --- drivers/video/Makefile|1 + drivers/video/imx25lcdc.c | 123

Re: [U-Boot] [PATCH 7/8] ums: move all variable declarations to the start of the block

2014-05-05 Thread Przemyslaw Marczak
Hello Stephen, On 05/01/2014 11:47 PM, Stephen Warren wrote: On 05/01/2014 01:43 PM, Lukasz Majewski wrote: Hi Stephen, On 05/01/2014 04:51 AM, Marek Vasut wrote: On Wednesday, April 30, 2014 at 11:13:21 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com It's easier to

Re: [U-Boot] [PATCH 04/12] spl: consolidate arch/arm/include/asm/arch-*/spl.h

2014-05-05 Thread Stefano Babic
Hi Tim, On 30/04/2014 07:39, Masahiro Yamada wrote: Hi Tim, Cc : Stefano, Tom On Mon, 28 Apr 2014 13:17:30 -0700 Tim Harvey thar...@gateworks.com wrote: From: Masahiro Yamada yamad...@jp.panasonic.com arch/arm/include/asm/spl.h requires all SoCs to have

[U-Boot] MPC8641 ASMP u-boot booting

2014-05-05 Thread Ashish Khetan
Hi, I am a little bit confused about u-boot smp and u-boot asmp on mpc8641d based HPCN board. when i am enable config_mp, in which mode it boots? In SMP u-boot or ASMP u-boot? and if it boots in smp mode then how am i going to boot ASMP linux? Please show me some way to boot ASMP linux . Any

Re: [U-Boot] [PATCH 4/4] Update of the company logo

2014-05-05 Thread Anatolij Gustschin
On Wed, 23 Apr 2014 07:52:45 +0200 die...@gmx.de wrote: From: Thomas Diener die...@gmx.de Signed-off-by: Thomas Diener die...@gmx.de --- tools/logos/syteco.bmp | Bin 11414 - 11414 bytes 1 file changed, 0 insertions(+), 0 deletions(-) applied to u-boot-video/master. Thanks! Anatolij

Re: [U-Boot] [PATCH] config: enable CMD_BMP when API+LCD is enabled

2014-05-05 Thread Anatolij Gustschin
On Fri, 18 Apr 2014 11:15:55 -0600 Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com When both CONFIG_API and CONFIG_LCD are enabled, the API code calls lcd_display_bitmap(). That isn't compiled unless either CONFIG_CMD_BMP or CONFIG_SPLASH_SCREEN is

Re: [U-Boot] [PATCH] at91: video: atmel_hlcdfb.c: fix bad timing configuration

2014-05-05 Thread Anatolij Gustschin
On Mon, 10 Mar 2014 16:40:41 +0800 Josh Wu josh...@atmel.com wrote: The right correspondance between LCD margins and LCD timings is: * upper margin - vertical back porch * lower margin - vertical front porch * left margin - horizontal back porch * right margin - horizontal

Re: [U-Boot] Pull request: u-boot-dfu

2014-05-05 Thread Marek Vasut
On Monday, May 05, 2014 at 10:27:42 AM, Lukasz Majewski wrote: Hi Marek, Please find following PR. I have also added commit from Stephen, since it immediately fixes problem with the current code. And linker list documentation update, since this fix emerged during the work with this code.

[U-Boot] [PULL] u-boot-usb/master

2014-05-05 Thread Marek Vasut
The following changes since commit a405764c1ec835a41ccda943b9156aee25e15d5e: drivers/i2c/fsl_i2c: modify i2c_read to handle multi-byte write (2014-04-29 07:10:58 +0200) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to

Re: [U-Boot] [PATCH 06/12] IMX: add comments and remove unused struct fields

2014-05-05 Thread Stefano Babic
Hi Tim, On 28/04/2014 22:17, Tim Harvey wrote: Add comment block for the imx_ddr_size function and remove the extra unused fields from struct esd_mmdc_regs which are also not common between IMX53 and IMX6. There are no functional changes here. Signed-off-by: Tim Harvey thar...@gateworks.com

Re: [U-Boot] [PATCH 07/12] MX6: add structs for mmdc and ddr iomux registers

2014-05-05 Thread Stefano Babic
Hi Tim, On 28/04/2014 22:17, Tim Harvey wrote: Add memory-mapped structures for MMDC iomux and configuration. Note that while the MMDC configuration registers are common between the IMX6DQ (IMX6DUAL/IMX6QUAD) and IMX6SDL (IMX6SOLO/IMX6DUALLITE) types the iomux registers differ. This requires

[U-Boot] [PATCH v11 0/2] S5P: Exynos: Add GPIO numbering feature

2014-05-05 Thread Akshay Saraswat
Used a script to recheck/verify pin mapping and existing mapping appears to be fine, returning correct bank and pin values. Did ./MAKEALL -a arm and found all Exynos/S5P related boards compiled successfully. Couldn't test booting over all of them. Tested U-Boot bootup over SMDK5420, SMDK5250,

[U-Boot] [PATCH v11 2/2] S5P: Exynos: Config: Enable GPIO CMD config

2014-05-05 Thread Akshay Saraswat
Enabling configs for GPIO CMD, EXYNOS4 family and replacing exynos_gpio_get with new linear GPIO pin number required because of the new function asking only 2 arguments (pin and value) instead of 3 (bank, pin and value). Signed-off-by: Akshay Saraswat aksha...@samsung.com ---

Re: [U-Boot] [PATCH] disk: part_efi: add support for the Alternate GPT

2014-05-05 Thread Przemyslaw Marczak
Hello Steve, On 04/30/2014 12:31 AM, Steve Rae wrote: Check the Alternate GPT table if the Primary GPT table is invalid. Signed-off-by: Steve Rae s...@broadcom.com --- disk/part_efi.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/disk/part_efi.c

[U-Boot] [PATCH v5 2/8] sunxi: add sun7i pinmux and gpio support

2014-05-05 Thread Ian Campbell
This patch adds the basic pinmux and gpio support for the Allwinner A20 (sun7i) processor. This code will not been compiled until the build is hooked up in a later patch. It has been split out to keep the patches manageable. Signed-off-by: Chen-Yu Tsai w...@csie.org Signed-off-by: Hans de Goede

[U-Boot] [PATCH v5 0/8] sunxi: initial upstreaming effort

2014-05-05 Thread Ian Campbell
This is my fifth attempt at an upstreamable series based upon the https://github.com/linux-sunxi/u-boot-sunxi.git#sunxi tree. The intention is to present a minimal starting point for upstreaming to which support for other processors, peripherals, boards etc can be added in the future. Therefore

[U-Boot] [PATCH v5 6/8] sunxi: add gmac Ethernet support

2014-05-05 Thread Ian Campbell
Add support for the GMAC Ethernet controller on Allwinner A20 (sun7i) processors. Enable for the Cubietruck. Signed-off-by: Chen-Yu Tsai w...@csie.org Signed-off-by: Jens Kuske jensku...@gmail.com Signed-off-by: Ian Campbell i...@hellion.org.uk Reviewed-by: Marek Vasut ma...@denx.de --- v5: Based

[U-Boot] [PATCH v5 5/8] sunxi: add support for Cubietruck booting in FEL mode

2014-05-05 Thread Ian Campbell
Signed-off-by: Oliver Schinagl oli...@schinagl.nl Signed-off-by: Jens Kuske jensku...@gmail.com Signed-off-by: Ian Campbell i...@hellion.org.uk Reviewed-by: Tom Rini tr...@ti.com Reviewed-by: Marek Vasut ma...@denx.de --- v5: Based on 3f5ff92b1503 sunxi: add comments to pll1_para array. - No

[U-Boot] [PATCH v5 8/8] sunxi: non-FEL SPL boot support for sun7i

2014-05-05 Thread Ian Campbell
Add support for booting from an MMC card. Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Henrik Nordström hen...@henriknordstrom.net Signed-off-by: Ian Campbell i...@hellion.org.uk Reviewed-by: Marek Vasut ma...@denx.de Cc: Tom Cubie mr.hip...@gmail.com --- v5: Based on 3f5ff92b1503

[U-Boot] [PATCH v5 7/8] sunxi: mmc support

2014-05-05 Thread Ian Campbell
This adds support for the MMC controller on the Allwinner A20 (sun7i) processor. Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Luke Leighton l...@lkcl.net Signed-off-by: Oliver Schinagl oli...@schinagl.nl Signed-off-by: Wills Wang wills.wang.o...@gmail.com

[U-Boot] [PATCH v5 3/8] sunxi: add sun7i dram setup support

2014-05-05 Thread Ian Campbell
This patch adds DRAM initialisation support for the Allwinner A20 (sun7i) processor. This code will not been compiled until the build is hooked up in a later patch. It has been split out to keep the patches manageable. Signed-off-by: Alexandru Gagniuc mr.nuke...@gmail.com Signed-off-by: Emilio

[U-Boot] [PATCH v5 4/8] sunxi: add sun7i cpu, board and start of day support

2014-05-05 Thread Ian Campbell
This patch adds generic board, start of day and basic build system support for the Allwinner A20 (sun7i) processor. This code will not been compiled until the build is hooked up in a later patch. It has been split out to keep the patches manageable. Signed-off-by: Adam Sampson a...@offog.org

[U-Boot] [PATCH v5 1/8] sunxi: add sun7i clocks and timer support.

2014-05-05 Thread Ian Campbell
This patch adds the basic clocks and timer support for the Allwinner A20 (sun7i) processor. This code will not been compiled until the build is hooked up in a later patch. It has been split out to keep the patches manageable. Some of the code here is common to multiple sunxi subarchtectures,

Re: [U-Boot] [PATCH v5 0/8] sunxi: initial upstreaming effort

2014-05-05 Thread Marek Vasut
On Monday, May 05, 2014 at 12:52:02 PM, Ian Campbell wrote: This is my fifth attempt at an upstreamable series based upon the https://github.com/linux-sunxi/u-boot-sunxi.git#sunxi tree. The intention is to present a minimal starting point for upstreaming to which support for other processors,

Re: [U-Boot] [PATCH v11 0/2] S5P: Exynos: Add GPIO numbering feature

2014-05-05 Thread Przemyslaw Marczak
Hello Akshay, On 05/05/2014 12:39 PM, Akshay Saraswat wrote: Used a script to recheck/verify pin mapping and existing mapping appears to be fine, returning correct bank and pin values. Did ./MAKEALL -a arm and found all Exynos/S5P related boards compiled successfully. Couldn't test booting over

Re: [U-Boot] [linux-sunxi] [PATCH v5 7/8] sunxi: mmc support

2014-05-05 Thread Stefan Roese
On 05.05.2014 12:52, Ian Campbell wrote: This adds support for the MMC controller on the Allwinner A20 (sun7i) processor. Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Luke Leighton l...@lkcl.net Signed-off-by: Oliver Schinagl oli...@schinagl.nl Signed-off-by:

[U-Boot] [PATCH] lib:crc32: Allow setting of the initial crc32 value

2014-05-05 Thread Lukasz Majewski
The current approach set the initial value of crc32 calculation to zero, which is correct for calculating checksum of the whole chunk of data. It however, lacks the flexibility, when one wants to calculate CRC32 of a file comprised of many smaller parts received separately. In the proposed

Re: [U-Boot] DA850EVM with USE_NAND config does not pad the AIS file

2014-05-05 Thread Tom Rini
On Sat, Apr 26, 2014 at 01:34:58PM -0400, Tom Taylor wrote: I'm a U-Boot newbie so please feel free to correct how I'm reporting this issue.. I recently downloaded the 2014.04-rc3 snapshot to build U-Boot for my custom DA850-based board. The only change was to add a new target

Re: [U-Boot] [PATCH v3 1/2] wandboard: add Future Eletronics 7 WVGA LCD extension board

2014-05-05 Thread Stefano Babic
Hi Otavio, On 02/05/2014 00:02, Otavio Salvador wrote: This adds support for the 7 WVGA produced by Future Eletronics and make it dynamically detect if it is connected or not based on the touchscreen controller. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- Changes in v3:

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

2014-05-05 Thread Lukasz Majewski
Up till now the CRC32 of received data was calculated unconditionally. The standard crc32 implementation causes long delays when large images were uploaded. The dfu_checksum_method environment variable gives the opportunity to enable on demand (when e.g. debugging) the crc32 calculation. It can

Re: [U-Boot] [PATCH 2/4] video: Add support for imx25 lcd controller

2014-05-05 Thread Stefano Babic
On 05/05/2014 11:16, Anatolij Gustschin wrote: Hi, On Wed, 23 Apr 2014 07:52:43 +0200 die...@gmx.de wrote: From: Thomas Diener die...@gmx.de This patch adds support for the imx25 lcd display controller. Signed-off-by: Thomas Diener die...@gmx.de --- drivers/video/Makefile|1

Re: [U-Boot] [PATCH v5 5/5] samsung: misc: remove download mode info screen

2014-05-05 Thread Minkyu Kang
Dear Przemyslaw Marczak, On 30 April 2014 20:28, Przemyslaw Marczak p.marc...@samsung.com wrote: This change removes LCD menu download mode info screen. Now key press timeout is checked in function download_menu() and menu options are displayed directly after PWR + VOLUP keys.

Re: [U-Boot] [PATCH v5 4/5] samsung: misc: menu: increase delay in menu main loop

2014-05-05 Thread Gerhard Sittig
On Wed, 2014-04-30 at 13:28 +0200, Przemyslaw Marczak wrote: Increase menu loop delay to 200 ms helps choose the right menu option by user. Before this, each time key was pressed the current menu option was changed few times. Now it changes only once and also changes few times if key is

Re: [U-Boot] [linux-sunxi] [PATCH v5 7/8] sunxi: mmc support

2014-05-05 Thread Ian Campbell
On Mon, 2014-05-05 at 14:18 +0200, Stefan Roese wrote: + case 1: +#if CONFIG_MMC1_PG Are you sure that this is correct and shouldn't be: +#ifdef CONFIG_MMC1_PG ? It's correct in so far as it works (the boards.cfg config stuff #defines things to 1), but I think you are right that it

[U-Boot] [UBOOT][PATCH 3/3] ti: qspi: populate slave device to set flash quad bit.

2014-05-05 Thread Sourav Poddar
The patch populates the slave data which will be used by flash driver to set the flash quad enable bit. Signed-off-by: Sourav Poddar sourav.pod...@ti.com --- drivers/spi/ti_qspi.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/ti_qspi.c b/drivers/spi/ti_qspi.c index

[U-Boot] [UBOOT][PATCH 1/3] am33xx: Rework #ifdef's around s_init for clarity

2014-05-05 Thread Sourav Poddar
From: Tom Rini tr...@ti.com The s_init function is only called on SPL or XIP cases, so lets only build it for them. This makes the #if logic within the function a bit clearer as to when we are or are not calling things, and makes it easier to see that for example preloader_console_init isn't

[U-Boot] [UBOOT][PATCH 2/3] am43xx_evm: Add qspi and qspiboot targets

2014-05-05 Thread Sourav Poddar
Only the ePOS EVM has QSPI as an option and QSPI and NAND are mutually exclusive. Add a qspi target that can see QSPI and work with it (as we cannot do the pinmux for both QSPI and NAND at the same time) and a qspiboot target that can be written to QSPI and booted (we are XIP and thus need a

[U-Boot] [UBOOT][PATCH 0/3] am43xx: add xip support for ti qspi

2014-05-05 Thread Sourav Poddar
This add support for am43xx qspi XIP boot. In this mode, we will use only u-boot.bin. This patch series is tested with a small hack change- === --- u-boot.orig/drivers/i2c/i2c_core.c 2014-05-05 16:14:08.305216507 +0530 +++

Re: [U-Boot] [PATCH] mx6sabred: Add PFUZE100 PMIC support

2014-05-05 Thread Otavio Salvador
On Sun, May 4, 2014 at 4:14 PM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com mx6sabresd boards have a PFUZE100 PMIC connected to I2C2 bus. Add support for it. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Are you doing to add the

Re: [U-Boot] [PATCH] mx6sabred: Add PFUZE100 PMIC support

2014-05-05 Thread Fabio Estevam
On Mon, May 5, 2014 at 11:00 AM, Otavio Salvador ota...@ossystems.com.br wrote: On Sun, May 4, 2014 at 4:14 PM, Fabio Estevam feste...@gmail.com wrote: From: Fabio Estevam fabio.este...@freescale.com mx6sabresd boards have a PFUZE100 PMIC connected to I2C2 bus. Add support for it.

Re: [U-Boot] [PATCH 1/2] fs:ext4:cleanup: Remove superfluous code

2014-05-05 Thread Simon Glass
Hi Lukasz, On 4 May 2014 23:20, Lukasz Majewski l.majew...@samsung.com wrote: Hi Simon, On 30 April 2014 03:39, Lukasz Majewski l.majew...@samsung.com wrote: Code responsible for handling situation when ext4 has block size of 1024B can be ordered to take less space. This patch does

Re: [U-Boot] [PATCH] mx6sabred: Add PFUZE100 PMIC support

2014-05-05 Thread Stefano Babic
Hi Fabio, just a minor question: On 04/05/2014 21:14, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com mx6sabresd boards have a PFUZE100 PMIC connected to I2C2 bus. Add support for it. Signed-off-by: Fabio Estevam fabio.este...@freescale.com ---

Re: [U-Boot] [PATCH v4 00/10] ARMv7: add PSCI support to U-Boot

2014-05-05 Thread Jon Loeliger
Mark, Not sure on which patch of your series to base the following comment, but thought it was worth bringing up for discussion nevertheless. So, over in U-Boot ARMv7's arch/arm/cpu/armv7/start.S code, there is a bit of code under the enty-point named cpu_init_cp15 that does some

[U-Boot] [PATCH 2/2] siemens, draco: add new target

2014-05-05 Thread Samuel Egli
Signed-off-by: Samuel Egli samuel.e...@siemens.com Reviewed-by: Roger Meier r.me...@siemens.com Cc: Heiko Schocher h...@denx.de Cc: Wolfgang Denk w...@denx.de --- boards.cfg |1 + include/configs/draco.h | 92 +++ 2 files changed, 93

[U-Boot] [PATCH 1/2] siemens:cosmetic, dxr2: rename dxr2 to draco

2014-05-05 Thread Samuel Egli
The actual board name is draco and dxr2 is the target name. In the future we'll have different targets based on draco board. All changes are purely non-functional and basically rename dxr2 to draco. One style fix in board.c that existed already before. Signed-off-by: Samuel Egli

[U-Boot] [PATCH 0/2] siemens: rename board dxr2 to draco and add target draco

2014-05-05 Thread Samuel Egli
These two patches rename board dxr2 to draco and add new target draco with new MACH_TYPE. New target (patch 2) depends on renaming (patch 1). Samuel Egli (2): siemens:cosmetic, dxr2: rename dxr2 to draco siemens, draco: add new target board/siemens/{dxr2 = draco}/Makefile |0

[U-Boot] [PATCH 4/4] [PATCH] ventana: Add support for the LTC3676 PMIC

2014-05-05 Thread Tim Harvey
The LTC3676 PMIC is used instead of the PFUZE100 PMIC on the GW51xx/GW52xx/GW53xx Ventana baseboards. In order to support the IMX6Q SoC at 1GHz on those baseboards, we need to adjust the voltage scaling for the SW1 and SW3 DC/DC converters on the LTC3676 for 1225mV. Note that the scalar values for

[U-Boot] [RFC PATCH v0 0/4] Improve arm64 support

2014-05-05 Thread Tom Rini
After talking with some folks at ELC and getting a feel for some things, here is a series to start addressing some issues with the ARM64 port. The following RFC series corrects our passing of args to the Linux kernel and cleans up the vexpress_aemv8a config a bit (and corrects some values too).

[U-Boot] [RFC PATCH v0 4/4] vexpress_aemv8a.h: Enable CONFIG_CMD_BOOTI and CONFIG_CMD_UNZIP

2014-05-05 Thread Tom Rini
Add support for booting Images and for unzipping Image.gz files. Signed-off-by: Tom Rini tr...@ti.com --- include/configs/vexpress_aemv8a.h |2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/vexpress_aemv8a.h b/include/configs/vexpress_aemv8a.h index ae0ee1b..aa64750

[U-Boot] [RFC PATCH v0 1/4] arm64: Correct passing of Linux kernel args

2014-05-05 Thread Tom Rini
The Documentation/arm64/booting.txt document says that pass in x1/x2/x3 as 0 as they are reserved for future use. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/lib/bootm.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/arch/arm/lib/bootm.c

[U-Boot] [RFC PATCH v0 2/4] cmd_bootm.c: Add 'booti' for ARM64 Linux kernel Images

2014-05-05 Thread Tom Rini
The default format for arm64 Linux kernels is the Image format, described in Documentation/arm64/booting.txt. This, along with an optional gzip compression on top is all that is generated by default. The Image format has a magic number within the header for verification, a text_offset where the

[U-Boot] [RFC PATCH v0 3/4] vexpress_aemv8a.h: Clean up the config

2014-05-05 Thread Tom Rini
- Drop DEBUG - Drop defines we can use the default of. - Drop CONFIG_GICV3 and related defines, we aren't using interrupts and do not need to configure the interrupt controller. - Provide a larger malloc pool. - Correct default locations for kernel / initrd / device tree Signed-off-by: Tom Rini

Re: [U-Boot] [PATCH] mx6sabred: Add PFUZE100 PMIC support

2014-05-05 Thread Tim Harvey
On Mon, May 5, 2014 at 7:29 AM, Stefano Babic sba...@denx.de wrote: Hi Fabio, just a minor question: On 04/05/2014 21:14, Fabio Estevam wrote: snip +int misc_init_r(void) +{ Do we need misc_init ? Why not to use power_init_board() ? It is already defined as weak. OT: I confess I am

Re: [U-Boot] [PATCH 05/12] MX6: add boot device support for SPL

2014-05-05 Thread Tim Harvey
+cc Edward Lin On Mon, May 5, 2014 at 2:14 AM, Stefano Babic sba...@denx.de wrote: Hi Tim, On 28/04/2014 22:17, Tim Harvey wrote: Add a common spl.c file to support boot device functions needed for SPL such as detecting the boot device. Signed-off-by: Tim Harvey thar...@gateworks.com ---

Re: [U-Boot] [PATCH 07/12] MX6: add structs for mmdc and ddr iomux registers

2014-05-05 Thread Tim Harvey
On Mon, May 5, 2014 at 3:34 AM, Stefano Babic sba...@denx.de wrote: Hi Tim, On 28/04/2014 22:17, Tim Harvey wrote: Add memory-mapped structures for MMDC iomux and configuration. Note that while the MMDC configuration registers are common between the IMX6DQ (IMX6DUAL/IMX6QUAD) and IMX6SDL

Re: [U-Boot] [PATCH] mx6sabred: Add PFUZE100 PMIC support

2014-05-05 Thread Fabio Estevam
On Mon, May 5, 2014 at 12:32 PM, Tim Harvey thar...@gateworks.com wrote: Hi Fabio, Yes, I think Stefano is correct in that power_init_board() is the right place to put pmic init. He asked me to do that to my recent series as well and it worked fine. Note that in that series I do have a

Re: [U-Boot] [PATCH] disk: part_efi: add support for the Alternate GPT

2014-05-05 Thread Steve Rae
On 14-05-05 03:50 AM, Przemyslaw Marczak wrote: Hello Steve, On 04/30/2014 12:31 AM, Steve Rae wrote: Check the Alternate GPT table if the Primary GPT table is invalid. Signed-off-by: Steve Rae s...@broadcom.com --- disk/part_efi.c | 20 ++-- 1 file changed, 18

Re: [U-Boot] [PATCH] mx6sabred: Add PFUZE100 PMIC support

2014-05-05 Thread Fabio Estevam
On Mon, May 5, 2014 at 12:56 PM, Fabio Estevam feste...@gmail.com wrote: On Mon, May 5, 2014 at 12:32 PM, Tim Harvey thar...@gateworks.com wrote: Hi Fabio, Yes, I think Stefano is correct in that power_init_board() is the right place to put pmic init. He asked me to do that to my recent

[U-Boot] [RFC PATCH v2 0/13] Enable driver model for GPIOs on Tegra

2014-05-05 Thread Simon Glass
Now that driver model is part of U-Boot, the task of converting drivers over to it begins. GPIO is one of the easiest to convert, since it already has a sandbox driver and a uclass driver. The Tegra GPIO driver is relatively simple since it has a linear numbering and already uses the generic GPIO

[U-Boot] [RFC PATCH v2 11/13] dm: Fix printf() strings in the 'dm' command

2014-05-05 Thread Simon Glass
The values here are int, but the map_to_sysmem() call can return a long. Add a cast to deal with this. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to fix printf() strings in the 'dm' command test/dm/cmd_dm.c | 8 1 file changed, 4 insertions(+), 4

[U-Boot] [RFC PATCH v2 01/13] Add an I/O tracing feature

2014-05-05 Thread Simon Glass
When debugging drivers it is useful to see what I/O accesses were done and in what order. Even if the individual accesses are of little interest it can be useful to verify that the access pattern is consistent each time an operation is performed. In this case a checksum can be used to

[U-Boot] [RFC PATCH v2 08/13] dm: Add missing header files in lists and root

2014-05-05 Thread Simon Glass
These files don't compile in some architectures. Fix it by adding the missing headers. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to add missing header files in lists and root drivers/core/lists.c | 1 + drivers/core/root.c | 1 + 2 files changed, 2

[U-Boot] [RFC PATCH v2 10/13] dm: Allow driver model tests only for sandbox

2014-05-05 Thread Simon Glass
The GPIO tests require the sandbox GPIO driver, so cannot be run on other platforms. Similarly for the 'dm test' command. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to allow driver model tests only for sandbox test/dm/Makefile | 2 ++ test/dm/cmd_dm.c | 11

[U-Boot] [RFC PATCH v2 03/13] sandbox: Support iotrace feature

2014-05-05 Thread Simon Glass
Support the iotrace feature for sandbox, and enable it, using some dummy I/O access methods. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add a new patch to enable iotrace for sandbox arch/sandbox/include/asm/io.h | 10 ++ include/configs/sandbox.h | 3 +++ 2

[U-Boot] [RFC PATCH v2 06/13] dm: Update README to encourage conversion to driver model

2014-05-05 Thread Simon Glass
Add a note to encourage people to convert drivers to use driver model. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Update README to encourage conversion to driver model README | 5 + 1 file changed, 5 insertions(+) diff --git a/README b/README index 6b41630..5be8e8c

[U-Boot] [RFC PATCH v2 02/13] arm: Support iotrace feature

2014-05-05 Thread Simon Glass
Support the iotrace feature for ARM, when enabled. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add a new patch to enable iotrace for arm arch/arm/include/asm/io.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h

[U-Boot] [RFC PATCH v2 12/13] tegra: Enable driver model

2014-05-05 Thread Simon Glass
Enable driver model for Tegra boards. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Split out a separate patch to enable driver model for tegra include/configs/tegra-common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/tegra-common.h

[U-Boot] [RFC PATCH v2 05/13] tegra: dts: Bring in GPIO bindings from linux

2014-05-05 Thread Simon Glass
These files are taken from Linux 3.14. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to bring in Tegra device tree files from linux arch/arm/dts/tegra20.dtsi | 15 ++- include/dt-bindings/gpio/gpio.h| 15 +++

[U-Boot] [RFC PATCH v2 04/13] Makefile: Support include files for .dts files

2014-05-05 Thread Simon Glass
Linux supports this, and if we are to have compatible device tree files, U-Boot should also. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to support include files for .dts files scripts/Makefile.lib | 1 + 1 file changed, 1 insertion(+) diff --git

[U-Boot] [RFC PATCH v2 13/13] tegra: Convert tegra GPIO driver to use driver model

2014-05-05 Thread Simon Glass
This is an implementation of GPIOs for Tegra that uses driver model. It has been tested on trimslice and also using the new iotrace feature. The implementation uses a top-level GPIO device (which has no actual GPIOS). Under this all the banks are created as separate GPIO devices. The GPIOs are

[U-Boot] [RFC PATCH v2 07/13] dm: Use case-insensitive comparison for GPIO banks

2014-05-05 Thread Simon Glass
We want 'N0' and 'n0' to mean the same thing, so ensure that case is not considered when naming GPIO banks. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to use case-insensitive comparison for GPIO banks drivers/gpio/gpio-uclass.c | 2 +- 1 file changed, 1

[U-Boot] [RFC PATCH v2 09/13] dm: Case away the const-ness of the global_data pointer

2014-05-05 Thread Simon Glass
In a very few cases we need to adjust the driver model root device, such as when setting it up at initialisation. Add a macro to make this easier. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to deal with const-ness of the global_data pointer

Re: [U-Boot] [PATCH] WIP: tegra: Use driver model for GPIO driver

2014-05-05 Thread Stephen Warren
On 05/02/2014 10:25 PM, Simon Glass wrote: Hi Stephen, On 2 May 2014 16:43, Stephen Warren swar...@wwwdotorg.org wrote: On 05/02/2014 02:51 PM, Simon Glass wrote: This is an implementation of GPIOs for Tegra that uses driver model. It is written for comment and need work and testing before

Re: [U-Boot] [PATCH 7/8] ums: move all variable declarations to the start of the block

2014-05-05 Thread Stephen Warren
On 05/05/2014 03:16 AM, Przemyslaw Marczak wrote: ... On Wednesday, April 30, 2014 at 11:13:21 PM, Stephen Warren wrote: It's easier to assign values to the variables inside an if statement body if the assignment and declaration are separate. ... FWIW, I have applied that series locally and

Re: [U-Boot] [PATCH] WIP: tegra: Use driver model for GPIO driver

2014-05-05 Thread Simon Glass
Hi Stephen, On 5 May 2014 10:10, Stephen Warren swar...@wwwdotorg.org wrote: On 05/02/2014 10:25 PM, Simon Glass wrote: Hi Stephen, On 2 May 2014 16:43, Stephen Warren swar...@wwwdotorg.org wrote: On 05/02/2014 02:51 PM, Simon Glass wrote: This is an implementation of GPIOs for Tegra

[U-Boot] [PATCH V2 2/8] ums: remove UMS_{NUM, START}_SECTORS + UMS_START_SECTOR

2014-05-05 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com These values aren't set anywhere at present, and hence have no effect. The concept of a single global offset/number of sectors to expose through USB Mass Storage doesn't even make sense in the face of multiple storage devices. Remove these defines to

[U-Boot] [PATCH V2 5/8] ums: move IO support code to common location

2014-05-05 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com There's nothing Samsung-/board-specfic about the implementation of ums_init(). Move the code into cmd_usb_mass_storage.c, so that it can be shared by any user of that command. Cc: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Stephen Warren

[U-Boot] [PATCH V2 1/8] ums: support block devices not MMC devices

2014-05-05 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com The USB Mass Storage function could equally well support a SATA device as support an MMC device. Update struct ums to contain a block device descriptor, not an MMC device descriptor. Cc: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Stephen Warren

[U-Boot] [PATCH V2 3/8] ums: remove error-checking of MMC device size

2014-05-05 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com There's no reason to believe that an MMC device will incorrectly report its capacity. Remove error checking of this value from ums_disk_init() to simplify it. Cc: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Stephen Warren swar...@nvidia.com

[U-Boot] [PATCH V2 4/8] ums: remove ums_disk_init()

2014-05-05 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Now that ums_disk_init() is so simple, there's no need for it to be a separate function. Instead, just add it to the tail end of ums_init(). Cc: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Stephen Warren swar...@nvidia.com Acked-by: Przemyslaw

[U-Boot] [PATCH V2 6/8] ums: use get_device() not find_mmc_device();

2014-05-05 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com get_device() is a generic routine that will support any type of block device. Use this instead of the type-specific find_mmc_device(), for future flexibility. Cc: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Stephen Warren swar...@nvidia.com

[U-Boot] [PATCH V2 7/8] ums: move all variable declarations to the start of the block

2014-05-05 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com It's easier to assign values to the variables inside an if statement body if the assignment and declaration are separate. Cc: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Stephen Warren swar...@nvidia.com Acked-by: Przemyslaw Marczak

[U-Boot] [PATCH V2 8/8] ums: allow the user to specify the device type

2014-05-05 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Allow an optional devtype parameter to the ums command, which specifies the type of the device to be exported. This could allow exporting a SATA or even another USB device. Cc: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Stephen Warren

[U-Boot] Pull request for u-boot-arm - u-boot?

2014-05-05 Thread Stephen Warren
Albert, I was wondering when the next pull request for u-boot-arm/master - u-boot/master was likely to be? I asked because some changes to the Tegra USB driver went through the u-boot-tegra/master and hence are now in u-boot-arm/master, but not in u-boot-usb/master. I have some more USB driver

  1   2   >