Re: [U-Boot] [PATCH 2/3] cmd: fpga: Add support to load secure bitstreams

2018-05-30 Thread Michal Simek
On 29.5.2018 16:22, Siva Durga Prasad Paladugu wrote: > This patch adds support to load secure bitstreams(authenticated or > encrypted or both). As of now, this feature is added and tested only > for xilinx bitstreams and the secure bitstream was generated using > xilinx bootgen tool, but the

Re: [U-Boot] inappropriate PCI configuration on arm64 qemu?

2018-05-30 Thread AKASHI Takahiro
Simon, On Wed, May 30, 2018 at 01:18:30PM -0600, Simon Glass wrote: > +Tuomas > > Hi Akashi, > > On 28 May 2018 at 01:59, AKASHI Takahiro wrote: > > When I tried to add a SD card to qemu's virt machine (2.10.0) as, > > -- > > -device sdhci-pci \ > > -device

[U-Boot] [PATCH v2 1/2] Add BOOTCOUNT_BOOTLIMIT to set reboot limit

2018-05-30 Thread Alex Kiernan
Add ability to set environment bootlimit from Kconfig Signed-off-by: Alex Kiernan --- Changes in v2: None drivers/bootcount/Kconfig | 8 include/env_default.h | 3 +++ 2 files changed, 11 insertions(+) diff --git a/drivers/bootcount/Kconfig b/drivers/bootcount/Kconfig index

[U-Boot] [PATCH v2 2/2] Migrate bootlimit to Kconfig

2018-05-30 Thread Alex Kiernan
Migrate boards which set bootlimit in the environment to Kconfig. We exclude gurnard_defconfig which includes a bootlimit=, but doesn't set CONFIG_BOOTCOUNT_LIMIT, so we'd fail to include a bootlimit setting if we migrated it. display5_defconfig and display5_factory_defconfig share a

[U-Boot] [PATCH v2 0/2] Add bootlimit to Kconfig

2018-05-30 Thread Alex Kiernan
This patch series adds the bootlimit environment variable to Kconfig and migrates users to it. Changes in v2: - include display5 in the migration to Kconfig Alex Kiernan (2): Add BOOTCOUNT_BOOTLIMIT to set reboot limit Migrate bootlimit to Kconfig configs/brppt1_mmc_defconfig |

[U-Boot] [PATCH v3 2/2] buildman: Add support for environment delta in summary

2018-05-30 Thread Alex Kiernan
When summarising the builds, add the -U option to emit delta lines for the default environment built into U-Boot at each commit. Signed-off-by: Alex Kiernan Reviewed-by: Simon Glass --- Changes in v3: None Changes in v2: - update buildman README to cover -U option tools/buildman/README |

[U-Boot] [PATCH v3 1/2] buildman: Extract environment as part of each build

2018-05-30 Thread Alex Kiernan
As we're building the boards, extract the default U-Boot environment to uboot.env so we can interrogate it later. Signed-off-by: Alex Kiernan Reviewed-by: Simon Glass --- Changes in v3: - update tests for our usage of objcopy Changes in v2: - capture stderr/stdout so when the build fails we

Re: [U-Boot] [PATCH v2 1/2] buildman: Extract environment as part of each build

2018-05-30 Thread Alex Kiernan
On Wed, May 30, 2018 at 8:18 PM Simon Glass wrote: > > On 30 May 2018 at 04:07, Alex Kiernan wrote: > > On Tue, May 29, 2018 at 5:24 PM Alex Kiernan wrote: > > > >> As we're building the boards, extract the default U-Boot environment to > >> uboot.env so we can interrogate it later. > > > >>

Re: [U-Boot] [PATCH 1/3] cmd: fpga: Reorder the arguments parsing code

2018-05-30 Thread Siva Durga Prasad Paladugu
Hi, > -Original Message- > From: Michal Simek [mailto:michal.si...@xilinx.com] > Sent: Wednesday, May 30, 2018 8:37 PM > To: Siva Durga Prasad Paladugu ; u- > b...@lists.denx.de > Cc: michal.si...@xilinx.com > Subject: Re: [PATCH 1/3] cmd: fpga: Reorder the arguments parsing code > > On

[U-Boot] [PATCH v3 0/2] sunxi: fix eMMC stability issues on A64

2018-05-30 Thread Vasily Khoruzhick
eMMC seems to require new clocking mode and calibration on A64, otherwise it is pretty unstable on some boards (e.g. Pinebook) with some eMMCs. v2: - improve comment about calibration for eMMC on A64 - simplify ifdef-s around configuring delays v3: - fix fallout due to ifdef simplification in

[U-Boot] [PATCH v3 1/2] sunxi-mmc: use new mode on A64

2018-05-30 Thread Vasily Khoruzhick
That is necessary for using automatic calibration on A64 eMMC. Signed-off-by: Vasily khoruzhick --- arch/arm/mach-sunxi/Kconfig | 1 + drivers/mmc/sunxi_mmc.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig

[U-Boot] [PATCH v3 2/2] mmc: sunxi: run calibration on A64

2018-05-30 Thread Vasily Khoruzhick
Along with using new mode it fixes eMMC instability on Pinebook Signed-off-by: Vasily Khoruzhick --- arch/arm/include/asm/arch-sunxi/mmc.h | 6 +- drivers/mmc/sunxi_mmc.c | 11 +++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH v2 1/2] sunxi-mmc: use new mode on A64

2018-05-30 Thread Vasily Khoruzhick
On Tue, May 29, 2018 at 8:20 AM, Vasily Khoruzhick wrote: > On Mon, May 28, 2018 at 10:04 PM, Jagan Teki wrote: >> On Mon, May 28, 2018 at 11:13 PM, Vasily Khoruzhick >> wrote: >>> You need both patches in order for it to work. >>> >>> I tested these patches on Pinebook and Pine64 LTS, both

Re: [U-Boot] [U-Boot, v3, 1/3] mmc: dwmmc: socfpga: Add reset ctrl to driver

2018-05-30 Thread Ley Foon Tan
On Fri, May 25, 2018 at 7:16 PM, Tom Rini wrote: > On Fri, May 25, 2018 at 10:45:53AM +0800, Ley Foon Tan wrote: >> On Thu, May 24, 2018 at 8:39 PM, Tom Rini wrote: >> > On Tue, May 08, 2018 at 11:19:24AM +0800, Ley Foon Tan wrote: >> > >> >> Add code to reset all reset signals as in mmc DT

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

2018-05-30 Thread Tom Rini
On Wed, May 30, 2018 at 11:38:37PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks, > Jagan. > > The following changes since commit 31dd8efeb661c8db9175a09cf2bab090906a: > > usb: composite convert __set_bit to generic_set_bit (2018-05-15 21:44:05 > -0400) > >

Re: [U-Boot] Uboot send pull request

2018-05-30 Thread Tom Rini
On Wed, May 30, 2018 at 04:33:14PM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull the following patch from u-boot-riscv into your tree. > Thanks! > > The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7: > > add FIT data-position & data-offset property

[U-Boot] [PATCH] x86: Add 64-bit setjmp/longjmp implementation

2018-05-30 Thread Ivan Gorinov
Add setjmp/longjmp functions for x86_64, based on existing 32-bit implementation. Signed-off-by: Ivan Gorinov --- arch/x86/cpu/x86_64/setjmp.S | 56 +++ arch/x86/cpu/x86_64/setjmp.c | 19 --- arch/x86/include/asm/setjmp.h | 17 +

[U-Boot] [PATCH v2] x86: use EFI calling convention for efi_main on x86_64

2018-05-30 Thread Ivan Gorinov
Save efi_main() arguments in the startup code on x86_64; use EFI calling convention for _relocate() on x86_64; remove unused _relocate() arguments; consistently use EFI calling convention for efi_main() everywhere. Signed-off-by: Ivan Gorinov --- arch/x86/lib/crt0_x86_64_efi.S | 21

Re: [U-Boot] [PATCH 1/2] watchdog: driver support for layerscape

2018-05-30 Thread York Sun
On 05/23/2018 12:52 AM, Xiaoliang Yang wrote: > Support watchdog driver for layerscape. If you want to use it, > please define CONFIG_IMX_WATCHDOG, CONFIG_HW_WATCHDOG, > define CONFIG_WATCHDOG_TIMEOUT_MSECS to set watchdog timeout. > > Signed-off-by: Xiaoliang Yang > --- >

[U-Boot] [PATCH] fit signature: Add fallback of required keys

2018-05-30 Thread Sam Voss
Validation of fit image configuration signatures does not seem to do a "fall-back" mechanism as mentioned in doc/uImage.FIT/signature.txt. The current constraints seem to only allow the following: - skipping keys not marked "required" (not attempting to validate with them at all) - checking a

[U-Boot] [PATCH v4 4/6] iotrace: move record definitons to header file

2018-05-30 Thread Ramon Fried
The header definitions are needed for reading record information in cmd/iotrace.c Signed-off-by: Ramon Fried Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1: None common/iotrace.c | 27 --- include/iotrace.h | 28

[U-Boot] [PATCH v4 5/6] cmd: iotrace: add dump trace command

2018-05-30 Thread Ramon Fried
Add dump trace command which dump all trace buffer content in a much more readable fashion than md. Signed-off-by: Ramon Fried Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1: None cmd/iotrace.c | 36 +++-

[U-Boot] [PATCH v4 6/6] iotrace: fix behaviour when buffer is full

2018-05-30 Thread Ramon Fried
Don't continue updating the offset when buffer is full. When the buffer size exhausts and there's no space left to write warn the user and update only the needed size and not both the offset and needed size. Add needed buffer size information in the iotrace command. Signed-off-by: Ramon Fried

[U-Boot] [PATCH v4 2/6] iotrace: add IO region limit

2018-05-30 Thread Ramon Fried
When dealing with a lot of IO regions, sometimes it makes sense only to trace a specific one. This patch adds support for region limits. If region is not set, the iotrace works the same as it was. If region is set, the iotrace only logs io operation that falls in the defined region.

[U-Boot] [PATCH v4 3/6] common: iotrace: add timestamp to iotrace records

2018-05-30 Thread Ramon Fried
Add timestamp to each iotrace record to aid in debugging of IO timing access bugs. Signed-off-by: Ramon Fried Reviewed-by: Simon Glass --- Changes in v4: None Changes in v3: None Changes in v2: None Changes in v1: - Change timestamp function to get_ticks() common/iotrace.c | 4 +++- 1 file

[U-Boot] [PATCH v4 0/6] Iotrace improvements

2018-05-30 Thread Ramon Fried
These set of patches add few improvements to iotrace. * Region limiting - allows setting an address and size where only io operations that falls into that address are logged. * Timestamping - Timestamp every iotrace

[U-Boot] [PATCH v4 1/6] cmd: iotrace: add set region command

2018-05-30 Thread Ramon Fried
Signed-off-by: Ramon Fried Reviewed-by: Simon Glass --- Changes in v4: - Resend complete patchset with patman Changes in v3: None Changes in v2: None Changes in v1: None cmd/iotrace.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/cmd/iotrace.c b/cmd/iotrace.c

Re: [U-Boot] [PATCH v2 1/2] drivers; add DM_NO_OF Kconfig option

2018-05-30 Thread Angelo Dureghello
Hi Tom and Simon, thanks for the support. On Mon, May 28, 2018 at 08:59:21PM -0400, Tom Rini wrote: > On Sun, May 27, 2018 at 07:45:12PM -0600, Simon Glass wrote: > > +Tom > > > > Hi Angelo, > > > > On 27 May 2018 at 01:22, Angelo Dureghello wrote: > > > Hi Simon, > > > > > > On Sat, May 26,

Re: [U-Boot] [PATCH v3 0/6] Iotrace improvements

2018-05-30 Thread Ramon Fried
Ok, I'll check it out. Thanks! On Wed, May 30, 2018, 10:18 PM Simon Glass wrote: > Hi Ramon, > > On 28 May 2018 at 05:03, Ramon Fried wrote: > > These set of patches add few improvements to iotrace. > > * Region limiting - allows setting an address and size where only > >

Re: [U-Boot] inappropriate PCI configuration on arm64 qemu?

2018-05-30 Thread Simon Glass
+Tuomas Hi Akashi, On 28 May 2018 at 01:59, AKASHI Takahiro wrote: > When I tried to add a SD card to qemu's virt machine (2.10.0) as, > -- > -device sdhci-pci \ > -device sd-card,drive=my_sd \ > -drive if=none,id=my_sd,format=raw,file=/path/my/sd.img >

Re: [U-Boot] [PATCH] malloc: Use malloc simple before malloc is fully initialized in memalign()

2018-05-30 Thread Simon Glass
Hi Masahiro, On 28 May 2018 at 23:16, Masahiro Yamada wrote: > 2018-05-26 11:06 GMT+09:00 Simon Glass : >> +Masahiro >> >> On 25 May 2018 at 02:50, Ley Foon Tan wrote: >>> >>> On Fri, May 25, 2018 at 11:33 AM, Simon Glass wrote: >>> > Hi, >>> > >>> > On 24 May 2018 at 21:24, Ley Foon Tan

Re: [U-Boot] [PATCH 35/41] dm: core: device: enable power domain in probe

2018-05-30 Thread Simon Glass
On 28 May 2018 at 06:25, Peng Fan wrote: > Enable power domain associated with the device when probe. > > Signed-off-by: Peng Fan > Cc: Simon Glass > --- > drivers/core/device.c | 7 +++ > 1 file changed, 7 insertions(+) > How is this feature tested at present? Can you add something to

Re: [U-Boot] [PATCH 34/41] power-domain: add dummy functions when CONFIG_POWER_DOMAIN not defined

2018-05-30 Thread Simon Glass
On 28 May 2018 at 06:25, Peng Fan wrote: > Add dummy functions when CONFIG_POWER_DOMAIN not defined. > > Signed-off-by: Peng Fan > Cc: Simon Glass > --- > include/power-domain.h | 37 + > 1 file changed, 37 insertions(+) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH 36/41] drivers: regulator: fixed: add off-on-delay-us

2018-05-30 Thread Simon Glass
On 28 May 2018 at 06:25, Peng Fan wrote: > Add off-on-delay-us for fixed regulator. > > Signed-off-by: Peng Fan > Cc: Simon Glass > --- > drivers/power/regulator/fixed.c | 6 ++ > 1 file changed, 6 insertions(+) Reviewed-by: Simon Glass Can you also please add the DT binding file for

Re: [U-Boot] [PATCH 33/41] power: Add PD device lookup interface to power domain uclass

2018-05-30 Thread Simon Glass
Hi Peng, On 28 May 2018 at 06:25, Peng Fan wrote: > Add power_domain_lookup_name interface to power domain uclass to find > a power domain device by its DTB node name, not using its associated > client device. > > Through this interface, we can operate the power domain devices directly. > This

Re: [U-Boot] [PATCH] regmap: Separate memory-based operations

2018-05-30 Thread Simon Glass
Hi Alexey, On 29 May 2018 at 13:16, Alexey Brodkin wrote: > Hi Simon, > > On Fri, 2018-05-25 at 20:07 -0600, Simon Glass wrote: >> Hi Alexey, >> >> On 25 May 2018 at 03:45, Alexey Brodkin wrote: >> > Hi Simon, >> > >> > On Thu, 2018-05-24 at 20:42 -0600, Simon Glass wrote: >> > > Hi Alexey, > >

Re: [U-Boot] [PATCH v2 1/2] buildman: Extract environment as part of each build

2018-05-30 Thread Simon Glass
On 30 May 2018 at 04:07, Alex Kiernan wrote: > On Tue, May 29, 2018 at 5:24 PM Alex Kiernan wrote: > >> As we're building the boards, extract the default U-Boot environment to >> uboot.env so we can interrogate it later. > >> Signed-off-by: Alex Kiernan >> --- > >> Changes in v2: >> - capture

Re: [U-Boot] [PATCH 38/41] log: include command header file

2018-05-30 Thread Simon Glass
On 28 May 2018 at 06:25, Peng Fan wrote: > cmd_tbl_t is defined in command.h, so include it in log.h > > Signed-off-by: Peng Fan > Cc: Simon Glass > --- > include/log.h | 1 + > 1 file changed, 1 insertion(+) > Reviewed-by: Simon Glass Better I think to get rid of the cmd_tbl_t typedef and

Re: [U-Boot] [PATCH v3 0/6] Iotrace improvements

2018-05-30 Thread Simon Glass
Hi Ramon, On 28 May 2018 at 05:03, Ramon Fried wrote: > These set of patches add few improvements to iotrace. > * Region limiting - allows setting an address and size where only > io operations that falls into that > address are >

Re: [U-Boot] [PATCH v3 1/3] misc: docs: Fix comments in misc.h

2018-05-30 Thread Simon Glass
Hi Mario, On 28 May 2018 at 07:01, Mario Six wrote: > Hi Simon, > > On Fri, May 25, 2018 at 4:41 AM, Simon Glass wrote: >> +Marex >> >> Hi Mario, >> >> On 23 May 2018 at 08:07, Mario Six wrote: >>> The comments in misc.h are not in kernel-doc format. Correct the format. >>> >>> Signed-off-by:

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

2018-05-30 Thread Jagan Teki
Hi Tom, Please pull this PR. thanks, Jagan. The following changes since commit 31dd8efeb661c8db9175a09cf2bab090906a: usb: composite convert __set_bit to generic_set_bit (2018-05-15 21:44:05 -0400) are available in the Git repository at: git://git.denx.de/u-boot-spi.git master for

Re: [U-Boot] [PATCH] x86: enable cpu-specific functions for x86_64 target

2018-05-30 Thread Ivan Gorinov
On Sat, May 26, 2018 at 06:53:40PM -0600, Simon Glass wrote: > Hi Ivan, > > On 25 May 2018 at 16:00, Ivan Gorinov wrote: > > Add __weak prefix to the following functions to allow override: > > misc_init_r(), checkcpu(), print_cpuinfo(). > > > > Signed-off-by: Ivan Gorinov > > --- > >

[U-Boot] Fw: Changing the App to fix a driver problem?

2018-05-30 Thread Duncan Hare
Subject: Re: [U-Boot] [PATCH 2/2] net: ping,arp: Fix cache alignment     issues Message-ID: <099414db-a264-a3ac-8aae-fb8aa0d96...@denx.de> Content-Type: text/plain; charset=utf-8; format=flowed On 28.05.2018 08:33, Baruch Siach wrote: > From: Jon Nettleton > > Both ping_receive and

[U-Boot] [PATCH v1 5/5] board: toradex: add Colibri iMX6ULL support

2018-05-30 Thread Stefan Agner
From: Stefan Agner Add support for the Colibri iMX6ULL module which comes with on-board raw NAND. Signed-off-by: Stefan Agner --- arch/arm/dts/imx6ull-colibri.dts | 550 ++ arch/arm/mach-imx/mx6/Kconfig | 8 +

[U-Boot] [PATCH v1 1/5] mtd: nand: mxs_nand: add device tree support for i.MX 6

2018-05-30 Thread Stefan Agner
From: Stefan Agner Support i.MX 6 NAND GPMI driver data from device tree. Signed-off-by: Stefan Agner --- drivers/mtd/nand/mxs_nand_dt.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/mtd/nand/mxs_nand_dt.c b/drivers/mtd/nand/mxs_nand_dt.c index c7355371ac..f2663d1023

[U-Boot] [PATCH v1 4/5] board: toradex: add new and upcoming SKUs

2018-05-30 Thread Stefan Agner
From: Stefan Agner Signed-off-by: Stefan Agner --- board/toradex/common/tdx-cfg-block.c | 7 +++ board/toradex/common/tdx-cfg-block.h | 7 +++ 2 files changed, 14 insertions(+) diff --git a/board/toradex/common/tdx-cfg-block.c b/board/toradex/common/tdx-cfg-block.c index

[U-Boot] [PATCH v1 2/5] imx: add macro to detect whether USB has been initialized

2018-05-30 Thread Stefan Agner
From: Stefan Agner This macro allows to detect whether the boot ROM initialized USB already (serial downloader). This is helpful to reliably detect if the system has been recovered via USB serial downloader. Signed-off-by: Stefan Agner Acked-by: Marcel Ziswiler ---

[U-Boot] [PATCH v1 0/5] board: toradex: add Colibri iMX6ULL support

2018-05-30 Thread Stefan Agner
From: Stefan Agner This patchset adds Toradex Colibri iMX6ULL support. It makes use of the device tree support for the MXS NAND driver and hence depends on: https://patchwork.ozlabs.org/cover/897263/ https://patchwork.ozlabs.org/cover/901995/ -- Stefan Stefan Agner (5): mtd: nand: mxs_nand:

[U-Boot] [PATCH v1 3/5] ARM: dts: imx6ull: use same compatible string as Linux is using

2018-05-30 Thread Stefan Agner
From: Stefan Agner The GPMI NAND IP seems to be the same as used in i.MX 6Quad. Use the fsl,imx6q-gpmi-nand compatible string like Linux devices trees are. Signed-off-by: Stefan Agner --- arch/arm/dts/imx6ull.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH] Makefile: build u-boot before running its generator

2018-05-30 Thread Mian Yousaf Kaukab
On 05/30/2018 03:14 PM, Mian Yousaf Kaukab wrote: SPL_FIT_GENERATOR may need to access u-boot binaries for generating u-boot.its file. For example arch/arm/mach-rockchip/make_fit_atf.py requires u-boot elf. Add u-boot-nodtb.bin as dependency for U_BOOT_ITS so that u-boot binaries are available

[U-Boot] [PATCH] arm: sunxi: Add support for Pengpod 1000 tablet

2018-05-30 Thread Bob Ham
This is initial support for the Pengpod 1000 tablet. The display is not currently working but the UART works fine and allows access to the u-boot console. Memory timing is fine and Linux boots from SD card and runs OK. Signed-off-by: Bob Ham --- arch/arm/dts/Makefile | 1 +

[U-Boot] [PATCH v2] ARC: Improve relocation fix-ups

2018-05-30 Thread Alexey Brodkin
We used to have the one and only linker script for all ARC boards and so we relied on a particular order of symbols there. Because of that we used __ivt_end as the marker of the end of all the code which won't be true any longer if we move .ivt section to any other place. That said we'd better

[U-Boot] [PATCH] ARC: Use elf32-bigarc in case of -EB

2018-05-30 Thread Alexey Brodkin
As it is stated in LD manual [1] the second entry in OUTPUT_FORMAT corresponds to "-EB" command-line option which for us is "elf32-bigarc". [1] https://sourceware.org/binutils/docs/ld/Format-Commands.html#Format-Commands Signed-off-by: Alexey Brodkin --- arch/arc/cpu/u-boot.lds | 2 +- 1 file

Re: [U-Boot] [PATCH 1/3] cmd: fpga: Reorder the arguments parsing code

2018-05-30 Thread Michal Simek
On 29.5.2018 16:22, Siva Durga Prasad Paladugu wrote: > This patch modifies the arguments parsing code by parsing > based on requested operation for fpga loadfs and then > parses the most common/basic args for other fpga load > commands. This makes it easy for new command extensions > or additions

Re: [U-Boot] [PATCH v3 5/5] mtd: nand: mxs_nand: add minimal ECC support

2018-05-30 Thread Stefan Agner
Hi Stefano, On 30.04.2018 10:08, Stefan Agner wrote: > On 27.04.2018 09:31, Stefano Babic wrote: >> Hi Stefan, >> >> On 11/04/2018 18:04, Stefan Agner wrote: >>> From: Stefan Agner >>> >>> Add support for minimum ECC strength supported by the NAND chip. >>> This aligns with the behavior when

[U-Boot] [PATCH] Makefile: build u-boot before running its generator

2018-05-30 Thread Mian Yousaf Kaukab
SPL_FIT_GENERATOR may need to access u-boot binaries for generating u-boot.its file. For example arch/arm/mach-rockchip/make_fit_atf.py requires u-boot elf. Add u-boot-nodtb.bin as dependency for U_BOOT_ITS so that u-boot binaries are available when SPL_FIT_GENERATOR is run with parallel make.

Re: [U-Boot] [PATCH] sf: ensure flash device is in 3-byte address mode

2018-05-30 Thread Simon Goldschmidt
On 30.05.2018 13:27, Marek Vasut wrote: On 05/30/2018 01:25 PM, Jagan Teki wrote: On Wed, May 30, 2018 at 1:42 PM, Simon Goldschmidt wrote: On 30.05.2018 07:10, Jagan Teki wrote: On Tue, May 22, 2018 at 9:59 AM, Simon Goldschmidt wrote: Hi Jagan, On 21.05.2018 17:09, Jagan Teki

Re: [U-Boot] [PATCH] sf: ensure flash device is in 3-byte address mode

2018-05-30 Thread Simon Goldschmidt
On 30.05.2018 13:25, Jagan Teki wrote: On Wed, May 30, 2018 at 1:42 PM, Simon Goldschmidt wrote: On 30.05.2018 07:10, Jagan Teki wrote: On Tue, May 22, 2018 at 9:59 AM, Simon Goldschmidt wrote: Hi Jagan, On 21.05.2018 17:09, Jagan Teki wrote: Hi Simon, On Fri, May 18, 2018 at

Re: [U-Boot] [PATCH] sf: ensure flash device is in 3-byte address mode

2018-05-30 Thread Marek Vasut
On 05/30/2018 01:25 PM, Jagan Teki wrote: > On Wed, May 30, 2018 at 1:42 PM, Simon Goldschmidt > wrote: >> >> >> On 30.05.2018 07:10, Jagan Teki wrote: >>> >>> On Tue, May 22, 2018 at 9:59 AM, Simon Goldschmidt >>> wrote: Hi Jagan, On 21.05.2018 17:09, Jagan Teki

Re: [U-Boot] [PATCH] sf: ensure flash device is in 3-byte address mode

2018-05-30 Thread Jagan Teki
On Wed, May 30, 2018 at 1:42 PM, Simon Goldschmidt wrote: > > > On 30.05.2018 07:10, Jagan Teki wrote: >> >> On Tue, May 22, 2018 at 9:59 AM, Simon Goldschmidt >> wrote: >>> >>> >>> Hi Jagan, >>> >>> >>> On 21.05.2018 17:09, Jagan Teki wrote: Hi Simon, On Fri, May 18,

Re: [U-Boot] [PATCH] sf: ensure flash device is in 3-byte address mode

2018-05-30 Thread Marek Vasut
On 05/30/2018 01:18 PM, Simon Goldschmidt wrote: > > > On 30.05.2018 11:56, Marek Vasut wrote: >> On 05/30/2018 07:10 AM, Jagan Teki wrote: >>> On Tue, May 22, 2018 at 9:59 AM, Simon Goldschmidt >>> wrote: Hi Jagan, On 21.05.2018 17:09, Jagan Teki wrote: > > Hi

Re: [U-Boot] [PATCH] sf: ensure flash device is in 3-byte address mode

2018-05-30 Thread Simon Goldschmidt
On 30.05.2018 11:56, Marek Vasut wrote: On 05/30/2018 07:10 AM, Jagan Teki wrote: On Tue, May 22, 2018 at 9:59 AM, Simon Goldschmidt wrote: Hi Jagan, On 21.05.2018 17:09, Jagan Teki wrote: Hi Simon, On Fri, May 18, 2018 at 12:48 PM, Simon Goldschmidt wrote: On 14.05.2018 09:47,

Re: [U-Boot] [PATCH] sf: ensure flash device is in 3-byte address mode

2018-05-30 Thread Marek Vasut
On 05/30/2018 07:10 AM, Jagan Teki wrote: > On Tue, May 22, 2018 at 9:59 AM, Simon Goldschmidt > wrote: >> >> Hi Jagan, >> >> >> On 21.05.2018 17:09, Jagan Teki wrote: >>> >>> Hi Simon, >>> >>> On Fri, May 18, 2018 at 12:48 PM, Simon Goldschmidt >>> wrote: On 14.05.2018 09:47,

Re: [U-Boot] [GIT] Pull request: u-boot-dfu (30.05.2018)

2018-05-30 Thread Marek Vasut
On 05/30/2018 09:47 AM, Lukasz Majewski wrote: > Dear Marek, > > Please find a PR for DFU. > > The following changes since commit > c3c863880479edeb5b08226e622d13c91326e4a7: > > add FIT data-position & data-offset property support (2018-05-26 > 18:19:19 -0400) > > are available in the git

Re: [U-Boot] [PATCH] net: mvgbe: extract common code for SMI wait

2018-05-30 Thread Stefan Roese
On 30.05.2018 12:49, Chris Packham wrote: Combine repeated code from smi_reg_read/smi_reg_write into a common function smi_wait_ready. Signed-off-by: Chris Packham Looks good, thanks. Reviewed-by: Stefan Roese Thanks, Stefan ___ U-Boot mailing

[U-Boot] [PATCH] net: mvgbe: extract common code for SMI wait

2018-05-30 Thread Chris Packham
Combine repeated code from smi_reg_read/smi_reg_write into a common function smi_wait_ready. Signed-off-by: Chris Packham --- drivers/net/mvgbe.c | 48 ++--- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/drivers/net/mvgbe.c

Re: [U-Boot] [PATCH v2 1/2] buildman: Extract environment as part of each build

2018-05-30 Thread Alex Kiernan
On Tue, May 29, 2018 at 5:24 PM Alex Kiernan wrote: > As we're building the boards, extract the default U-Boot environment to > uboot.env so we can interrogate it later. > Signed-off-by: Alex Kiernan > --- > Changes in v2: > - capture stderr/stdout so when the build fails we don't produce

[U-Boot] [PATCH] travis.yml: Support RISC-V 64-bit

2018-05-30 Thread Andes
p;& -tar -C /tmp -xf riscv32-unknown-elf-toolchain.tar.gz && -echo -e "\n[toolchain-prefix]\nriscv = /tmp/riscv32-unknown-elf/bin/riscv32-unknown-elf-" >> ~/.buildman; + wget https://github.com/andestech/prebuilt/releases/download/20180530/riscv

Re: [U-Boot] [PATCH v2 1/2] ARM: kirkwood: remove automatic I2C config if DM_I2C is enabled

2018-05-30 Thread Stefan Roese
On 30.05.2018 10:14, Chris Packham wrote: The mach/config.h file would helpfully define CONFIG_SYS_I2C and CONFIG_SYS_I2C_MVTWSI if CONFIG_CMD_I2C was defined by the board. This conflicts with the way DM_I2C works. As a transitional measure don't automatically define these if CONFIG_DM_I2C is

[U-Boot] Uboot send pull request

2018-05-30 Thread uboot
Hi Tom, Please pull the following patch from u-boot-riscv into your tree. Thanks! The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7: add FIT data-position & data-offset property support (2018-05-26 18:19:19 -0400) are available in the Git repository at:

[U-Boot] [PATCH v2 2/2] ARM: add SBx81LIFKW board

2018-05-30 Thread Chris Packham
This is a series of line cards for Allied Telesis's SBx8100 chassis switch. The CPU block is common to the SBx81GS24a, SBx81XS6, SBx81XS16 and SBx81GT40 cards collectively referred to as SBx81LIFKW in u-boot. Reviewed-by: Stefan Roese Signed-off-by: Chris Packham --- This is the board I've been

[U-Boot] [PATCH v2 1/2] ARM: kirkwood: remove automatic I2C config if DM_I2C is enabled

2018-05-30 Thread Chris Packham
The mach/config.h file would helpfully define CONFIG_SYS_I2C and CONFIG_SYS_I2C_MVTWSI if CONFIG_CMD_I2C was defined by the board. This conflicts with the way DM_I2C works. As a transitional measure don't automatically define these if CONFIG_DM_I2C is defined. It should be possible to remove this

Re: [U-Boot] [PATCH] sf: ensure flash device is in 3-byte address mode

2018-05-30 Thread Simon Goldschmidt
On 30.05.2018 07:10, Jagan Teki wrote: On Tue, May 22, 2018 at 9:59 AM, Simon Goldschmidt wrote: Hi Jagan, On 21.05.2018 17:09, Jagan Teki wrote: Hi Simon, On Fri, May 18, 2018 at 12:48 PM, Simon Goldschmidt wrote: On 14.05.2018 09:47, Simon Goldschmidt wrote: On 14.05.2018

[U-Boot] [GIT] Pull request: u-boot-dfu (30.05.2018)

2018-05-30 Thread Lukasz Majewski
Dear Marek, Please find a PR for DFU. The following changes since commit c3c863880479edeb5b08226e622d13c91326e4a7: add FIT data-position & data-offset property support (2018-05-26 18:19:19 -0400) are available in the git repository at: git://git.denx.de/u-boot-dfu.git for you to fetch

[U-Boot] [PATCH] arm64: zynqmp: Add TTC clocks

2018-05-30 Thread Michal Simek
From: Rajan Vaja PS clock(LPD_APB_CLK) is default clock for TTC. Add this clock entry in TTC nodes. Signed-off-by: Rajan Vaja Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-clk-ccf.dtsi | 16 1 file changed, 16 insertions(+) diff --git

[U-Boot] [PATCH] arm64: zynqmp: Disable WP on zcu111

2018-05-30 Thread Michal Simek
On this board there is SD slot without WP connected. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu111-revA.dts | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/zynqmp-zcu111-revA.dts b/arch/arm/dts/zynqmp-zcu111-revA.dts index 4002d7880610..aa9055b7152a 100644 ---

Re: [U-Boot] [RFC PATCH 2/2] arm: kirkwood: lsxl: Add SPI driver model support

2018-05-30 Thread Stefan Roese
On 29.05.2018 23:13, Michael Walle wrote: This patch shows how to enable driver model support for the LS-CHLv2 and LS-XHL boards. There are a couple of open questions: - do I need the u-boot,dm-pre-reloc tags in the device tree? This property is only needed for SPL build targets - which

Re: [U-Boot] [PATCH 1/2] enable CONFIG_DISTRO_DEFAULTS for LS-CHLv2 board

2018-05-30 Thread Stefan Roese
On 29.05.2018 23:13, Michael Walle wrote: Synchronize it with the LS-XHL board. Signed-off-by: Michael Walle Please use a more descriptive patch subject next time, like: arm: kirkwood: enable CONFIG_DISTRO_DEFAULTS for LS-CHLv2 board Reviewed-by: Stefan Roese Thanks, Stefan

Re: [U-Boot] [PATCH 1/2] i2c: mvtwsi: disable i2c slave on Armada 38x

2018-05-30 Thread Stefan Roese
On 29.05.2018 19:55, Baruch Siach wrote: Hi Stefan, On Tue, May 29, 2018 at 08:11:55AM +0200, Stefan Roese wrote: On 29.05.2018 06:45, Baruch Siach wrote: Equivalent code that disables the hidden i2c0 slave already exists in the Turris Omnia platform specific code. But this hidden i2c0 slave