Re: [U-Boot] [PATCH 21/51] common: Extend board-specific DT fixup

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:05 AM, Simon Glass wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> Commit 2a79275 ("dm: Add callback to modify the device tree") >> implemented a board-specific callback that can modify U-Boot's

Re: [U-Boot] [PATCH] arm: omap3: Detect boot mode very early

2017-07-25 Thread Siarhei Siamashka
On Tue, 25 Jul 2017 12:00:05 +0530 Lokesh Vutla wrote: > On 7/25/2017 7:38 AM, Siarhei Siamashka wrote: > > On Fri, 14 Jul 2017 08:53:20 -0500 > > Adam Ford wrote: > > > >> Fixes 4bd754d8abef ("arm: omap: Detect boot mode very early") where > >> the

[U-Boot] [PATCH v5 1/3] rockchip: firefly: Add some macros to enable the usb keyboard

2017-07-25 Thread Leo Wen
Add four macros of CONFIG_USB_KEYBOARD,CONFIG_DM_KEYBOARD,etc in the rk3288_common.h,can support usb keyboard device when these four macros are enabled. Signed-off-by: Leo Wen --- include/configs/rk3288_common.h | 4 1 file changed, 4 insertions(+) diff --git

[U-Boot] [PATCH v5 3/3] rockchip: firefly: Add "usb start" to auto-start USB device

2017-07-25 Thread Leo Wen
Add "preboot=usb start" to ROCKCHIP_DEVICE_SETTINGS,you don't need to input "usb start" in command line of u-boot console,it can auto-start the USB device,after that usb keyboard can work. Signed-off-by: Leo Wen --- include/configs/firefly-rk3288.h | 3 ++- 1 file

[U-Boot] [PATCH v5 2/3] rockchip: firefly: Set the environment variable 'usbkbd' to the stdin

2017-07-25 Thread Leo Wen
Add the 'usbkbd' environment variable to the 'stdin', the contents of the keyboard input can be auto-displayed on the serial terminal,so you don't need to manually set the environment variable 'stdin'. Signed-off-by: Leo Wen --- include/configs/firefly-rk3288.h | 2 +- 1

Re: [U-Boot] [PATCH 38/51] gdsys: drivers: Add gdsys_rxaui_ctrl driver

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> Add a driver for RXAUI control on IHS FPGAs. >> >> Signed-off-by: Mario Six >> --- >> >> drivers/misc/Kconfig

Re: [U-Boot] [PATCH 0/4] Fix compile failure encountered on u-boot-usb tree (2017-07-20)

2017-07-25 Thread Patrice CHOTARD
Hi Marek On 07/24/2017 11:11 PM, Marek Vasut wrote: > On 07/24/2017 05:07 PM, patrice.chot...@st.com wrote: >> From: Patrice Chotard >> >> This series fixes : >> _ compilation issue reported by Ran Wang on u-boot-usb branch >> _ add last minute fixes for both

Re: [U-Boot] [PATCH 33/51] drivers: Add transmitter uclass

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:05 AM, Simon Glass wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> This patch adds a simple transmitter uclass meant for DVI or DisplayPort >> transmitters. The only driver functionality implemented

[U-Boot] [PATCH 2/3] arm64: zynqmp: Make chip_id a global routine()

2017-07-25 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch makes chip_id() as a global routine so that it can be used in other places as required. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek ---

Re: [U-Boot] [PATCH 0/4] Fix compile failure encountered on u-boot-usb tree (2017-07-20)

2017-07-25 Thread Marek Vasut
On 07/25/2017 12:50 AM, Bin Meng wrote: > Hi Marek, Hi Bin, > On Tue, Jul 25, 2017 at 1:32 AM, Marek Vasut wrote: >> On 07/24/2017 05:07 PM, patrice.chot...@st.com wrote: >>> From: Patrice Chotard >>> >>> This series fixes : >>> _ compilation issue

Re: [U-Boot] [PATCH 0/4] Fix compile failure encountered on u-boot-usb tree (2017-07-20)

2017-07-25 Thread Marek Vasut
On 07/25/2017 11:01 AM, Patrice CHOTARD wrote: > Hi Marek > > On 07/24/2017 11:11 PM, Marek Vasut wrote: >> On 07/24/2017 05:07 PM, patrice.chot...@st.com wrote: >>> From: Patrice Chotard >>> >>> This series fixes : >>> _ compilation issue reported by Ran Wang on

[U-Boot] [PATCH v3 2/3] rockchip: firefly: Add "usb start" to auto-start USB device

2017-07-25 Thread Leo Wen
Add "usb start" to #define PREBOOT,you don't need to input "usb start" in command line of u-boot console,it can auto-start the USB device, after that usb keyboard can work. Change-Id: I40f6d81a6e8478703cb03c44e0f00fc2d26df33a Signed-off-by: Leo Wen ---

[U-Boot] [PATCH v3 1/3] rockchip: firefly: Add some macros to enable the

2017-07-25 Thread Leo Wen
Add four macros of CONFIG_USB_KEYBOARD,CONFIG_DM_KEYBOARD,etc in the rk3288_common.h,can support usb keyboard device when these four macros are enabled. Change-Id: I36378e53705f7a7e5470bcea59d7947b22eaa298 Signed-off-by: Leo Wen --- include/configs/rk3288_common.h | 4

Re: [U-Boot] compilation failure on Powerpc with SPL

2017-07-25 Thread Ashish Kumar
Sorry for missing the details. repo: git://git.denx.de/u-boot.git commit: e14b1169c0c5a1b362b41451006b492bd16f2fff Merge: 409a81d 172b2e0b Author: Tom Rini Date: Wed Jul 12 08:16:41 2017 -0400 Merge git://www.denx.de/git/u-boot-marvell Regards Ashish From:

[U-Boot] [PATCH 2/2] clk: fix compilation errors for poplar platform

2017-07-25 Thread patrice.chotard
From: Patrice Chotard Move clk_release_all() prototype and definition inside OF_CONTROL flag to avoid following compilation error for poplar platform: aarch64: + poplar +drivers/usb/host/built-in.o: In function `ehci_usb_remove': +drivers/usb/host/ehci-generic.c:159:

[U-Boot] [PATCH 1/2] usb: host: xhci-dxc3: fix compilation warnings

2017-07-25 Thread patrice.chotard
From: Patrice Chotard Fix following warnings encountered with platforms dra7xx_evm and dra7xx_hs_evm : arm: + dra7xx_evm + hccr = (struct xhci_hccr *)devfdt_get_addr(dev); + ^ + hcor = (struct xhci_hcor *)((phys_addr_t)hccr + +

[U-Boot] [PATCH 0/2] Fix remaining errors and warning on u-boot-usb tree

2017-07-25 Thread patrice.chotard
From: Patrice Chotard This series fixes remaining compilation errors for poplar platform and warning for dra7xx_evm / dra7xx_hs_evm platforms Patrice Chotard (2): usb: host: xhci-dxc3: fix compilation warnings clk: fix compilation errors for poplar platform

Re: [U-Boot] [PATCH 0/2] Fix remaining errors and warning on u-boot-usb tree

2017-07-25 Thread Marek Vasut
On 07/25/2017 01:24 PM, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This series fixes remaining compilation errors for poplar platform > and warning for dra7xx_evm / dra7xx_hs_evm platforms > > Patrice Chotard (2): > usb: host: xhci-dxc3: fix compilation

Re: [U-Boot] [PATCH 39/51] drivers: Add gdsys_ioep driver

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> Add driver for the IHS IO endpoint on IHS FPGAs. > > Would UCLASS_MAILBOX work for this? > > Or MISC? > Hmm, we do need the

[U-Boot] [PATCH v4 2/3] rockchip: firefly: Set the environment variable 'usbkbd' to the stdin

2017-07-25 Thread Leo Wen
Add the 'usbkbd' environment variable to the 'stdin', the contents of the keyboard input can be auto-displayed on the serial terminal,so you don't need to manually set the environment variable 'stdin'. Change-Id: Ia1e65ca6e22cff90c9338e6474c0b27c9bef93da Signed-off-by: Leo Wen

[U-Boot] [PATCH v4 1/3] rockchip: firefly: Add some macros to enable the usb keyboard

2017-07-25 Thread Leo Wen
Add four macros of CONFIG_USB_KEYBOARD,CONFIG_DM_KEYBOARD,etc in the rk3288_common.h,can support usb keyboard device when these four macros are enabled. Change-Id: I13696758827f3129733cdd21073a83781be93b06 Signed-off-by: Leo Wen --- include/configs/rk3288_common.h | 4

[U-Boot] [PATCH v4 3/3] rockchip: firefly: Add "usb start" to auto-start USB device

2017-07-25 Thread Leo Wen
Add "preboot=usb start" to ROCKCHIP_DEVICE_SETTINGS,you don't need to input "usb start" in command line of u-boot console,it can auto-start the USB device,after that usb keyboard can work. Change-Id: I28fc883ca7b1151a72fb7342aaaf5802492e867b Signed-off-by: Leo Wen ---

Re: [U-Boot] compilation failure on Powerpc with SPL

2017-07-25 Thread Prabhakar Kushwaha
Hi York, Can you please share details of code-base. Regards, Prabhakar From: Ashish Kumar Sent: Tuesday, July 25, 2017 4:13 PM To: York Sun ; Prabhakar Kushwaha ; u-boot@lists.denx.de Subject: compilation failure on Powerpc with SPL Hello York,

Re: [U-Boot] [PATCH] efi_loader: allow efi_loader code to call EFI interfaces

2017-07-25 Thread Rob Clark
On Tue, Jul 25, 2017 at 7:17 AM, Alexander Graf wrote: > > > On 25.07.17 13:10, Rob Clark wrote: >> >> On Tue, Jul 25, 2017 at 4:10 AM, Alexander Graf wrote: >>> >>> >>> >>> On 25.07.17 01:47, Rob Clark wrote: To implement efi_load_image() for the

[U-Boot] rk3288: Hang at Returning to boot ROM

2017-07-25 Thread Jagan Teki
Hi, I've built the rk3288 and puts the Rockchip header and SPL image first and then places the U-Boot image at block 256 (i.e. 128KB from the start of the SD card) as # ./tools/mkimage -n rk3288 -T rksd -d spl/u-boot-spl-dtb.bin SPL # dd if=SPL of=/dev/mmcblk0 seek=64 # dd if=u-boot-dtb.img

Re: [U-Boot] [PATCH] efi_loader: allow efi_loader code to call EFI interfaces

2017-07-25 Thread Rob Clark
On Tue, Jul 25, 2017 at 4:10 AM, Alexander Graf wrote: > > > On 25.07.17 01:47, Rob Clark wrote: >> >> To implement efi_load_image() for the case of loading an image from a >> device path rather than image already loaded into source_buffer, it is >> convenient to be able to re-use

Re: [U-Boot] [PATCH 37/51] drivers: Add ihs_video_out driver

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> Add a driver for IHS OSDs on IHS FPGAs. >> >> Signed-off-by: Mario Six >> --- >> >> drivers/misc/Kconfig

Re: [U-Boot] [PATCH 40/51] cmd: Add ihs osd commands

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> Add command to query information from and write text to IHS OSDs. >> >> Signed-off-by: Mario Six >> --- >> >>

Re: [U-Boot] efi_loader: workaround for grub lsefi bug

2017-07-25 Thread Alexander Graf
On 24.07.17 21:20, Rob Clark wrote: On Mon, Jul 24, 2017 at 2:31 PM, Heinrich Schuchardt wrote: On 07/20/2017 01:59 PM, Rob Clark wrote: Patch has also been sent to fix grub to not ignore the error returned and treat protocol_buffer_count as valid. But that that might

[U-Boot] [PATCH v3 0/3] rockchip: firefly: Enabled the USB keyboard in the uboot

2017-07-25 Thread Leo Wen
These three patches enable usbkeyboard drivers(usb_kbd.c) and set some environment variables to auto-start USB device. You can use the usbkeyboard instead of the serial input command in uboot. Leo Wen (3): rockchip: firefly: Add some macros to enable the usbkeyboard rockchip: firefly: Add

[U-Boot] [PATCH v5 0/3] rockchip: firefly: Enabled the USB keyboard in the uboot

2017-07-25 Thread Leo Wen
These three patches enable usbkeyboard drivers(usb_kbd.c) and set some environment variables to auto-start USB device. You can use the usbkeyboard instead of the serial input command in uboot. Leo Wen (3): rockchip: firefly: Add some macros to enable the usb keyboard rockchip: firefly: Set

Re: [U-Boot] rockchip: rk3288: Add support for drive-strength in PINCTRL

2017-07-25 Thread Philipp Tomsich
> Currently, drive-strenght to 12ma are described and supposed to be used > on RK3288. However, the pinctrl driver for this SoC only handles muxing > and pull up/pull down via PU/PD control registers. So complex IPs like > GMAC are working in normal ethernet 100mbps, but not at 1gbps typically. >

Re: [U-Boot] rockchip: use UUID for root partitions

2017-07-25 Thread Philipp Tomsich
> We use to use /dev/mmcbl0p7 as root partition, and pass it > to kernel by cmdline, but the mmc number in kernel in not > fixed, we need to change the bootargs to adapt it from time > to time. > We can use the UUID to fix it, the ID is from: >

Re: [U-Boot] [PATCH 32/51] drivers: Add ihs_fpga and gdsys_soc drivers

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> This patch adds DM drivers for IHS FPGAs and their associated busses, as >> well as uclasses for both. >> >> Signed-off-by: Mario

[U-Boot] [PATCH 3/3] arm64: zynqmp: Make chip_id routine to handle based on el.

2017-07-25 Thread Michal Simek
From: Siva Durga Prasad Paladugu Modify chip_id() routine such that to handle based on the current el. Also make it available even if FPGA is not enabled in system such it can be used always. Signed-off-by: Siva Durga Prasad Paladugu

[U-Boot] [PATCH 1/3] arm64: zynqmp: Modify chip_id routine to get either idcode or version

2017-07-25 Thread Michal Simek
From: Siva Durga Prasad Paladugu This patch modifies the chip_id routine to get either idcode or silicon version based on the argument received. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek

[U-Boot] CPU errata workarounds are using the SPL stack before it is initialized

2017-07-25 Thread Siarhei Siamashka
Hello, Currently the code in 'arch/arm/cpu/armv7/start.S' calls the 'cpu_init_cp15' function before 'cpu_init_crit'. The initial SPL stack is initialized in 'lowlevel_init', which is called from 'cpu_init_crit'. But 'cpu_init_cp15' is already using stack when applying errata workarounds. Here is

[U-Boot] [PATCH v4 0/3] rockchip: firefly: Enabled the USB keyboard in the uboot

2017-07-25 Thread Leo Wen
These three patches enable usbkeyboard drivers(usb_kbd.c) and set some environment variables to auto-start USB device. You can use the usbkeyboard instead of the serial input command in uboot. Leo Wen (3): rockchip: firefly: Add some macros to enable the usb keyboard rockchip: firefly: Set

Re: [U-Boot] [PATCH v3 2/3] rockchip: firefly: Add "usb start" to auto-start USB device

2017-07-25 Thread leo
hi, Jacob yes, you are right, its good ideal! i'll modify it . thanks, -Leo 在 2017年07月25日 星期二 02:14 下午, Jacob Chen 写道: preboot=usb start ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

[U-Boot] [PATCH v3 3/3] rockchip: firefly: Set the environment variable 'usbkbd' to the stdin

2017-07-25 Thread Leo Wen
Add the 'usbkbd' environment variable to the 'stdin', the contents of the keyboard input can be auto-displayed on the serial terminal,so you don't need to manually set the environment variable 'stdin'. Change-Id: I3979c661adcf88904a0e8e10d27ceffc5081eae9 Signed-off-by: Leo Wen

Re: [U-Boot] [PATCH] efi_loader: allow efi_loader code to call EFI interfaces

2017-07-25 Thread Alexander Graf
On 25.07.17 13:10, Rob Clark wrote: On Tue, Jul 25, 2017 at 4:10 AM, Alexander Graf wrote: On 25.07.17 01:47, Rob Clark wrote: To implement efi_load_image() for the case of loading an image from a device path rather than image already loaded into source_buffer, it is

Re: [U-Boot] [PATCH] efi_loader: add back optional efi_handler::open()

2017-07-25 Thread Alexander Graf
On 24.07.17 16:38, Rob Clark wrote: In some cases it is useful to defer creation of the protocol interface object. So add back an optional ->open() hook that is used if protcol_interface is NULL. I've slightly simplified the fxn ptr signature to remove unneeded args, and so compiler will

Re: [U-Boot] [RFC] efi: variable support

2017-07-25 Thread Alexander Graf
On 19.07.17 18:38, Rob Clark wrote: On Wed, Jul 12, 2017 at 8:57 AM, Alexander Graf wrote: On 25.06.17 00:29, Rob Clark wrote: Mapping from EFI variables to grub variables. Still almost as many TODOs as lines of code, but just figured I'd send out an early version for

Re: [U-Boot] [PATCH 34/51] transmitter: Add Xilinx LogiCore DP TX

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass wrote: > On 14 July 2017 at 05:55, Mario Six wrote: >> Add a driver for the TX side of the Xilinx LogiCore DisplayPort IP core. >> >> Signed-off-by: Mario Six >> --- >> >>

Re: [U-Boot] [PATCH 18/51] cmd: mdio: Add 'driver' subcommand

2017-07-25 Thread Mario Six
Hi Simon, On Tue, Jul 18, 2017 at 4:02 PM, Simon Glass wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> For debug purposes it is sometimes useful to have the ability to >> interact with the driver functionality of a phy from the command

[U-Boot] compilation failure on Powerpc with SPL

2017-07-25 Thread Ashish Kumar
Hello York, Prabhakar, I am seeing build failure on powerpc u-boot with SPL. I have checked B4860QDS_NAND_defconfig and T1040RDB_SDCARD_defconfig common/built-in.o:(.got2+0x2a4): undefined reference to `do_bootd' scripts/Makefile.spl:333: recipe for target 'spl/u-boot-spl' failed make[1]: ***

Re: [U-Boot] [PATCH 0/4] Fix compile failure encountered on u-boot-usb tree (2017-07-20)

2017-07-25 Thread Patrice CHOTARD
Hi Marek On 07/25/2017 11:12 AM, Marek Vasut wrote: > On 07/25/2017 11:01 AM, Patrice CHOTARD wrote: >> Hi Marek >> >> On 07/24/2017 11:11 PM, Marek Vasut wrote: >>> On 07/24/2017 05:07 PM, patrice.chot...@st.com wrote: From: Patrice Chotard This series

[U-Boot] [PATCH] efi_loader: add back optional efi_handler::open()

2017-07-25 Thread Rob Clark
In some cases it is useful to defer creation of the protocol interface object. So add back an optional ->open() hook that is used if protcol_interface is NULL. I've slightly simplified the fxn ptr signature to remove unneeded args, and so compiler will complain if patches that used the "old way"

[U-Boot] [PATCH v6 3/3] rockchip: firefly: Add "usb start" to auto-start USB device

2017-07-25 Thread Leo Wen
Add "preboot=usb start" to ROCKCHIP_DEVICE_SETTINGS,you don't need to input "usb start" in command line of u-boot console,it can auto-start the USB device,after that usb keyboard can work. Signed-off-by: Leo Wen --- include/configs/firefly-rk3288.h | 3 ++- 1 file

[U-Boot] [PATCH v2 6/9] gzip: add a function to parse the header

2017-07-25 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --- v1 -> v2 : no change include/common.h | 1 + lib/gunzip.c | 15 --- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/include/common.h b/include/common.h index

Re: [U-Boot] [PATCH 42/51] cmd: Add ihs fpga command

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> Add a comman to debug the IHS FPGA's bus. >> >> Signed-off-by: Mario Six >> --- >> >> cmd/Kconfig| 5 ++

[U-Boot] [PATCH v2 7/9] lib: allow building lzo and gunzip for the SPL

2017-07-25 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --- v1 -> v2 : no change lib/Kconfig | 11 +++ lib/Makefile | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/lib/Kconfig b/lib/Kconfig index 09670f0..434bf23

Re: [U-Boot] STM32F746 Discovery - No serial output?

2017-07-25 Thread Patrice CHOTARD
Hi Francois By default, stm32f746-disco is configured in SPL mode, that's what explain you don't get any output in the console To come back in non SPL mode, you can use the attached patch. Patrice On 07/21/2017 10:40 PM, Francois Dugast wrote: > Hi, > > I am trying to run the master on a

[U-Boot] [PATCH v6 2/3] rockchip: firefly: Set the environment variable 'usbkbd' to the stdin

2017-07-25 Thread Leo Wen
Add the 'usbkbd' environment variable to the 'stdin', the contents of the keyboard input can be auto-displayed on the serial terminal,so you don't need to manually set the environment variable 'stdin'. Signed-off-by: Leo Wen --- include/configs/firefly-rk3288.h | 2 +- 1

[U-Boot] [PATCH v6 1/3] rockchip: firefly: Add some macros to enable the usb keyboard

2017-07-25 Thread Leo Wen
Add four macros of CONFIG_USB_KEYBOARD,CONFIG_DM_KEYBOARD,etc in the firefly-rk3288_defconfig,can support usb keyboard device when these four macros are enabled. Signed-off-by: Leo Wen --- configs/firefly-rk3288_defconfig | 4 1 file changed, 4 insertions(+) diff

Re: [U-Boot] [PATCH v12 0/8] Add Intel Arria 10 SoC FPGA driver

2017-07-25 Thread chee skywind
On Jul 24, 2017 8:41 PM, "Marek Vasut" wrote: > On 07/24/2017 07:49 AM, Chee, Tien Fong wrote: > > On Jum, 2017-07-21 at 11:06 +0200, Marek Vasut wrote: > >> On 07/21/2017 10:22 AM, tien.fong.c...@intel.com wrote: > >>> > >>> From: Tien Fong Chee > >>> >

[U-Boot] [PATCH v5 09/20] dm: tegra: gpio: Convert to support livetree

2017-07-25 Thread Simon Glass
Update the GPIO driver to support a live device tree. Signed-off-by: Simon Glass Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v5 13/20] dm: tegra: pwm: Convert to livetree

2017-07-25 Thread Simon Glass
Update the tegra pwm driver to support a live device tree. Signed-off-by: Simon Glass Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v5 10/20] dm: tegra: usb: Convert to livetree

2017-07-25 Thread Simon Glass
Update the Tegra EHCI driver to support a live device tree. Signed-off-by: Simon Glass Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

Re: [U-Boot] [RFC] efi: variable support

2017-07-25 Thread Rob Clark
On Tue, Jul 25, 2017 at 5:38 AM, Alexander Graf wrote: > > > On 19.07.17 18:38, Rob Clark wrote: >> >> On Wed, Jul 12, 2017 at 8:57 AM, Alexander Graf wrote: >>> >>> >>> >>> On 25.06.17 00:29, Rob Clark wrote: Mapping from EFI variables to grub

[U-Boot] [PATCH v6 0/3] rockchip: firefly: Enabled the USB keyboard in the uboot

2017-07-25 Thread Leo Wen
These three patches enable usbkeyboard drivers(usb_kbd.c) and set some environment variables to auto-start USB device. You can use the usbkeyboard instead of the serial input command in uboot. Leo Wen (3): rockchip: firefly: Add some macros to enable the usb keyboard rockchip: firefly: Set

Re: [U-Boot] Pull request: u-boot-mips

2017-07-25 Thread Paul Burton
Hi Daniel, On Tuesday, 25 July 2017 14:38:44 BST Daniel Schwierzeck wrote: > Hi Paul, > > 2017-07-19 15:04 GMT+02:00 Tom Rini : > > On Wed, Jul 19, 2017 at 01:59:16PM +0100, Paul Burton wrote: > >> Hi Tom, > >> > >> On Tuesday, 18 July 2017 02:07:59 BST Tom Rini wrote: > >>

Re: [U-Boot] [RFC] efi: variable support

2017-07-25 Thread Alexander Graf
On 25.07.17 14:47, Rob Clark wrote: On Tue, Jul 25, 2017 at 5:38 AM, Alexander Graf wrote: On 19.07.17 18:38, Rob Clark wrote: On Wed, Jul 12, 2017 at 8:57 AM, Alexander Graf wrote: On 25.06.17 00:29, Rob Clark wrote: Mapping from EFI variables to

[U-Boot] [PATCH v5 05/20] dm: tegra: Convert USB setup to livetree

2017-07-25 Thread Simon Glass
Adjust this code to support a live device tree. This should be implemented as a PHY driver but that is left as an exercise for the maintainer. Signed-off-by: Simon Glass --- Changes in v5: None Changes in v4: - Update to use ofnode_read_resource() Changes in v3: None Changes

[U-Boot] [PATCH v5 04/20] tegra: tegra124: Add a PMC syscon driver

2017-07-25 Thread Simon Glass
The PMC can be modelled as a syscon peripheral. Add a driver for this so that it can be accessed by drivers when needed. Enable it for tegra124 boards. Signed-off-by: Simon Glass Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 ---

[U-Boot] [PATCH v5 20/20] dm: tegra: Move nyan-big, jetson-tk1/tx1, beaver to livetree

2017-07-25 Thread Simon Glass
Change these board to use a live device tree after relocation. Signed-off-by: Simon Glass Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- Changes in v5: None Changes in v4: - Rebase to master - Drop changes already applied - Fix PCI

[U-Boot] [PATCH v5 03/20] tegra: spl: Enable debug UART

2017-07-25 Thread Simon Glass
Enable the debug UART in SPL to allow early serial output even if the standard UART does not work (e.g. due to driver model problem). Signed-off-by: Simon Glass Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- Changes in v5: None

[U-Boot] [PATCH v5 11/20] dm: tegra: spi: Convert to livetree

2017-07-25 Thread Simon Glass
Update the tegra114 spi driver to support a live device tree. Signed-off-by: Simon Glass Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v5 19/20] fdtdec: Drop old compatible values

2017-07-25 Thread Simon Glass
These are not needed now since the drivers now use driver model. Drop them. Signed-off-by: Simon Glass Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v5 07/20] dm: video: tegra124: Convert to livetree

2017-07-25 Thread Simon Glass
Update these drives to support a live device tree. Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- Changes in v5: None Changes in v4: None Changes in v3: None

Re: [U-Boot] [PATCH v5 1/3] rockchip: firefly: Add some macros to enable the usb keyboard

2017-07-25 Thread Dr. Philipp Tomsich
> On 25 Jul 2017, at 13:00, Leo Wen wrote: > > Add four macros of CONFIG_USB_KEYBOARD,CONFIG_DM_KEYBOARD,etc in > the rk3288_common.h,can support usb keyboard device when these four > macros are enabled. > > Signed-off-by: Leo Wen > --- >

Re: [U-Boot] [PATCH 10/51] net:phy:marvell Add hook for m88e1510 board config

2017-07-25 Thread Mario Six
Hi Simon, On Tue, Jul 18, 2017 at 4:01 PM, Simon Glass wrote: > Hi Mario, > > On 14 July 2017 at 05:54, Mario Six wrote: >> From: Dirk Eibach >> >> m88e1510_config() is highly board-specific. So add an optional >> callback

Re: [U-Boot] [PATCH 2/4] efi_loader: add udevice to EFI device-path mapping

2017-07-25 Thread Rob Clark
So the static bootefi_device_obj is making things slightly awkward for efi_load_image() from a file-path. And really it should just go away, and instead we should plug in the appropriate diskobj (or netobj) to the loaded_image_obj at boot time. Also we should nuke bootefi_device_path. And since

[U-Boot] [PATCH v2 4/9] fit: If no matching config is found in fit_find_config_node(), use the default one

2017-07-25 Thread Jean-Jacques Hiblot
If board_fit_config_name_match() doesn't match any configuration node, then use the default one (if provided). Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --- v1 -> v2 : no change common/common_fit.c | 20 1 file changed,

[U-Boot] [PATCH v2 3/9] fit: fixed bug in locate_dtb_in_fit()

2017-07-25 Thread Jean-Jacques Hiblot
If the dtb is the first data of the FIT, the its offset is 0x0. Change the test to '<' instead of '<=' Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --- v1 -> v2 : no change common/boot_fit.c | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH v5 02/20] dm: core: Fix up ofnode_get_addr_index() for 64-bit values

2017-07-25 Thread Simon Glass
At present this function only supports 32-bit (single-cell) values. Update it to support two-cell values also. Signed-off-by: Simon Glass Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- Changes in v5: None Changes in v4: - Add new

[U-Boot] [PATCH v5 18/20] dm: power: Convert as3722 to driver model

2017-07-25 Thread Simon Glass
Convert this PMIC driver to driver model and fix up other users. The regulator and GPIO functions are now handled by separate drivers. Update nyan-big to work correct. Three boards will need to be updated by the maintainers: apalis-tk1, cei-tk1-som. Also the TODO in the code re

[U-Boot] [PATCH v5 17/20] power: Add a GPIO driver for the as3722 PMIC

2017-07-25 Thread Simon Glass
This pmic includes GPIOs which should have their own driver. Add a driver to support these. Signed-off-by: Simon Glass Reviewed-by: Lukasz Majewski Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- Changes in v5: None

Re: [U-Boot] rk3288: Hang at Returning to boot ROM

2017-07-25 Thread Jagan Teki
On Tue, Jul 25, 2017 at 4:00 PM, Jagan Teki wrote: > Hi, > > I've built the rk3288 and puts the Rockchip header and SPL image first > and then places the U-Boot > image at block 256 (i.e. 128KB from the start of the SD card) as > > # ./tools/mkimage -n rk3288 -T rksd

Re: [U-Boot] [PATCH] efi_loader: allow efi_loader code to call EFI interfaces

2017-07-25 Thread Alexander Graf
On 25.07.17 14:08, Rob Clark wrote: On Tue, Jul 25, 2017 at 7:17 AM, Alexander Graf wrote: On 25.07.17 13:10, Rob Clark wrote: On Tue, Jul 25, 2017 at 4:10 AM, Alexander Graf wrote: On 25.07.17 01:47, Rob Clark wrote: To implement efi_load_image()

[U-Boot] armv5 and OMAP3 Question

2017-07-25 Thread Adam Ford
The readme file for OMAP indicates that we compile using armv5 to "to allow more compilers to work" We have our arch/arm/mach-omap2/omap3/lowlevel_init.S file also noting some special assembly insturctions becuse we use armv5. The barriers defined also indicate we're using CP15 instead of the

[U-Boot] [PATCH v2 5/9] lzo: add a function to check the validity of the header

2017-07-25 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --- v1 -> v2 : no change include/linux/lzo.h| 3 +++ lib/lzo/lzo1x_decompress.c | 21 + 2 files changed, 20 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH] mips-relocs: Fix warning from gcc 6.3

2017-07-25 Thread Paul Burton
It seems that gcc 6.3 at least is smart enough to warn about the _val variable being unassigned in the default case in the set_hdr_field() macro, but not smart enough to figure out that the default case is never taken. This results in warnings such as the following: pfx##hdr32[idx].field =

[U-Boot] [PATCH v2 8/9] spl: dm: Make it possible for the SPL to pick its own DTB from a FIT

2017-07-25 Thread Jean-Jacques Hiblot
u-boot can be embedded within a FIT image with multiple DTBs. It then selects at run-time which one is best suited for the platform. Use the same principle here for the SPL: put the DTBs in a FIT image, compress it (LZO, GZIP, or no compression) and append it at the end of the SPL.

[U-Boot] [PATCH v2 1/9] dts: renamed FIT_EMBED to MULTI_DTB_FIT and moved it to the dts Kconfig

2017-07-25 Thread Jean-Jacques Hiblot
Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --- v1 -> v2 : no change Makefile | 2 +- board/ti/ks2_evm/board_k2e.c | 2 +- board/ti/ks2_evm/board_k2g.c | 2 +- board/ti/ks2_evm/board_k2hk.c | 2 +-

Re: [U-Boot] [PATCH] efi_loader: allow efi_loader code to call EFI interfaces

2017-07-25 Thread Alexander Graf
On 25.07.17 14:28, Rob Clark wrote: On Tue, Jul 25, 2017 at 8:16 AM, Alexander Graf wrote: On 25.07.17 14:08, Rob Clark wrote: On Tue, Jul 25, 2017 at 7:17 AM, Alexander Graf wrote: On 25.07.17 13:10, Rob Clark wrote: On Tue, Jul 25, 2017 at 4:10 AM,

[U-Boot] [PATCH v5 14/20] dm: tegra: mmc: Convert to livetree

2017-07-25 Thread Simon Glass
Update the tegra mmc driver to support a live device tree. Signed-off-by: Simon Glass Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

Re: [U-Boot] Compile failure encountered on latest (2017-07-20) git://git.denx.de/u-boot-usb.git branch master for target ls1021atwr_nor_defconfig

2017-07-25 Thread Bin Meng
Hi Ran, On Tue, Jul 25, 2017 at 7:01 PM, Ran Wang wrote: >> -Original Message- >> From: Bin Meng [mailto:bmeng...@gmail.com] >> Sent: Friday, July 21, 2017 8:29 PM >> To: Ran Wang >> Cc: Marek Vasut ; Patrice Chotard

Re: [U-Boot] [PATCH] efi_loader: allow efi_loader code to call EFI interfaces

2017-07-25 Thread Rob Clark
On Tue, Jul 25, 2017 at 8:16 AM, Alexander Graf wrote: > > > On 25.07.17 14:08, Rob Clark wrote: >> >> On Tue, Jul 25, 2017 at 7:17 AM, Alexander Graf wrote: >>> >>> >>> >>> On 25.07.17 13:10, Rob Clark wrote: On Tue, Jul 25, 2017 at 4:10 AM,

Re: [U-Boot] [PATCH v5 1/3] rockchip: firefly: Add some macros to enable the usb keyboard

2017-07-25 Thread leo
hi,Philipp I'll modify them. thanks, -Leo 在 2017年07月25日 星期二 08:10 下午, Dr. Philipp Tomsich 写道: On 25 Jul 2017, at 13:00, Leo Wen wrote: Add four macros of CONFIG_USB_KEYBOARD,CONFIG_DM_KEYBOARD,etc in the rk3288_common.h,can support usb keyboard device when these

[U-Boot] [PATCH] mips-relocs: Fix warning from gcc 6.3

2017-07-25 Thread Paul Burton
It seems that gcc 6.3 at least is smart enough to warn about the _val variable being unassigned in the default case in the set_hdr_field() macro, but not smart enough to figure out that the default case is never taken. This results in warnings such as the following: pfx##hdr32[idx].field =

[U-Boot] [PATCH v2 2/9] fit: use 'const' for the input of fdt_offset() and locate_dtb_in_fit()

2017-07-25 Thread Jean-Jacques Hiblot
Those 2 functions don't modify their input, we can mark it const. This prevents compilation warnings when they are provided const input. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --- v1 -> v2 : no change common/boot_fit.c | 4 ++--

[U-Boot] [PATCH v2 9/9] omap: detect board before spl_early_init()

2017-07-25 Thread Jean-Jacques Hiblot
In order to be able to select the right DTB, we need to have identified the board before spl_early_init() is called. Signed-off-by: Jean-Jacques Hiblot Reviewed-by: Tom Rini --- v1 -> v2 : no change arch/arm/mach-omap2/hwinit-common.c | 4 +++- 1 file

[U-Boot] [PATCH v5 00/20] dm: tegra: Move nyan-big, jetson-tk1, beaver to livetree

2017-07-25 Thread Simon Glass
This moves four entire boards to use a live device tree as an example of the impact. Nyan-big was chosen because I can easily and boot U-Boot without any media swapping, etc. Beaver is enabled as well since it failed to boot with serial v1 due to a disabled console node. Jetson-TK1 is chosen

[U-Boot] [PATCH v5 06/20] dm: tegra: Convert clock_decode_periph_id() to support livetree

2017-07-25 Thread Simon Glass
Adjust this to take a device as a parameter instead of a node. Signed-off-by: Simon Glass Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v5 08/20] tegra: dts: Move stdout-path to /chosen

2017-07-25 Thread Simon Glass
This property should be in the /chosen node, not /aliases. Signed-off-by: Simon Glass Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v5 15/20] dm: tegra: pci: Convert to livetree

2017-07-25 Thread Simon Glass
Update the tegra pci driver to support a live device tree. Fix the check for nvidia,num-lanes so that an error will actually be detected. Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 Signed-off-by: Simon Glass --- Changes in v5: None

[U-Boot] [PATCH v5 16/20] power: Add a regulator driver for the as3722 PMIC

2017-07-25 Thread Simon Glass
This pmic includes regulators which should have their own driver. Add a driver to support these. Signed-off-by: Simon Glass Reviewed-by: Lukasz Majewski Tested-by: Marcel Ziswiler Tested-on: Beaver, Jetson-TK1 --- Changes in v5: -

Re: [U-Boot] [PATCH 36/51] drivers: Add ihs_axi driver

2017-07-25 Thread Mario Six
Hi Simon, On Wed, Jul 19, 2017 at 11:06 AM, Simon Glass wrote: > Hi Mario, > > On 14 July 2017 at 05:55, Mario Six wrote: >> Add a driver for the IHS AXI bus on IHS FPGAs. > > Can we make this uclass more generic by using AXI instead of IHS_AXI? > This

Re: [U-Boot] [PATCH v5 0/3] rockchip: firefly: Enabled the USB keyboard in the uboot

2017-07-25 Thread Peter Robinson
It would be useful to have a changelog between revisions. Peter On Tue, Jul 25, 2017 at 12:00 PM, Leo Wen wrote: > These three patches enable usbkeyboard drivers(usb_kbd.c) and set some > environment > variables to auto-start USB device. You can use the usbkeyboard

  1   2   3   >