Re: [PATCH] riscv: ae350: Use #if defined instead of CONFIG_IS_ENABLED

2021-10-31 Thread Rick Chen
> From: Leo Yu-Chi Liang(梁育齊) > Sent: Wednesday, October 27, 2021 4:59 PM > To: Rick Jian-Zhi Chen(陳建志) ; Leo Yu-Chi Liang(梁育齊) > > Cc: u-boot@lists.denx.de > Subject: [PATCH] riscv: ae350: Use #if defined instead of CONFIG_IS_ENABLED > > According to ./include/linux/kconfig.h, >

Re: [PATCH 07/10] Convert CONFIG_OF_EMBED to Kconfig

2021-10-31 Thread Rick Chen
> From: U-Boot On Behalf Of Tom Rini > Sent: Sunday, October 31, 2021 11:04 AM > To: u-boot@lists.denx.de > Subject: [PATCH 07/10] Convert CONFIG_OF_EMBED to Kconfig > > This converts the following to Kconfig: >CONFIG_OF_EMBED > > Signed-off-by: Tom Rini > --- > README

Re: [PATCH 1/2] test/dm: fix watchdog test

2021-10-31 Thread Heinrich Schuchardt
Am 1. November 2021 00:46:49 MEZ schrieb Simon Glass : >On Thu, 28 Oct 2021 at 04:16, Heinrich Schuchardt > wrote: >> >> Avoid a build failure for CONFIG_WDT_GPIO=n. >> >> We need this setting to test watchdog based system reset. > >watchdog-based > >> >> Signed-off-by: Heinrich Schuchardt >>

[PATCH] dts: rockchip: rk3399: enable emmc phy for spl

2021-10-31 Thread Yifeng Zhao
adapting commit ac804143cf ("mmc: rockchip_sdhci: add phy and clock config for rk3399") to fix the issue "Not found emmc phy device". Signed-off-by: Yifeng Zhao --- arch/arm/dts/rk3399-u-boot.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/dts/rk3399-u-boot.dtsi

Please pull u-boot-x86

2021-10-31 Thread Bin Meng
Hi Tom, This PR includes the following x86 changes for v2022.01: - Fixes for x86 build with Clang/LLVM compiler - Tangier ACPI changes - Edison SD card detect pin fix - EFI on x86 doc update with latest instructions - PXE utility fixes to align with latest x86 zboot implementation Azure

RE: [PATCH] introduce CONFIG_DEVICE_TREE_INCLUDES

2021-10-31 Thread Roman Kopytin
Hi, all Currently I am waiting some help from our IT infrastructure department. -Original Message- From: Simon Glass Sent: Tuesday, October 26, 2021 4:28 AM To: Rasmus Villemoes Cc: U-Boot Mailing List ; Alex Kiernan ; Roman Kopytin ; Masahiro Yamada Subject: Re: [PATCH] introduce

[RFC PATCH] RFC: Sketch of dm event notification

2021-10-31 Thread Simon Glass
This is a patch for Takahiro to look at, just for illustration. Not ready for review. To run the test: ./u-boot -T -c "ut common test_event_probe" Signed-off-by: Simon Glass --- common/Kconfig| 11 common/Makefile | 2 + common/board_f.c

Re: [RFC 14/22] dm: blk: call efi's device-probe hook

2021-10-31 Thread Simon Glass
Hi Takahiro, On Mon, 11 Oct 2021 at 08:54, Simon Glass wrote: > > Hi Takahiro, > > On Sun, 10 Oct 2021 at 21:15, AKASHI Takahiro > wrote: > > > > Hi Simon, > > > > On Sun, Oct 10, 2021 at 08:14:23AM -0600, Simon Glass wrote: > > > Hi Takahiro, > > > > > > On Thu, 30 Sept 2021 at 23:04, AKASHI

Re: [PATCH] Azure: Move to windows-2019

2021-10-31 Thread Bin Meng
On Mon, Nov 1, 2021 at 1:25 AM Tom Rini wrote: > > As per https://github.com/actions/virtual-environments/issues/4312 the > Windows-2016 environments are scheduled for deprecation and removal in > early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 > is included here, hence

Re: [PATCH v1 2/2] x86: tangier: pinmux: Move error message to the caller

2021-10-31 Thread Bin Meng
On Mon, Nov 1, 2021 at 10:18 AM Bin Meng wrote: > > On Wed, Oct 27, 2021 at 10:23 PM Andy Shevchenko > wrote: > > > > Move error message to the caller of mrfld_pinconfig*() in order > > to unify them in the future. > > > > Signed-off-by: Andy Shevchenko > > --- > >

Re: [PATCH v1 2/2] x86: tangier: pinmux: Move error message to the caller

2021-10-31 Thread Bin Meng
On Wed, Oct 27, 2021 at 10:23 PM Andy Shevchenko wrote: > > Move error message to the caller of mrfld_pinconfig*() in order > to unify them in the future. > > Signed-off-by: Andy Shevchenko > --- > arch/x86/cpu/tangier/pinmux.c | 10 +++--- > 1 file changed, 3 insertions(+), 7 deletions(-)

Re: [RFC 07/22] dm: blk: add UCLASS_PARTITION

2021-10-31 Thread Simon Glass
Hi Takahiro, On Sun, 31 Oct 2021 at 19:52, AKASHI Takahiro wrote: > > On Sun, Oct 31, 2021 at 07:15:17PM -0600, Simon Glass wrote: > > Hi Takahiro, > > > > On Sun, 31 Oct 2021 at 18:36, AKASHI Takahiro > > wrote: > > > > > > On Sat, Oct 30, 2021 at 07:45:14AM +0200, Heinrich Schuchardt wrote: >

Re: [PATCH v1 1/2] x86: tangier: pinmux: Move is_protected assignment closer to its user

2021-10-31 Thread Bin Meng
On Mon, Nov 1, 2021 at 10:05 AM Bin Meng wrote: > > On Wed, Oct 27, 2021 at 10:23 PM Andy Shevchenko > wrote: > > > > Move is_protected assignment closer to its user. > > This increases readability and makes maintenance easier. > > > > Signed-off-by: Andy Shevchenko > > --- > >

Re: [PATCH v1 1/2] x86: tangier: pinmux: Move is_protected assignment closer to its user

2021-10-31 Thread Bin Meng
On Wed, Oct 27, 2021 at 10:23 PM Andy Shevchenko wrote: > > Move is_protected assignment closer to its user. > This increases readability and makes maintenance easier. > > Signed-off-by: Andy Shevchenko > --- > arch/x86/cpu/tangier/pinmux.c | 3 +-- > 1 file changed, 1 insertion(+), 2

Re: [RFC 07/22] dm: blk: add UCLASS_PARTITION

2021-10-31 Thread AKASHI Takahiro
On Sun, Oct 31, 2021 at 07:15:17PM -0600, Simon Glass wrote: > Hi Takahiro, > > On Sun, 31 Oct 2021 at 18:36, AKASHI Takahiro > wrote: > > > > On Sat, Oct 30, 2021 at 07:45:14AM +0200, Heinrich Schuchardt wrote: > > > > > > > > > Am 29. Oktober 2021 23:17:56 MESZ schrieb Simon Glass : > > > >Hi,

[PATCH 22/31] passage: Report the devicetree source

2021-10-31 Thread Simon Glass
It can be confusing to figure out where the devicetree came from. It seems important enough to warrant a message during boot. Add information about the number of devices and uclasses too since it is helpful to have some idea what is going on with driver model. Report the devicetree source in

[PATCH 25/31] bloblist: Relicense to allow BSD-3-Clause

2021-10-31 Thread Simon Glass
This implementation is intended to be copied to other projects and modified, to as to foster a standard means of communcating runtime information between firmware projects. The GPL-2 license is too restrictive for some projects, e.g. those intended as reference implementations rather than

[PATCH 14/31] arm: qemu: Add an SPL build

2021-10-31 Thread Simon Glass
Add an SPL build for qemu so we can test the standard passage feature. Include a binman definition so that SPL and U-Boot are in the same image. For now this just boots to a prompt. Signed-off-by: Simon Glass --- arch/arm/dts/qemu-arm-u-boot.dtsi| 22 + arch/arm/mach-qemu/Kconfig

[PATCH 12/31] bloblist: Use 'phase' consistently for bloblists

2021-10-31 Thread Simon Glass
We typically refer to the different U-Boot builds that a board runs through as phases. This avoids confusion with the word 'stage' which is used with bootstage, for example. Fix up some bloblist Kconfig help which uses the wrong term. Signed-off-by: Simon Glass --- common/Kconfig | 6 +++--- 1

[PATCH 30/31] passage: Add checks for pre-existing blobs

2021-10-31 Thread Simon Glass
Add checks / documentation for blobs which are already in the list. This brings U-Boot up to the standard required by the standard-passage documentation. Signed-off-by: Simon Glass --- board/sandbox/stdpass_check.c | 71 - include/stdpass/tpm2_eventlog.h | 42 +

[PATCH 27/31] passage: Add documentation

2021-10-31 Thread Simon Glass
Add documentation about standard passage and update the maintainers. Signed-off-by: Simon Glass --- MAINTAINERS | 10 ++ board/sandbox/stdpass_check.c | 10 +- doc/develop/bloblist.rst | 4 +- doc/develop/index.rst | 1 + doc/develop/std_passage.rst | 319

[PATCH 29/31] x86: Move Intel GNVS file into the common include directory

2021-10-31 Thread Simon Glass
Move this so we can include it from sandbox, needed since it is in a bloblist and must have a check. Signed-off-by: Simon Glass --- arch/x86/cpu/apollolake/acpi.c| 2 +- arch/x86/cpu/intel_common/acpi.c | 2 +-

[PATCH 28/31] passage: Add docs for spl_handoff

2021-10-31 Thread Simon Glass
This tag already exists in U-Boot. Add documentation, following the format set out. Signed-off-by: Simon Glass --- board/sandbox/stdpass_check.c | 8 include/handoff.h | 8 +--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git

[PATCH 24/31] bloblist: doc: Bring in the API documentation

2021-10-31 Thread Simon Glass
FIx up various minor errors and add the API documentation to the bloblist docs, since it is quite useful to see it in the same place. Signed-off-by: Simon Glass --- doc/develop/bloblist.rst | 8 +++- include/bloblist.h | 88 2 files changed, 52

[PATCH 31/31] WIP: RFC: Add a gitlab test

2021-10-31 Thread Simon Glass
This needs fixing up once the new hooks land as well as adding an azure rule. Signed-off-by: Simon Glass --- .gitlab-ci.yml | 6 ++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e7c65ebbcef..33466ec2a8a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml

[PATCH 21/31] passage: Record where the devicetree came from

2021-10-31 Thread Simon Glass
Keep track of where the devicetree came from, so we can report this later. Signed-off-by: Simon Glass --- include/asm-generic/global_data.h | 4 include/fdtdec.h | 36 +++ lib/fdtdec.c | 21 +- 3 files

[PATCH 26/31] sandbox: Add a way of checking structs for standard passage

2021-10-31 Thread Simon Glass
Add a file which can be used to check that structs used in standard passage do compile. No other validation is done at present, but could be considered later. Signed-off-by: Simon Glass --- board/sandbox/Makefile| 3 ++- board/sandbox/stdpass_check.c | 36

[PATCH 23/31] passage: Add a qemu test for ARM

2021-10-31 Thread Simon Glass
Check that the standard passage works on ARM, by setting it up in SPL and making sure that it comes through correctly in U-Boot proper. Signed-off-by: Simon Glass --- configs/qemu_arm_spl_defconfig | 8 +++- test/py/tests/test_passage.py | 11 +++ 2 files changed, 18

[PATCH 20/31] passage: spl: Support passing the passage to U-Boot

2021-10-31 Thread Simon Glass
Update the jump routine to support passing three parameters instead of one. The two new parameters are the bloblist address and the offset from there to the devicetree. Add an accessor for gd->bloblist to avoid needing #ifdefs in the C code. Note that this renames jump_to_image_no_args() to

[PATCH 16/31] passage: Support an incoming passage

2021-10-31 Thread Simon Glass
Plumb in the ability for U-Boot proper to accept an incoming standard passage from a previous phase, such as SPL or TF-A. This allows data to be passed from binary to binary when firmware is booting. Signed-off-by: Simon Glass --- common/Kconfig| 31

[PATCH 19/31] passage: spl: Support adding the dtb to the passage bloblist

2021-10-31 Thread Simon Glass
Add an option for SPL to add a devicetree to the passage bloblist, so SPL can provide the devicetree to U-Boot. Signed-off-by: Simon Glass --- common/Kconfig | 20 common/spl/spl.c | 44 ++-- include/spl.h| 2 ++ 3 files

[PATCH 17/31] passage: Support a control devicetree

2021-10-31 Thread Simon Glass
Add support for accepting a control devicetree from the incoming passage. This allows SPL (or some other program) to pass a devicetree to U-Boot proper in a standard way. Pass the devicetree through the early parts of U-Boot needs a list care. If it is in the bloblist, there is no need to reserve

[PATCH 18/31] passage: arm: Accept a passage from the previous phase

2021-10-31 Thread Simon Glass
Accept a bloblist and control devicetree from a previous phase in registers r0 and r1 Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/start.S | 7 ++- arch/arm/lib/crt0.S| 4 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/start.S

[PATCH 15/31] bloblist: Add functions to obtain base address and size

2021-10-31 Thread Simon Glass
Add a few convenience functions to obtain useful information about the bloblist. Signed-off-by: Simon Glass --- common/bloblist.c | 12 include/bloblist.h | 14 ++ test/bloblist.c| 2 ++ 3 files changed, 28 insertions(+) diff --git a/common/bloblist.c

[PATCH 11/31] bloblist: Use LOG_CATEGORY to simply logging

2021-10-31 Thread Simon Glass
Use the convenience functions to improve readability. Signed-off-by: Simon Glass --- common/bloblist.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/common/bloblist.c b/common/bloblist.c index baf1d371b71..b5fea12b697 100644 --- a/common/bloblist.c

[PATCH 13/31] bloblist: Refactor Kconfig to support alloc or fixed

2021-10-31 Thread Simon Glass
At present we do support allocating the bloblist but the Kconfig is a bit strange, since we still have to specify an address in that case. Partly this is because it is a pain to have CONFIG options that disappears when its dependency is enabled. It means that we must have #ifdefs in the code,

[PATCH 09/31] bloblist: Use explicit numbering for the tags

2021-10-31 Thread Simon Glass
At present if someone adds a tag in the middle of the list it works well enough within a U-Boot build. But if these tags are used in another project, or with an older version of SPL, the numbers make become inconsistent. Use explicit tag numbers that never change, to resolve this problem.

[PATCH 10/31] bloblist: Support allocating the bloblist

2021-10-31 Thread Simon Glass
Typically the bloblist is positioned at a fixed address in memory until relocation. This is convenient when it is set up in SPL or before relocation. But for EFI we want to set it up only when U-Boot proper is running. Add a way to allocate it using malloc() and update the documentation to cover

[PATCH 07/31] bloblist: Rename the SPL tag

2021-10-31 Thread Simon Glass
Add a U_BOOT prefix to this tag since it is specific to the U-Boot project. Signed-off-by: Simon Glass --- arch/x86/cpu/broadwell/cpu_from_spl.c | 4 ++-- common/bloblist.c | 2 +- common/board_f.c | 2 +- common/spl/spl.c | 4 ++--

[PATCH 08/31] bloblist: Drop unused tags

2021-10-31 Thread Simon Glass
The EC event log tag is no-longer used. The vboot handoff is now handled by the vboot context instead. Drop these unused tags. Signed-off-by: Simon Glass --- common/bloblist.c | 4 +--- include/bloblist.h | 2 -- test/bloblist.c| 4 ++-- 3 files changed, 3 insertions(+), 7 deletions(-)

[PATCH 06/31] bloblist: Put the magic number first

2021-10-31 Thread Simon Glass
It seems best to put the magic number right at the start of the bloblist header, so it is easier to check. This is how devicetree works. Make this change now, before other projects make use of bloblist. Other changes may be needed / discussed, but that is TBD. Add a checker function as well.

[PATCH 03/31] dm: core: Allow getting some basic stats

2021-10-31 Thread Simon Glass
Add a function that returns some basic stats about driver model. For now we only have two. Signed-off-by: Simon Glass --- drivers/core/device.c| 11 ++ drivers/core/root.c | 7 ++ drivers/core/uclass.c| 13 include/dm/device.h | 11

[PATCH 05/31] fdt: Drop SPL_BUILD macro

2021-10-31 Thread Simon Glass
This old macro is not needed anymore since we can use IS_ENABLED() now. Drop it. Signed-off-by: Simon Glass --- drivers/serial/serial-uclass.c | 3 ++- include/fdtdec.h | 6 -- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/serial/serial-uclass.c

[PATCH 04/31] stddef: Avoid warning with clang with offsetof()

2021-10-31 Thread Simon Glass
Some bright sparks have decided that a cast on a constant cannot be a constant, so offsetof() produces this warning on clang-10: include/intel_gnvs.h:113:1: error: static_assert expression is not an integral constant expression check_member(acpi_global_nvs, unused2,

[PATCH 02/31] kconfig: Add support for conditional values

2021-10-31 Thread Simon Glass
At present if an optional Kconfig value needs to be used it must be bracketed by #ifdef. For example, with this Kconfig setup: config WIBBLE bool "Support wibbles, the world needs more wibbles" config WIBBLE_ADDR hex "Address of the wibble" depends on WIBBLE then the

[PATCH 01/31] Makefile: Correct TPL rule for OF_REAL

2021-10-31 Thread Simon Glass
Correct an error in the tpl-dtb parameter to binman. At present the TPL rule follows SPL but this is not correct, if TPL uses of-platdata, for example. Fixes: f99cbe4e867 ("fdt: Update Makefile rules with the new OF_REAL Kconfig") Signed-off-by: Simon Glass --- Makefile | 2 +- 1 file changed,

[PATCH 00/31] passage: Define a standard for firmware data flow

2021-10-31 Thread Simon Glass
This series adds a standard way of passing information between different firmware phases. This already exists in U-Boot at a very basic level, in the form of a bloblist containing an spl_handoff structure, but the intent here is to define something useful across projects. The need for this is

Re: [RFC 07/22] dm: blk: add UCLASS_PARTITION

2021-10-31 Thread Simon Glass
Hi Takahiro, On Sun, 31 Oct 2021 at 18:36, AKASHI Takahiro wrote: > > On Sat, Oct 30, 2021 at 07:45:14AM +0200, Heinrich Schuchardt wrote: > > > > > > Am 29. Oktober 2021 23:17:56 MESZ schrieb Simon Glass : > > >Hi, > > > > > >On Fri, 29 Oct 2021 at 13:26, Heinrich Schuchardt > > >wrote: > >

Re: [PATCH v3] video: fix positioning in TrueType console

2021-10-31 Thread Simon Glass
Hi Anatolij, On Sun, 31 Oct 2021 at 18:23, Anatolij Gustschin wrote: > > Hi Simon, > > On Sun, 31 Oct 2021 17:46:56 -0600 > Simon Glass s...@chromium.org wrote: > ... > > > v3: > > > Use floating point only with the TrueType console. > > > v2: > > > Adjust hash values in tests >

Re: Please pull u-boot-dm

2021-10-31 Thread Tom Rini
On Sun, Oct 31, 2021 at 01:40:48PM -0600, Simon Glass wrote: > Hi Tom, > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/9692 > > > The following changes since commit 50bff6a6f86669a8652e2bf271eeb04f77911274: > > Merge branch '2021-10-31-assorted-platform-updates'

Re: [RFC 07/22] dm: blk: add UCLASS_PARTITION

2021-10-31 Thread AKASHI Takahiro
On Sat, Oct 30, 2021 at 07:45:14AM +0200, Heinrich Schuchardt wrote: > > > Am 29. Oktober 2021 23:17:56 MESZ schrieb Simon Glass : > >Hi, > > > >On Fri, 29 Oct 2021 at 13:26, Heinrich Schuchardt wrote: > >> > >> > >> > >> Am 29. Oktober 2021 08:15:56 MESZ schrieb AKASHI Takahiro > >> : > >>

Re: [PATCH v3] video: fix positioning in TrueType console

2021-10-31 Thread Anatolij Gustschin
Hi Simon, On Sun, 31 Oct 2021 17:46:56 -0600 Simon Glass s...@chromium.org wrote: ... > > v3: > > Use floating point only with the TrueType console. > > v2: > > Adjust hash values in tests > > --- > > drivers/video/console_truetype.c | 27 --- > >

Re: [PATCH v1] arm: xea: Modify board code to generate single binary u-boot

2021-10-31 Thread Simon Glass
Hi Lukasz, On Sat, 23 Oct 2021 at 09:04, Lukasz Majewski wrote: > > This change provides the possibility to build XEA (imx287 based) board > U-Boot as a single binary (without support for CONFIG_SPL_FRAMEWORK). > > The generated u-boot.sb can be used in the factory environment to for > example

Re: [PATCH 1/6 v4] serial: qcom: add support for GENI serial driver

2021-10-31 Thread Simon Glass
Hi Dzmitry, On Fri, 15 Oct 2021 at 10:22, Dzmitry Sankouski wrote: > > > чт, 14 окт. 2021 г. в 18:10, Simon Glass : >> >> Hi Dzmitry, >> >> On Fri, 8 Oct 2021 at 00:46, Dzmitry Sankouski wrote: >> > >> > Generic Interface (GENI) Serial Engine (SE) based uart >> > can be found on newer qualcomm

Re: [PATCH] image-board: fix wrong implementation ram disk address setup from cmdline

2021-10-31 Thread Simon Glass
Hi Artem, On Fri, 15 Oct 2021 at 23:19, Artem Lapkin wrote: > > Problem > > Wrong implementation logic: ramdisk cmdline image address always ignored! > Next block { rd_addr = hextoul(select, NULL) } unusable for raw initrd. > > We have unbootable raw initrd images because, select_ramdisk for raw

Re: [PATCH v3 0/5] Fix compiler warnings for 32-bit ARM

2021-10-31 Thread Simon Glass
Hi, On Sun, 1 Aug 2021 at 18:56, Simon Glass wrote: > > These were noticed when building sandbox on a Raspberry Pi 400, which uses > 32-bit linux. > > To make this work, I enabled CONFIG_HOST_32BIT in 'make menuconfig'. It > would be nice if that were automatic, since we have the logic already

Re: [PATCH] image: fix select_ramdisk for raw initrd

2021-10-31 Thread Simon Glass
Hi Artem, On Fri, 15 Oct 2021 at 04:15, Artem Lapkin wrote: > > Problem > > We have unbootable raw initrd images because, select_ramdisk for raw > initrd images ignore submited select addr and setup rd_datap value to 0 > > Solution: setup rd_datap value from select > > Signed-off-by: Artem

Re: [PATCH v3] video: fix positioning in TrueType console

2021-10-31 Thread Simon Glass
Hi Heinrich, On Thu, 28 Oct 2021 at 12:01, Heinrich Schuchardt wrote: > > With the patch accurate positioning is possible for mono-typed fonts: > > Fix the return value of console_truetype_putc_xy(). The current position > is passed as parameter x. Some part of x represents a fractional pixel. >

Re: [PATCH 4/4] watchdog: Automatically register device with sysreset

2021-10-31 Thread Simon Glass
Hi Samuel, On Sun, 22 Aug 2021 at 14:41, Samuel Holland wrote: > > Add an option to automatically register the first watchdog device with > the wdt_reboot driver for use with sysreset. This allows sysreset to be > a drop-in replacement for platform-specific watchdog reset code, without > needing

Re: [PATCH 2/2] sandbox: fix sandbox_wdt_expire_now()

2021-10-31 Thread Simon Glass
On Thu, 28 Oct 2021 at 04:16, Heinrich Schuchardt wrote: > > With CONFIG_SYSRESET_WATCHDOG=y the sandbox can use a watchdog based system > reset. > > To make this work calling sandbox_wdt_expire_now() must lead to a reset. > > With this change we can test the development suggested in > > [PATCH

Re: [PATCH 3/4] sysreset: watchdog: Move watchdog reference to plat data

2021-10-31 Thread Simon Glass
On Thu, 28 Oct 2021 at 05:18, Heinrich Schuchardt wrote: > > On 8/22/21 22:41, Samuel Holland wrote: > > Currently, the wdt_reboot driver always gets its watchdog device > > reference from an OF node. This prevents selecting a watchdog at > > runtime. Move the watchdog device reference to the

Re: [PATCH 1/2] test/dm: fix watchdog test

2021-10-31 Thread Simon Glass
On Thu, 28 Oct 2021 at 04:16, Heinrich Schuchardt wrote: > > Avoid a build failure for CONFIG_WDT_GPIO=n. > > We need this setting to test watchdog based system reset. watchdog-based > > Signed-off-by: Heinrich Schuchardt > --- > test/dm/wdt.c | 4 > 1 file changed, 4 insertions(+)

Re: [BUG] buildman does not check signature of toolchain

2021-10-31 Thread Simon Glass
Hi Heinrich, On Wed, 27 Oct 2021 at 08:23, Heinrich Schuchardt wrote: > > On 10/27/21 16:05, Simon Glass wrote: > > Hi Heinrich, > > > > On Tue, 26 Oct 2021 at 13:43, Heinrich Schuchardt > > wrote: > >> > >> Downloading binaries and executing without checking the authenticity is > >> at least

Re: [BUG] Spurious error in Gitlab CI for sandbox_spl test.py

2021-10-31 Thread Simon Glass
Hi Heinrich, On Wed, 27 Oct 2021 at 23:17, Heinrich Schuchardt wrote: > > Hello Tom, > > we have some trouble with Gitlab CI: > > In https://source.denx.de/u-boot/custodians/u-boot-efi/-/jobs/342220 > > sandbox: + sandbox_spl > +/usr/bin/ld: /tmp/u-boot-spl.Z4D5y0.ltrans0.ltrans.o: in

Re: [PATCH v2 02/41] Makefile: Allow LTO to be disabled for a build

2021-10-31 Thread Simon Glass
Hi Tom, On Wed, 27 Oct 2021 at 07:13, Tom Rini wrote: > > On Wed, Oct 27, 2021 at 02:21:17PM +0200, Heinrich Schuchardt wrote: > > > > > > On 10/27/21 10:50, Ilias Apalodimas wrote: > > > Hi Simon > > > > > > How does this patch related to the standard boot series? Shouldn't > > > this be a

Re: [PATCH v2 02/41] Makefile: Allow LTO to be disabled for a build

2021-10-31 Thread Simon Glass
Hi Heinrich, On Wed, 27 Oct 2021 at 06:21, Heinrich Schuchardt wrote: > > > > On 10/27/21 10:50, Ilias Apalodimas wrote: > > Hi Simon > > > > How does this patch related to the standard boot series? Shouldn't > > this be a completely separate patch? Probably, but I lose track of all the

Re: (overlapping) lmb allocations during boot

2021-10-31 Thread Michael Walle
Am 2021-10-31 18:36, schrieb Mark Kettenis: Date: Sun, 31 Oct 2021 16:19:56 +0100 From: Michael Walle .. >> > Unless CONFIG_EFI_LOADER is defined. Then it relocates the spin table >> > to memory allocated using efi_allocate_pages(). But that function >> > only looks at the EFI memory map

[PATCH] board: kontron: sl28: add myself to ls1028a.dtsi maintainers

2021-10-31 Thread Michael Walle
I'd like to keep informed about ls1028a.dtsi changes. For now, there is no top-level entry for any layerscape specific files. Instead, add the file entry to my board MAINTAINERS file. Signed-off-by: Michael Walle --- board/kontron/sl28/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff

[PATCH] get_maintainer.pl: add .get_maintainer.conf

2021-10-31 Thread Michael Walle
Since commit e57c7c5c4282 ("get_maintainer.pl: update from Linux kernel v5.13-rc6") only the top level MAINTAINERS file is used. This is because this commit (accidentally) disabled the search of MAINTAINERS files (find_maintainer_files is set to 0 again). Before that, commit b79372ae94fb

[PATCH] armv8: layerscape: use memalign() to allocate spintable code

2021-10-31 Thread Michael Walle
Don't use efi_allocate_pages(). The allocated memory isn't carved out of the lmb allocations. The memory might then be allocated twice. Particulary, this might happened with the fdt_high/initrd_high feature which will relocate the fdt/ramdisk. This might then overlap with the spin table. Instead

Re: [PATCH 1/3] net: dsa: Use true instead of 1 in the set_promisc() call

2021-10-31 Thread Vladimir Oltean
On Sat, Oct 30, 2021 at 04:31:48PM +0300, Ramon Fried wrote: > > > > > Ping for apply? > > > > I'll get to the patches today. > > > > thanks for waking me up :) > > > > Why don't you apply patches immediately after reviewing them? > It wouldn't make a difference. you were all working on the same

[PATCH] net: tsec: mark tsec_set_promisc() as __maybe_unused

2021-10-31 Thread Vladimir Oltean
Since the tsec driver supports both configurations with and without DM_ETH, and since the eth_ops :: set_promisc() method is only provided for DM_ETH, the implication is that builds with DM_ETH disabled will result in a 'defined but not used' warning. To silence those, mark the function as

Re: [PATCH 5/5] arm: mvebu: Espressobin: Use new API for setting default env at runtime

2021-10-31 Thread Pali Rohár
On Thursday 28 October 2021 05:28:10 Marek Behún wrote: > diff --git a/configs/mvebu_espressobin-88f3720_defconfig > b/configs/mvebu_espressobin-88f3720_defconfig > index 3a69954fcd..3dc6da04f8 100644 > --- a/configs/mvebu_espressobin-88f3720_defconfig > +++

Please pull u-boot-dm

2021-10-31 Thread Simon Glass
Hi Tom, https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/9692 The following changes since commit 50bff6a6f86669a8652e2bf271eeb04f77911274: Merge branch '2021-10-31-assorted-platform-updates' (2021-10-31 12:21:12 -0400) are available in the Git repository at:

Re: [u-boot-test-hooks PATCH 7/7] ellesmere: Add qemu rules

2021-10-31 Thread Tom Rini
On Sun, Oct 31, 2021 at 12:22:48PM -0600, Simon Glass wrote: > Hi Tom, > > On Sun, 31 Oct 2021 at 10:57, Tom Rini wrote: > > > > On Sat, Oct 30, 2021 at 12:25:39PM -0600, Simon Glass wrote: > > > > > Add some symlinks so that qemu can be used on ellesmere. > > > > > > Signed-off-by: Simon Glass

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

2021-10-31 Thread Tom Rini
On Sun, Oct 31, 2021 at 09:01:14AM +0100, Marek Vasut wrote: > The following changes since commit a09929cc6c5a108f89e91660f37d745ed119385b: > > Merge https://source.denx.de/u-boot/custodians/u-boot-mmc (2021-10-29 > 08:27:32 -0400) > > are available in the Git repository at: > >

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

2021-10-31 Thread Tom Rini
On Sun, Oct 31, 2021 at 09:00:27AM +0100, Marek Vasut wrote: > The following changes since commit a09929cc6c5a108f89e91660f37d745ed119385b: > > Merge https://source.denx.de/u-boot/custodians/u-boot-mmc (2021-10-29 > 08:27:32 -0400) > > are available in the Git repository at: > >

Re: [u-boot-test-hooks PATCH 7/7] ellesmere: Add qemu rules

2021-10-31 Thread Simon Glass
Hi Tom, On Sun, 31 Oct 2021 at 10:57, Tom Rini wrote: > > On Sat, Oct 30, 2021 at 12:25:39PM -0600, Simon Glass wrote: > > > Add some symlinks so that qemu can be used on ellesmere. > > > > Signed-off-by: Simon Glass > > --- > > > > bin/ellesmere/conf.qemu_arm_na | 1 + > >

[PATCH v5 2/2] arm: imx8m: add support for Advantech RSB-3720

2021-10-31 Thread Ying-Chun Liu
From: "Ying-Chun Liu (PaulLiu)" Add initial support for Advantech RSB-3720 board. The initial support includes: - MMC - eMMC - I2C - FEC - Serial console Signed-off-by: Darren Huang Signed-off-by: Kevin12.Chen Signed-off-by: Phill.Liu Signed-off-by: Tim Liang Signed-off-by: wei.zeng

Re: (overlapping) lmb allocations during boot

2021-10-31 Thread Mark Kettenis
> Date: Sun, 31 Oct 2021 16:19:56 +0100 > From: Michael Walle > > Am 2021-10-31 13:51, schrieb Mark Kettenis: > >> Date: Sun, 31 Oct 2021 13:04:40 +0100 > >> From: Michael Walle > >> > >> Am 2021-10-31 12:44, schrieb Mark Kettenis: > >> >> Date: Sun, 31 Oct 2021 11:43:38 +0100 > >> >> From:

[PATCH] Azure: Move to windows-2019

2021-10-31 Thread Tom Rini
As per https://github.com/actions/virtual-environments/issues/4312 the Windows-2016 environments are scheduled for deprecation and removal in early 2022. Move to windows-2019 now to avoid this (Visual Studio 2019 is included here, hence the tag naming scheme change). Signed-off-by: Tom Rini ---

Re: [PATCH 2/2] Revert "arch: arm: use dt and UCLASS_SYSCON to get gic lpi details"

2021-10-31 Thread Michael Walle
Hi, Am 2021-10-31 17:45, schrieb Z.Q. Hou: -Original Message- From: Marc Zyngier [mailto:m...@kernel.org] Sent: 2021年10月29日 5:09 To: Michael Walle Cc: u-boot@lists.denx.de; Vladimir Oltean ; Z.Q. Hou ; Bharat Gooty ; Rayagonda Kokatanur ; Simon Glass ; Priyanka Jain ; Tom Rini

Re: [u-boot-test-hooks PATCH 7/7] ellesmere: Add qemu rules

2021-10-31 Thread Tom Rini
On Sat, Oct 30, 2021 at 12:25:39PM -0600, Simon Glass wrote: > Add some symlinks so that qemu can be used on ellesmere. > > Signed-off-by: Simon Glass > --- > > bin/ellesmere/conf.qemu_arm_na | 1 + > bin/ellesmere/conf.qemu_arm_spl_na | 1 + > 2 files changed, 2 insertions(+) > create

RE: [PATCH 2/2] Revert "arch: arm: use dt and UCLASS_SYSCON to get gic lpi details"

2021-10-31 Thread Z.Q. Hou
> -Original Message- > From: Marc Zyngier [mailto:m...@kernel.org] > Sent: 2021年10月29日 5:09 > To: Michael Walle > Cc: u-boot@lists.denx.de; Vladimir Oltean ; Z.Q. Hou > ; Bharat Gooty ; > Rayagonda Kokatanur ; Simon Glass > ; Priyanka Jain ; Tom Rini > > Subject: Re: [PATCH 2/2] Revert

Re: [PATCH v4 6/7] arm: dts: apple: Add preliminary device trees

2021-10-31 Thread Tom Rini
On Sat, Oct 23, 2021 at 04:58:06PM +0200, Mark Kettenis wrote: > Add preliminary device trees for the Apple M1 mini (2020) and > Apple M1 Macbook Pro 13" (2020). Device tree bindings for > the Apple M1 SoC are still being formalized and these device > trees will be synchronized with the Linux

Re: [PATCH v4 3/7] arm: apple: Add initial support for Apple's M1 SoC

2021-10-31 Thread Tom Rini
On Sat, Oct 23, 2021 at 04:58:03PM +0200, Mark Kettenis wrote: > Add support for Apple's M1 SoC that is used in "Apple Silicon" > Macs. This builds a basic U-Boot that can be used as a payload > for the m1n1 boot loader being developed by the Asahi Linux > project. > > Signed-off-by: Mark

Re: [PATCH v4 7/7] doc: board: apple: Add Apple M1 documentation

2021-10-31 Thread Tom Rini
On Sat, Oct 23, 2021 at 04:58:07PM +0200, Mark Kettenis wrote: > Provide preliminary instructions on how to get U-Boot to run on > Apple Silicon Macs. > > Signed-off-by: Mark Kettenis > Reviewed-by: Simon Glass signature.asc Description: PGP signature

Re: [PATCH v4 5/7] iommu: Add Apple DART driver

2021-10-31 Thread Tom Rini
On Sat, Oct 23, 2021 at 04:58:05PM +0200, Mark Kettenis wrote: > The DART is an IOMMU that is used on Apple's M1 SoC. This driver > configures the DART such that it operates in bypass mode which is > enough to support DMA for the USB3 ports integrated on the SoC. > > Signed-off-by: Mark

Re: [PATCH v4 4/7] serial: s5p: Add Apple M1 support

2021-10-31 Thread Tom Rini
On Sat, Oct 23, 2021 at 04:58:04PM +0200, Mark Kettenis wrote: > Apple M1 SoCs include an S5L UART which is a variant of the S5P > UART. Add support for this variant and enable it by default > on Apple SoCs. > > Signed-off-by: Mark Kettenis > Reviewed-by: Simon Glass Applied to

Re: [PATCH v4 2/7] test: Add tests for IOMMU uclass

2021-10-31 Thread Tom Rini
On Sat, Oct 23, 2021 at 04:58:02PM +0200, Mark Kettenis wrote: > Add a set of tests for the IOMMU uclass. > > Signed-off-by: Mark Kettenis > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v4 1/7] iommu: Add IOMMU uclass

2021-10-31 Thread Tom Rini
On Sat, Oct 23, 2021 at 04:58:01PM +0200, Mark Kettenis wrote: > This uclass is intended to manage IOMMUs on systems where the > IOMMUs are not in bypass mode by default. In that case U-Boot > cannot ignore the IOMMUs if it wants to use devices that need > to do DMA and sit behind such an IOMMU.

Re: [PATCH 4/4] board: samsung: add support for Galaxy A series of 2017 (a5y17lte)

2021-10-31 Thread Tom Rini
On Sun, Oct 17, 2021 at 01:45:42PM +0300, Dzmitry Sankouski wrote: > Samsung Galaxy A3, A5, A7 (2017) - middle class Samsung smartphones. > U-boot can be used as chain-loaded bootloader to gain control > on booting vanilla linux(and possibly others) kernels > > Signed-off-by: Dzmitry Sankouski

Re: [PATCH 3/4] SoC: exynos: add support for exynos 78x0

2021-10-31 Thread Tom Rini
On Sun, Oct 17, 2021 at 01:45:41PM +0300, Dzmitry Sankouski wrote: > Samsung Exynos 7880 \ 7870 - SoC for mainstream smartphones and tablets > introduced on March 2017. > Features: > - 8 Cortex A53 cores > - ARM Mali-T830 MP3 GPU > - LTE Cat. 7 (7880) or 6 (7870) modem > > Signed-off-by: Dzmitry

Re: [PATCH 2/4] pinctrl: exynos: add support for multiple pin banks

2021-10-31 Thread Tom Rini
On Sun, Oct 17, 2021 at 01:45:40PM +0300, Dzmitry Sankouski wrote: > Iterate all pin banks to find a pin > > Signed-off-by: Dzmitry Sankouski > Cc: Minkyu Kang Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/4 v2] serial: samsung: add support for skip debug init in s5p

2021-10-31 Thread Tom Rini
On Sun, Oct 17, 2021 at 01:45:39PM +0300, Dzmitry Sankouski wrote: > Signed-off-by: Dzmitry Sankouski > Cc: Minkyu Kang Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 6/6 v4] board: samsung: add Samsung Galaxy S9/S9+(SM-G96x0) board

2021-10-31 Thread Tom Rini
On Sun, Oct 17, 2021 at 01:44:32PM +0300, Dzmitry Sankouski wrote: > Samsung S9 SM-G9600 - Snapdragon SDM845 version of the phone, > for China \ Hong Kong markets. > Has unlockable bootloader, unlike SM-G960U (American market version), > which allows running u-boot as a chain-loaded bootloader. >

Re: [PATCH 5/6 v2] SoC: qcom: add support for SDM845

2021-10-31 Thread Tom Rini
On Sun, Oct 17, 2021 at 01:44:31PM +0300, Dzmitry Sankouski wrote: > Hi-end qualcomm chip, introduced in late 2017. > Mostly used in flagship phones and tablets of 2018. > Features: > - arm64 arch > - total of 8 Kryo 385 Gold / Silver cores > - Hexagon 685 DSP > - Adreno 630 GPU > > Tested only

Re: [PATCH 4/6] clocks: qcom: add clocks for SDM845 debug uart

2021-10-31 Thread Tom Rini
On Sun, Oct 17, 2021 at 01:44:30PM +0300, Dzmitry Sankouski wrote: > Allows to change clock frequency of debug uart, > thus supporting wide range of baudrates. > Enable / disable functionality is not implemented yet. > In most use cases of SDM845 (i.e. mobile phones and tablets) > it's not

Re: [PATCH 3/6 v2] pinctrl: qcom: add pinctrl and gpio drivers for SDM845 SoC

2021-10-31 Thread Tom Rini
On Sun, Oct 17, 2021 at 01:44:29PM +0300, Dzmitry Sankouski wrote: > Signed-off-by: Dzmitry Sankouski > Cc: Ramon Fried > Cc: Tom Rini > Cc: Stephan Gerhold Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/6 v4] spmi: msm: add arbiter version 5 support

2021-10-31 Thread Tom Rini
On Sun, Oct 17, 2021 at 01:44:28PM +0300, Dzmitry Sankouski wrote: > Currently driver supports only version 1 and 2. > Version 5 has slightly different registers structure > > Signed-off-by: Dzmitry Sankouski > Cc: Ramon Fried > Cc: Tom Rini Applied to u-boot/master, thanks! -- Tom

  1   2   >