Re: [U-Boot] [PATCH v2] driver: net: ldpaa: Update priv->phydev after free()

2017-02-21 Thread Ashish Kumar
Hello Joe, Please see inline. Regards Ashish -Original Message- From: Joe Hershberger [mailto:joe.hershber...@gmail.com] Sent: Thursday, February 16, 2017 5:22 AM To: Ashish Kumar Cc: u-boot Subject: Re: [U-Boot] [PATCH v2] driver: net:

Re: [U-Boot] [PATCH v1] usb: gadget: f_dfu: write req->actual bytes

2017-02-21 Thread Felipe Balbi
Hi Lukasz, Lukasz Majewski writes: >> > >> drivers/usb/gadget/f_dfu.c | 2 +- >> > >> 1 file changed, 1 insertion(+), 1 deletion(-) >> > >> >> > >> diff --git a/drivers/usb/gadget/f_dfu.c >> > >> b/drivers/usb/gadget/f_dfu.c index 8e7c981657..64cdfa7c98 >> > >> 100644 ---

Re: [U-Boot] [PATCH v1 02/11] sunxi: add pinctrl (UCLASS_PINCTRL) support for sunxi and tie back into GPIO

2017-02-21 Thread Dr. Philipp Tomsich
Chen, > On 21 Feb 2017, at 04:48, Chen-Yu Tsai wrote: > > On Sat, Feb 18, 2017 at 1:52 AM, Philipp Tomsich > > wrote: >> This change adds a full device-model pinctrl driver for sunxi (tested

[U-Boot] [PATCH v7 7/9] STiH410: Add STi pinctrl driver

2017-02-21 Thread patrice.chotard
From: Patrice Chotard Add STMicroelectronics STiH410 pinctrl driver Signed-off-by: Patrice Chotard Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- drivers/pinctrl/Kconfig | 10 ++

[U-Boot] [PATCH v7 9/9] board: Add STMicroelectronics STiH410-B2260 support

2017-02-21 Thread patrice.chotard
From: Patrice Chotard This is a 96Board compliant board based on STiH410 SoC: - 1GB DDR - On-Board USB combo WiFi/Bluetooth RTL8723BU with PCB soldered antenna - Ethernet 1000-BaseT - SATA - HDMI - 2 x USB2.0 type A - 1 x USB2.0 type micro-AB - SD card

[U-Boot] [PATCH v7 2/9] STiH410: Add STi timer driver

2017-02-21 Thread patrice.chotard
From: Patrice Chotard Add ARM global timer based timer Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- drivers/timer/Kconfig | 7 + drivers/timer/Makefile| 1 + drivers/timer/sti-timer.c | 78

[U-Boot] [PATCH v7 5/9] gpio: do not include for ARCH_STI

2017-02-21 Thread patrice.chotard
From: Patrice Chotard As no gpio.h is defined in arch/arm/include/asm/arch-stih410, to avoid compilation failure, do not include asm/arch/gpio.h. This is needed for example when including sdhci.h, which include asm/gpio.h>. Signed-off-by: Patrice Chotard

[U-Boot] [PATCH v7 1/9] arm: Add support for STMicroelectronics STiH410 soc

2017-02-21 Thread patrice.chotard
From: Patrice Chotard The STiH410 is an advanced multi-HD AVC processor with 3D graphics acceleration and 1.5-GHz ARM Cortex-A9 SMP CPU part of the STiH407 family. It has wide connectivity including USB 3.0, PCI-e, SATA and gigabit ethernet. Signed-off-by: Patrice

[U-Boot] [PATCH v7 4/9] STiH410: Add STi serial driver

2017-02-21 Thread patrice.chotard
From: Patrice Chotard This patch adds support to ASC (asynchronous serial controller) driver, which is basically a standard serial driver. This IP is common across other STMicroelectronics SoCs Signed-off-by: Patrice Chotard Reviewed-by: Simon

Re: [U-Boot] [PATCH v6 0/9] Add STMicroelectronics STiH410-B2260 board

2017-02-21 Thread Patrice CHOTARD
Sorry again I will sent a v7 to fix a typo Patrice On 02/21/2017 09:55 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > v6: _ fix last minute bug in pinctrl driver > > v5: _ Add Simon Glass's reviewed-by > _ move board Kconfig description from patch 1

[U-Boot] [PATCH] drivers/net/phy: add fixed-phy / fixed-link support

2017-02-21 Thread Hannes Schmelzer
This patch adds support for having a "fixed-link" to some other MAC (like some embedded switch-device). For this purpose we introduce a new phy-driver, called "Fixed PHY". Fixed PHY works only with CONFIG_DM_ETH enabled, since the fixed-link is described with a subnode below ethernet interface.

Re: [U-Boot] [PATCH v3 1/2] common: image: update boot_get_fpga to support arbitrary fpga image

2017-02-21 Thread Michal Simek
On 20.2.2017 16:46, Dalon Westergreen wrote: > On Mon, 2017-02-20 at 16:16 +0100, Michal Simek wrote: >> On 20.2.2017 15:56, Dalon Westergreen wrote: >>> >>> The implementation of boot_get_fpga only supported one fpga family. >>> This modification allows for any of the fpga devices supported by

Re: [U-Boot] [PATCH v3 15/17] board: BuR: use get_nand_dev_by_index()

2017-02-21 Thread Hannes Schmelzer
> As part of preparation for nand DM conversion the new API has been > introduced to remove direct access to nand_info array. So, use it here > instead of accessing to nand_info array directly. > > Cc: Hannes Schmelzer > Signed-off-by: Grygorii Strashko

Re: [U-Boot] [PATCH v1] usb: gadget: f_dfu: write req->actual bytes

2017-02-21 Thread Lukasz Majewski
Hi Felipe, > > Hi Lukasz, > > Lukasz Majewski writes: > >> > >> drivers/usb/gadget/f_dfu.c | 2 +- > >> > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > >> > >> > >> diff --git a/drivers/usb/gadget/f_dfu.c > >> > >> b/drivers/usb/gadget/f_dfu.c index

[U-Boot] [PATCH v6 4/9] STiH410: Add STi serial driver

2017-02-21 Thread patrice.chotard
From: Patrice Chotard This patch adds support to ASC (asynchronous serial controller) driver, which is basically a standard serial driver. This IP is common across other STMicroelectronics SoCs Signed-off-by: Patrice Chotard Reviewed-by: Simon

[U-Boot] [PATCH v6 3/9] STiH410: Add STi sysreset driver

2017-02-21 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- drivers/sysreset/Makefile | 1 + drivers/sysreset/sysreset_sti.c | 82 + 2 files changed, 83

[U-Boot] [PATCH v6 2/9] STiH410: Add STi timer driver

2017-02-21 Thread patrice.chotard
From: Patrice Chotard Add ARM global timer based timer Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- drivers/timer/Kconfig | 7 + drivers/timer/Makefile| 1 + drivers/timer/sti-timer.c | 78

[U-Boot] [PATCH v6 0/9] Add STMicroelectronics STiH410-B2260 board

2017-02-21 Thread patrice.chotard
From: Patrice Chotard v6: _ fix last minute bug in pinctrl driver v5: _ Add Simon Glass's reviewed-by _ move board Kconfig description from patch 1 to 9 v4: _ fix STi serial driver to be fully DT compliant _ remove arch/arm/include/asm/arch-stih410/sti.h and

[U-Boot] [PATCH v6 1/9] arm: Add support for STMicroelectronics STiH410 soc

2017-02-21 Thread patrice.chotard
From: Patrice Chotard The STiH410 is an advanced multi-HD AVC processor with 3D graphics acceleration and 1.5-GHz ARM Cortex-A9 SMP CPU part of the STiH407 family. It has wide connectivity including USB 3.0, PCI-e, SATA and gigabit ethernet. Signed-off-by: Patrice

[U-Boot] [PATCH v7 0/9] Add STMicroelectronics STiH410-B2260 board

2017-02-21 Thread patrice.chotard
From: Patrice Chotard v7: _ typo: replace "Slow" by "Low" in patch 9 Kconfig's help v6: _ fix last minute bug in pinctrl driver v5: _ Add Simon Glass's reviewed-by _ move board Kconfig description from patch 1 to 9 v4: _ fix STi serial driver to be fully DT

[U-Boot] [PATCH v7 6/9] STiH410: Add STi SDHCI driver

2017-02-21 Thread patrice.chotard
From: Patrice Chotard Add SDHCI host controller found on STMicroelectronics SoCs On some ST SoCs, i.e. STiH407/STiH410, the MMC devices can live inside a dedicated flashSS sub-system that provides an extend subset of registers that can be used to configure the Arasan

[U-Boot] [PATCH v7 3/9] STiH410: Add STi sysreset driver

2017-02-21 Thread patrice.chotard
From: Patrice Chotard Signed-off-by: Patrice Chotard Reviewed-by: Simon Glass --- drivers/sysreset/Makefile | 1 + drivers/sysreset/sysreset_sti.c | 82 + 2 files changed, 83

[U-Boot] [PATCH v6 5/9] gpio: do not include for ARCH_STI

2017-02-21 Thread patrice.chotard
From: Patrice Chotard As no gpio.h is defined in arch/arm/include/asm/arch-stih410, to avoid compilation failure, do not include asm/arch/gpio.h. This is needed for example when including sdhci.h, which include asm/gpio.h>. Signed-off-by: Patrice Chotard

[U-Boot] [PATCH v6 6/9] STiH410: Add STi SDHCI driver

2017-02-21 Thread patrice.chotard
From: Patrice Chotard Add SDHCI host controller found on STMicroelectronics SoCs On some ST SoCs, i.e. STiH407/STiH410, the MMC devices can live inside a dedicated flashSS sub-system that provides an extend subset of registers that can be used to configure the Arasan

[U-Boot] [PATCH v6 7/9] STiH410: Add STi pinctrl driver

2017-02-21 Thread patrice.chotard
From: Patrice Chotard Add STMicroelectronics STiH410 pinctrl driver Signed-off-by: Patrice Chotard Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- v6: _ add missing return value to bitfield_replace()

[U-Boot] [PATCH v6 9/9] board: Add STMicroelectronics STiH410-B2260 support

2017-02-21 Thread patrice.chotard
From: Patrice Chotard This is a 96Board compliant board based on STiH410 SoC: - 1GB DDR - On-Board USB combo WiFi/Bluetooth RTL8723BU with PCB soldered antenna - Ethernet 1000-BaseT - SATA - HDMI - 2 x USB2.0 type A - 1 x USB2.0 type micro-AB - SD card

Re: [U-Boot] [PATCH v5 0/9] Add STMicroelectronics STiH410-B2260 board

2017-02-21 Thread Patrice CHOTARD
Hi all I found a last minute bug, i will send a v6 Thanks Patrice On 02/20/2017 10:31 AM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > v5: _ Add Simon Glass's reviewed-by > _ move board Kconfig description from patch 1 to 9 > > v4: _ fix STi serial

Re: [U-Boot] socfpga qspi issues on SoCKit devkit

2017-02-21 Thread Rush, Jason A.
Marek Vasut wrote: > On 02/20/2017 05:53 PM, Rush, Jason A. wrote: >> Marek Vasut wrote: >>> On 02/20/2017 05:25 AM, Vignesh R wrote: + Marek >>> >>> Thanks, +CC Dinh and Ley >>> On Friday 17 February 2017 05:02 AM, Rush, Jason A. wrote: > The QSPI NOR interface on the Altera Cyclone

Re: [U-Boot] of-platdata address map decode for 64-bits

2017-02-21 Thread Kever Yang
Hi Simon, On 02/14/2017 01:31 PM, Simon Glass wrote: Hi Kever, On 13 February 2017 at 01:13, Kever Yang wrote: Hi Simon, On 02/08/2017 01:10 PM, Simon Glass wrote: Hi Kever, On 4 February 2017 at 16:30, Kever Yang wrote: Hi Simon,

Re: [U-Boot] [PATCH v2 2/2] board: ge: bx50v3: apply the proper register setting to fix the voltage peak issue

2017-02-21 Thread Stefano Babic
On 21/02/2017 02:56, Ken Lin wrote: > Apply the proper setting for the reserved bits in SetDes Test and System Mode > Control register > to avoid the voltage peak issue while we do the IEEE PHY comformance test > > Signed-off-by: Ken Lin > --- > Changes from v1 > - New

[U-Boot] [PATCH] Revert "imx: mx7: implement reset_misc"

2017-02-21 Thread Fabio Estevam
From: Fabio Estevam Commit 9f8fa184fc1ac ("imx: mx7: implement reset_misc") says it needs to to power down lcdif to make 'reset' can pass stress test. However I see 100% of reset failures with this commit applied, so better revert it for now. This reverts commit

[U-Boot] [PATCH 2/2] arm64: booti: allow to place kernel image anywhere in physical memory

2017-02-21 Thread Masahiro Yamada
At first, the ARM64 Linux booting requirement recommended that the kernel image be placed text_offset bytes from 2MB aligned base near the start of usable system RAM because memory below that base address was unusable at that time. This requirement was relaxed by Linux commit a7f8de168ace

[U-Boot] [PATCH 1/2] arm64: booti: update "res1" field to "flags"

2017-02-21 Thread Masahiro Yamada
As Documentation/arm64/booting.txt of the latest Linux says, the field "res1" is now "flags". Signed-off-by: Masahiro Yamada --- cmd/booti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/booti.c b/cmd/booti.c index bff87a8..f65f0e7

Re: [U-Boot] [PATCH] Makefile: print warning if CONFIG_SYS_EXTRA_OPTIONS is used

2017-02-21 Thread Masahiro Yamada
2017-02-22 8:16 GMT+09:00 Maxime Ripard : > On Sat, Feb 18, 2017 at 03:24:53PM +0900, Masahiro Yamada wrote: >> The prompt of this option is marked "DEPRECATED" in capital letters, >> and its help clearly says: >> This option was prepared for the smooth

Re: [U-Boot] [PATCH 2/2] rsa: Fix deprecated warnings for OpenSSL 1.1.x

2017-02-21 Thread Simon Glass
On 13 February 2017 at 02:00, Jelle van der Waa wrote: > ERR_remove_thread_state is deprecated in OpenSSL 1.1.x and does not do > anything anymore. Thread initialisation and deinitialisation is now > handled by the OpenSSL library. > > Signed-off-by: Jelle van der Waa

Re: [U-Boot] x86: SecureBoot: Bay Trail

2017-02-21 Thread Simon Glass
Hi Markus, On 20 February 2017 at 02:10, Markus Valentin wrote: > Hi, > > On Fri, 2017-02-17 at 19:58 +0800, Bin Meng wrote: >> On Fri, Feb 17, 2017 at 5:26 PM, Markus Valentin wrote: >> > >> > Hi, >> > >> > i'm implementing Secure Boot with U-Boot on a Intel Atom

Re: [U-Boot] Veyron-speedy u-boot

2017-02-21 Thread Simon Glass
Hi Tomeu, On 17 February 2017 at 03:36, Tomeu Vizoso wrote: > On 17 February 2017 at 10:18, Riley Baird wrote: >> Hi Tomeu and Simon, >> >> Thanks for giving me pointers on how the system works and how to get >> u-boot onto it. I'll try and get it

Re: [U-Boot] [PATCH] rockchip: set scan_dev_for_boot_part env for rockchip SoC

2017-02-21 Thread Simon Glass
Hi Eddie, On 17 February 2017 at 00:57, Eddie Cai wrote: > Auto write GPT table if fail to get GPT table when scan_dev_for_boot_part > > Signed-off-by: Eddie Cai > --- > arch/arm/mach-rockchip/rk3036-board.c | 20 ++- >

Re: [U-Boot] [PATCH v1 1/2] part_efi: support padding between the GPT header and partition entries

2017-02-21 Thread Simon Glass
Hi, On 17 February 2017 at 10:31, Philipp Tomsich wrote: > Some architectures require their SPL loader at a fixed address within > the first 16KB of the disk. To avoid an overlap with the partition > entries of the EFI partition table, the first safe offset

Re: [U-Boot] [PATCH v1] serial: ns16550: Add fractional divider for Intel MID

2017-02-21 Thread Simon Glass
Hi Andy, On 21 February 2017 at 05:59, Andy Shevchenko wrote: > The change introduces three integer Kconfig options > SERIAL_DIV_Mmultiplier > SERIAL_DIV_Ndivisor > SERIAL_DIV_PS prescaler divisor > to set default configuration

Re: [U-Boot] of-platdata address map decode for 64-bits

2017-02-21 Thread Simon Glass
Hi Kever, On 21 February 2017 at 06:08, Kever Yang wrote: > Hi Simon, > > On 02/14/2017 01:31 PM, Simon Glass wrote: >> >> Hi Kever, >> >> On 13 February 2017 at 01:13, Kever Yang >> wrote: >>> >>> Hi Simon, >>> >>> On 02/08/2017 01:10 PM,

Re: [U-Boot] [PATCH v3 15/17] board: BuR: use get_nand_dev_by_index()

2017-02-21 Thread Simon Glass
On 21 February 2017 at 04:53, Hannes Schmelzer wrote: >> As part of preparation for nand DM conversion the new API has been >> introduced to remove direct access to nand_info array. So, use it here >> instead of accessing to nand_info array directly. >> >> Cc:

Re: [U-Boot] rockchip: rk3288: init malloc_base, limit, ptr before spl_init

2017-02-21 Thread Simon Glass
Hi Eddie, On 21 February 2017 at 01:15, Eddie Cai wrote: > Andrew F. Davis's below patch broke rk3288 based board. that is because we > call > spl_init in board_init_f which is at very early stage. What Andrew want to fix > is calling spl_init very late. That patch

Re: [U-Boot] [PATCH] spi: cadence_qspi_apb: Add trigger-base DT bindings from Linux

2017-02-21 Thread Vignesh R
On Tuesday 21 February 2017 10:20 PM, Rush, Jason A. wrote: > The socfpga arch uses a different value for the indaddrtrig reg than > the ahbbase address. Adopting the Linux DT bindings separates the > ahbbase and trigger-base addresses, allowing the trigger-base to be+ > set correctly on the

Re: [U-Boot] [PATCH] Makefile: print warning if CONFIG_SYS_EXTRA_OPTIONS is used

2017-02-21 Thread Simon Glass
Hi, On 21 February 2017 at 16:16, Maxime Ripard wrote: > On Sat, Feb 18, 2017 at 03:24:53PM +0900, Masahiro Yamada wrote: >> The prompt of this option is marked "DEPRECATED" in capital letters, >> and its help clearly says: >> This option was prepared for the

Re: [U-Boot] [PATCH v3 01/16] dm: allow limiting pre-reloc markings to spl or tpl

2017-02-21 Thread Simon Glass
Hi Heiko, On 16 February 2017 at 17:36, Heiko Stübner wrote: > > Hi Simon, > > Am Montag, 6. Februar 2017, 07:34:54 CET schrieb Simon Glass: > > On 3 February 2017 at 08:09, Heiko Stuebner wrote: > > > Right now the u-boot,dm-pre-reloc flag will make each

Re: [U-Boot] [PATCH v3] spi: ich: Configure SPI BIOS parameters

2017-02-21 Thread Simon Glass
Hi, On 13 February 2017 at 01:45, Bin Meng wrote: > Hi Stefan, > > On Fri, Feb 10, 2017 at 6:17 PM, Stefan Roese wrote: >> Hi Bin, >> >> On 10.02.2017 06:45, Bin Meng wrote: >> >> >> >> @@ -127,6 +120,44 @@ struct spi_trans { #define SPI_OPCODE_WREN

Re: [U-Boot] dts: rk3399: add mmc alias for rk3399

2017-02-21 Thread Simon Glass
On 19 February 2017 at 23:02, Eddie Cai wrote: > add mmc alias for rk3399 > > Signed-off-by: Eddie Cai > --- > arch/arm/dts/rk3399.dtsi | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Simon Glass

Re: [U-Boot] rockchip: tinker: configs: use correct mmc instance as boot target device

2017-02-21 Thread Simon Glass
On 19 February 2017 at 20:08, Eddie Cai wrote: > We are using wrong mmc instance as boot target device now. below Jaehoon > Chung's > patch use mmc alias which correct it. That make tinker board can not find mmc > device. So give it correct mmc device instance. > >

Re: [U-Boot] Driver-model - Issue with early device_probe

2017-02-21 Thread Simon Glass
Hi Suneel, On 17 February 2017 at 17:44, Suneel Garapati wrote: > Hi All, > Request for help on the below issue. > > Hi Simon, > As I suppose it is related to driver-model in u-boot. > > One of the boards at Cavium has SPI as PCI device and I am trying to > enable

Re: [U-Boot] [PATCH] rockchip: firefly: configs: add a new config to keep non-of-platdata

2017-02-21 Thread Simon Glass
Hi Jacob, On 20 February 2017 at 03:26, Jacob Chen wrote: > The firefly config have been changed to use SPL_BACK_TO_BROM, but we also > want keep > CONFIG_SPL_OF_PLATDATA as an example. > > So add this separate defconfig to show how both way works. > > Signed-off-by:

Re: [U-Boot] dts: rk3036: add sdmmc for rk3036

2017-02-21 Thread Simon Glass
On 19 February 2017 at 23:03, Eddie Cai wrote: > rk3036 support sdmmc, add dts node to support it. > > Signed-off-by: Eddie Cai > --- > arch/arm/dts/rk3036.dtsi | 13 + > 1 file changed, 13 insertions(+) Acked-by: Simon Glass

Re: [U-Boot] [PATCH v1] env_mmc: configure environment offsets via device tree

2017-02-21 Thread Simon Glass
Hi, On 20 February 2017 at 02:18, Dr. Philipp Tomsich wrote: > > On 20 Feb 2017, at 08:22, Igor Grinberg wrote: > > That sounds too odd... > DT's purpose is to describe the h/w... and that does not look so... > We also, have a dt

Re: [U-Boot] [PATCH v3 1/2] common: image: update boot_get_fpga to support arbitrary fpga image

2017-02-21 Thread Simon Glass
Hi Dalon, On 20 February 2017 at 07:56, Dalon Westergreen wrote: > The implementation of boot_get_fpga only supported one fpga family. > This modification allows for any of the fpga devices supported by > fpga_load to be used. Can you add some docs somewhere to explain how

Re: [U-Boot] [PATCH v2] armv8: spl: Call spl_relocate_stack_gd for ARMv8

2017-02-21 Thread Simon Glass
Hi, On 17 February 2017 at 16:41, André Przywara wrote: > On 17/02/17 23:37, Philipp Tomsich wrote: > > Hi, > >> As part of the startup process for boards using the SPL, we need to >> call spl_relocate_stack_gd. This is needed to set up malloc with its >> DRAM buffer. > >

Re: [U-Boot] [PATCH v1] dtoc: make ScanTree recurse into subnodes

2017-02-21 Thread Simon Glass
Hi Philipp, On 17 February 2017 at 10:24, Philipp Tomsich wrote: > Previously, dtoc could only process the top-level nodes which led to > device nodes in hierarchical trees to be ignored. E.g. the mmc0 node > in the following example would be ignored, as

Re: [U-Boot] [PATCH] binman: Explicitly request python2 instead of python from env

2017-02-21 Thread Simon Glass
On 20 February 2017 at 11:41, Paul Kocialkowski wrote: > We now live in a world where python cannot be assumed to be python2. > As a matter of fact, it is no longer the default for python on many > GNU/Linux distributions. > > Running binman with python3 fails, so explicitly

Re: [U-Boot] [PATCH v1] env_mmc: configure environment offsets via device tree

2017-02-21 Thread Igor Grinberg
Hi Philipp, Simon, On 02/22/17 05:59, Simon Glass wrote: > Hi, > > On 20 February 2017 at 02:18, Dr. Philipp Tomsich > wrote: >> >> On 20 Feb 2017, at 08:22, Igor Grinberg wrote: >> >> That sounds too odd... >> DT's purpose is to

Re: [U-Boot] [PATCH v1] usb: gadget: f_dfu: write req->actual bytes

2017-02-21 Thread Felipe Balbi
Hi, Lukasz Majewski writes: >> Lukasz Majewski writes: >> >> > >> drivers/usb/gadget/f_dfu.c | 2 +- >> >> > >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> > >> >> >> > >> diff --git a/drivers/usb/gadget/f_dfu.c >> >> > >>

[U-Boot] Question about bootp structure pack

2017-02-21 Thread rickou
Hi everyone, I’m using u-boot-2015.07 in one of my project based on vpac270 soc module. u-boot is well configured and build is fine without error. Gcc is v3.4.5 and glibc v2.3.6 built by crosstool 0.43 for arm-softfloat-linux-gnu My problem is when i use DHCP command to retrieve a file from my

[U-Boot] Complete verified uboot example

2017-02-21 Thread Ron Brash
Hello all, I am adding verified kernel support on a board we are using and I am struggling to fully understand all of the concepts and steps required to pull everything together (on ARM, using ZImages and booting with a working DTB on 4.4.3x). I also looked at the test script inside of examples,

Re: [U-Boot] [PATCH 0/7] add support for rk3328 SoC

2017-02-21 Thread Simon Glass
Hi Kever, On 17 February 2017 at 01:07, Kever Yang wrote: > This patchset is to support rk3328 Soc, including some basic > driver like clock, pinctrl, sysreset and etc. This version > enables eMMC and sd-card boot, USB and MAC driver is not ready. > > RK3328 is a

Re: [U-Boot] [PATCH] arm: am57xx: Update bootloader partition size

2017-02-21 Thread Bajjuri, Praneeth
On 2/21/2017 3:48 PM, Felipe Balbi wrote: Hi, Sam Protsenko writes: On Tue, Feb 21, 2017 at 10:35 PM, Felipe Balbi wrote: Hi, Sam Protsenko writes: From: Praneeth Bajjuri The

Re: [U-Boot] [PATCH] arm: am57xx: Update bootloader partition size

2017-02-21 Thread Felipe Balbi
Hi, Sam Protsenko writes: > On Tue, Feb 21, 2017 at 10:35 PM, Felipe Balbi > wrote: >> >> Hi, >> >> Sam Protsenko writes: >>> From: Praneeth Bajjuri >>> >>> The current size of u-boot is

Re: [U-Boot] [PATCH] arm: dra7xx: Update bootloader partition size

2017-02-21 Thread Lokesh Vutla
+ jj On Wednesday 22 February 2017 01:21 AM, Sam Protsenko wrote: > The current size of U-Boot is already ~840 KiB. > > This patch is to increase bootloader partition size up to 1 MiB > and thereby fix flashing error. > > Also fix U-Boot environment address on eMMC ("reserved" partition), as >

Re: [U-Boot] [PATCH v1 0/2] disk: efi: allow gap before partition entries

2017-02-21 Thread Rask Ingemann Lambertsen
On Fri, Feb 17, 2017 at 06:31:29PM +0100, Philipp Tomsich wrote: > Motivated by the the SPL layout for SD/MMC devices on Allwinner SoCs > (the SPL code needs to reside an 8K offset into the device), we add > support for leaving a gap between the MBR (LBA#0), GPT header (LBA#1) > and GPT partition

Re: [U-Boot] [PATCH v3] spi: ich: Configure SPI BIOS parameters

2017-02-21 Thread Stefan Roese
Hi Simon, On 22.02.2017 04:59, Simon Glass wrote: What if the board mounts a flash with a different SPI flash command set? Will this work? Frankly, I can't tell for sure but its very likely. As you might have guessed, these defines are taken from coreboot where they are usually board

Re: [U-Boot] [PATCH] arm: dra7xx: Update bootloader partition size

2017-02-21 Thread Bajjuri, Praneeth
On 2/21/2017 1:51 PM, Sam Protsenko wrote: The current size of U-Boot is already ~840 KiB. This patch is to increase bootloader partition size up to 1 MiB and thereby fix flashing error. Also fix U-Boot environment address on eMMC ("reserved" partition), as it's being shifted by above

Re: [U-Boot] [PATCH] arm: am57xx: Update bootloader partition size

2017-02-21 Thread Bajjuri, Praneeth
On 2/21/2017 1:51 PM, Sam Protsenko wrote: From: Praneeth Bajjuri The current size of u-boot is already ~840 KiB. This patch is to increase bootloader partition size up to 1 MiB and thereby fix flashing error like below: sending 'bootloader' (840 KB)... OKAY [

[U-Boot] [PATCH v7 8/9] STiH410-B2260: Add device tree

2017-02-21 Thread patrice.chotard
From: Patrice Chotard This device tree has been extracted from v4.9 kernel Signed-off-by: Patrice Chotard Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- arch/arm/dts/Makefile

[U-Boot] [PATCH v6 8/9] STiH410-B2260: Add device tree

2017-02-21 Thread patrice.chotard
From: Patrice Chotard This device tree has been extracted from v4.9 kernel Signed-off-by: Patrice Chotard Reviewed-by: Tom Rini Reviewed-by: Simon Glass --- arch/arm/dts/Makefile

[U-Boot] [PATCH v2 0/2] Add support for only one CS in fsl Quad SPI

2017-02-21 Thread Suresh Gupta
SOC’s like LS1012A has only one chip select signal out to connect with flash and the 64M flash is attached to it. On boards the same CS is connected to different flash via mux. So at one time only one flash is active and it is not possible to scan other flash at run time. Suresh Gupta (2):

Re: [U-Boot] [PATCH v1] usb: gadget: f_dfu: write req->actual bytes

2017-02-21 Thread Felipe Balbi
Hi, Lukasz Majewski writes: >> Lukasz Majewski writes: >> >> Lukasz Majewski writes: >> >> >> > >> drivers/usb/gadget/f_dfu.c | 2 +- >> >> >> > >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> >> > >> >> >> >> > >> diff --git

[U-Boot] [PATCH v2 1/2] spi: fsl_qspi: Add support for one chip select

2017-02-21 Thread Suresh Gupta
SOC’s like LS1012A has only one chip select signal out to connect with flash. So at one time only one flash is active and it is not possible to scan other flash at run time. Signed-off-by: Suresh Gupta --- drivers/spi/fsl_qspi.c | 5 - 1 file changed, 4 insertions(+),

Re: [U-Boot] [PATCH v2] driver: net: ldpaa: Update priv->phydev after free()

2017-02-21 Thread Er Krishna
Hi Guys, I want to understand cpu release command of u-boot and its implementation. When we do cpu release the satndalone application (may be kernel or so) starts running on particular processor. How does it happens ? Can anyone pls let me know this logic and point me in U -boot code for this

[U-Boot] [PATCH v2 2/2] armv8: dts: fsl-ls1012a: Change number of CS in SPI node

2017-02-21 Thread Suresh Gupta
LS1012A has only one chip select signal out to connect with flash Signed-off-by: Suresh Gupta --- arch/arm/dts/fsl-ls1012a.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/fsl-ls1012a.dtsi b/arch/arm/dts/fsl-ls1012a.dtsi index

Re: [U-Boot] [PATCH V2 11/20] wdog: Add the watchdog driver for MX7ULP.

2017-02-21 Thread Peng Fan
On Sun, Feb 12, 2017 at 10:25:02AM +0100, Stefano Babic wrote: > > >On 27/12/2016 11:04, Peng Fan wrote: >> From: Ye Li >> >> This driver implements the HW WATCHDOG functions. Which needs >> to set CONFIG_HW_WATCHDOG to use them. This is disabled by default for >> mx7ulp. >> >>

Re: [U-Boot] [PATCH v1 02/11] sunxi: add pinctrl (UCLASS_PINCTRL) support for sunxi and tie back into GPIO

2017-02-21 Thread Chen-Yu Tsai
On Tue, Feb 21, 2017 at 5:39 PM, Dr. Philipp Tomsich wrote: > Chen, It's ChenYu. :) > > On 21 Feb 2017, at 04:48, Chen-Yu Tsai wrote: > > On Sat, Feb 18, 2017 at 1:52 AM, Philipp Tomsich > wrote: > >

Re: [U-Boot] [PATCH V2 05/20] imx: mx7ulp: Add soc level initialization codes and functions

2017-02-21 Thread Peng Fan
On Sun, Feb 12, 2017 at 10:19:41AM +0100, Stefano Babic wrote: >Hi Peng, > >On 27/12/2016 11:04, Peng Fan wrote: >> Implement soc level functions to get cpu rev, reset cause, enable cache, >> etc. We will disable the wdog and init clocks in s_init at very early u-boot >> phase. >> >> Since the we

Re: [U-Boot] [PATCH] arm: am57xx: Update bootloader partition size

2017-02-21 Thread Felipe Balbi
Hi, Sam Protsenko writes: > From: Praneeth Bajjuri > > The current size of u-boot is already ~840 KiB. > > This patch is to increase bootloader partition size up to 1 MiB > and thereby fix flashing error like below: > > sending 'bootloader' (840

Re: [U-Boot] [PATCH v1 0/6] Introduce DCU support for Vybrid

2017-02-21 Thread Anatolij Gustschin
Hi, On Wed, 15 Feb 2017 10:40:11 +0530 maitysancha...@gmail.com maitysancha...@gmail.com wrote: > Ping? the merge window is closed currently and will open on 14 Mar 2017, I'll try to review the series before the merge window opens, but not this week, sorry. -- Anatolij

Re: [U-Boot] [PATCH v1 2/2] sun8i: enable support for the Micrel KSZ9031 with SUN8I_EMAC

2017-02-21 Thread Maxime Ripard
On Fri, Feb 17, 2017 at 06:47:55PM +0100, Philipp Tomsich wrote: > #ifdef CONFIG_SUN8I_EMAC > #define CONFIG_PHY_GIGE /* GMAC can use gigabit PHY > */ > +#define CONFIG_PHY_MICREL > +#define CONFIG_PHY_MICREL_KSZ9031 /* used on A64-uQ7 */ > #endif

Re: [U-Boot] [PATCH v1 05/11] sunxi: add module reset (UCLASS_RESET) support for sunxi

2017-02-21 Thread Maxime Ripard
On Fri, Feb 17, 2017 at 06:52:42PM +0100, Philipp Tomsich wrote: > In order to have the device model describe the module reset bits > on sunxi (well, at least for anything newer than sun6i), we need > a (rather simple) driver for 'allwinner,sun6i-a31-clock-reset' > nodes. This one (and the next

Re: [U-Boot] [PATCH v2 5/9] pinctrl: rk3399: add the of-platdata support

2017-02-21 Thread Simon Glass
On 13 February 2017 at 02:38, Kever Yang wrote: > Do not use the API which of-platdata not support. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > Changes in v2: None > Changes in v1: None > >

Re: [U-Boot] [PATCH v2 2/9] arm64: rk3399: move grf register definitions to grf_rk3399.h

2017-02-21 Thread Simon Glass
On 13 February 2017 at 02:38, Kever Yang wrote: > rk3399 grf register bit defenitions should locate in header > file, so that not only pinctrl can use it. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > >

Re: [U-Boot] [PATCH v2 3/9] clk: rk3399: update driver for spl

2017-02-21 Thread Simon Glass
On 13 February 2017 at 02:38, Kever Yang wrote: > Add ddr clock setting, add rockchip_get_pmucru API, > and enable of-platdata support. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > Changes in v2: None

Re: [U-Boot] [PATCH v2 4/9] sdhci: rk3399: update driver to support of-platdata

2017-02-21 Thread Simon Glass
On 13 February 2017 at 02:38, Kever Yang wrote: > Change some API in order to enable of-platdata. > > Signed-off-by: Kever Yang > Reviewed-by: Simon Glass > --- > > Changes in v2: None > Changes in v1: None > >

Re: [U-Boot] [PATCH v4 05/20] rockchip: Move bootrom helper compilation to a hidden option

2017-02-21 Thread Simon Glass
On 18 February 2017 at 11:46, Heiko Stuebner wrote: > Right now the ROCKCHIP_SPL_BACK_TO_BROM option both triggers > compilation of the bootrom hook-code as well as enabling the > behaviour of loading the full U-Boot via the boot. > > New added socs may always need the bootrom

Re: [U-Boot] [PATCH v4 09/20] rockchip: serial: Adapt rockchip of-platdata driver for rk3188

2017-02-21 Thread Simon Glass
On 18 February 2017 at 11:46, Heiko Stuebner wrote: > Add necessary structs to have the driver also work for the serial > on the rk3188. > > Signed-off-by: Heiko Stuebner > Reviewed-by: Simon Glass > Tested-by: Kever Yang

Re: [U-Boot] [PATCH v4 03/20] rockchip: rk3288: sdram: use constants in ddrconf table

2017-02-21 Thread Simon Glass
On 21 February 2017 at 11:08, Simon Glass wrote: > On 18 February 2017 at 11:46, Heiko Stuebner wrote: >> Use defines to describe the bit shifts used to create the >> table for ddrconf register values. >> >> Signed-off-by: Heiko Stuebner >>

Re: [U-Boot] [PATCH v1 02/11] sunxi: add pinctrl (UCLASS_PINCTRL) support for sunxi and tie back into GPIO

2017-02-21 Thread Maxime Ripard
Hi Philipp, On Fri, Feb 17, 2017 at 06:52:39PM +0100, Philipp Tomsich wrote: > This change adds a full device-model pinctrl driver for sunxi (tested with > sun50iw1p1) based on the support available in Linux. > > Details are: > * implements a driver for pinctrl devices and assigns

Re: [U-Boot] [PATCH v1 04/11] sun50i: dts: update DTS to avoid warnings

2017-02-21 Thread Maxime Ripard
Hi, On Fri, Feb 17, 2017 at 06:52:41PM +0100, Philipp Tomsich wrote: > Nodes that don't contain a reg-entry should not have an @xxx name > attached. To silence the dt-compiler warnings, we update the DTS. > > Signed-off-by: Philipp Tomsich Can you submit

Re: [U-Boot] [PATCH v4 04/20] rockchip: rk3288: sdram: style fixes from rk3188 sdram review

2017-02-21 Thread Simon Glass
On 21 February 2017 at 11:08, Simon Glass wrote: > On 18 February 2017 at 11:46, Heiko Stuebner wrote: >> The sdram IP blocks used on rk3066, rk3188 and rk3288 are very similar >> and we want to unify things once all 3 work as expected. >> Therefore try to

Re: [U-Boot] [PATCH v4 01/20] dm: allow limiting pre-reloc markings to spl or tpl

2017-02-21 Thread Simon Glass
On 18 February 2017 at 11:46, Heiko Stuebner wrote: > Right now the u-boot,dm-pre-reloc flag will make each marked node > always appear in both spl and tpl. But systems needing an additional > tpl might have special constraints for each, like the spl needing to > be very tiny. >

Re: [U-Boot] [PATCH v4 02/20] clk: rk3288: limit gpll and cpll init to SPL build

2017-02-21 Thread Simon Glass
On 21 February 2017 at 11:08, Simon Glass wrote: > On 18 February 2017 at 11:46, Heiko Stuebner wrote: >> The gpll and cpll init values are only used in rk_clk_init in the SPL >> and therefore produce compile time warnings in regular uboot builds. >> Fix that

Re: [U-Boot] [PATCH v2 6/9] arm64: rk3399: syscon addition for rk3399

2017-02-21 Thread Simon Glass
On 13 February 2017 at 02:38, Kever Yang wrote: > rk3399 has different syscon registers which may used in spl, > add to support rk3399 spl. > > Signed-off-by: Kever Yang > --- > > Changes in v2: None > Changes in v1: None > >

Re: [U-Boot] [PATCH v4 13/20] rockchip: rk3188: Add rk3066/rk3188 clock bindings

2017-02-21 Thread Simon Glass
On 18 February 2017 at 11:46, Heiko Stuebner wrote: > Bring in required device clock binding files from Linux. > The clock trees for rk3066 and rk3188 are largely similar, which makes > them share the common parts in a shared header. While we focus on rk3188 > for now, bring in

Re: [U-Boot] [PATCH v4 10/20] rockchip: rk3188: Add header files for PMU and GRF

2017-02-21 Thread Simon Glass
On 18 February 2017 at 11:46, Heiko Stuebner wrote: > PMU is the power management unit and GRF is the general register file. Both > are heavily used in U-Boot. Add header files with register definitions. > > Signed-off-by: Heiko Stuebner > Acked-by: Simon Glass

Re: [U-Boot] [PATCH v4 08/20] rockchip: mkimage: Add support rk3188 serial

2017-02-21 Thread Simon Glass
On 18 February 2017 at 11:46, Heiko Stuebner wrote: > Add the entry for the rk3188 requiring rc4-encryption of the SPL. > > Signed-off-by: Heiko Stuebner > Reviewed-by: Simon Glass > Reviewed-by: Kever Yang > --- >

Re: [U-Boot] [PATCH v4 11/20] rockchip: rk3188: Add pinctrl driver

2017-02-21 Thread Simon Glass
On 18 February 2017 at 11:46, Heiko Stuebner wrote: > Add a driver which supports pin multiplexing setup for the most commonly > used peripherals. > > Signed-off-by: Heiko Stuebner > Acked-by: Simon Glass > Tested-by: Kever Yang

  1   2   >