Re: [U-Boot] [PATCH 1/2] mmc: dw_mmc: Increase timeout to 20 seconds

2015-09-13 Thread Lukasz Majewski
Hi Marek, > On Friday, September 11, 2015 at 11:45:28 PM, Lukasz Majewski wrote: > > Hi Alexey, > > Hi, > > > > Hi Marek, Lukasz, > > > > > > > On Wednesday, September 09, 2015 at 09:01:30 AM, Lukasz Majewski > > > > > > > > wrote: > > > > > Hi, > > > > > > > > > > > The commit:

Re: [U-Boot] [RFC PATCH 2/2] sunxi: add "fel" boot target

2015-09-13 Thread Ian Campbell
On Sat, 2015-09-12 at 14:48 +0200, Hans de Goede wrote: > I believe that the user having to have mkimage available (the calling > of it can be scripted away) is not a big deal. The fel tool could even call it automatically, couldn't it? ___ U-Boot

Re: [U-Boot] [PATCH 1/2] mx6: remove SYS_SOC from board Kconfig

2015-09-13 Thread Stefano Babic
On 07/09/2015 08:59, Peng Fan wrote: > Remove duplicated SYS_SOC Kconfig entry from board Kconfig, > because we have this entry in arch/arm/cpu/armv7/mx6/Kconfig. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Heiko Schocher > Cc:

Re: [U-Boot] [PATCH 1/2] Revert "imx: mx6: ddr correct tRFC and tXS"

2015-09-13 Thread Stefano Babic
On 01/09/2015 05:03, Peng Fan wrote: > This reverts commit 059323fb6a8f21637bb617919715c2427f24777c. > > This commit 059323fb6a8f21637bb617919715c2427f24777c use JESD79-3E which > is not the newest spec. Should use JESD79-3F in which tRFC is 260ns for > 4Gb chip. > > Signed-off-by: Peng Fan

Re: [U-Boot] [PATCH 2/2] imx: mx6 discard 'select CPU_V7' for different targets

2015-09-13 Thread Stefano Babic
On 07/09/2015 08:59, Peng Fan wrote: > Discard the 'select CPU_V7' from Kconfig in arch/arm/cpu/armv7/mx6 > for different targets, because ARCH_MX6 selects CPU_V7. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > --- Applied to u-boot-imx, thanks !

Re: [U-Boot] [PATCH 1/4] thermal: imx_thermal: Do not print on error

2015-09-13 Thread Stefano Babic
On 08/09/2015 19:43, Fabio Estevam wrote: > It is not very useful to have the message below on every boot > (especially when we are using early silicon): > > U-Boot 2015.10-rc2-23945-g37cf215 (Sep 08 2015 - 14:12:14 -0300) > > CPU: Freescale i.MX6UL rev1.0 792 MHz (running at 396 MHz) > CPU:

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

2015-09-13 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! The following changes since commit 922f735ecf0de23eb0e01c208f5b422f39f6aed9: Merge git://git.denx.de/u-boot-usb (2015-09-12 15:50:02 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master for you to fetch

Re: [U-Boot] [PATCH 1/6] arm: Remove edb9315a board

2015-09-13 Thread sergey kostanbaev
Hi Simon, I posted a patch http://patchwork.ozlabs.org/patch/516053/ to move this board to generic but still haven't got any feedback. On Sat, Sep 12, 2015 at 8:50 PM, Simon Glass wrote: > This board has not been converted to generic board by the deadline. > Remove it. > >

Re: [U-Boot] [PATCH] malloc_simple: fix malloc_ptr calculation

2015-09-13 Thread Hans de Goede
Hi, On 08-09-15 12:41, Philipp Rosenberger wrote: The gd->malloc_ptr and the gd->malloc_limit are offsets to gd->malloc_base. But the addr variable contains the absolute address. The new_ptr must be: addr + bytes - gd->malloc_base. Signed-off-by: Philipp Rosenberger

Re: [U-Boot] [PATCH v2 05/13] imx: system counter driver for imx7d and mx6ul

2015-09-13 Thread Stefano Babic
On 02/09/2015 20:54, Adrian Alonso wrote: > Add system counter driver for imx7d and mx6ul > imx7 and imx6ul supports system counter timer as well as > GPT timer (arch/arm/imx-common/timer.c); The default for > imx7 is systemcounter timer. > > Signed-off-by: Ye.Li >

Re: [U-Boot] [PATCH v2 06/13] imx: imx7d: initial arch level support

2015-09-13 Thread Stefano Babic
On 02/09/2015 20:54, Adrian Alonso wrote: > * Add system arch level header files > - imx-regs.h: iMX7D SoC system architecture registers > - crm_regs.h: Clock control module registers > - sys_proto.h: helper callback function for SoC setup > > Signed-off-by: Adrian Alonso

Re: [U-Boot] [PATCH v2 04/13] arm: imx: imx-common: init: move arch init common setup

2015-09-13 Thread Stefano Babic
On 02/09/2015 20:54, Adrian Alonso wrote: > Move common imx6 arch init setup, init.c can be extended > and reused to support imx7 SoC keeping init arch common > code. > > Signed-off-by: Adrian Alonso > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic

Re: [U-Boot] [PATCH v2 02/13] thermal: imx_thermal: rework driver to be reused

2015-09-13 Thread Stefano Babic
On 02/09/2015 20:54, Adrian Alonso wrote: > Rework imx_thermal driver to be used across i.MX > processor that support thermal sensor > > Signed-off-by: Adrian Alonso > Signed-off-by: Peng Fan > --- Applied to u-boot-imx, thanks ! Best regards,

Re: [U-Boot] [PATCH v2 03/13] arm: imx: common rework cache settings for imx6

2015-09-13 Thread Stefano Babic
On 02/09/2015 20:54, Adrian Alonso wrote: > Rework cache settings for imx6, move cache configuration > to imx-common/cache.c so it can be reused for newer SoC > > Signed-off-by: Adrian Alonso > --- > Changes for V2: Resend > Changes for V3: Resend > >

Re: [U-Boot] [PATCH v3 13/13] imx: mx7dsabresd: Add support for MX7D SABRESD board

2015-09-13 Thread Stefano Babic
On 03/09/2015 18:49, Adrian Alonso wrote: > * Add i.MX7D SABRESD target board support with enabled modules: > UART, PMIC, USB/OTG, SD, eMMC, ENET, I2C, 74LV IOX. > > Build target: mx7dsabresd_config > > Signed-off-by: Peng Fan > Signed-off-by: Fugang Duan

Re: [U-Boot] [PATCH v2 12/13] imx: imx7d: add imx-common cpu support for imx7d

2015-09-13 Thread Stefano Babic
On 02/09/2015 20:54, Adrian Alonso wrote: > Add imx-common cpu support for imx7d SoC > - Update reset_cause for imx7d > - Enable watchdog driver built for imx7d > > Signed-off-by: Adrian Alonso > Signed-off-by: Peng Fan > --- Applied to

Re: [U-Boot] [PATCH V2] imx: mx6ul: support mx6ul 9x9 evk board

2015-09-13 Thread Stefano Babic
On 06/09/2015 09:02, Peng Fan wrote: > This patch is to support mx6ul_9x9_evk board based on mx6ul_14x14_evk, > the difference between mx6ul 9x9 evk and mx6ul 14x14 evk are: > 1. mx6ul 9x9 evk use pfuze3000, while mx6ul 14x14 evk use DCDC. > 2. mx6ul 9x9 evk supports 256MB LPDDR2, while mx6ul

Re: [U-Boot] [PATCH V2 0/4] cm-fx6 updates for Utilite

2015-09-13 Thread Stefano Babic
On 06/09/2015 10:48, Nikita Kiryanov wrote: > This series provides a fix necessary for early models of Utilite, a miniature > desktop based on CM-FX6. It implements a dynamic modification to the device > tree > that is necessary for mmc boot. > > Cc: Stefano Babic > Cc: Igor

Re: [U-Boot] Galileo instructions

2015-09-13 Thread Bin Meng
Hi Simon, On Sun, Sep 13, 2015 at 5:06 AM, Simon Glass wrote: > Hi Bin, > > I have a Galileo Gen 2 and am trying to get U-Boot to start on it. The > first problem I have is that the schematic says the chip is a W25Q64FV > which I think is an 8MB part, but the image produced is

Re: [U-Boot] [PATCH v2 01/13] imx: arch-mx6: add is_soc_type helper macro

2015-09-13 Thread Stefano Babic
Hi Adrian, thanks for pushing mx7 ! On 02/09/2015 20:54, Adrian Alonso wrote: > Add helper macro is_soc_type to identify iMX SoC family > > Signed-off-by: Adrian Alonso > --- > Changes for V2: Rework for common sys_proto header file > Changes for V3: Rework for latest

Re: [U-Boot] [PATCH v2 09/13] arm: imx-common: init: extend init_aips to support imx7

2015-09-13 Thread Stefano Babic
On 02/09/2015 20:54, Adrian Alonso wrote: > Extend init_aips to support imx7 SoC, use is_soc_type > and is_cpu_type to resolve at run time aips3 settings > > Signed-off-by: Adrian Alonso > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH v2 07/13] imx: imx7d: clock control module support

2015-09-13 Thread Stefano Babic
On 02/09/2015 20:54, Adrian Alonso wrote: > * Add Clock control module (CCM) support > * iMX7D SoC introduces 3 main clock sysmtem abstraction for clock > root frequency generation denominated clock slices. > Core clock slice: hihg speed clock for ARM core > Bus clock slice: for bus clocks

Re: [U-Boot] [PATCH v2 08/13] imx: imx7d: Add SoC system support

2015-09-13 Thread Stefano Babic
On 02/09/2015 20:54, Adrian Alonso wrote: > Add imx7d basic SoC system support > Misc arch dependent functions for system bring up > > Signed-off-by: Adrian Alonso > Signed-off-by: Peng Fan > Signed-off-by: Ye.Li > ---

Re: [U-Boot] [PATCH v2 11/13] thermal: imx: add imx7d soc thermal support

2015-09-13 Thread Stefano Babic
On 02/09/2015 20:54, Adrian Alonso wrote: > Add imx7 SoC thermal driver support > > Signed-off-by: Adrian Alonso > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX Software

Re: [U-Boot] [PATCH v2 10/13] arm: imx-common: init: rework wdog settings for imx6/imx7

2015-09-13 Thread Stefano Babic
On 02/09/2015 20:54, Adrian Alonso wrote: > Rework imx_set_wdog_powerdown to be reused by imx6 and imx7 > > Signed-off-by: Adrian Alonso > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

[U-Boot] [PATCH 2/2] nios2: convert altera_jtag_uart to driver model

2015-09-13 Thread Thomas Chou
Convert altera_jtag_uart to driver model. Signed-off-by: Thomas Chou --- configs/nios2-generic_defconfig | 3 + drivers/serial/Kconfig| 13 drivers/serial/altera_jtag_uart.c | 124 +- include/configs/nios2-generic.h

Re: [U-Boot] [PATCH 2/2] imx: discard duplicated MXC_OCOTP and CMD_FUSE

2015-09-13 Thread Stefano Babic
On 01/09/2015 05:03, Peng Fan wrote: > We have CONFIG_MXC_OCOTP and CONFIG_CMD_FUSE in mx6_common.h, > discard duplicated macro definitions in board header files. > > Signed-off-by: Peng Fan > Cc: Stefano Babic > Cc: Peter Robinson

[U-Boot] [PATCH 1/2] nios2: remap and translate reg address in device tree

2015-09-13 Thread Thomas Chou
As the io space remapping ioremap() and bridge address translation fdt_translate_address() are not usually used in u-boot driver model by dev_get_addr(). We would better convert the reg address map in the device tree of nios2 boards, so that it is io mapped and bridge translated. Signed-off-by:

Re: [U-Boot] [PATCH 3/4] mx6ul_14x14_evk: Remove CONFIG_SPL_FAT_SUPPORT

2015-09-13 Thread Stefano Babic
On 09/09/2015 14:26, Fabio Estevam wrote: > Hi Peng and Stefano, > > On Wed, Sep 9, 2015 at 4:37 AM, Stefano Babic wrote: > #define CONFIG_SPL_LIBCOMMON_SUPPORT #define CONFIG_SPL_MMC_SUPPORT -#define CONFIG_SPL_FAT_SUPPORT >>> >>> Can we keep this? Without

[U-Boot] [PATCH 0/7] malloc_simple: Add support for switching to DRAM heap

2015-09-13 Thread Hans de Goede
Hi Simon, Here is a patch-set to add support to keep using simple-malloc after dram is available in the SPL, using the spl stack relocation function to switch to a new heap which uses a chunk of the now in DRAM stack. I think you're the best candidate to review and merge the core patches

[U-Boot] [PATCH 1/7] spl: spl_relocate_stack_gd: Do not unnecessarily clear bss

2015-09-13 Thread Hans de Goede
spl_relocate_stack_gd only gets called from arch/arm/lib/crt0.S which clears the bss directly after calling it, so there is no need to clear it from spl_relocate_stack_gd. Signed-off-by: Hans de Goede --- common/spl/spl.c | 3 --- 1 file changed, 3 deletions(-) diff --git

[U-Boot] [PATCH 6/7] sunxi: Enable CONFIG_SPL_STACK_R

2015-09-13 Thread Hans de Goede
Select CONFIG_SPL_STACK_R for sunxi boards, this gives us much more room on the stack once we've the DRAM running. Besides being a good change to have on itself, this also paves the way for switching to using malloc_simple in the SPL which cuts of close to 4KiB of the SPL size. Signed-off-by:

[U-Boot] [PATCH 3/7] malloc_simple: Add Kconfig option for using only malloc_simple in the SPL

2015-09-13 Thread Hans de Goede
common/dlmalloc.c is quite big, both in .text and .data usage, therefor on some boards the SPL is build to use only malloc_simple.c and not the dlmalloc.c code. This is done in various include/configs/foo.h with the following construct: This commit introduces a SPL_MALLOC_SIMPLE Kconfig bool

[U-Boot] [PATCH 2/7] malloc_simple: Fix malloc_ptr calculation

2015-09-13 Thread Hans de Goede
From: Philipp Rosenberger The gd->malloc_ptr and the gd->malloc_limit are offsets to gd->malloc_base. But the addr variable contains the absolute address. The new_ptr must be: addr + bytes - gd->malloc_base. Signed-off-by: Philipp Rosenberger

[U-Boot] [PATCH 4/7] malloc_simple: Add support for switching to DRAM heap

2015-09-13 Thread Hans de Goede
malloc_simple uses a part of the stack as heap, initially it uses SYS_MALLOC_F_LEN bytes which typically is quite small as the initial stacks sits in SRAM and we do not have that much SRAM to work with. When DRAM becomes available we may switch the stack from SRAM to DRAM to give use more room.

[U-Boot] mx7dsabresd board does not reset

2015-09-13 Thread Fabio Estevam
Hi Adrian, I noticed that the reset command fails on mx7sabresd board: => reset resetting ... (it gets stuck here). Could you please look at it? Regards, Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 2/3] ti814x_evm: Switch to SYS_GENERIC_BOARD

2015-09-13 Thread Simon Glass
On 3 September 2015 at 11:54, Tom Rini wrote: > Take over maintainership as well. Not tested as PG2.0 (which I have) > needs additional work over PG1.0 (which Matt has). > > Cc: Matt Porter > Signed-off-by: Tom Rini > --- >

[U-Boot] [PATCH 7/7] sunxi: Switch to using malloc_simple for the spl

2015-09-13 Thread Hans de Goede
common/dlmalloc.c is quite big, both in .text and .data usage. E.g. for a Mele_M9 sun6i board build this reduces .text from 0x4214 to 0x3b94 bytes, and .data from 0x54c to 0x144 bytes. Signed-off-by: Hans de Goede --- arch/arm/Kconfig | 1 +

[U-Boot] [PATCH 5/7] sunxi: Simplify spl board_init_f function

2015-09-13 Thread Hans de Goede
crt0.S will both memset the bss sectioan and call board_init_r for us, so there is no need to do either ourselves. Signed-off-by: Hans de Goede --- arch/arm/cpu/armv7/sunxi/board.c | 5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/cpu/armv7/sunxi/board.c

Re: [U-Boot] [PATCH 1/6] arm: Remove edb9315a board

2015-09-13 Thread Simon Glass
Hi Sergey, On 13 September 2015 at 03:42, sergey kostanbaev wrote: > Hi Simon, > > I posted a patch http://patchwork.ozlabs.org/patch/516053/ to move this > board to generic but still haven't got any feedback. > OK, sorry I missed it. Tom has applied this now so my

Re: [U-Boot] [PATCH v2 1/3] nios2: map physical address to uncached virtual address

2015-09-13 Thread Marek Vasut
On Sunday, September 13, 2015 at 03:40:04 PM, Thomas Chou wrote: > Add ioremap() to map physical address to uncached virtual > address. We need this to convert the reg address from the > device tree. > > The order of headers inclusion in interrupts.c is changed > because common.h will include

Re: [U-Boot] [PATCH 1/2] nios2: remap and translate reg address in device tree

2015-09-13 Thread Marek Vasut
On Sunday, September 13, 2015 at 10:32:09 AM, Thomas Chou wrote: > As the io space remapping ioremap() and bridge address > translation fdt_translate_address() are not usually used > in u-boot driver model by dev_get_addr(). We would better > convert the reg address map in the device tree of nios2

Re: [U-Boot] [PATCH 2/2] nios2: convert altera_jtag_uart to driver model

2015-09-13 Thread Marek Vasut
On Sunday, September 13, 2015 at 10:32:10 AM, Thomas Chou wrote: > Convert altera_jtag_uart to driver model. > > Signed-off-by: Thomas Chou [...] > -static int altera_jtag_serial_init(void) > +static int altera_jtaguart_putc(struct udevice *dev, const char c) > { > -

[U-Boot] [PATCH] sunxi: Tweak various memory addresses

2015-09-13 Thread Hans de Goede
For the upcoming nand support we need a bigger heap, esp. ubi[fs] uses quite a bit of memory, increase the heap size to 64 MB. Our video code returns unused reserved framebuffer memory to the kernel before booting it. Drop the #ifdef-ery and simply always reserve 16 MB. Adjust bootm_size for the

[U-Boot] [PATCH 4/5] mx7dsabresd: Remove get_board_rev()

2015-09-13 Thread Fabio Estevam
From: Fabio Estevam get_board_rev() is not actually providing the board revision. It just returns the CPU revision instead. As the CPU revision is already printed on boot, there is no reason to have get_board_rev(), so let's remove it. Signed-off-by: Fabio Estevam

[U-Boot] [PATCH 5/5] mx7dsabresd: Remove unused config option

2015-09-13 Thread Fabio Estevam
From: Fabio Estevam CONFIG_FEC_DMA_MINALIGN is not used anywhere, so let's remove it. Signed-off-by: Fabio Estevam --- include/configs/mx7dsabresd.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/mx7dsabresd.h

[U-Boot] [PATCH 3/5] mx7dsabresd: Include USB header

2015-09-13 Thread Fabio Estevam
From: Fabio Estevam Include in order to fix the following sparse warning: board/freescale/mx7dsabresd/mx7dsabresd.c:538:5: warning: symbol 'board_ehci_hcd_init' was not declared. Should it be static? Signed-off-by: Fabio Estevam ---

[U-Boot] [PATCH 1/5] mx7dsabresd: Staticize when possible

2015-09-13 Thread Fabio Estevam
From: Fabio Estevam Make the internal symbols static when possible. This prevents sparse build warnings. Signed-off-by: Fabio Estevam --- board/freescale/mx7dsabresd/mx7dsabresd.c | 8 1 file changed, 4 insertions(+), 4

[U-Boot] [PATCH 2/5] mx7dsabreasd: Remove dead code

2015-09-13 Thread Fabio Estevam
From: Fabio Estevam iox74lv_set() is not used anywhere, so let's remove it. Signed-off-by: Fabio Estevam --- board/freescale/mx7dsabresd/mx7dsabresd.c | 38 --- 1 file changed, 38 deletions(-) diff --git

Re: [U-Boot] [PATCH 6/7] sunxi: Enable CONFIG_SPL_STACK_R

2015-09-13 Thread Ian Campbell
On Sun, 2015-09-13 at 17:42 +0200, Hans de Goede wrote: > index 7c1507b..6aa1bf2 100644 > --- a/include/configs/sunxi-common.h > +++ b/include/configs/sunxi-common.h > @@ -73,6 +73,9 @@ > #define CONFIG_SYS_LOAD_ADDR 0x2200 /* default > load address */ > #define CONFIG_SYS_TEXT_BASE

Re: [U-Boot] [PATCH 7/7] sunxi: Switch to using malloc_simple for the spl

2015-09-13 Thread Ian Campbell
On Sun, 2015-09-13 at 17:42 +0200, Hans de Goede wrote: > common/dlmalloc.c is quite big, both in .text and .data usage. E.g. > for a > Mele_M9 sun6i board build this reduces .text from 0x4214 to 0x3b94 > bytes, > and .data from 0x54c to 0x144 bytes. > > Signed-off-by: Hans de Goede

[U-Boot] [PATCH v2 0/3] nios2: convert altera_jtag_uart to driver model

2015-09-13 Thread Thomas Chou
Update the dts and convert altera_jtag_uart to driver model. v2 add ioremap. make the change to dts compatible with linux. Thomas Chou (3): nios2: map physical address to uncached virtual address nios2: remove bridges in device tree nios2: convert altera_jtag_uart to driver model

[U-Boot] [PATCH v2 3/3] nios2: convert altera_jtag_uart to driver model

2015-09-13 Thread Thomas Chou
Convert altera_jtag_uart to driver model. Signed-off-by: Thomas Chou --- arch/nios2/dts/3c120_devboard.dts | 5 ++ configs/nios2-generic_defconfig | 3 + drivers/serial/Kconfig| 13 drivers/serial/altera_jtag_uart.c | 125

[U-Boot] [PATCH v2 1/3] nios2: map physical address to uncached virtual address

2015-09-13 Thread Thomas Chou
Add ioremap() to map physical address to uncached virtual address. We need this to convert the reg address from the device tree. The order of headers inclusion in interrupts.c is changed because common.h will include board header that contains IO_REGION_BASE. In the future, the IO_REGION_BASE

[U-Boot] [PATCH v2 2/3] nios2: remove bridges in device tree

2015-09-13 Thread Thomas Chou
As the device tree handlers in driver model does not translate address across bridges, we would remove the bridges in device tree and translate the reg address. We want to use the same device tree for both u-boot and linux. The ioremap() should be used to map the address returned from

Re: [U-Boot] [PATCH 1/3] omap3_evm_common.h: Switch to SYS_GENERIC_BOARD

2015-09-13 Thread Simon Glass
On 3 September 2015 at 11:54, Tom Rini wrote: > Tested on my OMAP3 uEVM. > > Signed-off-by: Tom Rini > --- > include/configs/omap3_evm_common.h |1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Simon Glass Build-tested also:

Re: [U-Boot] [PATCH 3/3] ti816x: Switch to SYS_GENERIC_BOARD

2015-09-13 Thread Simon Glass
On 3 September 2015 at 11:54, Tom Rini wrote: > Tested on my TI186x rev E. (PG2.0) and take over maintainership. > > Signed-off-by: Tom Rini > --- > board/ti/ti816x/MAINTAINERS |2 +- > include/configs/ti816x_evm.h |1 + > 2 files changed, 2

Re: [U-Boot] [U-Boot, v2] ARM: Kirkwood: fix IDE configuration on LaCie boards

2015-09-13 Thread Tom Rini
On Thu, Sep 03, 2015 at 11:12:20AM +0200, Simon Guinot wrote: > From: Simon Guinot > > On the LaCie boards netspace_max_v2 and net2big_v2, two internal hard > drives are available. Additionally on the d2net_v2 board, an extra hard > drive can be plugged via eSATA. >

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

2015-09-13 Thread Tom Rini
On Sun, Sep 13, 2015 at 11:22:15AM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > The following changes since commit 922f735ecf0de23eb0e01c208f5b422f39f6aed9: > > Merge git://git.denx.de/u-boot-usb (2015-09-12 15:50:02 -0400) > > are available in the git

Re: [U-Boot] ARM: Kirkwood: enable generic board support for LaCie boards

2015-09-13 Thread Tom Rini
On Tue, Sep 01, 2015 at 07:01:02PM +0200, Simon Guinot wrote: > From: Simon Guinot > > This patch enables generic board support for the following > Kirkwood-based LaCie boards: > > - Network Space v2 (Mini, Lite and Max). > - Internet Space v2. > - D2 Network v2. > -

Re: [U-Boot] arm: move edb93xx to generic board architecture

2015-09-13 Thread Tom Rini
On Thu, Sep 10, 2015 at 01:40:01AM +0300, Sergey Kostanbaev wrote: > From: Sergey Kostanbaev > > Use CONFIG_SYS_GENERIC_BOARD in EDB93XX board family Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH] dts: do not cut down pinctrl-0 and pinctrl-names for SPL full-pinctrl

2015-09-13 Thread Masahiro Yamada
Simon, 2015-09-04 10:10 GMT+09:00 Simon Glass : > On 31 August 2015 at 07:22, Simon Glass wrote: >> On 31 August 2015 at 04:36, Masahiro Yamada >> wrote: >>> These properties are necessary to use full-featured pinctrl

Re: [U-Boot] [PATCH] zynq-common: Define spi args offset and size

2015-09-13 Thread Jagan Teki
Hi Siva, On 10 September 2015 at 15:26, Siva Durga Prasad Paladugu wrote: > Define CONFIG_SYS_SPI_ARGS_OFFS, CONFIG_SYS_SPI_ARGS_SIZE > and CONFIG_SYS_SPI_KERNEL_OFFS which will be used in SPL > spi mode. Please add proper description about memory allots of

Re: [U-Boot] [PATCH 5/7] sunxi: Simplify spl board_init_f function

2015-09-13 Thread Ian Campbell
On Sun, 2015-09-13 at 17:42 +0200, Hans de Goede wrote: > crt0.S will both memset the bss sectioan and call board_init_r for > us, > so there is no need to do either ourselves. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell

Re: [U-Boot] [PATCH] sunxi: Tweak various memory addresses

2015-09-13 Thread Ian Campbell
On Sun, 2015-09-13 at 17:25 +0200, Hans de Goede wrote: > For the upcoming nand support we need a bigger heap, esp. ubi[fs] > uses > quite a bit of memory, increase the heap size to 64 MB. > > Our video code returns unused reserved framebuffer memory to the > kernel > before booting it. Drop the

Re: [U-Boot] [PATCH 6/7] sunxi: Enable CONFIG_SPL_STACK_R

2015-09-13 Thread Hans de Goede
Hi, On 13-09-15 18:33, Ian Campbell wrote: On Sun, 2015-09-13 at 17:42 +0200, Hans de Goede wrote: index 7c1507b..6aa1bf2 100644 --- a/include/configs/sunxi-common.h +++ b/include/configs/sunxi-common.h @@ -73,6 +73,9 @@ #define CONFIG_SYS_LOAD_ADDR 0x2200 /* default load

Re: [U-Boot] [PATCH] smsc95xx: Use zero length packets when RX fifo is empty

2015-09-13 Thread Stefan Bruens
On Tuesday 08 September 2015 08:56:12 Joe Hershberger wrote: > On Mon, Sep 7, 2015 at 10:12 PM, Stefan BrĂ¼ns > > wrote: > > Using NAKs on empty RX fifo for bulk in transfers is the right choice > > for a interrupt driven model, but U-Boot uses polling and expects an

Re: [U-Boot] [PATCH 6/7] sunxi: Enable CONFIG_SPL_STACK_R

2015-09-13 Thread Hans de Goede
Hi, On 13-09-15 20:50, Ian Campbell wrote: On Sun, 2015-09-13 at 18:38 +0200, Hans de Goede wrote: Hi, On 13-09-15 18:33, Ian Campbell wrote: On Sun, 2015-09-13 at 17:42 +0200, Hans de Goede wrote: index 7c1507b..6aa1bf2 100644 --- a/include/configs/sunxi-common.h +++

Re: [U-Boot] [PATCH 04/13] sparse: Simplify multiple logic

2015-09-13 Thread Maxime Ripard
On Sun, Sep 06, 2015 at 03:28:34PM -0400, Tom Rini wrote: > On Sun, Sep 06, 2015 at 01:27:20PM +0200, Maxime Ripard wrote: > > On Fri, Sep 04, 2015 at 01:20:38PM -0400, Tom Rini wrote: > > > On Mon, Aug 31, 2015 at 04:46:04PM +0200, Maxime Ripard wrote: > > > > > > > To check the alignment of the

Re: [U-Boot] [PATCH 12/13] sunxi: A13-Olinuxino: Enable the USB OTG controller

2015-09-13 Thread Hans de Goede
Hi, On 13-09-15 19:13, Maxime Ripard wrote: On Thu, Sep 10, 2015 at 08:47:03PM +0200, Hans de Goede wrote: Hi, On 03-09-15 23:41, Maxime Ripard wrote: Hi Hans, On Tue, Sep 01, 2015 at 11:01:06AM +0200, Hans de Goede wrote: Hi, On 31-08-15 16:46, Maxime Ripard wrote: The A13-Olinuxino has

Re: [U-Boot] [PATCH 6/7] sunxi: Enable CONFIG_SPL_STACK_R

2015-09-13 Thread Ian Campbell
On Sun, 2015-09-13 at 18:38 +0200, Hans de Goede wrote: > Hi, > > On 13-09-15 18:33, Ian Campbell wrote: > > On Sun, 2015-09-13 at 17:42 +0200, Hans de Goede wrote: > >> index 7c1507b..6aa1bf2 100644 > >> --- a/include/configs/sunxi-common.h > >> +++ b/include/configs/sunxi-common.h > >> @@ -73,6

Re: [U-Boot] [PATCH] sunxi: Tweak various memory addresses

2015-09-13 Thread Hans de Goede
Hi, On 13-09-15 18:54, Karsten Merker wrote: On Sun, Sep 13, 2015 at 05:25:57PM +0200, Hans de Goede wrote: For the upcoming nand support we need a bigger heap, esp. ubi[fs] uses quite a bit of memory, increase the heap size to 64 MB. [...] /* - * 240M RAM (256M minimum minus space for

Re: [U-Boot] [PATCH 12/13] sunxi: A13-Olinuxino: Enable the USB OTG controller

2015-09-13 Thread Maxime Ripard
On Thu, Sep 10, 2015 at 08:47:03PM +0200, Hans de Goede wrote: > Hi, > > On 03-09-15 23:41, Maxime Ripard wrote: > >Hi Hans, > > > >On Tue, Sep 01, 2015 at 11:01:06AM +0200, Hans de Goede wrote: > >>Hi, > >> > >>On 31-08-15 16:46, Maxime Ripard wrote: > >>>The A13-Olinuxino has a mini-USB

[U-Boot] Pull request: u-boot-sh/rmobile

2015-09-13 Thread Nobuhiro Iwamatsu
Hi Tom, Please pull u-boot-sh rmobile branch. The following changes since commit f875bbb49111c308b90b9ca74d1b79f69498b278: ARM: dts: uniphier: add ProXstream2 and PH1-LD6b SoC/board support (2015-08-31 00:29:23 +0900) are available in the git repository at: git://git.denx.de/u-boot-sh.git

Re: [U-Boot] Pull request: u-boot-sh/rmobile

2015-09-13 Thread Tom Rini
On Mon, Sep 14, 2015 at 05:29:04AM +0900, Nobuhiro Iwamatsu wrote: > Hi Tom, > > Please pull u-boot-sh rmobile branch. > > The following changes since commit f875bbb49111c308b90b9ca74d1b79f69498b278: > > ARM: dts: uniphier: add ProXstream2 and PH1-LD6b SoC/board support > (2015-08-31

[U-Boot] [PATCH 1/2] FIX: env: import: hashtable: Prevent buffer overrun when importing environment from file

2015-09-13 Thread Lukasz Majewski
Lets consider following scenario: - One uses echo -n "key=value" to define environment variable in a file (single variable) - The file content is "key=value" without any terminating byte (e.g. 0x0a or 0x0d). - The file is loaded to u-boot non zero'ed RAM buffer (with load command). - Then "env

[U-Boot] [PATCH 2/2] FIX: env: import: hashtable: Free memory allocated before exiting from himport_r()

2015-09-13 Thread Lukasz Majewski
Without this patch memory is not released on early exit. Signed-off-by: Lukasz Majewski --- lib/hashtable.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/hashtable.c b/lib/hashtable.c index 7df424a..02b4105 100644 --- a/lib/hashtable.c +++

Re: [U-Boot] [U-Boot, 1/4, v2] mtd: nand: fsmc: Add BCH4 SW ECC support for SPEAr600

2015-09-13 Thread Stefan Roese
On 12.09.2015 17:20, Tom Rini wrote: On Sat, Sep 12, 2015 at 09:46:51AM -0500, Scott Wood wrote: On Sat, 2015-09-12 at 10:46 -0400, Tom Rini wrote: On Sat, Sep 12, 2015 at 09:36:54AM -0500, Scott Wood wrote: On Sat, 2015-09-12 at 08:50 -0400, Tom Rini wrote: On Wed, Sep 02, 2015 at

Re: [U-Boot] mx7dsabresd board does not reset

2015-09-13 Thread Peng Fan
Hi Fabio, On Sun, Sep 13, 2015 at 01:11:57PM -0300, Fabio Estevam wrote: >Hi Adrian, > >I noticed that the reset command fails on mx7sabresd board: > >=> reset >resetting ... >(it gets stuck here). I have patches to fix this issue: https://patchwork.ozlabs.org/patch/517269/

Re: [U-Boot] [PATCH] dm: core: Enable optional use of fdt_translate_address()

2015-09-13 Thread Stefan Roese
Hi Stephen, On 11.09.2015 19:07, Stephen Warren wrote: On 09/09/2015 11:07 AM, Simon Glass wrote: +Stephen Hi Stefan, On Thursday, 3 September 2015, Stefan Roese wrote: The current "simple" address translation simple_bus_translate() is not working on some platforms (e.g.

Re: [U-Boot] [PATCH 1/2] nios2: remap and translate reg address in device tree

2015-09-13 Thread Stefan Roese
Hi Thomas, added Simon and Stephen to cc on this. On 13.09.2015 10:32, Thomas Chou wrote: As the io space remapping ioremap() and bridge address translation fdt_translate_address() are not usually used in u-boot driver model by dev_get_addr(). We would better convert the reg address map in the

[U-Boot] [PATCH 2/3] powerpc/t1040qds: enable adapter card type identification support

2015-09-13 Thread Yangbo Lu
Signed-off-by: Yangbo Lu Cc: York Sun --- include/configs/T1040QDS.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h index a0390a8..8353b8f 100644 --- a/include/configs/T1040QDS.h +++

[U-Boot] [PATCH 1/3] mmc: fsl_esdhc: enable dat[4:7] for eMMC4.5

2015-09-13 Thread Yangbo Lu
If adapter card type identification is supported for platform, we would enable dat[4:7] for eMMC4.5 card. Signed-off-by: Yangbo Lu Cc: York Sun --- board/freescale/common/qixis.h | 2 ++ drivers/mmc/fsl_esdhc.c| 3 +++ 2 files changed, 5

[U-Boot] [PATCH 3/3] powerpc/t1040qds: enable peripheral clock for eSDHC

2015-09-13 Thread Yangbo Lu
Signed-off-by: Yangbo Lu Cc: York Sun --- include/configs/T1040QDS.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/T1040QDS.h b/include/configs/T1040QDS.h index 8353b8f..92bc295 100644 --- a/include/configs/T1040QDS.h +++