[U-Boot] [PATCH v2 2/2] usb: gadget: sdp: fix pointer cast warnings for 64bit archs

2018-02-15 Thread Andre Heider
The SDP protocol contains multiple 32bit pointers. Add a helper function to get a valid pointer from these values and use it. This fixes the following warnings: drivers/usb/gadget/f_sdp.c: In function ‘sdp_rx_data_complete’: drivers/usb/gadget/f_sdp.c:347:10: warning: cast to pointer from

[U-Boot] [PATCH] pci: Fix decode regions for memory banks

2018-02-15 Thread Bernhard Messerklinger
Since memory banks may not be located behind each other we need to add them separately. Signed-off-by: Bernhard Messerklinger --- drivers/pci/pci-uclass.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH] x86: mmc: Fix mapping of BAR memory

2018-02-15 Thread Bernhard Messerklinger
Use dm_pci_map_bar function for BAR mapping. This has the advantage of clearing BAR flags and and only accepting mapped memory. Signed-off-by: Bernhard Messerklinger --- drivers/mmc/pci_mmc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)

Re: [U-Boot] [PATCH 2/2] usb: gadget: sdp: fix pointer casts for 64bit archs

2018-02-15 Thread Andre Heider
Hi Lukasz, On 15/02/18 09:49, Lukasz Majewski wrote: Hi Andre, The SDP protocol contains multiple 32bit pointers. Add a helper function to get a valid pointer from these values and use it. Is there any special rationale behind this? It's been a while, but if i remember correctly SDP

Re: [U-Boot] [PATCH 2/2] usb: gadget: sdp: fix pointer casts for 64bit archs

2018-02-15 Thread Lukasz Majewski
Hi Andre, > Hi Lukasz, > > On 15/02/18 09:49, Lukasz Majewski wrote: > > Hi Andre, > > > >> The SDP protocol contains multiple 32bit pointers. Add a helper > >> function to get a valid pointer from these values and use it. > > > > Is there any special rationale behind this? > > It's

Re: [U-Boot] [PATCH 1/2] usb: gadget: sdp: add missing line breaks

2018-02-15 Thread Stefan Agner
On 15.02.2018 09:59, Lukasz Majewski wrote: > On Thu, 15 Feb 2018 07:08:55 +0100 > Andre Heider wrote: > >> Cosmetic change. Hm, this got introduced by commit 9b643e312d52 ("treewide: replace with error() with pr_err()") error() did print the newline... Acked-by: Stefan

Re: [U-Boot] [PATCH] x86: mmc: Fix mapping of BAR memory

2018-02-15 Thread Hannes Schmelzer
> Von: Bernhard Messerklinger > An: u-boot@lists.denx.de > Kopie: hannes.schmel...@br-automation.com, Bernhard Messerklinger > , Bin Meng , > Simon Glass , Jaehoon Chung

[U-Boot] [PATCH] arm64: zynqmp: Changed scratch address used by the alternate memory test

2018-02-15 Thread Michal Simek
From: Vipul Kumar This patch changed CONFIG_SYS_MEMTEST_SCRATCH address to the accessible DDR address used by alternate memory test. Before this, 0xfffc address was used, which is the OCM address and not enabled in MMU table. So, whenever trying to access 0xfffc

[U-Boot] Antwort: [PATCH] ns16550: Fix mem mapped endian check

2018-02-15 Thread Hannes Schmelzer
Bernhard Messerklinger schrieb am 15.02.2018 09:02:26: > Von: Bernhard Messerklinger > An: u-boot@lists.denx.de > Kopie: hannes.schmel...@br-automation.com, Bernhard Messerklinger >

Re: [U-Boot] [PATCH] pci: Fix decode regions for memory banks

2018-02-15 Thread Hannes Schmelzer
Bernhard Messerklinger schrieb am 15.02.2018 08:59:53: > Von: Bernhard Messerklinger > An: u-boot@lists.denx.de > Kopie: hannes.schmel...@br-automation.com, Bernhard Messerklinger >

[U-Boot] [PATCH] ns16550: Fix mem mapped endian check

2018-02-15 Thread Bernhard Messerklinger
Do a explicit check for CONFIG_SYS_BIG_ENDIAN and CONFIG_SYS_LITTLE_ENDIAN to avoid errors on platforms where both are undefined (x86). Signed-off-by: Bernhard Messerklinger --- drivers/serial/ns16550.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [U-Boot] [PATCH 2/2] usb: gadget: sdp: fix pointer casts for 64bit archs

2018-02-15 Thread Lukasz Majewski
Hi Andre, > The SDP protocol contains multiple 32bit pointers. Add a helper > function to get a valid pointer from these values and use it. Is there any special rationale behind this? > > Signed-off-by: Andre Heider > --- > drivers/usb/gadget/f_sdp.c | 13 + >

Re: [U-Boot] [PATCH 1/2] usb: gadget: sdp: add missing line breaks

2018-02-15 Thread Lukasz Majewski
On Thu, 15 Feb 2018 07:08:55 +0100 Andre Heider wrote: > Cosmetic change. > > Signed-off-by: Andre Heider > --- > cmd/usb_gadget_sdp.c | 4 ++-- > common/spl/spl_sdp.c | 4 ++-- > drivers/usb/gadget/f_sdp.c | 14 +++--- > 3 files

Re: [U-Boot] How to test new bootloaders on Jetson TX1? - ATF

2018-02-15 Thread Varun Wadekar
Yes. That's a custom SMC we have for some non-L4T uses. It has not been upstreamed yet. You can add dummy handling in tegra_sip_calls.c to move forward. From: Andreas Färber Sent: Thursday, February 15, 2018 7:04 PM To: Varun Wadekar Cc: Tom

[U-Boot] [PATCH] arm64: zynqmp: Add support to load an app at EL1

2018-02-15 Thread Michal Simek
From: Nitin Jain This patch is adding support to switch to EL1 while loading an EL1 application with u-boot running at EL above EL1 in aarch64 mode. Signed-off-by: Nitin Jain Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by:

Re: [U-Boot] [PATCH 1/8] Merge CONFIG_BOOTCOUNT and CONFIG_BOOTCOUNT_LIMIT

2018-02-15 Thread Heinrich Schuchardt
On 02/11/2018 08:08 PM, Lukasz Majewski wrote: > On Sun, 11 Feb 2018 12:06:46 + > Alex Kiernan wrote: > >> CONFIG_BOOTCOUNT was only used in mx53ppd, merge it with >> CONFIG_BOOTCOUNT_LIMIT >> >> Signed-off-by: Alex Kiernan >> --- >> >>

[U-Boot] [PATCH] net: Remove Xilinx ll_temac driver

2018-02-15 Thread Michal Simek
ll_temac driver was used by Xilinx Microblaze big endian and Xilinx ppc405/ppc440 SoCs. ppc support was removed by: "powerpc: remove 4xx support" (sha1: 98f705c9cefdfdba62c069821bbba10273a0a8ed) and Microblaze BE is not tested for a long time that's why this driver can be removed because none is

Re: [U-Boot] How to test new bootloaders on Jetson TX1? - ATF

2018-02-15 Thread Andreas Färber
Hi Varun, Am 15.02.2018 um 17:57 schrieb Varun Wadekar: > Andreas, can you try the TOS packaging script available in our public repo? > > http://nv-tegra.nvidia.com/gitweb/?p=3rdparty/ote_partner/tlk.git;a=blob;f=tools/gen_tos_part_img.py;h=47828f7028e56a6cffb9b773502b13dc431a015e;hb=HEAD

Re: [U-Boot] [RESEND PATCH 2/2] net: designware: add clock support

2018-02-15 Thread Jonathan Gray
On Wed, Nov 29, 2017 at 09:06:11AM +0100, patrice.chot...@st.com wrote: > From: Patrice Chotard > > This implementation manages several clocks, disable and > free all of them in case of error during probe and in remove > callback. > > Signed-off-by: Patrice Chotard

[U-Boot] [PATCH] mx5: Add HAB boot support

2018-02-15 Thread andrej.rosano
From: Andrej Rosano Add SEC_CONFIG[1] fuse checking. Signed-off-by: Andrej Rosano --- arch/arm/mach-imx/Makefile | 5 + arch/arm/mach-imx/hab.c | 5 + arch/arm/mach-imx/mx5/soc.c | 8 drivers/crypto/fsl/Makefile | 2

[U-Boot] [PATCH v2] usb: host: xhci-omap: Remove redundant board_usb_init and board_usb_cleanup functions

2018-02-15 Thread Faiz Abbas
board_usb_init()/_cleanup() should be in board files and don't have a place in the xhci-omap driver. Weak versions for board_usb_init()/_cleanup() already exist in common/usb.c (for host mode) and drivers/usb/gadget/g_dnl.c (for gadget mode). Therefore, remove init and cleanup functions from

[U-Boot] [PATCH] ARM: rmobile: Enable DTO support on Gen3

2018-02-15 Thread Marek Vasut
Enable support for applying DT overlays on Gen3. This is convenient for handling extra additional hardware, like ie. the Kingfisher. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- configs/r8a7795_salvator-x_defconfig | 1 +

Re: [U-Boot] [U-Boot, 1/1] cmd: scsi: move CMD_SCSI to device access commands

2018-02-15 Thread Tom Rini
On Wed, Feb 14, 2018 at 08:05:44AM +0100, Heinrich Schuchardt wrote: > Configuration option CMD_SCSI should be placed in the same submenu as > CMD_SATA and CMD_MMC. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [PATCH 1/2] dfu: Fix up the Kconfig mess

2018-02-15 Thread Lukasz Majewski
Hi Marek, > On 02/15/2018 01:24 AM, Lukasz Majewski wrote: > > Hi Marek, > > Hi, > > >> Clean up the screaming mess of configuration options that DFU is. > >> It was impossible to configure DFU such that TFTP is enabled and > >> USB is not, this patch fixes that and assures that DFU TFTP and

Re: [U-Boot] How to test new bootloaders on Jetson TX1?

2018-02-15 Thread Andreas Färber
Am 15.02.2018 um 10:22 schrieb Jon Hunter: > On 15/02/18 01:51, Andreas Färber wrote: >> I would like to test the latest version of U-Boot on the Jetson TX1. [...] >> Here's what I have tried: >> >> $ sudo ./flash.sh p2371-2180-devkit mmcblk0p1 > This should work. Which u-boot binary are you

Re: [U-Boot] [PATCH] am335x_evm: Consolidate eMMC partitions with DFU info

2018-02-15 Thread Sam Protsenko
On 8 February 2018 at 20:26, Tom Rini wrote: > On Wed, Feb 07, 2018 at 08:41:32PM +0200, Sam Protsenko wrote: > >> From DFU_ALT_INFO_EMMC (include/environment/ti/dfu.h) we can see that >> rootfs will be flashed to second partition on eMMC. But at the moment we >> have only one

Re: [U-Boot] [PATCH 1/2] dfu: Fix up the Kconfig mess

2018-02-15 Thread Marek Vasut
On 02/15/2018 01:24 AM, Lukasz Majewski wrote: > Hi Marek, Hi, >> Clean up the screaming mess of configuration options that DFU is. >> It was impossible to configure DFU such that TFTP is enabled and >> USB is not, this patch fixes that and assures that DFU TFTP and >> DFU USB can be enabled

Re: [U-Boot] [PATCH v4 1/2] arm: sunxi: Allwinner A10 SPI driver

2018-02-15 Thread Jagan Teki
On Tue, Feb 6, 2018 at 6:44 PM, Stefan Mavrodiev wrote: > Add spi driver for sun4i, sun5i and sun7i SoCs. The driver is > adapted from mailine kernel. > > Signed-off-by: Stefan Mavrodiev > --- Applied to u-boot-spi/master

Re: [U-Boot] [U-Boot, 2/2] configs: am335x_evm: Add DYNAMIC_CRC_TABLE

2018-02-15 Thread Tom Rini
On Tue, Feb 06, 2018 at 07:15:59PM +0530, Faiz Abbas wrote: > Add CONFIG_DYNAMIC_CRC_TABLE to am335x_evm_defconfig to reduce the > size of the image. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

[U-Boot] [PATCH] arc: Fix final linkage with Elf32 tools

2018-02-15 Thread Alexey Brodkin
ARC Elf32 tools by default enable usage of so-called "small data" section or in ARC PRM parlance "GP-relative addressing". The idea is to put up to 2kB of frequently used data into a separate location and use indirect addressing via dedicated core register (GP). Where GP is used as a base for

Re: [U-Boot] arm/PSCI: support PSCI versions greater than 1.0

2018-02-15 Thread Tom Rini
On Fri, Feb 09, 2018 at 08:10:22AM +0100, Andre Heider wrote: > ATF recently began announcing PSCI v1.1. Since that version is unknown > to u-boot, the PSCI device nodes were not updated. > > Switch from the case statement to a greater/less-than comparison so that > v1.1, as well as future

Re: [U-Boot] am335x_evm: Consolidate eMMC partitions with DFU info

2018-02-15 Thread Tom Rini
On Wed, Feb 07, 2018 at 08:41:32PM +0200, Sam Protsenko wrote: > >From DFU_ALT_INFO_EMMC (include/environment/ti/dfu.h) we can see that > rootfs will be flashed to second partition on eMMC. But at the moment we > have only one partition in $partitions environment variable. Let's add >

Re: [U-Boot] [U-Boot, 1/2] configs: Drop unused CONFIG_SPL_MMC_MINIMAL

2018-02-15 Thread Tom Rini
On Tue, Feb 06, 2018 at 12:15:37PM -0500, Tom Rini wrote: > The option CONFIG_SPL_MMC_MINIMAL is unused in code, drop it. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [U-Boot, v2] configs: am335x_evm: Disable ISO and EFI partitions in SPL

2018-02-15 Thread Tom Rini
On Mon, Feb 05, 2018 at 07:22:29PM +0530, Faiz Abbas wrote: > ISO and EFI partition configs in SPL are selected by default. > However, they are not being used. > > Therefore, remove ISO and EFI partition support in SPL. > > Signed-off-by: Faiz Abbas > Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot, 1/2] lib: Kconfig: Move DYNAMIC_CRC_TABLE to Kconfig

2018-02-15 Thread Tom Rini
On Tue, Feb 06, 2018 at 07:15:58PM +0530, Faiz Abbas wrote: > Add CONFIG prefix to DYNAMIC_CRC_TABLE and implement it in > Kconfig. > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v8 0/4] Generic firmware loader

2018-02-15 Thread Chee, Tien Fong
On Mon, 2018-02-05 at 15:06 +0800, tien.fong.c...@intel.com wrote: Hi Tom, > From: Tien Fong Chee > > This patchset contains generic firmware loader which is very close to > Linux > firmware loader but for U-Boot framework. Generic firmware loader can > be used > load

[U-Boot] Please pull ARC changes

2018-02-15 Thread Alexey Brodkin
Hi Tom, This is just a quite subtle fix that allows to use Elf32 toolchain for building U-Boot so I do believe it qualifies for the next RC and some technical background below. For quite some time we used to use uClibc toolchain for building U-Boot just because it was our default toolchain. But

[U-Boot] [PATCH] ARM: rmobile: Fix the memory map on Gen3

2018-02-15 Thread Marek Vasut
Fix up the memory map on Gen3 to match datasheet properly. This simplifies the memory map setup as well, since we do no longer need this massive complexity. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu ---

Re: [U-Boot] [PATCH v8 0/4] Generic firmware loader

2018-02-15 Thread Chee, Tien Fong
On Mon, 2018-02-05 at 15:06 +0800, tien.fong.c...@intel.com wrote: Hi, > From: Tien Fong Chee > > This patchset contains generic firmware loader which is very close to > Linux > firmware loader but for U-Boot framework. Generic firmware loader can > be used > load

[U-Boot] [PATCH] dfu: Build only RAM for DFU in SPL

2018-02-15 Thread Faiz Abbas
In SPL, DFU only has RAM support. Therefore, only build RAM for DFU in SPL. Signed-off-by: Faiz Abbas --- drivers/dfu/Makefile | 5 + include/dfu.h| 8 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/dfu/Makefile

[U-Boot] [PATCH 1/2] net: phy: Add PHY_RTL8211E_PINE64_GIGABIT_FIX for realtek phys

2018-02-15 Thread kevans
Setting PHY_RTL8211E_PINE64_GIGABIT_FIX forces internal rx/tx delays off on the PHY, as well as flipping some magical undocumented bits. The magic number comes from the Pine64 engineering team, presumably as a proxy from Realtek. This configuration fixes the throughput on some Pine64 models.

Re: [U-Boot] How to test new bootloaders on Jetson TX1?

2018-02-15 Thread Jon Hunter
On 15/02/18 01:51, Andreas Färber wrote: > Hello, > > I would like to test the latest version of U-Boot on the Jetson TX1. > > Unfortunately U-Boot is lacking a README that would explain how to do that: > >

[U-Boot] [PATCH 0/2] Add fix for Pine64 gigabit throughput issues

2018-02-15 Thread kevans
The Pine64 has a known issue on gigabit links (see [1]); some boards suffer significant packet loss on Gigabit links. This patch sets the magical bits in CONFREG on the RTL8211E PHY to turn off the internal delay and do some other undocumented stuff. [1]

[U-Boot] [PATCHv1] board: ge: ppd: Fix environment variable location

2018-02-15 Thread Sebastian Reichel
From: Nandor Han This fixes environment variable location to avoid overlapping with U-Boot itself. Also more space for environment variables has been reserved to prevent future issues. Signed-off-by: Nandor Han Signed-off-by: Sebastian Reichel

Re: [U-Boot] How to test new bootloaders on Jetson TX1?

2018-02-15 Thread Mikko Perttunen
Hi Andreas, In the cboot + U-Boot combination, cboot loads U-Boot from the usual kernel partition (LNX or kernel depending on system), so flashing U-Boot there should do the trick. I believe this did indeed change in some L4T version, so the wiki page needs to be updated. Tom should know more

[U-Boot] [PATCH 2/2] Configs: Use the newly added PHY_RTL8211E_PINE64_GIGABIT_FIX

2018-02-15 Thread kevans
The Pine64+ uses a generic PHY driver, so flip it over to using the Realtek PHY driver to actually apply the RTL8211e fix. Signed-off-by: Kyle Evans --- configs/pine64_plus_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/pine64_plus_defconfig

Re: [U-Boot] [U-Boot,v2] Fix --noheader on fw_printenv

2018-02-15 Thread Tom Rini
On Sun, Feb 11, 2018 at 05:16:46PM +, Alex Kiernan wrote: > The single argument `--noheader' is expecting isn't taken from getopt > parsing, but instead from the remaining argv arguments. > > Signed-off-by: Alex Kiernan Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v3] spl: unbreak CONFIG_SPL_MULTI_DTB_FIT after fixing CONFIG_OF_EMBED

2018-02-15 Thread Tom Rini
On Wed, Feb 14, 2018 at 06:44:36AM +0100, Simon Goldschmidt wrote: > With commit 9bd76b807636 ("spl: make CONFIG_OF_EMBED pass dts through > fdtgrep"), CONFIG_SPL_MULTI_DTB_FIT has been broken because > cmd_fdtgrep was now unknown in scripts/Makefile.spl after moving > it to dts/Makefile. This

Re: [U-Boot] [U-Boot,2/2] configs: Migrate CONFIG_SPL_FRAMEWORK

2018-02-15 Thread Tom Rini
On Tue, Feb 06, 2018 at 12:15:38PM -0500, Tom Rini wrote: > Migrate the option CONFIG_SPL_FRAMEWORK and make this gate most of the > current set of options we have in Kconfig. We will need to have some > options available for SPL and !SPL_FRAMEWORK so this is important. In a > few cases we

[U-Boot] [PATCH] ARM: rmobile: Enable autocompletion on Gen3

2018-02-15 Thread Marek Vasut
This makes the shell so much more pleasant to use, so enable it. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- include/configs/rcar-gen3-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/rcar-gen3-common.h

[U-Boot] [PATCH v2 05/13] Convert CONFIG_BOOTCOUNT_RAM to Kconfig

2018-02-15 Thread Alex Kiernan
This converts the following to Kconfig: CONFIG_BOOTCOUNT_RAM Signed-off-by: Alex Kiernan Reviewed-by: Lukasz Majewski --- Changes in v2: None README | 2 -- configs/km_kirkwood_128m16_defconfig | 1 +

[U-Boot] [PATCH v2 06/13] Convert CONFIG_BOOTCOUNT_I2C to Kconfig

2018-02-15 Thread Alex Kiernan
This converts the following to Kconfig: CONFIG_BOOTCOUNT_I2C Signed-off-by: Alex Kiernan Reviewed-by: Lukasz Majewski --- Changes in v2: None README | 6 -- configs/ids8313_defconfig| 1 + drivers/bootcount/Kconfig| 9

[U-Boot] [PATCH v2 00/13] LS1012A PFE driver patch series

2018-02-15 Thread Calvin Johnson
Hi,   This patch series introduces U-Boot support for NXP's LS1012A Packet Forwarding Engine (pfe_eth). LS1012A uses hardware packet forwarding engine to provide high performance Ethernet interfaces. The device includes two Ethernet ports.   Changes in v2 series: 1. PFE patches submitted on top of

[U-Boot] [PATCH v2 05/13] drivers: net: pfe_eth: LS1012A PFE headers

2018-02-15 Thread Calvin Johnson
Contains all the pfe header files. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: -Add pfe_rx_done to clear bd after packet processing -remove unused code under CONFIG_UTIL_PE_DISABLED -Used BIT and GENMASK

[U-Boot] [PATCH v2 11/13] Rename CONFIG_SYS_BOOTCOUNT_ADDR to BOOTCOUNT_ADDR

2018-02-15 Thread Alex Kiernan
Remove CONFIG_SYS_BOOTCOUNT_ADDR from Kconfig. Signed-off-by: Alex Kiernan --- Changes in v2: None drivers/bootcount/Kconfig | 10 ++ drivers/bootcount/bootcount.c | 16 drivers/bootcount/bootcount_davinci.c | 4 ++--

Re: [U-Boot] How to test new bootloaders on Jetson TX1?

2018-02-15 Thread Jon Hunter
On 15/02/18 12:32, Andreas Färber wrote: > Am 15.02.2018 um 10:22 schrieb Jon Hunter: >> On 15/02/18 01:51, Andreas Färber wrote: >>> I would like to test the latest version of U-Boot on the Jetson TX1. > [...] >>> Here's what I have tried: >>> >>> $ sudo ./flash.sh p2371-2180-devkit mmcblk0p1 >>

[U-Boot] [PATCH v2 00/13] Convert bootcount drivers to Kconfig

2018-02-15 Thread Alex Kiernan
This patch set converts bootcount drivers to Kconfig, it also merges CONFIG_BOOTCOUNT and CONFIG_BOOTCOUNT_LIMIT. Green Travis build: https://travis-ci.org/akiernan/u-boot/builds/341811354 This patch has been applied on top of u-boot/master: SHA1: 7d531e8a4f9265ade08bc1d35135ff381a15 This

Re: [U-Boot] [PATCH v2] Revert "spl: eMMC/SD: Provide one __weak spl_boot_mode() function"

2018-02-15 Thread Marek Vasut
On 02/15/2018 03:44 PM, Tom Rini wrote: > On Thu, Feb 15, 2018 at 03:33:29PM +0100, Lukasz Majewski wrote: >> Hi Fabio, >> >>> This reverts commit d695d6627803dbb78a226e04b0436a01633a9936. >>> >>> Commit d695d6627803 ("spl: eMMC/SD: Provide one __weak spl_boot_mode() >>> function") breaks the boot

Re: [U-Boot] [PATCH] RPi: Add myself as board maintainer

2018-02-15 Thread Stefano Babic
On 15/02/2018 15:50, Alexander Graf wrote: > Commit 958d55f26ce ("MAINTAINERS: Take over BCM2835 maintainership") put > me in as maintainer for the RPi soc, but forgot to update the board > MAINTIANERS file. ^^^ MAINTAINERS Stefano > > Add me there too. > > Signed-off-by: Alexander

Re: [U-Boot] [PATCH v2] Revert "spl: eMMC/SD: Provide one __weak spl_boot_mode() function"

2018-02-15 Thread Lukasz Majewski
Hi Tom, > On Thu, Feb 15, 2018 at 03:33:29PM +0100, Lukasz Majewski wrote: > > Hi Fabio, > > > > > This reverts commit d695d6627803dbb78a226e04b0436a01633a9936. > > > > > > Commit d695d6627803 ("spl: eMMC/SD: Provide one __weak > > > spl_boot_mode() function") breaks the boot on several i.MX6

[U-Boot] [PATCH v2 08/13] Integrate AT91 bootcount driver

2018-02-15 Thread Alex Kiernan
Integrate Boot counter for Atmel AT91SAM9XE into Kconfig Reviewed-by: Lukasz Majewski Signed-off-by: Alex Kiernan --- Changes in v2: None README | 4 drivers/bootcount/Kconfig | 5 + drivers/bootcount/Makefile | 2 +- 3

[U-Boot] [PATCH v2 12/13] Migrate CONFIG_BOOTCOUNT_ALEN to Kconfig

2018-02-15 Thread Alex Kiernan
Signed-off-by: Alex Kiernan --- Changes in v2: None drivers/bootcount/Kconfig| 9 - include/configs/ids8313.h| 1 - scripts/config_whitelist.txt | 1 - 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/bootcount/Kconfig

Re: [U-Boot] [PATCH v2] Revert "spl: eMMC/SD: Provide one __weak spl_boot_mode() function"

2018-02-15 Thread Stefano Babic
Hi Heiko, On 15/02/2018 13:14, Fabio Estevam wrote: > This reverts commit d695d6627803dbb78a226e04b0436a01633a9936. > > Commit d695d6627803 ("spl: eMMC/SD: Provide one __weak spl_boot_mode() > function") breaks the boot on several i.MX6 boards, > such as cuboxi and wandboard: > > U-Boot SPL

Re: [U-Boot] How to test new bootloaders on Jetson TX1?

2018-02-15 Thread Mikko Perttunen
On 15.02.2018 15:25, Andreas Färber wrote: Hi Mikko, Am 15.02.2018 um 08:56 schrieb Mikko Perttunen: In the cboot + U-Boot combination, cboot loads U-Boot from the usual kernel partition (LNX or kernel depending on system), so flashing U-Boot there should do the trick. I believe this did

Re: [U-Boot] [PATCH v8 4/4] common: Generic firmware loader for file system

2018-02-15 Thread Marek Vasut
On 02/05/2018 08:06 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > This is file system generic loader which can be used to load > the file image from the storage into target such as memory. > The consumer driver would then use this loader to program

Re: [U-Boot] [PATCH] RPi: Add myself as board maintainer

2018-02-15 Thread Tom Rini
On Thu, Feb 15, 2018 at 03:50:54PM +0100, Alexander Graf wrote: > Commit 958d55f26ce ("MAINTAINERS: Take over BCM2835 maintainership") put > me in as maintainer for the RPi soc, but forgot to update the board > MAINTAINERS file. > > Add me there too. > > Signed-off-by: Alexander Graf

[U-Boot] [PATCH v2 13/13] Remove CONFIG_SYS_BOOTCOUNT_SINGLEWORD

2018-02-15 Thread Alex Kiernan
Tidy up CONFIG_SYS_BOOTCOUNT_SINGLEWORD from the whitelist as there's no remaining uses of it left. Signed-off-by: Alex Kiernan --- Changes in v2: None scripts/config_whitelist.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/config_whitelist.txt

[U-Boot] [PATCH v2 10/13] Remove SYS_BOOTCOUNT_ADDR from Kconfig

2018-02-15 Thread Alex Kiernan
The only user of SYS_BOOTCOUNT_ADDR is mx53ppd; remove it from Kconfig in preparation for renaming SYS_BOOTCOUNT_ADDR. Signed-off-by: Alex Kiernan --- Changes in v2: None drivers/bootcount/Kconfig | 7 --- include/configs/mx53ppd.h | 2 ++ 2 files changed, 2

[U-Boot] [PATCH v2 04/13] Convert CONFIG_BOOTCOUNT_ENV to Kconfig

2018-02-15 Thread Alex Kiernan
This converts the following to Kconfig: CONFIG_BOOTCOUNT_ENV Signed-off-by: Alex Kiernan Reviewed-by: Lukasz Majewski --- Changes in v2: None README | 11 --- configs/draco_defconfig| 1 +

[U-Boot] [PATCH v2 08/13] board: freescale: ls1012ardb: enable network support on ls1012ardb

2018-02-15 Thread Calvin Johnson
This patch enables ethernet support for ls1012ardb. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: -split from original patch "board: freescale: ls1012a: enable network support on ls1012a platforms" ---

[U-Boot] [PATCH v2 13/13] configs: ls1012a: add pfe configuration for LS1012A

2018-02-15 Thread Calvin Johnson
Add configurations for PFE. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: -Moved SYS_LS_PFE_FW_ADDR from pfe Kconfig to board Kconfigs -Add "pfe stop" to ls1012a rdb, frdm and 2g5rdb config files ---

[U-Boot] [PATCH v2 07/13] board: freescale: ls1012afrdm: enable network support on ls1012afrdm

2018-02-15 Thread Calvin Johnson
This patch enables ethernet support for ls1012afrdm. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: -split from original patch "board: freescale: ls1012a: enable network support on ls1012a platforms" ---

[U-Boot] [PATCH v2 12/13] armv8: layerscape: csu: enable ns access to PFE registers

2018-02-15 Thread Calvin Johnson
Enable all types of non-secure access to PFE block registers. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: -Improved commit message to provide more description ---

Re: [U-Boot] [PATCH v2] Revert "spl: eMMC/SD: Provide one __weak spl_boot_mode() function"

2018-02-15 Thread Lukasz Majewski
Hi Fabio, > This reverts commit d695d6627803dbb78a226e04b0436a01633a9936. > > Commit d695d6627803 ("spl: eMMC/SD: Provide one __weak spl_boot_mode() > function") breaks the boot on several i.MX6 boards, > such as cuboxi and wandboard: > > U-Boot SPL 2018.03-rc1-00212-g48914fc119 (Feb 10 2018 -

Re: [U-Boot] [PATCH v2] Revert "spl: eMMC/SD: Provide one __weak spl_boot_mode() function"

2018-02-15 Thread Lukasz Majewski
Hi Stefano, > Hi Heiko, > > On 15/02/2018 13:14, Fabio Estevam wrote: > > This reverts commit d695d6627803dbb78a226e04b0436a01633a9936. > > > > Commit d695d6627803 ("spl: eMMC/SD: Provide one __weak > > spl_boot_mode() function") breaks the boot on several i.MX6 boards, > > such as cuboxi and

Re: [U-Boot] [PATCH] serial: Make full device search optional

2018-02-15 Thread Alexander Graf
On 13.02.18 01:00, Derald Woods wrote: > On Mon, Feb 5, 2018 at 7:13 AM, Derald Woods > wrote: > > On Mon, Feb 5, 2018 at 3:42 AM, Alexander Graf >wrote: > > > > On 05.02.18

Re: [U-Boot] [PATCH v8 2/4] cmd: ubifs: Move ubifs_initialized checking into cmd_ubifs_umount()

2018-02-15 Thread Marek Vasut
On 02/05/2018 08:06 AM, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > cmd_ubifs_umount() function would be called directly instead of involving > whole command machinery in generic firmware loader, so checking on > ubifs_initialized status need to be done

Re: [U-Boot] [PATCH] RPi: Add myself as board maintainer

2018-02-15 Thread Alexander Graf
On 15.02.18 15:58, Stefano Babic wrote: > On 15/02/2018 15:50, Alexander Graf wrote: >> Commit 958d55f26ce ("MAINTAINERS: Take over BCM2835 maintainership") put >> me in as maintainer for the RPi soc, but forgot to update the board >> MAINTIANERS file. >^^^ > MAINTAINERS Magic

Re: [U-Boot] How to test new bootloaders on Jetson TX1?

2018-02-15 Thread Andreas Färber
Hi Mikko, Am 15.02.2018 um 08:56 schrieb Mikko Perttunen: > In the cboot + U-Boot combination, cboot loads U-Boot from the usual > kernel partition (LNX or kernel depending on system), so flashing U-Boot > there should do the trick. I believe this did indeed change in some L4T > version, so the

Re: [U-Boot] [PATCH v3 1/2] i.MX6: nand: add nandbcb update command

2018-02-15 Thread Jagan Teki
On Fri, Feb 9, 2018 at 12:56 AM, Fabio Estevam wrote: > Hi Stefan, > > On Wed, Feb 7, 2018 at 3:02 PM, wrote: > >> Thanks for working on that! We carry a similar command since a while >> downstream and I hoped since quite a while to get some time to upstream

[U-Boot] [PATCH v2 01/13] Merge CONFIG_BOOTCOUNT and CONFIG_BOOTCOUNT_LIMIT

2018-02-15 Thread Alex Kiernan
CONFIG_BOOTCOUNT was only used in mx53ppd, merge it with CONFIG_BOOTCOUNT_LIMIT CONFIG_BOOTCOUNT was only used in mx53ppd, merge it with CONFIG_BOOTCOUNT_LIMIT Signed-off-by: Alex Kiernan Reviewed-by: Lukasz Majewski Reviewed-by: Ian Ray

[U-Boot] [PATCH v2 02/13] Prepare for multiple bootcount drivers

2018-02-15 Thread Alex Kiernan
Reviewed-by: Lukasz Majewski Signed-off-by: Alex Kiernan --- Changes in v2: None drivers/bootcount/Kconfig | 25 +++-- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/drivers/bootcount/Kconfig

[U-Boot] [PATCH v2 03/13] Convert CONFIG_BOOTCOUNT_AM33XX to Kconfig

2018-02-15 Thread Alex Kiernan
This converts the following to Kconfig: CONFIG_BOOTCOUNT_AM33XX Reviewed-by: Lukasz Majewski Reviewed-by: Hannes Schmelzer Acked-by: Hannes Schmelzer Signed-off-by: Alex Kiernan

Re: [U-Boot] [PATCH 8/8] Migrate generic bootcount to Kconfig

2018-02-15 Thread Alex Kiernan
On Wed, Feb 14, 2018 at 7:13 PM, Lukasz Majewski wrote: > Hi Alex, > >> On Wed, Feb 14, 2018 at 8:53 AM, Lukasz Majewski >> wrote: >> >> >> Whatever we do, I think CONFIG_SYS_BOOTCOUNT_ADDR wants >> >> >> splitting into at least two: >> >> >> >> >> >> - I2C - an

[U-Boot] [PATCH v2 11/13] armv8: fsl-lsch2: configure pfe's DDR and HDBUS interfaces and ECC

2018-02-15 Thread Calvin Johnson
1. Set AWCACHE0 attribute of PFE DDR and HDBUS master interfaces to bufferable. 2. Set RD/WR QoS for PFE DDR and HDBUS AXI master interfaces. 3. Disable ECC detection for PFE. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi ---

[U-Boot] [PATCH v2 10/13] armv8: fsl-lsch2: add pfe macros and update ccsr_scfg structure

2018-02-15 Thread Calvin Johnson
SoC specific PFE macros are defined and structure ccsr_scfg is updated with members defined for PFE. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: None --- .../include/asm/arch-fsl-layerscape/immap_lsch2.h

[U-Boot] [PATCH v2 09/13] board: freescale: ls1012a2g5rdb: enable network support on ls1012a2g5rdb

2018-02-15 Thread Calvin Johnson
This patch enables ethernet support for ls1012a2g5rdb. Signed-off-by: Calvin Johnson Signed-off-by: Bhaskar Upadhaya --- Changes in v2: -New patch added to series to enable ethernet support for ls1012a2g5rdb ---

Re: [U-Boot] How to test new bootloaders on Jetson TX1?

2018-02-15 Thread Tom Warren
-Original Message- From: Jonathan Hunter Sent: Thursday, February 15, 2018 8:39 AM To: Andreas Färber Cc: linux-te...@vger.kernel.org; U-Boot ; Alexander Graf ; Mian Yousaf Kaukab ; Tom Warren

[U-Boot] [PATCH v2 01/13] drivers: net: phy: Fix aquantia compilation with DM

2018-02-15 Thread Calvin Johnson
With CONFIG_DM_ETH enabled, aquantia driver compilation fails with below error. This patch fixes the issue by including dm.h. drivers/net/phy/aquantia.c: In function ‘aquantia_startup’: drivers/net/phy/aquantia.c:73:21: error: dereferencing pointer to incomplete type ‘struct udevice’

[U-Boot] [PATCH v2 04/13] drivers: net: pfe_eth: provide pfe commands

2018-02-15 Thread Calvin Johnson
pfe_command provides command line support for several features that support pfe, like starting or stopping the pfe, checking the health of the processor engines and checking status of different units inside pfe. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu

Re: [U-Boot] [PATCH] efi_stub: Fix GDT_NOTSYS check

2018-02-15 Thread Alexander Graf
On 12.02.18 07:26, Bin Meng wrote: > Hi Alexander, > > On Tue, Dec 5, 2017 at 7:20 AM, Bin Meng wrote: >> On Mon, Dec 4, 2017 at 11:33 PM, Alexander Graf wrote: >>> The get_codeseg32() wants to know if a passed in descriptor has >>> flag GDT_NOTSYS set (desc

Re: [U-Boot] [PATCH] RPi: Add myself as board maintainer

2018-02-15 Thread Tom Rini
On Thu, Feb 15, 2018 at 04:01:21PM +0100, Alexander Graf wrote: > > > On 15.02.18 15:58, Stefano Babic wrote: > > On 15/02/2018 15:50, Alexander Graf wrote: > >> Commit 958d55f26ce ("MAINTAINERS: Take over BCM2835 maintainership") put > >> me in as maintainer for the RPi soc, but forgot to

Re: [U-Boot] [U-Boot, 1/2] Convert CONFIG_BOOTCOUNT_LIMIT to Kconfig

2018-02-15 Thread Tom Rini
On Fri, Feb 09, 2018 at 11:50:57PM +0100, Lukasz Majewski wrote: > This converts the following to Kconfig: >CONFIG_BOOTCOUNT_LIMIT > > Signed-off-by: Lukasz Majewski > Tested-by: Alex Kiernan > Reviewed-by: Hannes Schmelzer

Re: [U-Boot] How to test new bootloaders on Jetson TX1?

2018-02-15 Thread Andreas Färber
Hi Jon, Am 15.02.2018 um 15:01 schrieb Jon Hunter: > On 15/02/18 12:32, Andreas Färber wrote: >> Am 15.02.2018 um 10:22 schrieb Jon Hunter: >>> On 15/02/18 01:51, Andreas Färber wrote: I would like to test the latest version of U-Boot on the Jetson TX1. >> [...] Here's what I have

Re: [U-Boot] How to test new bootloaders on Jetson TX1?

2018-02-15 Thread Jon Hunter
On 15/02/18 15:12, Andreas Färber wrote: > Hi Jon, > > Am 15.02.2018 um 15:01 schrieb Jon Hunter: >> On 15/02/18 12:32, Andreas Färber wrote: >>> Am 15.02.2018 um 10:22 schrieb Jon Hunter: On 15/02/18 01:51, Andreas Färber wrote: > I would like to test the latest version of U-Boot on

[U-Boot] [PATCH v2 06/13] board: freescale: ls1012aqds: enable network support on ls1012aqds

2018-02-15 Thread Calvin Johnson
This patch enables ethernet support for ls1012aqds. Signed-off-by: Calvin Johnson Signed-off-by: Anjaneyulu Jagarlmudi --- Changes in v2: -split from original patch "board: freescale: ls1012a: enable network support on ls1012a platforms" ---

Re: [U-Boot] [PATCH v2] Revert "spl: eMMC/SD: Provide one __weak spl_boot_mode() function"

2018-02-15 Thread Tom Rini
On Thu, Feb 15, 2018 at 03:33:29PM +0100, Lukasz Majewski wrote: > Hi Fabio, > > > This reverts commit d695d6627803dbb78a226e04b0436a01633a9936. > > > > Commit d695d6627803 ("spl: eMMC/SD: Provide one __weak spl_boot_mode() > > function") breaks the boot on several i.MX6 boards, > > such as

Re: [U-Boot] [PATCH v2] Revert "spl: eMMC/SD: Provide one __weak spl_boot_mode() function"

2018-02-15 Thread Fabio Estevam
Hi Lukasz, On Thu, Feb 15, 2018 at 12:33 PM, Lukasz Majewski wrote: > 2. If you agree - I can prepare the code to put imx code there they > were before this patch (to override the __weak function). > In that way we would got the cleanup for other archs in. As we are in rc2 I

[U-Boot] [PATCH] RPi: Add myself as board maintainer

2018-02-15 Thread Alexander Graf
Commit 958d55f26ce ("MAINTAINERS: Take over BCM2835 maintainership") put me in as maintainer for the RPi soc, but forgot to update the board MAINTIANERS file. Add me there too. Signed-off-by: Alexander Graf --- board/raspberrypi/rpi/MAINTAINERS | 4 ++-- 1 file changed, 2

[U-Boot] [PATCH v2 07/13] Convert CONFIG_BOOTCOUNT_EXT to Kconfig

2018-02-15 Thread Alex Kiernan
This converts the following to Kconfig: CONFIG_BOOTCOUNT_EXT Signed-off-by: Alex Kiernan --- Changes in v2: None README | 7 --- configs/ge_b450v3_defconfig | 2 ++ configs/ge_b650v3_defconfig | 2 ++ configs/ge_b850v3_defconfig | 2 ++

  1   2   >