[PATCH 2/2] mx6: crm_regs: drop BM_ANADIG_ANA_MISC0_REFTOP_VBGADJ

2022-01-13 Thread Dario Binacchi
Commit 97c16dc8bf098 ("imx: mx6ull: update the REFTOP_VBGADJ setting") made this macro unused. Then remove it. Signed-off-by: Dario Binacchi --- arch/arm/include/asm/arch-mx6/crm_regs.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/include/asm/arch-mx6/crm_regs.h

[PATCH 1/2] imx: mx6ull: fix REFTOP_VBGADJ setting

2022-01-13 Thread Dario Binacchi
The previous code wrote the contents of the fuse as is in the REFTOP_VBGADJ[2:0], but this was wrong if you consider the contents of the table in the code comment. This table is also different from the table in the commit description. But then, which of the two is correct? If it is assumed that an

[PATCH] scripts: setlocalversion: remove quotes around localversion from config

2022-01-13 Thread Nikita Maslov
From: Nikita Maslov Date: Fri, 14 Jan 2022 00:13:39 +0300 Subject: [PATCH] scripts: setlocalversion: remove quotes around localversion from config After replacing of include/config/auto.conf sourcing with extraction of CONFIG_LOCALVERSION, resulting version string contains quotes around

RE: [PATCH 1/2] mmc: fsl_esdhc_imx: Fix fsl_esdhc_wait_dat0

2022-01-13 Thread Bough Chen
> -Original Message- > From: Adam Ford [mailto:aford...@gmail.com] > Sent: 2022年1月12日 21:54 > To: u-boot@lists.denx.de > Cc: Peng Fan ; Bough Chen ; > andrey.zhizhi...@leica-geosystems.com; thar...@gateworks.com; > este...@gmail.com; sba...@denx.de; af...@beaconembedded.com; Adam > Ford >

RE: IMX8MM SD UHS support

2022-01-13 Thread Bough Chen
> -Original Message- > From: Adam Ford [mailto:aford...@gmail.com] > Sent: 2022年1月12日 7:32 > To: Bough Chen > Cc: ZHIZHIKIN Andrey ; > thar...@gateworks.com; Fabio Estevam ; Peng Fan > ; u-boot ; Stefano Babic > ; Jaehoon Chung > Subject: Re: IMX8MM SD UHS support > > On Mon, Jan 25,

Re: [PATCH v6 3/4] mtd: spi-nor-core: Add support for Macronix Octal flash

2022-01-13 Thread liao jaime
Hi Pratyush > > On 03/01/22 10:47AM, tudor.amba...@microchip.com wrote: > > On 12/29/21 7:56 AM, JaimeLiao wrote: > > > EXTERNAL EMAIL: Do not click links or open attachments unless you know > > > the content is safe > > > > > > Adding Macronix Octal flash for Octal DTR support. > > > > > > The

Re: [PATCH v2 4/8] arm: kirkwood: Pogoplug-V4 : Add board include configs file

2022-01-13 Thread Tom Rini
On Thu, Jan 13, 2022 at 04:50:20PM -0800, Tony Dinh wrote: > Hi Tom, > > On Thu, Jan 13, 2022 at 5:36 AM Tom Rini wrote: > > > > On Thu, Jan 13, 2022 at 02:32:00PM +0100, Stefan Roese wrote: > > > On 12/23/21 08:26, Tony Dinh wrote: > > > > Add include configs file for Pogoplug V4 board > > > >

[PATCH 2/2] imx: imx8mm_beacon: Enable USB

2022-01-13 Thread Adam Ford
With the updated device tree's having USB support, enable in U-Boot. This also requires the addition of the imx8m power domain, since the USB is gated by the power domain controller. Signed-off-by: Adam Ford diff --git a/configs/imx8mm_beacon_defconfig b/configs/imx8mm_beacon_defconfig index

[PATCH 1/2] arm: dts: imx8mm-beacon: Resync dtsi with Kernel 5.17-rc1

2022-01-13 Thread Adam Ford
Resync the SOM and baseboar files with the device trees that will be included in 5.17-RC1 when it's cut. This will improve pinmuxing for USDHC1 and add USB functionality. Signed-off-by: Adam Ford diff --git a/arch/arm/dts/imx8mm-beacon-baseboard.dtsi

Re: [PATCH v2 4/8] arm: kirkwood: Pogoplug-V4 : Add board include configs file

2022-01-13 Thread Tony Dinh
Hi Tom, On Thu, Jan 13, 2022 at 5:36 AM Tom Rini wrote: > > On Thu, Jan 13, 2022 at 02:32:00PM +0100, Stefan Roese wrote: > > On 12/23/21 08:26, Tony Dinh wrote: > > > Add include configs file for Pogoplug V4 board > > > > > > Signed-off-by: Tony Dinh > > > --- > > > > > > (no changes since v1)

Re: [PATCH V2] usb: ehci-mx6: Enable OTG detection on imx8mm and imx8mn

2022-01-13 Thread Adam Ford
On Thu, Jan 13, 2022 at 6:35 PM Adam Ford wrote: > > On Wed, Jan 12, 2022 at 2:17 AM Michael Walle wrote: > > > > Am 2022-01-11 17:52, schrieb Adam Ford: > > > On Tue, Jan 11, 2022 at 9:31 AM Michael Walle wrote: > > >> > > >> Hi, > > >> > > >> Am 2022-01-11 15:20, schrieb Adam Ford: > > >> >

Re: [PATCH V2] usb: ehci-mx6: Enable OTG detection on imx8mm and imx8mn

2022-01-13 Thread Adam Ford
On Wed, Jan 12, 2022 at 2:17 AM Michael Walle wrote: > > Am 2022-01-11 17:52, schrieb Adam Ford: > > On Tue, Jan 11, 2022 at 9:31 AM Michael Walle wrote: > >> > >> Hi, > >> > >> Am 2022-01-11 15:20, schrieb Adam Ford: > >> > On Tue, Jan 4, 2022 at 2:32 AM Michael Walle wrote: > >> >> > The

Re: Please pull u-boot-dm

2022-01-13 Thread Tom Rini
On Thu, Jan 13, 2022 at 11:05:27AM -0700, Simon Glass wrote: > Hi Tom, > > Here is the bloblist stuff. Once this is in I'll send the next version of > standard passage. > > https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/10606 > > > The following changes since commit

Re: [PATCH] MAINTAINERS: Add watchdog maintainers entry

2022-01-13 Thread Tom Rini
On Thu, Jan 13, 2022 at 04:57:31PM +0100, Stefan Roese wrote: > I've been handling "inofficially" the watchdog related patches for a few > years now. Let's make this official and add a tree for it and also add > myself here in the MAINTAINERS file. > > Signed-off-by: Stefan Roese > Cc: Tom Rini

Re: [PATCH] pci: pci_mvebu: Add support for Kirkwood PCIe controllers

2022-01-13 Thread Tony Dinh
Hi Pali, On Thu, Jan 13, 2022 at 5:28 AM Pali Rohár wrote: > > Kirkwood uses macros KW_DEFADR_PCI_MEM and KW_DEFADR_PCI_IO for base > address of PCIe mappings. Size of PCIe windows is not defined in any macro > yet, so export them in new KW_DEFADR_PCI_MEM_SIZE and KW_DEFADR_PCI_IO_SIZE > macros.

Re: [PATCH v2 8/8] arm: kirkwood: Pogoplug-V4 : Add board maintainer

2022-01-13 Thread Tony Dinh
Hi Stefan & Tom, On Thu, Jan 13, 2022 at 5:40 AM Stefan Roese wrote: > > On 12/23/21 08:26, Tony Dinh wrote: > > Add board maintainer for Pogoplug V4 board > > > > Signed-off-by: Tony Dinh > > Hmm, just this one file? > > I would prefer to not have this many patches in this series and squash >

Re: [PATCH 0/3] mkimage: allow to specify signing algorithm

2022-01-13 Thread Dhananjay Phadke
On 1/13/2022 4:38 AM, Jan Kiszka wrote: On 25.11.21 20:03, Jan Kiszka wrote: Another step to decouple the FIT image specification from the actual signing: With these changes, the signature nodes can leave out an algo property, mkimage will initialize that as well while signing. This way,

Re: [PATCH v9 0/9] efi: Improvements to U-Boot running on top of UEFI

2022-01-13 Thread Simon Glass
Hi Heinrich, On Thu, 13 Jan 2022 at 14:08, Heinrich Schuchardt wrote: > > > > Am 13. Januar 2022 20:39:15 MEZ schrieb Simon Glass : > >Hi Heinrich, > > > >On Tue, 4 Jan 2022 at 03:51, Simon Glass wrote: > >> > >> At present U-Boot can be built as an EFI app, but it is really just for > >>

Re: [PATCH v9 0/9] efi: Improvements to U-Boot running on top of UEFI

2022-01-13 Thread Heinrich Schuchardt
Am 13. Januar 2022 20:39:15 MEZ schrieb Simon Glass : >Hi Heinrich, > >On Tue, 4 Jan 2022 at 03:51, Simon Glass wrote: >> >> At present U-Boot can be built as an EFI app, but it is really just for >> testing, with very few features. Instead, the payload build is used for >> booting on top of

Re: [PATCH v9 0/9] efi: Improvements to U-Boot running on top of UEFI

2022-01-13 Thread Simon Glass
Hi Heinrich, On Tue, 4 Jan 2022 at 03:51, Simon Glass wrote: > > At present U-Boot can be built as an EFI app, but it is really just for > testing, with very few features. Instead, the payload build is used for > booting on top of UEFI, where U-Boot takes over the machine immediately > and

Re: [PATCH] mkimage: Call verify_header after writing image to disk

2022-01-13 Thread Simon Glass
Hi Pali, On Thu, 13 Jan 2022 at 07:42, Pali Rohár wrote: > > If image backend provides verify_header callback then call it after writing > image to disk. This ensures that written image is correct. > > Signed-off-by: Pali Rohár > --- > tools/mkimage.c | 34 ++ >

Re: [PATCH v2 4/4] rockchip: sdhci: Add HS400 Enhanced Strobe support for RK3568

2022-01-13 Thread Alper Nebi Yasak
On 12/01/2022 05:03, 赵仪峰 wrote: > The Synopsys DWC MSHC for RK3568 and RK3588 need config > DWCMSHC_EMMC_CONTROL.bit0 = 1 (CARD_IS_EMMC) > to enable Data Strobe pin for HS400 and HS400ES. > > reference code: > #define DWCMSHC_EMMC_CONTROL 0x52c > #define DWCMSHC_CARD_IS_EMMC BIT(0) > > /* set

Re: [PATCH v2] drivers: spi-nor: Add JEDEC id for W25Q16JV

2022-01-13 Thread Dhananjay Phadke
On 1/13/2022 9:17 AM, Angus Ainslie wrote: Add a JEDEC id for the Winbond W25Q16JV 16M-BIT serial flash memory with DUAL/QUAD SPI Changes since v1: Updated the name for more suffixes Signed-off-by: Angus Ainslie --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file changed, 5 insertions(+)

Re: [BUG] sandbox: NO_SDL=1 gcc: error: arch/sandbox/cpu/sdl.o: No such file or directory

2022-01-13 Thread Simon Glass
Hi Heinrich, On Thu, 13 Jan 2022 at 11:07, Heinrich Schuchardt wrote: > > On 1/13/22 14:41, Simon Glass wrote: > > Hi Heinrich, > > > > On Mon, 10 Jan 2022 at 16:22, Heinrich Schuchardt > > wrote: > >> > >> Hello Simon, > >> > >> compiling with SDL fails on Alpine Linux: > >>

Re: [BUG] sandbox: NO_SDL=1 gcc: error: arch/sandbox/cpu/sdl.o: No such file or directory

2022-01-13 Thread Heinrich Schuchardt
On 1/13/22 14:41, Simon Glass wrote: Hi Heinrich, On Mon, 10 Jan 2022 at 16:22, Heinrich Schuchardt wrote: Hello Simon, compiling with SDL fails on Alpine Linux: https://gitlab.alpinelinux.org/alpine/aports/-/issues/13411 So I tried NO_SDL: make sandbox_defconfig NO_SDL=1 make menuconfig

Please pull u-boot-dm

2022-01-13 Thread Simon Glass
Hi Tom, Here is the bloblist stuff. Once this is in I'll send the next version of standard passage. https://source.denx.de/u-boot/custodians/u-boot-dm/-/pipelines/10606 The following changes since commit 743c562d0c5269740236864bdb0002e73ec3e614: Merge

Re: [PATCH v2 12/12] bloblist: Relicense to allow BSD-3-Clause

2022-01-13 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

Re: [PATCH] dm: core: Switch order of pinctrl and power domain calls

2022-01-13 Thread Simon Glass
On Fri, 7 Jan 2022 at 08:38, Michal Simek wrote: > > The commit 3ad307784847 ("dm: core: device: enable power domain in probe") > introduced enabling power domain when device is probed. > By checking this sequence in Linux kernel was found that power domain is > handled first followed by pinctrl

Re: [PATCH] patman: Support absolute and ~user-relative alias files

2022-01-13 Thread Simon Glass
Em qua., 12 de jan. de 2022 às 18:22, Simon Glass escreveu: > On Fri, 7 Jan 2022 at 16:16, Brian Norris wrote: > > > > Python doesn't naturally support tilde (~) as a user-home marker in > > paths, but git-config does. So we need to resolve it before continuing. > > > > We also shouldn't blindly

Re: [PATCH 1/1] sandbox: compatibility of os_get_filesize()

2022-01-13 Thread Simon Glass
On Mon, 10 Jan 2022 at 17:50, Heinrich Schuchardt wrote: > > U-Boot define loff_t as long long. But the header > /usr/include/linux/types.h may not define it. > This has lead to a build error on Alpine Linux. > > So let's use long long instead of loff_t for > the size parameter of function

Re: [PATCH] genboardscfg: limit to 240 jobs

2022-01-13 Thread Simon Glass
On Tue, 11 Jan 2022 at 08:35, Andre Przywara wrote: > > When genboardscfg.py is run on machines with 255 or more cores, the > process will consume more than 1024 file descriptors, which is a common > standard ulimit for user processes. As a consequence it will fail with a > lenghty Python trace,

Re: [PATCH v2 02/12] fdt: Drop SPL_BUILD macro

2022-01-13 Thread Simon Glass
This old macro is not needed anymore since we can use IS_ENABLED() now. Drop it. Signed-off-by: Simon Glass --- (no changes since v1) drivers/serial/serial-uclass.c | 3 ++- include/fdtdec.h | 6 -- 2 files changed, 2 insertions(+), 7 deletions(-) Applied to u-boot-dm,

Re: [PATCH v2 03/12] bloblist: Put the magic number first

2022-01-13 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.

Re: [PATCH v2 04/12] bloblist: Rename the SPL tag

2022-01-13 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 --- (no changes since v1) arch/x86/cpu/broadwell/cpu_from_spl.c | 4 ++-- common/bloblist.c | 2 +- common/board_f.c | 2 +- common/spl/spl.c

Re: [PATCH v2 05/12] bloblist: Drop unused tags

2022-01-13 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 --- (no changes since v1) common/bloblist.c | 4 +--- include/bloblist.h | 2 -- test/bloblist.c| 4 ++-- 3 files changed, 3

Re: [PATCH v2 06/12] bloblist: Use explicit numbering for the tags

2022-01-13 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.

Re: [PATCH v2 09/12] bloblist: Refactor Kconfig to support alloc or fixed

2022-01-13 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,

Re: [PATCH v2 07/12] bloblist: Use LOG_CATEGORY to simply logging

2022-01-13 Thread Simon Glass
Use the convenience functions to improve readability. Signed-off-by: Simon Glass --- (no changes since v1) common/bloblist.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) Applied to u-boot-dm, thanks!

Re: [PATCH v2 08/12] bloblist: Use 'phase' consistently for bloblists

2022-01-13 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 --- (no changes since v1)

Re: [PATCH v3 01/12] stddef: Avoid warning with clang with offsetof()

2022-01-13 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,

Re: [PATCH v2 10/12] bloblist: Add functions to obtain base address and size

2022-01-13 Thread Simon Glass
Add a few convenience functions to obtain useful information about the bloblist. Signed-off-by: Simon Glass --- (no changes since v1) common/bloblist.c | 12 include/bloblist.h | 14 ++ test/bloblist.c| 2 ++ 3 files changed, 28 insertions(+) Applied to

Re: [PATCH v2 11/12] bloblist: doc: Bring in the API documentation

2022-01-13 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 --- (no changes since v1) doc/develop/bloblist.rst | 8 +++- include/bloblist.h | 79 +++-

Re: [PATCH] spl: add support for custom boot method names

2022-01-13 Thread Michael Walle
Am 2022-01-13 16:22, schrieb Heiko Thiery: Currently the names MMC1, MMC2 and MMC2_2 are output in the SPL. To achieve more userbility here the name of the boot source can be returned. E.g. for "MMC1" -> "eMMC" or "MMC2" -> "SD card". Signed-off-by: Heiko Thiery Very nice! If my board

[PATCH v2] drivers: spi-nor: Add JEDEC id for W25Q16JV

2022-01-13 Thread Angus Ainslie
Add a JEDEC id for the Winbond W25Q16JV 16M-BIT serial flash memory with DUAL/QUAD SPI Changes since v1: Updated the name for more suffixes Signed-off-by: Angus Ainslie --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/mtd/spi/spi-nor-ids.c

Re: [PATCH] drivers: spi-nor: Add JEDEC id for W25Q16JV

2022-01-13 Thread Angus Ainslie
Hi Jagan, On 2021-12-01 21:59, Jagan Teki wrote: On Sun, Nov 28, 2021 at 8:39 PM Angus Ainslie wrote: Add a JEDEC id for the Winbond W25Q16JV 16M-BIT serial flash memory with DUAL/QUAD SPI Signed-off-by: Angus Ainslie --- drivers/mtd/spi/spi-nor-ids.c | 5 + 1 file changed, 5

Re: [PATCH v2 4/4] arm64: dts: imx8mq-u-boot.dtsi: improve odd blob-ext naming

2022-01-13 Thread Fabio Estevam
On 13/01/2022 11:22, Patrick Wildt wrote: Rather than using odd implicit blob-ext naming, explicitly specify the type to be of blob-ext and therefore also simplify the node naming. Signed-off-by: Patrick Wildt Reviewed-by: Fabio Estevam -- DENX Software Engineering GmbH, Managing

Re: [PATCH v2 3/4] arm64: dts: imx8mm-u-boot.dtsi: use dash for node names

2022-01-13 Thread Fabio Estevam
On 13/01/2022 11:22, Patrick Wildt wrote: Some of the nodes were named using a underscore, so rectify this and consistenly use dashes. Signed-off-by: Patrick Wildt Reviewed-by: Fabio Estevam -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office:

Re: [PATCH v2 2/4] arm64: dts: imx8mq-u-boot.dtsi: explicitly add spl filename

2022-01-13 Thread Fabio Estevam
On 13/01/2022 11:21, Patrick Wildt wrote: Explicitly add SPL aka u-boot-spl.bin filename. Signed-off-by: Patrick Wildt Reviewed-by: Fabio Estevam -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

Re: [PATCH v2 1/4] arm64: dts: imx8mq-u-boot.dtsi: alphabetically re-order properties

2022-01-13 Thread Fabio Estevam
On 13/01/2022 11:21, Patrick Wildt wrote: fit { description = "Configuration to load ATF before U-Boot"; - #address-cells = <1>; fit,external-offset = ; + #address-cells = <1>;

[PATCH] MAINTAINERS: Add watchdog maintainers entry

2022-01-13 Thread Stefan Roese
I've been handling "inofficially" the watchdog related patches for a few years now. Let's make this official and add a tree for it and also add myself here in the MAINTAINERS file. Signed-off-by: Stefan Roese Cc: Tom Rini Cc: Harald Seiler --- MAINTAINERS | 8 1 file changed, 8

Re: Please pull u-boot-marvell/master (watchdog related)

2022-01-13 Thread Stefan Roese
On 1/13/22 15:25, Tom Rini wrote: On Thu, Jan 13, 2022 at 09:25:40AM +0100, Stefan Roese wrote: Hi Tom, please pull the following watchdog related patches: As you mentioned the other day, we should make things a bit more official that you're the watchdog custodian. So please feel free to

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

2022-01-13 Thread Tom Rini
On Thu, Jan 13, 2022 at 04:01:45PM +0100, Rasmus Villemoes wrote: > On 13/01/2022 13.52, Tom Rini wrote: > > On Thu, Jan 13, 2022 at 08:56:02AM +0100, Rasmus Villemoes wrote: > >> On 12/01/2022 22.56, Tom Rini wrote: > >>> I also think I've seen cases where doing: > >>> if

[PATCH] spl: add support for custom boot method names

2022-01-13 Thread Heiko Thiery
Currently the names MMC1, MMC2 and MMC2_2 are output in the SPL. To achieve more userbility here the name of the boot source can be returned. E.g. for "MMC1" -> "eMMC" or "MMC2" -> "SD card". Signed-off-by: Heiko Thiery --- common/spl/spl.c | 5 + include/spl.h| 5 - 2 files

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

2022-01-13 Thread Rasmus Villemoes
On 13/01/2022 13.52, Tom Rini wrote: > On Thu, Jan 13, 2022 at 08:56:02AM +0100, Rasmus Villemoes wrote: >> On 12/01/2022 22.56, Tom Rini wrote: >>> I also think I've seen cases where doing: >>> if (CONFIG_EVALUATES_TO_ZERO) { >>> ... >>> } >>> >>> takes more space in the binary than an #ifdef

[PATCH] mkimage: Call verify_header after writing image to disk

2022-01-13 Thread Pali Rohár
If image backend provides verify_header callback then call it after writing image to disk. This ensures that written image is correct. Signed-off-by: Pali Rohár --- tools/mkimage.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/tools/mkimage.c

Re: [PATCH] imx: nandbcb: Fix printf format in write_fcb

2022-01-13 Thread Pali Rohár
Just friendly reminder for this patch... On Tuesday 07 December 2021 21:43:09 Pali Rohár wrote: > PING? > > On Wednesday 20 October 2021 11:13:15 Pali Rohár wrote: > > Correct printf format for unsigned long long is %llx and not %llxx. > > > > Signed-off-by: Pali Rohár > > --- > >

Re: [RFC] imx: imx8qm-rom7720: switch to binman

2022-01-13 Thread Oliver Graute
On 12/01/22, Oliver Graute wrote: > Switch to use binman to pack images > > Signed-off-by: Oliver Graute > + > + images { > + uboot { > + arch = "arm64"; > + compression =

Re: [PATCH u-boot-marvell v3 0/9] More verifications for kwbimage in SPL

2022-01-13 Thread Pali Rohár
On Saturday 18 December 2021 10:16:25 Stefan Roese wrote: > Hi Marek, > Hi Pali, > > working on a "next" branch, I noticed that this patch series fails > on some non-MVEBU boards: Hello! This patch series does not apply on master branch. I rebased patches on master and hopefully also fixed this

[PATCH] squashfs: show an error message if the inode_table can't be, allocated

2022-01-13 Thread Lars Weber
Signed-off-by: Lars Weber ---  fs/squashfs/sqfs.c | 5 +  1 file changed, 5 insertions(+) diff --git a/fs/squashfs/sqfs.c b/fs/squashfs/sqfs.c index e2d91c654c..9a81e79622 100644 --- a/fs/squashfs/sqfs.c +++ b/fs/squashfs/sqfs.c @@ -728,6 +728,11 @@ static int sqfs_read_inode_table(unsigned

Re: Please pull u-boot-marvell/master (watchdog related)

2022-01-13 Thread Tom Rini
On Thu, Jan 13, 2022 at 09:25:40AM +0100, Stefan Roese wrote: > Hi Tom, > > please pull the following watchdog related patches: > As you mentioned the other day, we should make things a bit more official that you're the watchdog custodian. So please feel free to update the MAINTAINERS file

Re: [PATCH 11/11] drivers/usb/gadget/dwc2_udc_otg.c: Fix spelling of "resetting".

2022-01-13 Thread Tom Rini
On Tue, Dec 21, 2021 at 01:07:02PM -0800, Vagrant Cascadian wrote: Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 10/11] drivers/ddr/altera/sequencer.c: Fix spelling of "resetting".

2022-01-13 Thread Tom Rini
On Tue, Dec 21, 2021 at 01:07:01PM -0800, Vagrant Cascadian wrote: Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 09/11] arch/arm/mach-keystone/ddr3.c: Fix spelling of "resetting".

2022-01-13 Thread Tom Rini
On Tue, Dec 21, 2021 at 01:07:00PM -0800, Vagrant Cascadian wrote: Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 08/11] drivers/core/of_addr.c: Fix spelling of "shouldn't".

2022-01-13 Thread Tom Rini
On Tue, Dec 21, 2021 at 01:06:59PM -0800, Vagrant Cascadian wrote: Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 07/11] common/fdt_support.c: Fix spelling of "shouldn't".

2022-01-13 Thread Tom Rini
On Tue, Dec 21, 2021 at 01:06:58PM -0800, Vagrant Cascadian wrote: Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 06/11] drivers/net/fec_mxc.c: Fix spelling of "resetting".

2022-01-13 Thread Tom Rini
On Tue, Dec 21, 2021 at 01:06:57PM -0800, Vagrant Cascadian wrote: Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 05/11] cmd/Kconfig: Fix spelling of "resetting".

2022-01-13 Thread Tom Rini
On Tue, Dec 21, 2021 at 01:06:56PM -0800, Vagrant Cascadian wrote: Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 04/11] arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_serdes.c: Fix spelling of "resetting".

2022-01-13 Thread Tom Rini
On Tue, Dec 21, 2021 at 01:06:55PM -0800, Vagrant Cascadian wrote: Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 03/11] drivers/usb/musb/musb_udc.c: Fix spelling of "mismatch".

2022-01-13 Thread Tom Rini
On Tue, Dec 21, 2021 at 01:06:54PM -0800, Vagrant Cascadian wrote: Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 02/11] drivers/mtd/ubispl/ubispl.c: Fix spelling of "mismatched".

2022-01-13 Thread Tom Rini
On Tue, Dec 21, 2021 at 01:06:53PM -0800, Vagrant Cascadian wrote: Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 01/11] arch/arm/mach-bcm283x/msg.c: Fix spelling of "Failed".

2022-01-13 Thread Tom Rini
On Tue, Dec 21, 2021 at 01:06:52PM -0800, Vagrant Cascadian wrote: Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] treewide: invaild -> invalid

2022-01-13 Thread Tom Rini
On Wed, Dec 01, 2021 at 02:26:53PM -0500, Sean Anderson wrote: > Somewhere along the way, someone misspelt "invalid" and it got copied > everywhere. Fix it. > > Signed-off-by: Sean Anderson > Reviewed-by: Alexander Dahl > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v2 14/20] arm: dts: Add initial support for J721S2 SoC

2022-01-13 Thread Tom Rini
On Thu, Jan 13, 2022 at 07:46:06PM +0530, Aswath Govindraju wrote: > Hi Tom, > > On 13/01/22 7:38 pm, Tom Rini wrote: > > On Tue, Jan 11, 2022 at 01:25:39PM +0530, Aswath Govindraju wrote: > > > >> The J721S2 SoC belongs to the K3 Multicore SoC architecture platform, > >> providing advanced

[PATCH v2 4/4] arm64: dts: imx8mq-u-boot.dtsi: improve odd blob-ext naming

2022-01-13 Thread Patrick Wildt
Rather than using odd implicit blob-ext naming, explicitly specify the type to be of blob-ext and therefore also simplify the node naming. Signed-off-by: Patrick Wildt --- arch/arm/dts/imx8mq-u-boot.dtsi | 34 - 1 file changed, 21 insertions(+), 13 deletions(-)

[PATCH v2 3/4] arm64: dts: imx8mm-u-boot.dtsi: use dash for node names

2022-01-13 Thread Patrick Wildt
Some of the nodes were named using a underscore, so rectify this and consistenly use dashes. Signed-off-by: Patrick Wildt --- arch/arm/dts/imx8mm-u-boot.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/dts/imx8mm-u-boot.dtsi

[PATCH v2 2/4] arm64: dts: imx8mq-u-boot.dtsi: explicitly add spl filename

2022-01-13 Thread Patrick Wildt
Explicitly add SPL aka u-boot-spl.bin filename. Signed-off-by: Patrick Wildt --- arch/arm/dts/imx8mq-u-boot.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/imx8mq-u-boot.dtsi b/arch/arm/dts/imx8mq-u-boot.dtsi index d8208ae7b0..566b8b8035 100644 ---

[PATCH v2 1/4] arm64: dts: imx8mq-u-boot.dtsi: alphabetically re-order properties

2022-01-13 Thread Patrick Wildt
Alphabetically re-order properties. Signed-off-by: Patrick Wildt --- arch/arm/dts/imx8mq-u-boot.dtsi | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/arch/arm/dts/imx8mq-u-boot.dtsi b/arch/arm/dts/imx8mq-u-boot.dtsi index 8a6075c77b..d8208ae7b0

[PATCH v2 0/4] arm64: imx8mq/imx8mm: cleanup binman configuration

2022-01-13 Thread Patrick Wildt
The i.MX8MM boards have been converted for some longer time compared to i.MX8MQ. During that time the i.MX8MM binman configuration has already gotten some cleanup. This brings the i.MX8MQ binman config in line with the i.MX8MM one, and also fixes node names in the i.MX8MM config. Changes since

Re: [PATCH 3/4] arm64: dts: imx8mm-u-boot.dtsi: fix typo in ddr blob name

2022-01-13 Thread Patrick Wildt
On Thu, Jan 13, 2022 at 10:40:21AM -0300, Fabio Estevam wrote: > Hi Patrick, > > On 13/01/2022 10:29, Michael Walle wrote: > > > Why don't you just change it to the correct naming then? > > I agree with Michael: node names should use a dash instead of the > underscore. > > dtc complains about

Re: [PATCH v2 12/20] dt-bindings: ti-serdes-mux: Add defines for J721S2 SoC

2022-01-13 Thread Tom Rini
On Tue, Jan 11, 2022 at 01:25:37PM +0530, Aswath Govindraju wrote: > There are 4 lanes in the single instance of J721S2 SERDES. Each SERDES > lane mux can select upto 4 different IPs. Define all the possible > functions. > > Signed-off-by: Aswath Govindraju > --- >

Re: [PATCH v2 11/20] board: ti: j721s2: Add board support for J721S2

2022-01-13 Thread Tom Rini
On Tue, Jan 11, 2022 at 01:25:36PM +0530, Aswath Govindraju wrote: > From: David Huang > > Add board support for J721S2 SoC. > > Signed-off-by: David Huang > Signed-off-by: Aswath Govindraju [snip] > diff --git a/board/ti/j721s2/MAINTAINERS b/board/ti/j721s2/MAINTAINERS > new file mode

Re: [PATCH v2 14/20] arm: dts: Add initial support for J721S2 SoC

2022-01-13 Thread Aswath Govindraju
Hi Tom, On 13/01/22 7:38 pm, Tom Rini wrote: > On Tue, Jan 11, 2022 at 01:25:39PM +0530, Aswath Govindraju wrote: > >> The J721S2 SoC belongs to the K3 Multicore SoC architecture platform, >> providing advanced system integration in automotive ADAS applications and >> industrial applications

Re: [PATCH v2 09/20] ram: k3-ddrss: Add support for J721S2 SoC

2022-01-13 Thread Tom Rini
On Tue, Jan 11, 2022 at 01:25:34PM +0530, Aswath Govindraju wrote: > From: David Huang > > Add support for DDR subsystem in J721S2 SoC. > > Signed-off-by: David Huang > Signed-off-by: Aswath Govindraju > --- > drivers/ram/Kconfig | 12 > drivers/ram/k3-ddrss/Makefile

Re: [PATCH v2 05/20] arm: K3: Add basic support for J721S2 SoC definition

2022-01-13 Thread Tom Rini
On Tue, Jan 11, 2022 at 01:25:30PM +0530, Aswath Govindraju wrote: > From: David Huang > > Add basic support for J721S2 SoC definition > > Signed-off-by: David Huang > Signed-off-by: Aswath Govindraju > Signed-off-by: Dave Gerlach > Signed-off-by: Nishanth Menon > Signed-off-by: Hari

Re: [PATCH v2 01/20] remoteproc: k3_system_controller: Support optional boot_notification channel

2022-01-13 Thread Tom Rini
On Tue, Jan 11, 2022 at 01:25:26PM +0530, Aswath Govindraju wrote: > From: Nishanth Menon > > If there is an optional boot notification channel that an SoC uses > separate from the rx path, use the same. > > Signed-off-by: Nishanth Menon > --- > .../remoteproc/k3-system-controller.txt

Re: [PATCH v2 17/20] arm: dts: k3-j721s2: Add r5 specific dt support

2022-01-13 Thread Tom Rini
On Tue, Jan 11, 2022 at 01:25:42PM +0530, Aswath Govindraju wrote: > Add initial support for device tree that runs on R5. > > Signed-off-by: Aswath Govindraju > --- > arch/arm/dts/Makefile | 3 +- > .../dts/k3-j721s2-r5-common-proc-board.dts| 196

Re: [PATCH v2 14/20] arm: dts: Add initial support for J721S2 SoC

2022-01-13 Thread Tom Rini
On Tue, Jan 11, 2022 at 01:25:39PM +0530, Aswath Govindraju wrote: > The J721S2 SoC belongs to the K3 Multicore SoC architecture platform, > providing advanced system integration in automotive ADAS applications and > industrial applications requiring AI at the network edge. This SoC extends > the

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

2022-01-13 Thread Simon Glass
Hi, On Thu, 13 Jan 2022 at 05:52, Tom Rini wrote: > > On Thu, Jan 13, 2022 at 08:56:02AM +0100, Rasmus Villemoes wrote: > > On 12/01/2022 22.56, Tom Rini wrote: > > > On Wed, Jan 12, 2022 at 02:28:21PM -0700, Simon Glass wrote: > > >> Hi Ilias, > > >> > > >> On Mon, 1 Nov 2021 at 01:05, Ilias

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

2022-01-13 Thread Simon Glass
Hi Tom, On Thu, 13 Jan 2022 at 06:41, Tom Rini wrote: > > On Thu, Jan 13, 2022 at 06:37:27AM -0700, Simon Glass wrote: > > Hi Tom, Rasmus, > > > > On Thu, 13 Jan 2022 at 06:07, Tom Rini wrote: > > > > > > On Thu, Jan 13, 2022 at 09:08:13AM +0100, Rasmus Villemoes wrote: > > > > On 01/11/2021

[PATCH v3 01/12] stddef: Avoid warning with clang with offsetof()

2022-01-13 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] configs: fsl: add missing FMAN/QE_FW_ADDR defines

2022-01-13 Thread Camelia Groza
From: Camelia Groza The initial patch had typos that caused four defconfigs to miss the symbol transition to Kconfig. CONFIG_SYS_QE_FW_ADDR and CONFIG_SYS_FMAN_FW_ADDR are currently initialized to 0 by default on these builds, which prevents the firmware from loading. Add the correct symbols to

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

2022-01-13 Thread Tom Rini
On Thu, Jan 13, 2022 at 06:37:27AM -0700, Simon Glass wrote: > Hi Tom, Rasmus, > > On Thu, 13 Jan 2022 at 06:07, Tom Rini wrote: > > > > On Thu, Jan 13, 2022 at 09:08:13AM +0100, Rasmus Villemoes wrote: > > > On 01/11/2021 02.17, Simon Glass wrote: > > > > Some bright sparks have decided that a

Re: [PATCH] dm: core: Switch order of pinctrl and power domain calls

2022-01-13 Thread Simon Glass
On Fri, 7 Jan 2022 at 08:38, Michal Simek wrote: > > The commit 3ad307784847 ("dm: core: device: enable power domain in probe") > introduced enabling power domain when device is probed. > By checking this sequence in Linux kernel was found that power domain is > handled first followed by pinctrl

Re: [BUG] sandbox: NO_SDL=1 gcc: error: arch/sandbox/cpu/sdl.o: No such file or directory

2022-01-13 Thread Simon Glass
Hi Heinrich, On Mon, 10 Jan 2022 at 16:22, Heinrich Schuchardt wrote: > > Hello Simon, > > compiling with SDL fails on Alpine Linux: > https://gitlab.alpinelinux.org/alpine/aports/-/issues/13411 > > So I tried NO_SDL: > > make sandbox_defconfig NO_SDL=1 > make menuconfig #

Re: [PATCH u-boot-dm v2] fdt_support: Add fdt_for_each_node_by_compatible() helper macro

2022-01-13 Thread Simon Glass
Hi Marek, On Wed, 12 Jan 2022 at 15:24, Marek Behún wrote: > > On Wed, 12 Jan 2022 13:04:08 -0700 > Simon Glass wrote: > > > Hi Marek, > > > > On Mon, 10 Jan 2022 at 03:46, Marek Behún wrote: > > > > > > From: Marek Behún > > > > > > Add macro fdt_for_each_node_by_compatible() to allow

Re: [PATCH 0/3] Add PCIe support for Iomega iConnect board

2022-01-13 Thread Pali Rohár
On Saturday 01 January 2022 20:57:36 Tony Dinh wrote: > > The Iomega iConnect board has an internal mPCIe slot. > - Add PCIe support to enable the mPCIe slot to accept devices such as Wifi > card or mSATA. > - Add SYS_THUMB_BUILD to keep u-boot image size within 512K > - Add myself as

Re: [PATCH v2 8/8] arm: kirkwood: Pogoplug-V4 : Add board maintainer

2022-01-13 Thread Stefan Roese
On 12/23/21 08:26, Tony Dinh wrote: Add board maintainer for Pogoplug V4 board Signed-off-by: Tony Dinh Hmm, just this one file? I would prefer to not have this many patches in this series and squash at least all files in the board directory into one. Or also integrate the defconfig and

Re: [PATCH 0/3] mkimage: allow to specify signing algorithm

2022-01-13 Thread Simon Glass
Hi Jan, On Thu, 13 Jan 2022 at 05:38, Jan Kiszka wrote: > > On 25.11.21 20:03, Jan Kiszka wrote: > > Another step to decouple the FIT image specification from the actual > > signing: With these changes, the signature nodes can leave out an algo > > property, mkimage will initialize that as well

Re: [PATCH 3/4] arm64: dts: imx8mm-u-boot.dtsi: fix typo in ddr blob name

2022-01-13 Thread Fabio Estevam
Hi Patrick, On 13/01/2022 10:29, Michael Walle wrote: Why don't you just change it to the correct naming then? I agree with Michael: node names should use a dash instead of the underscore. dtc complains about it when building with W=2: arch/arm/dts/imx8mm-evk.dtb: Warning

Re: [PATCH v2 7/8] arm: kirkwood: Pogoplug-V4 : Add board implementation

2022-01-13 Thread Stefan Roese
On 12/23/21 08:26, Tony Dinh wrote: Add board implementation for Pogoplug V4 Note: currently the fdt_get_phy_addr function in this file is duplicate in this board and many other Kirkwood boards (eg. Sheevaplug, GoFlex Home, etc.). This function is being factored out into common area by another

  1   2   >