Re: [U-Boot] Can't boot DaVinci EVM with Green Hills' Integrity OS

2015-03-31 Thread Jeroen Hofstee
Hello Idan, On 31-03-15 06:02, Idan Noti wrote: Why do you think caches have something to do with the problem? By booting the image with the bootelf command you jump to it with some caches still enabled / not flushed (which is likely not what your debug interface does and your kernel might n

Re: [U-Boot] [PATCH] env_sf: Fix recovery default

2015-03-31 Thread Mario Schuknecht
2015-03-24 8:59 GMT+01:00 Mario Schuknecht : > The u-boot environment is redundantly stored in a NOR flash on our boards. > Redundant means that there are two places to store the environment. But only > one of the two is active. I discovered that on one board the u-boot (env_sf) > uses the environm

[U-Boot] [PATCH] ahci: Fix a wrong parameter pass

2015-03-31 Thread Yuantian.Tang
From: Tang Yuantian In stead of user_buffer_size, transfer_size should be used to pass to ahci_device_data_io(). transfer_size is the length that we want the low level function to transfer each time. If we use user_buffer_size which is the totally data length as parameter, low level function will

[U-Boot] Pull request: u-boot-spi/master

2015-03-31 Thread Jagannadha Sutradharudu Teki
Hi Tom, Please pull this PR. thanks! Jagan. The following changes since commit 662e2acb46250881ec26bc8366fc9eb1856cb7c2: sunxi: UTOO_P66: Add missing MAINTAINERS entry (2015-03-29 14:56:48 +0200) are available in the git repository at: git://git.denx.de/u-boot-spi.git master for you to f

Re: [U-Boot] [PATCH] Exynos: Clock: Fix exynos5_get_periph_rate for I2C.

2015-03-31 Thread Minkyu Kang
Hi, On Thursday, March 26, 2015, Simon Glass wrote: > Hi Minkyu, > > On 24 March 2015 at 01:45, Minkyu Kang > > wrote: > > hi, > > > > On 20 March 2015 at 02:06, Guillaume Gardet > > ');>> > wrote: > > > >> Ping. > >> > >> Guillaume > >> > >> > >> Le 11/03/2015 10:34, Guillaume GARDET a écrit

[U-Boot] [PATCH v7 1/9] lpc32xx: add Ethernet support

2015-03-31 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- Changes in v7: - removed SRAM section and custom linker script Changes in v6: - added some missing readl() wraps - moved descriptors and buffers to SRAM Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm92

[U-Boot] [PATCH v7 2/9] lpc32xx: mtd: nand: add MLC NAND controller

2015-03-31 Thread Albert ARIBAUD (3ADEV)
The controller's Reed-Solomon ECC hardware is used except of course for raw reads and writes. It covers in- and out-of-band data together. The SPL framework is supported. Signed-off-by: Albert ARIBAUD (3ADEV) --- Changes in v7: - rewrite SPL image load logic Changes in v6: - rewrite timeout lo

[U-Boot] [PATCH v7 0/9] Extend LPC32xx functionality and add LPC32xx-based work_92015 board

2015-03-31 Thread Albert ARIBAUD (3ADEV)
This series extends functionality for the LPC32xx platform and introduces the WORK Microwave work_92105 board which makes use of the extended functionality. NOTES: A - I2C driver remains non-DM During v2 review, it was suggested to move to DM for I2C. However, this caused issues with the 'date',

[U-Boot] [PATCH v7 3/9] lpc32xx: i2c: add LPC32xx I2C interface support

2015-03-31 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cpu/arm926ejs/lpc32xx/devices.c | 11 ++ arch/arm/include/asm/arch-lpc32xx/clk.h | 4 + arch/arm/include/asm/a

[U-Boot] [PATCH v7 5/9] lpc32xx: add LPC32xx SSP support (SPI mode)

2015-03-31 Thread Albert ARIBAUD (3ADEV)
Reviewed-by: Jagannadha Sutradharudu Teki Signed-off-by: Albert ARIBAUD (3ADEV) --- Changes in v7: - fixed erroneous 'zynq' comment Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - move regs and functions in private struct Changes in v2: - added MUX setting for SSP0

[U-Boot] [PATCH v7 4/9] lpc32xx: add GPIO support

2015-03-31 Thread Albert ARIBAUD (3ADEV)
This driver only supports Driver Model, not legacy model. Signed-off-by: Albert ARIBAUD (3ADEV) --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - move DM dependency constraint into Kconfig - move regs pointer and function cache into private stru

[U-Boot] [PATCH v7 6/9] dtt: add ds620 support

2015-03-31 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - cosmetic: added a blank line before copyright drivers/hwmon/Makefile | 1 + drivers/hwmon/ds620.c | 65 +++

Re: [U-Boot] [PATCH v2 0/8] Extend LPC32xx functionality and add LPC32xx-based work_92015 board

2015-03-31 Thread Jagan Teki
On 31 March 2015 at 10:54, Albert ARIBAUD wrote: > Bonjour Jagan, > > Le Mon, 30 Mar 2015 17:37:47 +0530, Jagan Teki > a écrit : > >> Tom, >> >> On 17 February 2015 at 21:40, Tom Rini wrote: >> > On Tue, Feb 17, 2015 at 02:26:47PM +0100, Albert ARIBAUD wrote: >> >> Bonjour Tom, >> >> >> >> Le Tu

[U-Boot] [PATCH v7 7/9] lpc32xx: add lpc32xx-spl.bin boot image target

2015-03-31 Thread Albert ARIBAUD (3ADEV)
Signed-off-by: Albert ARIBAUD (3ADEV) --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - remove script/Makefile.spl change Changes in v2: - move boot image generation to mkimage framework common/image.c | 1 + include/image.h | 1

[U-Boot] [PATCH v7 8/9] Introduce CONFIG_SPL_PANIC_ON_RAW_IMAGE

2015-03-31 Thread Albert ARIBAUD (3ADEV)
introduce CONFIG_SPL_PANIC_ON_RAW_IMAGE. An SPL which define this will panic() if the image it has loaded does not have a mkimage signature. Signed-off-by: Albert ARIBAUD (3ADEV) --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2

[U-Boot] [PATCH v7 9/9] lpc32xx: add support for board work_92105

2015-03-31 Thread Albert ARIBAUD (3ADEV)
Work_92105 from Work Microwave is an LPC3250- based board with the following features: - 64MB or 128MB SDR DRAM - 1 GB SLC NAND, managed through MLC controller. - Ethernet - Ethernet + PHY SMSC8710 - I2C: - EEPROM (24M01-compatible) - RTC (DS1374-compatible) - Temperature sensor (DS620) - D

Re: [U-Boot] [PATCH v2 0/8] Extend LPC32xx functionality and add LPC32xx-based work_92015 board

2015-03-31 Thread Albert ARIBAUD
Hi Jagan, Le Tue, 31 Mar 2015 12:30:51 +0530, Jagan Teki a écrit : > > Actually there's a (normally final!) v7 coming in the next hours, but > > there was no change on the SSP/SPI code. With your permission, I'll > > 'port over' your Reviewed-by from v6 5/8 to v7 5/9. > > Sure, please fix a typ

[U-Boot] [PATCH v2 0/7] ARC updates

2015-03-31 Thread Alexey Brodkin
This patchset is meant to prepare ARC for device model utilization. The most important things done: [1] Separation of interrupt vectore tables from start.S [2] Merge of low-level start-up code (written in assembly) for ARCompat and ARCv2 architectures [3] Separation of interrupt and except

[U-Boot] [PATCH v2 1/7] arc: cache - build invalidate_icache_all() and invalidate_dcache_all() always

2015-03-31 Thread Alexey Brodkin
Make both invalidate_icache_all() and invalidate_dcache_all() available even if U-Boot is configured with CONFIG_SYS_DCACHE_OFF and/or CONFIG_SYS_ICACHE_OFF. This is useful because configuration of U-Boot may not match actual hardware features. Real board may have cache(s) but for some reason we m

[U-Boot] [PATCH v2 3/7] arc: move low-level interrupt and exception handlers in a separate file

2015-03-31 Thread Alexey Brodkin
This separation makes maintenance of code easier because those low-level interrupt- or exception handling routines are pretty static and usually require not much care while start-up code is a subject of modifications and enhancements. Signed-off-by: Alexey Brodkin --- No changes in v2 --- arch/a

[U-Boot] [PATCH v2 2/7] arc: merge common start-up code between ARC and ARCv2

2015-03-31 Thread Alexey Brodkin
Even though ARCompact and ARCv2 are not binary compatible most of assembly instructions are used in both. With this change we'll get rid of duplicate code. Still IVTs are implemented differently so we're keeping them in separate files. Signed-off-by: Alexey Brodkin --- No changes in v2 --- arch

[U-Boot] [PATCH v2 7/7] arc: minor fixes in Kconfig

2015-03-31 Thread Alexey Brodkin
[1] Fix misspeling in ARC_CACHE_LINE_SHIFT dependency, now cache-line lenth selection is correctly enabled if either I$ or D$ are enabled. [2] Add dummy entry to target list to make sure target type is always mentioned in defconfig. Otherwise defconfig for the first target in the list will not h

[U-Boot] [PATCH v2 4/7] arc: clean-up init procedure

2015-03-31 Thread Alexey Brodkin
Intention behind this work was elimination of as much assembly-written code as it is possible. In case of ARC we already have relocation fix-up implemented in C so why don't we use C for U-Boot copying, .bss zeroing etc. It turned out x86 uses pretty similar approach so we re-used parts of code i

[U-Boot] [PATCH v2 6/7] arc: get rid of CONFIG_SYS_GENERIC_GLOBAL_DATA

2015-03-31 Thread Alexey Brodkin
As discussed on mailing list we're drifting away from CONFIG_SYS_GENERIC_GLOBAL_DATA in favour to use of board_init_f_mem() for global data. So do this for ARC architecture. Signed-off-by: Alexey Brodkin --- No changes in v2 --- arch/arc/include/asm/config.h | 1 - arch/arc/lib/start.S

[U-Boot] [PATCH v2 5/7] arc: re-generate defconfigs

2015-03-31 Thread Alexey Brodkin
Before that moment our defconfigs were manually modified with addition of new options. That means once anybody wants to add another option and re-genarate defconfig with "make defconfig" there will be lots of differences. So to make future modifications more clean we'll do bulk re-generation right

[U-Boot] [PATCH] serial-arc: switch to DM

2015-03-31 Thread Alexey Brodkin
Now when all infrastructure in ARC is ready for it let's switch ARC UART to driver model. Signed-off-by: Alexey Brodkin Cc: Masahiro Yamada Cc: Simon Glass --- arch/Kconfig | 1 + arch/arc/dts/Makefile | 11 + arch/arc/dts/arcangel4.dts | 24 ++ a

[U-Boot] [PATCH] arc: AXS101 - enable data cache

2015-03-31 Thread Alexey Brodkin
With recent changes in mother-board firmware DMA works properly with data cache enabled. So we enable data cache for the board in defconfig to gain significant improvement in performance. Signed-off-by: Alexey Brodkin --- configs/axs101_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git

[U-Boot] [PATCH] board: Switch Abilis TB-100 board to Driver Model for serial port

2015-03-31 Thread Alexey Brodkin
Signed-off-by: Alexey Brodkin Cc: Masahiro Yamada Cc: Simon Glass --- arch/arc/dts/Makefile | 1 + arch/arc/dts/abilis_tb100.dts | 24 configs/tb100_defconfig | 5 + include/configs/tb100.h | 6 +- 4 files changed, 31 insertions(+), 5 dele

[U-Boot] [PATCH] arc: add support for SLC (System Level Cache, AKA L2-cache)

2015-03-31 Thread Alexey Brodkin
ARCv2 cores may have built-in SLC (System Level Cache, AKA L2-cache). This change adds functions required for controlling SLC: * slc_enable/disable * slc_flush/invalidate For now we just disable SLC to escape DMA coherency issues until either: * SLC flush/invalidate is supported in DMA APIin U-

Re: [U-Boot] [PATCH v2] net: Update hardware MAC address if it changes in env

2015-03-31 Thread Michal Simek
On 03/30/2015 08:08 PM, Joe Hershberger wrote: > Hi Michal, > > On Tue, Mar 24, 2015 at 2:41 AM, Joe Hershberger > wrote: >> >> When the ethaddr changes in the env, the hardware should also be updated >> so that MAC filtering will work properly without resetting U-Boot. >> >> Also remove the manu

[U-Boot] [PATCH] kbuild: move ARCH, CPU, etc. to top Makefile to fix random build error

2015-03-31 Thread Masahiro Yamada
Since the Kconfig conversion, some developers have reported that Kbuild sometimes fails completely at random. According to the error reports, it seems to occur for any target board, but only on very fast computers. The log message for the fail case is like this: make[1]: *** No rule to make ta

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

2015-03-31 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! The following changes since commit 21866c34a1b4098a8868c9250daf01baf84c2397: at91sam9rlek_mmc_defconfig: Add CONFIG_ARCH_AT91=y (2015-03-20 10:47:38 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master for

Re: [U-Boot] [PATCH 1/2] mtd: vf610_nfc: mark page as dirty on block erase

2015-03-31 Thread Bill Pringlemeir
On 31 Mar 2015, scottw...@freescale.com wrote: > On Tue, 2015-03-31 at 00:24 +0200, Stefan Agner wrote: >> Actually, I just realized that the driver is not caching writes. >> >> switch (command) { >> case NAND_CMD_PAGEPROG: >> nfc->page = -1; >> +vf610_nfc_transfer_size(nfc->regs, nfc->pag

Re: [U-Boot] [PATCH] kbuild: move ARCH, CPU, etc. to top Makefile to fix random build error

2015-03-31 Thread York Sun
On 03/31/2015 05:02 AM, Masahiro Yamada wrote: > Since the Kconfig conversion, some developers have reported that > Kbuild sometimes fails completely at random. According to the error > reports, it seems to occur for any target board, but only on very > fast computers. > > The log message for t

Re: [U-Boot] [PATCH] kbuild: move ARCH, CPU, etc. to top Makefile to fix random build error

2015-03-31 Thread Stephen Warren
On 03/31/2015 06:02 AM, Masahiro Yamada wrote: Since the Kconfig conversion, some developers have reported that Kbuild sometimes fails completely at random. According to the error reports, it seems to occur for any target board, but only on very fast computers. The log message for the fail case

Re: [U-Boot] [PATCH V2 3/3] dm: i2c: add i2c-gpio driver

2015-03-31 Thread Przemyslaw Marczak
Hello Simon, On 03/28/2015 04:08 PM, Simon Glass wrote: Hi Przemyslaw, On 27 March 2015 at 11:33, Przemyslaw Marczak wrote: This commit adds driver model support to software emulated i2c bus driver. The device-tree node is compatible with the kernel i2c-gpio driver. It means, that boards devi

Re: [U-Boot] [PATCH] kbuild: move ARCH, CPU, etc. to top Makefile to fix random build error

2015-03-31 Thread York Sun
On 03/31/2015 08:45 AM, Stephen Warren wrote: > On 03/31/2015 06:02 AM, Masahiro Yamada wrote: >> Since the Kconfig conversion, some developers have reported that >> Kbuild sometimes fails completely at random. According to the error >> reports, it seems to occur for any target board, but only o

Re: [U-Boot] [PATCH V2 2/3] Kconfig: i2c: fix help message related to dm i2c

2015-03-31 Thread Przemyslaw Marczak
Hello Simon, On 03/28/2015 04:08 PM, Simon Glass wrote: Hi Przemyslaw, On 27 March 2015 at 11:33, Przemyslaw Marczak wrote: Signed-off-by: Przemyslaw Marczak Cc: Masahiro Yamada Cc: Mike Frysinger Cc: Simon Glass Cc: Heiko Schocher Changes V2: - add i2c uclass description --- drivers/

[U-Boot] [PATCH V3 0/3] dm: i2c: enable driver model for i2c gpio

2015-03-31 Thread Przemyslaw Marczak
This patchset enables driver model support for software i2c bus driver. It was tested on Trats2 and Odroid U3 devices. It can be tested on any other device by just modifying the dts file, first by disabling the hardware i2c bus and then, as it is described in the doc binding file, add i2c-gpio nod

[U-Boot] [PATCH V3 1/3] dm: gpio: request list: return the count if requests max_count reached

2015-03-31 Thread Przemyslaw Marczak
The function gpio_request_list_by_name_nodev() returned -ENOSPC error, when the loop count was greater than requested count. This was wrong, because function should return the requested gpio count, when meets the call request without errors. Now, the loop ends on requested max_count. Signed-off-by

[U-Boot] [PATCH V3 2/3] Kconfig: i2c: fix help message related to dm i2c

2015-03-31 Thread Przemyslaw Marczak
Signed-off-by: Przemyslaw Marczak Cc: Masahiro Yamada Cc: Mike Frysinger Cc: Simon Glass Cc: Heiko Schocher Changes V2: - add i2c uclass description Changes v3: - Kconfig: i2c-uclass: fix help message --- drivers/i2c/Kconfig | 17 +++-- 1 file changed, 7 insertions(+), 10 deleti

[U-Boot] [PATCH V3 3/3] dm: i2c: add i2c-gpio driver

2015-03-31 Thread Przemyslaw Marczak
This commit adds driver model support to software emulated i2c bus driver. This driver supports kernel-style device tree bindings. Fdt properties in use: - compatible - "i2c-gpio" - gpios - data and clock GPIO pin phandles - delay-us - micro seconds delay between GPIOs toggle operations,

Re: [U-Boot] [PATCH] net: Fix incorrect DHCP/BOOTP packet layout on 64-bit systems

2015-03-31 Thread Joe Hershberger
Hi Sergey, On Tue, Mar 31, 2015 at 12:17 PM, Sergey Temerkhanov < s.temerkha...@gmail.com> wrote: > > > This commit fixes incorrect DHCP/BOOTP packet layout caused by > 'ulong' type size difference on 64 and 32-bit architectures. > It also converts protocol header structures to use explicitly > si

[U-Boot] [PATCH] net: Fix incorrect DHCP/BOOTP packet layout on 64-bit systems

2015-03-31 Thread Sergey Temerkhanov
This commit fixes incorrect DHCP/BOOTP packet layout caused by 'ulong' type size difference on 64 and 32-bit architectures. It also converts protocol header structures to use explicitly sized fields and renames NetReadLong()/NetCopyLong() to NetReadU32/NetCopyU32() accordingly Signed-off-by: Radh

[U-Boot] [PATCH] image: fix build when CONFIG_NR_DRAM_BANKS is disabled on ARM

2015-03-31 Thread Matt Porter
common/image.c currently implicitly depends on CONFIG_NR_DRAM_BANKS when CONFIG_ARM is enabled. Make this requirement explicit. Signed-off-by: Matt Porter --- common/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/image.c b/common/image.c index a911aa9..13e68a0

Re: [U-Boot] [PATCH 08/12] ARM: socfpga: use "select" instead of default value in defconfig

2015-03-31 Thread Pavel Machek
Hi! On Tue 2015-03-31 12:47:59, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > arch/arm/Kconfig | 6 ++ > configs/socfpga_arria5_defconfig | 3 --- > configs/socfpga_cyclone5_defconfig | 3 --- > configs/socfpga_socrates_defconfig | 3 --- > 4 files cha

Re: [U-Boot] [PATCHv3 17/17] arm: socfpga: fix uart0 pin mux configuration

2015-03-31 Thread Pavel Machek
On Mon 2015-03-30 17:01:18, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > commit "07d30b6c3129 arm: socfpga: Sync Cyclone V DK pinmux configuration" > incorrectly set the muxing for UART0 on the Cyclone V DK. > > This fixes it up so UART0 is working again. > > Signed-off-by: Din

[U-Boot] Pull request: nand flash

2015-03-31 Thread Scott Wood
The following changes since commit 662e2acb46250881ec26bc8366fc9eb1856cb7c2: sunxi: UTOO_P66: Add missing MAINTAINERS entry (2015-03-29 14:56:48 +0200) are available in the git repository at: git://git.denx.de/u-boot-nand-flash.git for you to fetch changes up to 55765b1842e7dcf22efa8d973c7

[U-Boot] Pull request: nand flash

2015-03-31 Thread Scott Wood
[resent with Tom's new e-mail address] The following changes since commit 662e2acb46250881ec26bc8366fc9eb1856cb7c2: sunxi: UTOO_P66: Add missing MAINTAINERS entry (2015-03-29 14:56:48 +0200) are available in the git repository at: git://git.denx.de/u-boot-nand-flash.git for you to fetch c

Re: [U-Boot] [PATCHv3 07/17] arm: socfpga: spl: add sdram init and calibration

2015-03-31 Thread Pavel Machek
On Mon 2015-03-30 17:01:08, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Add a call to checkboard along with sdram intilialization and calibration. > > Signed-off-by: Dinh Nguyen > --- > v3: Use debug instead of puts and add a newline for visual separation > v2: Add a fail mess

Re: [U-Boot] [PATCHv3 13/17] arm: socfpga: spl: add board_init_f to SPL

2015-03-31 Thread Pavel Machek
Hi! On Mon 2015-03-30 17:01:14, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Remap SDRAM to 0x0, and clear OCRAM's ECC in board_init_f(). > > Signed-off-by: Dinh Nguyen > Reviewed-by: Marek Vasut > --- > v3: Move the code from s_init to board_init_f > --- > arch/arm/cpu/armv7

Re: [U-Boot] [PATCHv3 14/17] arm: socfpga: spl: Add SDRAM check

2015-03-31 Thread Pavel Machek
On Mon 2015-03-30 17:01:15, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Signed-off-by: Dinh Nguyen > --- > v3: Only report the failure > v2: Be a bit more verbose about the fail message > --- > arch/arm/cpu/armv7/socfpga/spl.c | 6 ++ > 1 file changed, 6 insertions(+) > >

Re: [U-Boot] [PATCHv3 16/17] arm: socfpga: remove the need to map sdram in arch_early_init

2015-03-31 Thread Pavel Machek
On Mon 2015-03-30 17:01:17, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Since we are already mapping sdram 0x0 in board_init_f, we can remove it > here. > > Signed-off-by: Dinh Nguyen > Reviewed-by: Marek Vasut Yes, and you want to merge this to the patch that does that. Al

Re: [U-Boot] [PATCHv3 00/17] Add SPL support for SoCFPGA

2015-03-31 Thread Pavel Machek
Hi! > This is v3 of the patchset that adds all the SPL code that is necessary to > support the SoCFPGA platform. For v3, here are the changes: > > - Remove gdata > - Remove s_init > - Remove socfpga lowlevel_init.S > - Use common u-boot-spl.lds > - Properly use CONFIG_SPL_TEXT_BASE so we don't ha

Re: [U-Boot] [PATCHv3 17/17] arm: socfpga: fix uart0 pin mux configuration

2015-03-31 Thread Pavel Machek
On Tue 2015-03-31 15:59:11, Dinh Nguyen wrote: > > > On 3/31/15 3:48 PM, Pavel Machek wrote: > > On Mon 2015-03-30 17:01:18, dingu...@opensource.altera.com wrote: > >> From: Dinh Nguyen > >> > >> commit "07d30b6c3129 arm: socfpga: Sync Cyclone V DK pinmux configuration" > >> incorrectly set the

Re: [U-Boot] [PATCHv3 17/17] arm: socfpga: fix uart0 pin mux configuration

2015-03-31 Thread Dinh Nguyen
On 3/31/15 3:48 PM, Pavel Machek wrote: > On Mon 2015-03-30 17:01:18, dingu...@opensource.altera.com wrote: >> From: Dinh Nguyen >> >> commit "07d30b6c3129 arm: socfpga: Sync Cyclone V DK pinmux configuration" >> incorrectly set the muxing for UART0 on the Cyclone V DK. >> >> This fixes it up so

Re: [U-Boot] [PATCH v2 0/2] rename colibri_t20

2015-03-31 Thread Tom Warren
Marcel, This series applied to u-boot-tegra/next. I'll push an update today or tomorrow to Denx.de. Tom > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Thursday, March 26, 2015 7:15 AM > To: Marcel Ziswiler > Cc: u-boot@lists.denx.de; Marek Vasut; Aksh

Re: [U-Boot] [PATCH v2 0/2] ARM: tegra: pinmux/colibri_t20: fix nand pinmux

2015-03-31 Thread Tom Warren
Marcel, This series applied to u-boot-tegra/next. I'll push an update today or tomorrow to Denx.de. Tom > -Original Message- > From: Marcel Ziswiler [mailto:mar...@ziswiler.com] > Sent: Thursday, March 26, 2015 5:32 PM > To: u-boot@lists.denx.de > Cc: Tom Warren; Albert Aribaud; Tom Rin

Re: [U-Boot] [U-Boot, v2, 2/2] ARM: atmel: armv7: switch to use common timer functions

2015-03-31 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >The commit 8dfafdd (Introduce common timer functions), add common >timer functions, we can use them directly. > >Signed-off-by: Bo Shen >[rebase on current master] >Sigend-off-by: Andreas Bießmann >--- > >Changes in v2: > - correct the timer register for sama5d4.

Re: [U-Boot] ARM: at91: sama5d4: display the U-Boot version on LCD

2015-03-31 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu writes: >This patch will display the U-Boot version on LCD. > >Signed-off-by: Josh Wu >Acked-by: Bo Shen >--- > > board/atmel/sama5d4_xplained/sama5d4_xplained.c | 2 ++ > board/atmel/sama5d4ek/sama5d4ek.c | 2 ++ > 2 files changed, 4 insertions(+) applied to

Re: [U-Boot] [U-Boot, v2, 1/2] ARM: atmel: arm9: switch to use common timer functions

2015-03-31 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Signed-off-by: Bo Shen >[rebase on current master] >Signed-off-by: Andreas Bießmann >--- > >Changes in v2: None > > arch/arm/mach-at91/arm926ejs/timer.c | 59 > > arch/arm/mach-at91/include/mach/at91sam9260.h | 3 ++ > arch/ar

Re: [U-Boot] [PATCH] spl_atmel.c: Switch s_init to board_init_f

2015-03-31 Thread Andreas Bießmann
Dear Tom Rini, Tom Rini writes: >To facilitate changing lowlevel_init to become s_init, move the current >contents of s_init into board_init_f and add the rest of what >board_init_f does here. >In order to compile clean without CONFIG_SKIP_LOWLEVEL_INIT set, leave an >empty stub of s_init(). It c

Re: [U-Boot] arm, at91: corvus: move MACH_TYPE to defconfig

2015-03-31 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >move MACH_TYPE into defconfig > >Signed-off-by: Heiko Schocher >--- > > configs/corvus_defconfig | 2 +- > include/configs/corvus.h | 3 --- > 2 files changed, 1 insertion(+), 4 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andrea

Re: [U-Boot] [U-Boot, v2] ARM: at91: at91sam9n12ek: save the environment to a fat file in MMC card

2015-03-31 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu writes: >Insteading in mmc's raw sectors, this patch will save the environment >in a fat file (uboot.env) in mmc card's first FAT patition by default. > >If you want to save in mmc's raw sectors, you only need to define >CONFIG_ENV_IS_IN_MMC. > >Signed-off-by: Josh Wu >Acke

Re: [U-Boot] [U-Boot,v2,3/4] ARM: atmel: at91sam9x5ek: enable spl support

2015-03-31 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Enable SPL support for at91sam9x5ek board. Now, it supports >boot up from NAND flash and SPI flash. > >Signed-off-by: Bo Shen >--- > >Changes in v2: > - Remove the meaningless prefix "+S:" in configuration file. > > arch/arm/mach-at91/Kconfig |

Re: [U-Boot] [U-Boot,PATCHv2] ARM: at91: atmel_nand: Support flash based BBT

2015-03-31 Thread Andreas Bießmann
Dear David Dueck, David Dueck writes: >Add support for on-flash bad block table. This makes U-Boot handle an existing >BBT correctly. > >Signed-off-by: David Dueck >Reviewed-by: Boris BREZILLON >CC: Boris BREZILLON >CC: Josh Wu >CC: Andreas Bießmann >CC: Scott Wood >Acked-by: Josh Wu >---

Re: [U-Boot] [U-Boot,v2,4/4] ARM: atmel: at91sam9n12ek: enable spl support

2015-03-31 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Enable SPL support for at91sam9n12ek boards, now it supports >boot up from NAND flash, serial flash. > >Signed-off-by: Bo Shen >--- > >Changes in v2: > - Remove the meaningless prefix "+S:" in configuration file. > > arch/arm/mach-at91/Kconfig | 1

Re: [U-Boot] [U-Boot, v2] ARM: at91: sama5: move the common part of configurations to at91-sama5_common.h

2015-03-31 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu writes: >Create a new configuration file: at91-sama5_common.h. Which includes the >configurations that reused by all SAMA5 chips. > >at91-sama5_common.h includes: >- hw macros (clock, text_base and etc.) >- default commands. >- BOOTARGS >- U-Boot common configs. >NOTE: NOR f

Re: [U-Boot] [U-Boot,v2,1/4] ARM: atmel: arm926ejs: fix clock configuration

2015-03-31 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Config MCKR according to the datasheet sequence, or else it >will cause the MCKR configuration failed. > >Remove timeout checking for clock configuration, if configure >the clock failed, let the system hang while not run in wrong >clock configuration. > >Signed-off-

Re: [U-Boot] [U-Boot,v2,2/4] ARM: atmel: at91sam9m10g45ek: enable spl support

2015-03-31 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Supports boot up from NAND flash with software ECC eanbled. >And supports boot up from SD/MMC card with FAT file system. > >As the boot from SD/MMC card with FAT file system, the BSS >segment is too big to fit into SRAM, so, use the lds to put >it into SDRAM. > >Sig

Re: [U-Boot] [PATCH] spl_atmel.c: Switch s_init to board_init_f

2015-03-31 Thread Andreas Bießmann
Dear Tom Rini, Tom Rini writes: >To facilitate changing lowlevel_init to become s_init, move the current >contents of s_init into board_init_f and add the rest of what >board_init_f does here. >In order to compile clean without CONFIG_SKIP_LOWLEVEL_INIT set, leave an >empty stub of s_init(). It c

[U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2015-03-31 Thread Andreas Bießmann
Hi Tom, another pull request for 2015.04 release. Atmel stuff should be fine now for this release. The following changes since commit 662e2acb46250881ec26bc8366fc9eb1856cb7c2: sunxi: UTOO_P66: Add missing MAINTAINERS entry (2015-03-29 14:56:48 +0200) are available in the git repository at:

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

2015-03-31 Thread Tom Rini
On Tue, Mar 31, 2015 at 03:48:34PM +0200, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > The following changes since commit 21866c34a1b4098a8868c9250daf01baf84c2397: > > at91sam9rlek_mmc_defconfig: Add CONFIG_ARCH_AT91=y (2015-03-20 > 10:47:38 -0400) > > are ava

[U-Boot] [ANN] U-Boot v2015.04-rc5 released

2015-03-31 Thread Tom Rini
Hey all, I've pushed v2015.04-rc5 out to the repository and tarballs should exist soon. So we're now about 2 weeks until release. With respect to generic distro framework, it looks to me like there's an outstanding question on if we do, or do not, want to pass console=.. information. And if the

Re: [U-Boot] [PATCH 1/4] ARM: Add ARMv7-M support

2015-03-31 Thread Tom Rini
On Tue, Mar 31, 2015 at 12:06:29AM +0200, Andreas Färber wrote: > Am 05.03.2015 um 16:32 schrieb Tom Rini: > > On Sun, Mar 01, 2015 at 12:44:39PM +0100, Kamil Lulko wrote: > > > >> Signed-off-by: Kamil Lulko > > [snip] > >> diff --git a/arch/arm/lib/crt0.S b/arch/arm/lib/crt0.S > > [snip] > >> @@

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

2015-03-31 Thread Tom Rini
On Wed, Apr 01, 2015 at 01:11:45AM +0200, Andreas Bießmann wrote: > Hi Tom, > > another pull request for 2015.04 release. Atmel stuff should be fine now for > this release. > > The following changes since commit 662e2acb46250881ec26bc8366fc9eb1856cb7c2: > > sunxi: UTOO_P66: Add missing MAINTA

Re: [U-Boot] Pull request: nand flash

2015-03-31 Thread Tom Rini
On Tue, Mar 31, 2015 at 03:59:07PM -0500, Scott Wood wrote: > [resent with Tom's new e-mail address] > > The following changes since commit 662e2acb46250881ec26bc8366fc9eb1856cb7c2: > > sunxi: UTOO_P66: Add missing MAINTAINERS entry (2015-03-29 14:56:48 +0200) > > are available in the git rep

Re: [U-Boot] [PATCH v2 0/17] dm: x86: Convert x86 to use driver model more fully

2015-03-31 Thread Simon Glass
Hi, On 26 March 2015 at 09:29, Simon Glass wrote: > At present x86 does not use driver model for SPI or LPC (low-pin-count, a > bus used to talk to the EC on Chromebooks). > > This series: > - moves the ICH SPI driver over to driver model > - moves the cros_ec LPC driver to driver model > - remov

Re: [U-Boot] [PATCH 5/5 v1] dm: ls1021a: dts: Add QSPI dts node

2015-03-31 Thread Simon Glass
On 24 March 2015 at 07:20, Haikun Wang wrote: > Add QSPI controller dts node in ls1021a.dtsi. > Add QSPI slave device dts node in ls1021a-twr.dts and ls1021a-qds.dts. > > Signed-off-by: Haikun Wang > --- > arch/arm/dts/ls1021a-qds.dts | 14 ++ > arch/arm/dts/ls1021a-twr.dts | 14

Re: [U-Boot] [PATCH 4/5 v1] dm: ls1021a: dts: Update DSPI node to support DM SPI

2015-03-31 Thread Simon Glass
On 24 March 2015 at 07:19, Haikun Wang wrote: > Update DSPI controller node in ls1021a.dtsi. > Update flash device node in ls1021a-qds.dts. > Ls1021a-twr board doesn't support DSPI, so remove DSPI node > in ls1021a-twr.dts. > > Signed-off-by: Haikun Wang > --- > arch/arm/dts/ls1021a-qds.dts | 3

Re: [U-Boot] [PATCH v3] dm: spi: Convert Freescale DSPI driver to driver model

2015-03-31 Thread Simon Glass
On 24 March 2015 at 08:03, Haikun Wang wrote: > Move the Freescale DSPI driver over to driver model. > > Signed-off-by: Haikun Wang > --- > > Changes in v3: > - Coding style cleanup > - Remove cur_slave_plat in structure fsl_dspi_priv > - Change arguments of 'claim_bus' and 'release_bus' > - Remo

Re: [U-Boot] [PATCH 1/6] sandbox: only do sandboxfs for hostfs interface

2015-03-31 Thread Simon Glass
Hi Sjoerd, On 20 February 2015 at 12:22, Simon Glass wrote: > Hi Sjoerd, > > On 19 February 2015 at 15:41, Sjoerd Simons > wrote: >> Only do sandbox filesystem access when using the hostfs device >> interface, rather then falling back to it in all cases. This prevents >> confusion situations due

Re: [U-Boot] [ PATCH] patman: cover letter shows like 00/xx if more than 10 patches

2015-03-31 Thread Simon Glass
Hi Josh, On 30 March 2015 at 19:54, Josh Wu wrote: > Make cover letter shows like 0/x, 00/xx and 000/xxx etc. > > Signed-off-by: Josh Wu > --- This is a quirk of patman that I've grown comfortable with. Still, we should fix it. Thanks for the patch. > > tools/patman/patchstream.py | 9 +++

Re: [U-Boot] [PATCH v1] dm: spi: Convert Freescale QSPI driver to driver model

2015-03-31 Thread Simon Glass
On 23 March 2015 at 17:26, Simon Glass wrote: > On 17 March 2015 at 05:26, Haikun Wang wrote: >> Move the Freescale QSPI driver over to driver model. >> >> Signed-off-by: Haikun Wang >> Signed-off-by: Peng Fan >> --- >> >> This patch adds DM support for FSL QSPI driver. >> Now this driver can s

Re: [U-Boot] [PATCH] x86: minnowmax: add GPIO mapping support

2015-03-31 Thread Simon Glass
Hi Gabriel, On 27 February 2015 at 01:52, Bin Meng wrote: > Hi Gabriel, > > On Fri, Feb 27, 2015 at 3:54 PM, gabriel huau wrote: >> Hi Bin, >> >> >> On 02/26/2015 07:30 PM, Bin Meng wrote: >>> >>> Hi Gabriel, >>> >>> On Thu, Feb 26, 2015 at 12:27 AM, Gabriel Huau >>> wrote: Hi Bin, >>

[U-Boot] [PATCH 1/2] ARM: Add workaround for Cortex-A9 errata 845369

2015-03-31 Thread nitin.garg
From: Nitin Garg Under very rare timing circumstances, transition into streaming mode might create a data corruption. Exists on all Cortex-A9 revisions. Signed-off-by: Nitin Garg --- README |1 + arch/arm/cpu/armv7/start.S |5 + 2 files changed, 6 insertions(+)

[U-Boot] [PATCH 2/2] MX6: Enable ARM errata workaround for 845369

2015-03-31 Thread nitin.garg
From: Nitin Garg Since MX6 is Cortex-A9 r2p10, enable software workaround for errata 845369. Signed-off-by: Nitin Garg --- include/configs/mx6_common.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/mx6_common.h b/include/configs/mx6_common.h index e0528ce..8c0957a 100

Re: [U-Boot] [PATCH v1] dm: spi: Convert Freescale QSPI driver to driver model

2015-03-31 Thread haikun.w...@freescale.com
On 4/1/2015 10:26 AM, Simon Glass wrote: > On 23 March 2015 at 17:26, Simon Glass wrote: >> On 17 March 2015 at 05:26, Haikun Wang wrote: >>> Move the Freescale QSPI driver over to driver model. >>> >>> Signed-off-by: Haikun Wang >>> Signed-off-by: Peng Fan >>> --- >>> >>> This patch adds DM su

Re: [U-Boot] [PATCH v2] MAKEALL: fix get_target_arch() to adjust to '-' in Status field

2015-03-31 Thread Simon Glass
Hi Masahiro, On 30 March 2015 at 05:59, Masahiro Yamada wrote: > Since the Kconfig conversion, boards.cfg scanned by MAKEALL is > generated by tools/genboardscfg.py. Every board is supposed to have > its own MAINTAINERS that contains maintainer and status information, > but, in fact, MAINTAINERS

Re: [U-Boot] [PATCH v4 0/2] ARM: mx5: add support for USB armory board

2015-03-31 Thread Chris Kuethe
Any chance of this being accepted into 2015.04? On Thu, Mar 26, 2015 at 3:28 PM, Chris Kuethe wrote: > On Thu, Mar 26, 2015 at 3:23 PM, Andrej Rosano wrote: > >> Please note that the patch is prepared against imx tree and not the >> mainline one, where the "arch/board approach" is not yet merged

Re: [U-Boot] [ PATCH] patman: cover letter shows like 00/xx if more than 10 patches

2015-03-31 Thread Josh Wu
Hi, Simon On 4/1/2015 10:04 AM, Simon Glass wrote: Hi Josh, On 30 March 2015 at 19:54, Josh Wu wrote: Make cover letter shows like 0/x, 00/xx and 000/xxx etc. Signed-off-by: Josh Wu --- This is a quirk of patman that I've grown comfortable with. Still, we should fix it. Thanks for the patc

[U-Boot] [PATCH v2] dm: spi: Convert Freescale QSPI driver to driver model

2015-03-31 Thread Haikun Wang
Move the Freescale QSPI driver over to driver model. Signed-off-by: Haikun Wang Signed-off-by: Peng Fan --- Changes in v2: - Fix build fail on mx6sxsabresd_spl issue - Add configure regmap endian in NO-DM model Changes in v1: None. drivers/spi/fsl_qspi.c | 985 +++

Re: [U-Boot] [PATCH v2 02/17] dm: x86: spi: Convert ICH SPI driver to driver model

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > Convert this driver over to use driver model. Since all x86 platforms use > it, move x86 to use driver model for SPI and SPI flash. Adjust all dependent > code and remove the old x86 spi_init() function. > > Note that this does not make full use of t

Re: [U-Boot] [PATCH v2 01/17] dm: sf: Add driver model read/write/erase methods

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > Permit use of a udevice to talk to SPI flash. Ultimately we would like > to retire the use of 'struct spi_flash' for this purpose, so create the > new API for those who want to move to it. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None

Re: [U-Boot] [PATCH v2 04/17] dm: x86: Add a uclass for an Low Pin Count (LPC) device

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > On x86 systems this device is commonly used to provide legacy port access. > It is sort-of a replacement for the old ISA bus. > > Add a uclass for this, and allow it to have child devices. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None

Re: [U-Boot] [PATCH v2 03/17] dm: x86: Add a uclass for a Platform Controller Hub

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > Add a simple uclass for this chip which is often found in x86 systems > where the CPU is a separate device. > > The device can have children, so make it scan the device tree for these. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > >

Re: [U-Boot] [PATCH v2 05/17] x86: chromebook_link: dts: Add PCH and LPC devices

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > The PCH (Platform Controller Hub) is on the PCI bus, so show it as such. > The LPC (Low Pin Count) and SPI bus are inside the PCH, so put these in the > right place also. > > Rename the compatible strings to be more descriptive since this board is th

Re: [U-Boot] [PATCH v2 06/17] dm: cros_ec: Convert cros_ec LPC driver to driver model

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > This is the last driver to be converted. It requires an LPC bus and a > special check_version() method. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Support pre-driver-model too so we can rebase on dm/next > > configs/chromebook_link

Re: [U-Boot] [PATCH v2 07/17] cros_ec: Reinit the cros_ec device when 'crosec init' is used

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > This command is supposed to reinit the device. At present with driver > model is does nothing. Implement this feature. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/misc/cros_ec.c | 10 -- > 1 file changed, 8 inse

Re: [U-Boot] [PATCH v2 08/17] cros_ec: Drop unused CONFIG_DM_CROS_EC

2015-03-31 Thread Simon Glass
On 26 March 2015 at 09:29, Simon Glass wrote: > Since all supported boards enable this option now, we can remove it along > with the old code. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/sandbox/Kconfig | 3 - > board/samsung/smdk5420/Kconfig | 6 -- > com

  1   2   >