Re: [U-Boot] [PATCH] usb: ums: add error handling for failed registration

2014-05-06 Thread Lukasz Majewski
Hi Marek, On Thursday, May 01, 2014 at 11:42:10 PM, Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Without this, if g_dnl_register() fails, the UMS code continues on blindly and crashes. This fix makes it simply print an error message instead. Signed-off-by:

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

2014-05-06 Thread Lukasz Majewski
Hi Marek, On Monday, May 05, 2014 at 06:40:11 PM, Stephen Warren wrote: 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

Re: [U-Boot] [PATCH v4 1/3] usb:gadget:f_thor: code cleanup in function download_tail()

2014-05-06 Thread Przemyslaw Marczak
Hello Heiko, On 04/28/2014 06:57 PM, Przemyslaw Marczak wrote: In thor's download_tail() function, dfu_get_entity() is called before each dfu_write() call and the returned entity pointers are the same. So dfu_get_entity() can be called just once and this patch changes this. Signed-off-by:

Re: [U-Boot] Verified boot and Legacy Kernel Images

2014-05-06 Thread Heiko Schocher
Hello Mike, Am 05.05.2014 16:27, schrieb Mike Pearce: Please help as I am confused. I implemented verified boot on 2014.04 using CONFIG_OF_SEPARATE and it works fine with FIT images. However it still boots the resident legacy kernal that has not been signed. This means that anyone wishing to

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

2014-05-06 Thread Tapani Utriainen
On Mon, 5 May 2014 08:46:24 -0700 Tim Harvey thar...@gateworks.com wrote: +cc Edward Lin On Mon, May 5, 2014 at 2:14 AM, Stefano Babic sba...@denx.de wrote: Hi Tim, ... --- /dev/null +++ b/arch/arm/imx-common/spl.c @@ -0,0 +1,79 @@ +/* + * Copyright (C) 2014 Gateworks

[U-Boot] [PATCH v2 2/2] fs:ext4:write:fix: Reinitialize global variables after updating a file

2014-05-06 Thread Lukasz Majewski
This bug shows up when file stored on the ext4 file system is updated. The ext4fs_delete_file() is responsible for deleting file's (e.g. uImage) data. However some global data (especially ext4fs_indir2_block), which is used during file deletion are left unchanged. The ext4fs_indir2_block pointer

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

2014-05-06 Thread Lukasz Majewski
Code responsible for handling situation when ext4 has block size of 1024B can be ordered to take less space. This patch does that for ext4 common and write files. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- Changes for v2: - Remove () parenthesis around pointers ---

[U-Boot] [PATCH v2 0/2] fs:ext4: Fixes and code cleanup

2014-05-06 Thread Lukasz Majewski
This code fixes problem with storing file with the same name multiple times on the same ext4 fs (with different sizes). Code reorganization and cleanup is also included. Lukasz Majewski (2): fs:ext4:cleanup: Remove superfluous code fs:ext4:write:fix: Reinitialize global variables after

Re: [U-Boot] [PATCH v2] Exynos5: config: Enable FIT

2014-05-06 Thread Minkyu Kang
Dear Akshay Saraswat, On 28/04/14 22:57, Akshay Saraswat wrote: Adding two configs: * CONFIG_FIT - Enable FIT image support. * CONFIG_FIT_BEST_MATCH - Enable fetching correct DTB from FIT image by comparing compatibles. Change in V2: - Added Acked-by. change

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

2014-05-06 Thread Stefano Babic
Hi Tim, On 06/05/2014 08:36, Tapani Utriainen wrote: Tim, Stefano, that piece of code indeed originates from Freescale's 2009.08 u-boot. (Edward has changed jobs, so the CC:d address is of no use.) I supposed this. Tim, please add Freescale's Copyright, too. Thanks, Stefano Babic --

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

2014-05-06 Thread Stefano Babic
Hi Fabio, On 05/05/2014 18:08, Fabio Estevam wrote: 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

Re: [U-Boot] [PATCH 1/2] mkimage : Split out and clean pbl_crc32 for use by other image types

2014-05-06 Thread Stefano Babic
Hi Charles, On 06/05/2014 00:46, Charles Manning wrote: The crc32 used by pblimgae is NOT the same as zlib crc32. The pbl_crc32 is useful for other purposes in mkimage so split it out. While we are about it, clean up redundant and confusing code. Signed-off-by: Charles Manning

Re: [U-Boot] [PATCH 2/2] mkimage: Refactor mxsimage to use common crc32 code

2014-05-06 Thread Stefano Babic
Hi Charles, On 06/05/2014 00:46, Charles Manning wrote: mxsimage uses the same crc32 function as pblimage. Signed-off-by: Charles Manning cdhmann...@gmail.com --- tools/mxsimage.c | 28 +++- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git

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

2014-05-06 Thread Christian Riesch
Tom, Thank you very much for your investigations :-) --On April 26, 2014 13:34 -0400 Tom Taylor ttaylor.ta...@gmail.com 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

Re: [U-Boot] [PATCH] dwc_ahsata: return failure for MX6 if not IMX6Q

2014-05-06 Thread Stefano Babic
Hi Tim, On 06/05/2014 07:22, Tim Harvey wrote: The IMX6QUAD/DUAL have SATA, but the IMX6SOLO/DL do not. Return an error indicating no such port instead of attempting a memory access that results in a data abort and reset. This dynamic detection is necessary for bootloaders that support

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

2014-05-06 Thread Przemyslaw Marczak
Hi, On 05/06/2014 08:21 AM, Lukasz Majewski wrote: Hi Marek, On Monday, May 05, 2014 at 06:40:11 PM, Stephen Warren wrote: 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

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

2014-05-06 Thread Przemyslaw Marczak
On 05/05/2014 03:35 PM, Gerhard Sittig wrote: 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

[U-Boot] [PATCH 1/2] mtd: nand: am335x_spl_bch.c: Fix problem with NAND_CMD_RNDOUT

2014-05-06 Thread Stefan Roese
From: Marek Belisko marek.beli...@gmail.com On some NAND devices (e.g. Hynix H27U2G8F2CTR-BI on Siemens DXR2 / Draco boards) the SPL issues the following bit-flip error messages: nand: bit-flip corrected @oob=0 ... This patch makes sure that only the required address cycles are sent to the NAND

[U-Boot] [PATCH 2/2] mtd: nand: nand_base.c: Fix address cycle problem with NAND_CMD_RNDOUT

2014-05-06 Thread Stefan Roese
From: Pekon Gupta pe...@ti.com On some NAND devices (e.g. Hynix H27U2G8F2CTR-BI on Siemens DXR2 / Draco boards) the SPL issues the following bit-flip error messages: nand: bit-flip corrected @oob=0 ... This patch makes sure that only the required address cycles are sent to the NAND chip. The

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

2014-05-06 Thread Przemyslaw Marczak
Hello Minkyu, On 05/05/2014 03:27 PM, Minkyu Kang wrote: Dear Przemyslaw Marczak, On 30 April 2014 20:28, Przemyslaw Marczak p.marc...@samsung.com mailto:p.marc...@samsung.com wrote: This change removes LCD menu download mode info screen. Now key press timeout is checked in function

Re: [U-Boot] [PATCH 1/2] mtd: nand: am335x_spl_bch.c: Fix problem with NAND_CMD_RNDOUT

2014-05-06 Thread Gupta, Pekon
From: Stefan Roese [mailto:s...@denx.de] From: Marek Belisko marek.beli...@gmail.com On some NAND devices (e.g. Hynix H27U2G8F2CTR-BI on Siemens DXR2 / Draco boards) the SPL issues the following bit-flip error messages: nand: bit-flip corrected @oob=0 ... This patch makes sure that only the

[U-Boot] [PATCH v2] mtd: nand: Fix address cycle problem with NAND_CMD_RNDOUT

2014-05-06 Thread Stefan Roese
From: Marek Belisko marek.beli...@gmail.com From: Marek Belisko marek.beli...@gmail.com On some NAND devices (e.g. Hynix H27U2G8F2CTR-BI on Siemens DXR2 / Draco boards) the NAND subsystem (SPL U-Boot drivers) issues the following bit-flip error messages: nand: bit-flip corrected @oob=0 ...

[U-Boot] Loading uImage into RAM

2014-05-06 Thread Abdullah YILDIZ
I'm trying to understand how u-boot loads zImage into RAM. mkimage is called as mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008040 -d arch/arm/boot/zImage /bootImage/uImage Here, 'a' stands for load address and 'e' stands for entry point (64 bytes are used for wrapping?).

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

2014-05-06 Thread Lukasz Majewski
Hi Stephen, 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

Re: [U-Boot] [PATCH v2] mtd: nand: Fix address cycle problem with NAND_CMD_RNDOUT

2014-05-06 Thread Gupta, Pekon
+ Bacem Daasi bacem.daa...@spansion.com who was first to identify and root-cause the issue. So giving some credit to him.. From: Stefan Roese [mailto:s...@denx.de] From: Marek Belisko marek.beli...@gmail.com On some NAND devices (e.g. Hynix H27U2G8F2CTR-BI on Siemens DXR2 / Draco boards) the

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

2014-05-06 Thread Lukasz Majewski
Hi Marek, The following changes since commit af41d6b4cb1602abebaaa9c8774a9b0ece564796: common: fixed linker-list example (2014-05-05 10:24:13 +0200) are available in the git repository at: ssh://gu-...@git.denx.de/u-boot-dfu master for you to fetch changes up to

Re: [U-Boot] Loading uImage into RAM

2014-05-06 Thread Belisko Marek
Hi Abdullah, On Tue, May 6, 2014 at 10:55 AM, Abdullah YILDIZ abdullah.ma...@gmail.com wrote: I'm trying to understand how u-boot loads zImage into RAM. mkimage is called as mkimage -A arm -O linux -T kernel -C none -a 0x80008000 -e 0x80008040 -d arch/arm/boot/zImage /bootImage/uImage

Re: [U-Boot] Loading uImage into RAM

2014-05-06 Thread Abdullah YILDIZ
Hi Belisko, On Tue, May 6, 2014 at 12:34 PM, Belisko Marek marek.beli...@gmail.com wrote: Hi Abdullah, On Tue, May 6, 2014 at 10:55 AM, Abdullah YILDIZ abdullah.ma...@gmail.com wrote: I'm trying to understand how u-boot loads zImage into RAM. mkimage is called as mkimage -A arm -O linux

Re: [U-Boot] Loading uImage into RAM

2014-05-06 Thread Belisko Marek
Hi Abdullah, On Tue, May 6, 2014 at 11:54 AM, Abdullah YILDIZ abdullah.ma...@gmail.com wrote: Hi Belisko, On Tue, May 6, 2014 at 12:34 PM, Belisko Marek marek.beli...@gmail.com wrote: Hi Abdullah, On Tue, May 6, 2014 at 10:55 AM, Abdullah YILDIZ abdullah.ma...@gmail.com wrote: I'm

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

2014-05-06 Thread Christian Riesch
Tom, Thank you very much for your investigations :-) --On April 26, 2014 13:34 -0400 Tom Taylor ttaylor.ta...@gmail.com 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

Re: [U-Boot] [PATCH] sf: params: Added support for Spansion S25FL512S_512K

2014-05-06 Thread Michal Simek
Hi Jagan, On 04/25/2014 03:47 PM, Michal Simek wrote: From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Added support for Spansion chip S25FL512S_512K. Signed-off-by: Siva Durga Prasad Paladugu siva...@xilinx.com Signed-off-by: Michal Simek michal.si...@xilinx.com ---

[U-Boot] [GIT PULL] Network zynq gem changes

2014-05-06 Thread Michal Simek
Hi Ben and Tom, please pull these two patches to network tree or to mainline tree. Both changes are easy one. Thanks, Michal The following changes since commit 52fded7b94d98c73a824e4a9d90596a33a1cbb8a: Merge branch 'next' of git://git.denx.de/u-boot-sh (2014-05-02 11:48:07 -0400) are

[U-Boot] [GIT PULL] Microblaze changes

2014-05-06 Thread Michal Simek
Hi Tom, please pull this one microblaze patch which I have in my queue. Thanks, Michal The following changes since commit 52fded7b94d98c73a824e4a9d90596a33a1cbb8a: Merge branch 'next' of git://git.denx.de/u-boot-sh (2014-05-02 11:48:07 -0400) are available in the git repository at:

Re: [U-Boot] [PATCH] i2c: zynq: Fixed compilation errors when using DEBUG

2014-05-06 Thread Heiko Schocher
Hello Michael, Am 06.05.2014 13:39, schrieb Michal Simek: Hi Heiko, On 04/25/2014 03:46 PM, Michal Simek wrote: From: Jesper B. Christensenjesper.christen...@cobham.com Signed-off-by: Jesper B. Christensenjesper.christen...@cobham.com Signed-off-by: Michal Simekmichal.si...@xilinx.com ---

Re: [U-Boot] [PATCH] i2c: zynq: Fixed compilation errors when using DEBUG

2014-05-06 Thread Michal Simek
Hi Heiko, On 04/25/2014 03:46 PM, Michal Simek wrote: From: Jesper B. Christensen jesper.christen...@cobham.com Signed-off-by: Jesper B. Christensen jesper.christen...@cobham.com Signed-off-by: Michal Simek michal.si...@xilinx.com --- drivers/i2c/zynq_i2c.c | 4 ++-- 1 file changed, 2

[U-Boot] [GIT PULL] Serial changes for zynq.

2014-05-06 Thread Michal Simek
Hi Tom, [cc: Albert] please pull these two serial patches to your tree. If this should go through Albert's tree please let me know. Thanks, Michal The following changes since commit 52fded7b94d98c73a824e4a9d90596a33a1cbb8a: Merge branch 'next' of git://git.denx.de/u-boot-sh (2014-05-02

Re: [U-Boot] [PATCH] env_eeprom: Assign default environment during board_init_f

2014-05-06 Thread Michal Simek
Hi Tom, On 04/25/2014 03:49 PM, Michal Simek wrote: From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Assign default environment and set env valid during board_init_f before relocation as the actual environment will be read from eeprom later. Signed-off-by: Siva Durga

Re: [U-Boot] [PATCH] fat: Define MAX_CLUSTSIZE only if not defined in config

2014-05-06 Thread Michal Simek
Hi Tom, On 04/25/2014 03:48 PM, Michal Simek wrote: From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Define MAX_CLUSTSIZE only if not defined in board specific config file as this size can be decreased to save memory in some memory constrained cases. Signed-off-by: Siva

[U-Boot] [GIT PULL] fpga changes

2014-05-06 Thread Michal Simek
Hi Tom, [cc: Albert] please pull these fpga changes to your tree. On Friday I have sent the next set of fpga changes which we have in our tree but I want to give more time to review them. And also I have based Xilinx ARM Zynq changes based on these patches that's why I would like to add these

Re: [U-Boot] [PATCH] kbuild: Fix trailing whitespaces

2014-05-06 Thread Michal Simek
Hi Tom, On 04/24/2014 03:24 PM, Michal Simek wrote: Trivial fix. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0191869..3e324f9 100644 --- a/Makefile +++

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

2014-05-06 Thread Fabio Estevam
On Tue, May 6, 2014 at 5:07 AM, Stefano Babic sba...@denx.de wrote: Checkin in arch/arm/lib/board.c, I see that power_init_board() is called quite early (that makes sense, as power can be necessary to go on). Can you try moving power_init_board() later ? Anyway, I2C is already set (by

Re: [U-Boot] xil_printf in ps7_init.c for u-boot-spl (zynq)

2014-05-06 Thread Michal Simek
Hi, On 05/03/2014 11:01 AM, Heshsham Abdul Basit wrote: Hi, To build u-boot-spl I had to put ps7_init.c and ps7_init.h in /board/xilinx/zynq. Then when I compile I get boot.bin in the TOPDIR. The functions defined in ps7_init.* are called in spl.c. For debug purpose I wanted put some

Re: [U-Boot] Loading uImage into RAM

2014-05-06 Thread Wolfgang Denk
Dear Belisko Marek, In message CAAfyv34gspt4whV-sa=mo0fFunZfX8FA6+=e7jrdpz59hyg...@mail.gmail.com you wrote: Hi Abdullah, On Tue, May 6, 2014 at 11:54 AM, Abdullah YILDIZ abdullah.ma...@gmail.com wrote: Hi Belisko, On Tue, May 6, 2014 at 12:34 PM, Belisko Marek marek.beli...@gmail.com

[U-Boot] [PATCH v3] Exynos5: config: Enable FIT

2014-05-06 Thread Akshay Saraswat
Adding two configs: * CONFIG_FIT - Enable FIT image support. * CONFIG_FIT_BEST_MATCH - Enable fetching correct DTB from FIT image by comparing compatibles. Signed-off-by: Akshay Saraswat aksha...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in V3:

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

2014-05-06 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 Acked-by: Przemyslaw

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

2014-05-06 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,

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

2014-05-06 Thread Heiko Schocher
Hello Christian, Am 06.05.2014 13:30, schrieb Christian Riesch: Tom, Thank you very much for your investigations :-) --On April 26, 2014 13:34 -0400 Tom Taylor ttaylor.ta...@gmail.com wrote: I'm a U-Boot newbie so please feel free to correct how I'm reporting this issue.. I recently

Re: [U-Boot] [PATCH] sf: params: Added support for Spansion S25FL512S_512K

2014-05-06 Thread Jagan Teki
On leave - Will take it on Monday. On Tue, May 6, 2014 at 5:10 PM, Michal Simek mon...@monstr.eu wrote: Hi Jagan, On 04/25/2014 03:47 PM, Michal Simek wrote: From: Siva Durga Prasad Paladugu siva.durga.palad...@xilinx.com Added support for Spansion chip S25FL512S_512K. Signed-off-by: Siva

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

2014-05-06 Thread Tim Harvey
On Tue, May 6, 2014 at 12:55 AM, Stefano Babic sba...@denx.de wrote: Hi Tim, On 06/05/2014 08:36, Tapani Utriainen wrote: Tim, Stefano, that piece of code indeed originates from Freescale's 2009.08 u-boot. (Edward has changed jobs, so the CC:d address is of no use.) I supposed this.

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

2014-05-06 Thread Tom Taylor
Hello Heiko, On 5/6/2014 10:46 AM, Heiko Schocher wrote: Hello Christian, Am 06.05.2014 13:30, schrieb Christian Riesch: Tom, Thank you very much for your investigations :-) --On April 26, 2014 13:34 -0400 Tom Taylor ttaylor.ta...@gmail.com wrote: I'm a U-Boot newbie so please feel free

[U-Boot] [PATCH] ARM: tegra: Venice2 pinmux spreadsheet updates

2014-05-06 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com The Venice2 pinmux spreadsheet was updated to fix a few issues. Import those changes into the U-Boot pinmux initialization tables. Signed-off-by: Stephen Warren swar...@nvidia.com --- board/nvidia/venice2/pinmux-config-venice2.h | 14 +- 1

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

2014-05-06 Thread Stephen Warren
On 05/05/2014 05:00 PM, Simon Glass wrote: Hi Stephen, On 5 May 2014 16:07, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: On 05/05/2014 03:30 PM, Simon Glass wrote: ... I think you have it backwards...the current implementation has a single

Re: [U-Boot] [PATCH 4/4] cm-t54: add cm-t54 board support

2014-05-06 Thread Tom Rini
On Sun, Apr 27, 2014 at 01:17:28PM +0300, Dmitry Lifshitz wrote: Add cm-t54 board directory, config file. Enable build. [snip] diff --git a/board/compulab/cm_t54/Makefile b/board/compulab/cm_t54/Makefile new file mode 100644 index 000..bd8bc51 --- /dev/null +++

Re: [U-Boot] [PATCH] am335x: pepper: Add Gumstix Pepper AM335x-based machine

2014-05-06 Thread Tom Rini
On Tue, Apr 29, 2014 at 11:05:35AM -0700, Ash Charles wrote: This adds the Gumstix Pepper[1] single-board computer based on the TI AM335x processor. Schematics are available [2]. [1] https://store.gumstix.com/index.php/products/344/ [2] https://pubs.gumstix.com/boards/PEPPER/ [snip] +/*

Re: [U-Boot] [PATCH] omap4: duovero: Add Gumstix DuoVero machine.

2014-05-06 Thread Tom Rini
On Tue, Apr 29, 2014 at 02:31:33PM -0700, Ash Charles wrote: This adds the Gumstix DuoVero machine [1]. This is a OMAP4430-based computer-on-module (COM aka SOM) that can be mounted on various expansion boards with different peripherals. [snip] + gd-bd-bi_arch_number =

Re: [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree

2014-05-06 Thread Tom Rini
On Tue, Apr 29, 2014 at 04:15:28PM -0700, Ash Charles wrote: Update the board configuration for Gumstix Overo. In particular, add support for zImage and DTB files on boot. Signed-off-by: Ash Charles ashchar...@gmail.com [snip] #define CONFIG_EXTRA_ENV_SETTINGS \

Re: [U-Boot] [PATCH 12/12] imx: ventana: switch to SPL

2014-05-06 Thread Tim Harvey
On Mon, Apr 28, 2014 at 1:17 PM, Tim Harvey thar...@gateworks.com wrote: Switch to an SPL image. The SPL for Ventana does the following: - setup i2c and read the factory programmed EEPROM to obtain DRAM config and model for board-specific calibration data - configure DRAM per

Re: [U-Boot] [RFC] Kconfig: MAINTAINERS file or not?

2014-05-06 Thread Tom Rini
On Mon, Apr 28, 2014 at 06:58:55PM +0900, Masahiro Yamada wrote: Hi. Before I send Kconfig series v2, please let me cofirm our approach of maintainers info. When I posted the RFC series in March, I put maintainers info and board status into defconfig of each board. But this idea was

Re: [U-Boot] [RFC] Kconfig: MAINTAINERS file or not?

2014-05-06 Thread Stephen Warren
On 05/06/2014 12:33 PM, Tom Rini wrote: ... An issue with a single top-level MAINTAINERS file is that we'll get conflicts galore. What a MAINTAINERS file would give us is get_maintainers.pl from the kernel which can be helpful. The conflicts we'll get are likely to be quite trivial to resolve

Re: [U-Boot] [PATCH 12/12] imx: ventana: switch to SPL

2014-05-06 Thread York Sun
On 05/06/2014 11:18 AM, Tim Harvey wrote: On Mon, Apr 28, 2014 at 1:17 PM, Tim Harvey thar...@gateworks.com wrote: Switch to an SPL image. The SPL for Ventana does the following: - setup i2c and read the factory programmed EEPROM to obtain DRAM config and model for board-specific

[U-Boot] [PATCH] arm, davinci: Use CONFIG_SPL_PAD_TO for padding the SPL in an ais image

2014-05-06 Thread Christian Riesch
The commits commit b7b5f1a16ca66dfdd817e7339f0e263a5b9f2758 Author: Albert ARIBAUD albert.u.b...@aribaud.net da850evm, da850_am18xxevm: convert to CONFIG_SPL_MAX_FOOTPRINT and commit e7497891e34efe5cb2b3a3dc7c6c096c012ede28 Author: Albert ARIBAUD albert.u.b...@aribaud.net cam_enc_4xx: convert

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

2014-05-06 Thread Christian Riesch
Hello Heiko, --On May 06, 2014 16:46 +0200 Heiko Schocher h...@denx.de wrote: Hello Christian, Am 06.05.2014 13:30, schrieb Christian Riesch: Tom, Thank you very much for your investigations :-) --On April 26, 2014 13:34 -0400 Tom Taylor ttaylor.ta...@gmail.com wrote: I'm a U-Boot newbie

Re: [U-Boot] [PATCH 12/12] imx: ventana: switch to SPL

2014-05-06 Thread Jeroen Hofstee
Hello Tim, On di, 2014-05-06 at 11:18 -0700, Tim Harvey wrote: On Mon, Apr 28, 2014 at 1:17 PM, Tim Harvey thar...@gateworks.com wrote: void board_init_f(ulong dummy) { struct ventana_board_info ventana_info; int board_model; /* Set global data pointer. */

Re: [U-Boot] [PATCH] dwc_ahsata: return failure for MX6 if not IMX6Q

2014-05-06 Thread Troy Kisky
On 5/5/2014 10:22 PM, Tim Harvey wrote: The IMX6QUAD/DUAL have SATA, but the IMX6SOLO/DL do not. Return an error indicating no such port instead of attempting a memory access that results in a data abort and reset. This dynamic detection is necessary for bootloaders that support multiple

Re: [U-Boot] [RFC] Kconfig: MAINTAINERS file or not?

2014-05-06 Thread Wolfgang Denk
Dear Tom, In message 20140506183303.GY22182@bill-the-cat you wrote: Perhaps a compromise here is to throw lots of MAINTAINERS files around and whack get_maintainers.pl to loop over all 'MAINTAINERS' files rather than the single top level one? That way we can get human understandable

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

2014-05-06 Thread Simon Glass
HI Stephen, On 6 May 2014 11:34, Stephen Warren swar...@wwwdotorg.org wrote: On 05/05/2014 05:00 PM, Simon Glass wrote: Hi Stephen, On 5 May 2014 16:07, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: On 05/05/2014 03:30 PM, Simon Glass wrote: ...

Re: [U-Boot] Problem building am335x_evm config

2014-05-06 Thread Jonathan Cormier
Try: make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- am335x_evm_defconfig make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- it works for me (please update your CROSS_COMPILE) Vasili, There was a change in 2014.04. After you run the *_defconfig you don't have to (Shouldn't) add

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

2014-05-06 Thread Stephen Warren
On 05/06/2014 02:28 PM, Simon Glass wrote: ... The GPIO uclass does sequentially number GPIOs, but be aware that on platforms with multiple GPIO controllers (e.g. an I2C GPIO extender) you might hit a problem where the tegra GPIOs are not first, so might start at 8 or 16, for example. However

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

2014-05-06 Thread Simon Glass
Hi Stephen, On 6 May 2014 14:37, Stephen Warren swar...@wwwdotorg.org wrote: On 05/06/2014 02:28 PM, Simon Glass wrote: ... The GPIO uclass does sequentially number GPIOs, but be aware that on platforms with multiple GPIO controllers (e.g. an I2C GPIO extender) you might hit a problem

Re: [U-Boot] [GIT PULL] fpga changes

2014-05-06 Thread Tom Rini
On Tue, May 06, 2014 at 02:28:15PM +0200, Michal Simek wrote: Hi Tom, [cc: Albert] please pull these fpga changes to your tree. On Friday I have sent the next set of fpga changes which we have in our tree but I want to give more time to review them. And also I have based Xilinx ARM Zynq

Re: [U-Boot] [GIT PULL] Microblaze changes

2014-05-06 Thread Tom Rini
On Tue, May 06, 2014 at 01:35:45PM +0200, Michal Simek wrote: Hi Tom, please pull this one microblaze patch which I have in my queue. Thanks, Michal The following changes since commit 52fded7b94d98c73a824e4a9d90596a33a1cbb8a: Merge branch 'next' of git://git.denx.de/u-boot-sh

Re: [U-Boot] [GIT PULL] Network zynq gem changes

2014-05-06 Thread Tom Rini
On Tue, May 06, 2014 at 01:44:11PM +0200, Michal Simek wrote: Hi Ben and Tom, please pull these two patches to network tree or to mainline tree. Both changes are easy one. Thanks, Michal The following changes since commit 52fded7b94d98c73a824e4a9d90596a33a1cbb8a: Merge branch

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

2014-05-06 Thread Tom Rini
On Mon, May 05, 2014 at 11:51:24AM +0200, Marek Vasut wrote: 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:

Re: [U-Boot] [GIT PULL] Serial changes for zynq.

2014-05-06 Thread Tom Rini
On Tue, May 06, 2014 at 02:18:40PM +0200, Michal Simek wrote: Hi Tom, [cc: Albert] please pull these two serial patches to your tree. If this should go through Albert's tree please let me know. Thanks, Michal The following changes since commit 52fded7b94d98c73a824e4a9d90596a33a1cbb8a:

Re: [U-Boot] [PATCH] am335x: pepper: Add Gumstix Pepper AM335x-based machine

2014-05-06 Thread Ash Charles
On Tue, May 6, 2014 at 11:02 AM, Tom Rini tr...@ti.com wrote: Shouldn't need this, you don't support any non-DT kernels do you, really? Embarrassingly, the default kernel is non-devicetree. Future updates to the BSP will use devicetree instead but some customers may still wish to use a

Re: [U-Boot] [PATCH] am335x: pepper: Add Gumstix Pepper AM335x-based machine

2014-05-06 Thread Tom Rini
On Tue, May 06, 2014 at 03:34:50PM -0700, Ash Charles wrote: On Tue, May 6, 2014 at 11:02 AM, Tom Rini tr...@ti.com wrote: Shouldn't need this, you don't support any non-DT kernels do you, really? Embarrassingly, the default kernel is non-devicetree. Future updates to the BSP will use

Re: [U-Boot] [PATCH 12/12] imx: ventana: switch to SPL

2014-05-06 Thread Tim Harvey
On Tue, May 6, 2014 at 12:11 PM, Jeroen Hofstee dasub...@myspectrum.nl wrote: Hello Tim, On di, 2014-05-06 at 11:18 -0700, Tim Harvey wrote: On Mon, Apr 28, 2014 at 1:17 PM, Tim Harvey thar...@gateworks.com wrote: void board_init_f(ulong dummy) { struct ventana_board_info

Re: [U-Boot] [PATCH 8/8] [omap3][overo] Allow overo to boot with device tree

2014-05-06 Thread Ash Charles
On Tue, May 6, 2014 at 11:14 AM, Tom Rini tr...@ti.com wrote: Please see DEFAULT_LINUX_BOOT_ENV and the related discussions. If you have less than 128MB DDR we can sort something out, but if you have 256MB it's really advised to use 0x8800 for the DT (see Documentation/arm/Booting in the

Re: [U-Boot] [PATCH] Trivial fix to .gitignore for spl/Makefile

2014-05-06 Thread Masahiro Yamada
Hi Ralph, On Thu, 1 May 2014 14:18:41 -0400 Ralph Siemsen ral...@netwinder.org wrote: Trivial fix to .gitignore for spl/Makefile According to the gitignore man page: An optional prefix ! which negates the pattern; any matching file excluded by a previous pattern will become included

[U-Boot] [PATCH v3] powerpc/85xx: add T4080 SoC support

2014-05-06 Thread Shengzhou Liu
T4080 SoC is a low-power version of T4160 SoC. T4080 combines 4 dual-threaded Power Architecture e6500 cores with single cluster and two memory complexes. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- v3: refine comments. v2: add more comments. arch/powerpc/cpu/mpc85xx/Makefile

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

2014-05-06 Thread Masahiro Yamada
Hi Simon, Stephen, On Mon, 05 May 2014 10:54:52 -0600 Stephen Warren swar...@wwwdotorg.org wrote: On 05/05/2014 10:09 AM, Simon Glass wrote: Linux supports this, and if we are to have compatible device tree files, U-Boot should also. diff --git a/scripts/Makefile.lib

[U-Boot] [PATCH] powerpc/t104xrdb: Toggle deep sleep management signals after resume

2014-05-06 Thread Tang Yuantian
From: Tang Yuantian yuantian.t...@freescale.com T104xrdb has several sleep management signals that are used for deep sleep. They are enabled by OS to enter deep sleep and should be disabled by u-boot when cores wake up. Signed-off-by: Tang Yuantian yuantian.t...@freescale.com ---

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

2014-05-06 Thread Chunhe Lan
By default, all PEX inbound windows PEX_PEXIWARn[TRGT] are mapped to 0xF, which is local memory. But for BSC9132, 0xF is CCSR, 0x0 is local memory. Signed-off-by: Minghuan Lian minghuan.l...@freescale.com Signed-off-by: Chunhe Lan chunhe@freescale.com ---

[U-Boot] [PATCH] powerpc/85xx: Add T4160RDB board support

2014-05-06 Thread Chunhe Lan
T4160RDB shares the same platform as T4240RDB. T4160 is a low power version of T4240, with the eight e6500 cores, two DDR3 controllers, and same peripheral bus interfaces. Signed-off-by: Chunhe Lan chunhe@freescale.com --- boards.cfg |1 + include/configs/T4240RDB.h |

Re: [U-Boot] [PATCHv3 00/13] mmc: exynos: code cleanup and support DDR mode

2014-05-06 Thread Jaehoon Chung
Hi, All. If didn't have any other comment, could you apply this patch? I want to merge this patch at mainline. Best Regards, Jaehoon Chung On 04/29/2014 01:06 PM, Jaehoon Chung wrote: Dear, All. Did you have any comment? Best Regards, Jaehoon Chung On 04/11/2014 02:55 PM, Jaehoon

Re: [U-Boot] [PATCH v7] nand/denali: Adding Denali NAND driver support

2014-05-06 Thread Masahiro Yamada
Hi Chin, Could you send v8? Best Regards Masahiro Yamada ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] dwc_ahsata: return failure for MX6 if not IMX6Q

2014-05-06 Thread Tim Harvey
On Tue, May 6, 2014 at 12:55 PM, Troy Kisky troy.ki...@boundarydevices.com wrote: On 5/5/2014 10:22 PM, Tim Harvey wrote: The IMX6QUAD/DUAL have SATA, but the IMX6SOLO/DL do not. Return an error indicating no such port instead of attempting a memory access that results in a data abort and

Re: [U-Boot] [PATCH v2 0/9] Refactoring and Endian bug fixes of fdt_support

2014-05-06 Thread Masahiro Yamada
Hi Jerry Van Baren, Tom This is the third time I request the review of my series. This series was delegated to Jerry Van Baren and nothing's happened for almost 3 months. Is he too busy? Or not an active developer any more? Tom, could you review (and if it looks good, apply this series

Re: [U-Boot] [PATCHv3 00/13] mmc: exynos: code cleanup and support DDR mode

2014-05-06 Thread Minkyu Kang
Dear Pantelis Antoniou, On 07/05/14 12:40, Jaehoon Chung wrote: Hi, All. If didn't have any other comment, could you apply this patch? I want to merge this patch at mainline. Best Regards, Jaehoon Chung If you are OK then, I want to pick up this patchset to samsung tree. This patchset

Re: [U-Boot] [Question] Linux Boot with u-boot 2014.04 on Zynq board

2014-05-06 Thread Masahiro Yamada
Hi Michal, Sorry for late reply. (I'm back from my vacations.) Before you build u-boot you have to copy ps7_init.c/h from your hw design to the u-boot if you want to use SPL. Oops, I forgot to mention this. I did that. ok. Then I expect you are able to see at least u-boot SPL

Re: [U-Boot] Latest u-boot release on BeagleBone Black for FreeBSD

2014-05-06 Thread Xuebing Wang
On 05/04/2014 07:33 PM, Jeroen Hofstee wrote: Hello Xuebing, (freebsd-arm added on cc), On di, 2014-04-08 at 16:52 +0800, Xuebing Wang wrote: Hi u-boot community, I am trying to port u-boot (release u-boot-2014.04-rc3.tar.bz2) to FreeBSD on BeagleBone Black. In FreeBSD, there is a u-boot

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

2014-05-06 Thread Piotr Wilczek
On 05/06/2014 04:36 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 all of them.