[U-Boot] [PATCH] sifive-fu540: config: Add mmc0 as a boot target device

2019-08-17 Thread Alistair Francis
Add the mmc0 device as a BOOT_TARGET_DEVICES.

Signed-off-by: Alistair Francis 
---
 include/configs/sifive-fu540.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/configs/sifive-fu540.h b/include/configs/sifive-fu540.h
index 858b7a7da1..736ceb1f48 100644
--- a/include/configs/sifive-fu540.h
+++ b/include/configs/sifive-fu540.h
@@ -26,6 +26,7 @@
 #define CONFIG_ENV_SIZESZ_128K
 
 #define BOOT_TARGET_DEVICES(func) \
+   func(MMC, mmc, 0) \
func(DHCP, dhcp, na)
 
 #include 
-- 
2.22.0

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] Rockpro64_V2.1 2018-07-02 Boot Freeze

2019-08-17 Thread Kurt Miller
Hello,

The Rockpro64_V2.1 2018-07-02 using master code base freezes
with only the following output:

U-Boot TPL 2019.10-rc2-1-gdf33f86468-dirty (Aug 16 2019 - 22:31:31)

Whereas another board dated 2018-06-06 works and outputs the following:

U-Boot TPL 2019.10-rc2-1-gdf33f86468-dirty (Aug 16 2019 - 22:31:31)
Trying to boot from BOOTROM
Returning to boot ROM... 

U-Boot SPL 2019.10-rc2-1-gdf33f86468-dirty (Aug 16 2019 - 22:31:31 +0200)

Both board have 4G RAM.

U-Boot was built by Mark Kettenis from master with only the
baud rate changed for both tests. The 2018-07-02 board has different
markings for the CPU and the RAM as follows:

     2018-06-06       2018-07-02
CPU: RK3399           RK3399
     SBETMF976 1652   SBETNM271 1826

RAM: PS006-075 BT     PS052-053 BT
     N1YJ             83RL

Please let me know if there is additional information needed to
further diagnose the boot freeze.

Regards,
-Kurt
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-08-17 Thread Tom Rini
On Sat, Aug 17, 2019 at 02:19:58PM +0200, Marek Vasut wrote:

> The following changes since commit df33f8646855e65b8e7232c7fd5739e1ae1eb58b:
> 
>   configs: Resync with savedefconfig (2019-08-14 08:11:27 -0400)
> 
> are available in the Git repository at:
> 
>   git://git.denx.de/u-boot-socfpga.git master
> 
> for you to fetch changes up to a89441a74f6df1f75b942f6906724620fad2e8e1:
> 
>   arm: socfpga: gen5: don't zero bss in board_init_f() (2019-08-15
> 08:50:02 +0200)
> 

Applied to u-boot/master, thanks!

-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2019-08-17 Thread Tom Rini
On Fri, Aug 16, 2019 at 01:19:59PM +0800, ub...@andestech.com wrote:

> Hi Tom,
> 
> Please pull some riscv updates:
> 
> - Fix sifive serial y-modem transfer.
> - Access CSRs using CSR numbers.
> - Update doc sifive-fu540
> - Support big endian hosts and target.
> 
> https://travis-ci.org/rickchen36/u-boot-riscv/builds/572159567
> 
> Thanks
> Rick
> 
> 
> The following changes since commit df33f8646855e65b8e7232c7fd5739e1ae1eb58b:
> 
>   configs: Resync with savedefconfig (2019-08-14 08:11:27 -0400)
> 
> are available in the Git repository at:
> 
>   g...@gitlab.denx.de:u-boot/custodians/u-boot-riscv.git
> 
> for you to fetch changes up to 4539926a9c47638951f29f550f3a640e4c223032:
> 
>   riscv: tools: Add big endian target support to prelink-riscv (2019-08-15 
> 13:42:28 +0800)
> 

Applied to u-boot/master, thanks!


-- 
Tom


signature.asc
Description: PGP signature
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH] sifive-fu540: config: Add mmc0 as a boot target device

2019-08-17 Thread Bin Meng
On Sat, Aug 17, 2019 at 2:03 AM Alistair Francis
 wrote:
>
> Add the mmc0 device as a BOOT_TARGET_DEVICES.
>
> Signed-off-by: Alistair Francis 
> ---
>  include/configs/sifive-fu540.h | 1 +
>  1 file changed, 1 insertion(+)
>

Reviewed-by: Bin Meng 
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH 2/4] rockchip: dts: rk3328-rock64: enable usb3 xhci controller

2019-08-17 Thread Matwey V. Kornilov
Hi Kever,

I've just tested the series on my Rock64 and I see the following
issue. An USB pen-drive is not discovered by `usb start' when attached
to the USB3 (blue) port.
Attaching to USB2 port works fine.

чт, 15 авг. 2019 г. в 11:14, Kever Yang :
>
> Rock64 has a USB3.0 port, enable the controller so that we can use it.
>
> Signed-off-by: Kever Yang 
> ---
>
>  arch/arm/dts/rk3328-rock64-u-boot.dtsi | 4 
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/dts/rk3328-rock64-u-boot.dtsi 
> b/arch/arm/dts/rk3328-rock64-u-boot.dtsi
> index dbcce6ac64..21c2afca3c 100644
> --- a/arch/arm/dts/rk3328-rock64-u-boot.dtsi
> +++ b/arch/arm/dts/rk3328-rock64-u-boot.dtsi
> @@ -32,3 +32,7 @@
>   {
> u-boot,dm-pre-reloc;
>  };
> +
> +_host0_xhci {
> +   status = "okay";
> +};
> --
> 2.17.1
>


-- 
With best regards,
Matwey V. Kornilov
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH v4 1/5] usb_kdb: only process events succesfully received

2019-08-17 Thread Marek Vasut
On 8/17/19 2:18 PM, Marek Vasut wrote:
> On 8/6/19 7:07 PM, Michal Suchanek wrote:
>> Causes unbound key repeat on error otherwise.
>>
>> Signed-off-by: Michal Suchanek 
>> ---
>> v2: fix indentation
>> v4: fix ! condition to >= 0
>> ---
>>  common/usb_kbd.c | 7 +++
>>  1 file changed, 3 insertions(+), 4 deletions(-)
>>
>> diff --git a/common/usb_kbd.c b/common/usb_kbd.c
>> index cc99c6be0720..5ee6006012f2 100644
>> --- a/common/usb_kbd.c
>> +++ b/common/usb_kbd.c
>> @@ -339,10 +339,9 @@ static inline void usb_kbd_poll_for_event(struct 
>> usb_device *dev)
>>  struct usb_kbd_pdata *data = dev->privptr;
>>  
>>  /* Submit a interrupt transfer request */
>> -usb_submit_int_msg(dev, data->intpipe, >new[0], data->intpktsize,
>> -   data->intinterval);
>> -
>> -usb_kbd_irq_worker(dev);
>> +if (usb_submit_int_msg(dev, data->intpipe, >new[0],
>> +   data->intpktsize, data->intinterval) >= 0)
>> +usb_kbd_irq_worker(dev);
>>  #elif defined(CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP) || \
>>defined(CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE)
>>  #if defined(CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP)
>>
> 
> Applied all, thanks!

Fails to build on sandbox_spl_defconfig , so dropped.
Can you fix that and repost ?
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


Re: [U-Boot] [PATCH v4 1/5] usb_kdb: only process events succesfully received

2019-08-17 Thread Marek Vasut
On 8/6/19 7:07 PM, Michal Suchanek wrote:
> Causes unbound key repeat on error otherwise.
> 
> Signed-off-by: Michal Suchanek 
> ---
> v2: fix indentation
> v4: fix ! condition to >= 0
> ---
>  common/usb_kbd.c | 7 +++
>  1 file changed, 3 insertions(+), 4 deletions(-)
> 
> diff --git a/common/usb_kbd.c b/common/usb_kbd.c
> index cc99c6be0720..5ee6006012f2 100644
> --- a/common/usb_kbd.c
> +++ b/common/usb_kbd.c
> @@ -339,10 +339,9 @@ static inline void usb_kbd_poll_for_event(struct 
> usb_device *dev)
>   struct usb_kbd_pdata *data = dev->privptr;
>  
>   /* Submit a interrupt transfer request */
> - usb_submit_int_msg(dev, data->intpipe, >new[0], data->intpktsize,
> -data->intinterval);
> -
> - usb_kbd_irq_worker(dev);
> + if (usb_submit_int_msg(dev, data->intpipe, >new[0],
> +data->intpktsize, data->intinterval) >= 0)
> + usb_kbd_irq_worker(dev);
>  #elif defined(CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP) || \
>defined(CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE)
>  #if defined(CONFIG_SYS_USB_EVENT_POLL_VIA_CONTROL_EP)
> 

Applied all, thanks!
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PULL] u-boot-socfpga/master

2019-08-17 Thread Marek Vasut
The following changes since commit df33f8646855e65b8e7232c7fd5739e1ae1eb58b:

  configs: Resync with savedefconfig (2019-08-14 08:11:27 -0400)

are available in the Git repository at:

  git://git.denx.de/u-boot-socfpga.git master

for you to fetch changes up to a89441a74f6df1f75b942f6906724620fad2e8e1:

  arm: socfpga: gen5: don't zero bss in board_init_f() (2019-08-15
08:50:02 +0200)


Dalon Westergreen (1):
  ARM: socfpga: update CONFIG_SPL_FS_LOAD_PAYLOAD_NAME to u-boot.img

Ley Foon Tan (1):
  arm: socfpga: Fix SYSRESET_SOCFPGA_S10 config name

Simon Goldschmidt (1):
  arm: socfpga: gen5: don't zero bss in board_init_f()

 arch/arm/Kconfig | 2 +-
 arch/arm/mach-socfpga/spl_gen5.c | 2 --
 include/configs/socfpga_common.h | 2 +-
 3 files changed, 2 insertions(+), 4 deletions(-)
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] 答复: 答复: [PATCH v2 1/4] USB: gadget: Add the cadence USB3 gadget driver

2019-08-17 Thread Sherry Sun
Hi Marek

> 
> On 8/16/19 6:45 AM, Sherry Sun wrote:
> > Hi Marek
> >
> >>
> >> On 8/14/19 2:16 PM, sherry sun wrote:
> >>> From: Sherry Sun 
> >>>
> >>> This driver is ported from NXP i.MX U-Boot version imx_v2019.04 and
> >>> some changes have also been made to adapt to U-Boot.
> >>>
> >>> Add the Cadence USB3 IP(CDNS3) driver for the gadget (device mode).
> >>> The CDNS3 gadget driver support DM mode. CONFIG_DM_USB_GADGET
> >> should
> >>> be enabled when use this driver. And gadget_is_cdns3 checking is
> >>> added to provide bcdUSB value in device descriptor.
> >>
> >> The cadence core isn't xhci compatible ? Sigh ...
> >>
> >
> > Actually, I'm not very understand what the xhci compatible means?
> > The cadence core can support usb peripheral and host. But for now, we
> > just done the gadget part in the core code. If it needed later, we can
> > add the host part to it.
> 
> So this is all needed to support gadget on the cadence3 ?

Yes, this patch is all needed for cdns3 usb gadget driver.
I have already validated this on i.MX8 platform.
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot