Re: [U-Boot] Using U-Boot to load RTOS

2016-04-05 Thread Bin Meng
On Wed, Apr 6, 2016 at 1:21 PM, Niti Gupta wrote: > Hello Bin, > > I am trying to load Segger's embOS. > Please avoid top-posting. I don't know this OS, but you can try 'bootelf' command if embOS image is an ELF image. If there is anything special, you need write your

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-05 Thread Steve Rae
On Apr 5, 2016 3:07 PM, "Marek Vasut" wrote: > > On 04/05/2016 08:31 PM, Steve Rae wrote: > > commit 9e4b510 fastboot: OUT transaction length must be aligned to wMaxPacketSize > > breaks some boards... > > > > Therefore add a conditional Kconfig to optionally enable this feature. >

Re: [U-Boot] [PATCH 1/3] usb: bcm_udc_otg: enable clocks

2016-04-05 Thread Steve Rae
On Apr 5, 2016 3:08 PM, "Marek Vasut" wrote: > > On 04/04/2016 10:30 PM, Steve Rae wrote: > > Hi Marek, > > > > On Mon, Apr 4, 2016 at 1:02 PM, Marek Vasut wrote: > >> > >> On 04/04/2016 09:59 PM, Steve Rae wrote: > >>> Turn on the USB OTG clocks. > >>> > >>>

Re: [U-Boot] [PATCH] am33xx changed BOOT_DEVICE_SPI to correct value

2016-04-05 Thread Lokesh Vutla
+ Tom On Tuesday 05 April 2016 02:26 PM, Vogt, Christof wrote: > Changed BOOT_DEVICE Code for SPI on AM33xx. > According AM335x reference manual page 4960 > (SPRUH73L-October 2011-Revised February 2015) Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > > --- >

Re: [U-Boot] [PATCH 2/2] mx6slevk: imximage.cfg: update to fix tINIT3 and tIH-CA violations

2016-04-05 Thread Peng Fan
Hi Tom, On Tue, Apr 05, 2016 at 09:43:11AM -0400, Tom Rini wrote: >On Tue, Apr 05, 2016 at 04:53:28PM +0800, Peng Fan wrote: >> Hi Tom, >> >> I know this already merged to i.mx tree. I still have a question for the >> tIH-CA violation. > >It's not in mainline 'tho so it can always come out :) >

Re: [U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

2016-04-05 Thread York Sun
On 04/05/2016 09:20 PM, Wenbin Song wrote: > Hi: York > > Do you mean that I should use $mtdpart to instead of "MTDPARTS_DEFAULT" ? > > As follows: >#define CONFIG_BOOTARGS "console=ttyS0,115200 > root=/dev/ram0 " \ > >

Re: [U-Boot] [PATCH] dm: core: device: set pinctrl state for pinctrl device

2016-04-05 Thread Masahiro Yamada
Hi. I missed this patch. Sorry for chiming in late. 2016-03-31 14:26 GMT+09:00 Peng Fan : > Hi Simon, > > On Sat, Mar 12, 2016 at 07:51:47PM -0700, Simon Glass wrote: >>+Masahiro >> >>On 11 March 2016 at 22:17, Peng Fan wrote: >>> We may have

Re: [U-Boot] [u-boot] [PATCH] arm: sleep: Get the entry point of kernel from SPARE4 register

2016-04-05 Thread Huan Wang
Hi, York and Scott, > On 04/05/2016 05:11 AM, Alison Wang wrote: > > For LS1021A Secure Boot, SPARE2 register is used and modified by the > > IBR. To avoid the conflict, SPARE4 is used instead of SPARE2 to store > > the entry point of kernel. This patch is to get the entry point of > > kernel

Re: [U-Boot] [PATCH 1/2] arm: Replace v7_maint_dcache_all(ARMV7_DCACHE_CLEAN_INVAL_ALL) with asm code

2016-04-05 Thread Masahiro Yamada
Hi Hans, 2016-04-05 3:31 GMT+09:00 Hans de Goede : > diff --git a/arch/arm/cpu/armv7/cache_v7_asm.S > b/arch/arm/cpu/armv7/cache_v7_asm.S > new file mode 100644 > index 000..1b1daf8 > --- /dev/null > +++ b/arch/arm/cpu/armv7/cache_v7_asm.S > @@ -0,0 +1,85 @@ > +/* > +

Re: [U-Boot] Using U-Boot to load RTOS

2016-04-05 Thread Bin Meng
On Wed, Apr 6, 2016 at 3:07 AM, Niti Gupta wrote: > Hello, > > > I am working on embedded systems. I want to use u-boot to load rtos on > freescale i.MUX6UL board but failed to find appropriate way to do > this. Kindly help me to find out steps to load rtos from u-boot. >

Re: [U-Boot] [PATCH] cmd: fdt: Use separate CMD_FDT Kconfig entry instead of OF_LIBFDT

2016-04-05 Thread Masahiro Yamada
Hi. 2016-04-06 4:09 GMT+09:00 Simon Glass : > Hi Michal, > > On 5 April 2016 at 04:15, Michal Simek wrote: >> Hi Simon, >> >> On 5.4.2016 02:03, Simon Glass wrote: >>> Hi Michal, >>> >>> On 4 April 2016 at 11:50, Michal Simek

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-05 Thread George Broz
On 5 April 2016 at 17:45, Marek Vasut wrote: > On 04/06/2016 02:31 AM, George Broz wrote: >> On 5 April 2016 at 15:03, Marek Vasut wrote: >>> On 04/05/2016 10:33 AM, Phil Reid wrote: On 27/03/2016 4:52 AM, Marek Vasut wrote: > On 03/22/2016 06:06 PM, Dinh

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-05 Thread Marek Vasut
On 04/06/2016 02:31 AM, George Broz wrote: > On 5 April 2016 at 15:03, Marek Vasut wrote: >> On 04/05/2016 10:33 AM, Phil Reid wrote: >>> On 27/03/2016 4:52 AM, Marek Vasut wrote: On 03/22/2016 06:06 PM, Dinh Nguyen wrote: > > > On 03/20/2016 11:42 AM, Marek Vasut

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-05 Thread George Broz
On 5 April 2016 at 15:03, Marek Vasut wrote: > On 04/05/2016 10:33 AM, Phil Reid wrote: >> On 27/03/2016 4:52 AM, Marek Vasut wrote: >>> On 03/22/2016 06:06 PM, Dinh Nguyen wrote: On 03/20/2016 11:42 AM, Marek Vasut wrote: >> >> Sorry, I know that doesn't

Re: [U-Boot] [U-Boot, 1/3] musb: sunxi: Do not allocate musb struct multiple times

2016-04-05 Thread Marek Vasut
On 04/05/2016 11:00 AM, Hans de Goede wrote: > Marek, Simon, > > Any news on this patch-set ? > > Patch 1 is sunxi specific, but patch 2 is a generic musb patch > and patch 3 (of which I've send a v2 fixing some compiler warnings) > is a generic (dm) usb patch, so my plan was for these 3 patches

Re: [U-Boot] [u-boot] [PATCH] arm: sleep: Get the entry point of kernel from SPARE4 register

2016-04-05 Thread Scott Wood
On 04/05/2016 05:11 AM, Alison Wang wrote: > For LS1021A Secure Boot, SPARE2 register is used and modified by the > IBR. To avoid the conflict, SPARE4 is used instead of SPARE2 to store > the entry point of kernel. This patch is to get the entry point of > kernel from SPARE4 instead of SPARE2. >

Re: [U-Boot] [PATCH 0/8] usb: Move DWC3 and some gadget options to Kconfig

2016-04-05 Thread Marek Vasut
On 04/05/2016 06:36 PM, Semen Protsenko wrote: > Hi All, Hi! > This patch series move next options to Kconfigs/defconfigs: > - CONFIG_USB_DWC3* > - CONFIG_USB_GADGET_VBUS_DRAW > - CONFIG_USB_GADGET_DUALSPEED (partially, only for DWC3 platforms for now) > - CONFIG_USB_GADGET_DOWNLOAD > -

Re: [U-Boot] [PATCH RESEND 2/2] cmd: fdt: add fdt overlay application subcommand

2016-04-05 Thread Pantelis Antoniou
Hi Maxime, > On Apr 4, 2016, at 11:25 , Maxime Ripard > wrote: > > The device tree overlays are a good way to deal with user-modifyable > boards or boards with some kind of an expansion mechanism where we can > easily plug new board in (like the BBB or the

Re: [U-Boot] [PATCH 1/8] usb: gadget: Move CONFIG_USB_GADGET_VBUS_DRAW to Kconfig

2016-04-05 Thread Marek Vasut
On 04/05/2016 07:35 PM, Stephen Warren wrote: > On 04/05/2016 10:36 AM, Semen Protsenko wrote: >> From: Sam Protsenko >> >> The description was borrowed from kernel, but allowed range was changed >> from 2..500 to 0..500, because some boards require this option to be

[U-Boot] Using U-Boot to load RTOS

2016-04-05 Thread Niti Gupta
Hello, I am working on embedded systems. I want to use u-boot to load rtos on freescale i.MUX6UL board but failed to find appropriate way to do this. Kindly help me to find out steps to load rtos from u-boot. Thanks, niti gupta ___ U-Boot mailing

Re: [U-Boot] [PATCH 7/7] gpio: tegra: remove flags parsing in xlate routine

2016-04-05 Thread Stephen Warren
On 04/01/2016 09:47 AM, Eric Nelson wrote: With the addition of GPIO_ACTIVE_LOW parsing in gpio-uclass, it is no longer necessary for the tegra-specific xlate function to do this. diff --git a/drivers/gpio/tegra_gpio.c b/drivers/gpio/tegra_gpio.c @@ -246,7 +246,6 @@ static int

Re: [U-Boot] [PATCH 1/3] usb: bcm_udc_otg: enable clocks

2016-04-05 Thread Marek Vasut
On 04/04/2016 10:30 PM, Steve Rae wrote: > Hi Marek, > > On Mon, Apr 4, 2016 at 1:02 PM, Marek Vasut wrote: >> >> On 04/04/2016 09:59 PM, Steve Rae wrote: >>> Turn on the USB OTG clocks. >>> >>> Signed-off-by: Steve Rae >>> --- >>> >>>

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-05 Thread Marek Vasut
On 04/05/2016 10:33 AM, Phil Reid wrote: > On 27/03/2016 4:52 AM, Marek Vasut wrote: >> On 03/22/2016 06:06 PM, Dinh Nguyen wrote: >>> >>> >>> On 03/20/2016 11:42 AM, Marek Vasut wrote: > > Sorry, I know that doesn't help. So let's walk through my workflow. > I am > not using any

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-05 Thread Marek Vasut
On 04/05/2016 08:31 PM, Steve Rae wrote: > commit 9e4b510 fastboot: OUT transaction length must be aligned to > wMaxPacketSize > breaks some boards... > > Therefore add a conditional Kconfig to optionally enable this feature. Did you drill into it to figure out why this is needed ? >

Re: [U-Boot] Problem with sf write on Arria 5.

2016-04-05 Thread Marek Vasut
On 03/30/2016 03:46 PM, Bakhvalov, Denis (Nokia - PL/Wroclaw) wrote: > Hi Marek, > >> Do "dcache off" and then update the flash again, it will work. That's >> the cache issue which we cannot track down. > > Thank you for you quick support! > > Maybe it's worth to invent a temporary solution?

[U-Boot] [PATCH 2/5] tools/env: remove 'extern' from function prototype in fw_env.h

2016-04-05 Thread Andreas Fenkart
checkpatch complains about in succeding patch. Prefer to fix all declarations in a dedicated patch. Signed-off-by: Andreas Fenkart --- tools/env/fw_env.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/env/fw_env.h

[U-Boot] [PATCH 5/5] tools/env: no global variable sharing between application and library

2016-04-05 Thread Andreas Fenkart
Signed-off-by: Andreas Fenkart --- tools/env/fw_env.c | 50 +++-- tools/env/fw_env.h | 25 +++-- tools/env/fw_env_main.c | 28 +-- 3 files changed, 48

[U-Boot] [PATCH 4/5] tools/env: compute size of usable area only once

2016-04-05 Thread Andreas Fenkart
for double buffering to work, redundant buffers must have equal size Signed-off-by: Andreas Fenkart --- tools/env/fw_env.c | 32 ++-- 1 file changed, 18 insertions(+), 14 deletions(-) diff --git a/tools/env/fw_env.c

[U-Boot] [PATCH 3/5] tools/env: fw_printenv pass value_only as argument

2016-04-05 Thread Andreas Fenkart
Signed-off-by: Andreas Fenkart --- tools/env/fw_env.c | 6 +++--- tools/env/fw_env.h | 4 ++-- tools/env/fw_env_main.c | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index

[U-Boot] [PATCH 1/5] tools/env: make env_aes_cbc_crypt re-entrant

2016-04-05 Thread Andreas Fenkart
Signed-off-by: Andreas Fenkart --- tools/env/fw_env.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index 1420ac5..c362a41 100644 --- a/tools/env/fw_env.c +++ b/tools/env/fw_env.c

[U-Boot] [PATCH 0/5] tools/env: pass arguments as parameters not global structure

2016-04-05 Thread Andreas Fenkart
u-boot tools can be built as a library (ibubootenv.a). Passing arguments to the library using global structures is not a good interface. Andreas Fenkart (5): tools/env: make env_aes_cbc_crypt re-entrant tools/env: remove 'extern' from function prototype in fw_env.h tools/env: fw_printenv

Re: [U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

2016-04-05 Thread York Sun
On 04/05/2016 01:32 PM, York Sun wrote: > On 04/01/2016 02:37 AM, Wenbin Song wrote: >> Add and share the the MTD partition scheme with kernel by defualt bootargs. >> And add the "mtdparts" env. >> >> Signed-off-by: Wenbin Song >> --- >> include/configs/ls1043a_common.h | 22

Re: [U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

2016-04-05 Thread York Sun
On 04/01/2016 02:37 AM, Wenbin Song wrote: > Add and share the the MTD partition scheme with kernel by defualt bootargs. > And add the "mtdparts" env. > > Signed-off-by: Wenbin Song > --- > include/configs/ls1043a_common.h | 22 -- > 1 file changed, 20

Re: [U-Boot] [PATCH] cmd: fdt: Use separate CMD_FDT Kconfig entry instead of OF_LIBFDT

2016-04-05 Thread Simon Glass
Hi Michal, On 5 April 2016 at 04:15, Michal Simek wrote: > Hi Simon, > > On 5.4.2016 02:03, Simon Glass wrote: >> Hi Michal, >> >> On 4 April 2016 at 11:50, Michal Simek wrote: >>> Create CMD_FDT Kconfig entry to have an option to disable fdt

Re: [U-Boot] [PATCH] disk: part: Enable get_info pointer for CONFIG_SPL_FAT_SUPPORT

2016-04-05 Thread Simon Glass
On 5 April 2016 at 09:35, Tom Rini wrote: > On Tue, Apr 05, 2016 at 01:34:20PM +0200, Michal Simek wrote: > >> The patch "dm: part: Convert partition API use to linker lists" >> (sha1: 96e5b03c8ab749b6547f6a3ceb4d4b9f274211aa) is adding new >> dependency for enabling

Re: [U-Boot] [PATCH v2] tpm: Fix uclass_first_device error handling

2016-04-05 Thread Simon Glass
On 5 April 2016 at 07:15, Mario Six wrote: > > uclass_first_device might return NULL for the device despite a zero > return code. Currently, this might lead to null pointer dereferencing, > since the returned device is not properly checked. > > We switch to

Re: [U-Boot] [uboot] [PATCH 2/2] net: phy: ti: Allow the driver to be more configurable

2016-04-05 Thread Dan Murphy
On 04/05/2016 01:30 PM, Dan Murphy wrote: > On 04/05/2016 12:36 PM, Michal Simek wrote: >> On 5.4.2016 19:18, Dan Murphy wrote: >>> Michal >>> >>> On 04/05/2016 12:01 PM, Michal Simek wrote: On 5.4.2016 17:05, Dan Murphy wrote: > Not all devices use the same internal delay or fifo depth.

Re: [U-Boot] [uboot] [PATCH v2 1/2] net: phy: dp83867: Add device tree bindings and documentation

2016-04-05 Thread Dan Murphy
On 04/05/2016 01:26 PM, Dan Murphy wrote: > On 04/05/2016 12:40 PM, Michal Simek wrote: >> On 5.4.2016 19:23, Dan Murphy wrote: >>> Add the device tree bindings and the accompanying documentation >>> for the TI DP83867 Giga bit ethernet phy driver. >>> >>> The original document was from: >>>

[U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-05 Thread Steve Rae
commit 9e4b510 fastboot: OUT transaction length must be aligned to wMaxPacketSize breaks some boards... Therefore add a conditional Kconfig to optionally enable this feature. Signed-off-by: Steve Rae --- Changes in v2: - ammendment to the original patch

Re: [U-Boot] [uboot] [PATCH 2/2] net: phy: ti: Allow the driver to be more configurable

2016-04-05 Thread Dan Murphy
On 04/05/2016 12:36 PM, Michal Simek wrote: > On 5.4.2016 19:18, Dan Murphy wrote: >> Michal >> >> On 04/05/2016 12:01 PM, Michal Simek wrote: >>> On 5.4.2016 17:05, Dan Murphy wrote: Not all devices use the same internal delay or fifo depth. Add the ability to set the internal delay for

Re: [U-Boot] [uboot] [PATCH v2 1/2] net: phy: dp83867: Add device tree bindings and documentation

2016-04-05 Thread Dan Murphy
On 04/05/2016 12:40 PM, Michal Simek wrote: > On 5.4.2016 19:23, Dan Murphy wrote: >> Add the device tree bindings and the accompanying documentation >> for the TI DP83867 Giga bit ethernet phy driver. >> >> The original document was from: >> [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897

Re: [U-Boot] [PATCH 2/8] usb: gadget: Add CONFIG_USB_GADGET_DUALSPEED to Kconfig

2016-04-05 Thread Stephen Warren
On 04/05/2016 10:36 AM, Semen Protsenko wrote: From: Sam Protsenko It's hard to migrate all configs to this option in one patch, as this option should be selected by UDC controller options, and some of them are not added to Kconfig yet. So let's first add this

Re: [U-Boot] [PATCH 1/8] usb: gadget: Move CONFIG_USB_GADGET_VBUS_DRAW to Kconfig

2016-04-05 Thread Stephen Warren
On 04/05/2016 10:36 AM, Semen Protsenko wrote: From: Sam Protsenko The description was borrowed from kernel, but allowed range was changed from 2..500 to 0..500, because some boards require this option to be 0. Do they /require/ the value to be 0, or simply

Re: [U-Boot] [uboot] [PATCH v2 1/2] net: phy: dp83867: Add device tree bindings and documentation

2016-04-05 Thread Michal Simek
On 5.4.2016 19:23, Dan Murphy wrote: > Add the device tree bindings and the accompanying documentation > for the TI DP83867 Giga bit ethernet phy driver. > > The original document was from: > [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel] > > Signed-off-by: Dan

Re: [U-Boot] [uboot] [PATCH 2/2] net: phy: ti: Allow the driver to be more configurable

2016-04-05 Thread Michal Simek
On 5.4.2016 19:18, Dan Murphy wrote: > Michal > > On 04/05/2016 12:01 PM, Michal Simek wrote: >> On 5.4.2016 17:05, Dan Murphy wrote: >>> Not all devices use the same internal delay or fifo depth. >>> Add the ability to set the internal delay for rx or tx and the >>> fifo depth via the

[U-Boot] [uboot] [PATCH v2 2/2] net: phy: ti: Allow the driver to be more configurable

2016-04-05 Thread Dan Murphy
Not all devices use the same internal delay or fifo depth. Add the ability to set the internal delay for rx or tx and the fifo depth via the devicetree. If the value is not set in the devicetree then set the delay to the default. If devicetree is not used then use the default defines within the

[U-Boot] [uboot] [PATCH v2 1/2] net: phy: dp83867: Add device tree bindings and documentation

2016-04-05 Thread Dan Murphy
Add the device tree bindings and the accompanying documentation for the TI DP83867 Giga bit ethernet phy driver. The original document was from: [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel] Signed-off-by: Dan Murphy --- v2 - Align the

[U-Boot] [PATCH 4/8] usb: gadget: Move CONFIG_USB_GADGET_DOWNLOAD to Kconfig

2016-04-05 Thread Semen Protsenko
From: Sam Protsenko While at it, remove obsolete CONFIG_USBDOWNLOAD_GADGET option from some config headers. This is also probably fixes am335x_baltos board. Signed-off-by: Sam Protsenko --- configs/A13-OLinuXino_defconfig | 1

Re: [U-Boot] [uboot] [PATCH 2/2] net: phy: ti: Allow the driver to be more configurable

2016-04-05 Thread Dan Murphy
Michal On 04/05/2016 12:01 PM, Michal Simek wrote: > On 5.4.2016 17:05, Dan Murphy wrote: >> Not all devices use the same internal delay or fifo depth. >> Add the ability to set the internal delay for rx or tx and the >> fifo depth via the devicetree. If the value is not set in the >> devicetree

[U-Boot] [PATCH 7/8] usb: dwc3: Move CONFIG_USB_DWC3_PHY_* to Kconfig

2016-04-05 Thread Semen Protsenko
From: Sam Protsenko Signed-off-by: Sam Protsenko --- configs/am437x_gp_evm_defconfig | 1 + configs/am437x_sk_evm_defconfig | 1 + configs/am43xx_evm_defconfig | 1 +

[U-Boot] [PATCH 0/8] usb: Move DWC3 and some gadget options to Kconfig

2016-04-05 Thread Semen Protsenko
Hi All, This patch series move next options to Kconfigs/defconfigs: - CONFIG_USB_DWC3* - CONFIG_USB_GADGET_VBUS_DRAW - CONFIG_USB_GADGET_DUALSPEED (partially, only for DWC3 platforms for now) - CONFIG_USB_GADGET_DOWNLOAD - CONFIG_G_DNL_* All defconfig files were post-processed via "make

[U-Boot] [PATCH 2/8] usb: gadget: Add CONFIG_USB_GADGET_DUALSPEED to Kconfig

2016-04-05 Thread Semen Protsenko
From: Sam Protsenko It's hard to migrate all configs to this option in one patch, as this option should be selected by UDC controller options, and some of them are not added to Kconfig yet. So let's first add this option to Kconfig and then select it for all

[U-Boot] [PATCH 6/8] usb: dwc3: Move CONFIG_USB_DWC3_OMAP to Kconfig

2016-04-05 Thread Semen Protsenko
From: Sam Protsenko Signed-off-by: Sam Protsenko --- configs/am437x_gp_evm_defconfig | 1 + configs/am437x_sk_evm_defconfig | 1 + configs/am43xx_evm_defconfig | 1 +

[U-Boot] [PATCH 8/8] usb: gadget Move: CONFIG_G_DNL_* to Kconfig

2016-04-05 Thread Semen Protsenko
From: Sam Protsenko And also reformat defconfigs using "make savedefconfig" rule. Signed-off-by: Sam Protsenko --- configs/A13-OLinuXino_defconfig | 3 +++ configs/CHIP_defconfig| 3 +++

[U-Boot] [PATCH 5/8] usb: dwc3: Move CONFIG_USB_DWC3_GADGET/HOST to Kconfig

2016-04-05 Thread Semen Protsenko
From: Sam Protsenko Description was borrowed from kernel dwc3 Kconfig. Signed-off-by: Sam Protsenko --- configs/am437x_gp_evm_defconfig | 1 + configs/am437x_sk_evm_defconfig | 1 + configs/am43xx_evm_defconfig

[U-Boot] [PATCH 1/8] usb: gadget: Move CONFIG_USB_GADGET_VBUS_DRAW to Kconfig

2016-04-05 Thread Semen Protsenko
From: Sam Protsenko The description was borrowed from kernel, but allowed range was changed from 2..500 to 0..500, because some boards require this option to be 0. Definitions were added to defconfig files in a way that "make savedefconfig" generates exactly the same

[U-Boot] [PATCH 3/8] usb: dwc3: Move CONFIG_USB_DWC3 to Kconfig

2016-04-05 Thread Semen Protsenko
From: Sam Protsenko Also remove CONFIG_USB_GADGET_DUALSPEED from headers that use DWC3 controller, as this option is selected by CONFIG_USB_DWC3. Signed-off-by: Sam Protsenko --- configs/am437x_gp_evm_defconfig | 1 +

[U-Boot] [PATCH] am33xx changed BOOT_DEVICE_SPI to correct value

2016-04-05 Thread Vogt, Christof
Changed BOOT_DEVICE Code for SPI on AM33xx. According AM335x reference manual page 4960 (SPRUH73L-October 2011-Revised February 2015) --- arch/arm/include/asm/arch-am33xx/spl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/include/asm/arch-am33xx/spl.h

Re: [U-Boot] [uboot] [PATCH 2/2] net: phy: ti: Allow the driver to be more configurable

2016-04-05 Thread Michal Simek
On 5.4.2016 17:05, Dan Murphy wrote: > Not all devices use the same internal delay or fifo depth. > Add the ability to set the internal delay for rx or tx and the > fifo depth via the devicetree. If the value is not set in the > devicetree then set the delay to the default. > > If devicetree is

Re: [U-Boot] [PATCH] arm: sleep: Get the entry point of kernel from SPARE4 register

2016-04-05 Thread York Sun
On 04/05/2016 03:10 AM, Alison Wang wrote: > For LS1021A Secure Boot, SPARE2 register is used and modified by the > IBR. To avoid the conflict, SPARE4 is used instead of SPARE2 to store > the entry point of kernel. This patch is to get the entry point of > kernel from SPARE4 instead of SPARE2. >

Re: [U-Boot] [PATCH] disk: part: Enable get_info pointer for CONFIG_SPL_FAT_SUPPORT

2016-04-05 Thread Tom Rini
On Tue, Apr 05, 2016 at 01:34:20PM +0200, Michal Simek wrote: > The patch "dm: part: Convert partition API use to linker lists" > (sha1: 96e5b03c8ab749b6547f6a3ceb4d4b9f274211aa) is adding new > dependency for enabling SPL_EXT_SUPPORT to be able to get > information about DOS partition. >

Re: [U-Boot] [uboot] [PATCH 1/2] net: phy: dp83867: Add device tree bindings and documentation

2016-04-05 Thread Tom Rini
On Tue, Apr 05, 2016 at 10:05:21AM -0500, Dan Murphy wrote: > Add the device tree bindings and the accompanying documentation > for the TI DP83867 Giga bit ethernet phy driver. > > The original document was from: > [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel] > >

Re: [U-Boot] [uboot] [PATCH 2/2] net: phy: ti: Allow the driver to be more configurable

2016-04-05 Thread Tom Rini
On Tue, Apr 05, 2016 at 10:05:22AM -0500, Dan Murphy wrote: > Not all devices use the same internal delay or fifo depth. > Add the ability to set the internal delay for rx or tx and the > fifo depth via the devicetree. If the value is not set in the > devicetree then set the delay to the

[U-Boot] [uboot] [PATCH 1/2] net: phy: dp83867: Add device tree bindings and documentation

2016-04-05 Thread Dan Murphy
Add the device tree bindings and the accompanying documentation for the TI DP83867 Giga bit ethernet phy driver. The original document was from: [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel] Signed-off-by: Dan Murphy --- RFC->v1 - Separated out

[U-Boot] [uboot] [PATCH 2/2] net: phy: ti: Allow the driver to be more configurable

2016-04-05 Thread Dan Murphy
Not all devices use the same internal delay or fifo depth. Add the ability to set the internal delay for rx or tx and the fifo depth via the devicetree. If the value is not set in the devicetree then set the delay to the default. If devicetree is not used then use the default defines within the

Re: [U-Boot] [PATCH 2/2] mx6slevk: imximage.cfg: update to fix tINIT3 and tIH-CA violations

2016-04-05 Thread Stefano Babic
On 05/04/2016 15:43, Tom Rini wrote: > On Tue, Apr 05, 2016 at 04:53:28PM +0800, Peng Fan wrote: >> Hi Tom, >> >> I know this already merged to i.mx tree. I still have a question for the >> tIH-CA violation. > > It's not in mainline 'tho so it can always come out :) Right - it is still in

Re: [U-Boot] [PATCH 1/2] arm: Replace v7_maint_dcache_all(ARMV7_DCACHE_CLEAN_INVAL_ALL) with asm code

2016-04-05 Thread Tom Rini
On Tue, Apr 05, 2016 at 10:44:42AM +0200, Hans de Goede wrote: > Hi, > > On 05-04-16 10:33, Hans de Goede wrote: > >Hi, > > > >On 05-04-16 01:59, Tom Rini wrote: > >>On Mon, Apr 04, 2016 at 08:31:48PM +0200, Hans de Goede wrote: > >> > >>>v7_maint_dcache_all() does not work reliable when build

Re: [U-Boot] [PATCH 2/2] mx6slevk: imximage.cfg: update to fix tINIT3 and tIH-CA violations

2016-04-05 Thread Tom Rini
On Tue, Apr 05, 2016 at 04:53:28PM +0800, Peng Fan wrote: > Hi Tom, > > I know this already merged to i.mx tree. I still have a question for the > tIH-CA violation. It's not in mainline 'tho so it can always come out :) > In my side, the value is ok. clk is 400MHz. > (0x30 * 256.0) *

[U-Boot] [PATCH v3 1/1] mpc85xx: Enable pre-relocation malloc for MPC85xx

2016-04-05 Thread Mario Six
To enable DM on MPC85xx, we need pre-relocation malloc, which is implemented in this patch. We also make sure that the IVORs are always 4-aligned on e500 to prevent alignment exceptions caused by code changes in start.S. Signed-off-by: Mario Six Cc: York Sun

[U-Boot] [PATCH v2] tpm: Fix uclass_first_device error handling

2016-04-05 Thread Mario Six
uclass_first_device might return NULL for the device despite a zero return code. Currently, this might lead to null pointer dereferencing, since the returned device is not properly checked. We switch to uclass_first_device_err to make sure that the returned device is valid. Signed-off-by: Mario

Re: [U-Boot] [PATCH v6 0/4] Make usb device-tree fixup independent of USB controller

2016-04-05 Thread Marek Vasut
On 04/05/2016 11:11 AM, Sriram Dash wrote: > Makes usb device-tree fixup independent of Controller type. This enables the > usage of device-tree fixup as a common framework for EHCI and XHCI controllers > > Sriram Dash (4): > drivers:usb:common:fsl-dt-fixup: Move device-tree fixup framework to

Re: [U-Boot] [PATCH v1] Revert "fastboot: OUT transaction length must be aligned to wMaxPacketSize"

2016-04-05 Thread Marek Vasut
On 04/05/2016 02:09 PM, Sam Protsenko wrote: > On Mon, Apr 4, 2016 at 8:16 PM, Steve Rae wrote: >> That one fails for me too >> >> So I suspect that a conditional is required - something like: >> >> diff --git a/drivers/usb/gadget/f_fastboot.c >>

Re: [U-Boot] [PATCH v6 3/4] drivers:usb:common:fsl-dt-fixup: Add device-tree fixup support for xhci controller

2016-04-05 Thread Marek Vasut
On 04/05/2016 11:11 AM, Sriram Dash wrote: > Enables usb device-tree fixup code to incorporate xhci controller > > Signed-off-by: Ramneek Mehresh > Signed-off-by: Sriram Dash > --- > Changes in v6: > - static const char * const array This

Re: [U-Boot] [PATCH v2 1/1] mpc85xx: Enable pre-relocation malloc for MPC85xx

2016-04-05 Thread Mario Six
Quoting York Sun : On 04/04/2016 03:01 AM, Mario Six wrote: Quoting York Sun : On 04/01/2016 01:13 AM, Mario Six wrote: To enable DM on MPC85xx, we need pre-relocation malloc, which is implemented in this patch. We also make sure that the IVORs are

Re: [U-Boot] [PATCH v1] tpm: Fix uclass_first_device error handling

2016-04-05 Thread Mario Six
Hi Simon, Quoting Simon Glass : Hi Mario, On 30 March 2016 at 02:22, Mario Six wrote: uclass_first_device might return NULL for the device despite a zero return code. Currently, this might lead to null pointer dereferencing, since the returned device

Re: [U-Boot] [PATCH v1] Revert "fastboot: OUT transaction length must be aligned to wMaxPacketSize"

2016-04-05 Thread Sam Protsenko
On Mon, Apr 4, 2016 at 8:16 PM, Steve Rae wrote: > That one fails for me too > > So I suspect that a conditional is required - something like: > > diff --git a/drivers/usb/gadget/f_fastboot.c > b/drivers/usb/gadget/f_fastboot.c > index a54b4ee..41ec211 100644 > ---

Re: [U-Boot] [PATCH] dm: ns16550: Add support for reg-offset property

2016-04-05 Thread Michal Simek
Hi Simon, On 5.4.2016 02:03, Simon Glass wrote: > Hi Michal, > > On 31 March 2016 at 03:16, Michal Simek wrote: >> Hi Simon, >> >> diff --git a/include/ns16550.h b/include/ns16550.h index 5eeacd6..1311f4c 100644 --- a/include/ns16550.h +++

[U-Boot] [PATCH] disk: part: Enable get_info pointer for CONFIG_SPL_FAT_SUPPORT

2016-04-05 Thread Michal Simek
The patch "dm: part: Convert partition API use to linker lists" (sha1: 96e5b03c8ab749b6547f6a3ceb4d4b9f274211aa) is adding new dependency for enabling SPL_EXT_SUPPORT to be able to get information about DOS partition. get_info is also required for FAT support only which is used on Xilinx Zynq

Re: [U-Boot] [PATCH 3/3] sunxi: Enable usb ports on the Sinovoip BPI M3

2016-04-05 Thread Ian Campbell
On Tue, 2016-04-05 at 11:51 +0200, Hans de Goede wrote: > Hi, > > On 05-04-16 11:44, Ian Campbell wrote: > > > > On Sat, 2016-04-02 at 21:10 +0200, Hans de Goede wrote: > > > > > > DLDO3 is used to provide Port-D power and PD is used for the > > > usb-hub / sata-5v enable pins. The 2.5V comes

[U-Boot] [PATCH] arm: sleep: Get the entry point of kernel from SPARE4 register

2016-04-05 Thread Alison Wang
For LS1021A Secure Boot, SPARE2 register is used and modified by the IBR. To avoid the conflict, SPARE4 is used instead of SPARE2 to store the entry point of kernel. This patch is to get the entry point of kernel from SPARE4 instead of SPARE2. Signed-off-by: Alison Wang ---

Re: [U-Boot] [PATCH] cmd: fdt: Use separate CMD_FDT Kconfig entry instead of OF_LIBFDT

2016-04-05 Thread Michal Simek
Hi Simon, On 5.4.2016 02:03, Simon Glass wrote: > Hi Michal, > > On 4 April 2016 at 11:50, Michal Simek wrote: >> Create CMD_FDT Kconfig entry to have an option to disable fdt command >> which is not required for small configuration which requires libfdt >> only. >>

Re: [U-Boot] [PATCH] sunxi: Enable CMD_GPIO on all sunxi boards

2016-04-05 Thread Hans de Goede
Hi, On 05-04-16 11:46, Ian Campbell wrote: On Sun, 2016-04-03 at 09:43 +0200, Hans de Goede wrote: We have CONFIG_CMD_GPIO=y in almost all sunxi boards, but after its Kconfig conversion it has ended up missing on some recently added boards. The "almost all" is entirely down to the accidental

Re: [U-Boot] [PATCH 3/3] sunxi: Enable usb ports on the Sinovoip BPI M3

2016-04-05 Thread Hans de Goede
Hi, On 05-04-16 11:44, Ian Campbell wrote: On Sat, 2016-04-02 at 21:10 +0200, Hans de Goede wrote: DLDO3 is used to provide Port-D power and PD is used for the usb-hub / sata-5v enable pins. The 2.5V comes from the schematic and matches the factory image fex file. Is the dts update being

Re: [U-Boot] [PATCH] sunxi: Enable CMD_GPIO on all sunxi boards

2016-04-05 Thread Ian Campbell
On Sun, 2016-04-03 at 09:43 +0200, Hans de Goede wrote: > We have CONFIG_CMD_GPIO=y in almost all sunxi boards, but after > its Kconfig conversion it has ended up missing on some recently > added boards. The "almost all" is entirely down to the accidental omissions, right? i.e. are no boards

Re: [U-Boot] [PATCH 3/3] sunxi: Enable usb ports on the Sinovoip BPI M3

2016-04-05 Thread Ian Campbell
On Sat, 2016-04-02 at 21:10 +0200, Hans de Goede wrote: > DLDO3 is used to provide Port-D power and PD is used for the > usb-hub / sata-5v enable pins. The 2.5V comes from the schematic > and matches the factory image fex file. Is the dts update being sync'd from the kernel? If yes: >

Re: [U-Boot] [PATCH 2/3] sunxi: Set DCDC1 to 3.3V on the Sinovoip BPI M3

2016-04-05 Thread Ian Campbell
On Sat, 2016-04-02 at 21:10 +0200, Hans de Goede wrote: > This is the value used in the fex file of the manufacturer images, > and also the DCDC1 default. Sometimes lower values are used to save > battery power, but that does not apply to a SBC. > > Signed-off-by: Hans de Goede

Re: [U-Boot] [PATCH 1/3] sunxi: Add INITIAL_USB_SCAN_DELAY Kconfig option

2016-04-05 Thread Ian Campbell
On Sat, 2016-04-02 at 21:10 +0200, Hans de Goede wrote: > Some boards have on board usb devices which need longer then the USB                                                           ^than (and in the Kconfig too) > spec's 1 second to connect from board powerup. Add a config option which >

Re: [U-Boot] [PATCH 1/3] musb: sunxi: Do not allocate musb struct multiple times

2016-04-05 Thread Ian Campbell
On Sat, 2016-04-02 at 23:39 +0200, Hans de Goede wrote: > Hi, > > On 04/02/2016 08:57 PM, Peter Korsgaard wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > "Hans" == Hans de Goede writes: > >   > The probe function of the musb host driver can

[U-Boot] [PATCH v6 4/4] drivers:usb:common:fsl-dt-fixup: fix return value of fdt_usb_get_node_type

2016-04-05 Thread Sriram Dash
Changes the return type of fdt_usb_get_node_type from char* to int Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat --- Changes in v6: - change the description of the patch Changes in v5: - Modified title and description - Using error

[U-Boot] [PATCH v6 2/4] drivers:usb:common:fsl-dt-fixup: Remove code duplication for fdt_usb_get_node_type

2016-04-05 Thread Sriram Dash
Call fdt_usb_get_node_type() from fdt_fixup_usb_mode_phy_type() to avoid code duplication. Signed-off-by: Sriram Dash Signed-off-by: Rajesh Bhagat Acked-by: Marek Vasut --- Changes in v6: - no update. Changes in v5: - reorder the

[U-Boot] [PATCH v6 3/4] drivers:usb:common:fsl-dt-fixup: Add device-tree fixup support for xhci controller

2016-04-05 Thread Sriram Dash
Enables usb device-tree fixup code to incorporate xhci controller Signed-off-by: Ramneek Mehresh Signed-off-by: Sriram Dash --- Changes in v6: - static const char * const array Changes in v5: - Make the array static const Changes in v4: - Use

[U-Boot] [PATCH v6 1/4] drivers:usb:common:fsl-dt-fixup: Move device-tree fixup framework to common file

2016-04-05 Thread Sriram Dash
Move usb device-tree fixup framework from ehci-fsl.c to common place so that it can be used by other drivers as well (xhci-fsl.c). Signed-off-by: Ramneek Mehresh Signed-off-by: Sriram Dash Acked-by: Marek Vasut --- Changes in v6: -

[U-Boot] [PATCH v6 0/4] Make usb device-tree fixup independent of USB controller

2016-04-05 Thread Sriram Dash
Makes usb device-tree fixup independent of Controller type. This enables the usage of device-tree fixup as a common framework for EHCI and XHCI controllers Sriram Dash (4): drivers:usb:common:fsl-dt-fixup: Move device-tree fixup framework to common file drivers:usb:common:fsl-dt-fixup:

Re: [U-Boot] [PATCH 2/2] mx6slevk: imximage.cfg: update to fix tINIT3 and tIH-CA violations

2016-04-05 Thread Peng Fan
Hi Tom, I know this already merged to i.mx tree. I still have a question for the tIH-CA violation. In my side, the value is ok. clk is 400MHz. (0x30 * 256.0) * (1.0/4.0) = 468.75ps. And according to spec, to 800M date rate, the minimum tIH value is 290ps. So I wonder how in

Re: [U-Boot] [U-Boot, 1/3] musb: sunxi: Do not allocate musb struct multiple times

2016-04-05 Thread Hans de Goede
Marek, Simon, Any news on this patch-set ? Patch 1 is sunxi specific, but patch 2 is a generic musb patch and patch 3 (of which I've send a v2 fixing some compiler warnings) is a generic (dm) usb patch, so my plan was for these 3 patches to go upstream through Marek's usb tree, after a review

[U-Boot] [PATCH] arm: mx5: Fix NAND image generation

2016-04-05 Thread Marek Vasut
The echo -ne "\xNN" does not work in certain bourne-compatible shells, like dash. The recommended way of hex->char conversion is using printf(1), but there is a pitfall here. The GNU printf does support "\xNN" format, but according to the opengroup documentation, this is not part of POSIX. The

Re: [U-Boot] [PATCH 1/2] arm: Replace v7_maint_dcache_all(ARMV7_DCACHE_CLEAN_INVAL_ALL) with asm code

2016-04-05 Thread Hans de Goede
Hi, On 05-04-16 10:33, Hans de Goede wrote: Hi, On 05-04-16 01:59, Tom Rini wrote: On Mon, Apr 04, 2016 at 08:31:48PM +0200, Hans de Goede wrote: v7_maint_dcache_all() does not work reliable when build with gcc6, see: https://bugzilla.redhat.com/show_bug.cgi?id=1318788 So, I see on the

Re: [U-Boot] [PATCH 5/9] drivers: nand: omap_gpmc: convert driver to adopt driver model

2016-04-05 Thread Mugunthan V N
On Monday 04 April 2016 10:52 PM, Scott Wood wrote: > On Fri, 2016-04-01 at 16:59 +0530, Mugunthan V N wrote: >> adopt omap_gpmc driver to driver model. >> >> Signed-off-by: Mugunthan V N >> --- >> drivers/mtd/nand/omap_gpmc.c | 205 >>

Re: [U-Boot] [PATCH 3/9] drivers: nand: Kconfig: add NAND as Kconfig option

2016-04-05 Thread Mugunthan V N
Scott/Tom On Saturday 02 April 2016 05:55 AM, Tom Rini wrote: > On Fri, Apr 01, 2016 at 06:45:03PM -0500, Scott Wood wrote: >> On Fri, 2016-04-01 at 19:41 -0400, Tom Rini wrote: >>> On Fri, Apr 01, 2016 at 06:07:18PM -0500, Scott Wood wrote: >>> On Fri, 2016-04-01 at 08:51 -0400, Tom Rini

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-05 Thread Phil Reid
On 27/03/2016 4:52 AM, Marek Vasut wrote: On 03/22/2016 06:06 PM, Dinh Nguyen wrote: On 03/20/2016 11:42 AM, Marek Vasut wrote: Sorry, I know that doesn't help. So let's walk through my workflow. I am not using any Altera tools when I build. $make socfpga_de0_nano_soc_defconfig $make

  1   2   >