Re: [U-Boot] [RFC PATCH v2 13/20] fastboot: Merge reboot-bootloader handling

2018-05-01 Thread Jocelyn Bohr
On Tue, May 1, 2018 at 10:46 PM Jocelyn Bohr wrote: > > > On Tue, May 1, 2018 at 1:21 AM Alex Kiernan > wrote: > >> On Tue, May 1, 2018 at 8:22 AM Alex Kiernan >> wrote: >> >> >> > On Tue, May 1, 2018 at 7:50 AM Jocelyn Bohr

Re: [U-Boot] [RFC PATCH v2 13/20] fastboot: Merge reboot-bootloader handling

2018-05-01 Thread Jocelyn Bohr
On Tue, May 1, 2018 at 1:21 AM Alex Kiernan wrote: > On Tue, May 1, 2018 at 8:22 AM Alex Kiernan > wrote: > > > > On Tue, May 1, 2018 at 7:50 AM Jocelyn Bohr wrote: > > > > > > On Mon, Apr 30, 2018 at 1:33 AM Alex Kiernan

Re: [U-Boot] [UBOOT PATCH v3 0/7] Add support of SD3.0 UHS modes for ZynqMP

2018-05-01 Thread Jaehoon Chung
On 04/30/2018 06:02 PM, Michal Simek wrote: > Hi Tom, > > On 19.4.2018 09:07, Siva Durga Prasad Paladugu wrote: >> This patch series is meant to add SD3.0 support for ZynqMP >> platform. >> The first five patches in the series mostly setting up >> things in sdhci layer to support SD3.0 , the

[U-Boot] [GIT PULL] Please pull u-boot-mmc master

2018-05-01 Thread Jaehoon Chung
Dear Tom, Could you pull these patches to u-boot/master? There are the fixing patches. Other mmc patches are applied to u-boot-mmc/next branch. I will send the PR about them at next. If there is a problem, let me know, plz. Sorry for late. The following changes since commit

Re: [U-Boot] [PATCH v2] MAINTAINERS: Switch nxp.com domain

2018-05-01 Thread Timur Tabi
On 5/1/18 1:54 PM, Fabio Estevam wrote: Timur, would you like to keep maintaining p1022ds? If so, then please send an email switching your address toti...@tabi.org. Ok. ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH] sunxi: allow CONFIG_DEFAULT_FDT_FILE override

2018-05-01 Thread Martin Kelly
Currently, sunxi-common.h ignores CONFIG_DEFAULT_FDT_FILE and assumes the kernel fdtfile and the u-boot devicetree names are the same. Although this is typically the case, sometimes you might want to customize one of these differently, so it's useful to allow them to be different. Add logic in

Re: [U-Boot] [PATCH] [U-boot] net/phy/cortina: Add support for CS4223 PHY

2018-05-01 Thread Joe Hershberger
Hi Vicentiu, On Mon, Apr 23, 2018 at 7:02 AM, Vicentiu Galanopulo wrote: > Add support for Cortina CS4223 10G PHY > - As per the CS4223 specs, an EEPROM module is > connected to the PHY. At startup the PHY reads > the firmware line and tries to load the

[U-Boot] U-Boot Hole in Verified Boot

2018-05-01 Thread Larry.Gass
This is my first post to the U-Boot mailing list so if I'm doing it wrong I apologize in advance and would welcome feedback. I was able to bypass the SHA+RSA check of an image by performing a "fdt checksign" followed by a load of an unsigned image, even though I have 'required="conf"' in my

[U-Boot] [PATCH] net: sunxi: Correct MAC address register order

2018-05-01 Thread Joe Hershberger
Put the enetaddr data in the same order as it was before the change in commit ace1520cb5fc ("net: sunxi-emac: Write HW address via function") Reported-by: Udo Maslo Signed-off-by: Joe Hershberger --- drivers/net/sunxi_emac.c | 4 ++-- 1 file changed, 2

Re: [U-Boot] [PATCH v10 0/3] Why netboot:

2018-05-01 Thread Joe Hershberger
On Mon, Apr 30, 2018 at 8:57 PM, Joe Hershberger wrote: > On Sat, Apr 14, 2018 at 6:43 PM, wrote: >> From: Duncan Hare >> >> Central management, including logs and change control, >> coupled with with enhanced security and

Re: [U-Boot] [PATCH v3 2/2] sunxi: binman: Add U-Boot binary size check

2018-05-01 Thread Siarhei Siamashka
On Tue, 01 May 2018 18:25:06 +0100 Måns Rullgård wrote: > Maxime Ripard writes: > > > The U-Boot binary may trip over its actual allocated size in the storage. > > In such a case, the environment will not be readable anymore (because > >

Re: [U-Boot] [PATCH v2] MAINTAINERS: Switch nxp.com domain

2018-05-01 Thread York Sun
On 05/01/2018 11:54 AM, Fabio Estevam wrote: > From: Fabio Estevam > > freescale.com domain is no longer reachable, so switch the > maintainers' emails to nxp.com domain instead. > > Signed-off-by: Fabio Estevam > --- > Changes since v1: > -

Re: [U-Boot] [PATCH] MAINTAINERS: Switch to Alison's nxp.com address

2018-05-01 Thread Fabio Estevam
On Tue, May 1, 2018 at 10:02 AM, Tom Rini wrote: > This needs to be done fairly globally to all of the MAINTAINERS files > please, thanks! Yes, makes sense. Sent a v2 as suggested. ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] [PATCH v2] MAINTAINERS: Switch nxp.com domain

2018-05-01 Thread Fabio Estevam
From: Fabio Estevam freescale.com domain is no longer reachable, so switch the maintainers' emails to nxp.com domain instead. Signed-off-by: Fabio Estevam --- Changes since v1: - Convert all freescale.com addresses (Tom) Tom, I have converted all

Re: [U-Boot] [PATCH v3 2/2] sunxi: binman: Add U-Boot binary size check

2018-05-01 Thread Måns Rullgård
Maxime Ripard writes: > The U-Boot binary may trip over its actual allocated size in the storage. > In such a case, the environment will not be readable anymore (because > corrupted when the new image was flashed), and any attempt at using saveenv > to

[U-Boot] [PATCH] bootm.c: Correct the flush_len used in bootm_load_os()

2018-05-01 Thread Tom Rini
In do_bootm_states when doing BOOTM_STATE_LOADOS we use load_end uninitialized and Coverity notes this now. This however leads down another interesting path. We pass this pointer to bootm_load_os and that in turn uses this uninitialized value immediately to calculate the flush length, and is

[U-Boot] [ANN] U-Boot v2018.05-rc3 released

2018-05-01 Thread Tom Rini
Hey all, Just like for v2018.03-rc3, we're a day late. That's just on me, sorry. Things are looking good for final release on May 7th. I might be able to pull in one or two more Kconfig migrations if I can be sure about the lack of size changes. I see there's a lot of stuff that's ready to

Re: [U-Boot] [PATCH v2 1/3] drivers: Add board uclass

2018-05-01 Thread Dr. Philipp Tomsich
Simon, > On 1 May 2018, at 01:12, Simon Glass wrote: > > Hi, > > On 27 April 2018 at 07:02, Dr. Philipp Tomsich > > wrote: >> >>> On 27 Apr 2018, at 14:51, Mario Six

Re: [U-Boot] [PATCH] MAINTAINERS: Switch to Alison's nxp.com address

2018-05-01 Thread Tom Rini
On Tue, May 01, 2018 at 09:32:04AM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > freescale.com domain is no longer reachable, so switch to > Alison's nxp.com domain instead. > > Signed-off-by: Fabio Estevam This needs to be done fairly

[U-Boot] [PATCH] MAINTAINERS: Switch to Alison's nxp.com address

2018-05-01 Thread Fabio Estevam
From: Fabio Estevam freescale.com domain is no longer reachable, so switch to Alison's nxp.com domain instead. Signed-off-by: Fabio Estevam --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS

Re: [U-Boot] [Xen-devel] [For knowledge-sake] Understanding of couple of things under the hood

2018-05-01 Thread Ajay Garg
Thanks a ton Julien, that was mighty useful !! On Tue, May 1, 2018 at 4:44 PM, Julien Grall wrote: > > > On 01/05/18 11:27, Ajay Garg wrote: >> >> Hi All. > > > Hello, > > >> I have been able to bring up xen on cubieboard2, using the following >> script gathered from google

Re: [U-Boot] [Xen-devel] [For knowledge-sake] Understanding of couple of things under the hood

2018-05-01 Thread Julien Grall
On 01/05/18 11:27, Ajay Garg wrote: Hi All. Hello, I have been able to bring up xen on cubieboard2, using the following script gathered from google : ### # SUNXI Xen Boot Script # Arch Linux ARM adaption of the cmd file which

Re: [U-Boot] [PATCH 2/2] spi: kirkwood: Full dm conversion

2018-05-01 Thread Simon Guinot
On Mon, Apr 30, 2018 at 11:28:28AM +0530, Jagan Teki wrote: > On Fri, Apr 27, 2018 at 2:21 PM, Simon Guinot > wrote: > > On Thu, Apr 26, 2018 at 11:30:00AM +0530, Jagan Teki wrote: > >> On Thu, Mar 15, 2018 at 5:03 PM, Jagan Teki > >>

Re: [U-Boot] Appended DTB Android boot image support

2018-05-01 Thread Ramon Fried
On Tue, May 1, 2018 at 12:20 PM, Alex Deymo wrote: > Hi Ramon, > > What "header_version" is the boot image you have? The > include/android_image.h in U-Boot is a little bit old so it only defines the > v0 format. The "unused" field in v0 was renamed to "header_version" where 0

Re: [U-Boot] [RFC PATCH v2 13/20] fastboot: Merge reboot-bootloader handling

2018-05-01 Thread Jocelyn Bohr
On Mon, Apr 30, 2018 at 1:33 AM Alex Kiernan wrote: > Extract fb_set_reboot_flag() from USB code and ensure all the overides > are included, then make the UDP fastboot code go through this same > path. > > Note this changes the behaviour of the fastboot net code such that

Re: [U-Boot] [RFC PATCH v2 07/20] net: fastboot: Merge AOSP UDP fastboot

2018-05-01 Thread Jocelyn Bohr
On Mon, Apr 30, 2018 at 1:33 AM Alex Kiernan wrote: > Merge UDP fastboot support from AOSP: > > > https://android.googlesource.com/platform/external/u-boot/+/android-o-mr1-iot-preview-8 > > Signed-off-by: Alex Kiernan > Signed-off-by: Alex Deymo

Re: [U-Boot] [RFC PATCH v1 0/5] Add fastboot UDP support

2018-05-01 Thread Jocelyn Bohr
Great, I will check out v2! And yes free to add a "Signed-off-by" for me on any of the original patchsets. On Mon, Apr 30, 2018 at 1:37 AM Alex Kiernan wrote: > On Fri, Apr 27, 2018 at 1:20 PM, Alex Kiernan > wrote: > > On Fri, Apr 27, 2018 at

[U-Boot] [For knowledge-sake] Understanding of couple of things under the hood

2018-05-01 Thread Ajay Garg
Hi All. I have been able to bring up xen on cubieboard2, using the following script gathered from google : ### # SUNXI Xen Boot Script # Arch Linux ARM adaption of the cmd file which can be found at

Re: [U-Boot] Appended DTB Android boot image support

2018-05-01 Thread Alex Deymo
Hi Ramon, What "header_version" is the boot image you have? The include/android_image.h in U-Boot is a little bit old so it only defines the v0 format. The "unused" field in v0 was renamed to "header_version" where 0 means v0. The v1 adds a few more fields, including a DTB/DTBO for *recovery*

[U-Boot] [PATCH][v3] mtd: nand: fsl_ifc: Fix nand waitfunc return value

2018-05-01 Thread Jagdish Gediya
As per the IFC hardware manual, Most significant byte in nand_fsr register is the outcome of NAND READ STATUS command. So status value need to be shifted as per the nand framework requirement. Signed-off-by: Jagdish Gediya Reviewed-by: Prabhakar Kushwaha

Re: [U-Boot] Logo for U-Boot

2018-05-01 Thread Alexander Graf
> Am 01.05.2018 um 04:09 schrieb Marek Vasut : > >> On 04/30/2018 08:22 PM, Heinrich Schuchardt wrote: >> U-Boot has currently no logo that we can use in presentations. >> >> On the U-Boot IRC channel the following propositions where made: >> >> Source:

Re: [U-Boot] [PATCH][v2] mtd: nand: fsl_ifc: Fix nand waitfunc return value

2018-05-01 Thread Jagdish Gediya
Hi York, > -Original Message- > From: York Sun > Sent: Friday, April 27, 2018 8:43 AM > To: Prabhakar Kushwaha > Cc: Jagdish Gediya ; u-boot@lists.denx.de; > o...@buserror.net > Subject: Re: [U-Boot] [PATCH][v2] mtd: nand: fsl_ifc: Fix

Re: [U-Boot] [RFC PATCH v2 13/20] fastboot: Merge reboot-bootloader handling

2018-05-01 Thread Alex Kiernan
On Tue, May 1, 2018 at 8:22 AM Alex Kiernan wrote: > On Tue, May 1, 2018 at 7:50 AM Jocelyn Bohr wrote: > > On Mon, Apr 30, 2018 at 1:33 AM Alex Kiernan > wrote: > >> Extract fb_set_reboot_flag() from USB code and ensure all

[U-Boot] [PATCH] doc: rmobile: Update the README

2018-05-01 Thread Marek Vasut
Synchronize the README with the current state of U-Boot, unify the build instructions to avoid duplication. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- doc/README.rmobile | 76 +++---

Re: [U-Boot] [RFC PATCH v2 13/20] fastboot: Merge reboot-bootloader handling

2018-05-01 Thread Alex Kiernan
On Tue, May 1, 2018 at 7:50 AM Jocelyn Bohr wrote: > On Mon, Apr 30, 2018 at 1:33 AM Alex Kiernan wrote: >> Extract fb_set_reboot_flag() from USB code and ensure all the overides >> are included, then make the UDP fastboot code go through this same >>

[U-Boot] [PATCH 4/4] ARM: rmobile: Enable DM capable RCar I2C driver on Silk

2018-05-01 Thread Marek Vasut
Enable the DM capable driver instead of the legacy one. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/silk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/silk_defconfig b/configs/silk_defconfig index

[U-Boot] [PATCH 2/4] i2c: rcar_i2c: Add DM and DT capable I2C driver

2018-05-01 Thread Marek Vasut
Add derivative of the rcar_i2c driver which is capable of probing itself from DM and uses DT. Signed-off-by: Marek Vasut Cc: Heiko Schocher Cc: Nobuhiro Iwamatsu --- drivers/i2c/Kconfig| 6 + drivers/i2c/Makefile | 1

[U-Boot] [PATCH 3/4] ARM: rmobile: Enable DM capable RCar I2C driver on Lager

2018-05-01 Thread Marek Vasut
Enable the DM capable driver instead of the legacy one. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/lager_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/lager_defconfig b/configs/lager_defconfig index

[U-Boot] [PATCH 1/4] i2c: rcar_i2c: Remove the driver

2018-05-01 Thread Marek Vasut
Remove the rcar_i2c driver, since it's no longer used by any board and will be superseded by a DM and DT capable variant. Signed-off-by: Marek Vasut Cc: Heiko Schocher Cc: Nobuhiro Iwamatsu --- drivers/i2c/Makefile | 1 -