Re: [U-Boot] [PATCH] sunxi: Disable sun8i emac driver

2016-07-27 Thread Ian Campbell
On Wed, 2016-07-27 at 00:28 +0200, Hans de Goede wrote: > Disable the sun8i emac driver for now, there are 2 issues with it: > > 1) It is causing issues with network connectivity under the kernel > driver, > when booting the kernel with v2 of Corentin's sun8i-h3 emac driver, I > get > the

Re: [U-Boot] [PATCH] sunxi: Add defconfig and dts file for the Orange Pi PC Plus SBC

2016-07-27 Thread Ian Campbell
On Wed, 2016-07-27 at 00:28 +0200, Hans de Goede wrote: > There is a new Orange Pi PC *Plus* version available now, > this is an extended version of the regular Orange Pi PC > with sdio wifi and an eMMC. > > The upstream kernel devs have decided that they want a separate > dts for the PC Plus

Re: [U-Boot] [PATCH 2/2] uniphier: Drop CONFIG_I2C_EEPROM

2016-07-27 Thread Masahiro Yamada
Hi Tom, > > I'm confused because I both can't replicate my problem but know I > checked in drivers/misc for output (I use O= always). I have no idea. I tried with O= and drivers/misc/i2c_eeprom.o was built as well. >> > And >> > moveconfig.py also didn't see it needed. >> >> This is

Re: [U-Boot] [PATCH] spi: xilinx_spi: Add support for Quad mode

2016-07-27 Thread Jagan Teki
On 27 July 2016 at 12:54, Siva Durga Prasad Paladugu wrote: > Hi Jagan, > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Tuesday, July 26, 2016 11:16 AM >> To: Siva Durga Prasad Paladugu >> Cc:

Re: [U-Boot] [PATCH v3 1/3] spi: spi_flash: Dont set quad enable for micron in all cases

2016-07-27 Thread Jagan Teki
On 19 July 2016 at 14:40, Siva Durga Prasad Paladugu wrote: > Dont set quad enable for micron devices in all cases > Setting the quad enable bit in micron expects all other > commands like register reads on quad lines which may > not be supported by some

Re: [U-Boot] [PATCH 3/4] configs: dra7xx: Update QSPI speed to 76.8MHz

2016-07-27 Thread Jagan Teki
On 25 July 2016 at 19:08, Tom Rini wrote: > On Mon, Jul 25, 2016 at 03:45:46PM +0530, Vignesh R wrote: > >> Now that QSPI driver can support 76.8MHz, update the >> CONFIG_SF_DEFAULT_SPEED to the same value. >> >> Signed-off-by: Vignesh R > > Reviewed-by: Tom

Re: [U-Boot] [PATCH 2/4] spi: ti_qspi: dra7xx: Add support to use 76.8MHz clock

2016-07-27 Thread Jagan Teki
On 25 July 2016 at 15:45, Vignesh R wrote: > According to AM572x DM SPRS953A, QSPI bus speed can be 76.8MHz, update > the driver to use the same. > > Signed-off-by: Vignesh R > --- > drivers/spi/ti_qspi.c | 17 - > 1 file changed, 12

Re: [U-Boot] [PATCH v3 1/3] spi: spi_flash: Dont set quad enable for micron in all cases

2016-07-27 Thread Siva Durga Prasad Paladugu
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Wednesday, July 27, 2016 1:24 PM > To: Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; Michal Simek ; Siva Durga > Prasad Paladugu

Re: [U-Boot] [PATCH] spi: zynq_spi: Fix infinite looping while xfer

2016-07-27 Thread Jagan Teki
Please resend the patch, patchwork mbox download shows different. On 24 July 2016 at 00:49, Lad, Prabhakar wrote: > On Sat, Jul 23, 2016 at 5:19 PM, Jagan Teki wrote: >> >> On 23 June 2016 at 19:28, Lad, Prabhakar

Re: [U-Boot] [PATCH] spi: xilinx_spi: Add support for Quad mode

2016-07-27 Thread Siva Durga Prasad Paladugu
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Tuesday, July 26, 2016 11:16 AM > To: Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; Michal Simek ; Siva Durga > Prasad Paladugu

Re: [U-Boot] [PATCH v3 2/3] spi: zynqmp_qspi: Add QSPI driver support for ZynqMP

2016-07-27 Thread Jagan Teki
On 19 July 2016 at 14:40, Siva Durga Prasad Paladugu wrote: > This adds QSPI driver support for ZynqMP platform > This driver supports all spi flash commands in > qspi single mode. > > Signed-off-by: Siva Durga Prasad Paladugu > --- > Changes

Re: [U-Boot] [PATCH v2 0/9] qspi: Add Quad and Dual mode support for Zynq QSPI

2016-07-27 Thread Jagan Teki
On 19 July 2016 at 21:18, Siva Durga Prasad Paladugu wrote: > This series enables the Quad and dual modes support > for zynq. It also contains fixes for issues found > during testing of dual parallel and stacked modes. > > Siva Durga Prasad Paladugu (9): > spi:

Re: [U-Boot] [PATCH v2 0/9] qspi: Add Quad and Dual mode support for Zynq QSPI

2016-07-27 Thread Siva Durga Prasad Paladugu
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:jagannadh.t...@gmail.com] > Sent: Wednesday, July 27, 2016 1:47 PM > To: Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; Michal Simek ; Siva Durga > Prasad Paladugu

Re: [U-Boot] [PATCH v3 1/3] spi: spi_flash: Dont set quad enable for micron in all cases

2016-07-27 Thread Jagan Teki
On 27 July 2016 at 14:31, Siva Durga Prasad Paladugu wrote: > Hi Jagan, > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Wednesday, July 27, 2016 1:24 PM >> To: Siva Durga Prasad Paladugu >> Cc:

Re: [U-Boot] [PATCH 2/2] config.h: clean unused CONFIG_ENV_SPI_* if using driver model

2016-07-27 Thread Qianyu Gong
Hi York, > -Original Message- > From: york sun > Sent: Tuesday, July 26, 2016 12:26 PM > To: Qianyu Gong ; u-boot@lists.denx.de; Prabhakar > Kushwaha ; Mingkai Hu > Cc: Shaohui Xie ; Zhiqiang Hou

Re: [U-Boot] [PATCH 4/4] mmc: add workaround for eSDHC erratum A009620

2016-07-27 Thread Yangbo Lu
> -Original Message- > From: york sun > Sent: Tuesday, July 26, 2016 1:38 AM > To: Yangbo Lu; u-boot@lists.denx.de > Subject: Re: [PATCH 4/4] mmc: add workaround for eSDHC erratum A009620 > > On 05/20/2016 03:20 AM, Yangbo Lu wrote: > > Erratum Title: > > Data timeout error not getting

Re: [U-Boot] [PATCH v2 0/9] qspi: Add Quad and Dual mode support for Zynq QSPI

2016-07-27 Thread Jagan Teki
On 27 July 2016 at 14:28, Siva Durga Prasad Paladugu wrote: > Hi Jagan, > >> -Original Message- >> From: Jagan Teki [mailto:jagannadh.t...@gmail.com] >> Sent: Wednesday, July 27, 2016 1:47 PM >> To: Siva Durga Prasad Paladugu >> Cc:

[U-Boot] [PATCH 2/4] sunxi: Ensure that the NIC specific bytes of the mac are not all 0

2016-07-27 Thread Hans de Goede
On 2 of my H3 boards bytes 13-15 of the SID are all 0 leading to the NIC specific bytes of the mac all being 0, which leads to the boards not getting an ipv6 address from the dhcp server. This commits adds a check to ensure this does not happen. Cc: Chen-Yu Tsai Cc: Corentin

Re: [U-Boot] [PATCH 1/2] board: ls1043ardb: move sec_init to board_init

2016-07-27 Thread york sun
On 02/23/2016 01:32 AM, Aneesh Bansal wrote: > sec_init() which was earlier called in misc_init_r() > is now done in board_init() before PPA init as SEC > block will be used during PPA image validation. > > Signed-off-by: Aneesh Bansal > --- > The patchset is dependent on >

Re: [U-Boot] [RFC PATCH v2 1/5] spl: dfu: add dfu support in SPL

2016-07-27 Thread B, Ravi
Hi Tom Missed this thread to reply. >> index ef12f9f..ed3e295 100644 >> --- a/Kconfig >> +++ b/Kconfig >> @@ -336,6 +336,33 @@ config SPL_FIT_IMAGE_POST_PROCESS >>injected into the FIT creation (i.e. the blobs would have been pre- >>processed before being added to the FIT image).

Re: [U-Boot] [PATCH 3/7] pci: xilinx: Add a driver for Xilinx AXI to PCIe bridge

2016-07-27 Thread Paul Burton
On 27/07/16 00:43, Simon Glass wrote: Hi Paul, On 26 July 2016 at 16:24, Paul Burton wrote: This patch adds a driver for the Xilinx AXI bridge for PCI express, an IP block which can be used on some generations of Xilinx FPGAs. This is mostly a case of implementing PCIe

Re: [U-Boot] [PATCH 4/4] mmc: add workaround for eSDHC erratum A009620

2016-07-27 Thread york sun
On 07/27/2016 12:10 AM, Yangbo Lu wrote: >> -Original Message- >> From: york sun >> Sent: Tuesday, July 26, 2016 1:38 AM >> To: Yangbo Lu; u-boot@lists.denx.de >> Subject: Re: [PATCH 4/4] mmc: add workaround for eSDHC erratum A009620 >> >> On 05/20/2016 03:20 AM, Yangbo Lu wrote: >>>

Re: [U-Boot] Stepping down as sunxi u-boot custodian

2016-07-27 Thread Jagan Teki
On 27 July 2016 at 19:28, Tom Rini wrote: > On Wed, Jul 27, 2016 at 06:58:24PM +0530, Jagan Teki wrote: >> On 27 July 2016 at 04:06, Tom Rini wrote: >> > On Mon, Jul 25, 2016 at 09:42:27AM +0200, Maxime Ripard wrote: >> >> On Fri, Jul 15, 2016 at

[U-Boot] [PATCH 3/4] sun8i: On H3 Use word 1 instead of word 3 from the SID

2016-07-27 Thread Hans de Goede
It seems that bytes 13-14 of the SID / bytes 1-2 from word 3 of the SID are always 0 on H3 making it a poor candidate to use as source for the serialnr / mac-address, switch to word1 which seems to be more random. Cc: Chen-Yu Tsai Cc: Corentin LABBE Cc:

[U-Boot] [PATCH 1/4] net: sun8i_emac: Fix DMA alignment issues with the rx / tx buffers

2016-07-27 Thread Hans de Goede
This fixes the following CACHE warnings when using sun8i_emac: => dhcp BOOTP broadcast 1 BOOTP broadcast 2 CACHE: Misaligned operation at range [7bf594a8, 7bf59628] BOOTP broadcast 3 CACHE: Misaligned operation at range [7bf59c90, 7bf59e10] CACHE: Misaligned operation at range [7bf5a478,

[U-Boot] [PATCH 4/4] sunxi: Re-enable h3 emac support

2016-07-27 Thread Hans de Goede
With the recent bug fixes for the sun8i_emac driver all known issues are resolved, so we can re-enable the driver. While at it, also enable the emac on the Orange Pi One. Cc: Chen-Yu Tsai Cc: Corentin LABBE Cc: Amit Singh Tomar

Re: [U-Boot] Stepping down as sunxi u-boot custodian

2016-07-27 Thread Tom Rini
On Wed, Jul 27, 2016 at 06:58:24PM +0530, Jagan Teki wrote: > On 27 July 2016 at 04:06, Tom Rini wrote: > > On Mon, Jul 25, 2016 at 09:42:27AM +0200, Maxime Ripard wrote: > >> On Fri, Jul 15, 2016 at 10:45:34AM +0200, Hans de Goede wrote: > >> > Hi, > >> > > >> > On 04-07-16

[U-Boot] [PATCH 2/2] board: tbs2910: fix HDMI pre-console buffer

2016-07-27 Thread Soeren Moch
HDMI output must be enabled very early to also enable the pre-console buffer Signed-off-by: Soeren Moch --- Cc: Stefano Babic Cc: u-boot@lists.denx.de --- include/configs/tbs2910.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2 10/10] boston: Introduce support for the MIPS Boston development board

2016-07-27 Thread Paul Burton
This patch introduces support for building U-Boot to run on the MIPS Boston development board. This is a board built around an FPGA & an Intel EG20T Platform Controller Hub, used largely as part of the development of new CPUs and their software support. It is essentially the successor to the older

[U-Boot] [PATCH v2 07/10] dm: regmap: Implement simple regmap_read & regmap_write

2016-07-27 Thread Paul Burton
The regmap_read & regmap_write functions were previously declared in regmap.h but not implemented anywhere. The regmap implementation & commit message of 6f98b7504f70 ("dm: Add support for register maps (regmap)") indicate that only memory mapped accesses are supported for now, so providing simple

[U-Boot] [PATCH v2 08/10] dm: syscon: Provide a generic syscon driver

2016-07-27 Thread Paul Burton
Provide a trivial syscon driver matching the generic "syscon" compatible string, allowing for simple system controllers to be used without a custom driver just as in Linux. Signed-off-by: Paul Burton --- Changes in v2: - New patch drivers/core/syscon-uclass.c | 11

[U-Boot] [PATCH v2 09/10] clk: boston: Providea simple driver for Boston board clocks

2016-07-27 Thread Paul Burton
Add a simple driver for the clocks provided by the MIPS Boston development board. The system provides information about 2 clocks whose rates are fixed by the bitfile flashed in the boards FPGA, and this driver simply reads the rates of these 2 clocks. Signed-off-by: Paul Burton

[U-Boot] [PATCH v2 06/10] net: pch_gbe: Make 64 bit safe

2016-07-27 Thread Paul Burton
The pch_gbe driver previously casted pointers to & from unsigned 32 bit integers in many locations. This breaks the driver on 64 bit systems, producing streams of compiler warnings about mismatched pointer & integer sizes and then failing to keep track of addresses correctly at runtime. Fix the

[U-Boot] [PATCH v2 05/10] net: pch_gbe: Use dm_pci_map_bar to discover MMIO base

2016-07-27 Thread Paul Burton
Reading the PCI BAR & converting the result to a physical address is not safe across all architectures. For example on MIPS the virtual:physical mapping is not 1:1, so we cannot directly make use of the physical address. Use the more generic BAR-mapping function dm_pci_map_bar to discover the

[U-Boot] [PATCH v2 04/10] pci: Flip condition for detecting non-PCI parent devices

2016-07-27 Thread Paul Burton
In pci_uclass_pre_probe an attempt is made to detect whether the parent of a device is a PCI device and that the device is thus a bridge. This was being done by checking whether the parent of the device is of the UCLASS_ROOT class. This causes problems if the PCI controller is a child of some

[U-Boot] [PATCH v2 03/10] pci: xilinx: Add a driver for Xilinx AXI to PCIe bridge

2016-07-27 Thread Paul Burton
This patch adds a driver for the Xilinx AXI bridge for PCI express, an IP block which can be used on some generations of Xilinx FPGAs. This is mostly a case of implementing PCIe ECAM specification, but with some quirks about what devices are valid to access. Signed-off-by: Paul Burton

[U-Boot] [PATCH v2 02/10] dt-bindings: Add interrupt-controller/mips-gic.h header

2016-07-27 Thread Paul Burton
Import a copy of the dt-bindings/interrupt-controller/mips-gic.h header from Linux, such that we can use device trees which include it without modification. Signed-off-by: Paul Burton --- Changes in v2: None include/dt-bindings/interrupt-controller/mips-gic.h | 9

Re: [U-Boot] [RFC PATCH v2 1/5] spl: dfu: add dfu support in SPL

2016-07-27 Thread Tom Rini
On Wed, Jul 27, 2016 at 02:04:24PM +, B, Ravi wrote: > Hi Tom > > Missed this thread to reply. > > >> index ef12f9f..ed3e295 100644 > >> --- a/Kconfig > >> +++ b/Kconfig > >> @@ -336,6 +336,33 @@ config SPL_FIT_IMAGE_POST_PROCESS > >> injected into the FIT creation (i.e. the blobs would

[U-Boot] [PATCH 1/2] board: tbs2910: always enable usbkbd

2016-07-27 Thread Soeren Moch
'usb start' is much faster now, so always enable usb keyboard Signed-off-by: Soeren Moch --- Cc: Stefano Babic Cc: u-boot@lists.denx.de --- include/configs/tbs2910.h | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git

[U-Boot] [PATCH v2 01/10] serial: ns16550: Support clocks via phandle

2016-07-27 Thread Paul Burton
Previously ns16550 compatible UARTs probed via device tree have needed their device tree nodes to contain a clock-frequency property. An alternative to this commonly used with Linux is to reference a clock via a phandle. This patch allows U-Boot to support that, retrieving the clock frequency by

[U-Boot] [PATCH v2 00/10] MIPS Boston Development Board Support

2016-07-27 Thread Paul Burton
This series introduces initial support for the MIPS Boston, and FPGA based development board & successor to the older Malta board. Further peripheral work is needed but this introduces the basics. This can be tested in a currently out-of-tree QEMU port if desired, which can be found in the boston

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

2016-07-27 Thread york sun
On 07/19/2016 01:36 AM, Prabhakar Kushwaha wrote: > LS1012AFRDM has 512MB of DDR. > So update Kernel load address as 0x9600 instead of default > 0xa000. > > Signed-off-by: Prabhakar Kushwaha > --- > include/configs/ls1012afrdm.h | 16 > 1 file

Re: [U-Boot] [RFC PATCH] i2c: i2c-uclass-compat: avoid any BSS usage

2016-07-27 Thread Vignesh R
On Tuesday 26 July 2016 11:53 AM, Heiko Schocher wrote: > Hello Vignesh, > > Am 25.07.2016 um 12:56 schrieb Vignesh R: >> As I2C can be used before DRAM initialization for reading EEPROM, >> avoid using static variables stored in BSS, since BSS is in DRAM, which >> may not have been initialised

Re: [U-Boot] [PATCH] mmc: dw_mmc: fix the wrong Mask bit boundary for fifo_count bit

2016-07-27 Thread Ziyuan Xu
Hi Jaehoon, On 2016年07月28日 13:26, Jaehoon Chung wrote: According to DesignWare TRM, FIFO_COUNT is bit[29:17]. If get the correct fifo_count value, it has to use the FIFO_MASK as 0x1FFF, not 0x1FF. Ah, I have no doubt the fifo_count defined. The fifo depth of Rockchip SoCs is 256, the former

Re: [U-Boot] [PATCH 4/4] sunxi: Re-enable h3 emac support

2016-07-27 Thread Ian Campbell
On Wed, 2016-07-27 at 18:10 +0200, Hans de Goede wrote: > With the recent bug fixes for the sun8i_emac driver all known issues > are resolved, so we can re-enable the driver. > > While at it, also enable the emac on the Orange Pi One. > > Cc: Chen-Yu Tsai > Cc: Corentin LABBE

Re: [U-Boot] [PATCH 3/4] sun8i: On H3 Use word 1 instead of word 3 from the SID

2016-07-27 Thread Ian Campbell
On Wed, 2016-07-27 at 18:10 +0200, Hans de Goede wrote: > It seems that bytes 13-14 of the SID / bytes 1-2 from word 3 of the > SID > are always 0 on H3 making it a poor candidate to use as source for > the > serialnr / mac-address, switch to word1 which seems to be more > random. > > Cc: Chen-Yu

[U-Boot] [PATCH] common: image: Add support for post-processing of images

2016-07-27 Thread Andreas Dannenberg
This commit allows injecting a board/platform/device-specific post- processing function into the FIT image data loading process, which can include modifying the size and altering the starting source address of an image data artifact. This might be desired to do things like strip headers or footers

Re: [U-Boot] [PATCH v2] splash: Introduce default_splash_locations

2016-07-27 Thread Anatolij Gustschin
On Tue, 26 Jul 2016 08:52:52 +0200 Anatolij Gustschin ag...@denx.de wrote: > From: Alexey Brodkin > > This change introduces default_splash_locations which > simplifies splash recovery from the first partition of > USB/MMC/SATA drive. > > Given usual mapping of the

Re: [U-Boot] [PATCH 2/4] sunxi: Ensure that the NIC specific bytes of the mac are not all 0

2016-07-27 Thread Ian Campbell
On Wed, 2016-07-27 at 18:10 +0200, Hans de Goede wrote: > On 2 of my H3 boards bytes 13-15 of the SID are all 0 leading to > the NIC specific bytes of the mac all being 0, which leads to the > boards not getting an ipv6 address from the dhcp server. > > This commits adds a check to ensure this

Re: [U-Boot] [PATCH 2/2] config.h: clean unused CONFIG_ENV_SPI_* if using driver model

2016-07-27 Thread york sun
On 07/27/2016 03:00 AM, Qianyu Gong wrote: > > Hi York, > >> -Original Message- >> From: york sun >> Sent: Tuesday, July 26, 2016 12:26 PM >> To: Qianyu Gong ; u-boot@lists.denx.de; Prabhakar >> Kushwaha ; Mingkai Hu >>

Re: [U-Boot] Stepping down as sunxi u-boot custodian

2016-07-27 Thread Maxime Ripard
On Wed, Jul 27, 2016 at 09:31:25PM +0530, Jagan Teki wrote: > >> >> FWIW, if anyone is interested in taking over, I'm can help with the > >> >> load if needed. > >> > > >> > I would also be quite happy to see a joint custodian setup similar to > >> > how some of the Linux Kernel trees are handled,

Re: [U-Boot] [PATCH 1/4] net: sun8i_emac: Fix DMA alignment issues with the rx / tx buffers

2016-07-27 Thread Amit Tomer
Hello, > index 7c088c3..877859c 100644 > --- a/drivers/net/sun8i_emac.c > +++ b/drivers/net/sun8i_emac.c > @@ -32,7 +32,8 @@ > > #define CONFIG_TX_DESCR_NUM32 > #define CONFIG_RX_DESCR_NUM32 > -#define CONFIG_ETH_BUFSIZE 2024 > +#define CONFIG_ETH_BUFSIZE 2048 > +#define

Re: [U-Boot] [PATCH 1/4] net: sun8i_emac: Fix DMA alignment issues with the rx / tx buffers

2016-07-27 Thread Ian Campbell
On Wed, 2016-07-27 at 18:10 +0200, Hans de Goede wrote: > This fixes the following CACHE warnings when using sun8i_emac: > > => dhcp > BOOTP broadcast 1 > BOOTP broadcast 2 > CACHE: Misaligned operation at range [7bf594a8, 7bf59628] > BOOTP broadcast 3 > CACHE: Misaligned operation at range

[U-Boot] Network boot fallback usage/features

2016-07-27 Thread Dragan Isakovic
Hello, I'm about to use U-Boot for an embedded project. I need a fallback strategy if the network boot (no matter what exactly) fails e.g. no server reached after a timeout period. In this case it should boot an linux image from flash memory. The U-Boot docs say nothing about that...

Re: [U-Boot] a few questions about saving bootcount in the environment

2016-07-27 Thread Heiko Schocher
Hello Robert, Am 27.07.2016 um 14:03 schrieb Robert P. J. Day: On Tue, 26 Jul 2016, Heiko Schocher wrote: ... snip ... it appears that, no matter what, the environment *is* updated every single time because of this line in the bootdelay_process() routine: setenv_ulong("bootcount",

[U-Boot] Network boot fallback usage/features

2016-07-27 Thread Dragan Isakovic
Hello, I'm about to use U-Boot for an embedded project. I need a fallback strategy if the network boot (no matter what exactly) fails e.g. no server reached after a timeout period. In this case it should boot an linux image from flash memory. The U-Boot docs say nothing about that...

[U-Boot] Network boot fallback usage/features

2016-07-27 Thread Dragan Isakovic
Hello, I'm about to use U-Boot for an embedded project. I need a fallback strategy if the network boot (no matter what exactly) fails e.g. no server reached after a timeout period. In this case it should boot an linux image from flash memory. The U-Boot docs say nothing about that...

Re: [U-Boot] [PATCH v2 2/4] usb: dwc3: Add helper functions to enable snooping and burst settings

2016-07-27 Thread york sun
On 07/03/2016 09:37 PM, Rajesh Bhagat wrote: > > > Will take care in v3. > Did you send v3 patch set? York ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Stepping down as sunxi u-boot custodian

2016-07-27 Thread Tom Rini
On Wed, Jul 27, 2016 at 08:10:08PM +0200, Maxime Ripard wrote: > On Wed, Jul 27, 2016 at 09:31:25PM +0530, Jagan Teki wrote: > > >> >> FWIW, if anyone is interested in taking over, I'm can help with the > > >> >> load if needed. > > >> > > > >> > I would also be quite happy to see a joint

Re: [U-Boot] [PATCH 0/5] usb: fsl: Add code to use CONFIG_DM_USB

2016-07-27 Thread york sun
On 07/21/2016 04:45 AM, Marek Vasut wrote: > On 07/21/2016 10:02 AM, Rajesh Bhagat wrote: >> Hi All, >> >> Any Comments? > > York, please check this. Passed compiling tests on powerpc and arm platforms. York > >>> -Original Message- >>> From: Rajesh Bhagat [mailto:rajesh.bha...@nxp.com]

Re: [U-Boot] [PATCH 1/2] net: fm: fix spi flash probe for using driver model

2016-07-27 Thread york sun
On 07/20/2016 03:51 AM, Gong Qianyu wrote: > The current code would always use the speed and mode set by > CONFIG_ENV_SPI_MAX_HZ and CONFIG_ENV_SPI_MODE. But if using > SPI driver model it should get the values from DT. > > Signed-off-by: Gong Qianyu > --- >

Re: [U-Boot] [PATCH 3/4] sun8i: On H3 Use word 1 instead of word 3 from the SID

2016-07-27 Thread Siarhei Siamashka
Hello Hans, On Wed, 27 Jul 2016 18:10:34 +0200 Hans de Goede wrote: > It seems that bytes 13-14 of the SID / bytes 1-2 from word 3 of the SID > are always 0 on H3 making it a poor candidate to use as source for the > serialnr / mac-address, switch to word1 which seems to be

[U-Boot] Please pull: u-boot-video/master

2016-07-27 Thread Anatolij Gustschin
Hi Tom, On Mon, 25 Jul 2016 17:46:31 -0400 Tom Rini tr...@konsulko.com wrote: ... > Hey, good catch. Anatolij, please fix and re-submit, thanks! sandbox build fixed now, here is updated pull request: The following changes since commit 19ce924ff914f315dc2fdf79f357825c513aed6e: Prepare

Re: [U-Boot] [PATCH v2 10/10] boston: Introduce support for the MIPS Boston development board

2016-07-27 Thread Daniel Schwierzeck
Am 27.07.2016 um 16:26 schrieb Paul Burton: > This patch introduces support for building U-Boot to run on the MIPS > Boston development board. This is a board built around an FPGA & an > Intel EG20T Platform Controller Hub, used largely as part of the > development of new CPUs and their software

[U-Boot] [PATCH 4/5] ARM: tegra: add I2C controllers to Tegra186 DT

2016-07-27 Thread Stephen Warren
From: Bryan Wu Tegra186 has 8 I2C controllers including BPMP I2C. This patch adds the other 7 generic controllers to Tegra186's DT. Signed-off-by: Bryan Wu (swarren, fixed DT node sort order, tweak patch description) Signed-off-by: Stephen Warren

[U-Boot] [PATCH 5/5] ARM: tegra: enable I2C buses for P2771-0000

2016-07-27 Thread Stephen Warren
From: Bryan Wu Enable I2C devices in DT and enable building tegra_i2c.c driver. Signed-off-by: Bryan Wu (swarren, commit msg rework, fixed DT node sort order) Signed-off-by: Stephen Warren --- arch/arm/dts/tegra186-p2771-.dtsi | 35

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

2016-07-27 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) Signed-off-by: Stephen Warren

[U-Boot] [PATCH 1/5] pci: tegra: port to standard clock/reset/pwr domain APIs

2016-07-27 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)

[U-Boot] [PATCH 2/5] ARM: tegra: add PCIe controller to Tegra186 SoC DT

2016-07-27 Thread Stephen Warren
From: Stephen Warren The Tegra186 PCIe DT content is almost identical to previous chips, except that the: - There are 3 ports instead of 2. - Some physical addresses have moved. - PHY programming is handled by firmware, so CCPLEX DTs don't need to reference any PHY. - The

[U-Boot] [PATCH 9/9] ARM: tegra: call tegra_board_init on Tegra186

2016-07-27 Thread Stephen Warren
From: Stephen Warren Introduce tegra_board_init() and call it from board_init(). Tegra wil use tegra_board_init() for board-specific initialization, and board_init() for SoC-specific initialization. Signed-off-by: Stephen Warren ---

[U-Boot] [PATCH] x86: som-db5800-som-6867: fix SERIRQ on reset

2016-07-27 Thread George McCollister
Pad configuration for SERIRQ is not set to enable the SERIRQ function on soft reset though strangely, it is on initial boot. Signed-off-by: George McCollister --- arch/x86/dts/baytrail_som-db5800-som-6867.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [U-Boot] Please pull: u-boot-video/master

2016-07-27 Thread Tom Rini
On Wed, Jul 27, 2016 at 09:17:28PM +0200, Anatolij Gustschin wrote: > Hi Tom, > > On Mon, 25 Jul 2016 17:46:31 -0400 > Tom Rini tr...@konsulko.com wrote: > ... > > Hey, good catch. Anatolij, please fix and re-submit, thanks! > > sandbox build fixed now, here is updated pull request: > > The

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

2016-07-27 Thread Max Filippov
print_bi_boot_params outputs boot parameters structure location. Signed-off-by: Max Filippov --- cmd/bdinfo.c | 20 +--- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index f2435ab..60aaafb 100644 ---

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

2016-07-27 Thread Max Filippov
print_bi_flash outputs flashstart, flashsize and flashoffset lines. Signed-off-by: Max Filippov --- cmd/bdinfo.c | 54 +++--- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index

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

2016-07-27 Thread Max Filippov
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 --- cmd/bdinfo.c | 32

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

2016-07-27 Thread Max Filippov
print_eth_ip_addr outputs eth configurations for up to 6 interfaces and configured IP address. Signed-off-by: Max Filippov --- cmd/bdinfo.c | 113 +++ 1 file changed, 36 insertions(+), 77 deletions(-) diff --git

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

2016-07-27 Thread Max Filippov
print_bi_mem outputs memstart and memsize lines. Signed-off-by: Max Filippov --- cmd/bdinfo.c | 42 ++ 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index 60aaafb..df68b58 100644 ---

[U-Boot] [PATCH v2 0/7] cmd/bdinfo: extract common parts and reuse them

2016-07-27 Thread Max Filippov
Hi, this series extracts common parts of cmd/bdinfo.c used by various architectures into reusable functions. Changes v1->v2: - fix build for architectures w/o CONFIG_NR_DRAM_BANKS and bi_dram in bd_t. Please review. Max Filippov (7): cmd/bdinfo: extract print_bi_boot_params cmd/bdinfo:

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

2016-07-27 Thread Max Filippov
print_baudrate outputs serial baud rate. Signed-off-by: Max Filippov --- cmd/bdinfo.c | 39 +-- 1 file changed, 25 insertions(+), 14 deletions(-) diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index 4ffb757..403ed3e 100644 --- a/cmd/bdinfo.c

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

2016-07-27 Thread Max Filippov
print_bi_dram outputs start address and size for each DRAM bank. Signed-off-by: Max Filippov --- Changes v1->v2: - fix build for architectures w/o CONFIG_NR_DRAM_BANKS and bi_dram in bd_t. cmd/bdinfo.c | 60 +++- 1

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

2016-07-27 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

[U-Boot] [PATCH 2/9] ARM: tegra: add BPMP DT bindings

2016-07-27 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. These bindings dictate how to

[U-Boot] [PATCH 3/9] ARM: tegra: add BPMP and dependencies to Tegra186 DT

2016-07-27 Thread Stephen Warren
From: Stephen Warren This adds the DT content that's needed to allow board DTs to enable use of BPMP, clocks, resets, GPIOs, eMMC, and SD cards. Signed-off-by: Stephen Warren --- arch/arm/dts/tegra186.dtsi | 55

[U-Boot] [PATCH 4/9] misc: add Tegra BPMP driver

2016-07-27 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

[U-Boot] [PATCH 1/9] ARM: tegra: adapt to latest HSP DT binding

2016-07-27 Thread Stephen Warren
From: Stephen Warren The DT binding for the Tegra186 HSP module apparently wasn't quite final when I posted initial U-Boot support for it. Add the final DT binding doc and adapt all code and DT files to match it. Signed-off-by: Stephen Warren ---

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

2016-07-27 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] [PATCH 7/9] power domain: add Tegra186 driver

2016-07-27 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 --- drivers/power/domain/Kconfig

[U-Boot] [PATCH 8/9] mmc: tegra: port to standard clock/reset APIs

2016-07-27 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 Cc: Pantelis Antoniou

Re: [U-Boot] [PATCH 1/2] mmc: sdhci: remove the unused argument for sdhci_setup_cfg

2016-07-27 Thread Jaehoon Chung
Hi, On 07/27/2016 10:10 AM, Minkyu Kang wrote: > Hi, > > On 26/07/16 19:06, Jaehoon Chung wrote: >> buswidth isn't used anywhere in sdhci_setup_cfg. >> >> Signed-off-by: Jaehoon Chung >> --- >> drivers/mmc/msm_sdhci.c | 4 ++-- >> drivers/mmc/sdhci.c | 4 ++-- >>

[U-Boot] [PATCH 2/3] net: emaclite: use __raw_readl/writel instead of weird define

2016-07-27 Thread Zubair Lutfullah Kakakhel
out_be32 and in_be32 are actually #defined to little endian writel/readl in arch/microblaze. Just use __raw_writel/readl instead. That is also what is used in the Linux kernel driver for this IP block Tested on MIPSfpga. Can tftp a kernel. Signed-off-by: Zubair Lutfullah Kakakhel

Re: [U-Boot] a few questions about saving bootcount in the environment

2016-07-27 Thread Robert P. J. Day
On Tue, 26 Jul 2016, Heiko Schocher wrote: ... snip ... > > it appears that, no matter what, the environment *is* updated > > every single time because of this line in the bootdelay_process() > > routine: > > > >setenv_ulong("bootcount", bootcount); > > > > why? it seems, from the above,

Re: [U-Boot] [PATCH 1/2] mips: Add MIPSfpga platform support

2016-07-27 Thread Daniel Schwierzeck
Am 27.07.2016 um 12:51 schrieb Zubair Lutfullah Kakakhel: > MIPSfpga is an FPGA based dev platform. > > In a nutshell, its a microAptiv cpu core with lots of Xilinx IP blocks > > The FPGA dev board used is the Nexys4DDR board by Digilent. > > For more information, check the Readme file in

Re: [U-Boot] [PATCH] mmc: send CMD0 before CMD1 for some MMC cards

2016-07-27 Thread Yangbo Lu
Hi Tom, Could you help to assign this mmc patch reviewing to right person? It seems no one had reviewed it for almost half year. And another my mmc patch also needs to be reviewed. I submitted in May. Please help. http://patchwork.ozlabs.org/patch/624448/ Thank you very much. Best regards,

Re: [U-Boot] [PATCH] mmc: send CMD0 before CMD1 for some MMC cards

2016-07-27 Thread Jaehoon Chung
On 07/27/2016 04:28 PM, Yangbo Lu wrote: > Hi Tom, > > Could you help to assign this mmc patch reviewing to right person? > It seems no one had reviewed it for almost half year. > > And another my mmc patch also needs to be reviewed. > I submitted in May. Please help. >

[U-Boot] [PATCH] ARM64: zynqmp: Wire up PSCI reset

2016-07-27 Thread Michal Simek
Using PSCI to reset the system. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index f15dc5d71522..0c5d9979316f 100644 ---

Re: [U-Boot] [PATCH 2/2] uniphier: Drop CONFIG_I2C_EEPROM

2016-07-27 Thread Tom Rini
On Wed, Jul 27, 2016 at 03:42:40PM +0900, Masahiro Yamada wrote: [snip] > The tool will show as follows: > > uniphier_ld4_sld8_defconfig > CONFIG_I2C_EEPROM is not defined in Kconfig. Do nothing. > > > This is the message. > > > > - CONFIG_... is not defined in Kconfig. Do nothing. >

Re: [U-Boot] [PATCH 7/7] boston: Introduce support for the MIPS Boston development board

2016-07-27 Thread Paul Burton
On 27/07/16 12:37, Daniel Schwierzeck wrote: +#define EXT(field) ((mmcmdiv & field) >> (ffs(field) - 1)) + + in_rate = EXT(BOSTON_PLAT_MMCMDIV_INPUT); + mul = EXT(BOSTON_PLAT_MMCMDIV_MUL); + clk0_div = EXT(BOSTON_PLAT_MMCMDIV_CLK0DIV); + +#undef EXT + + clk0_rate =

Re: [U-Boot] [PATCH 4/4] mmc: add workaround for eSDHC erratum A009620

2016-07-27 Thread Jaehoon Chung
On 07/27/2016 04:10 PM, Yangbo Lu wrote: >> -Original Message- >> From: york sun >> Sent: Tuesday, July 26, 2016 1:38 AM >> To: Yangbo Lu; u-boot@lists.denx.de >> Subject: Re: [PATCH 4/4] mmc: add workaround for eSDHC erratum A009620 >> >> On 05/20/2016 03:20 AM, Yangbo Lu wrote: >>>

[U-Boot] [PATCH 0/3] net: emaclite: fixes and enable for MIPS

2016-07-27 Thread Zubair Lutfullah Kakakhel
Hi, This patch series changes the emaclite driver to be slightly more generic and then enables it for the MIPS arch. Regards, ZubairLK Zubair Lutfullah Kakakhel (3): net: emaclite: Use ioremap_nocache net: emaclite: use __raw_readl/writel instead of weird define net: emaclite: Enable

[U-Boot] [PATCH 0/2] MIPS: Add MIPSfpga u-boot port

2016-07-27 Thread Zubair Lutfullah Kakakhel
MIPSfpga is an FPGA based dev platform by Imagination Technologies Ltd. DDR is already initialized before u-boot. And the peripherals supported in the u-boot port are an n16550 uart and a xilinx ethernet IP (axi_emaclite) which already have drivers in u-boot. Hence the port is mostly DT +

  1   2   >