Re: [U-Boot] [PATCH 1/2] efi_loader: initialize ethernet device path fully

2018-03-25 Thread Heinrich Schuchardt
On 03/25/2018 10:11 PM, Heinrich Schuchardt wrote: > On 03/25/2018 07:31 PM, Patrick Wildt wrote: >> On Fri, Mar 23, 2018 at 07:58:07PM +0100, Heinrich Schuchardt wrote: >>> On 03/23/2018 07:54 PM, Heinrich Schuchardt wrote: >From c38a011f699cf5a41b48c6fc547f3d0dde3d7cf9 Mon Sep 17 00:00:00 20

Re: [U-Boot] [PATCH 2/2] efi_loader: set the dhcp ack received flag

2018-03-25 Thread Heinrich Schuchardt
On 03/25/2018 10:23 PM, Patrick Wildt wrote: > On Sun, Mar 25, 2018 at 10:04:55PM +0200, Heinrich Schuchardt wrote: >> Thank you for the explanation. I think the right way go ahead is to add >> all missing fields and to do away with unused[]. >> >> Please, carefully observe the alignment. The spec

Re: [U-Boot] [PATCH v2 1/3] Move CONFIG_PHY_ADDR to Kconfig

2018-03-25 Thread Bin Meng
Hi Joe, On Sat, Mar 24, 2018 at 1:11 AM, Joe Hershberger wrote: > On Thu, Mar 22, 2018 at 9:46 AM, Bin Meng wrote: >> Hi, >> >> On Fri, Feb 2, 2018 at 9:53 PM, Stefan Mavrodiev wrote: >>> CONFIG_PHY_ADDR is used for old-style configuration. This makes >>> impossible changing the PHY address, if

Re: [U-Boot] [PATCH v3 07/10] drivers: usb: musb: add ti musb peripheral driver with driver model support

2018-03-25 Thread Sjoerd Simons
On Sat, 2016-12-03 at 11:40 -0700, Simon Glass wrote: > Hi Mugunthan, > > On 17 November 2016 at 02:08, Mugunthan V N > wrote: > > Add a TI MUSB peripheral driver with driver model support and the > > driver will be bound by the MUSB wrapper driver based on the > > dr_mode device tree entry. See

Re: [U-Boot] [PATCH 2/2] efi_loader: set the dhcp ack received flag

2018-03-25 Thread Patrick Wildt
On Sun, Mar 25, 2018 at 10:04:55PM +0200, Heinrich Schuchardt wrote: > Thank you for the explanation. I think the right way go ahead is to add > all missing fields and to do away with unused[]. > > Please, carefully observe the alignment. The spec defines BOOLEAN as > 8bit value. ToS is the 19th b

Re: [U-Boot] [PATCH 1/2] efi_loader: initialize ethernet device path fully

2018-03-25 Thread Heinrich Schuchardt
On 03/25/2018 07:31 PM, Patrick Wildt wrote: > On Fri, Mar 23, 2018 at 07:58:07PM +0100, Heinrich Schuchardt wrote: >> On 03/23/2018 07:54 PM, Heinrich Schuchardt wrote: >>> >From c38a011f699cf5a41b48c6fc547f3d0dde3d7cf9 Mon Sep 17 00:00:00 2001 >>> From: Patrick Wildt >>> Date: Fri, 23 Mar 2018 1

Re: [U-Boot] [PATCH 2/2] efi_loader: set the dhcp ack received flag

2018-03-25 Thread Heinrich Schuchardt
On 03/25/2018 07:44 PM, Patrick Wildt wrote: > On Fri, Mar 23, 2018 at 08:04:27PM +0100, Heinrich Schuchardt wrote: >> On 03/23/2018 08:01 PM, Heinrich Schuchardt wrote: >>> >From 689ada7663efae5ef13d021f3266e081d1d53293 Mon Sep 17 00:00:00 2001 >>> From: Patrick Wildt >>> Date: Fri, 23 Mar 2018 1

Re: [U-Boot] [PATCH] efi_loader: initialize device path on alloc

2018-03-25 Thread Heinrich Schuchardt
On 03/25/2018 07:54 PM, Patrick Wildt wrote: > Since the backing memory for a new device path can contain stale > data we have to make sure that we zero the buffer. Otherwise some > code paths that don't set all fields in a structure backed by this > device path might contain unwanted stale data.

Re: [U-Boot] [PATCH v2 2/6] i.MX6: Change SYS_SOC from mx6 to imx6

2018-03-25 Thread Fabio Estevam
On Sun, Mar 25, 2018 at 3:22 PM, Jagan Teki wrote: > Now, MX6 has proper CONFIG names so rename the SYS_SOC to > imx6 from mx6 and also change related files. > > Signed-off-by: Jagan Teki > --- > .travis.yml| 4 ++-- > arch/arm/Kconfig

[U-Boot] [PATCH v2 6/6] ARM: i.MX6: dts: Build dtb based on SOC type

2018-03-25 Thread Jagan Teki
Now, we have proper CONFIG_SOC_ names for i.MX6 SOC types, so use the same for building dtbs. Signed-off-by: Jagan Teki --- arch/arm/dts/Makefile | 44 ++-- 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dt

[U-Boot] [PATCH v2 5/6] ARM: dts: i.MX6UL: U-Boot specific dts for u-boot, dm-spl

2018-03-25 Thread Jagan Teki
u-boot,dm-spl property is specific to U-Boot, so move it into *u-boot.dtsi files for relevant i.MX6UL files. This make syncing Linux dts files straight forward. Also update the MAINTAINERS file for dts files. Signed-off-by: Jagan Teki --- arch/arm/dts/imx6ul-geam-kit-u-boot.dtsi | 25 +++

[U-Boot] [PATCH v2 4/6] ARM: dts: imx6ul-isiot: Move usdhc2 into dtsi

2018-03-25 Thread Jagan Teki
Move usdhc2 node along with pinctrl to imx6ul-isiot.dts from imx6ul-isiot-emmc.dts Signed-off-by: Jagan Teki --- arch/arm/dts/imx6ul-isiot-emmc.dts | 24 arch/arm/dts/imx6ul-isiot.dtsi | 26 ++ 2 files changed, 26 insertions(+), 24 deletions(-

[U-Boot] [PATCH v2 3/6] ARM: dts: i.MX6QDL: U-Boot specific dts for u-boot, dm-spl

2018-03-25 Thread Jagan Teki
u-boot,dm-spl property is specific to U-Boot, so move it into *u-boot.dtsi files for relevant i.MX6QDL files. This make syncing Linux dts files straight forward. Also update the MAINTAINERS file for dts files. Signed-off-by: Jagan Teki --- arch/arm/dts/imx6dl-icore-mipi-u-boot.dtsi | 11 ++

[U-Boot] [PATCH v2 2/6] i.MX6: Change SYS_SOC from mx6 to imx6

2018-03-25 Thread Jagan Teki
Now, MX6 has proper CONFIG names so rename the SYS_SOC to imx6 from mx6 and also change related files. Signed-off-by: Jagan Teki --- .travis.yml| 4 ++-- arch/arm/Kconfig | 2 +- arch/arm/Makefile

[U-Boot] [PATCH v2 0/6] ARM: i.MX6: Add proper CONFIG names

2018-03-25 Thread Jagan Teki
This series add proper CONFIG names for i.MX6 architecture code, where CONFIG_MX6 become CONFIG_ARCH_IMX6 and rest of SOC types like CONFIG_MX6Q become CONFIG_SOC_IMX6Q which is similar to Linux. patch 1: Update new CONFIG names globally to all files for i.MX6 code patch 2: Change SYS_SOC from mx

[U-Boot] [PATCH v9 2/3] Adding TCP

2018-03-25 Thread DH
From: Duncan Hare All the code is new, and not copied from any source. Series-changes The previous patch was using an old version of net/Kconfig, which prevented requesting options for a bootp/dhcp request. A similar issue fixed with a cmd/Kconfig. Items in include/net.h fixed. Signed-off-by:

[U-Boot] [PATCH v9 3/3] Adding wget

2018-03-25 Thread DH
From: Duncan Hare Why http and wget: HTTP is the most efficient file retrieval protocol in common use. The client send a single request, after TCP connection, to receive a file of any length. WGET is the application which implements http file transfer outside browsers as a file transfer protoco

[U-Boot] [PATCH v9 1/3] Adding TCP and wget into u-boot

2018-03-25 Thread DH
From: Duncan Hare cover-letter: Why netboot: Central management, including logs and change control, coupled with with enhanced security and unauthorized change detection and remediation by exposing a small attack surface. Why TCP: Currently file transfer are done using tftp or NFS both over udp

[U-Boot] [PATCH] efi_loader: initialize device path on alloc

2018-03-25 Thread Patrick Wildt
Since the backing memory for a new device path can contain stale data we have to make sure that we zero the buffer. Otherwise some code paths that don't set all fields in a structure backed by this device path might contain unwanted stale data. Signed-off-by: Patrick Wildt --- lib/efi_loader/ef

Re: [U-Boot] [PATCH 2/2] efi_loader: set the dhcp ack received flag

2018-03-25 Thread Patrick Wildt
On Fri, Mar 23, 2018 at 08:04:27PM +0100, Heinrich Schuchardt wrote: > On 03/23/2018 08:01 PM, Heinrich Schuchardt wrote: > >>From 689ada7663efae5ef13d021f3266e081d1d53293 Mon Sep 17 00:00:00 2001 > > From: Patrick Wildt > > Date: Fri, 23 Mar 2018 15:38:48 +0100 > > Subject: [PATCH 2/2] efi_loader

Re: [U-Boot] [PATCH 1/2] efi_loader: initialize ethernet device path fully

2018-03-25 Thread Patrick Wildt
On Fri, Mar 23, 2018 at 07:58:07PM +0100, Heinrich Schuchardt wrote: > On 03/23/2018 07:54 PM, Heinrich Schuchardt wrote: > >>From c38a011f699cf5a41b48c6fc547f3d0dde3d7cf9 Mon Sep 17 00:00:00 2001 > > From: Patrick Wildt > > Date: Fri, 23 Mar 2018 15:36:58 +0100 > > Subject: [PATCH 1/2] efi_loader

Re: [U-Boot] Composing multiple envs

2018-03-25 Thread Alex Kiernan
On Sun, Mar 25, 2018 at 3:34 PM, Wolfgang Denk wrote: > Dear Alex, > > In message > you > wrote: >> >> > Why can't you just "env import" >> > these additional fragments as part of your hard coded startup >> > sequence? >> >> Other than wanting to filter the variables that can come in that way,

Re: [U-Boot] Composing multiple envs

2018-03-25 Thread Wolfgang Denk
Dear Alex, In message you wrote: > > > Why can't you just "env import" > > these additional fragments as part of your hard coded startup > > sequence? > > Other than wanting to filter the variables that can come in that way, > it does everything I need. In fact with sufficient care I probably

Re: [U-Boot] Composing multiple envs

2018-03-25 Thread Alex Kiernan
On Sun, Mar 25, 2018 at 11:50 AM, Wolfgang Denk wrote: > Dear Alex, > > In message > you > wrote: >> I'm trying to set up a configuration where I've largely got a hardcoded >> environment (ENV_IS_NOWHERE) with a very small list of variables that come >> from a loadable environment (ENV_IS_IN_FA

[U-Boot] [PATCH 3/3] sunxi: Add extra I2C bus support to Ainol AW1 defconfig

2018-03-25 Thread Paul Kocialkowski
Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview:

[U-Boot] [PATCH 2/3] sunxi: Add USB0 ID detection pin to Ainol AW1 defconfig

2018-03-25 Thread Paul Kocialkowski
Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview:

[U-Boot] [PATCH 1/3] arm: dts: sun7i: Update Ainol AW1 dts

2018-03-25 Thread Paul Kocialkowski
Spam detection software, running on the system "lists.denx.de", has identified this incoming email as possible spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview:

[U-Boot] uBoot Scripts BeagleBone Black Yocto

2018-03-25 Thread Benedikt Wiesnet
Hi everybody, sorry for asking stupid questions, but you are my last hope for getting this working... What I would like to do, is embedding this script: https://github.com/rauc/rauc/blob/master/contrib/uboot.sh Into u-Boot with Yocto: ./mkimage -T script -A arm -C none -n 'Redundant Boot' -d c

Re: [U-Boot] Composing multiple envs

2018-03-25 Thread Wolfgang Denk
Dear Alex, In message you wrote: > I'm trying to set up a configuration where I've largely got a hardcoded > environment (ENV_IS_NOWHERE) with a very small list of variables that come > from a loadable environment (ENV_IS_IN_FAT for my use case) - things like > serial# and regulatory region. Eve

[U-Boot] Composing multiple envs

2018-03-25 Thread Alex Kiernan
I'm trying to set up a configuration where I've largely got a hardcoded environment (ENV_IS_NOWHERE) with a very small list of variables that come from a loadable environment (ENV_IS_IN_FAT for my use case) - things like serial# and regulatory region. Even then I want them largely set once in the f