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

2018-05-10 Thread Heiko Schocher
Hello Marek, Am 01.05.2018 um 09:03 schrieb 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 ---

Re: [U-Boot] [PATCH 2/2] gadget: f_thor: update to support more than 4GB file as thor 5.0

2018-05-10 Thread Lukasz Majewski
Hi Seung-Woo, > During file download, it only uses 32bit variable for file size and > it limits maximum file size less than 4GB. Update to support more > than 4GB file with using two 32bit variables for file size as thor > protocol 5.0. I assume that it was also tested that this patch will not

[U-Boot] [PATCHv3 2/3] buildman: support newer gcc versions from kernel.org

2018-05-10 Thread Tom Rini
From: Daniel Schwierzeck Add support for gcc versions 7.3.0, 6.4.0 and 4.9.4. Also use a regex for matching the tarball names. Some gcc versions use '-ARCH-' instead of '_ARCH-'. As part of this, we switch TravisCI to also using these toolchains for all platforms.

[U-Boot] [PATCHv3 3/3] .travis.yml: Further optimizations

2018-05-10 Thread Tom Rini
- Xilinx aarch64 is caught in the general xilinx arm job, exclude from the general aarch64 job. - Give the generic aarch64 job a better name - Re-sort the PowerPC jobs so that we can complete them a bit quicker. Signed-off-by: Tom Rini --- Changes in v3: - Collapse a few

[U-Boot] [PATCHv3 1/3] at91: Minor tweaks to SPL logic for space savings on smartweb

2018-05-10 Thread Tom Rini
- spl_board_init is empty on smartweb so drop that function - When CONFIG_AT91SAM9_WATCHDOG is set we do not disable the watchdog in SPL and instead let full U-Boot handle it. Instead of an empty function just do not call a function. Signed-off-by: Tom Rini --- With

Re: [U-Boot] [PATCH v2 1/2] fs: ext4: fix crash on ext4ls

2018-05-10 Thread Tom Rini
On Wed, May 09, 2018 at 04:28:37PM +0300, Eugen Hristev wrote: > Found a crash while issuing ext4ls with a non-existent directory. > Crash test: > > => ext4ls mmc 0 1 > ** Can not find directory. ** > data abort > pc : [<3fd7c2ec>] lr : [<3fd93ed8>] > reloc pc : [<26f142ec>]lr :

[U-Boot] [PATCH 1/1] doc: expand README.commands

2018-05-10 Thread Heinrich Schuchardt
Describe U_BOOT_CMD_COMPLETE. Describe the arguments of U_BOOT_CMD and U_BOOT_CMD_COMPLETE. Describe the arguments of the command function. Describe the arguments of the completion function. Signed-off-by: Heinrich Schuchardt --- doc/README.commands | 81

Re: [U-Boot] Pull request: u-boot-sunxi/master

2018-05-10 Thread Tom Rini
On Wed, May 09, 2018 at 04:33:12PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks, > Jagan. > > The following changes since commit b25f8e2112b1582ce6386e846800a31bab688e50: > > Merge git://git.denx.de/u-boot-imx (2018-04-30 07:14:05 -0400) > > are available in the

Re: [U-Boot] [PATCH v2 2/2] test: fs: fs-test: Modified test 1 to do a ls to a nonexistent dir

2018-05-10 Thread Tom Rini
On Wed, May 09, 2018 at 04:28:38PM +0300, Eugen Hristev wrote: > Added a simple ls to a nonexistent directory for test 1. > In case the driver is broken for a nonexistent directory, U-boot > might crash. > > Here is an example failed output: > > => # Test Case 1 - ls > => ext4ls host 0:0 >

Re: [U-Boot] [PATCH v1 08/16] arm: socfpga: stratix10: Add mailbox support for Stratix10 SoC

2018-05-10 Thread Ley Foon Tan
On Tue, May 8, 2018 at 5:21 PM, Marek Vasut wrote: > On 05/08/2018 08:49 AM, Ley Foon Tan wrote: >> On Thu, Apr 19, 2018 at 10:53 AM, Marek Vasut wrote: >>> On 04/19/2018 11:50 AM, Ley Foon Tan wrote: Add mailbox support for Stratix SoC Signed-off-by:

Re: [U-Boot] [PATCH v4] zynqmp: Add generic target

2018-05-10 Thread Michal Simek
Hi, On 25.4.2018 09:43, Alexander Graf wrote: > I would like to create a generic U-Boot build that adapts itself completely > based on the DT passed in. That way we can potentially support running > random board configurations with a single U-Boot binary built as part of > the distribution. > >

Re: [U-Boot] [PATCH v1 14/16] ddr: altera: stratix10: Add DDR support for Stratix10 SoC

2018-05-10 Thread Marek Vasut
On 05/10/2018 09:47 AM, Ley Foon Tan wrote: > On Thu, Apr 19, 2018 at 11:02 AM, Marek Vasut wrote: >> On 04/19/2018 11:50 AM, Ley Foon Tan wrote: >>> Add DDR support for Stratix SoC >> >> OT: How very different is the DDR controller on Stratix 10 and Arria 10? > The IP blocks are

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

2018-05-10 Thread Marek Vasut
On 05/10/2018 09:23 AM, Heiko Schocher wrote: > Hello Marek, Hi, > Am 01.05.2018 um 09:03 schrieb Marek Vasut: >> Enable the DM capable driver instead of the legacy one. >> >> Signed-off-by: Marek Vasut >> Cc: Nobuhiro Iwamatsu >> --- >>  

Re: [U-Boot] [PATCH v1 08/16] arm: socfpga: stratix10: Add mailbox support for Stratix10 SoC

2018-05-10 Thread Marek Vasut
On 05/10/2018 10:45 AM, Ley Foon Tan wrote: > On Tue, May 8, 2018 at 5:21 PM, Marek Vasut wrote: >> On 05/08/2018 08:49 AM, Ley Foon Tan wrote: >>> On Thu, Apr 19, 2018 at 10:53 AM, Marek Vasut wrote: On 04/19/2018 11:50 AM, Ley Foon Tan wrote: > Add

[U-Boot] [PATCH v2 1/1] doc: expand README.commands

2018-05-10 Thread Heinrich Schuchardt
Describe U_BOOT_CMD_COMPLETE. Describe the arguments of U_BOOT_CMD and U_BOOT_CMD_COMPLETE. Describe the arguments of the command function. Describe the arguments of the completion function. Signed-off-by: Heinrich Schuchardt --- v2 The last value in cmdv must be

Re: [U-Boot] [PATCH v3 3/3] spi: mxs_spi: DM conversion

2018-05-10 Thread Marek Vasut
On 05/10/2018 04:17 PM, Akash Gajjar wrote: > This patch adds support for DM driver model to the mxs spi driver. Some TODOs > are left over for later. These would be enhancements to the original > functionality, and can come later. The legacy functionality is removed in > this version. > >

Re: [U-Boot] GCC 7.x vs. C++ comments

2018-05-10 Thread Måns Rullgård
Tom Rini writes: > - Shorter Please explain how // SPDX is significantly shorter than /* SPDX */ Having // comments next to /* ones is just hideously ugly. If some scanning tool is too stupid to handle standard C comments, it's the tool that needs to be fixed. --

Re: [U-Boot] [PATCH 1/1] board: arm: Add support for Broadcom BCM7445D0

2018-05-10 Thread Thomas Fitzsimmons
Florian Fainelli writes: > On 05/06/2018 04:09 AM, Thomas Fitzsimmons wrote: >> Add support for loading U-Boot on the Broadcom 7445D0 SoC. This port >> assumes Broadcom's BOLT bootloader is acting as the second stage >> bootloader, and U-Boot is acting as the third stage

Re: [U-Boot] [PATCHv2 2/3] buildman: support newer gcc versions from kernel.org

2018-05-10 Thread Tom Rini
On Wed, May 09, 2018 at 06:35:13PM -0400, Tom Rini wrote: > On Wed, May 09, 2018 at 07:16:34AM -0400, Tom Rini wrote: > > On Wed, May 09, 2018 at 12:27:38PM +0200, Daniel Schwierzeck wrote: > > > > > > > > > On 08.05.2018 02:50, Tom Rini wrote: > > > > From: Daniel Schwierzeck

[U-Boot] Request for known good GCC toolchain for U-boot/ARM11

2018-05-10 Thread Magnus Lilja
Hi all, I'm trying to make sure that recent U-boot versions still boot on the i.MX31PDK board and have problems locating/building a toolchain based on GCC > v6 that produces working images. The i.MX31PDK uses a ARM1136 core. My old toolchain, which is a Code Sourcery toolchain for ARM

[U-Boot] [PATCH v3] arm64: zynqmp: Setup MMU map for DDR at run time

2018-05-10 Thread Michal Simek
From: Nitin Jain This patch fills the MMU map for DDR at run time based on information read from Device Tree or automatically detected from static configuration. The patch is needed because for systems which has for example 1GB of memory but MMU map is 2GB there could be

Re: [U-Boot] [PATCH v1] ubifs: avoid assert failed in ubifs.c

2018-05-10 Thread Heiko Schocher
Hello Patrice, Am 27.04.2018 um 15:51 schrieb Patrice Chotard: This patch solves assert failed displayed in the console during a boot. The root cause is that the ubifs_inode is not already allocated when ubifs_printdir and ubifs_finddir functions are called. Trace showing the issue: feed

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

2018-05-10 Thread Heiko Schocher
Hello Marek, Am 01.05.2018 um 09:03 schrieb 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

Re: [U-Boot] [PATCH v2] arm: zynq: Add initial support for Avnet MiniZed

2018-05-10 Thread Michal Simek
On 9.5.2018 17:56, Ibai Erkiaga wrote: > Initial support for Avnet MiniZed board. Tested UART1 (serial console), > QSPI(Flash), SDHCI1 (eMMC), USB. > > Signed-off-by: Ibai Erkiaga > --- > Changes for v2: > -board model changed to use Avent prefix >

Re: [U-Boot] [PATCH v3 0/8] riscv: Enable efi_loader support

2018-05-10 Thread Alexander Graf
Am 10.05.2018 um 05:27 schrieb Rick Chen : >>> >>> Then I think if I don't want enter this auto flow, what can I do ? >>> >>> 1 Remove CONFIG_DISTRO_DEFAULTS=y from nx25-ae250_defconfig But it >>> still enter auto flow. >>> >>> 2 Add #ifdef CONFIG_DISTRO_DEFAULTS to

Re: [U-Boot] [PATCH v2] efi_loader: fix off-by-one bug in efi_get_variable

2018-05-10 Thread Heinrich Schuchardt
On 05/10/2018 04:25 AM, Ivan Gorinov wrote: > efi_get_variable() always stores an extra zero byte after the output data. > When the returned data size matches the output buffer size, the extra zero > byte is stored past the end of the output buffer. > > Signed-off-by: Ivan Gorinov

Re: [U-Boot] [PATCH v3 0/8] riscv: Enable efi_loader support

2018-05-10 Thread Rick Chen
2018-05-10 15:00 GMT+08:00 Rick Chen : > 2018-05-10 14:03 GMT+08:00 Alexander Graf : >> >> >> Am 10.05.2018 um 05:27 schrieb Rick Chen : >> > > Then I think if I don't want enter this auto flow, what can I do ? > > 1 Remove

[U-Boot] [PATCH v2] timer: Add Cadence TTC timer counter support

2018-05-10 Thread Michal Simek
This driver was tested on Xilinx ZynqMP SoC. Signed-off-by: Michal Simek --- Changes in v2: - Remove tabs from U_BOOT_DRIVER MAINTAINERS | 1 + drivers/timer/Kconfig | 7 +++ drivers/timer/Makefile | 1 + drivers/timer/cadence-ttc.c | 91

Re: [U-Boot] [PATCH v3 0/8] riscv: Enable efi_loader support

2018-05-10 Thread Rick Chen
2018-05-10 14:03 GMT+08:00 Alexander Graf : > > > Am 10.05.2018 um 05:27 schrieb Rick Chen : > Then I think if I don't want enter this auto flow, what can I do ? 1 Remove CONFIG_DISTRO_DEFAULTS=y from nx25-ae250_defconfig But it still

[U-Boot] Pull request: u-boot-ubi/master

2018-05-10 Thread Heiko Schocher
Hello Tom, please pull from u-boot-ubi.git master The following changes since commit cc95535867f407534b0e59f8b5017f0f729833a9: bootm.c: Correct the flush_len used in bootm_load_os() (2018-05-08 18:50:24 -0400) are available in the Git repository at: git://git.denx.de/u-boot-ubi.git

Re: [U-Boot] [PATCH v1 14/16] ddr: altera: stratix10: Add DDR support for Stratix10 SoC

2018-05-10 Thread Ley Foon Tan
On Thu, Apr 19, 2018 at 11:02 AM, Marek Vasut wrote: > On 04/19/2018 11:50 AM, Ley Foon Tan wrote: >> Add DDR support for Stratix SoC > > OT: How very different is the DDR controller on Stratix 10 and Arria 10? The IP blocks are different, so can't combine both of them. > >>

[U-Boot] [PATCH v2 1/1] arm: print instructions pointed to by pc

2018-05-10 Thread Heinrich Schuchardt
If an exception occurs in a loaded image and the relocation offset is unknown, it is helful to know the instructions pointed to by the program counter. This patch adds the missing output. A possible output is: *pc: fb de f7 e7 1e ff 2f e1 01 00 50 e3 f0 4d 2d e9 01 80 a0 e1 The output can be

[U-Boot] [PATCH v3 1/3] spi: sh_qspi: DM conversion

2018-05-10 Thread Akash Gajjar
This patch adds support for DM to the sh_qspi SPI driver. The legacy functionality is removed in this version, so old boards in the tree is not working with legacy SPI driver functionality. Some TODOs are left over for later, These would be enhancements to the original functionality, and can come

[U-Boot] [PATCH v3 3/3] spi: mxs_spi: DM conversion

2018-05-10 Thread Akash Gajjar
This patch adds support for DM driver model to the mxs spi driver. Some TODOs are left over for later. These would be enhancements to the original functionality, and can come later. The legacy functionality is removed in this version. Signed-off-by: Akash Gajjar --- changes

[U-Boot] [PATCH v3 2/3] spi: sh_spi: DM conversion

2018-05-10 Thread Akash Gajjar
This patch adds support for DM to the sh_spi driver. legacy driver support is removed. Some TODOs are left over for later, These would be enhancements to the original functionality, and can come later. The legacy functionality is removed in this version. Signed-off-by: Akash Gajjar

Re: [U-Boot] Pull request: u-boot-ubi/master

2018-05-10 Thread Tom Rini
On Thu, May 10, 2018 at 09:13:11AM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-ubi.git master > > The following changes since commit cc95535867f407534b0e59f8b5017f0f729833a9: > > bootm.c: Correct the flush_len used in bootm_load_os() (2018-05-08 18:50:24 > -0400) >

Re: [U-Boot] [PATCH 1/1] board: arm: Add support for Broadcom BCM7445D0

2018-05-10 Thread Florian Fainelli
On 05/10/2018 06:04 AM, Thomas Fitzsimmons wrote: > Florian Fainelli writes: > >> On 05/06/2018 04:09 AM, Thomas Fitzsimmons wrote: >>> Add support for loading U-Boot on the Broadcom 7445D0 SoC. This port >>> assumes Broadcom's BOLT bootloader is acting as the second stage

Re: [U-Boot] Bug#897671: u-boot does not work on sheevaplug

2018-05-10 Thread Vagrant Cascadian
On 2018-05-09, Markus Krebs wrote: > Am 09.05.2018 um 14:33 schrieb klaus.go...@theobroma-systems.com: >>> On 09.05.2018, at 10:19, Markus Krebs wrote: >>> Am 08.05.2018 um 22:54 schrieb Vagrant Cascadian: On 2018-05-08, Vagrant Cascadian wrote: > On 2018-05-05, Tom

Re: [U-Boot] [PATCH] video: sunxi: de2: Reserve the fb region in the EFI memory map

2018-05-10 Thread Heinrich Schuchardt
On 05/04/2018 10:26 AM, Emmanuel Vadot wrote: > If compile with support for the efi loader we need to mark the pages > allocated for the framebuffer as reserved so the kernel won't attempt > to use them for other uses. > > Signed-off-by: Emmanuel Vadot > --- >

Re: [U-Boot] [PATCH] ext4fs: Add ext4 extent tree cache

2018-05-10 Thread Tom Rini
On Mon, Mar 26, 2018 at 04:05:24PM -0700, evan.g.thomp...@gmail.com wrote: > From: Evan Thompson > > In ext4, the file inode can store up to 4 extents. If a file requires > more (due to size or fragmentation), an extent index tree is used. > > Currently, u-boot

Re: [U-Boot] [PATCH v3 0/9] Fixup set_bit/clear_bit definition and usage

2018-05-10 Thread Tom Rini
On Mon, Apr 30, 2018 at 03:56:01PM +0100, Bryan O'Donoghue wrote: > v3: > - Use linux/bitops.h instead of asm/bitops.h > - checkpatch.pl > > - Updated commit logs to make intended usage of __set_bit() and __clear_bit() > clearer with respect to generic_set_bit() - Bin Meng > > - Added Patch

Re: [U-Boot] [PATCH v1] ubifs: avoid assert failed in ubifs.c

2018-05-10 Thread Marek Vasut
On 04/27/2018 03:51 PM, Patrice Chotard wrote: > This patch solves assert failed displayed in the console during a boot. > The root cause is that the ubifs_inode is not already allocated when > ubifs_printdir and ubifs_finddir functions are called. > > Trace showing the issue: > feed

Re: [U-Boot] Tegra U-Boot Patches

2018-05-10 Thread Marcel Ziswiler
Hi Tom On Thu, 2018-05-10 at 23:08 +, Tom Warren wrote: > Hi, Marcel. I had it on my TODO list to send you an email asking for > a list of pending patches today! Sorry for the delay - things have > heated up here and I don’t get to give my upstream tasks as much > attention as I'd like. No

Re: [U-Boot] Tegra U-Boot Patches

2018-05-10 Thread Tom Warren
>Tom, do you have time for Tegra stuff still? Thanks! Yeah, I do. It just got pushed to the back of the line the last few weeks, but that surge should be over and I can get back to my usual round-robin scheduling of my task list. Thanks, Tom -Original Message- From: Tom Rini

[U-Boot] Tegra U-Boot Patches

2018-05-10 Thread Marcel Ziswiler
Hi Tom I have 3 patch sets [1, 2, 3] more or less long since (e.g. the longest almost one full year now) awaiting inclusion. Could you please consider pulling those in during current merge window? Good news two more patches [4, 5] long since got applied and may be removed (resp. status changes)

Re: [U-Boot] Tegra U-Boot Patches

2018-05-10 Thread Tom Rini
On Fri, May 11, 2018 at 12:40:45AM +0200, Marcel Ziswiler wrote: > Hi Tom > > I have 3 patch sets [1, 2, 3] more or less long since (e.g. the longest > almost one full year now) awaiting inclusion. Could you please consider > pulling those in during current merge window? > > Good news two more

Re: [U-Boot] Tegra U-Boot Patches

2018-05-10 Thread Tom Warren
Hi, Marcel. I had it on my TODO list to send you an email asking for a list of pending patches today! Sorry for the delay - things have heated up here and I don’t get to give my upstream tasks as much attention as I'd like. I'll pull them down first thing tomorrow and get a PR up for TomR to

[U-Boot] [PATCH v2] board: sun50i: Add Amarula A64 Relic initial support

2018-05-10 Thread Jagan Teki
Amarula A64 Relic is A64 based IoT device, which support - Allwinner A64 Cortex-A53 - Mali-400MP2 GPU - AXP803 PMIC - 1GB DDR3 RAM - 8GB eMMC - AP6330 Wifi/BLE - MIPI-DSI - CSI: OV5640 sensor - USB OTG - 12V DC power supply Signed-off-by: Jagan Teki --- Changes for

[U-Boot] [PULL] u-boot-socfpga/master

2018-05-10 Thread Marek Vasut
The following changes since commit 6417572efa9107674ec106ae7e388178a92155fc: lib/Kconfig: Mark OF_LIBFDT_OVERLAY as depending on OF_LIBFDT (2018-05-08 09:07:41 -0400) are available in the Git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to

Re: [U-Boot] [PATCH v1 14/16] ddr: altera: stratix10: Add DDR support for Stratix10 SoC

2018-05-10 Thread Ley Foon Tan
On Thu, May 10, 2018 at 6:12 PM, Marek Vasut wrote: > On 05/10/2018 09:47 AM, Ley Foon Tan wrote: >> On Thu, Apr 19, 2018 at 11:02 AM, Marek Vasut wrote: >>> On 04/19/2018 11:50 AM, Ley Foon Tan wrote: Add DDR support for Stratix SoC >>> >>> OT: How very

[U-Boot] Please pull u-boot-fsl-qoriq master

2018-05-10 Thread York Sun
Tom, The following changes since commit a43d46a73cb2c40481791cb292b8eb0b5a80d55e: arm: v7R: Add support for enabling caches (2018-05-07 15:53:29 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to

Re: [U-Boot] [PATCH v1 08/16] arm: socfpga: stratix10: Add mailbox support for Stratix10 SoC

2018-05-10 Thread Ley Foon Tan
On Thu, May 10, 2018 at 6:09 PM, Marek Vasut wrote: > On 05/10/2018 10:45 AM, Ley Foon Tan wrote: >> On Tue, May 8, 2018 at 5:21 PM, Marek Vasut wrote: >>> On 05/08/2018 08:49 AM, Ley Foon Tan wrote: On Thu, Apr 19, 2018 at 10:53 AM, Marek Vasut

[U-Boot] mtd: spi-nor: new NXP FlexSPI driver location & framework to use ?

2018-05-10 Thread Prabhakar Kushwaha
Dear Jagan, NXP is coming up with new FlexSPI controller. It is similar to existing QSPI with enhanced feature-set. We have the driver ready as per existing framework i.e. driver/spi. From recend discussion, we go to know about framework change. Migration of qspi drivers in

Re: [U-Boot] [PATCH 2/2] gadget: f_thor: update to support more than 4GB file as thor 5.0

2018-05-10 Thread Seung-Woo Kim
Hello Lukasz, On 2018년 05월 10일 19:58, Lukasz Majewski wrote: > Hi Seung-Woo, > >> During file download, it only uses 32bit variable for file size and >> it limits maximum file size less than 4GB. Update to support more >> than 4GB file with using two 32bit variables for file size as thor >>

Re: [U-Boot] Bug#897671: u-boot does not work on sheevaplug

2018-05-10 Thread Markus Krebs
Am 10.05.2018 um 20:10 schrieb Vagrant Cascadian: On 2018-05-09, Markus Krebs wrote: Am 09.05.2018 um 14:33 schrieb klaus.go...@theobroma-systems.com: On 09.05.2018, at 10:19, Markus Krebs wrote: Am 08.05.2018 um 22:54 schrieb Vagrant Cascadian: On 2018-05-08, Vagrant