Re: [U-Boot] [PATCH] usb: gadget: ci_udc: fix suspend/resume of USB Mass Storage

2016-08-23 Thread John Tobias
Hi Marek, On Tue, Aug 23, 2016 at 8:29 PM, Marek Vasut wrote: > On 08/24/2016 03:30 AM, John Tobias wrote: >> Hi Marek, > > Hi, > >> On Tue, Aug 23, 2016 at 5:18 PM, Marek Vasut wrote: >>> On 08/24/2016 12:49 AM, Fabio Estevam wrote: Adding Marek on Cc >>> >>> Thanks >>> On Mon, Aug 22

Re: [U-Boot] [PATCH v2] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-08-23 Thread Sriram Dash
>From: york sun >On 08/22/2016 06:54 AM, Marek Vasut wrote: >> On 08/22/2016 02:25 PM, Sriram Dash wrote: >>> This is required for better performance, and performs below tuning: >>> 1. Enable burst length set, and define it as 4/8/16. > >Isn't it odd to put a date here? > Hello York, Here we are e

Re: [U-Boot] [PATCH] drivers: usb: xhci-fsl: Implement Erratum A-010151 for FSL USB3 controller

2016-08-23 Thread Sriram Dash
>From: york sun >On 08/19/2016 03:13 AM, Sriram Dash wrote: >> Currently the controller by default enables the Receive Detect feature >> in P3 mode in USB 3.0 PHY. However, USB 3.0 PHY does not reliably >> support receive detection in P3 mode. >> Enabling the USB3 controller to configure USB in P2

Re: [U-Boot] Should MMC drivers use CONFIG_BLK?

2016-08-23 Thread Simon Glass
Hi Masahiro, On 23 August 2016 at 21:27, Masahiro Yamada wrote: > > Hi Simon, > > I was not following the changes in MMC drivers > added by you. > > Recently, I had some time to check those updates > and convert my driver (drivers/mmc/uniphier-sd.c). > > If migration is completed, MMC drivers sho

[U-Boot] [PATCH v3 7/7] config: evb-rk3399: enable fixed regulator

2016-08-23 Thread Kever Yang
This patch enable fixed regulator driver for rk3399 evb. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v3: None Changes in v2: - add Acked-by Tag from Simon configs/evb-rk3399_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/evb-rk3399_defconfig b/confi

[U-Boot] [PATCH v3 5/7] dts: rk3399-evb: add regulator-fixed for usb host vbus

2016-08-23 Thread Kever Yang
rk3399 evb using one gpio to enable 5V output for both USB 2.0 host port, let's use fixed regulator for them. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/arm/dts/rk3399-evb.dts | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/

[U-Boot] [PATCH v3 4/7] dts: rk3399: add dwc3_typec node for rk3399

2016-08-23 Thread Kever Yang
From: MengDongyang rk3399 has two dwc3 controller for type-C port, add the dts node and enable them. Signed-off-by: MengDongyang Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/arm/dts/rk3399-evb.dts | 8 arch/arm/dts/rk3399.dtsi

[U-Boot] [PATCH v3 6/7] board: evb-rk3399: enable usb 2.0 host vbus power on board_init

2016-08-23 Thread Kever Yang
rk3399 using one gpio control signal for two usb 2.0 host port, it's better to enable the power in board file instead of in usb driver. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v3: - add Acked-by tag from Simon Changes in v2: - use regulator_get_by_platname instead of ucl

[U-Boot] [PATCH v3 3/7] config: rk3399: add usb related configs

2016-08-23 Thread Kever Yang
From: MengDongyang This patch to enable configs for usb module - xhci - ehci - usb storage - usb net Signed-off-by: MengDongyang Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v3: None Changes in v2: None configs/evb-rk3399_defconfig| 7 +++ include/configs/rk3399_

[U-Boot] [PATCH v3 1/7] usb: xhci-rockchip: add rockchip dwc3 controller driver

2016-08-23 Thread Kever Yang
From: MengDongyang This patch add support for rockchip dwc3 controller, which corresponding to the two type-C port on rk3399 evb. Only support usb2.0 currently for we have not enable the usb3.0 phy driver and PD(fusb302) driver. Signed-off-by: MengDongyang Signed-off-by: Kever Yang --- Change

[U-Boot] [PATCH v3 2/7] rockchip: select DM_USB for rockchip SoC

2016-08-23 Thread Kever Yang
From: MengDongyang Select DM_USB to compatible with USB DM driver model. Signed-off-by: MengDongyang Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/arm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/Kconfig b/arch/arm/

[U-Boot] [PATCH v3 0/7] rk3399: enable host controllers

2016-08-23 Thread Kever Yang
rk3399 evb has two typec port(dwc3 controller) which support dual role device with separate GPIO for vbus control and two USB 2.0 host port (generic EHCI controller) with one GPIO for vbus control. This patch set enable all these host controllers and have test with usb disk and usb ethernet devic

[U-Boot] [PATCH v2 4/4] config: rk3399: add support for dwc3 gadget

2016-08-23 Thread Kever Yang
To support fastboot, we need to enable the controller first. rk3399 is using dwc3 as usb device controller, this patch enable the configs for dwc3 gadget. Signed-off-by: Kever Yang Reviewed-by: Simon Glass --- Changes in v2: - remove config for USB2PHY UTMI BITS include/configs/rk3399_common.

[U-Boot] [PATCH v2 3/4] usb: dwc3: add support for 16 bit UTMI+ interface

2016-08-23 Thread Kever Yang
The dwc3 controller is using 8 bit UTMI+ interface for USB2.0 PHY, add one variable in dwc3/dwc3_device struct to support 16 bit UTMI+ interface on some SoCs like Rockchip rk3399. Signed-off-by: Kever Yang --- Changes in v2: - use a variable to identify utmi+ bus width instead of CONFIG MACRO

[U-Boot] [PATCH v2 2/4] board: evb-rk3399: add api to support dwc3 gadget

2016-08-23 Thread Kever Yang
This patch add board_usb_init() and interrupt callback for dwc3 gadget. Signed-off-by: Kever Yang Reviewed-by: Simon Glass --- Changes in v2: - parse dt for utmi width board/rockchip/evb_rk3399/evb-rk3399.c | 33 + 1 file changed, 33 insertions(+) diff --git a

[U-Boot] [PATCH v2 1/4] rk3399: add a empty "sys_proto.h" header file

2016-08-23 Thread Kever Yang
driver/usb/dwc3/gadget.c need a "sys_proto.h" header file, add a empty one to make compile success. Signed-off-by: Kever Yang Acked-by: Simon Glass --- Changes in v2: None arch/arm/include/asm/arch-rockchip/sys_proto.h | 10 ++ 1 file changed, 10 insertions(+) create mode 100644 arch

[U-Boot] [PATCH v2 0/4] rk3399: enable dwc3 gadget and fastboot

2016-08-23 Thread Kever Yang
This patch set enable rk3399 dwc3 controller and gadget driver for fastboot. Changes in v2: - parse dt for utmi width - use a variable to identify utmi+ bus width instead of CONFIG MACRO - remove config for USB2PHY UTMI BITS Kever Yang (4): rk3399: add a empty "sys_proto.h" header file boar

Re: [U-Boot] [PATCH v2 1/7] usb: xhci-rockchip: add rockchip dwc3 controller driver

2016-08-23 Thread Kever Yang
Hi Simon, On 08/22/2016 12:20 PM, Simon Glass wrote: Hi Kever, On 19 August 2016 at 01:19, Kever Yang wrote: From: MengDongyang This patch add support for rockchip dwc3 controller, which corresponding to the two type-C port on rk3399 evb. Only support usb2.0 currently for we have not enable

Re: [U-Boot] [PATCH] usb: gadget: ci_udc: fix suspend/resume of USB Mass Storage

2016-08-23 Thread Marek Vasut
On 08/24/2016 03:30 AM, John Tobias wrote: > Hi Marek, Hi, > On Tue, Aug 23, 2016 at 5:18 PM, Marek Vasut wrote: >> On 08/24/2016 12:49 AM, Fabio Estevam wrote: >>> Adding Marek on Cc >> >> Thanks >> >>> On Mon, Aug 22, 2016 at 4:38 PM, John Tobias >>> wrote: When the host machine went to

[U-Boot] Should MMC drivers use CONFIG_BLK?

2016-08-23 Thread Masahiro Yamada
Hi Simon, I was not following the changes in MMC drivers added by you. Recently, I had some time to check those updates and convert my driver (drivers/mmc/uniphier-sd.c). If migration is completed, MMC drivers should use CONFIG_DM_MMC_OPS CONFIG_BLK correct? I want to be sure if I am gett

Re: [U-Boot] [PATCH v2 1/7] usb: xhci-rockchip: add rockchip dwc3 controller driver

2016-08-23 Thread Kever Yang
Hi Marek, On 08/19/2016 06:52 PM, Marek Vasut wrote: On 08/19/2016 09:19 AM, Kever Yang wrote: From: MengDongyang This patch add support for rockchip dwc3 controller, which corresponding to the two type-C port on rk3399 evb. Only support usb2.0 currently for we have not enable the usb3.0 phy

Re: [U-Boot] [PATCH] usb: gadget: ci_udc: fix suspend/resume of USB Mass Storage

2016-08-23 Thread John Tobias
Hi Marek, On Tue, Aug 23, 2016 at 5:18 PM, Marek Vasut wrote: > On 08/24/2016 12:49 AM, Fabio Estevam wrote: >> Adding Marek on Cc > > Thanks > >> On Mon, Aug 22, 2016 at 4:38 PM, John Tobias >> wrote: >>> When the host machine went to suspend mode and then wake it up, it send >>> a USB_REQ_GET

Re: [U-Boot] [PATCH] usb: gadget: ci_udc: fix suspend/resume of USB Mass Storage

2016-08-23 Thread Marek Vasut
On 08/24/2016 12:49 AM, Fabio Estevam wrote: > Adding Marek on Cc Thanks > On Mon, Aug 22, 2016 at 4:38 PM, John Tobias wrote: >> When the host machine went to suspend mode and then wake it up, it send >> a USB_REQ_GET_STATUS. Can you expand on this ? It is not clear what the conditions to repl

Re: [U-Boot] [PATCH v3 0/3] Modifies the erratum A006261 according to endianness

2016-08-23 Thread Marek Vasut
On 08/23/2016 10:34 PM, york sun wrote: > On 08/17/2016 01:17 AM, Marek Vasut wrote: >> On 08/17/2016 08:17 AM, Sriram Dash wrote: >>> Modifies erratum A006261 implementation due to the fact that P3041, >>> P5020, and P5040 are all big endian for the USB PHY registers, but >>> they were specified l

Re: [U-Boot] [PATCH 3/3] nitrogen6x: add secure boot support

2016-08-23 Thread Eric Nelson
Hi Gary, On 08/23/2016 02:55 PM, Gary Bisson wrote: > Selecting the proper options to enable the build of the HAB tools. > > Also adding a CSF section to the imx final image so it can contain > the signature information. > > Note, this support is disabled by default, one will have to select > th

[U-Boot] [PATCH] nand: Fix set_dev checks for no device

2016-08-23 Thread Tony Lindgren
If we do nand device 0 command in u-boot on a device that has NAND support enabled but no NAND chip, we can get data abort at least on omaps. Fix the issue by adding a check for nand_info[dev]. Signed-off-by: Tony Lindgren --- a/cmd/nand.c +++ b/cmd/nand.c @@ -116,7 +116,7 @@ free_dat: static i

Re: [U-Boot] [PATCH] nand: Fix set_dev checks for no device

2016-08-23 Thread Tony Lindgren
* Scott Wood [160823 14:31]: > On Tue, 2016-08-23 at 14:26 -0700, Tony Lindgren wrote: > > If we do nand device 0 command in u-boot on a device that has NAND support > > enabled but no NAND chip, we can get data abort at least on omaps. > > > > Fix the issue by adding a check for nand_info[dev].

Re: [U-Boot] [PATCH] nand: Fix set_dev checks for no device

2016-08-23 Thread Tony Lindgren
* Scott Wood [160823 15:08]: > On Tue, 2016-08-23 at 15:04 -0700, Tony Lindgren wrote: > > * Scott Wood [160823 14:31]: > > > > > > On Tue, 2016-08-23 at 14:26 -0700, Tony Lindgren wrote: > > > > > > > > If we do nand device 0 command in u-boot on a device that has NAND > > > > support > > > >

Re: [U-Boot] [PATCH 2/3] arm: imx-common: introduce back usec2ticks

2016-08-23 Thread Eric Nelson
Hi Gary and Peng, On 08/23/2016 02:55 PM, Gary Bisson wrote: > From: Peng Fan > > This commit "2bb014820c49a63902103bac710bc86b5772e843" > do some clean up to use the code in lib/time.c. > But usec2ticks is still being used by security related job ring code. > Bring back the function to avoid bu

Re: [U-Boot] [PATCH 1/3] arm: imx-common: add SECURE_BOOT option to Kconfig

2016-08-23 Thread Eric Nelson
Nicely done Gary! On 08/23/2016 02:55 PM, Gary Bisson wrote: > So the option can easily be selected through menuconfig. > > Signed-off-by: Gary Bisson > --- > arch/arm/imx-common/Kconfig | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/imx-common/Kconfig b/arch/arm/im

Re: [U-Boot] [PATCH v1 2/2] arm: mvebu: Define NAND interface pins for A-38x

2016-08-23 Thread Chris Packham
Hi Stefan, On Tue, Aug 23, 2016 at 10:54 PM, Chris Packham wrote: > On Tue, Aug 23, 2016 at 6:57 PM, Stefan Roese wrote: >> Hi Chris, >> >> On 22.08.2016 02:38, Chris Packham wrote: >>> >>> From: Chris Packham >>> >>> Add pin control settings for the NAND flash interface. This interface >>> is

Re: [U-Boot] [PATCH] nand: Fix set_dev checks for no device

2016-08-23 Thread Scott Wood
On Tue, 2016-08-23 at 15:21 -0700, Tony Lindgren wrote: > OK seems to work. Updated patch below. > > Regards, > > Tony > 8< - > From: Tony Lindgren > Date: Tue, 23 Aug 2016 15:14:26 -0700 > Subject: [PATCHv2] nand: Fix set_dev checks for no device Could you please send a standal

[U-Boot] [PATCH 2/2] bcm: fastboot: implement 'reboot-bootloader'

2016-08-23 Thread Steve Rae
on bcm235xx and bcm281xx boards Signed-off-by: Steve Rae --- board/broadcom/bcm23550_w1d/bcm23550_w1d.c | 30 ++ board/broadcom/bcm28155_ap/bcm28155_ap.c | 30 ++ 2 files changed, 60 insertions(+) diff --git a/board/broadcom/bcm23550_w1

[U-Boot] [PATCH 1/2] fastboot: more support for reboot-bootloader command

2016-08-23 Thread Steve Rae
The "fastboot reboot-bootloader" command is defined to re-enter into fastboot mode after rebooting into the bootloader. There is current support for setting the reset flag via the __weak fb_set_reboot_flag() function. This commit adds a generic handler to implement code which could launch fastboo

Re: [U-Boot] [ARM] RFC: Add board support for Colorado Engineering TK1-SOM

2016-08-23 Thread Stephen Warren
On 08/23/2016 04:47 PM, Peter Chubb wrote: "Stephen" == Stephen Warren writes: Stephen> On 08/22/2016 04:29 PM, Peter Chubb wrote: diff --git a/board/nvidia/tk1-som/pinmux-config-tk1-som.h b/board/nvidia/tk1-som/pinmux-config-tk1-som.h +/* + * Copyright (c) 2016, NVIDIA CORPORATION. All

Re: [U-Boot] [PATCH] usb: gadget: ci_udc: fix suspend/resume of USB Mass Storage

2016-08-23 Thread Fabio Estevam
Adding Marek on Cc On Mon, Aug 22, 2016 at 4:38 PM, John Tobias wrote: > When the host machine went to suspend mode and then wake it up, it send > a USB_REQ_GET_STATUS. The existing case condition below, never > become true and it causes the host machine to reset the connection. Once, > it reset

Re: [U-Boot] [ARM] RFC: Add board support for Colorado Engineering TK1-SOM

2016-08-23 Thread Peter Chubb
> "Stephen" == Stephen Warren writes: Stephen> On 08/22/2016 04:29 PM, Peter Chubb wrote: >> >> This patch adds support for the TK1-SOM board, which is almost the Stephen> Nit: That blank line at start of the commit description Stephen> should be removed. OK. >> same as the Jetson TK1. Bo

Re: [U-Boot] [PATCH] ARM: tegra: increase console buffer size and sys args num

2016-08-23 Thread Stephen Warren
On 08/23/2016 04:21 PM, Peter Chubb wrote: "Stephen" == Stephen Warren writes: Stephen> On 08/22/2016 06:00 PM, Peter Chubb wrote: The Linux-for-Tegra kernel uses a very long command line. Stephen> There should be a From: line here indicating that Bryan is Stephen> the author; did you actu

Re: [U-Boot] [PATCH] ARM: tegra: increase console buffer size and sys args num

2016-08-23 Thread Peter Chubb
> "Stephen" == Stephen Warren writes: Stephen> On 08/22/2016 06:00 PM, Peter Chubb wrote: >> >> The Linux-for-Tegra kernel uses a very long command line. Stephen> There should be a From: line here indicating that Bryan is Stephen> the author; did you actually "git cherry-pick" this, or appl

Re: [U-Boot] [PATCH] nand: Fix set_dev checks for no device

2016-08-23 Thread Scott Wood
On Tue, 2016-08-23 at 15:04 -0700, Tony Lindgren wrote: > * Scott Wood [160823 14:31]: > > > > On Tue, 2016-08-23 at 14:26 -0700, Tony Lindgren wrote: > > > > > > If we do nand device 0 command in u-boot on a device that has NAND > > > support > > > enabled but no NAND chip, we can get data abor

[U-Boot] [PATCH 1/3] arm: imx-common: add SECURE_BOOT option to Kconfig

2016-08-23 Thread Gary Bisson
So the option can easily be selected through menuconfig. Signed-off-by: Gary Bisson --- arch/arm/imx-common/Kconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm/imx-common/Kconfig b/arch/arm/imx-common/Kconfig index 1b7da5a..5ee230e 100644 --- a/arch/arm/imx-common/Kconf

[U-Boot] [PATCH 3/3] nitrogen6x: add secure boot support

2016-08-23 Thread Gary Bisson
Selecting the proper options to enable the build of the HAB tools. Also adding a CSF section to the imx final image so it can contain the signature information. Note, this support is disabled by default, one will have to select the SECURE_BOOT configuration through menuconfig to enable it. Signe

[U-Boot] [PATCH 2/3] arm: imx-common: introduce back usec2ticks

2016-08-23 Thread Gary Bisson
From: Peng Fan This commit "2bb014820c49a63902103bac710bc86b5772e843" do some clean up to use the code in lib/time.c. But usec2ticks is still being used by security related job ring code. Bring back the function to avoid build break when CONFIG_FSL_CAAM is defined. The computation logic has been

[U-Boot] [PATCH 0/3] Add i.MX HAB encryption support

2016-08-23 Thread Gary Bisson
Hi all, This patch is actually a follow-up of the one from Peng Fan: https://patchwork.ozlabs.org/patch/616568/ As he mentioned at the time, the current i.MX source code doesn't allow to build a U-Boot that supports encryption features (dek commands). The reason is that the commit 2bb01482 did so

Re: [U-Boot] [PATCH] nand: Fix set_dev checks for no device

2016-08-23 Thread Scott Wood
On Tue, 2016-08-23 at 14:26 -0700, Tony Lindgren wrote: > If we do nand device 0 command in u-boot on a device that has NAND support > enabled but no NAND chip, we can get data abort at least on omaps. > > Fix the issue by adding a check for nand_info[dev]. > > Signed-off-by: Tony Lindgren > ---

Re: [U-Boot] U-Boot SPL 2016.09-rc1 on NTC C.H.I.P.

2016-08-23 Thread Tom Rini
On Tue, Aug 23, 2016 at 08:05:59PM +0200, Marcus Glocker wrote: > On Mon, Aug 22, 2016 at 09:55:01AM +0200, Boris Brezillon wrote: > > > +Glaucio who is facing the same problem but on a cubieboard2. > > > > On Sun, 21 Aug 2016 16:14:39 +0200 > > Boris Brezillon wrote: > > > > > Hi, > > > > > >

Re: [U-Boot] [PATCH v3 2/3] mpc85xx: powerpc: usb: Enable Usb phy initialisation settings for P1010

2016-08-23 Thread york sun
On 08/16/2016 11:18 PM, Sriram Dash wrote: > CONFIG_SYS_FSL_USB1_PHY_ENABLE is set and the USB Phy > offset are set to enable the initial setting of Usb Phy for P1010. > > Signed-off-by: Sriram Dash > Signed-off-by: Rajesh Bhagat > --- > Changes in v3: > - Modify the commit message > - Modify

Re: [U-Boot] [u-boot-release] [PATCH v3 1/3] mpc85xx: powerpc: usb: Modified the erratum A006261 according to endianness

2016-08-23 Thread york sun
On 08/16/2016 11:18 PM, Sriram Dash wrote: > Modifies erratum implementation due to the fact that P3041, > P5020, and P5040 are all big endian for the USB PHY registers, but > they were specified little endian. > > Signed-off-by: Sriram Dash > Signed-off-by: Rajesh Bhagat > --- > Changes in v3: >

Re: [U-Boot] [PATCH v3 3/3] mpc85xx: powerpc: usb: Update the list of Socs afftected by erratum A006261

2016-08-23 Thread york sun
On 08/16/2016 11:18 PM, Sriram Dash wrote: > Apply the erratum A006261 for the following Socs: > P2041 rev 2.0, P2040 rev 2.0, P5040 rev 2.0, 2.1 > > Do not apply erratum A006261 for the following Socs: > T4160, T4080, T1040, T1042, T1020, T1022, T2080, T2081 > > Erratum A006261 is applicable for t

Re: [U-Boot] [PATCH 1/2 v2] driver/ddr/fsl: Add general MMDC driver

2016-08-23 Thread york sun
On 08/12/2016 02:52 AM, Shengzhou Liu wrote: > This patch adds basic support for Freescale MMDC(Multi Mode DDR Controller). > Currently MMDC is integrated on ARMv8 LS1012A SoC for DDR3L, there will be a > update to this driver to support more flexible configuration if new features > (DDR4, multiple

Re: [U-Boot] U-Boot SPL 2016.09-rc1 on NTC C.H.I.P.

2016-08-23 Thread Marcus Glocker
On Tue, Aug 23, 2016 at 09:41:21PM +0200, Boris Brezillon wrote: > On Tue, 23 Aug 2016 20:05:59 +0200 > Marcus Glocker wrote: > > > On Mon, Aug 22, 2016 at 09:55:01AM +0200, Boris Brezillon wrote: > > > > > +Glaucio who is facing the same problem but on a cubieboard2. > > > > > > On Sun, 21 Au

Re: [U-Boot] U-Boot SPL 2016.09-rc1 on NTC C.H.I.P.

2016-08-23 Thread Boris Brezillon
On Tue, 23 Aug 2016 20:05:59 +0200 Marcus Glocker wrote: > On Mon, Aug 22, 2016 at 09:55:01AM +0200, Boris Brezillon wrote: > > > +Glaucio who is facing the same problem but on a cubieboard2. > > > > On Sun, 21 Aug 2016 16:14:39 +0200 > > Boris Brezillon wrote: > > > > > Hi, > > > > > > On

Re: [U-Boot] [ARM] RFC: Add board support for Colorado Engineering TK1-SOM

2016-08-23 Thread Stephen Warren
On 08/22/2016 04:29 PM, Peter Chubb wrote: This patch adds support for the TK1-SOM board, which is almost the Nit: That blank line at start of the commit description should be removed. same as the Jetson TK1. Board info at https://tk1som.com/products/tk1-som tk1-som sounds like a rather ge

Re: [U-Boot] [PATCH v2] drivers: usb: xhci-fsl: Change burst beat and outstanding pipelined transfers requests

2016-08-23 Thread york sun
On 08/22/2016 06:54 AM, Marek Vasut wrote: > On 08/22/2016 02:25 PM, Sriram Dash wrote: >> This is required for better performance, and performs below tuning: >> 1. Enable burst length set, and define it as 4/8/16. Isn't it odd to put a date here? >> 2. Set burst request limit to 16 requests. >>

Re: [U-Boot] U-Boot SPL 2016.09-rc1 on NTC C.H.I.P.

2016-08-23 Thread Marcus Glocker
On Mon, Aug 22, 2016 at 09:55:01AM +0200, Boris Brezillon wrote: > +Glaucio who is facing the same problem but on a cubieboard2. > > On Sun, 21 Aug 2016 16:14:39 +0200 > Boris Brezillon wrote: > > > Hi, > > > > On Sun, 21 Aug 2016 12:03:19 +0200 > > Hans de Goede wrote: > > > > > Hi, > > >

Re: [U-Boot] CPU Clock frequency at boot time - Nvidia Jetson TK1

2016-08-23 Thread Stephen Warren
On 08/23/2016 06:23 AM, vinoth eswaran wrote: On Mon, Aug 22, 2016 at 6:15 PM, Stephen Warren wrote: On 08/22/2016 08:37 AM, vinoth eswaran wrote: Hello Developers, Currently I am working on an embedded project using Tegra Jetson Tk1 board. The Linux Kernel version is 4.7 and the u-boot v

Re: [U-Boot] [PATCH] ARM: tegra: increase console buffer size and sys args num

2016-08-23 Thread Stephen Warren
On 08/22/2016 06:00 PM, Peter Chubb wrote: The Linux-for-Tegra kernel uses a very long command line. There should be a From: line here indicating that Bryan is the author; did you actually "git cherry-pick" this, or apply it in some other manner? Perhaps you're notusing "git send-email" to s

Re: [U-Boot] [PATCH] drivers: usb: xhci-fsl: Implement Erratum A-010151 for FSL USB3 controller

2016-08-23 Thread york sun
On 08/19/2016 03:13 AM, Sriram Dash wrote: > Currently the controller by default enables the Receive Detect feature in P3 > mode in USB 3.0 PHY. However, USB 3.0 PHY does not reliably support receive > detection in P3 mode. > Enabling the USB3 controller to configure USB in P2 mode whenever the Rec

Re: [U-Boot] remote debug u-boot through serial port

2016-08-23 Thread Ding, ChiX
My target board is based on i386 architecture. After I enable CONFIG_CMD_KGDB in the board config file, during building it reports link error : undefined reference to `kgdb_longjmp' I checked the directory, only found the function definition for powerpc, but no definition for x86 arch/powerpc/l

Re: [U-Boot] [RFC PATCH v2 09/11] spl: Kconfig: Add SPL__SUPPORT as Kconfig option

2016-08-23 Thread Andrew F. Davis
On 08/23/2016 01:08 AM, Masahiro Yamada wrote: > 2016-08-23 0:21 GMT+09:00 Andrew F. Davis : >> Create a new Kconfig file to contain SPL boot media loading support >> options as we begin moving these to the Kconfig system and out of header >> files. Initially add new configs for all the existing bo

Re: [U-Boot] [RFC PATCH v2 11/11] spl: Kconfig: Add CONFIG_SPL_TEXT_BASE as Kconfig option

2016-08-23 Thread Andrew F. Davis
On 08/23/2016 12:45 AM, Masahiro Yamada wrote: > 2016-08-23 0:21 GMT+09:00 Andrew F. Davis : >> Add a new Kconfig CONFIG_SPL_TEXT_BASE. Set its default value to 0x0. >> >> Signed-off-by: Andrew F. Davis >> --- >> Kconfig | 8 >> 1 file changed, 8 insertions(+) >> >> diff --git a/Kconfig

[U-Boot] remote debug u-boot through serial port

2016-08-23 Thread Ding, ChiX
Hi there I'm learning how to remote debug u-boot through serial port. In menuconfig general setup, I selected "enable debug information for tools". It adds -g in gcc flag. After built is over, I got u-boot, u-boot.sym, u-boot.map and a few other files. When I run objdump -trS u-boot, it does show

[U-Boot] [PATCH] ARM: board: cm_fx6: fix mtd partition fixup

2016-08-23 Thread christopher.spinrath
From: Christopher Spinrath ft_board_setup may return early in the case that the board revision cannot be obtained. In that case it is assumed that no revision specific correction in the fdt is neccessary. But the mtd partitions will not be fixed up either altough they are not revision specific.

Re: [U-Boot] [PATCH v2 0/4] Migrate Vybrid USB driver to driver model

2016-08-23 Thread Marek Vasut
On 08/09/2016 08:14 PM, Sanchayan Maity wrote: > Hello, > > This is the second version of the patchset for migrating Vybrid > USB driver to driver model. > > Compare to the first version, this version takes care of dr_mode > property and correctly handles OTG as well when gpio is specified > for

Re: [U-Boot] CPU Clock frequency at boot time - Nvidia Jetson TK1

2016-08-23 Thread vinoth eswaran
On Mon, Aug 22, 2016 at 6:15 PM, Stephen Warren wrote: > > On 08/22/2016 08:37 AM, vinoth eswaran wrote: >> >> Hello Developers, >> >> Currently I am working on an embedded project using Tegra Jetson Tk1 >> board. The Linux Kernel version is 4.7 and the u-boot version is v2016.05. >> I am buildi

Re: [U-Boot] [PATCH v1 2/2] arm: mvebu: Define NAND interface pins for A-38x

2016-08-23 Thread Chris Packham
On Tue, Aug 23, 2016 at 6:57 PM, Stefan Roese wrote: > Hi Chris, > > On 22.08.2016 02:38, Chris Packham wrote: >> >> From: Chris Packham >> >> Add pin control settings for the NAND flash interface. This interface >> is multiplexed with the device bus interface to the function is "dev" >> not "nan

[U-Boot] [PATCH v2 4/5] ext4: fix wrong usage of le32_to_cpu()

2016-08-23 Thread Michael Walle
le32_to_cpu() must only convert the revision_level and not the boolean result. Signed-off-by: Michael Walle --- fs/ext4/ext4_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/ext4_common.c b/fs/ext4/ext4_common.c index 567350f..4a003cf 100644 --- a/fs/ext4/ext4

[U-Boot] [PATCH v2 5/5] ext4: optimize direntlen loops

2016-08-23 Thread Michael Walle
direntlen is always >= 8. Therefore, the loop condition is always true. Signed-off-by: Michael Walle Suggested-by: Stefan Brüns --- fs/ext4/ext4_common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fs/ext4/ext4_common.c b/fs/ext4/ext4_common.c index 4a003cf..9430a3

[U-Boot] [PATCH v2 2/5] ext4: use kernel names for byte swaps

2016-08-23 Thread Michael Walle
Instead of __{be,le}{16,32}_to_cpu use {be,le}{16,32}_to_cpu. Signed-off-by: Michael Walle --- fs/ext4/ext4_common.c | 90 +-- fs/ext4/ext4_write.c | 14 fs/ext4/ext4fs.c | 2 +- include/ext_common.h | 4 +-- 4 files changed, 55 i

[U-Boot] [PATCH v2 3/5] ext4: fix endianess problems in ext4 write support

2016-08-23 Thread Michael Walle
All fields were accessed directly instead of using the proper byte swap functions. Thus, ext4 write support was only usable on little-endian architectures. Fix this. Signed-off-by: Michael Walle Reviewed-by: Stefan Brüns Tested-by: Stefan Brüns --- fs/ext4/ext4_common.c | 277

[U-Boot] [PATCH v2 1/5] ext4: change structure fields to __le/__be types

2016-08-23 Thread Michael Walle
Change all the types of ext2/4 fields to little endian types and all the JBD fields to big endian types. Now we can use sparse (make C=1) to check for statements where we need byteswaps. Signed-off-by: Michael Walle --- fs/ext4/ext4_journal.h | 40 +++ include/ext_common.h | 136 +

[U-Boot] [PATCH v2 0/5] ext4: endianess fixes

2016-08-23 Thread Michael Walle
From: Michael Walle This patch series fixes write support on big-endianness architectures. Changes: v2: - instead of INC_X/DEC_X macros, use inline functions per structure field. Suggested by Stefan Brüns. (patch 0003) - optimize "while (dir->direntlen)" loops. Suggested by Stefan B

[U-Boot] [PATCH V3 2/2] mmc: sd: optimize erase

2016-08-23 Thread Peng Fan
To SD, there is no erase group, then the value erase_grp_size will be default 1. When erasing SD blocks, the blocks will be erased one by one, which is time consuming. We use AU_SIZE as a group to speed up the erasing. Erasing 4MB with a SD2.0 Card with AU_SIZE 4MB. `time mmc erase 0x10 0x200

[U-Boot] [PATCH V3 1/2] mmc: sd: extracting erase timeout information from sd status

2016-08-23 Thread Peng Fan
Add function to read SD_STATUS information. According to the information, get erase_timeout/erase_size/erase_offset. Add a structure sd_ssr to include the erase related information. Signed-off-by: Peng Fan Cc: Jaehoon Chung Cc: Simon Glass Cc: Bin Meng Cc: Stefan Wahren Cc: Clemens Gruber Cc

[U-Boot] Problem using non-default init files

2016-08-23 Thread Thomas Koeller
Hi, I am trying to build U-Boot for an Avnet MicroZed board with a Zynq7 processor. Needing a customized hardware initialization, I tried to replace the distributed 'board/xilinx/zynq/MicroZed_hw_platform/ps7_init_gpl.[hc]' files with the ones produced by the Xilinx tools during creation of the FP

Re: [U-Boot] U-Boot SPL 2016.09-rc1 on NTC C.H.I.P.

2016-08-23 Thread Glaucio Klipel
Hi all, so, the difference between the 2 .config as it follows[1] and the .config as is[2]. And the procedures: # dd if=u-boot-dtb.bin of=/root/u-boot-dtb.bin bs=2M conv=sync # sunxi-nand-image-builder -p 8192 -o 640 -e 0x20 -s -b -u 4096 -c 64/1024 spl/sunxi-spl.bin /root/sunxi-spl.bin (BUI