Re: [U-Boot] [PATCH v3] imx: add u-boot-nand.imx target

2019-07-24 Thread Oleksandr Suvorov
On Wed, Jul 24, 2019 at 5:15 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Add an additional target which prepends the u-boot.imx image with > 0x400 padding bytes. On Vybrid and i.MX 7, i.MX6ULL this is required > for NAND boot devices. The configuration CONFIG_IMX_NAND enables this > image f

Re: [U-Boot] [PATCH v2 2/3] ARM: dts: imx6ull-colibri: change hierarchy of DTS files

2019-07-24 Thread Oleksandr Suvorov
On Wed, Jul 24, 2019 at 6:11 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Introduce imx6ull-colibri-u-boot.dtsi for u-boot specific properties to > keep original imx6ull-colibri.dts in sync with Linux. > > Move all contents of imx6ull-colibri.dts to imx6ull-colibri.dtsi + > additionally fix

Re: [U-Boot] mkimage unable to assign sign value to fitimage

2019-07-24 Thread deepak kumar Pradhan
Hi, I saw another thread with same issue but unfortunately commented any solution on that too. [U-Boot] Unable to boot the new FIT image https://lists.denx.de/pipermail/u-boot/2014-May/180688.html Basically there are 2 issues that I am facing . 1. Compile u-boot 2018.3 with FIT_SIGNATURE and CONFIG

Re: [U-Boot] [PATCH v2 3/3] ARM: dts: imx6ull-colibri: pre-reloc for uart pinmux modes

2019-07-24 Thread Oleksandr Suvorov
On Wed, Jul 24, 2019 at 6:12 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Add u-boot,dm-pre-reloc properties for uart pinmux configuration > nodes, which enables UART as early as possible (before relocation). > > Without this we miss almost the half of output (U-boot version, > CPU defails,

Re: [U-Boot] [PATCH v2 1/3] pinctrl: nxp: DM_FLAG_PRE_RELOC by default

2019-07-24 Thread Oleksandr Suvorov
On Wed, Jul 24, 2019 at 6:10 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > For NXP SoCs we have to set pinmux configuration ASAP (ideally > before relocation) to get serial console working. Without this we miss > almost the half of output (U-boot version, CPU defails, Reset cause, > DRAM deta

[U-Boot] [PATCH v2 4/4] armv8: ls2088aqds : Add ds3232 node

2019-07-24 Thread Chuanhua Han
This patch adds the ds3232-rtc node under the i2c0->i2c-mux@77->i2c@0 for ls2088aqds boards. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v2:

[U-Boot] [PATCH v2 2/4] armv8: ls2088aqds: The ls2088aqds board supports the I2C driver model.

2019-07-24 Thread Chuanhua Han
This patch is updating ls2088aqds board init code to support DM_I2C. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v2: - Move the varia

[U-Boot] [PATCH v2 3/4] configs: ls2088aqds: Enable DM support for ds3231 rtc

2019-07-24 Thread Chuanhua Han
Enable related configs on all ls2088aqds boards to support ds3231 rtc DM function. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v2: -

[U-Boot] [PATCH v2 1/4] rtc: ds3232/ds3231: Add support to generate 32KHz output for driver module

2019-07-24 Thread Chuanhua Han
This patch add an implementation of the rtc_enable_32khz_output() that uses the driver model i2c APIs. Signed-off-by: Chuanhua Han --- depends on: - http://patchwork.ozlabs.org/project/uboot/list/?series=118772 - http://patchwork.ozlabs.org/project/uboot/list/?series=117226 Changes in v2

Re: [U-Boot] [PATCH v6 2/3] fit: Support compression for non-kernel components (e.g. FDT)

2019-07-24 Thread Simon Goldschmidt
Julius Werner schrieb am Do., 25. Juli 2019, 04:38: > This patch adds support for compressing non-kernel image nodes in a FIT > image (kernel nodes could already be compressed previously). This can > reduce the size of FIT images and therefore improve boot times > (especially when an image bundle

Re: [U-Boot] [PATCH v6 1/3] common: Move bootm_decomp_image() to image.c (as image_decomp())

2019-07-24 Thread Simon Goldschmidt
Julius Werner schrieb am Do., 25. Juli 2019, 04:38: > Upcoming patches want to add decompression to use cases that are no > longer directly related to booting. It makes sense to retain a single > decompression routine, but it should no longer be in bootm.c (which is > not compiled for all configu

Re: [U-Boot] [PATCH v2 05/12] armV7R: K3: am654: Allow using SPL BSS pre-relocation

2019-07-24 Thread Lokesh Vutla
Hi Tom, On 20/07/19 9:21 PM, Tom Rini wrote: > On Fri, Jul 19, 2019 at 07:29:37AM +0200, Simon Goldschmidt wrote: >> On Fri, Jul 19, 2019 at 2:29 AM Tom Rini wrote: >>> >>> On Tue, Jun 04, 2019 at 05:55:48PM -0500, Andreas Dannenberg wrote: >>> In order to be able to use more advanced driver

Re: [U-Boot] [PATCH v5 1/3] common: Move bootm_decomp_image() to image.c (as image_decomp())

2019-07-24 Thread Julius Werner
> OK, this now causes 'make tests' to fail on the FIT image tests, please > look. Thanks! Whoops, sorry, should have run that again. This was just a printf() without a newline at the end, apparently pytest really doesn't like that. (I took out the "OK" at the end of the "Loading kernel..." messag

[U-Boot] [PATCH v6 2/3] fit: Support compression for non-kernel components (e.g. FDT)

2019-07-24 Thread Julius Werner
This patch adds support for compressing non-kernel image nodes in a FIT image (kernel nodes could already be compressed previously). This can reduce the size of FIT images and therefore improve boot times (especially when an image bundles many different kernel FDTs). The images will automatically b

[U-Boot] [PATCH v6 3/3] fit: Support compat string property in configuration node

2019-07-24 Thread Julius Werner
This patch adds support for an optional optimization to compatible string matching where the compatible string property from the root node of the kernel FDT can be copied into the configuration node of the FIT image. This is most useful when using compressed FDTs or when using FDT overlays, where t

[U-Boot] [PATCH v6 0/3] fit: Image node compression

2019-07-24 Thread Julius Werner
This patch series adds compression support for non-kernel FIT image nodes (e.g. FDTs). The first patch is a preparatory refactoring, the second adds the compression support itself, and the third adds a new feature to compatible string matching that allows it to be useful with compressed FDTs. Sand

[U-Boot] [PATCH v6 1/3] common: Move bootm_decomp_image() to image.c (as image_decomp())

2019-07-24 Thread Julius Werner
Upcoming patches want to add decompression to use cases that are no longer directly related to booting. It makes sense to retain a single decompression routine, but it should no longer be in bootm.c (which is not compiled for all configurations). This patch moves bootm_decomp_image() to image.c and

Re: [U-Boot] [PATCH v4 1/2] arm: dts: Add devicetree support for iMXQXP AI_ML board

2019-07-24 Thread Peng Fan
> Subject: Re: [U-Boot] [PATCH v4 1/2] arm: dts: Add devicetree support for > iMXQXP AI_ML board > > On Fri, 19 Jul 2019 12:27:42 +0530 > Manivannan Sadhasivam wrote: > > > Add devicetree support for iMXQXP AI_ML board from Einfochips. > > > > Signed-off-by: Manivannan Sadhasivam > > --- > > a

Re: [U-Boot] [PATCH v11 1/4] net: macb: Extend MACB driver for SiFive Unleashed board

2019-07-24 Thread Joe Hershberger
On Tue, Jul 23, 2019 at 11:11 PM Anup Patel wrote: > > The SiFive MACB ethernet has a custom TX_CLK_SEL register to select > different TX clock for 1000mbps vs 10/100mbps. > > This patch adds SiFive MACB compatible string and extends the MACB > ethernet driver to change TX clock using TX_CLK_SEL r

Re: [U-Boot] [PATCH v11 2/4] net: macb: Fix check for little-endian system in gmac_configure_dma()

2019-07-24 Thread Joe Hershberger
On Tue, Jul 23, 2019 at 11:11 PM Anup Patel wrote: > > Instead of depending on CONFIG_SYS_LITTLE_ENDIAN, we check at runtime > whether underlying system is little-endian or big-endian. This way > we are not dependent on any U-Boot specific OR compiler specific macro > to check system endianness. >

Re: [U-Boot] [PATCHv3] ARM: zynq: Add configuration for Z-turn board

2019-07-24 Thread tossel
Hi Michal, > > Looks good. > > Applied. > M is there anything else preventing the merger or I just have to wait? Thanks, Anton ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

Re: [U-Boot] [PATCH v3 0/9] NXP LS1021A-TSN Board

2019-07-24 Thread Vladimir Oltean
On Wed, 24 Jul 2019 at 21:56, Joe Hershberger wrote: > > On Wed, Jul 24, 2019 at 10:38 AM Vladimir Oltean wrote: > > > > On Tue, 23 Jul 2019 at 10:38, Joe Hershberger > > wrote: > > > > > > On Tue, Jul 23, 2019 at 1:08 AM Vladimir Oltean wrote: > > > > > > > > Hi Joe, > > > > > > > > On Tue, 2

Re: [U-Boot] Please pull u-boot-dm (take 2)

2019-07-24 Thread Tom Rini
On Wed, Jul 24, 2019 at 10:09:29PM +0200, Simon Goldschmidt wrote: > Am 24.07.2019 um 22:03 schrieb Simon Glass: > >Hi Tom, > > > >On Wed, 24 Jul 2019 at 10:13, Tom Rini wrote: > >> > >>On Tue, Jul 23, 2019 at 08:36:58PM -0700, Simon Glass wrote: > >> > >>>Hi Tom, > >>> > >>>This includes the gitl

Re: [U-Boot] Please pull u-boot-dm (take 2)

2019-07-24 Thread Tom Rini
On Wed, Jul 24, 2019 at 01:03:20PM -0700, Simon Glass wrote: > Hi Tom, > > On Wed, 24 Jul 2019 at 10:13, Tom Rini wrote: > > > > On Tue, Jul 23, 2019 at 08:36:58PM -0700, Simon Glass wrote: > > > > > Hi Tom, > > > > > > This includes the gitlab fix and also I updated ifwitool.c to drop the > > >

Re: [U-Boot] Please pull u-boot-dm (take 2)

2019-07-24 Thread Simon Goldschmidt
Am 24.07.2019 um 22:03 schrieb Simon Glass: Hi Tom, On Wed, 24 Jul 2019 at 10:13, Tom Rini wrote: On Tue, Jul 23, 2019 at 08:36:58PM -0700, Simon Glass wrote: Hi Tom, This includes the gitlab fix and also I updated ifwitool.c to drop the unused inline functions. The following changes sin

Re: [U-Boot] [PATCH v3 1/4] treewide: Fix stale references of Android docs

2019-07-24 Thread Tom Rini
On Fri, Jul 19, 2019 at 11:26:11PM +0200, Eugeniu Rosca wrote: > Commit 9bdf0e8fef86 ("doc: relocate/rename Android README and add BCB > overview") left some obsolete references of Android documents/paths. > > This has been pointed out by Sam (thanks!) in: > https://patchwork.ozlabs.org/patch/110

Re: [U-Boot] [RESEND PATCH] distro_bootcmd: refactor virtio to support PCI block devices

2019-07-24 Thread Tom Rini
On Mon, Jul 22, 2019 at 11:38:11AM +0300, David Abdurachmanov wrote: > Starting libvirt v5.3.0 with QEMU 4.0.0 use of PCI is automatic > and thus storage is connected via PCI, which is not visible to > U-Boot out-of-the-box. > > Refactor to do "pci enum" followed by "virtio scan" to see PCI > con

Re: [U-Boot] [PATCH v2] spl: sata: support U-Boot load from raw sata disk

2019-07-24 Thread Tom Rini
On Sun, Jul 14, 2019 at 05:54:21PM +0300, Baruch Siach wrote: > Support load of the U-Boot image from raw SATA disk sector. This is > equivalent to load from MMC raw sector. > > Signed-off-by: Baruch Siach Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [PATCH v3 3/4] cmd: bcb: Use strcmp() instead of strncmp() for string literals

2019-07-24 Thread Tom Rini
On Fri, Jul 19, 2019 at 11:26:13PM +0200, Eugeniu Rosca wrote: > Quote from https://patchwork.ozlabs.org/patch/1104244/#2210814: > > --8<--- > strncmp() is chosen for the sake of paranoid/defensive programming. > Indeed, strncmp() is not really needed when comparing a variable >

Re: [U-Boot] [PATCH 2/2] doc: Add the U-Boot logo to the html doc

2019-07-24 Thread Tom Rini
On Tue, Jul 16, 2019 at 09:39:20AM -0700, Bin Meng wrote: > Now we have a logo for U-Boot, we can include it in the Sphinx > html doc. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [PATCH v3 4/4] cmd: bcb: Apply non-functional refinements

2019-07-24 Thread Tom Rini
On Fri, Jul 19, 2019 at 11:26:14PM +0200, Eugeniu Rosca wrote: > These have been reported by Simon in [1] and fixed in [2]. > However, since [1] has already been pushed to u-boot/master, the > improvements incorporated in [2] are now extracted and resubmitted. > > The changes are in the area of c

Re: [U-Boot] [PATCH] remoteproc: Fix potential build issues with SPL remoteproc

2019-07-24 Thread Tom Rini
On Fri, Jul 19, 2019 at 10:27:56AM -0500, Suman Anna wrote: > The rproc uclass driver can either be built with SPL_REMOTEPROC > or REMOTEPROC, but the function prototypes in remoteproc.h are > defined only when CONFIG_REMOTEPROC is defined. This can cause > build issues in SPL if CONFIG_REMOTEPROC

Re: [U-Boot] [PATCH v3 2/4] cmd: bcb: Fix duplicated handling in two case-branches

2019-07-24 Thread Tom Rini
On Fri, Jul 19, 2019 at 11:26:12PM +0200, Eugeniu Rosca wrote: > Fix warning V1037 reported by PVS-Studio Static Analyzer: > Two or more case-branches perform the same actions. Check lines: 49, 53 > > Fixes: db7b7a05b267 ("cmd: Add 'bcb' command to read/modify/write BCB fields") > Signed-off-by:

Re: [U-Boot] [PATCH] doc: fitImage: Fix conf number incrementation

2019-07-24 Thread Tom Rini
On Wed, Jul 17, 2019 at 05:57:16PM +0200, Mickaël Tansorier wrote: > Increment conf id to avoid to have two same conf name > into one configuration description. > > Signed-off-by: Mickaël Tansorier Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___

Re: [U-Boot] [PATCH v2] psci: Fix warnings when compiling with W=1

2019-07-24 Thread Tom Rini
On Mon, Jul 22, 2019 at 02:19:20PM +0200, Patrick Delaunay wrote: > This patch solves the following warnings: > arch/arm/mach-stm32mp/psci.c: > > warning: no previous prototype for ‘psci_set_state’ [-Wmissing-prototypes] > warning: no previous prototype for ‘psci_arch_cpu_entry’ > [-Wmissing-pro

Re: [U-Boot] [PATCH 1/1] doc: Cope with Sphinx logging deprecations

2019-07-24 Thread Tom Rini
On Sun, Jul 14, 2019 at 10:35:45AM +0200, Heinrich Schuchardt wrote: > From: Jonathan Corbet > > Recent versions of sphinx will emit messages like: > > doc/sphinx/kerneldoc.py:103: > RemovedInSphinx20Warning: app.warning() is now deprecated. > Use sphinx.util.logging instead. > > S

Re: [U-Boot] [PATCH v5 6/6] env: am57xx: Implement A/B boot process

2019-07-24 Thread Tom Rini
On Fri, Jul 05, 2019 at 03:37:36PM +0300, Igor Opaniuk wrote: > From: Ruslan Trofymenko > > Add support for A/B boot process on AM57xx based boards: > > 1. Define 'slot_suffix' variable (using 'ab_select' command) > 2. Extend 'emmc_android_boot' boot command (add commands for A/B boot >

Re: [U-Boot] [PATCH v5 5/6] doc: android: Add simple guide for A/B updates

2019-07-24 Thread Tom Rini
On Fri, Jul 05, 2019 at 03:37:35PM +0300, Igor Opaniuk wrote: > From: Ruslan Trofymenko > > Add a short documentation for A/B enablement and 'ab_select' command > usage. > > Signed-off-by: Ruslan Trofymenko > Signed-off-by: Igor Opaniuk > Signed-off-by: Sam Protsenko > Reviewed-by: Alistair

Re: [U-Boot] [PATCH] doc: fitImage: Cosmetics break lines

2019-07-24 Thread Tom Rini
On Wed, Jul 17, 2019 at 05:57:29PM +0200, Mickaël Tansorier wrote: > Add missing newline before title and subtitle. > > Signed-off-by: Mickaël Tansorier Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature ___ U-Boot m

Re: [U-Boot] [PATCH v5 1/6] disk: part: Extend API to get partition info

2019-07-24 Thread Tom Rini
On Fri, Jul 05, 2019 at 03:37:31PM +0300, Igor Opaniuk wrote: > From: Ruslan Trofymenko > > This patch adds part_get_info_by_dev_and_name_or_num() function which > allows us to get partition info from its number or name. Partition of > interest is specified by string like "device_num:partition_n

Re: [U-Boot] [PATCH v5 3/6] cmd: Add 'ab_select' command

2019-07-24 Thread Tom Rini
On Fri, Jul 05, 2019 at 03:37:33PM +0300, Igor Opaniuk wrote: > From: Ruslan Trofymenko > > For A/B system update support the Android boot process requires to send > 'androidboot.slot_suffix' parameter as a command line argument. This > patch implementes 'ab_select' command which allows us to ob

Re: [U-Boot] [PATCH 1/2] scripts/kernel-doc: update script from Linux 5.2

2019-07-24 Thread Tom Rini
On Sun, Jul 14, 2019 at 11:30:22AM +0200, Heinrich Schuchardt wrote: > Update the script from Linux 5.2 to avoid some warnings. > > Signed-off-by: Heinrich Schuchardt Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature __

Re: [U-Boot] [PATCH v5 4/6] test/py: Add base test case for A/B updates

2019-07-24 Thread Tom Rini
On Fri, Jul 05, 2019 at 03:37:34PM +0300, Igor Opaniuk wrote: > From: Ruslan Trofymenko > > Add sandbox test for 'ab_select' command. > > Test: ./test/py/test.py --bd sandbox --build -k test_ab > > Signed-off-by: Ruslan Trofymenko > Signed-off-by: Igor Opaniuk > Signed-off-by: Sam Protsenko

Re: [U-Boot] [PATCH 2/2] scripts/kernel-doc: fix parsing of function pointers

2019-07-24 Thread Tom Rini
On Sun, Jul 14, 2019 at 11:30:23AM +0200, Heinrich Schuchardt wrote: > kernel-doc fails to parse function definitions like the one below > > efi_status_t efi_create_event(uint32_t type, efi_uintn_t notify_tpl, > void (EFIAPI *notify_function) ( >

Re: [U-Boot] [PATCH 1/2] doc: Add .gitignore for the Sphinx build output directory

2019-07-24 Thread Tom Rini
On Tue, Jul 16, 2019 at 09:39:19AM -0700, Bin Meng wrote: > With Sphinx documentation moving from Documentation directory > to doc directory, we missed updating .gitignore for the Sphinx > build output directory. > > Signed-off-by: Bin Meng Applied to u-boot/master, thanks! -- Tom signature

Re: [U-Boot] [PATCH v5 2/6] common: Implement A/B metadata

2019-07-24 Thread Tom Rini
On Fri, Jul 05, 2019 at 03:37:32PM +0300, Igor Opaniuk wrote: > From: Ruslan Trofymenko > > This patch determines the A/B-specific bootloader message structure > that is the basis for implementation of recovery and A/B update > functions. A/B metadata is stored in this structure and used to deci

Re: [U-Boot] [PATCH] image: android: allow to wrap uImage into the Android boot image

2019-07-24 Thread Tom Rini
On Mon, Jun 03, 2019 at 03:38:13PM +0300, roman.stratiie...@globallogic.com wrote: > From: Roman Stratiienko > > This allows to use any available compression format with Android boot image > > Since not all available compression formats have a magic number we should > explicitly specify type o

Re: [U-Boot] [PATCH v5 1/1] cmd: part: Add 'number' sub-command

2019-07-24 Thread Tom Rini
On Fri, Jun 14, 2019 at 05:01:26PM +0300, Igor Opaniuk wrote: > From: Ruslan Trofymenko > > This sub-command serves for getting the partition index from > partition name. Also it can be used to test the existence of specified > partition. > > Use case: > For example, in most CI environments thi

Re: [U-Boot] [PATCH 00/50] doc: Shape into useful HTML docs

2019-07-24 Thread Tom Rini
On Thu, Jul 18, 2019 at 12:33:45AM -0700, Bin Meng wrote: > At present there is Sphinx doc build system in U-Boot, however the > contents are very limited, e.g.: only a few API descriptions like > EFI, are included. > > This series proposes an initial Sphinx doc layout for future extension, > by

Re: [U-Boot] Please pull u-boot-dm (take 2)

2019-07-24 Thread Simon Glass
Hi Tom, On Wed, 24 Jul 2019 at 10:13, Tom Rini wrote: > > On Tue, Jul 23, 2019 at 08:36:58PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > This includes the gitlab fix and also I updated ifwitool.c to drop the > > unused inline functions. > > > > > > The following changes since commit ff8c23e78

[U-Boot] Please pull u-boot-dm (take 3)

2019-07-24 Thread Simon Glass
Hi Tom, The following changes since commit ff8c23e784f57a7098e91a200ed7f5a48612b653: Merge tag 'u-boot-stm32-20190723' of https://gitlab.denx.de/u-boot/custodians/u-boot-stm (2019-07-23 14:16:21 -0400) are available in the Git repository at: git://git.denx.de/u-boot-dm.git tags/dm-pull-24ju

Re: [U-Boot] [PATCH] Dockerfile: Build a copy of QEMU and install it under /opt

2019-07-24 Thread Tom Rini
On Wed, Jul 24, 2019 at 03:51:14PM -0400, Tom Rini wrote: > In order to run our test.py suite on a number of platforms in CI we use > QEMU. Configure and build a copy here so that all our jobs can rely on > it as our code is under test and not QEMU. > > Signed-off-by: Tom Rini I looked into us

[U-Boot] [PATCH] gitlab-ci: Switch to a Docker image that contains a QEMU we build

2019-07-24 Thread Tom Rini
Rather than buiding QEMU for each test.py build it once in our Dockerfile and re-use it as needed. Signed-off-by: Tom Rini --- .gitlab-ci.yml | 36 +--- 1 file changed, 5 insertions(+), 31 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e27d86f962

Re: [U-Boot] [PATCH] gitlab-ci: Update Docker image to xenial-20190720-24Jul2019 tag

2019-07-24 Thread Simon Glass
On Wed, 24 Jul 2019 at 08:30, Tom Rini wrote: > > - Add in lzma-alone for current binman tests > - Update to Ubuntu's xenial-20190720 tag (latest). > > Signed-off-by: Tom Rini > --- > .gitlab-ci.yml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Simon Glass __

Re: [U-Boot] [PATCH] gitlab-ci: Add pyelftools to the binman testsuite section

2019-07-24 Thread Simon Glass
On Wed, 24 Jul 2019 at 10:15, Tom Rini wrote: > > We need pyelftools here to run rather than skip some tests. > > Signed-off-by: Tom Rini > --- > .gitlab-ci.yml | 3 +++ > 1 file changed, 3 insertions(+) Reviewed-by: Simon Glass ___ U-Boot mailing li

[U-Boot] [PATCH] Dockerfile: Build a copy of QEMU and install it under /opt

2019-07-24 Thread Tom Rini
In order to run our test.py suite on a number of platforms in CI we use QEMU. Configure and build a copy here so that all our jobs can rely on it as our code is under test and not QEMU. Signed-off-by: Tom Rini --- Dockerfile | 8 1 file changed, 8 insertions(+) diff --git a/Dockerfile

Re: [U-Boot] [PATCH] core: ofnode: do not assert if node not valid in ofnode_get_name()

2019-07-24 Thread Simon Glass
On Thu, 18 Jul 2019 at 20:24, Kever Yang wrote: > > In some case with LIVE DT, some node always not valid, or not have > a valid name, eg. blk driver add by mmc. > Return fail instead of Assert for this kind of ofnode, and this > help with assert happen from time to time when of_live is enabled >

Re: [U-Boot] [PATCH 1/4] imx: add module fuse support

2019-07-24 Thread Lukasz Majewski
Hi Frieder, > >> > >> Is there any markings on the SoC? (like MX6ULXX) which > >> indicates which SoC has enet and which doesn't have one? > > Yes, you can look in the datasheets. For i.MX6ULL ([1], [2]) for > example, there is a table in chapter 1.1, which describes the > features for the

Re: [U-Boot] [PATCH v2 1/3] pinctrl: nxp: DM_FLAG_PRE_RELOC by default

2019-07-24 Thread Lukasz Majewski
Hi Igor, > From: Igor Opaniuk > > For NXP SoCs we have to set pinmux configuration ASAP (ideally > before relocation) to get serial console working. Without this we miss > almost the half of output (U-boot version, CPU defails, Reset cause, > DRAM details etc.). > > To achieve this we need to f

Re: [U-Boot] [PATCH 00/50] doc: Shape into useful HTML docs

2019-07-24 Thread Heinrich Schuchardt
On 7/24/19 4:18 PM, Tom Rini wrote: On Wed, Jul 24, 2019 at 10:16:31PM +0800, Bin Meng wrote: Hi Tom, On Wed, Jul 24, 2019 at 10:14 PM Tom Rini wrote: On Thu, Jul 18, 2019 at 12:33:45AM -0700, Bin Meng wrote: At present there is Sphinx doc build system in U-Boot, however the contents are v

[U-Boot] [PATCH] ARM: dts: imx6q-logicpd: Add imx6q-logicpd-u-boot for SPL

2019-07-24 Thread Adam Ford
The SPL device tree is missing the entires for gpio1, uart1, usdhc1 and usdhc2. This creates a new imx6q-logicpd-u-boot.dtsi file which will enable these functions so SPL can properly setup UART, detect microSD card, and startup. Fixes: 8f4691e31a18 ("ARM: imx6q_logic: With SPL_OF_CONTROL enabled

Re: [U-Boot] [PATCH v2 00/14] ARM: davinci: driver-model improvements

2019-07-24 Thread Joe Hershberger
On Wed, Jul 24, 2019 at 3:12 AM Bartosz Golaszewski wrote: > > From: Bartosz Golaszewski > > The following series contains all the patches for davinci that have > been sent to the mailing list recently rebased on top of v2019.07 and > retested on da850-lcdk and da850-evm. I collected all the revi

Re: [U-Boot] [PATCH 4/4] arm: dts: Set custom names for cp110 master/slave MDIO buses

2019-07-24 Thread Joe Hershberger
On Wed, Jul 24, 2019 at 8:06 AM Alex Marginean wrote: > > On 7/23/2019 8:22 PM, Nevo Hed wrote: > > For context from upstream linux, > > https://github.com/torvalds/linux/commit/f66b2aff46eaf0825dbe1560e28fcb845dd2a215 > > > > I was intending to submit the parallel change here once fully tested >

Re: [U-Boot] [PATCH v3 0/9] NXP LS1021A-TSN Board

2019-07-24 Thread Joe Hershberger
On Wed, Jul 24, 2019 at 10:38 AM Vladimir Oltean wrote: > > On Tue, 23 Jul 2019 at 10:38, Joe Hershberger wrote: > > > > On Tue, Jul 23, 2019 at 1:08 AM Vladimir Oltean wrote: > > > > > > Hi Joe, > > > > > > On Tue, 23 Jul 2019 at 03:15, Joe Hershberger > > > wrote: > > > > > > > > On Thu, Jul

Re: [U-Boot] [PATCH v5 1/3] common: Move bootm_decomp_image() to image.c (as image_decomp())

2019-07-24 Thread Tom Rini
On Thu, Jul 11, 2019 at 01:53:18PM -0700, Julius Werner wrote: > Upcoming patches want to add decompression to use cases that are no > longer directly related to booting. It makes sense to retain a single > decompression routine, but it should no longer be in bootm.c (which is > not compiled for a

Re: [U-Boot] [PATCH 1/4] imx: add module fuse support

2019-07-24 Thread Schrempf Frieder
Hi Lukasz, On 24.07.19 14:12, Peng Fan wrote: > Hi Lukasz, > >> Subject: Re: [U-Boot] [PATCH 1/4] imx: add module fuse support >> >> Hi Peng, >> >>> Hi Lukasz, >>> Subject: Re: [U-Boot] [PATCH 1/4] imx: add module fuse support Hi Peng, > There are different parts from one

Re: [U-Boot] [PATCH 3/6] timer: dw-apb: add reset handling

2019-07-24 Thread Simon Goldschmidt
On Wed, Jul 24, 2019 at 9:48 AM Marek Vasut wrote: > > On 7/24/19 9:43 AM, Simon Goldschmidt wrote: > > On Wed, Jul 24, 2019 at 9:31 AM Marek Vasut wrote: > >> > >> On 7/23/19 10:27 PM, Simon Goldschmidt wrote: > >>> To use this timer on socfpga as system tick, it needs to take itself out > >>> o

[U-Boot] [PATCH] Drop linker-generated array creation when CONFIG_CMDLINE is disabled

2019-07-24 Thread andrej.rosano
From: Andrej Rosano Linker generated array entry is not needed when the command line is disabled. Remove this code in that case. This is required as the commit 80a48dd47e3bf3ede676fae5a630cb6c80de3e69 breaks the linking stage when CONFIG_CMDLINE=n: .. LDS u-boot.lds LD u-boot u-boo

[U-Boot] [PATCH] gitlab-ci: Add pyelftools to the binman testsuite section

2019-07-24 Thread Tom Rini
We need pyelftools here to run rather than skip some tests. Signed-off-by: Tom Rini --- .gitlab-ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e166d8f74a68..bd63708b987d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -172,6 +172,9 @@ Run

Re: [U-Boot] Please pull u-boot-dm (take 2)

2019-07-24 Thread Tom Rini
On Tue, Jul 23, 2019 at 08:36:58PM -0700, Simon Glass wrote: > Hi Tom, > > This includes the gitlab fix and also I updated ifwitool.c to drop the > unused inline functions. > > > The following changes since commit ff8c23e784f57a7098e91a200ed7f5a48612b653: > > Merge tag 'u-boot-stm32-20190723

Re: [U-Boot] [PATCH v3 0/9] NXP LS1021A-TSN Board

2019-07-24 Thread Vladimir Oltean
On Tue, 23 Jul 2019 at 10:38, Joe Hershberger wrote: > > On Tue, Jul 23, 2019 at 1:08 AM Vladimir Oltean wrote: > > > > Hi Joe, > > > > On Tue, 23 Jul 2019 at 03:15, Joe Hershberger > > wrote: > > > > > > On Thu, Jul 18, 2019 at 4:33 PM Vladimir Oltean wrote: > > > > > > > > This patchset adds

Re: [U-Boot] [PATCH v2 3/3] ARM: dts: imx6ull-colibri: pre-reloc for uart pinmux modes

2019-07-24 Thread Fabio Estevam
On Wed, Jul 24, 2019 at 12:10 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Add u-boot,dm-pre-reloc properties for uart pinmux configuration > nodes, which enables UART as early as possible (before relocation). > > Without this we miss almost the half of output (U-boot version, > CPU defails,

Re: [U-Boot] [PATCH v2 1/3] pinctrl: nxp: DM_FLAG_PRE_RELOC by default

2019-07-24 Thread Fabio Estevam
On Wed, Jul 24, 2019 at 12:10 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > For NXP SoCs we have to set pinmux configuration ASAP (ideally > before relocation) to get serial console working. Without this we miss > almost the half of output (U-boot version, CPU defails, Reset cause, > DRAM det

Re: [U-Boot] [PATCH v2 2/3] ARM: dts: imx6ull-colibri: change hierarchy of DTS files

2019-07-24 Thread Fabio Estevam
On Wed, Jul 24, 2019 at 12:10 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Introduce imx6ull-colibri-u-boot.dtsi for u-boot specific properties to > keep original imx6ull-colibri.dts in sync with Linux. > > Move all contents of imx6ull-colibri.dts to imx6ull-colibri.dtsi + > additionally fix

[U-Boot] [PATCH] gitlab-ci: Update Docker image to xenial-20190720-24Jul2019 tag

2019-07-24 Thread Tom Rini
- Add in lzma-alone for current binman tests - Update to Ubuntu's xenial-20190720 tag (latest). Signed-off-by: Tom Rini --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4cd657307be3..e166d8f74a68 100644 --- a/.gitlab-ci.

[U-Boot] [PATCH v2 3/3] ARM: dts: imx6ull-colibri: pre-reloc for uart pinmux modes

2019-07-24 Thread Igor Opaniuk
From: Igor Opaniuk Add u-boot,dm-pre-reloc properties for uart pinmux configuration nodes, which enables UART as early as possible (before relocation). Without this we miss almost the half of output (U-boot version, CPU defails, Reset cause, DRAM details etc.). Fixes: cd69e8ef9b ("colibri-imx6u

[U-Boot] [PATCH v2 2/3] ARM: dts: imx6ull-colibri: change hierarchy of DTS files

2019-07-24 Thread Igor Opaniuk
From: Igor Opaniuk Introduce imx6ull-colibri-u-boot.dtsi for u-boot specific properties to keep original imx6ull-colibri.dts in sync with Linux. Move all contents of imx6ull-colibri.dts to imx6ull-colibri.dtsi + additionally fix checkpatch warnings. Signed-off-by: Igor Opaniuk --- arch/arm/d

[U-Boot] [PATCH v2 1/3] pinctrl: nxp: DM_FLAG_PRE_RELOC by default

2019-07-24 Thread Igor Opaniuk
From: Igor Opaniuk For NXP SoCs we have to set pinmux configuration ASAP (ideally before relocation) to get serial console working. Without this we miss almost the half of output (U-boot version, CPU defails, Reset cause, DRAM details etc.). To achieve this we need to force appropriate pinctrl d

[U-Boot] [PATCH v2 0/3] imx6ull: Fix missing initial output from UART

2019-07-24 Thread Igor Opaniuk
For Colibri iMX6ULL we have to set pinmux for uart configuration ASAP (ideally before relocation) to get serial console working. Without this we miss almost the half of output (U-boot version, CPU defails, Reset cause, DRAM details etc.). To achieve this we need to force pinctrl-mx6 to get probed

Re: [U-Boot] [RFC PATCH 00/11] SPL support for RISC-V

2019-07-24 Thread Auer, Lukas
Hi Bin, On Wed, 2019-07-24 at 21:49 +0800, Bin Meng wrote: > Hi Lukas, > > On Wed, Jul 24, 2019 at 5:23 PM Auer, Lukas > wrote: > > Hi Bin, > > > > On Wed, 2019-07-24 at 10:55 +0800, Bin Meng wrote: > > > Hi Lukas, > > > > > > On Wed, Jul 24, 2019 at 5:34 AM Auer, Lukas > > > wrote: > > > > H

Re: [U-Boot] python3 support for pylibfdt

2019-07-24 Thread Simon Glass
Hi Peter, On Wed, 24 Jul 2019 at 02:23, Peter Robinson wrote: > > > > > On Tue, Jun 18, 2019 at 10:39:54AM +0100, Peter Robinson wrote: > > > > > Hi Simon, > > > > > > > > > > With the EOL of python2 soon I've been looking at the Fedora U-Boot > > > > > builds to see what it would take to move ov

[U-Boot] [PATCH v2 7/8] RPI: Add memory map for bcm2838

2019-07-24 Thread Andrei Gherzan
Define the memory map for the BCM2838 based on the dt configuration available in the Raspberry Pi kernel fork. Signed-off-by: Andrei Gherzan --- board/raspberrypi/rpi/rpi.c | 27 --- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/board/raspberrypi/rpi/rpi.

[U-Boot] [PATCH v2 5/8] ARM: bcm283x: Include definition for additional emmc clock

2019-07-24 Thread Andrei Gherzan
This clock has a different mbox ID so have this included in the relevant header file. Signed-off-by: Andrei Gherzan --- arch/arm/mach-bcm283x/include/mach/mbox.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-bcm283x/include/mach/mbox.h b/arch/arm/mach-bcm283x/include/mach/mb

[U-Boot] [PATCH v2 3/8] ARM: bcm283x: Define configs for RaspberryPi 4

2019-07-24 Thread Andrei Gherzan
Define two target configs for Raspberry Pi 4 (32 and 64bit) and the corresponding BCM2838* configs. Be aware of the current limitation in firmware which requires an explicit configuration to force the arm in 64bit mode when the respective target is used. Signed-off-by: Andrei Gherzan Signed-off-

[U-Boot] [PATCH v2 6/8] mmc: bcm283x: Add support for bcm2711 device in bcm2835_sdhci

2019-07-24 Thread Andrei Gherzan
From: Matthias Brugger The bcm2711 has two emmc controllers. The difference is the clocks they use. Add support for the second emmc controller. Signed-off-by: Matthias Brugger Signed-off-by: Andrei Gherzan --- drivers/mmc/bcm2835_sdhci.c | 12 ++-- 1 file changed, 10 insertions(+), 2

[U-Boot] [PATCH v2 1/8] RPI: Add defconfigs for rpi4 (32/64)

2019-07-24 Thread Andrei Gherzan
This defines a minimum defconfig for each of the two Raspberry Pi 4 variants. One notable difference is that we don't have a embedded dt for this board given that the fw supplies us with one which we can reuse. Furthermore, the ram size is not queryable through mbox interface as the maximum reporte

[U-Boot] [PATCH v2 2/8] ARM: bcm283x: Add BCM283x_BASE define

2019-07-24 Thread Andrei Gherzan
From: Matthias Brugger Devices of bcm283x have different base address, depending if they are on bcm2835 or bcm2836/7. Use BCM283x_BASE depending on the SoC you want to build and only add the offset in the header files. Signed-off-by: Matthias Brugger Signed-off-by: Andrei Gherzan --- arch/arm

[U-Boot] [PATCH v2 8/8] git-mailrc: Add rpi and bcm283x maintainer

2019-07-24 Thread Andrei Gherzan
Signed-off-by: Andrei Gherzan --- doc/git-mailrc | 4 1 file changed, 4 insertions(+) diff --git a/doc/git-mailrc b/doc/git-mailrc index a63b76befc..68110e1963 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -35,6 +35,7 @@ alias mariosix Mario Six alias masahiro Masahiro Y

[U-Boot] [PATCH v2 4/8] RPI: Add entry for Raspberry Pi 4 model B

2019-07-24 Thread Andrei Gherzan
The Raspebrry Pi 4 uses the new revision code scheme as documented by the foundation. This change adds an entry for this board as well. Signed-off-by: Andrei Gherzan --- board/raspberrypi/rpi/rpi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/raspberrypi/rpi/rpi.c b/board/raspb

[U-Boot] [PATCH v2 0/8] Raspberry Pi 32/64 support

2019-07-24 Thread Andrei Gherzan
Changes for v2: - Removed patches that are not needed anymore due to firmware update - Removed usage of embedded dtb as opposed to reusing the loaded dtb by the firmware - Removed known unsupported/not applicable peripherals (i.e USB) from defconfigs - Make sure the memory/reg

Re: [U-Boot] [PATCH 00/50] doc: Shape into useful HTML docs

2019-07-24 Thread Tom Rini
On Wed, Jul 24, 2019 at 10:16:31PM +0800, Bin Meng wrote: > Hi Tom, > > On Wed, Jul 24, 2019 at 10:14 PM Tom Rini wrote: > > > > On Thu, Jul 18, 2019 at 12:33:45AM -0700, Bin Meng wrote: > > > > > At present there is Sphinx doc build system in U-Boot, however the > > > contents are very limited,

Re: [U-Boot] [PATCH 00/50] doc: Shape into useful HTML docs

2019-07-24 Thread Bin Meng
Hi Tom, On Wed, Jul 24, 2019 at 10:14 PM Tom Rini wrote: > > On Thu, Jul 18, 2019 at 12:33:45AM -0700, Bin Meng wrote: > > > At present there is Sphinx doc build system in U-Boot, however the > > contents are very limited, e.g.: only a few API descriptions like > > EFI, are included. > > > > This

[U-Boot] [PATCH v3] imx: add u-boot-nand.imx target

2019-07-24 Thread Igor Opaniuk
From: Igor Opaniuk Add an additional target which prepends the u-boot.imx image with 0x400 padding bytes. On Vybrid and i.MX 7, i.MX6ULL this is required for NAND boot devices. The configuration CONFIG_IMX_NAND enables this image for a board. Signed-off-by: Stefan Agner Signed-off-by: Igor Opan

Re: [U-Boot] [PATCH 00/50] doc: Shape into useful HTML docs

2019-07-24 Thread Tom Rini
On Thu, Jul 18, 2019 at 12:33:45AM -0700, Bin Meng wrote: > At present there is Sphinx doc build system in U-Boot, however the > contents are very limited, e.g.: only a few API descriptions like > EFI, are included. > > This series proposes an initial Sphinx doc layout for future extension, > by

Re: [U-Boot] [PATCH v1 1/2] pinctrl: nxp: mx6: DM_FLAG_PRE_RELOC by default

2019-07-24 Thread Fabio Estevam
Hi Igor, On Wed, Jul 24, 2019 at 10:58 AM Igor Opaniuk wrote: > I'm currently in the middle of preparing v2, just wanted to know if you do > agree > with this point and in general have any additional suggestions regarding this? My only suggestion is to do a single patch that touches all the dr

Re: [U-Boot] [PATCH v1 1/2] pinctrl: nxp: mx6: DM_FLAG_PRE_RELOC by default

2019-07-24 Thread Igor Opaniuk
Hi Fabio, On Tue, Jul 16, 2019 at 3:44 PM Igor Opaniuk wrote: > > Hi Fabio, > > On Mon, Jul 15, 2019 at 10:10 PM Fabio Estevam wrote: > > > > Hi Igor, > > > > On Mon, Jul 15, 2019 at 11:20 AM Igor Opaniuk > > wrote: > > > > > > From: Igor Opaniuk > > > > > > For Colibri iMX6ULL we have to set

Re: [U-Boot] [RFC PATCH 00/11] SPL support for RISC-V

2019-07-24 Thread Bin Meng
Hi Lukas, On Wed, Jul 24, 2019 at 5:23 PM Auer, Lukas wrote: > > Hi Bin, > > On Wed, 2019-07-24 at 10:55 +0800, Bin Meng wrote: > > Hi Lukas, > > > > On Wed, Jul 24, 2019 at 5:34 AM Auer, Lukas > > wrote: > > > Hi Bin, > > > > > > On Tue, 2019-07-23 at 16:32 +0800, Bin Meng wrote: > > > > Hi Luk

[U-Boot] (Offlist) Re: U-Boot/EBBR plugfest at ELC-EU?

2019-07-24 Thread Daniel Kiper
On Mon, Jul 08, 2019 at 01:27:11PM +, Steve McIntyre wrote: > On Mon, Jul 08, 2019 at 11:18:56AM +0100, Leif Lindholm wrote: > >On Mon, Jul 08, 2019 at 12:13:07PM +0200, Daniel Kiper wrote: > >> > I don't know yet - UEFI Asia plugfest date hasn't been decided yet, > >> > and is likely to end up

[U-Boot] [PATCH v2] imx: add u-boot-nand.imx target

2019-07-24 Thread Igor Opaniuk
From: Igor Opaniuk Add an additional target which prepends the u-boot.imx image with 0x400 padding bytes. On Vybrid and i.MX 7, i.MX6ULL this is required for NAND boot devices. The configuration CONFIG_IMX_NAND enables this image for a board. Signed-off-by: Stefan Agner Signed-off-by: Igor Opan

Re: [U-Boot] Pull request for UEFI sub-system for v2019.10-rc1 (2)

2019-07-24 Thread Tom Rini
On Wed, Jul 17, 2019 at 06:20:09PM +0200, Heinrich Schuchardt wrote: > The following changes since commit 9c94e0a64490b90d48995a8230499167c0bdca68: > > Merge branch 'master' of git://git.denx.de/u-boot-net (2019-07-15 > 18:56:24 -0400) > > are available in the Git repository at: > > https:/

  1   2   >