Re: [U-Boot] [PATCH] i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail)

2016-08-05 Thread Heiko Schocher
Hello Bin, Am 05.08.2016 um 07:46 schrieb Bin Meng: Simon, Stefan, On Tue, Jul 26, 2016 at 8:13 PM, Stefan Roese wrote: Hi Simon, On 25.07.2016 04:07, Simon Glass wrote: On 28 June 2016 at 07:44, Stefan Roese wrote: This patch adds support for the SMBus block read/write functionality. O

Re: [U-Boot] [PATCH] i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail)

2016-08-05 Thread Stefan Roese
On 05.08.2016 09:10, Heiko Schocher wrote: Hello Bin, Am 05.08.2016 um 07:46 schrieb Bin Meng: Simon, Stefan, On Tue, Jul 26, 2016 at 8:13 PM, Stefan Roese wrote: Hi Simon, On 25.07.2016 04:07, Simon Glass wrote: On 28 June 2016 at 07:44, Stefan Roese wrote: This patch adds support for

Re: [U-Boot] [PATCH v6 01/12] clk: Use dummy clk_get_by_* functions when CONFIG_CLK is disabled

2016-08-05 Thread Paul Burton
On 05/08/16 02:36, Simon Glass wrote: Hi Paul, On 4 August 2016 at 04:29, Paul Burton wrote: The implementations of clk_get_by_index & clk_get_by_name are only available when CONFIG_CLK is enabled. Provide the dummies when this is not the case in order to avoid build failures. Where are th

Re: [U-Boot] [PATCH] arc: Rename AXS101 board to more generic AXS10x

2016-08-05 Thread Alexey Brodkin
Hi Tom, On Thu, 2016-08-04 at 11:02 -0400, Tom Rini wrote: > On Thu, Aug 04, 2016 at 03:14:34PM +0300, Alexey Brodkin wrote: > > > > > As of now we have 2 flavors of ARC SDP boards: > >  1) AXS101 - with ARC770 in ASIC > >  2) AXS103 - with ARC HS38 in FPGA > > > > Both options share exactly th

[U-Boot] Please pull ARC changes

2016-08-05 Thread Alexey Brodkin
Hi Tom, Please pull latest ARC changes. These changes are mostly maintenance and minor cleanup. In particular:  * ARCangel4 boards renamed to nSIM since AA4 is long gone    and only simulation platform exists now.  * AXS101 board finally got renamed to generic AXS10X because    it is used in 2 re

Re: [U-Boot] [PATCH] arc: Update exception & interrupt handling for ARCv2

2016-08-05 Thread Alexey Brodkin
Hi! On Thu, 2016-08-04 at 14:09 +0300, Alexey Brodkin wrote: > Initially IVT for ARCv2 was simply copypasted from ARCompact > with some selected fixes so basic stuff works. > > Now we update it with more ARCv2 specific vectors like >  * Software Interrupt >  * Division by zero >  * Data cache con

Re: [U-Boot] [PATCH] arc: Add debug messages during relocation fixups

2016-08-05 Thread Alexey Brodkin
Hi, On Thu, 2016-08-04 at 14:08 +0300, Alexey Brodkin wrote: > This might be useful to make sure relocation fixups really > happen. And since this info gets printed only in DEBUG > build it doesn't really hurt normal execution. > > Signed-off-by: Alexey Brodkin Applied, Thanks! -Alexey ___

Re: [U-Boot] [PATCH] arc: Rename AXS101 board to more generic AXS10x

2016-08-05 Thread Alexey Brodkin
Hi! On Thu, 2016-08-04 at 15:14 +0300, Alexey Brodkin wrote: > As of now we have 2 flavors of ARC SDP boards: >  1) AXS101 - with ARC770 in ASIC >  2) AXS103 - with ARC HS38 in FPGA > > Both options share exactly the same base-board and only differ with > CPU-tiles in use. That means all peripher

Re: [U-Boot] [PATCH] arc: No need in sections defined in sources with newer tools

2016-08-05 Thread Alexey Brodkin
Hi! On Thu, 2016-08-04 at 14:09 +0300, Alexey Brodkin wrote: > Starting from arc-2016.03 GNU tools linker properly works with > symbols defined in linker script and so external declarations > are no longer required, dump them. > > Signed-off-by: Alexey Brodkin Applied, Thanks! -Alexey

Re: [U-Boot] [PATCH] arc: Rename ARCangel4 board to nSIM

2016-08-05 Thread Alexey Brodkin
Hi! On Thu, 2016-08-04 at 14:51 +0300, Alexey Brodkin wrote: > ARCangel was one of the main development boards back in the day but > now it's gone and replaced by other boards like ARC SDP. > > But we also used to have simulation platform very similar to ARCangel4 > in terms of CPU settings as we

[U-Boot] [PATCH] Please pull u-boot-mmc

2016-08-05 Thread Jaehoon Chung
Hi Tom, Here is the mmc updates. There are patches relevant to DM and pending patches. Could you pull these patch to u-boot/master? Best Regards Jaehoon Chung The following changes since commit e1efe43c710bec8d951c25f163cc8b0c5eb92294: powerpc/86xx: Increase boot map size to 256 MiB (2016-08-

[U-Boot] ext4 write support and big-endian machines

2016-08-05 Thread Michael Walle
Hi Tom, Uma and all, there doesn't seem to be a dedicated filesystem maintainer, but I've included the original committer for the ext4 write support. I guess the ext4 write support does not work on big-endian machines. As far as I see, almost no fields of the ext4 structures within the write

Re: [U-Boot] ext4 write support and big-endian machines

2016-08-05 Thread Michael Walle
Am 2016-08-05 14:06, schrieb Michael Walle: Hi Tom, Uma and all, there doesn't seem to be a dedicated filesystem maintainer, but I've included the original committer for the ext4 write support. Hm, no Uma :( : host mailin.samsung.com[203.254.224.12] said: 550 5.1.1 Recipient address rejected

[U-Boot] [PATCH] pxe: Fix pxe boot with FIT image

2016-08-05 Thread Wenbin song
From: York Sun When FIT image is used, a single image provides kernel, device tree and optionally ramdisk. Argc and argv need to be adjusted to support this. Signed-off-by: York Sun --- cmd/pxe.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cmd/pxe.c b/cmd/pxe.c

[U-Boot] [PATCH] armv8: ls1012a: Updating CONFIG_EXTRA_ENV_SETTINGS

2016-08-05 Thread Pratiyush Mohan Srivastava
Remove ramdisk_addr, ramdisk_size and update UART baud-rate. Signed-off-by: Prabhakar Kushwaha Signed-off-by: Pratiyush Mohan Srivastava --- include/configs/ls1012a_common.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/configs/ls1012a_common.h b/include/configs

[U-Boot] [PATCH][v2] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS

2016-08-05 Thread Pratiyush Mohan Srivastava
From: Prabhakar Kushwaha LS1012AFRDM has 512MB of DDR. So update Kernel load address as 0x9600 instead of default 0xa000. Signed-off-by: Prabhakar Kushwaha Signed-off-by: Pratiyush Mohan Srivastava --- Changes for v2: Incorporated York's comments - Removed ramdisk_addr, ramdisk

[U-Boot] [PATCH] efi_loader: disk: Fix CONFIG_BLK breakage

2016-08-05 Thread Alexander Graf
When using CONFIG_BLK, there were 2 issues: 1) The name we generate the device with has to match the name we set in efi_set_bootdev() 2) The device we pass into our block functions was wrong, we should not rediscover it but just use the already known pointer. This patch fixes

[U-Boot] U-Boot Nor Flash Page Read Mode

2016-08-05 Thread yyurtcan
Hi, I have p4080ds demo board. I am using u-boot as a bootloader. I want to change NOR Flash read access mode from standart mode to page mode. How can I do that? Best Regards. -- View this message in context: http://u-boot.10912.n7.nabble.com/U-Boot-Nor-Flash-Page-Read-Mode-tp263460.html Sent

[U-Boot] [PATCH] efi_loader: disk: Sanitize exposed devices

2016-08-05 Thread Alexander Graf
When a target device is 0 bytes long, there's no point in exposing it to the user. Let's just skip them. Also, when an offset is passed into the efi disk creation, we should remove this offset from the total number of sectors we can handle. This patch fixes both things. Signed-off-by: Alexander

Re: [U-Boot] [PATCH 3/7] net/ethoc: add CONFIG_DM_ETH support

2016-08-05 Thread Max Filippov
On Thu, Aug 4, 2016 at 8:51 PM, Joe Hershberger wrote: > On Tue, Aug 2, 2016 at 6:31 AM, Max Filippov wrote: >> Extract reusable parts from ethoc_init, ethoc_set_mac_address, >> ethoc_send and ethoc_receive, move the rest under #ifdef CONFIG_DM_ETH. >> Add U_BOOT_DRIVER, eth_ops structure and imp

Re: [U-Boot] [PATCH 7/7] net/ethoc: implement MDIO bus and support phylib

2016-08-05 Thread Max Filippov
On Thu, Aug 4, 2016 at 11:48 PM, Joe Hershberger wrote: > On Tue, Aug 2, 2016 at 6:31 AM, Max Filippov wrote: >> Implement MDIO bus read/write functions, initialize the bus and scan for >> the PHY when phylib is enabled. Limit PHY speeds to 10/100 Mbps. >> >> Cc: Michal Simek >> Signed-off-by: M

Re: [U-Boot] An anomaly in image booting code

2016-08-05 Thread Simon Glass
Hi Andy, On 5 August 2016 at 08:27, Champ, Andy wrote: > In common/bootm.c there's a function do_bootm_states. Among other things this > sets the global variable images->states to the supplied states. If those > states include the flag BOOTM_START it then calls a function bootm_start, > which

[U-Boot] [PATCH v2 0/7] net/ethoc improvements

2016-08-05 Thread Max Filippov
Hello, this series does the following improvements to the OpenCores 10/100 Mbps driver: - add Kconfig symbol for the driver; - add DM_ETH support; - add device tree support; - add optional phylib support; - add support for configurations with private packet memory; - clean up virtual/physical addr

[U-Boot] [PATCH v2 6/7] net/ethoc: support private memory configurations

2016-08-05 Thread Max Filippov
The ethoc device can be configured to have a private memory region instead of having access to the main memory. In that case egress packets must be copied into that memory for transmission and pointers to that memory need to be passed to net_process_received_packet or returned from the recv callbac

[U-Boot] [PATCH v2 1/7] net/ethoc: add Kconfig entry for the driver

2016-08-05 Thread Max Filippov
Add Kconfig entry for the driver, remove #define CONFIG_ETHOC from the only board configuration that uses it and put it into that board's defconfig. Cc: Stefan Kristiansson Signed-off-by: Max Filippov Acked-by: Joe Hershberger --- configs/openrisc-generic_defconfig | 2 ++ drivers/net/Kconfig

[U-Boot] [PATCH v2 7/7] net/ethoc: implement MDIO bus and support phylib

2016-08-05 Thread Max Filippov
Implement MDIO bus read/write functions, initialize the bus and scan for the PHY when phylib is enabled. Limit PHY speeds to 10/100 Mbps. Cc: Michal Simek Signed-off-by: Max Filippov --- Changes v1->v2: - use wait_for_bit in ethoc_mdio_read/ethoc_mdio_write; - remove stray ioremap removal. dri

[U-Boot] [PATCH v2 2/7] net/ethoc: use priv instead of dev internally

2016-08-05 Thread Max Filippov
Don't use physical base address of registers directly, ioremap it first. Save pointer in private struct ethoc and use that struct in all internal functions. Signed-off-by: Max Filippov Acked-by: Joe Hershberger --- drivers/net/ethoc.c | 111 ++--

[U-Boot] [PATCH v2 3/7] net/ethoc: add CONFIG_DM_ETH support

2016-08-05 Thread Max Filippov
Extract reusable parts from ethoc_init, ethoc_set_mac_address, ethoc_send and ethoc_receive, move the rest under #ifdef CONFIG_DM_ETH. Add U_BOOT_DRIVER, eth_ops structure and implement required methods. Signed-off-by: Max Filippov Reviewed-by: Simon Glass Acked-by: Joe Hershberger --- Changes

[U-Boot] [PATCH v2 4/7] net/ethoc: support device tree

2016-08-05 Thread Max Filippov
Add .of_match table and .ofdata_to_platdata callback to allow for ethoc device configuration from the device tree. Signed-off-by: Max Filippov Acked-by: Joe Hershberger --- drivers/net/ethoc.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/net/ethoc.c b/drivers/net

[U-Boot] [PATCH v2 5/7] net/ethoc: don't mix virtual and physical addresses

2016-08-05 Thread Max Filippov
Addresses used in buffer descriptors and passed in platform data or device tree are physical. Addresses used by CPU to access packet data and registers are virtual. Don't mix these addresses and use virt_to_phys for translation. Signed-off-by: Max Filippov Acked-by: Joe Hershberger --- drivers/

[U-Boot] [PATCH 2/2 RESEND] fdt: allow fdtdec_get_addr_size_*() to translate addresses

2016-08-05 Thread Stephen Warren
From: Stephen Warren Some code may want to read reg values from DT, but from nodes that aren't associated with DM devices, so using dev_get_addr_index() isn't appropriate. In this case, fdtdec_get_addr_size_*() are the functions to use. However, "translation" (via the chain of ranges properties i

[U-Boot] [PATCH 1/2 RESEND] fdt_support: fdt_translate_address() blob const correctness

2016-08-05 Thread Stephen Warren
From: Stephen Warren The next patch will call fdt_translate_address() from somewhere with a "const void *blob" rather than a "void *blob", so fdt_translate_address() must accept a const pointer too. Constify the minimum number of function parameters to achieve this. Signed-off-by: Stephen Warren

Re: [U-Boot] [PATCH] ARM: tegra: add IVC protocol implementation

2016-08-05 Thread Stephen Warren
On 08/04/2016 07:36 PM, Simon Glass wrote: Hi Stephen, On 25 July 2016 at 13:57, Stephen Warren wrote: On 07/22/2016 08:08 PM, Simon Glass wrote: Hi Stephen, On 18 July 2016 at 12:17, Stephen Warren wrote: From: Stephen Warren IVC (Inter-VM Communication) protocol is a Tegra-specific I

Re: [U-Boot] [PATCH] i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail)

2016-08-05 Thread George McCollister
On Tue, Jun 28, 2016 at 8:44 AM, Stefan Roese wrote: > This patch adds support for the SMBus block read/write functionality. > Other protocols like the SMBus quick command need to get added > if this is needed. > > This patch also removed the SMBus related defines from the Ivybridge > pch.h header

Re: [U-Boot] [PATCH 2/4] ARM: AM57xx: Disable non-FIT based image loading for HS devices

2016-08-05 Thread Andrew F. Davis
On 08/03/2016 09:27 PM, Simon Glass wrote: > Hi Tom, > > On 3 August 2016 at 19:48, Tom Rini wrote: >> On Wed, Aug 03, 2016 at 07:16:12PM -0600, Simon Glass wrote: >>> Hi Andrew, >>> >>> On 1 August 2016 at 09:30, Andrew F. Davis wrote: Disable support for loading non-FIT images for AM57xx

Re: [U-Boot] [PATCH 5/9] clock: add Tegra186 clock driver

2016-08-05 Thread Stephen Warren
On 08/04/2016 07:36 PM, Simon Glass wrote: Hi Stephen, On 1 August 2016 at 09:46, Stephen Warren wrote: On 07/31/2016 07:02 PM, Simon Glass wrote: Hi Stephen, On 27 July 2016 at 15:24, Stephen Warren wrote: From: Stephen Warren In Tegra186, on-SoC clocks are manipulated using IPC reque

[U-Boot] [PATCH] arm: omap5: am57/dra7: Fix SRAM_SCRATCH_SPACE_ADDR and SRAM_ROM_VECT_BASE

2016-08-05 Thread Andrew Bradford
From: Andrew Bradford Both am57xx and dra7xx have 512 kiB of SRAM and the mapping within that SRAM is the same as omap5 (which has only 128 kiB) except for a much larger "Download image" area. So, fix am57xx and dra7xx location for SRAM_SCRATCH_SPACE_ADDR to mimmic omap5's locating of this area

Re: [U-Boot] [PATCH] armv8: ls1012a: Updating CONFIG_EXTRA_ENV_SETTINGS

2016-08-05 Thread york sun
On 08/05/2016 02:47 AM, Pratiyush Mohan Srivastava wrote: > Remove ramdisk_addr, ramdisk_size and update UART baud-rate. > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Pratiyush Mohan Srivastava > --- > include/configs/ls1012a_common.h | 4 +--- > 1 file changed, 1 insertion(+), 3 deleti

[U-Boot] An anomaly in image booting code

2016-08-05 Thread Champ, Andy
In common/bootm.c there's a function do_bootm_states. Among other things this sets the global variable images->states to the supplied states. If those states include the flag BOOTM_START it then calls a function bootm_start, which then memset-s the whole of state to zero before setting the flag

[U-Boot] [PATCH V3 3/6] clock: add Tegra186 clock driver

2016-08-05 Thread Stephen Warren
From: Stephen Warren In Tegra186, on-SoC clocks are manipulated using IPC requests to the BPMP (Boot and Power Management Processor). This change implements a driver that does that. A tegra/ sub-directory is created to follow the existing pattern. It is unconditionally selected by CONFIG_TEGRA186

[U-Boot] [PATCH V3 1/6] misc: add "call" uclass op

2016-08-05 Thread Stephen Warren
From: Stephen Warren The call op requests that the callee pass a message to the underlying HW or device, wait for a response, and then pass back the response error code and message to the callee. It is useful for drivers that represent some kind of messaging or IPC channel to a remote device. Si

[U-Boot] [PATCH V3 5/6] power domain: add Tegra186 driver

2016-08-05 Thread Stephen Warren
From: Stephen Warren In Tegra186, SoC power domains are manipulated using IPC requests to the BPMP (Boot and Power Management Processor). This change implements a driver that does that. Signed-off-by: Stephen Warren --- v3: Use misc class call op. v2: This patch wasn't posted. --- drivers/powe

[U-Boot] [PATCH V3 2/6] misc: add Tegra BPMP driver

2016-08-05 Thread Stephen Warren
From: Stephen Warren The Tegra BPMP (Boot and Power Management Processor) is a separate auxiliary CPU embedded into Tegra to perform power management work, and controls related features such as clocks, resets, power domains, PMIC I2C bus, etc. This driver provides the core low-level communication

[U-Boot] [PATCH V3 6/6] i2c: add Tegra186 BPMP driver

2016-08-05 Thread Stephen Warren
From: Stephen Warren On Tegra186, some I2C controllers are directly controlled by the main CPU, whereas others are controlled by the BPMP, and can only be accessed by the main CPU via IPC requests to the BPMP. This driver covers the latter case. Signed-off-by: Stephen Warren Reviewed-by: Simon

[U-Boot] [PATCH V3 4/6] reset: add Tegra186 reset driver

2016-08-05 Thread Stephen Warren
From: Stephen Warren In Tegra186, on-SoC reset signals are manipulated using IPC requests to the BPMP (Boot and Power Management Processor). This change implements a driver that does that. It is unconditionally selected by CONFIG_TEGRA186 since virtually any Tegra186 build of U-Boot will need the

Re: [U-Boot] [PATCH] armv8: ls1012a: Updating CONFIG_EXTRA_ENV_SETTINGS

2016-08-05 Thread Edward L Swarthout
From: york sun: > On 08/05/2016 02:47 AM, Pratiyush Mohan Srivastava wrote: >> Remove ramdisk_addr, ramdisk_size and update UART baud-rate. >> ... >> +++ b/include/configs/ls1012a_common.h ... >> - "ramdisk_addr=0x80\0"   \ >> - "ramdisk_size=0x200\0"  \ >>  

Re: [U-Boot] [PATCH v2 7/7] net/ethoc: implement MDIO bus and support phylib

2016-08-05 Thread Joe Hershberger
On Fri, Aug 5, 2016 at 10:26 AM, Max Filippov wrote: > Implement MDIO bus read/write functions, initialize the bus and scan for > the PHY when phylib is enabled. Limit PHY speeds to 10/100 Mbps. > > Cc: Michal Simek > Signed-off-by: Max Filippov Acked-by: Joe Hershberger __

[U-Boot] Pull request, u-boot-tegra/master

2016-08-05 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! All Tegra builds are OK, and Stephen's automated test system reports that all tests pass. The following changes since commit e1efe43c710bec8d951c25f163cc8b0c5eb92294: powerpc/86xx: Increase boot map size to 256 MiB (2016-08-03 1

Re: [U-Boot] [PATCH][v2] board: ls1012afrdm: overwrite CONFIG_EXTRA_ENV_SETTINGS

2016-08-05 Thread york sun
On 08/05/2016 02:47 AM, Pratiyush Mohan Srivastava wrote: > From: Prabhakar Kushwaha > > LS1012AFRDM has 512MB of DDR. > So update Kernel load address as 0x9600 instead of default > 0xa000. > > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Pratiyush Mohan Srivastava > --- > Changes

[U-Boot] [PATCH] zynq_sdhci.c: Fix warning in arasan_sdhci_probe

2016-08-05 Thread Tom Rini
We no longer need to set 'caps' as it's not passed to sdhci_setup_cfg anymore. Fixes: 14bed52d276a ("mmc: sdhci: remove the unnecessary arguments for sdhci_setup_cfg") Signed-off-by: Tom Rini --- drivers/mmc/zynq_sdhci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/driver

Re: [U-Boot] [PATCH] arm: omap5: am57/dra7: Fix SRAM_SCRATCH_SPACE_ADDR and SRAM_ROM_VECT_BASE

2016-08-05 Thread Tom Rini
On Fri, Aug 05, 2016 at 12:14:23PM -0400, Andrew Bradford wrote: > From: Andrew Bradford > > Both am57xx and dra7xx have 512 kiB of SRAM and the mapping within that > SRAM is the same as omap5 (which has only 128 kiB) except for a much > larger "Download image" area. So, fix am57xx and dra7xx l

[U-Boot] [PATCH V2 2/3] pci: tegra: port to standard clock/reset/pwr domain APIs

2016-08-05 Thread Stephen Warren
From: Stephen Warren Tegra186 supports the new standard clock, reset, and power domain APIs. Older Tegra SoCs still use custom APIs. Enhance the Tegra PCIe driver so that it can operate with either set of APIs. On Tegra186, the BPMP handles all aspects of PCIe PHY (UPHY) programming. Consequentl

[U-Boot] [PATCH V2 3/3] i2c: tegra: add standardized clk/reset API support

2016-08-05 Thread Stephen Warren
From: Bryan Wu clk/reset API was tested on T186 platform and previous chip like T210/T124 will still use the old APIs. Signed-off-by: Bryan Wu (swarren, simplified some ifdefs, removed indent level inside an ifdef) (swarren, added comment about the ifdefs) Signed-off-by: Stephen Warren --- v2:

[U-Boot] [PATCH V2 1/3] mmc: tegra: port to standard clock/reset APIs

2016-08-05 Thread Stephen Warren
From: Stephen Warren Tegra186 supports the new standard clock and reset APIs. Older Tegra SoCs still use custom APIs. Enhance the Tegra MMC driver so that it can operate with either set of APIs. Signed-off-by: Stephen Warren --- v2: Add TODO comment describing the messy ifdefs. --- arch/arm/in

[U-Boot] [PATCH v3 1/6] xtensa: add support for the xtensa processor architecture [1/2]

2016-08-05 Thread Max Filippov
From: Chris Zankel The Xtensa processor architecture is a configurable, extensible, and synthesizable 32-bit RISC processor core provided by Cadence. This is the first part of the basic architecture port with changes to common files. The 'arch/xtensa' directory, and boards and additional drivers

[U-Boot] [PATCH v3 0/6] U-Boot port to Xtensa architecture

2016-08-05 Thread Max Filippov
Hello, this series adds U-Boot port to Xtensa, configurable processor architecture from Tensilica, Inc., now Cadence Design Systems Inc. Two patches add proper xtensa bits: changes to shares files and contents of arch/xtensa. Next three patches add three sample xtensa CPU configurations: one with

[U-Boot] [PATCH v3 3/6] xtensa: add core information for the dc232b processor

2016-08-05 Thread Max Filippov
From: Chris Zankel DC232B is an xtensa processor with full MMUv2 capable of running Linux. Core information files are autogenerated from the processor description and are not meant to be edited. Signed-off-by: Chris Zankel Signed-off-by: Max Filippov --- Changes v2->v3: - fix core configuratio

[U-Boot] [PATCH v3 2/6] xtensa: add support for the xtensa processor architecture [2/2]

2016-08-05 Thread Max Filippov
From: Chris Zankel The Xtensa processor architecture is a configurable, extensible, and synthesizable 32-bit RISC processor core provided by Tensilica, inc. This is the second part of the basic architecture port, adding the 'arch/xtensa' directory and a readme file. Signed-off-by: Chris Zankel

[U-Boot] [PATCH v3 4/6] xtensa: add core information for the dc233c processor

2016-08-05 Thread Max Filippov
DC233C is an xtensa processor with full MMUv3 capable of running Linux. Core information files are autogenerated from the processor description and are not meant to be edited. Signed-off-by: Max Filippov --- Changes v2->v3: - fix core configuration files license; - add comment that core configura

[U-Boot] [PATCH v3 5/6] xtensa: add core information for the de212 processor

2016-08-05 Thread Max Filippov
DE212 is a general purpose xtensa processor without full MMU. Core information files are autogenerated from the processor description and are not meant to be edited. Signed-off-by: Max Filippov --- Changes v2->v3: - fix core configuration files license; - add comment that core configuration files

[U-Boot] [PATCH v3 6/6] xtensa: add support for the 'xtfpga' evaluation board

2016-08-05 Thread Max Filippov
From: Chris Zankel The 'xtfpga' board is actually a set of FPGA evaluation boards that can be configured to run an Xtensa processor. - Avnet Xilinx LX60 - Avnet Xilinx LX110 - Avnet Xilinx LX200 - Xilinx ML605 - Xilinx KC705 These boards share the same components (open-ethernet, ns16550 se

Re: [U-Boot] [PATCH] Bug in cbfs

2016-08-05 Thread Bin Meng
Hi Yaroslav, On Fri, Jul 22, 2016 at 6:21 PM, Yaroslav K. wrote: > cbfs: Fix incorrect CBFS file header size being used Please make this the email title of this patch. > > This fixes incorrect filenames in cbfsls output. > > Signed-off-by: Yaroslav K. > --- > fs/cbfs/cbfs.c | 6 +++--- > 1 fi

Re: [U-Boot] [PATCH] x86: bayleybay: Add PS/2 keyboard and mouse to ASL file

2016-08-05 Thread Bin Meng
On Thu, Aug 4, 2016 at 9:16 AM, Simon Glass wrote: > On 1 August 2016 at 21:53, Bin Meng wrote: >> Without PS/2 keyboard and mouse in the ASL file, Windows does not >> see them. No problem for Linux as it probes keyboard and mouse via >> the legacy 8042 I/O port. >> >> Signed-off-by: Bin Meng >>

Re: [U-Boot] [PATCH v2] SPL: tiny-printf: avoid any BSS usage

2016-08-05 Thread Simon Glass
Hi, On 9 July 2016 at 11:27, André Przywara wrote: > On 09/07/16 15:38, Simon Glass wrote: >> On 8 July 2016 at 08:18, Andre Przywara wrote: >>> As printf calls may be executed quite early, we should avoid using any >>> BSS stored variables, since some boards put BSS in DRAM, which may not >>> h

Re: [U-Boot] [PATCH] Please pull u-boot-mmc

2016-08-05 Thread Tom Rini
On Fri, Aug 05, 2016 at 09:00:17PM +0900, Jaehoon Chung wrote: > Hi Tom, > > Here is the mmc updates. There are patches relevant to DM and pending patches. > Could you pull these patch to u-boot/master? > > Best Regards > Jaehoon Chung > > The following changes since commit e1efe43c710bec8d951c

Re: [U-Boot] Pull request, u-boot-tegra/master

2016-08-05 Thread Tom Rini
On Fri, Aug 05, 2016 at 10:26:44AM -0700, Tom Warren wrote: > Tom, > > Please pull u-boot-tegra/master into U-Boot/master. Thanks! > > All Tegra builds are OK, and Stephen's automated test system reports that > all tests pass. > > The following changes since commit e1efe43c710bec8d951c25f163cc8

Re: [U-Boot] [PATCH] zynq_sdhci.c: Fix warning in arasan_sdhci_probe

2016-08-05 Thread Tom Rini
On Fri, Aug 05, 2016 at 05:43:03PM -0400, Tom Rini wrote: > We no longer need to set 'caps' as it's not passed to sdhci_setup_cfg > anymore. > > Fixes: 14bed52d276a ("mmc: sdhci: remove the unnecessary arguments for > sdhci_setup_cfg") > Signed-off-by: Tom Rini Applied to u-boot/m

Re: [U-Boot] [PATCH] ARM: Rework and correct barrier definitions

2016-08-05 Thread Tom Rini
On Mon, Aug 01, 2016 at 06:54:53PM -0400, Tom Rini wrote: > As part of testing booting Linux kernels on Rockchip devices, it was > discovered by Ziyuan Xu and Sandy Patterson that we had multiple and for > some cases incomplete isb definitions. This was causing a failure to > boot of the Linux ke

Re: [U-Boot] [U-Boot, v2, 3/8] tools: moveconfig: trim garbage lines after header cleanups

2016-08-05 Thread Tom Rini
On Mon, Jul 25, 2016 at 07:15:24PM +0900, Masahiro Yamada wrote: > The tools/moveconfig.py has a feature to cleanup #define/#undef's > of moved config options, but I want this tool to do a better job. > > For example, when we are moving CONFIG_FOO and its define is > surrounded by #ifdef ... #end

Re: [U-Boot] [U-Boot, v2, 1/8] tools: moveconfig: do not cleanup headers in include/generated

2016-08-05 Thread Tom Rini
On Mon, Jul 25, 2016 at 07:15:22PM +0900, Masahiro Yamada wrote: > The files in include/generated are generated during build and removed > by "make mrproper", so it has no point to touch them by this tool. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Tom Rini Applied to u-boot/master, tha

Re: [U-Boot] [U-Boot, v2, 4/8] tools: moveconfig: show result of header cleaning in unified diff

2016-08-05 Thread Tom Rini
On Mon, Jul 25, 2016 at 07:15:25PM +0900, Masahiro Yamada wrote: > The header cleanup feature of this tool now removes empty ifdef's, > successive blank lines as well as moved option defines. So, we > want to see a little more context to check which lines were deleted. > > It is true that we can

Re: [U-Boot] [U-Boot, v2, 2/8] tools: moveconfig: do not check clean tree and compilers for -H option

2016-08-05 Thread Tom Rini
On Mon, Jul 25, 2016 at 07:15:23PM +0900, Masahiro Yamada wrote: > The clean tree (make mrproper) and compilers are required when moving > config options, but not needed when we only cleanup headers. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Tom Rini Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot, 1/1] ext4: Refuse to mount filesystems with 64bit feature set

2016-08-05 Thread Tom Rini
On Fri, Jul 22, 2016 at 05:59:11PM -0400, Tom Rini wrote: > With e2fsprogs after 1.43 the 64bit and metadata_csum features are > enabled by default. The metadata_csum feature changes how > ext4_group_desc->bg_checksum is calculated, which would break write > support. The 64bit feature however in

Re: [U-Boot] [U-Boot, v2, 5/8] tools: moveconfig: show diffs of cleaned headers in color

2016-08-05 Thread Tom Rini
On Mon, Jul 25, 2016 at 07:15:26PM +0900, Masahiro Yamada wrote: > Show code diff in color if --color option is given. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, v2, 6/8] tools: moveconfig: fix cleanup of defines across multiple lines

2016-08-05 Thread Tom Rini
On Mon, Jul 25, 2016 at 07:15:27PM +0900, Masahiro Yamada wrote: > Correct the clean-up of such defines that continue across multiple > lines, like follows: > > #define CONFIG_FOO "this continues to the next line " \ > "this line should be removed too" \ > "this line should

Re: [U-Boot] [U-Boot, v2, 7/8] tools: moveconfig: make getting all defconfigs into helper function

2016-08-05 Thread Tom Rini
On Mon, Jul 25, 2016 at 07:15:28PM +0900, Masahiro Yamada wrote: > I want to reuse this routine in the next commit. > > Signed-off-by: Masahiro Yamada > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v2, 8/8] tools: moveconfig: support CONFIG_SYS_EXTRA_OPTIONS cleaning

2016-08-05 Thread Tom Rini
On Mon, Jul 25, 2016 at 07:15:29PM +0900, Masahiro Yamada wrote: > We mostly move config options from board header files to Kconfig, > but sometimes config defines come from CONFIG_SYS_EXTRA_OPTIONS. > > Historically, CONFIG_SYS_EXTRA_OPTIONS originates in boards.cfg, > which was used as a centra

Re: [U-Boot] [U-Boot, v2] treewide: move CONFIG_PHYS_64BIT to Kconfig

2016-08-05 Thread Tom Rini
On Mon, Jul 25, 2016 at 07:56:03PM +0900, Masahiro Yamada wrote: > We need to ensure that CONFIG_PHYS_64BIT is configured via Kconfig so > that it is always available to the build system. Otherwise we can run > into cases where we have inconsistent sizes of certain attributes. > > Ravi Babu repo

Re: [U-Boot] [U-Boot, v2, 1/7] cmd/bdinfo: extract print_bi_boot_params

2016-08-05 Thread Tom Rini
On Thu, Jul 28, 2016 at 03:57:18AM +0300, Max Filippov wrote: > print_bi_boot_params outputs boot parameters structure location. > > Signed-off-by: Max Filippov > Reviewed-by: Tom Rini > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital s

Re: [U-Boot] [U-Boot,v2,2/7] cmd/bdinfo: extract print_bi_mem

2016-08-05 Thread Tom Rini
On Thu, Jul 28, 2016 at 03:57:19AM +0300, Max Filippov wrote: > print_bi_mem outputs memstart and memsize lines. > > Signed-off-by: Max Filippov > Reviewed-by: Tom Rini > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,v2,6/7] cmd/bdinfo: extract print_baudrate

2016-08-05 Thread Tom Rini
On Thu, Jul 28, 2016 at 03:57:23AM +0300, Max Filippov wrote: > print_baudrate outputs serial baud rate. > > Signed-off-by: Max Filippov > Reviewed-by: Tom Rini > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,v2,5/7] cmd/bdinfo: extract print_eth_ip_addr

2016-08-05 Thread Tom Rini
On Thu, Jul 28, 2016 at 03:57:22AM +0300, Max Filippov wrote: > print_eth_ip_addr outputs eth configurations for up to 6 interfaces and > configured IP address. > > Signed-off-by: Max Filippov > Reviewed-by: Tom Rini > Reviewed-by: Simon Glass > Acked-by: Joe Hershberger Applied to u-boot/ma

Re: [U-Boot] [U-Boot,v2,4/7] cmd/bdinfo: extract print_bi_flash

2016-08-05 Thread Tom Rini
On Thu, Jul 28, 2016 at 03:57:21AM +0300, Max Filippov wrote: > print_bi_flash outputs flashstart, flashsize and flashoffset lines. > > Signed-off-by: Max Filippov > Reviewed-by: Tom Rini > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digita

Re: [U-Boot] [U-Boot,v2,3/7] cmd/bdinfo: extract print_bi_dram

2016-08-05 Thread Tom Rini
On Thu, Jul 28, 2016 at 03:57:20AM +0300, Max Filippov wrote: > print_bi_dram outputs start address and size for each DRAM bank. > > Signed-off-by: Max Filippov > Reviewed-by: Tom Rini > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital s

Re: [U-Boot] [U-Boot, 1/3] omap3: Move to select SUPPORT_SPL for all

2016-08-05 Thread Tom Rini
On Wed, Jul 27, 2016 at 10:29:40PM -0400, Tom Rini wrote: > In reality all omap3 platforms support SPL so move the select for this > up a level. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,v2,7/7] cmd/bdinfo: extract print_std_bdinfo

2016-08-05 Thread Tom Rini
On Thu, Jul 28, 2016 at 03:57:24AM +0300, Max Filippov wrote: > print_std_bdinfo outputs typical set of board information entries: > boot params location, memory and flash addresses and sizes, network > interfaces information and configured serial baud rate. > > Signed-off-by: Max Filippov > Rev

Re: [U-Boot] [U-Boot, 2/3] omap3, omap4: Enable USE_TINY_PRINTF for all

2016-08-05 Thread Tom Rini
On Wed, Jul 27, 2016 at 10:29:41PM -0400, Tom Rini wrote: > In the case of omap3 we have a number of platforms that are close to > exceeding SRAM limits, depending on compiler. Move to USE_TINY_PRINTF > to give them more room. OMAP4 will soon enough be in a similar place, > so enable that now. >

Re: [U-Boot] [U-Boot, v2] armv8: mmu: Detect page table overflow in emergency pt creation

2016-08-05 Thread Tom Rini
On Sat, Jul 30, 2016 at 11:13:03PM +0200, Alexander Graf wrote: > We create 2 sets of page tables: One for normal operation, one for > emergency (used while modifying the former). > > Because the page tables grow dynamically, we have code that checks > for overflow. Unfortunately we didn't adjust

Re: [U-Boot] [U-Boot, v2] cmd: gpt: fix the wrong size parse for the last partition

2016-08-05 Thread Tom Rini
On Fri, Jul 29, 2016 at 11:12:18AM +0800, Kever Yang wrote: > The calculation of "dev_desc->lba - 34 - 1 - offset" is not correct for > size '-', because both fist_usable_lba and last_usable_lba will remain > 34 sectors. > > We can simply use 0 for size '-' because the part_efi module will decod

Re: [U-Boot] [U-Boot,3/3] omap3: Drop omap3_evm_quick_* targets

2016-08-05 Thread Tom Rini
On Wed, Jul 27, 2016 at 10:29:42PM -0400, Tom Rini wrote: > These config targets were added well before the Kconfig migration began > as a way to demonstrate how to make these platforms work with cut down > features. At this point in time they no longer serve a good purpose so > remove them. > >

Re: [U-Boot] [U-Boot, 1/9] Makefile: Allow 'make tests' to run tests

2016-08-05 Thread Tom Rini
On Sun, Jul 31, 2016 at 05:35:01PM -0600, Simon Glass wrote: > Add this shortcut for running tests. Unfortunately 'make test' cannot be > used as it is an existing directory. > > Signed-off-by: Simon Glass > Suggested-by: Teddy Reed Applied to u-boot/master, thanks! -- Tom signature.asc De

Re: [U-Boot] [U-Boot, 3/9] test: Check exit status in run_and_log_expect_exception()

2016-08-05 Thread Tom Rini
On Sun, Jul 31, 2016 at 05:35:03PM -0600, Simon Glass wrote: > This check was missed. Add it and make the message more verbose. > > Signed-off-by: Simon Glass > Reported-by: Tom Rini > Fixes: 9e17b034 (test/py: Provide a way to check that a command fails) Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot,2/9] test: Fix typos and tidy up

2016-08-05 Thread Tom Rini
On Sun, Jul 31, 2016 at 05:35:02PM -0600, Simon Glass wrote: > Fix review comments that were missed at the time. Also explain why we need > to regenerate the device tree for each test. > > Reported-by: Teddy Reed > Suggested-by: Stephen Warren > Signed-off-by: Simon Glass > Fixes: f6349c3c (te

Re: [U-Boot] [U-Boot,4/9] test: Fix typos in comments

2016-08-05 Thread Tom Rini
On Sun, Jul 31, 2016 at 05:35:04PM -0600, Simon Glass wrote: > Fix some typos in various files introduced with the vboot test conversion. > > Reported-by: Teddy Reed > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, 6/9] test: Rename sha to sha_algo and pass it around

2016-08-05 Thread Tom Rini
On Sun, Jul 31, 2016 at 05:35:06PM -0600, Simon Glass wrote: > Rename this argument and pass it to each function that needs it, instead of > making it global. > > Suggested-by: Stephen Warren > Suggested-by: Teddy Reed > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

[U-Boot] [PATCH] mx6ul_14x14_evk: don't use array for SD2 card detect pad

2016-08-05 Thread Eric Nelson
Only a single pad is changed to change sdhc2_dat3 from an SDIO pin to and from GPIO4:5, so remove the array and use the imx_iomux_v3_setup_pad() routine. Signed-off-by: Eric Nelson --- board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c | 24 ++- 1 file changed, 10 insertions(+

Re: [U-Boot] [U-Boot,5/9] test: Drop the cmd() function

2016-08-05 Thread Tom Rini
On Sun, Jul 31, 2016 at 05:35:05PM -0600, Simon Glass wrote: > Instead of this, use the existing run_and_log() function, enhanced to > support a command string as well as a list of arguments. > > Suggested-by: Stephen Warren > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot,8/9] test: Add a function to restart U-Boot

2016-08-05 Thread Tom Rini
On Sun, Jul 31, 2016 at 05:35:08PM -0600, Simon Glass wrote: > Add a proper function for this rather than using internal functions. Use it > in the single call site. > > Also, do a restart at the end of the vboot test to reset to the normal > device tree. > > Signed-off-by: Simon Glass > Sugges

Re: [U-Boot] [U-Boot, 7/9] test: vboot: Put each test variant in its own section

2016-08-05 Thread Tom Rini
On Sun, Jul 31, 2016 at 05:35:07PM -0600, Simon Glass wrote: > Use 'cons.log.section' feature to split up the test output. This makes it > easier to read. > > Suggested-by: Stephen Warren > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Di

Re: [U-Boot] configs: Fix mmc rescan misuses

2016-08-05 Thread Tom Rini
On Tue, Aug 02, 2016 at 10:36:17AM +, Karl Beldan wrote: > This follows 9fd383724cf4 ("mmc: don't allow extra cmdline arguments"), > and affects omapl138_lcdk and omap3_evm_quick_mmc. > > Signed-off-by: Karl Beldan > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signat

  1   2   >