Re: [U-Boot] [PATCH v1] MAINTAINERS: Add info for bcm283x

2019-12-03 Thread Tom Rini
On Wed, Nov 27, 2019 at 05:41:06PM +0100, matthias@kernel.org wrote: > From: Matthias Brugger > > The bcm283x has grown in files, which was not reflected in the > MAINTAINERS file. Fix this by adding the missing entries. > > Signed-off-by: Matthias Brugger Applied to u-boot/master, thanks

Re: [U-Boot] [PATCH 1/2] Convert CONFIG_PHY_CORTINA to Kconfig

2019-12-03 Thread Tom Rini
On Tue, Nov 26, 2019 at 05:32:42PM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_PHY_CORTINA > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

RE: [PATCH v1 00/20] Enable ARM Trusted Firmware for U-Boot

2019-12-03 Thread Ang, Chee Hong
> Am 03.12.2019 um 19:31 schrieb Ang, Chee Hong: > >> On Tue, Dec 3, 2019 at 3:45 PM Ang, Chee Hong > >> > >> wrote: > >>> > On Tue, Dec 3, 2019 at 2:37 AM Ang, Chee Hong > > wrote: > > > >> Am 02.12.2019 um 17:10 schrieb Ang, Chee Hong: > On Mon, Dec 2, 2019 at 4:

RE: [PATCH v1 00/20] Enable ARM Trusted Firmware for U-Boot

2019-12-03 Thread Ang, Chee Hong
> Am 02.12.2019 um 11:25 schrieb chee.hong@intel.com: > > From: "Ang, Chee Hong" > > > > New U-boot flow with ARM Trusted Firmware (ATF) support: > > SPL (EL3) -> ATF-BL31 (EL3) -> U-Boot Proper (EL2) -> Linux (EL1) > > > > SPL loads the u-boot.itb which consist of: > > 1) u-boot-nodtb.bin (U-

Re: [U-Boot] [EXT] Re: [PATCHv2 1/2] PCI: layerscape: Add Support for ls2088 PCIe EP mode

2019-12-03 Thread Ramon Fried
On Wed, Dec 4, 2019 at 4:23 AM Xiaowei Bao wrote: > > > > > -Original Message- > > From: Ramon Fried > > Sent: 2019年12月4日 4:01 > > To: Xiaowei Bao > > Cc: Ramon Fried ; Hongbo Wang > > ; u-boot@lists.denx.de; York Sun > > ; Z.q. Hou ; Mingkai Hu > > > > Subject: Re: [U-Boot] [EXT] Re: [

[PATCH v2 1/1] efi_loader: pass address to efi_install_fdt()

2019-12-03 Thread Heinrich Schuchardt
As part of moving the parsing of command line arguments to do_bootefi() call efi_install_fdt() with the address of the device tree instead of a string. If the address is EFI_FDT_USE_INTERNAL (= 0), the internal device tree is used. Signed-off-by: Heinrich Schuchardt --- v2 provide consta

Re: [PATCH v2 00/16] efi_loader: add secure boot support

2019-12-03 Thread Heinrich Schuchardt
On 12/4/19 3:43 AM, AKASHI Takahiro wrote: Tom, Simon, Heinrich, I have submitted three major patch sets for UEFI secure boot: * x509/pkcs7 parser * RSA library extension * UEFI secure boot I have no technical issues to fix now and have seen only a few minor comments on them (if I confirm that

RE: [PATCH v3 3/6] test: dm: add a simple unit test for DSA class

2019-12-03 Thread Priyanka Jain
>-Original Message- >From: U-Boot On Behalf Of Alex Marginean >Sent: Tuesday, December 3, 2019 8:27 PM >To: u-boot@lists.denx.de >Cc: Joe Hershberger ; Claudiu Manoil >; Vladimir Oltean >Subject: [PATCH v3 3/6] test: dm: add a simple unit test for DSA class > >The test pings the local

RE: [EXT] Re: [PATCH 0/8] Transition of fsl qspi driver to spi-mem framework

2019-12-03 Thread Kuldeep Singh
> -Original Message- > From: Schrempf Frieder > Sent: Tuesday, December 3, 2019 6:17 PM > To: Kuldeep Singh ; u-boot@lists.denx.de > Cc: Priyanka Jain ; ja...@amarulasolutions.com; > s...@denx.de; Ashish Kumar ; Ye Li > Subject: Re: [EXT] Re: [PATCH 0/8] Transition of fsl qspi driver to

Re: [U-Boot] [PATCH 1/3] Makefile: don't try to construct CLEAN_FILES based on config

2019-12-03 Thread Tom Rini
On Sun, Nov 10, 2019 at 08:25:08AM -0800, Thomas Hebb wrote: > All of the clean targets (clean, dist-clean, mrproper) are run without > loading a configuration. That means that any conditional modification of > CLEAN_FILES will either always apply or never apply and so shouldn't be > in a conditio

Re: [U-Boot] [PATCH 1/3] Kconfig: disambiguate config names for tiny printf

2019-12-03 Thread Tom Rini
On Sun, Nov 10, 2019 at 08:23:53AM -0800, Thomas Hebb wrote: > 27084c03d36a ("spl: Allow tiny printf() to be controlled in SPL and > TPL") split this option in two for TPL and SPL, but didn't change the > Kconfig names, making them hard to set quickly. > > Signed-off-by: Thomas Hebb Applied to

[PATCH] configs: Enable SPL_FSL_PBL for some LayerScape platforms

2019-12-03 Thread Alison Wang
In commit , SPL_FSL_PBL is removed from the configs of some LayerScape platforms. Actually, SPL_FSL_PBL is needed for SD/NAND boot on LS1021A/LS1043A/LS1046A to create boot binary having SPL binary in PBI format concatenated with u-boot binary. SPL_FRAMEWORK is used on these platforms too. Signed-

Re: [U-Boot] [PATCH] ARM: omapl138_lcdk: Allow early init to start instruction cache

2019-12-03 Thread Tom Rini
On Sun, Nov 10, 2019 at 10:17:58AM -0600, Adam Ford wrote: > Currently the omapl138_lcdk has SKIP_LOWLEVEL_INIT set. > The README states there is a variation of this for the ARM926EJ-S > which allows the board to just skip the call to lowlevel_init() > and do the normal CP15 init which enables the

Re: [U-Boot] [PATCH v3 5/5] ARM: MediaTek: add basic support for MT8518 boards

2019-12-03 Thread Tom Rini
On Thu, Nov 07, 2019 at 07:28:44PM +0800, mingming lee wrote: > This adds a general board file based on MT8518 SoCs from MediaTek. > > Apart from the generic parts (cpu) we add some low level init codes > and initialize the early clocks. > > This commit is adding the basic boot support for the M

Re: [U-Boot] [PATCH] tbs2910: Disable VxWorks image booting support

2019-12-03 Thread Tom Rini
On Wed, Nov 27, 2019 at 09:23:05AM -0500, Tom Rini wrote: > There are currently no known users of this functionality on this > platform, disable it to prepare for additional VxWorks functionality > that would cause this platform to fail to link. > > Cc: Soeren Moch > Signed-off-by: Tom Rini > A

Re: [U-Boot] [PATCH 1/4] mmc: davinci: drop support for ti, dm6441-mmc

2019-12-03 Thread Tom Rini
On Thu, Nov 14, 2019 at 04:10:28PM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The DM family of DaVinci SoCs is no longer supported. Drop the > irrelevant code from the driver. > > Signed-off-by: Bartosz Golaszewski Applied to u-boot/master, thanks! -- Tom signature.

RE: [PATCH 5/5] arch: armv8: fsl-layerscape: export serdes config to environment

2019-12-03 Thread Priyanka Jain
>-Original Message- >From: Alex Marginean >Sent: Tuesday, December 3, 2019 4:16 PM >To: u-boot@lists.denx.de >Cc: Priyanka Jain ; Pankaj Bansal >; Andy Tang ; Vladimir >Oltean ; Claudiu Manoil >; Florin Laurentiu Chiculita >; Razvan Ionut Cirjan >; Madalin Bucur ; >Alexandru Marginean

Re: [U-Boot] [PATCH 2/2] mtd: mtdcore: Drop unused mtd_table

2019-12-03 Thread Tom Rini
On Tue, Nov 26, 2019 at 08:41:00PM -0500, Tom Rini wrote: > The array 'mtd_table' is unused in the code. Remove this as gcc doesn't > always discard unused global variables. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 2/4] mmc: davinci: drop struct davinci_mmc_plat

2019-12-03 Thread Tom Rini
On Thu, Nov 14, 2019 at 04:10:29PM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > struct mmc_config & struct mmc don't need to be exported over platform > data, but can instead be private in the driver. > > Remove struct davinci_mmc_plat. > > Signed-off-by: Bartosz Golaszews

Re: [U-Boot] [PATCH] spl: ymodem: Fix loading of fit image

2019-12-03 Thread Tom Rini
On Thu, Nov 14, 2019 at 06:33:30PM +0530, Lokesh Vutla wrote: > spl ymodem driver always assumes that 1 BUF_SIZE is read in one stream. > This might not be true when image is not padded to BUF_SIZE and the last > sector that gets loaded will be < BUF_SIZE. Drop this assumption and use > the actual

Re: [U-Boot] [PATCH v1 1/1] cmd: pxe: Fix bootm argument count

2019-12-03 Thread Tom Rini
On Mon, Nov 18, 2019 at 04:41:49PM -0800, Vladimir Olovyannikov wrote: > From: Abhishek Shah > > pxe command parses the init ramfs address(through initrd lable in > pxe config file), but is not passing it to bootm command as argument > as bootm_argc count is not increased. > > Signed-off-by: Ab

Re: [U-Boot] [PATCH 2/3] Makefile: consolidate hardcoded lists of files to clean

2019-12-03 Thread Tom Rini
On Sun, Nov 10, 2019 at 08:25:09AM -0800, Thomas Hebb wrote: > Currently, we have two places where we list files that should always be > cleaned if they exist. One, the CLEAN_FILES variable, is from the Linux > build system and is the proper place to list files. > > The other, a set of extra argu

Re: [U-Boot] [PATCH 3/3] Makefile: add Rockchip idbloader.img to CLEAN_FILES

2019-12-03 Thread Tom Rini
On Sun, Nov 10, 2019 at 08:25:10AM -0800, Thomas Hebb wrote: > This file is generated in the root during Rockchip builds and so should > be cleaned up. > > Signed-off-by: Thomas Hebb > Reviewed-by: Michael Trimarchi Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP si

Re: [U-Boot] [PATCH 3/3] ARM: omapl138_lcdk: Enable SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE

2019-12-03 Thread Tom Rini
On Sun, Nov 10, 2019 at 08:01:33AM -0600, Adam Ford wrote: > In order to further prepare for full device tree support in SPL, > this patch enables both SPL_DM_SEQ_ALIAS and SPL_OF_TRANSLATE. > Both of these are already enabled in U-Boot, so SPL will have > the same functionality > > Signed-off-by

Re: [U-Boot] [PATCH 1/2] pci: Only link pci_rom.o in some cases

2019-12-03 Thread Tom Rini
On Tue, Nov 26, 2019 at 08:40:59PM -0500, Tom Rini wrote: > The content of pci_rom.c is only used in a few cases. Only build and > link in these cases to avoid a global variable as gcc doesn't always > discard those when they are unused. > > Signed-off-by: Tom Rini Applied to u-boot/master, th

Re: [U-Boot] [PATCH] bootm: vxworks: Support Linux compatible standard DTB for ARM and PPC

2019-12-03 Thread Tom Rini
On Fri, Nov 15, 2019 at 12:21:17AM -0800, Bin Meng wrote: > From: Lihua Zhao > > Enhance do_bootm_vxworks() to support Linux compatible standard DTB > for ARM and PPC, when the least significant bit of flags in VxWorks > bootargs is set. Otherwise it falls back to the existing bootm flow > which

Re: [U-Boot] [PATCH v3 3/5] mmc: mtk-sd: Adjust the mmc tuning flow

2019-12-03 Thread Tom Rini
On Thu, Nov 07, 2019 at 07:28:42PM +0800, mingming lee wrote: > 1.Support cmd response and data tuning together. > 2.Support hs400 cmd responese tuning. > > Signed-off-by: mingming lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 2/3] ARM: omapl138_lcdk: Increase malloc pool before relocation

2019-12-03 Thread Tom Rini
On Sun, Nov 10, 2019 at 08:01:32AM -0600, Adam Ford wrote: > Driver model requires a malloc pool to allocate memory before > relocations to operate serial and some other devices. This patch > increases the pool size to 2K. > > Signed-off-by: Adam Ford > Tested-by: Bartosz Golaszewski > Reviewe

Re: [U-Boot] [PATCH 3/4] board: omapl138_lcdk: add the mmc device to SPL

2019-12-03 Thread Tom Rini
On Thu, Nov 14, 2019 at 04:10:30PM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > We don't have full device-tree support in SPL yet - add an appropriate > U_BOOT_DEVICE() to the board file. > > Signed-off-by: Bartosz Golaszewski Applied to u-boot/master, thanks! -- Tom

Re: Please pull u-boot-dm

2019-12-03 Thread Tom Rini
On Tue, Dec 03, 2019 at 09:52:28AM -0700, Simon Glass wrote: > Hi Tom, > > Build here: > https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/1506 > > The following changes since commit dd38416d6b354acb5d12e2bd1fd45e7e63b8a605: > > Merge git://git.denx.de/u-boot-socfpga (2019-11-28 07

Re: Pull request for UEFI sub-system for efi-2020-01-rc5

2019-12-03 Thread Tom Rini
On Tue, Dec 03, 2019 at 08:57:47PM +0100, Heinrich Schuchardt wrote: > The following changes since commit 1297989804d66c8db92efbf9fa2e6cc76965a943: > > Prepare v2020.01-rc4 (2019-12-02 22:09:27 -0500) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u

Re: [U-Boot] [PATCHv2] blk: Make use of CONFIG_HAVE_BLOCK_DEVICE more

2019-12-03 Thread Tom Rini
On Mon, Dec 02, 2019 at 10:52:31AM -0500, Tom Rini wrote: > When we do not have CONFIG_BLK (or SPL/TPL) enabled there are very few > cases where we need the blk_legacy code linked in. To catch these, build > when we have CONFIG_HAVE_BLOCK_DEVICE set. In addition, we only need > cmd/blk_common.o t

Re: [U-Boot] [PATCH v2] armv7m: cache: add invalidate_icache_all() stub

2019-12-03 Thread Tom Rini
On Tue, Nov 26, 2019 at 12:19:27PM +0100, Giulio Benetti wrote: > This commit: > https://gitlab.denx.de/u-boot/u-boot/commit/d409c962169bd293e39386d0ddfa64d5222a3be4 > causes build failure with ICACHE enabled. This is due to missing > invalidate_icache_all() stub. Let's add empty invalidate_icache

Re: [U-Boot] [PATCH 2/2] Convert CONFIG_SYS_CORTINA_FW_IN_MMC et al to Kconfig

2019-12-03 Thread Tom Rini
On Tue, Nov 26, 2019 at 05:32:43PM -0500, Tom Rini wrote: > This converts the following to Kconfig: >CONFIG_SYS_CORTINA_FW_IN_MMC >CONFIG_SYS_CORTINA_FW_IN_NAND >CONFIG_SYS_CORTINA_FW_IN_NOR >CONFIG_SYS_CORTINA_FW_IN_REMOTE >CONFIG_SYS_CORTINA_FW_IN_SPIFLASH > > Signed-off-by:

Re: [U-Boot] [PATCH 4/4] mmc: davinci: fix mmc boot in SPL

2019-12-03 Thread Tom Rini
On Thu, Nov 14, 2019 at 04:10:31PM +0100, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The MMC boot is currently broken on omapl138-lcdk after enabling the > driver model in SPL. The main problem is the driver's bind callback not > being called after probe in SPL (even with the DM_

Re: [U-Boot] [PATCH v2] cosmetic: Fix spelling and whitespace errors

2019-12-03 Thread Tom Rini
On Wed, Nov 13, 2019 at 06:18:03PM -0800, Thomas Hebb wrote: > Signed-off-by: Thomas Hebb Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH] regmap: Fix potential memory leaks

2019-12-03 Thread Tom Rini
On Mon, Nov 11, 2019 at 03:29:05PM +0530, Faiz Abbas wrote: > Free allocated memory in case of an error in regmap_init_mem() and > regmap_init_mem_index(). > > Signed-off-by: Faiz Abbas Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 3/3] Kconfig: make TPL_DM_SERIAL depend on TPL_DM

2019-12-03 Thread Tom Rini
On Sun, Nov 10, 2019 at 08:23:55AM -0800, Thomas Hebb wrote: > This missing dependency seems like an oversight, since all other > TPL_DM_* options have it. > > Signed-off-by: Thomas Hebb Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH 1/3] ARM: omapl138_lcdk: Separate BSS in SPL

2019-12-03 Thread Tom Rini
On Sun, Nov 10, 2019 at 08:01:31AM -0600, Adam Ford wrote: > In preparation to use full device tree support, SPL can separate > BSS from text region. > > This patch enables SPL_SEPARATE_BSS. > > Signed-off-by: Adam Ford > Tested-by: Bartosz Golaszewski > Reviewed-by: Bartosz Golaszewski > >

Re: [U-Boot] [PATCH v3 4/5] pinctrl: add driver for MT8518

2019-12-03 Thread Tom Rini
On Thu, Nov 07, 2019 at 07:28:43PM +0800, mingming lee wrote: > Add Pinctrl driver for MediaTek MT8518 SoC. > > Signed-off-by: mingming lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v3 2/5] clk: mediatek: add driver for MT8518

2019-12-03 Thread Tom Rini
On Thu, Nov 07, 2019 at 07:28:41PM +0800, mingming lee wrote: > Add clock driver for MediaTek MT8518 SoC. > > Signed-off-by: mingming lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [U-Boot] [PATCH v3 1/5] ARM: MediaTek: Add support for MediaTek MT8518 SoC

2019-12-03 Thread Tom Rini
On Thu, Nov 07, 2019 at 07:28:40PM +0800, mingming lee wrote: > Add support for MediaTek MT8518 SoC. This include the file > that will initialize the SoC after boot and its device tree. > > Signed-off-by: mingming lee Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP s

Re: Load Debian/Fedora via EFI

2019-12-03 Thread Ilias Apalodimas
On Tue, Dec 03, 2019 at 08:51:09PM +0100, Heinrich Schuchardt wrote: > On 12/2/19 3:21 PM, Michal Simek wrote: > > On 29. 11. 19 19:23, Heinrich Schuchardt wrote: > >> On 11/29/19 11:16 AM, Michal Simek wrote: > >>> Hi, > >>> > >>> I tried to boot latest debian and fedora rootfs via distro boot and

Re: [PATCH v2 00/16] efi_loader: add secure boot support

2019-12-03 Thread AKASHI Takahiro
Tom, Simon, Heinrich, I have submitted three major patch sets for UEFI secure boot: * x509/pkcs7 parser * RSA library extension * UEFI secure boot I have no technical issues to fix now and have seen only a few minor comments on them (if I confirm that you have no more comments, I can submit new v

RE: [U-Boot] [PATCH 16/17] imx: add dtsi for i.MX8MN

2019-12-03 Thread Peng Fan
> Subject: Re: [U-Boot] [PATCH 16/17] imx: add dtsi for i.MX8MN > > On 12/3/2019 5:07 PM, Peng Fan wrote: > > > > > >> -Original Message- > >> From: Troy Kisky > >> Sent: 2019年12月4日 6:54 > >> To: Peng Fan ; Stefano Babic ; > >> u-boot@lists.denx.de > >> Subject: re: [U-Boot] [PATCH 16/17]

RE: [U-Boot] [EXT] Re: [PATCHv2 1/2] PCI: layerscape: Add Support for ls2088 PCIe EP mode

2019-12-03 Thread Xiaowei Bao
> -Original Message- > From: Ramon Fried > Sent: 2019年12月4日 4:01 > To: Xiaowei Bao > Cc: Ramon Fried ; Hongbo Wang > ; u-boot@lists.denx.de; York Sun > ; Z.q. Hou ; Mingkai Hu > > Subject: Re: [U-Boot] [EXT] Re: [PATCHv2 1/2] PCI: layerscape: Add Support > for ls2088 PCIe EP mode > >

Re: [U-Boot] [PATCH 16/17] imx: add dtsi for i.MX8MN

2019-12-03 Thread Troy Kisky
On 12/3/2019 5:07 PM, Peng Fan wrote: > > >> -Original Message- >> From: Troy Kisky >> Sent: 2019年12月4日 6:54 >> To: Peng Fan ; Stefano Babic ; >> u-boot@lists.denx.de >> Subject: re: [U-Boot] [PATCH 16/17] imx: add dtsi for i.MX8MN >> >> |+ gpio1: gpio@3020 { >>

RE: [U-Boot] [PATCH 16/17] imx: add dtsi for i.MX8MN

2019-12-03 Thread Peng Fan
> -Original Message- > From: Troy Kisky > Sent: 2019年12月4日 6:54 > To: Peng Fan ; Stefano Babic ; > u-boot@lists.denx.de > Subject: re: [U-Boot] [PATCH 16/17] imx: add dtsi for i.MX8MN > > |+ gpio1: gpio@3020 { > |+ compatible = "fs

[PATCH 1/2] rockchip: misc: Only assign serial# variable if unset

2019-12-03 Thread Paul Kocialkowski
The serial# environment variable is a read-only special variable, that can only be set once. As a result, if the environment was saved to a persistent storage location, attempting to set it again in rockchip_cpuid_set will fail and halt the boot with the following error: Solve this by checking whe

Re: [PATCH v1 00/20] Enable ARM Trusted Firmware for U-Boot

2019-12-03 Thread Tom Rini
On Tue, Dec 03, 2019 at 09:09:48PM +0100, Simon Goldschmidt wrote: > Am 03.12.2019 um 15:59 schrieb Dalon L Westergreen: > > > > > > On Tue, 2019-12-03 at 14:45 +, Ang, Chee Hong wrote: > > > > On Tue, Dec 3, 2019 at 2:37 AM Ang, Chee Hong < > > > > chee.hong@intel.com > > > > > > > > >

[PATCH 1/4] spl: opensbi: specify main hart as preferred boot hart

2019-12-03 Thread Lukas Auer
OpenSBI uses a relocation lottery to determine the hart to relocate OpenSBI to its link address. In the U-Boot SPL boot flow, the main hart schedules the secondary harts to enter OpenSBI before doing so itself. One of the secondary harts will therefore always be the winner of the relocation lottery

Re: [PATCH v1 00/20] Enable ARM Trusted Firmware for U-Boot

2019-12-03 Thread Dalon L Westergreen
On Tue, 2019-12-03 at 14:45 +, Ang, Chee Hong wrote: > > On Tue, Dec 3, 2019 at 2:37 AM Ang, Chee Hong < > > chee.hong@intel.com > > > > > wrote: > > > > Am 02.12.2019 um 17:10 schrieb Ang, Chee Hong: > > > > > > On Mon, Dec 2, 2019 at 4:18 PM Ang, Chee Hong > > > > > > < > > > > > > che

re: [U-Boot] [PATCH 16/17] imx: add dtsi for i.MX8MN

2019-12-03 Thread Troy Kisky
|+ gpio1: gpio@3020 { |+ compatible = "fsl,imx8mn-gpio", |"fsl,imx35-gpio"; |+ reg = <0x3020 0x1>; Should these be 64 bit addresses ? tkisky@OS2:~/u-boot$ make imx8mn_ddr4_evk_defconfig # # configuration

[PATCH] spl: fit: enable hash control even without signature

2019-12-03 Thread Dario Binacchi
The function "fit_image_verify_with_data" that performs the integrity protection of FIT images is already able to correctly manage the device tree nodes that require signature and/or hash control. Tests with device tree with or without hash nodes but certainly not signed have given positive results

Re: [U-Boot] [ANNOUNCEMENT] Expect ML downtime at 2019-12-03 11:00 CET

2019-12-03 Thread Alexandru Marginean
Hi Claudius, On 12/3/2019 1:28 PM, Claudius Heine wrote: On 03/12/2019 11.25, Claudius Heine wrote: On 03/12/2019 10.05, Claudius Heine wrote: On 03/12/2019 08.44, Claudius Heine wrote: Hi everyone, because we are moving the mailing list to a different server, we have to take it down for hop

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Tom Rini
On Tue, Dec 03, 2019 at 02:56:38PM -0600, Joe Hershberger wrote: > Hey Tom, > > On Tue, Dec 3, 2019 at 11:05 AM Tom Rini wrote: > > > > On Tue, Dec 03, 2019 at 10:45:44AM -0600, Joe Hershberger wrote: > > > Hi Tom, > > > > > > On Mon, Dec 2, 2019 at 9:11 PM Tom Rini wrote: > > > > > > > > Hey al

[PATCH 2/4] riscv: add functions for reading the IPI status

2019-12-03 Thread Lukas Auer
Add the function riscv_get_ipi() for reading the pending status of IPIs. The supported controllers are Andes' Platform Level Interrupt Controller (PLIC), the Supervisor Binary Interface (SBI), and SiFive's Core Local Interruptor (CLINT). Signed-off-by: Lukas Auer --- I do not have access to the d

Re: [PATCH v2 1/2] common: fdt_support: add support for setting usable memory

2019-12-03 Thread Joakim Tjernlund
On Tue, 2019-12-03 at 14:04 +0200, Igor Opaniuk wrote: > CAUTION: This email originated from outside of the organization. Do not click > links or open attachments unless you recognize the sender and know the > content is safe. > > > From: Igor Opaniuk > > Add support for setting linux,usable-

[PATCH 0/4] Fixes for RISC-V U-Boot SPL / OpenSBI boot flow

2019-12-03 Thread Lukas Auer
Rick's recent patch series, which adds support for U-Boot SPL to the Andes platform, brought several problems of the current U-Boot SPL boot flow on RISC-V to light. Discussion on the relevant parts starts at [1]. The problem showed itself in the form of code corruption. At start, OpenSBI relocate

Re: [PATCH] arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7

2019-12-03 Thread Tom Rini
On Tue, Dec 03, 2019 at 01:34:25PM -0300, Fabio Estevam wrote: > Hi Tom, > > On Tue, Dec 3, 2019 at 11:28 AM Tom Rini wrote: > > > > In the case of i.MX6 and i.MX7 family SoCs it is safe (from an errata > > point of view) to use thumb2 by default to save space. > > > > Cc: Stefano Babic > > Cc:

[PATCH 4/4] spl: opensbi: wait for ack from secondary harts before entering OpenSBI

2019-12-03 Thread Lukas Auer
At the start, OpenSBI relocates itself to its link address. If the link address ranges of U-Boot SPL and OpenSBI overlap, the relocation can lead to code corruption if a hart is still running U-Boot SPL during relocation. To avoid this problem, the main hart is specified as the preferred boot hart

[PATCH 3/4] riscv: add option to wait for ack from secondary harts in smp functions

2019-12-03 Thread Lukas Auer
Add a wait option to smp_call_function() to wait for the secondary harts to acknowledge the call-function request. The request is considered to be acknowledged once each secondary hart has cleared the corresponding IPI. As part of the call-function request, the secondary harts invalidate the instr

Re: [PATCH 1/2] rockchip: misc: Only assign serial# variable if unset

2019-12-03 Thread Heiko Stuebner
Hi Paul, On 03.12.19 16:46, Paul Kocialkowski wrote: The serial# environment variable is a read-only special variable, that can only be set once. As a result, if the environment was saved to a persistent storage location, attempting to set it again in rockchip_cpuid_set will fail and halt the bo

[PATCH] arm: omap: fix MPU DPLL divisor for 800MHz clock

2019-12-03 Thread Dario Binacchi
In locked condition CLKOUT = CLKINP * [M / (N + 1)]. Signed-off-by: Dario Binacchi --- arch/arm/mach-omap2/am33xx/clock_am33xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/am33xx/clock_am33xx.c b/arch/arm/mach-omap2/am33xx/clock_am33xx.c index 32cdf

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Joe Hershberger
Hey Tom, On Tue, Dec 3, 2019 at 11:05 AM Tom Rini wrote: > > On Tue, Dec 03, 2019 at 10:45:44AM -0600, Joe Hershberger wrote: > > Hi Tom, > > > > On Mon, Dec 2, 2019 at 9:11 PM Tom Rini wrote: > > > > > > Hey all, > > > > > > It's release day and here is v2020.01-rc4. Yes, I'm still working on

Re: [PATCH v1 00/20] Enable ARM Trusted Firmware for U-Boot

2019-12-03 Thread Simon Goldschmidt
Am 02.12.2019 um 11:25 schrieb chee.hong@intel.com: From: "Ang, Chee Hong" New U-boot flow with ARM Trusted Firmware (ATF) support: SPL (EL3) -> ATF-BL31 (EL3) -> U-Boot Proper (EL2) -> Linux (EL1) SPL loads the u-boot.itb which consist of: 1) u-boot-nodtb.bin (U-Boot Proper image) 2) u-bo

Pull request for UEFI sub-system for efi-2020-01-rc5

2019-12-03 Thread Heinrich Schuchardt
The following changes since commit 1297989804d66c8db92efbf9fa2e6cc76965a943: Prepare v2020.01-rc4 (2019-12-02 22:09:27 -0500) are available in the Git repository at: https://gitlab.denx.de/u-boot/custodians/u-boot-efi.git tags/efi-2020-01-rc5 for you to fetch changes up to 0bffb8c46b109dcd8

Re: [PATCH v1 00/20] Enable ARM Trusted Firmware for U-Boot

2019-12-03 Thread Simon Goldschmidt
Am 03.12.2019 um 19:31 schrieb Ang, Chee Hong: On Tue, Dec 3, 2019 at 3:45 PM Ang, Chee Hong wrote: On Tue, Dec 3, 2019 at 2:37 AM Ang, Chee Hong wrote: Am 02.12.2019 um 17:10 schrieb Ang, Chee Hong: On Mon, Dec 2, 2019 at 4:18 PM Ang, Chee Hong wrote: On Mon, Dec 2, 2019 at 3:08 PM

Re: [PATCH v1 00/20] Enable ARM Trusted Firmware for U-Boot

2019-12-03 Thread Simon Goldschmidt
Am 03.12.2019 um 15:59 schrieb Dalon L Westergreen: On Tue, 2019-12-03 at 14:45 +, Ang, Chee Hong wrote: On Tue, Dec 3, 2019 at 2:37 AM Ang, Chee Hong < chee.hong@intel.com wrote: Am 02.12.2019 um 17:10 schrieb Ang, Chee Hong: On Mon, Dec 2, 2019 at 4:18 PM Ang, Chee Hong < chee.h

Re: [U-Boot] [PATCH v2 1/3] mach-imx: bootaux: print stack pointer and reset vector

2019-12-03 Thread Oleksandr Suvorov
On Thu, Nov 28, 2019 at 3:56 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > 1. Change information printed about loaded M4 binary, print the stack > pointer and reset vector addressed. > 2. Add sanity check for the address provided as param. > > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksa

Re: Raspberry Pi Compute Module 1 mini-UART

2019-12-03 Thread edrose
I've done a little more work on this. I've been able to swap the UART pins around to a certain extent, but it's still being stubborn. I've been able to move the console output from the main UART from GPIO14 to GPIO32. I've somehow also managed to get the main UART to output to both GPIO32 and GPIO1

Re: [PATCH 2/2] rockchip: misc: Don't fail if ethaddr is already set

2019-12-03 Thread Heiko Stuebner
On 03.12.19 16:46, Paul Kocialkowski wrote: rockchip_setup_macaddr will return -1 if ethaddr is already set, which gets propagated to misc_init_r and eventually halts the boot process. While checking that the variable is not already set before attempting to setit is legitimate (it's a set-once

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Tom Rini
On Tue, Dec 03, 2019 at 06:00:11PM +0100, Marek Vasut wrote: > On 12/3/19 5:52 PM, Simon Glass wrote: > > Hi Tom, > > > > On Mon, 2 Dec 2019 at 20:11, Tom Rini wrote: > >> > >> Hey all, > >> > >> It's release day and here is v2020.01-rc4. Yes, I'm still working on > >> fixing all of the issues t

Re: [U-Boot] [EXT] Re: [PATCHv2 1/2] PCI: layerscape: Add Support for ls2088 PCIe EP mode

2019-12-03 Thread Ramon Fried
On Tue, Dec 3, 2019 at 4:32 AM Xiaowei Bao wrote: > > Hi Ramon, > > Do you have any comments about this? Thanks a lot. > > Best regards > Xiaowei > > From: Xiaowei Bao > Sent: 2019年11月26日 10:52 > To: Ramon Fried > Cc: Bin Meng ; Simon Glass ; M.h. Lian > ; Z.q. Hou ; Mingkai Hu > ; Hongbo Wang

Re: [U-Boot] [PATCH v2 3/3] mach-imx: bootaux: elf firmware support

2019-12-03 Thread Oleksandr Suvorov
On Thu, Nov 28, 2019 at 3:57 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Currently imx-specific bootaux command doesn't support ELF format > firmware for Cortex-M4 core. > > This patches introduces a PoC implementation of handling elf firmware > (load_elf_image_phdr() was copy-pasted from e

Re: Load Debian/Fedora via EFI

2019-12-03 Thread Heinrich Schuchardt
On 12/2/19 3:21 PM, Michal Simek wrote: > On 29. 11. 19 19:23, Heinrich Schuchardt wrote: >> On 11/29/19 11:16 AM, Michal Simek wrote: >>> Hi, >>> >>> I tried to boot latest debian and fedora rootfs via distro boot and >>> getting errors. >>> I have tried to run just one command and it is failing.

Re: [U-Boot] [PATCH v1 1/6] ARM: dts: imx6_colibri: introduce fec node

2019-12-03 Thread Oleksandr Suvorov
On Mon, Nov 4, 2019 at 12:13 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Sync DTS with the mainline Linux and introduce fec node. > > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov > --- > > arch/arm/dts/imx6-colibri.dts | 20 > 1 file changed, 20 inser

[PATCH v3 3/6] test: dm: add a simple unit test for DSA class

2019-12-03 Thread Alex Marginean
The test pings the local IP address though different ports of a sandbox DSA device. Port traffic is filtered and the test verifies that ping works only on enabled ports. The additional interfaces require MAC addresses, these have been added to sandbox default environment. Signed-off-by: Alex Marg

Re: [U-Boot] [PATCH v2 1/8] image: android: Add functions for handling dtb field

2019-12-03 Thread Sam Protsenko
Hi, On Tue, Dec 3, 2019 at 3:59 PM Eugeniu Rosca wrote: > > Hi Sam, > > On Mon, Dec 02, 2019 at 07:19:53PM +0200, Sam Protsenko wrote: > > On Tue, Oct 29, 2019 at 3:49 AM Eugeniu Rosca wrote: > > > On Wed, Oct 23, 2019 at 05:34:20PM +0300, Sam Protsenko wrote: > > > > Android Boot Image v2 adds

Re: [U-Boot] [PATCH v2 3/8] cmd: bootimg: Add bootimg command

2019-12-03 Thread Eugeniu Rosca
Hi Sam, Cc: Aleksandr, Roman As expressed in the attached e-mail, to minimize the headaches extending the argument list of "bootimg" in future, can we please agree on below? On Wed, Oct 23, 2019 at 05:34:22PM +0300, Sam Protsenko wrote: > +U_BOOT_CMD( > + bootimg, CONFIG_SYS_MAXARGS, 0, do_bo

Re: [PATCH v3] warp7: Fix U-Boot corruption after saving the environment

2019-12-03 Thread Heiko Schocher
Hello Fabio, Am 03.12.2019 um 12:56 schrieb Fabio Estevam: Hi Tom, On Tue, Dec 3, 2019 at 12:10 AM Tom Rini wrote: Thanks for the rework. Can you please look at what other i.MX boards are likely fine, or perhaps more clearly if any i.MX5/6 SoCs do have thumb2 related errata that might make

[PATCH v3 0/6] Introduce DSA Ethernet switch class and Felix driver

2019-12-03 Thread Alex Marginean
DSA stands for Distributed Switch Architecture and it is a subsystem introduced in the Linux kernel to support switches that: - have an Ethernet link up to the CPU - use some form of tagging to identify the source/destination port for Rx/Tx - may be cascaded in tree-like structures. DSA is descr

Re: [U-Boot] [PATCH v1 3/6] ARM: dts: imx6_apalis: introduce fec node

2019-12-03 Thread Oleksandr Suvorov
On Mon, Nov 4, 2019 at 12:16 PM Igor Opaniuk wrote: > > From: Igor Opaniuk > > Sync DTS with the mainline Linux and introduce fec node. > > Signed-off-by: Igor Opaniuk Reviewed-by: Oleksandr Suvorov > --- > > arch/arm/dts/imx6-apalis.dts | 22 ++ > 1 file changed, 22 inse

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

2019-12-03 Thread Alex Marginean
The DSA sandbox driver is used for DSA unit testing. It implements a simple 4 port switch that uses a very simple tag to identify the ports. The DSA driver comes paired with an Ethernet driver that loops packets back and can selectively filter traffic on DSA switch ports. Signed-off-by: Alex Marg

RE: [PATCH v1 00/20] Enable ARM Trusted Firmware for U-Boot

2019-12-03 Thread Ang, Chee Hong
> On Tue, Dec 3, 2019 at 3:45 PM Ang, Chee Hong > wrote: > > > > > On Tue, Dec 3, 2019 at 2:37 AM Ang, Chee Hong > > > > > > wrote: > > > > > > > > > Am 02.12.2019 um 17:10 schrieb Ang, Chee Hong: > > > > > >> On Mon, Dec 2, 2019 at 4:18 PM Ang, Chee Hong > > > > > >> > > > > > >> wrote: > > > >

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Joe Hershberger
Hi Tom, On Mon, Dec 2, 2019 at 9:11 PM Tom Rini wrote: > > Hey all, > > It's release day and here is v2020.01-rc4. Yes, I'm still working on > fixing all of the issues that pop up as I get the MTD clean-up series > ready to go. In fact, what I need to do at this point is grab the > handful of s

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Tom Rini
On Tue, Dec 03, 2019 at 10:20:51AM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 3 Dec 2019 at 10:07, Tom Rini wrote: > > > > On Tue, Dec 03, 2019 at 06:00:11PM +0100, Marek Vasut wrote: > > > On 12/3/19 5:52 PM, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Mon, 2 Dec 2019 at 20:11, To

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Marek Vasut
On 12/3/19 5:52 PM, Simon Glass wrote: > Hi Tom, > > On Mon, 2 Dec 2019 at 20:11, Tom Rini wrote: >> >> Hey all, >> >> It's release day and here is v2020.01-rc4. Yes, I'm still working on >> fixing all of the issues that pop up as I get the MTD clean-up series >> ready to go. In fact, what I ne

Re: [PATCH v3] warp7: Fix U-Boot corruption after saving the environment

2019-12-03 Thread Tom Rini
On Tue, Dec 03, 2019 at 06:07:57PM +0100, Heiko Schocher wrote: > Hello Fabio, > > Am 03.12.2019 um 12:56 schrieb Fabio Estevam: > > Hi Tom, > > > > On Tue, Dec 3, 2019 at 12:10 AM Tom Rini wrote: > > > > > Thanks for the rework. Can you please look at what other i.MX boards > > > are likely f

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Simon Glass
Hi Tom, On Tue, 3 Dec 2019 at 10:07, Tom Rini wrote: > > On Tue, Dec 03, 2019 at 06:00:11PM +0100, Marek Vasut wrote: > > On 12/3/19 5:52 PM, Simon Glass wrote: > > > Hi Tom, > > > > > > On Mon, 2 Dec 2019 at 20:11, Tom Rini wrote: > > >> > > >> Hey all, > > >> > > >> It's release day and here i

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Tom Rini
On Tue, Dec 03, 2019 at 10:45:44AM -0600, Joe Hershberger wrote: > Hi Tom, > > On Mon, Dec 2, 2019 at 9:11 PM Tom Rini wrote: > > > > Hey all, > > > > It's release day and here is v2020.01-rc4. Yes, I'm still working on > > fixing all of the issues that pop up as I get the MTD clean-up series >

Re: [PATCH] tools/imximage: fix reported DCD information for MX7ULP

2019-12-03 Thread Fabio Estevam
Hi Jorge, On Tue, Dec 3, 2019 at 11:07 AM Jorge Ramirez-Ortiz, Foundries wrote: > sure that would work. given that the default 0x0091 is valid on > most of the cases - well all but the mx7ulp - we could apply this default and > only change to the > Kconfig value if defined. > > should we go

Repeating of unknown commands

2019-12-03 Thread Martin Kaistra
Hi, I have a question regarding the command repeat feature when you press return without additional input. The current behavior is, that unknown commands are repeated like regular commands: => foobar Unknown command 'foobar' - try 'help' => Unknown command 'foobar' - try 'help' This wasn't the

Re: [PATCH] test.py: Make search for autoconf.mk more permission

2019-12-03 Thread Simon Glass
Hi Stephen, On Mon, 2 Dec 2019 at 09:04, Stephen Warren wrote: > > On 12/1/19 7:34 PM, Simon Glass wrote: > > Buildman doesn't store this file in the same directory as a normal build. > > Update the conftest code to handle both cases. > > Shouldn't we just fix buildman so that it puts the files i

Please pull u-boot-dm

2019-12-03 Thread Simon Glass
Hi Tom, Build here: https://gitlab.denx.de/u-boot/custodians/u-boot-dm/pipelines/1506 The following changes since commit dd38416d6b354acb5d12e2bd1fd45e7e63b8a605: Merge git://git.denx.de/u-boot-socfpga (2019-11-28 07:34:41 -0500) are available in the Git repository at: https://gitlab.denx.

Re: [U-Boot-Custodians] [ANN] U-Boot v2020.01-rc4 released

2019-12-03 Thread Simon Glass
Hi Tom, On Mon, 2 Dec 2019 at 20:11, Tom Rini wrote: > > Hey all, > > It's release day and here is v2020.01-rc4. Yes, I'm still working on > fixing all of the issues that pop up as I get the MTD clean-up series > ready to go. In fact, what I need to do at this point is grab the > handful of siz

Re: [PATCH] arm: imx: Default to SYS_THUMB_BUILD for i.MX6/7

2019-12-03 Thread Fabio Estevam
Hi Tom, On Tue, Dec 3, 2019 at 11:28 AM Tom Rini wrote: > > In the case of i.MX6 and i.MX7 family SoCs it is safe (from an errata > point of view) to use thumb2 by default to save space. > > Cc: Stefano Babic > Cc: Fabio Estevam > Signed-off-by: Tom Rini I think it is safer to apply this afte

[PATCH 2/2] rockchip: misc: Don't fail if ethaddr is already set

2019-12-03 Thread Paul Kocialkowski
rockchip_setup_macaddr will return -1 if ethaddr is already set, which gets propagated to misc_init_r and eventually halts the boot process. While checking that the variable is not already set before attempting to setit is legitimate (it's a set-once variable), this is no good reason to halt the

[PATCH v2] arm64: zynqmp: Do not assing MIO34 that early on zcu100

2019-12-03 Thread Michal Simek
MIO34 is connected to POWER_KILL signal. When MIO configuration is done in psu_init() and this pin is assigned to PMU but PMU configuration is not loaded yet. PMU gpio output is high that means board is powered off immediately. The patch is fixing this sequence that MIO34 stays assing to ps gpio IP

[PATCH v3 4/6] drivers: net: add Felix DSA switch driver

2019-12-03 Thread Alex Marginean
This driver is used for the Ethernet switch integrated into LS1028A NXP. Felix on LS1028A has 4 front panel ports and two internal ports, I/O to/from the switch is done through an ENETC Ethernet interface. The 4 front panel ports are available as Ethernet interfaces and can be used with the typical

  1   2   >