AM335X Bootp of u-boot-spl.bin followed by tftp of u-boot.img. Is it possible?

2020-07-27 Thread Richard Lourette
I am working with a board with the AM3352 that only has ethernet and a serial port (UART0). I am able to use the bootstrap of the AM3352 to network boot the u-boot-spl.bin file. I can't get the second stage u-boot.img to network load via TFTP. My spl image says there are no etjermet devices found.

[ANN] U-Boot v2020.10-rc1 released

2020-07-27 Thread Tom Rini
Hey all, It's the day after release day, and here is v2020.10-rc1. There's a few more PRs I expect to see soon and a few more changes to bring in from my own queue. In terms of a changelog, git log --merges v2020.07..v2020.10-rc1 contains what I've pulled but as always, better PR messages and

Re: [PULL u-boot] Please pull u-boot-amlogic-20200727

2020-07-27 Thread Tom Rini
t; > https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic.git > tags/u-boot-amlogic-20200727 > > for you to fetch changes up to 95ca2df3fd8f7b2cc995bccb2b46cd5650c4a9a7: > > configs: odroid-c2: update for HDMI output, ADC & USB keyboard (2020-07-27 > 16:35:56 +0200)

Re: pull request of u-boot-fsl-qoriq for v2020.10

2020-07-27 Thread Tom Rini
On Mon, Jul 27, 2020 at 02:35:15PM +, Priyanka Jain wrote: > Dear Tom, > > Please find my pull-request for u-boot-fsl-qoriq/master > https://travis-ci.org/github/p-priyanka-jain/u-boot/builds/712122749 > > Summary > Bug fixes and updates on ls2088a,ls1028a, ls1046a, ls1043a, ls1012a >

[PATCH v2] fit_image: Use calloc() to fix reproducibility issue

2020-07-27 Thread Fabio Estevam
Vagrant Cascadian reported that mx6cuboxi target no longer builds reproducibility on Debian. One example of builds mismatches: 00096680: 696e 6700 736f 756e 642d 6461 6900 6465 ing.sound-dai.de -00096690: 7465 6374 2d67 7069 6f73 tect-gpios.. +00096690: 7465 6374 2d67 7069 6f73

Re: [PATCH 1/3] mkimage: fit: only process one cipher node

2020-07-27 Thread Simon Glass
Hi Patrick, On Fri, 17 Jul 2020 at 05:30, wrote: > > From: Patrick Oppenlander > > Previously mkimage would process any node matching the regex cipher.* > and apply the ciphers to the image data in the order they appeared in > the FDT. This meant that data could be inadvertently ciphered

Re: [PATCH] dtoc: add coverage test for unicode error

2020-07-27 Thread Simon Glass
Hi Walter, On Mon, 20 Jul 2020 at 12:29, Walter Lozano wrote: > > Add an additional test to dtoc in order improve the coverage, > specifically to take into account the case of unicode error when > scanning drivers. > > Signed-off-by: Walter Lozano > --- > > tools/dtoc/dtb_platdata.py | 14

Re: [PATCH] CONFIG_NR_DRAM_BANKS: Remove unreferenced code as its always defined

2020-07-27 Thread Simon Glass
On Fri, 24 Jul 2020 at 08:54, Stefan Roese wrote: > > Since commit 86cf1c82850f ("configs: Migrate CONFIG_NR_DRAM_BANKS") & > commit 999a772d9f24 ("Kconfig: Migrate CONFIG_NR_DRAM_BANKS"), > CONFIG_NR_DRAM_BANKS is always defined with a value (4 is default). > It makes no sense to still carry

Re: [PATCH] log: Allow LOG_DEBUG to always enable log output

2020-07-27 Thread Simon Glass
Hi Heinrich, On Mon, 27 Jul 2020 at 00:15, Heinrich Schuchardt wrote: > > On 7/27/20 4:27 AM, Simon Glass wrote: > > At present if CONFIG_LOG enabled, putting LOG_DEBUG at the top of a file > > (before log.h inclusion) causes _log() to be executed for every log() > > call, regardless of the

Re: [PATCH 1/1] sandbox: support CTRL-C processing in U-Boot

2020-07-27 Thread Simon Glass
Hi Heinrich, On Sat, 25 Jul 2020 at 09:05, Heinrich Schuchardt wrote: > > Currently if SIGINT is received, it terminates U-Boot. This does not allow > testing the handling of CTRL-C in U-Boot and in UEFI applications. > > Let the serial console driver provide character 0x03 if SIGINT occurs. We

Re: [PATCH 1/1] dm: fix ofnode_read_addr/size_cells()

2020-07-27 Thread Simon Glass
Hi Heinrich, On Sat, 25 Jul 2020 at 13:39, Heinrich Schuchardt wrote: > > In the case of the live tree ofnode_read_addr_cells() and > ofnode_read_size_cells() return the #address-cells and #size-cells defined > in the parent node. With the patch the same is done for a non-live tree. > > The only

Re: Improvements to FIT ciphering

2020-07-27 Thread Patrick Oppenlander
On Fri, Jul 24, 2020 at 12:06 PM Patrick Oppenlander wrote: > > Hi, > > I recently posted some patches to the list [1], [2], [3] to address > some issues with the cipher support in mkimage. Hopefully someone gets > a chance to review these patches as I think mkimage is a bit broken > without

Re: [PATCH] imx: Add MYiR Tech MYS-6ULX support

2020-07-27 Thread Parthiban
Dear Fabio, On 7/26/20 4:53 PM, Fabio Estevam wrote: > Hi Parthiban, > > Your patch looks great. Only some minor observations: Thanks, fixed in v2. > > On Sun, Jul 5, 2020 at 12:48 PM Parthiban Nallathambi > wrote: > >> +#ifdef CONFIG_FEC_MXC >> + >> +#define ENET_CLK_PAD_CTRL

[PATCH v2] imx: Add MYiR Tech MYS-6ULX support

2020-07-27 Thread Parthiban Nallathambi
MYS-6ULX is single board computer (SBC) comes with eMMC or NAND based on imx6ULL SoC from NXP and provision for expansion board. This commit adds support only for SBC with NAND. CPU: Freescale i.MX6ULL rev1.1 528 MHz (running at 396 MHz) CPU: Commercial temperature grade (0C to 95C) at 45C

Re: [PATCH 8/8] Initial Pine64 Pinephone support

2020-07-27 Thread Tom Rini
On Mon, Jul 27, 2020 at 09:08:40PM +0100, André Przywara wrote: > On 27/07/2020 14:49, Peter Robinson wrote: > > Hi, > > thanks for piecing this together. As Maxime mentioned, many options are > not necessary (see below). > > Some options are now set by ARCH_SUNXI, since 48313fe51008. > > >>

Re: [PATCH 8/8] Initial Pine64 Pinephone support

2020-07-27 Thread André Przywara
On 27/07/2020 14:49, Peter Robinson wrote: Hi, thanks for piecing this together. As Maxime mentioned, many options are not necessary (see below). Some options are now set by ARCH_SUNXI, since 48313fe51008. >> On Wed, Jul 22, 2020 at 03:18:40PM +0100, Peter Robinson wrote: >>> The Pine64

Re: Please pull u-boot-dm (take 2)

2020-07-27 Thread Tom Rini
On Sun, Jul 26, 2020 at 08:30:45PM -0600, Simon Glass wrote: > Hi Tom, > > I think I figured out what was wrong with the test. It seems to depend > on the number of CPUs used to run them. I got a passing run here: > > https://travis-ci.org/github/sjg20/u-boot/builds/711807208 > > > The

Re: [v2] travis: Install pyelftools via pip

2020-07-27 Thread Tom Rini
On Mon, Jul 27, 2020 at 02:42:59PM -0400, Tom Rini wrote: > With the migration to python3 for all of our tests, we need to install > pyelftools via pip now rather than the system tools as they will > otherwise not be present in our virtualenv. > > Signed-off-by: Tom Rini Applied to

[PATCH v2 09/14] ARM: dts: imx6ull-colibri: move u-boot specific node

2020-07-27 Thread sbabic
> From: Igor Opaniuk > 1. Move aliases and legacy lcdif node to the u-boot specific dts include. > 2. Provide proper display timings, as in the downstream Toradex kernel > [1]. > [1]: >

[PATCH v2 14/14] colibri-imx7: fix splash logo drawing

2020-07-27 Thread sbabic
> From: Igor Opaniuk > 1. Configure white on black for video console. > 2. Enable printing bmp logo during late board init stage. > 3. Use iomux configuration from device tree. > Signed-off-by: Igor Opaniuk Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v2 03/14] toradex: tdx-cfg-block: add carrier boards and display adapters

2020-07-27 Thread sbabic
> From: Igor Opaniuk > Add defines for supported carrier boards and display adapters. > Signed-off-by: Igor Opaniuk Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[PATCH v2 01/14] imx: mx7: fix DDRC size in A7-M4 mapping table

2020-07-27 Thread sbabic
> From: Igor Opaniuk > According to i.MX 7Solo Applications Processor Reference Manual, > 2.1.3 Cortex-M4 Memory Map, M4 can address only 1536MB of DDRC > (Start Address: 0x8000_; End Address: 0xDFFF_). > Correct DDRC size to 0x6000. > Fixes: c0f037f6("mach-imx: bootaux: elf firmware

[PATCH v2 05/14] toradex: tdx-cfg-clock: add migration routine from PID8

2020-07-27 Thread sbabic
> From: Igor Opaniuk > Add migration routine from PID8 pre-stored values on EEPROM > (including sane value checks). > Signed-off-by: Igor Opaniuk Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX

[PATCH v2 06/14] toradex: tdx-cfg-block: add carrier board info printing

2020-07-27 Thread sbabic
> From: Igor Opaniuk > Add carrier board info printing during boot time: > U-Boot 2020.07-rc4-02435-g1756e05 (Jun 22 2020 - 22:43:59 +0300) > CPU: Freescale i.MX8MMQ rev1.0 at 1200 MHz > > Carrier: Toradex Verdin Development Board V1.0A, Serial# 10622780 > Verdin iMX8MM # > Signed-off-by:

[PATCH v2 13/14] colibri-imx6ull: fix splash screen logo drawing

2020-07-27 Thread sbabic
> From: Igor Opaniuk > Configure white on black for video console. > Signed-off-by: Igor Opaniuk Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director:

[PATCH 1/2] imx8m: ddrphy_utils: Improve coding style

2020-07-27 Thread sbabic
> Currently checkpatch is not happy about this file: > total: 14 errors, 2 warnings, 7 checks, 359 lines checked > Improve the coding style so that it can now report: > total: 0 errors, 0 warnings, 6 checks, 360 lines checked > Reported-by: Tom Rini > Signed-off-by: Fabio Estevam > Reviewed-by:

[PATCH v2 08/14] verdin-imx8mm: add EEPROM support for carrier board

2020-07-27 Thread sbabic
> From: Igor Opaniuk > Enable these Kconfig symbols: > TDX_CFG_BLOCK_EXTRA=y > TDX_HAVE_EEPROM_EXTRA=y > Signed-off-by: Igor Opaniuk Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software

[PATCH 2/2] imx8m: soc: Remove unneeded space

2020-07-27 Thread sbabic
> Checkpatch reports the following issue: > ERROR: space prohibited before that ',' (ctx:WxW) > #936: FILE: arch/arm/mach-imx/imx8m/soc.c:936: > + 0, 0 , 0, 0, 0, 0, ); > Remove the unneeded space. > ^ > Reported-by: Tom Rini > Signed-off-by: Fabio

[PATCH v2 04/14] toradex: tdx-cfg-block: add support for EEPROM

2020-07-27 Thread sbabic
> From: Igor Opaniuk > This introduces support for EEPROM as a storage for the main Toradex > config block and additional config blocks on extra EEPROM chips (on > carrier board or video adapters). > To enable EEPROM as a storage for the main config block: > TDX_HAVE_EEPROM=y. > For additional

[PATCH v2 12/14] colibri-imx6ull: show boot logo

2020-07-27 Thread sbabic
> From: Igor Opaniuk > 1. Show boot logo embed in U-Boot blob. > 2. Drop iomux configration for LCD, and use the one provided in device > tree. > Signed-off-by: Igor Opaniuk Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic --

[PATCH v2 11/14] ARM: dts: imx7-colibri: multiple node updates

2020-07-27 Thread sbabic
> From: Igor Opaniuk > 1. Move u-boot specific nodes to u-boot dts include: legacy lcdif > node and aliases. > 2. Add iomux configuration for LCD. > 3. Drop un-needed u-boot,dm-pre-reloc for alias node. > 4. Fix display-timings, use the one from Toradex downstream kernel [1] > [1]: >

[PATCH v2 10/14] toradex: common: show boot logo

2020-07-27 Thread sbabic
> From: Igor Opaniuk > Add function for showing boot logo, embed into u-boot blob. > Signed-off-by: Igor Opaniuk Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH,

[PATCH v2 02/14] toradex: tdx-cfg-block: add EEPROM read/store wrappers

2020-07-27 Thread sbabic
> From: Igor Opaniuk > These functions wrap functionality for storing config blocks in EEPROM. > Signed-off-by: Igor Opaniuk Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering

[PATCH v2 07/14] ARM: dts: imx8mm-verdin: eeprom nodes adjustments

2020-07-27 Thread sbabic
> From: Igor Opaniuk > Rename EEPROM nodes. > Create aliases for EEPROM to unify their order: > eeprom0 - on-module EEPROM > eeprom1 - carrier-board EEPROM > eeprom2 - MIPI-DSI to HDMI adapter EEPROM > Signed-off-by: Igor Opaniuk Applied to u-boot-imx, master, thanks ! Best regards,

Re: [PATCH] board: Add support for iMX8QXP AI_ML board

2020-07-27 Thread Stefano Babic
Hi Mani, On 10.07.20 15:59, Manivannan Sadhasivam wrote: Hi, On Tue, Nov 05, 2019 at 09:02:28PM +0530, Manivannan Sadhasivam wrote: This commit adds initial board support for iMX8QXP AI_ML board from Einfochips. This board is one of the 96Boards Consumer Edition and AI boards of the 96Boards

[v2] travis: Install pyelftools via pip

2020-07-27 Thread Tom Rini
With the migration to python3 for all of our tests, we need to install pyelftools via pip now rather than the system tools as they will otherwise not be present in our virtualenv. Signed-off-by: Tom Rini --- Changes in v2: Switch to pip --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PULL] u-boot-sh/net

2020-07-27 Thread Tom Rini
On Mon, Jul 27, 2020 at 12:57:33PM -0500, Joe Hershberger wrote: > On Mon, Jul 27, 2020 at 5:40 AM Marek Vasut wrote: > > > > More networking DM conversion (this is the last driver). > > Any news on Joe ? > > Sorry, guys, I'm back home in Texas now and have had a lot going on > keeping me

Re: [PULL] u-boot-sh/net

2020-07-27 Thread Joe Hershberger
On Mon, Jul 27, 2020 at 5:40 AM Marek Vasut wrote: > > More networking DM conversion (this is the last driver). > Any news on Joe ? Sorry, guys, I'm back home in Texas now and have had a lot going on keeping me swamped. I aim to get caught up soon. Any idea how accurate my patchwork queue is?

Re: [PATCH v2 13/18] board: ti: j7200: Add board detection support for j7200

2020-07-27 Thread Suman Anna
On 7/27/20 4:45 AM, Lokesh Vutla wrote: Add board detection support for j7200 common processor board. Signed-off-by: Lokesh Vutla Signed-off-by: Dave Gerlach Reviewed-by: Suman Anna --- board/ti/j721e/evm.c | 4 1 file changed, 4 insertions(+) diff --git a/board/ti/j721e/evm.c

Re: [PATCH v2 11/18] arm: mach-k3: j7200: Detect if ROM has already loaded sysfw

2020-07-27 Thread Suman Anna
On 7/27/20 4:45 AM, Lokesh Vutla wrote: Detect if sysfw is already loaded by ROM and pass this information to sysfw loader. Based on this information sysfw loader either loads the sysfw image from boot media or just received the boot notification %s/received/receives/ Pending the discussion

Re: [PATCH v2 10/18] arm: mach-k3: j7200: Add support for storing extended boot info from ROM

2020-07-27 Thread Suman Anna
On 7/27/20 4:45 AM, Lokesh Vutla wrote: Starting J7200 SoC, ROM supports for loading sysfw directly from boot image. ROM passes this information on number of images that are loaded to bootloader at certain location. Add support for storing this Extra whitespace before certain. Otherwise,

Re: [PATCH v2 08/18] arm: mach-k3: j721e: Fix unlocking control module registers

2020-07-27 Thread Suman Anna
On 7/27/20 4:45 AM, Lokesh Vutla wrote: In main control mmr there is no partition 4 and partition 6 is available only on J721e. Fix the same in ctrl_mmr_unlock function Signed-off-by: Lokesh Vutla Reviewed-by: Suman Anna --- arch/arm/mach-k3/j721e_init.c | 4 ++-- 1 file changed, 2

Re: [PATCH v2 06/18] arm: mach-k3: sysfw-loader: Add support for rom loading sysfw image

2020-07-27 Thread Suman Anna
Hi Lokesh, On 7/27/20 4:45 AM, Lokesh Vutla wrote: Starting J7200 SoC, ROM supports for loading sysfw directly from boot image. In such cases, SPL need not load sysfw from boot media, but need to receive boot notification message from sysfw. So separate out remoteproc calls for system

Re: [PATCH v2 05/18] arm: mach-k3: Move mmr_unlock to a common location

2020-07-27 Thread Suman Anna
On 7/27/20 4:45 AM, Lokesh Vutla wrote: mmr_unlock api is common for all k3 devices. Move it to a common location. Signed-off-by: Lokesh Vutla Reviewed-by: Suman Anna --- arch/arm/mach-k3/am6_init.c | 10 -- arch/arm/mach-k3/common.c | 10 ++

[PATCH 1/1] doc: qemu-mips build instructions

2020-07-27 Thread Heinrich Schuchardt
Correct the make commands for the defconfigs. Signed-off-by: Heinrich Schuchardt --- doc/board/emulation/qemu-mips.rst | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/board/emulation/qemu-mips.rst b/doc/board/emulation/qemu-mips.rst index f206039f54..d35925126a

Re: [PATCH v2] imx: Add MYiR Tech MYS-6ULX support

2020-07-27 Thread Fabio Estevam
Hi Parthiban, On Mon, Jul 27, 2020 at 11:48 AM Parthiban Nallathambi wrote: > > MYS-6ULX is single board computer (SBC) comes with eMMC or NAND based > on imx6ULL SoC from NXP and provision for expansion board. This > commit adds support only for SBC with NAND. > > CPU: Freescale i.MX6ULL

[PULL u-boot] Please pull u-boot-amlogic-20200727

2020-07-27 Thread Neil Armstrong
mmit 3773028fced4795d52f02b387496395ec387f3bb: Merge branch '2020-07-27-misc-env-improvements' (2020-07-27 09:25:53 -0400) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-amlogic.git tags/u-boot-amlogic-20200727 for you to fetch change

RE: [PATCH v4 0/5] add DM based reset driver for SiFive SoC's

2020-07-27 Thread Sagar Kadam
Hi Rick, > -Original Message- > From: Sagar Kadam > Sent: Friday, July 24, 2020 2:17 PM > To: u-boot@lists.denx.de > Cc: r...@andestech.com; Paul Walmsley ( Sifive) > ; pal...@dabbelt.com; anup.pa...@wdc.com; > atish.pa...@wdc.com; lu...@denx.de; Pragnesh Patel > ; bin.m...@windriver.com;

Re: [PULL] u-boot-sh/master

2020-07-27 Thread Tom Rini
On Mon, Jul 27, 2020 at 12:33:07PM +0200, Marek Vasut wrote: > The following changes since commit ada61f1ee2a4eaa1b29d699b5ba940483171df8a: > > Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv > (2020-07-24 08:43:08 -0400) > > are available in the Git repository at: > >

Re: [PULL] u-boot-sh/net

2020-07-27 Thread Tom Rini
On Mon, Jul 27, 2020 at 12:34:40PM +0200, Marek Vasut wrote: > More networking DM conversion (this is the last driver). > Any news on Joe ? > > The following changes since commit ada61f1ee2a4eaa1b29d699b5ba940483171df8a: > > Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv >

[PATCH] travis: Update to python3-pyelftools

2020-07-27 Thread Tom Rini
With the migration to python3 for all of our tests, we need python3-pyelftools and not python2-pyelftools to be installed. Signed-off-by: Tom Rini --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 96fd55fe1ef1..0bb5aeaeb192

RE: [PATCHv3 01/36] dm: spi: Convert Freescale ESPI driver to driver model

2020-07-27 Thread Priyanka Jain (OSS)
>-Original Message- >From: U-Boot On Behalf Of Zhiqiang Hou >Sent: Thursday, June 4, 2020 8:47 PM >To: u-boot@lists.denx.de; Priyanka Jain ; Shengzhou >Liu ; ja...@amarulasolutions.com; >s...@chromium.org; Biwen Li ; bmeng...@gmail.com >Cc: Jiafei Pan ; Chuanhua Han >; Xiaowei Bao ; Z.q.

Re: Please pull u-boot-dm

2020-07-27 Thread Tom Rini
On Mon, Jul 27, 2020 at 08:54:01AM -0600, Simon Glass wrote: > Hi Tom, > > On Fri, 24 Jul 2020 at 06:41, Tom Rini wrote: > > > > On Thu, Jul 23, 2020 at 09:09:33PM -0400, Tom Rini wrote: > > > On Mon, Jul 20, 2020 at 02:19:02PM -0600, Simon Glass wrote: > > > > > > > Hi Tom, > > > > > > > >

Re: Please pull u-boot-dm

2020-07-27 Thread Michal Simek
On 27. 07. 20 16:54, Simon Glass wrote: > Hi Tom, > > On Fri, 24 Jul 2020 at 06:41, Tom Rini wrote: >> >> On Thu, Jul 23, 2020 at 09:09:33PM -0400, Tom Rini wrote: >>> On Mon, Jul 20, 2020 at 02:19:02PM -0600, Simon Glass wrote: >>> Hi Tom,

Re: Please pull u-boot-dm

2020-07-27 Thread Simon Glass
Hi Tom, On Fri, 24 Jul 2020 at 06:41, Tom Rini wrote: > > On Thu, Jul 23, 2020 at 09:09:33PM -0400, Tom Rini wrote: > > On Mon, Jul 20, 2020 at 02:19:02PM -0600, Simon Glass wrote: > > > > > Hi Tom, > > > > > > https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/4139 > > > > > > The

Re: [PATCH v4 1/5] cmd: bind: allow to bind driver with driver data

2020-07-27 Thread Patrice CHOTARD
don't take care of my previous email, i did a mistake Patrice On 7/27/20 4:25 PM, Patrice CHOTARD wrote: > Hi Tom > > Sorry for the delay, i was on vacation. > > I launched dm unit tests on current master > (ada61f1ee2a4eaa1b29d699b5ba940483171df8a) > > and everything seems ok, perhaps i

Re: [PATCH v4 1/5] cmd: bind: allow to bind driver with driver data

2020-07-27 Thread Tom Rini
On Mon, Jul 27, 2020 at 02:25:06PM +, Patrice CHOTARD wrote: > Hi Tom > > Sorry for the delay, i was on vacation. > > I launched dm unit tests on current master > (ada61f1ee2a4eaa1b29d699b5ba940483171df8a) > > and everything seems ok, perhaps i don't execute them correctly, see my log >

pull request of u-boot-fsl-qoriq for v2020.10

2020-07-27 Thread Priyanka Jain
Dear Tom, Please find my pull-request for u-boot-fsl-qoriq/master https://travis-ci.org/github/p-priyanka-jain/u-boot/builds/712122749 Summary Bug fixes and updates on ls2088a,ls1028a, ls1046a, ls1043a, ls1012a lx2-watchdog support layerscape:pci-endpoint support, spin table relocation fixes and

Re: [PATCH v4 1/5] cmd: bind: allow to bind driver with driver data

2020-07-27 Thread Patrice CHOTARD
Hi Tom Sorry for the delay, i was on vacation. I launched dm unit tests on current master (ada61f1ee2a4eaa1b29d699b5ba940483171df8a) and everything seems ok, perhaps i don't execute them correctly, see my log below : ./test/py/test.py --bd sandbox --build -k ut_dm -v +make

Re: [PATCH v2 02/14] toradex: tdx-cfg-block: add EEPROM read/store wrappers

2020-07-27 Thread Stefano Babic
On 27.07.20 15:35, Tom Rini wrote: > On Mon, Jul 27, 2020 at 02:49:30PM +0200, Stefano Babic wrote: >> Hi Igor, >> >> On 15.07.20 12:30, Igor Opaniuk wrote: >>> From: Igor Opaniuk >>> >>> These functions wrap functionality for storing config blocks in EEPROM. >>> >>> Signed-off-by: Igor Opaniuk

Re: [PATCH 8/8] Initial Pine64 Pinephone support

2020-07-27 Thread Peter Robinson
> On Wed, Jul 22, 2020 at 03:18:40PM +0100, Peter Robinson wrote: > > The Pine64 Pinephone is a smartphone based on the AllWinner A64 SoC. > > It has the following features: > > * 2GB LPDDR3 SDRAM > > * 5.95 inch 1440x720 HD IPS capacitive touchscreen > > * 16GB eMMC, mSD slot > > * Quectel EG25

Re: [RESEND PATCH v5 4/4] test: env: add test for env info sub-command

2020-07-27 Thread Tom Rini
On Fri, Jun 19, 2020 at 02:03:37PM +0200, Patrick Delaunay wrote: > Add a pytest for testing the env info sub-command: > > test_env_info: test command with several option that > can be executed on real hardware device without assumption > > test_env_info_sandbox: test the result on sandbox >

Re: [PATCH v2 02/14] toradex: tdx-cfg-block: add EEPROM read/store wrappers

2020-07-27 Thread Tom Rini
On Mon, Jul 27, 2020 at 02:49:30PM +0200, Stefano Babic wrote: > Hi Igor, > > On 15.07.20 12:30, Igor Opaniuk wrote: > > From: Igor Opaniuk > > > > These functions wrap functionality for storing config blocks in EEPROM. > > > > Signed-off-by: Igor Opaniuk > > --- > > > > This breaks one of

Re: [RESEND PATCH v5 3/4] configs: sandbox: Enable sub command 'env info'

2020-07-27 Thread Tom Rini
On Fri, Jun 19, 2020 at 02:03:36PM +0200, Patrick Delaunay wrote: > Enable support for sub command 'env info' in sandbox > with CONFIG_CMD_NVEDIT_INFO. This is aimed primarily > at adding unit test. > > Signed-off-by: Patrick Delaunay > Reviewed-by: Simon Glass Applied to u-boot/master,

Re: [RESEND PATCH v5 1/4] cmd: env: add option for quiet output on env info

2020-07-27 Thread Tom Rini
On Fri, Jun 19, 2020 at 02:03:34PM +0200, Patrick Delaunay wrote: > The "env info" can be use for test with -d and -p parameter, > in scripting case the output of the command is not needed. > > This patch allows to deactivate this output with a new option "-q". > > For example, we can save the

Re: [RESEND PATCH v5 2/4] cmd: env: check real location for env info command

2020-07-27 Thread Tom Rini
On Fri, Jun 19, 2020 at 02:03:35PM +0200, Patrick Delaunay wrote: > Check the current ENV location, dynamically provided by the weak > function env_get_location to be sure that the environment can be > persistent. > > The compilation flag ENV_IS_IN_DEVICE is not enough when the board >

Re: [RESEND PATCH 3/3] env: mmc: add redundancy support in mmc_offset_try_partition

2020-07-27 Thread Tom Rini
On Mon, Jun 15, 2020 at 10:38:57AM +0200, Patrick Delaunay wrote: > Manage 2 copy at the end of the partition selected by config > "u-boot,mmc-env-partition" to save the U-Boot environment, > with CONFIG_ENV_SIZE and 2*CONFIG_ENV_SIZE offset. > > This patch allows to support redundancy

Re: [RESEND PATCH 2/3] env: mmc: correct the offset returned by mmc_offset_try_partition

2020-07-27 Thread Tom Rini
On Mon, Jun 15, 2020 at 10:38:56AM +0200, Patrick Delaunay wrote: > The output of the function mmc_offset_try_partition must be a > byte offset in mmc and not a multiple of blksz. > > This function is used in mmc_offset(), called by mmc_get_env_addr() > and the offset is used in write_env(),

Re: [PATCH] env: add failing trace in env_save

2020-07-27 Thread Tom Rini
On Wed, Jun 24, 2020 at 10:17:50AM +0200, Patrick Delaunay wrote: > Add trace in env save to indicate any errors to end user and avoid > silent output when the command 'env save' is not executed. > > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [RESEND PATCH 1/3] env: mmc: allow support of mmc_get_env_dev with OF_CONTROL

2020-07-27 Thread Tom Rini
On Mon, Jun 15, 2020 at 10:38:55AM +0200, Patrick Delaunay wrote: > Use the weak function mmc_get_env_dev in mmc_offset_try_partition > function to allow dynamic selection of mmc device to use > and no more use directly the define CONFIG_SYS_MMC_ENV_DEV. > > Signed-off-by: Patrick Delaunay

Re: [PATCH] env: correct overflow check of env_has_init size

2020-07-27 Thread Tom Rini
On Wed, Jun 24, 2020 at 09:27:25AM +0200, Patrick Delaunay wrote: > Correct the overflow check of the bit-field env_has_init with > the max value of env_location= ENVL_COUNT and no more with the > size of env_locations. > > This bit-field is indexed by this enumerate and not by the position in >

Re: [PATCH] env/fat.c: allow loading from a FAT partition on the MMC boot device

2020-07-27 Thread Tom Rini
On Fri, Jun 19, 2020 at 11:07:17PM +0100, David Woodhouse wrote: > I don't want to have to specify the device; only the partition. > > This allows me to use the same image on internal eMMC or SD card for > Banana Pi R2, and it finds its own environment either way. > > Signed-off-by: David

Re: [PATCH 1/1] test: do not rely on => being the prompt

2020-07-27 Thread Tom Rini
On Fri, Jul 24, 2020 at 08:55:37PM +0200, Heinrich Schuchardt wrote: > In our tests we should use the customized prompt for testing. > > Reported-by: Tom Rini > Signed-off-by: Heinrich Schuchardt Tested-by: Tom Rini -- Tom signature.asc Description: PGP signature

Re: [PATCH 8/8] Initial Pine64 Pinephone support

2020-07-27 Thread Maxime Ripard
Hi, On Wed, Jul 22, 2020 at 03:18:40PM +0100, Peter Robinson wrote: > The Pine64 Pinephone is a smartphone based on the AllWinner A64 SoC. > It has the following features: > * 2GB LPDDR3 SDRAM > * 5.95 inch 1440x720 HD IPS capacitive touchscreen > * 16GB eMMC, mSD slot > * Quectel EG25 LTE Modem

Re: [PATCH 6/8] arm: dts: Sync the sun50i-a64.dtsi from Linux 5.8-rc1

2020-07-27 Thread Heinrich Schuchardt
On 26.07.20 12:17, Peter Robinson wrote: > On Thu, Jul 23, 2020 at 12:15 AM André Przywara > wrote: >> >> On 22/07/2020 15:18, Peter Robinson wrote: >>> Sync the Allwinner A64 sun50i-a64.dtsi from Linux. >> >> Hi Peter, >> >> thanks for your series! >> >> While this looks mostly

Re: [PATCH v2 02/14] toradex: tdx-cfg-block: add EEPROM read/store wrappers

2020-07-27 Thread Stefano Babic
Hi Igor, On 15.07.20 12:30, Igor Opaniuk wrote: > From: Igor Opaniuk > > These functions wrap functionality for storing config blocks in EEPROM. > > Signed-off-by: Igor Opaniuk > --- > This breaks one of your (obsolete ?) board, colibri_pxa270 Reason is a side-effect in dm/read.h:

[PATCH] [dh stm32mp1] remove env location override

2020-07-27 Thread Jakob Riepler
Overriding the environment location is not necessary as the defconfig for the relevant boards only enable SPI flash and nowhere sources which are in the same order per default but having this explicit override prevents using eMMC or SD card (or EXT4) as environment source. Signed-off-by: Jakob

Re: [PATCH v2 3/6] gpio: mxc_gpio: add OF_PLATDATA support

2020-07-27 Thread Stefano Babic
Hi Walter, On 22.07.20 15:14, Walter Lozano wrote: > Continuing with the OF_PLATADATA support for iMX6 to reduce SPL > footprint, add it to mxc_gpio. Thanks to this, it will be possible to > enable card detection on MMC driver. > > Signed-off-by: Walter Lozano > --- > This conflicts with

[PULL] u-boot-sh/master

2020-07-27 Thread Marek Vasut
The following changes since commit ada61f1ee2a4eaa1b29d699b5ba940483171df8a: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv (2020-07-24 08:43:08 -0400) are available in the Git repository at: git://git.denx.de/u-boot-sh.git master for you to fetch changes up to

[PULL] u-boot-sh/net

2020-07-27 Thread Marek Vasut
More networking DM conversion (this is the last driver). Any news on Joe ? The following changes since commit ada61f1ee2a4eaa1b29d699b5ba940483171df8a: Merge https://gitlab.denx.de/u-boot/custodians/u-boot-riscv (2020-07-24 08:43:08 -0400) are available in the Git repository at:

[PATCH v2 18/18] configs: j7200_evm_a72: Add Initial support

2020-07-27 Thread Lokesh Vutla
Add initial A72 defconfig support. Signed-off-by: Lokesh Vutla --- configs/j7200_evm_a72_defconfig | 172 1 file changed, 172 insertions(+) create mode 100644 configs/j7200_evm_a72_defconfig diff --git a/configs/j7200_evm_a72_defconfig

[PATCH v2 16/18] arm: dts: k3-j7200: Add R5 specific dts support

2020-07-27 Thread Lokesh Vutla
From: Dave Gerlach Add the basic a72 basic dts for j7200. Following nodes were supported: - UART - MMC SD - I2C - TISCI communication - LPDDR with 1600MTs configuration. Signed-off-by: Andrew F. Davis Signed-off-by: Lokesh Vutla Signed-off-by: Dave Gerlach --- arch/arm/dts/Makefile

[PATCH v2 17/18] configs: j7200_evm_r5: Add initial support

2020-07-27 Thread Lokesh Vutla
Add initial R5 defconfig support Signed-off-by: Lokesh Vutla --- configs/j7200_evm_r5_defconfig | 126 + 1 file changed, 126 insertions(+) create mode 100644 configs/j7200_evm_r5_defconfig diff --git a/configs/j7200_evm_r5_defconfig

[PATCH v2 13/18] board: ti: j7200: Add board detection support for j7200

2020-07-27 Thread Lokesh Vutla
Add board detection support for j7200 common processor board. Signed-off-by: Lokesh Vutla Signed-off-by: Dave Gerlach --- board/ti/j721e/evm.c | 4 1 file changed, 4 insertions(+) diff --git a/board/ti/j721e/evm.c b/board/ti/j721e/evm.c index 86e7cd4051..87cdbf9798 100644 ---

[PATCH v2 12/18] board: ti: j7200: Introduce support for j7200 build targets

2020-07-27 Thread Lokesh Vutla
j7200-evm has minor differences with j721e-evm based on the IPs available in the SoC. Introduce separate build targets for j7200-evm to incorporate the differences. Signed-off-by: Lokesh Vutla --- board/ti/j721e/Kconfig | 53 ++ 1 file changed, 53

[PATCH v2 11/18] arm: mach-k3: j7200: Detect if ROM has already loaded sysfw

2020-07-27 Thread Lokesh Vutla
Detect if sysfw is already loaded by ROM and pass this information to sysfw loader. Based on this information sysfw loader either loads the sysfw image from boot media or just received the boot notification message form sysfw. Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/common.c | 8

[PATCH v2 14/18] ram: k3-j721e: Relax version checks for memory controller

2020-07-27 Thread Lokesh Vutla
k3-j721e ddr driver sanity checks for product id and version number. Version number gets changed for every minor update in the IP. So discard the version check and just sanity check for product id. Signed-off-by: Lokesh Vutla --- drivers/ram/k3-j721e/lpddr4.c | 16 +--- 1 file

[PATCH v2 15/18] arm: dts: k3-j7200: Add dts support

2020-07-27 Thread Lokesh Vutla
Add the basic a72 dts for j7200. Following nodes were supported: - UART - MMC SD - I2C - TISCI communication Signed-off-by: Lokesh Vutla Signed-off-by: Vignesh Raghavendra Signed-off-by: Vishal Mahaveer Signed-off-by: Faiz Abbas --- arch/arm/dts/Makefile | 3 +-

[PATCH v2 10/18] arm: mach-k3: j7200: Add support for storing extended boot info from ROM

2020-07-27 Thread Lokesh Vutla
Starting J7200 SoC, ROM supports for loading sysfw directly from boot image. ROM passes this information on number of images that are loaded to bootloader at certain location. Add support for storing this information before it gets corrupted. Signed-off-by: Lokesh Vutla ---

[PATCH v2 08/18] arm: mach-k3: j721e: Fix unlocking control module registers

2020-07-27 Thread Lokesh Vutla
In main control mmr there is no partition 4 and partition 6 is available only on J721e. Fix the same in ctrl_mmr_unlock function Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/j721e_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-k3/j721e_init.c

[PATCH v2 09/18] arm: mach-k3: j7200: Add support for SOC detection

2020-07-27 Thread Lokesh Vutla
The J7200 SoC is a part of the K3 Multicore SoC architecture platform. It is targeted for automotive gateway, vehicle compute systems, Vehicle-to-Vehicle (V2V) and Vehicle-to-Everything (V2X) applications. The SoC aims to meet the complex processing needs of modern embedded products. Some

[PATCH v2 05/18] arm: mach-k3: Move mmr_unlock to a common location

2020-07-27 Thread Lokesh Vutla
mmr_unlock api is common for all k3 devices. Move it to a common location. Signed-off-by: Lokesh Vutla --- arch/arm/mach-k3/am6_init.c | 10 -- arch/arm/mach-k3/common.c | 10 ++ arch/arm/mach-k3/common.h | 1 + arch/arm/mach-k3/j721e_init.c | 10 -- 4 files

[PATCH v2 06/18] arm: mach-k3: sysfw-loader: Add support for rom loading sysfw image

2020-07-27 Thread Lokesh Vutla
Starting J7200 SoC, ROM supports for loading sysfw directly from boot image. In such cases, SPL need not load sysfw from boot media, but need to receive boot notification message from sysfw. So separate out remoteproc calls for system controller from sysfw loader and just receive the boot

[PATCH v2 02/18] board: ti: j721e: Probe eeprom only when CONFIG_TI_I2C_BOARD_DETECT is defined

2020-07-27 Thread Lokesh Vutla
Guard all eeprom probe with TI_I2C_BOARD_DETECT to avoid reading eeprom when eeprom is not available Reviewed-by: Suman Anna Signed-off-by: Lokesh Vutla Signed-off-by: Jean-Jacques Hiblot --- arch/arm/mach-k3/j721e_init.c | 3 ++- board/ti/j721e/evm.c | 16 +++- 2 files

[PATCH v2 01/18] board: ti: board_detect: Add stub functions for EEPROM detection apis

2020-07-27 Thread Lokesh Vutla
Current usage of eeprom apis produce a build failure when CONFIG_TI_I2C_BOARD_DETECT is not defined. Add stub function for these apis to avoid build failures. Reviewed-by: Suman Anna Signed-off-by: Lokesh Vutla --- board/ti/common/board_detect.h | 13 + 1 file changed, 13

[PATCH v2 04/18] arm: mach-k3: Fix platform hang when SPL_MULTI_DTB_FIT is not enabled

2020-07-27 Thread Lokesh Vutla
From: Jean-Jacques Hiblot If SPL_MULTI_DTB_FIT is not enabled, then CONFIG_SPL_OF_LIST is not defined And in turn tispl.bin ends up not embedding any DTB. Fixing it by using CONFIG_DEFAULT_DEVICE_TREE if SPL_OF_LIST is empty. Signed-off-by: Jean-Jacques Hiblot Signed-off-by: Lokesh Vutla ---

[PATCH v2 03/18] board: ti: j721e: Update fdt fixup logic for interconnect nodes

2020-07-27 Thread Lokesh Vutla
From: Suman Anna The DT nodes on J721E SoCs currently use a node name "interconnect" for the various interconnects. This name is not following the DT schema, and should simply be "bus". Update the fdt fixup logic to use both the current and the expected corrected path names so that this logic

[PATCH v2 00/18] arm: mach-k3: Initial support for Texas Instrument's J7200 Platform

2020-07-27 Thread Lokesh Vutla
This series adds initial support for latest new SoC, J7200, from Texas Instruments. The J7200 SoC is a part of the K3 Multicore SoC architecture platform. It is targeted for for automotive gateway, vehicle compute systems, Vehicle-to-Vehicle (V2V) and Vehicle-to-Everything (V2X) applications.

[PATCH v2 07/18] arm: mach-k3: j721e: Add detection for j721e

2020-07-27 Thread Lokesh Vutla
Add an api soc_is_j721e(), and use it to enable certain functionality that is available only on j721e. Signed-off-by: Lokesh Vutla Signed-off-by: Suman Anna --- arch/arm/mach-k3/common.c | 10 ++ arch/arm/mach-k3/include/mach/sys_proto.h | 2 ++

RE: [PATCH v4 2/6] drivers: net: add a DSA sandbox driver

2020-07-27 Thread Priyanka Jain (OSS)
>-Original Message- >From: Claudiu Manoil >Sent: Friday, July 24, 2020 4:00 PM >To: Priyanka Jain (OSS) ; u-boot@lists.denx.de >Cc: joe.hershber...@ni.com; Alexandru Marginean >; Vladimir Oltean > >Subject: RE: [PATCH v4 2/6] drivers: net: add a DSA sandbox driver > > > >>-Original

  1   2   >