Re: [PATCH v2 1/3] fdtdec: optionally add property no-map to created reserved memory node

2020-08-25 Thread Rick Chen
> From: Patrice Chotard [mailto:patrice.chot...@st.com] > Sent: Tuesday, August 25, 2020 7:29 PM > To: u-boot@lists.denx.de > Cc: Patrice CHOTARD; Patrick DELAUNAY; U-Boot STM32; Etienne Carriere; Atish > Patra; Bin Meng; Bryan O'Donoghue; Heinrich Schuchardt; Rick Jian-Zhi > Chen(陳建志); Simon

[PATCH 3/3] binman: Build FIT image subentries with the section etype

2020-08-25 Thread Alper Nebi Yasak
When reading subentries of each image, the FIT entry type directly concatenates their contents without padding them according to their offset, size, align, align-size, align-end, pad-before, pad-after properties. This patch makes sure these properties are respected by offloading this image-data

[PATCH 2/3] binman: Respect pad-before property of section subentries

2020-08-25 Thread Alper Nebi Yasak
Other relevant properties (pad-after, offset, size, align, align-size, align-end) already work since Pack() sets correct ranges for subentries' data (.offset, .size variables), but some padding here is necessary to align the data within this range to match the pad-before property. Signed-off-by:

ext2ls zero-length directory entries?

2020-08-25 Thread Joe Buehler
(This is a vendor-modified version of uboot 2011.03.) I am running into problems using ext2load, the command complains that the file of interest is not found. I know it's there though since it is fine under LINUX. Doing some poking around, I see that ext2ls is showing mostly zero length on the

[PATCH 1/3] binman: Ignore hash*, signature* nodes in sections

2020-08-25 Thread Alper Nebi Yasak
Switch to str.startswith for matching like the FIT etype does since the current version doesn't ignore 'hash-1', 'hash-2', etc. Signed-off-by: Alper Nebi Yasak --- tools/binman/etype/section.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binman/etype/section.py

[PATCH 0/3] binman: Make FIT image subentries respect offset, alignment and padding

2020-08-25 Thread Alper Nebi Yasak
I've been automating the process in doc/README.chromium-chainload and while experimenting with whether a "kernel" image with u-boot-spl and u-boot would work, noticed I couldn't align/offset/pad the two parts. E.g. in something like the following, binman doesn't add the necessary padding to place

Re: Please pull u-boot-marvell/master

2020-08-25 Thread Tom Rini
On Tue, Aug 25, 2020 at 03:20:35PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the Marvell Octeon TX / TX2 base support. I would have > liked to send this pull request earlier in the release cycle, > but it did not work out and I hope, that it's still possible to > get this included in

[PATCH v5 2/2] board: sl28: add board specific nvm command

2020-08-25 Thread Michael Walle
The board supports 16 configuration bits which can be manipulated with this command. See the board's README for a detailed explanation on each bit. Signed-off-by: Michael Walle --- board/kontron/sl28/Makefile | 2 +- board/kontron/sl28/README | 79

[PATCH v5 1/2] board: kontron: add sl28 support

2020-08-25 Thread Michael Walle
Add basic support for the Kontron SMARC-sAL28 board. This includes just the bare minimum to be able to bring up the board and boot linux. For now, the Single and Dual PHY variant is supported. Other variants will fall back to the basic variant. In particular, there is no watchdog support for

[PATCH v5 0/2] Basic Kontron SMARC-sAL28 board support

2020-08-25 Thread Michael Walle
Add basic board support for the Kontron SMARC-sAL28 board. Please note, that this board doesn't support TF-a (yet). Therefore, the u-boot SPL is the first code which is run and it has to set up the RAM. changes since v4: - dropped "armv8: ls1028a: move FSL_LAYERSCAPE to kconfig" as it is

Re: Z-Turn board support on U-Boot 2020.10-rc2, got some errors.

2020-08-25 Thread Alexandre GRIVEAUX
On 24/08/2020 13:31, Michal Simek wrote : > Hi, > Hi > It looks like that manufacturer created different versions where they > are not compatible to each other. Please take a look at this thread. > https://www.spinics.net/lists/arm-kernel/msg800078.html > > I didn't accepted the patch because none

Re: [PATCH 4/7] binman: Add support for ATF BL31

2020-08-25 Thread Heinrich Schuchardt
Am 25. August 2020 18:57:57 MESZ schrieb Simon Glass : >Hi Heinrich, > >On Tue, 25 Aug 2020 at 04:16, Heinrich Schuchardt >wrote: >> >> On 22.08.20 04:36, Simon Glass wrote: >> > Add an entry for ARM Trusted Firmware's 'BL31' payload, which is >the >> > device's main firmware. Typically this is

[PATCH v2 1/1] board: ns3: check bnxt chimp handshake status

2020-08-25 Thread Rayagonda Kokatanur
Chimp is a core in Broadcom netxtream controller (bnxt). Add support to check bnxt's chimp component status. Signed-off-by: Rayagonda Kokatanur --- Changes from V1: -Address review comments from Simon, Add comment about chimp failure. board/broadcom/bcmns3/ns3.c | 17 + 1

Re: [PATCH 0/7] binman: Add support for generating more complex FITs

2020-08-25 Thread Heinrich Schuchardt
On 8/25/20 6:57 PM, Simon Glass wrote: > Hi Heinrich, > > On Tue, 25 Aug 2020 at 04:12, Heinrich Schuchardt wrote: >> >> On 25.08.20 06:07, Heinrich Schuchardt wrote: >>> On 8/22/20 4:36 AM, Simon Glass wrote: This series allows binman to generate FITs that include multiple DTB images

Re: [PATCH v1 1/1] board: ns3: check bnxt chimp handshake status

2020-08-25 Thread Simon Glass
Hi Rayagonda, On Mon, 24 Aug 2020 at 10:35, Rayagonda Kokatanur wrote: > > Hi Simon, > > On Sat, Aug 22, 2020 at 8:39 PM Simon Glass wrote: > > > > Hi Rayagonda, > > > > On Thu, 20 Aug 2020 at 11:42, Rayagonda Kokatanur > > wrote: > > > > > > Chimp is a core in Broadcom netxtream controller

Re: [PATCH v3 1/1] arm: sunxi: increase SYS_MALLOC_F_LEN

2020-08-25 Thread Simon Glass
On Mon, 24 Aug 2020 at 22:15, Heinrich Schuchardt wrote: > > On 7/25/20 8:18 PM, Heinrich Schuchardt wrote: > > The current default of 0x400 for SYS_MALLOC_F_LEN is too small if any > > additional drivers marked as DM_FLAG_PRE_RELOC are loaded before > > relocation. > > > > CONFIG_RSA=y which is

Re: [PATCH 4/7] binman: Add support for ATF BL31

2020-08-25 Thread Simon Glass
Hi Heinrich, On Tue, 25 Aug 2020 at 04:16, Heinrich Schuchardt wrote: > > On 22.08.20 04:36, Simon Glass wrote: > > Add an entry for ARM Trusted Firmware's 'BL31' payload, which is the > > device's main firmware. Typically this is U-Boot. > > > > Signed-off-by: Simon Glass > > --- > > > >

Re: [PATCH 0/7] binman: Add support for generating more complex FITs

2020-08-25 Thread Simon Glass
Hi Heinrich, On Tue, 25 Aug 2020 at 04:12, Heinrich Schuchardt wrote: > > On 25.08.20 06:07, Heinrich Schuchardt wrote: > > On 8/22/20 4:36 AM, Simon Glass wrote: > >> This series allows binman to generate FITs that include multiple DTB > >> images and the configuration to use them. > >> > >> It

Re: [PATCH v4 20/27] Makefile: Warn against using CONFIG_SPL_FIT_GENERATOR

2020-08-25 Thread Simon Glass
Hi Michal, On Tue, 25 Aug 2020 at 09:13, Michal Simek wrote: > > Hi Simon, > > On 25. 08. 20 17:04, Simon Glass wrote: > > Hi Michal, > > > > On Mon, 24 Aug 2020 at 08:12, Michal Simek wrote: > >> > >> Hi Simon, > >> > >> On 22. 08. 20 17:08, Simon Glass wrote: > >>> Hi Michal, > >>> > >>> On

[PATCH] efi_loader: log function in image loader

2020-08-25 Thread Heinrich Schuchardt
Use log_err() for error messages. Replace debug() by EFI_PRINT(). Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_image_loader.c | 44 +++ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/lib/efi_loader/efi_image_loader.c

[PATCH 1/1] fs: convert error and debug messages to log

2020-08-25 Thread Heinrich Schuchardt
Use log functions for error and debug messages of the file-system. Signed-off-by: Heinrich Schuchardt --- fs/fs.c | 16 +--- fs/fs_internal.c | 16 +--- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/fs/fs.c b/fs/fs.c index

[PATCH v2] scripts/setlocalversion: sync with linux 5.8

2020-08-25 Thread Rasmus Villemoes
The linux changes since v3.16 are 78283edf2c01 kbuild: setlocalversion: print error to STDERR b24413180f56 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 6147b1cf1965 scripts/setlocalversion: git: Make -dirty check more robust 8ef14c2c41d9 Revert

Re: [PATCH v4 20/27] Makefile: Warn against using CONFIG_SPL_FIT_GENERATOR

2020-08-25 Thread Michal Simek
Hi Simon, On 25. 08. 20 17:04, Simon Glass wrote: > Hi Michal, > > On Mon, 24 Aug 2020 at 08:12, Michal Simek wrote: >> >> Hi Simon, >> >> On 22. 08. 20 17:08, Simon Glass wrote: >>> Hi Michal, >>> >>> On Mon, 17 Aug 2020 at 00:49, Michal Simek wrote: Hi Simon, On 16. 08.

Re: [PATCH v1 06/24] pci: pci-uclass: Add multi entry support for memory regions

2020-08-25 Thread Tom Rini
On Tue, Aug 25, 2020 at 09:04:26AM -0600, Simon Glass wrote: > Hi, > > On Mon, 24 Aug 2020 at 07:09, Tom Rini wrote: > > > > On Mon, Aug 24, 2020 at 09:36:13AM +0200, Stefan Roese wrote: > > > Hi Tom, > > > > > > On 23.08.20 16:03, Tom Rini wrote: > > > > On Sun, Aug 23, 2020 at 11:41:41AM

Re: [PATCH 1/1] dm: syscon: typo alerady

2020-08-25 Thread Simon Glass
On Fri, 21 Aug 2020 at 23:16, Heinrich Schuchardt wrote: > > * Fix typo: %s/alerady/already/. > * Add missing 'the'. > * Reformat a comment. > > Signed-off-by: Heinrich Schuchardt > --- > drivers/core/syscon-uclass.c | 10 +++--- > 1 file changed, 7 insertions(+), 3 deletions(-) >

Re: [PATCH] cmd: mem: Remove already removed CONFIG_SYS_MEMTEST_SCRATCH

2020-08-25 Thread Simon Glass
On Mon, 24 Aug 2020 at 05:17, Michal Simek wrote: > > The commit e519f03a1846 ("cmd: mem: Remove CONFIG_SYS_MEMTEST_SCRATCH > mapping") removed CONFIG_SYS_MEMTEST_SCRATCH but commit 091401131085 > ("command: Remove the cmd_tbl_t typedef") has added it back. That's why > symbol is still in the

Re: [PATCH] xilinx: drivers: Use '_' instead of '-' in driver name

2020-08-25 Thread Simon Glass
On Mon, 24 Aug 2020 at 06:15, Michal Simek wrote: > > The most of drivers are using '_' instead of '-' in driver name. That's why > sync up these names to be aligned. It looks quite bad to see both in use. > It is visible via dm tree command. > > Signed-off-by: Michal Simek > --- > > Simon: Not

Re: [PATCH v2 1/4] firmware: add new driver for SCMI firmwares

2020-08-25 Thread Simon Glass
Hi Etienne, On Sun, 23 Aug 2020 at 11:07, Etienne Carriere wrote: > > Hello Simon, > > > > This change introduces SCMI agent driver in U-Boot in the firmware > > > U-class. > > > (...) > > > Changes in v2: > > > (...) > > > > > > Note: review comments on defining a uclass and sandbox for SCMI >

Re: [PATCH v1 06/24] pci: pci-uclass: Add multi entry support for memory regions

2020-08-25 Thread Simon Glass
Hi, On Mon, 24 Aug 2020 at 07:09, Tom Rini wrote: > > On Mon, Aug 24, 2020 at 09:36:13AM +0200, Stefan Roese wrote: > > Hi Tom, > > > > On 23.08.20 16:03, Tom Rini wrote: > > > On Sun, Aug 23, 2020 at 11:41:41AM +0200, Stefan Roese wrote: > > > > Hi Simon, > > > > Hi Tom, > > > > > > > > On

Re: [PATCH v4 20/27] Makefile: Warn against using CONFIG_SPL_FIT_GENERATOR

2020-08-25 Thread Simon Glass
Hi Michal, On Mon, 24 Aug 2020 at 08:12, Michal Simek wrote: > > Hi Simon, > > On 22. 08. 20 17:08, Simon Glass wrote: > > Hi Michal, > > > > On Mon, 17 Aug 2020 at 00:49, Michal Simek wrote: > >> > >> Hi Simon, > >> > >> On 16. 08. 20 5:39, Simon Glass wrote: > >>> Hi Michal, > >>> > >>> On

Re: [PATCH U-Boot] scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks

2020-08-25 Thread Tom Rini
On Tue, Aug 25, 2020 at 04:53:36PM +0200, Rasmus Villemoes wrote: > On 25/08/2020 14.56, Tom Rini wrote: > > On Tue, Aug 25, 2020 at 01:29:50PM +0200, Rasmus Villemoes wrote: > > > >> From: Brian Norris > >> > >> [linux commit ff64dd4857303dd5550faed9fd598ac90f0f2238] > >> > > >>

Re: [PATCH U-Boot] scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks

2020-08-25 Thread Rasmus Villemoes
On 25/08/2020 14.56, Tom Rini wrote: > On Tue, Aug 25, 2020 at 01:29:50PM +0200, Rasmus Villemoes wrote: > >> From: Brian Norris >> >> [linux commit ff64dd4857303dd5550faed9fd598ac90f0f2238] >> >> scripts/setlocalversion | 12 ++-- >> 1 file changed, 10 insertions(+), 2 deletions(-) >

Re: [PATCH v3 1/3] fdtdec: optionally add property no-map to created reserved memory node

2020-08-25 Thread Heinrich Schuchardt
On 25.08.20 13:42, Patrice Chotard wrote: > From: Etienne Carriere > > Add boolean input argument @no_map to helper function > fdtdec_add_reserved_memory() to add "no-map" property for an added > reserved memory node. This is needed for example when the reserved > memory relates to secure memory

[GIT PULL] Pull request: u-boot-imx u-boot-imx-20200825

2020-08-25 Thread Stefano Babic
://gitlab.denx.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-20200825 for you to fetch changes up to acbc1d86f16cc8372cccb7b862a0b9dc242f8fe5: imx8m: config: convert to bootm_size (2020-08-25 10:26:38 +0200) For 2020.10

Re: Pull request: u-boot-rockchip-20200820

2020-08-25 Thread Tom Rini
On Tue, Aug 25, 2020 at 02:39:11PM +0800, Kever Yang wrote: > Hi Tom, > > Please pull the rockchip updates/fixes: > - Fix rk3399 evb sdcard support > - Fix for SPL_LED support > > Gitlab ci: > https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip/pipelines/4456 > > Thanks, > - Kever > >

Re: Pull request: u-boot-riscv/master 20200825

2020-08-25 Thread Tom Rini
On Tue, Aug 25, 2020 at 10:31:04AM +0800, ub...@andestech.com wrote: > Hi Tom, > > Please pull some riscv updates: > > - Sipeed Maix support S-mode. > - Provide command sbi. > - Use fdtdec_get_addr_size_auto_parent to get fu540 cache base address. > - Fix a compiler error with CONFIG_SPL_SMP=n.

Re: [U-Boot] Please pull from u-boot-i2c

2020-08-25 Thread Tom Rini
On Tue, Aug 25, 2020 at 01:30:50PM +0200, Heiko Schocher wrote: > Hello Tom, > > please pull from u-boot-i2c master > > The following changes since commit 1aa3966173fe92fa3c46638ee8eb8b8491f521d6: > > Merge tag 'u-boot-clk-24Aug2020' of > https://gitlab.denx.de/u-boot/custodians/u-boot-clk

[PATCH] imx8m: config: convert to bootm_size

2020-08-25 Thread sbabic
> Restrict the memory range available for image processing in the > "bootm" to 256 MiB so the kernel can access it and FDT or initrd are > not overwritten on ARM64. > Signed-off-by: Grygorii Tertychnyi > Cc: Peng Fan > Cc: Marek Vasut > Cc: Andrey Zhizhikin > Reviewed-by: Tom Rini Applied to

[v2] arm: mx6: Make all i.MX6 SoCs user-selectable

2020-08-25 Thread sbabic
> We have a number of platforms that are a combination of a carrier board > and System-on-Module (SoM) that in turn allows for the board to have > different SoCs on it. In some cases, this is handled via board-specific > Kconfig options. In other cases we make use of > CONFIG_SYS_EXTRA_OPTIONS.

[PATCH] pico-imx6: Remove unneeded CONFIG_DM_MDIO

2020-08-25 Thread sbabic
> As explained in the CONFIG_DM_MDIO text inside drivers/net/Kconfig: > > "Useful in particular for systems that support > DM_ETH and have a stand-alone MDIO hardware block shared by multiple > Ethernet interfaces." > > i.MX6 has a single FEC instance, so there is no need to select >

[PATCH V2] ARM: imx6q_logic: Fix broken booting by moving fdt_addr_r address

2020-08-25 Thread sbabic
> The loading address is too close to the kernel address, so newer kernels > may overlap memory space, so loading the device tree may corrupt zImage. > This patch moves the fdt_addr_r to 0x1400 which is also consistent > with guidance that the kernel be allocated 32MB. This places it > in the

Re: [PATCH] git-mailrc: Update email address of Maxime Ripard

2020-08-25 Thread Maxime Ripard
On Sun, Aug 09, 2020 at 12:15:02PM +0200, Jonas Smedegaard wrote: > Update email address of Maxime Ripard in git-mailrc to match more > recently updated entry in MAINTAINERS. > commit 9bd9b2bcbee1 ("MAINTAINERS: Update my email address") > commit bf8f4c4400e3 ("MAINTAINERS: Update email address

Please pull u-boot-marvell/master

2020-08-25 Thread Stefan Roese
Hi Tom, please pull the Marvell Octeon TX / TX2 base support. I would have liked to send this pull request earlier in the release cycle, but it did not work out and I hope, that it's still possible to get this included in this rc2 phase. Most changes are located in the Octeon TX / TX2 platform

Re: [PATCH U-Boot] scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks

2020-08-25 Thread Tom Rini
On Tue, Aug 25, 2020 at 01:29:50PM +0200, Rasmus Villemoes wrote: > From: Brian Norris > > [linux commit ff64dd4857303dd5550faed9fd598ac90f0f2238] > > git-diff-index does not refresh the index for you, so using it for a > "-dirty" check can give misleading results. Commit 6147b1cf19651 >

Re: [PATCH] usb: gadget: ether: Fix warnings about unused code

2020-08-25 Thread Tom Rini
On Tue, Aug 25, 2020 at 11:55:17AM +0200, Lukasz Majewski wrote: > Hi Tom, > > > When building this with clang we see a few new warnings. There are a > > handful of structs that we declare and use only in the case of > > !defined(CONFIG_USB_ETH_CDC) && defined(CONFIG_USB_ETH_SUBSET) so > >

Re: [PATCH v2 5/5] xen: Code style conformity

2020-08-25 Thread Tom Rini
On Fri, Aug 21, 2020 at 12:10:04PM +0300, Anastasiia Lukianenko wrote: > From: Anastasiia Lukianenko > > Cleaning up the following: > > ERROR: do not use assignment in if condition > #281: FILE: drivers/xen/pvblock.c:260: > + if ((err = xenbus_switch_state(XBT_NIL, nodename, >

Re: [PATCH v2 4/5] board: xen: Remove unnecessary CONFIG_INITRD_TAG and CONFIG_CMDLINE_TAG

2020-08-25 Thread Tom Rini
On Fri, Aug 21, 2020 at 12:10:03PM +0300, Anastasiia Lukianenko wrote: > From: Anastasiia Lukianenko > > Signed-off-by: Anastasiia Lukianenko > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 2/5] MAINTAINERS: Add maintainers to XEN section

2020-08-25 Thread Tom Rini
On Fri, Aug 21, 2020 at 12:10:01PM +0300, Anastasiia Lukianenko wrote: > From: Anastasiia Lukianenko > > Signed-off-by: Anastasiia Lukianenko > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 3/5] board: xen: Remove CONFIG_CMD_RUN define and clean xenguest_arm64_defconfig

2020-08-25 Thread Tom Rini
On Fri, Aug 21, 2020 at 12:10:02PM +0300, Anastasiia Lukianenko wrote: > From: Anastasiia Lukianenko > > CONFIG_CMD_RUN is set on by default in Kconfig. > Create xenguest_arm64_defconfig by using savedefconfig to avoid unnecessary > options. > > Signed-off-by: Anastasiia Lukianenko >

Re: [PATCH v6 6/7] arm: dts: mt7622: add USB nodes

2020-08-25 Thread Tom Rini
On Thu, Aug 20, 2020 at 04:37:57PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > Add DTS nodes for MT7622/BPI-R64 > > Signed-off-by: Frank Wunderlich > Reviewed-by: Chunfeng Yun Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 1/5] board: xen: Remove unnecessary CONFIG_BOARD_EARLY_INIT_F define and board_early_init_f function

2020-08-25 Thread Tom Rini
On Fri, Aug 21, 2020 at 12:10:00PM +0300, Anastasiia Lukianenko wrote: > From: Anastasiia Lukianenko > > Signed-off-by: Anastasiia Lukianenko > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v6 7/7] arm: dts: mt7623: add USB nodes

2020-08-25 Thread Tom Rini
On Thu, Aug 20, 2020 at 04:37:58PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > This adds USB nodes for MT7623/BPI-R2 > > Signed-off-by: Frank Wunderlich > Reviewed-by: Chunfeng Yun Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v6 2/7] reset: drop unnecessary comment for pciesys

2020-08-25 Thread Tom Rini
On Thu, Aug 20, 2020 at 04:37:53PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > after review from sam this comment should be removed > > Signed-off-by: Frank Wunderlich Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v6 4/7] clk: mt7622: add needed clocks for ssusb-node

2020-08-25 Thread Tom Rini
On Thu, Aug 20, 2020 at 04:37:55PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > MT7622 needs additional clock definitions to work properly > > Signed-off-by: Frank Wunderlich Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v6 3/7] ahci: mediatek: fix copyright and author-lines

2020-08-25 Thread Tom Rini
On Thu, Aug 20, 2020 at 04:37:54PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > after review of sam copyright should be on one line and link should > not between author lines > > just remove the link and put ryder first as he is author of linux-driver > > Signed-off-by: Frank

Re: [PATCH v6 5/7] arm: dts: rename mt7622-bpi-r64.dts

2020-08-25 Thread Tom Rini
On Thu, Aug 20, 2020 at 04:37:56PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > rename mt7622-bpi-r64.dts to mt7622-bananapi-bpi-r64.dts > to follow naming convensions > > Signed-off-by: Frank Wunderlich Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [PATCH v6 1/7] phy: mtk-tphy: make shared reg optional for v1

2020-08-25 Thread Tom Rini
On Thu, Aug 20, 2020 at 04:37:52PM +0200, Frank Wunderlich wrote: > From: Frank Wunderlich > > make the shared reg optional when version is v1 for sata > > Suggested-by: Chunfeng Yun > Signed-off-by: Frank Wunderlich > Reviewed-by: Chunfeng Yun Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v4 4/5] fs/squashfs: add support for LZO decompression

2020-08-25 Thread Tom Rini
On Tue, Aug 18, 2020 at 05:17:24PM +0200, Joao Marcos Costa wrote: > Add call to lzo's lzo1x_decompress_safe() into sqfs_decompress(). > > U-Boot's LZO sources may still have some unsolved issues that could make the > decompression crash when dealing with fragmented files, so those should be >

Re: [PATCH 1/1] fs/squashfs: Fix Coverity Scan defects

2020-08-25 Thread Tom Rini
On Wed, Aug 19, 2020 at 06:28:41PM +0200, Joao Marcos Costa wrote: > Fix defects such as uninitialized variables and untrusted pointer > operations. Most part of the tainted variables and the related defects > actually comes from Linux's macro get_unaligned_le**, extensively used > in SquashFS

Re: [PATCH v4 5/5] test/py: Add tests for LZO and ZSTD

2020-08-25 Thread Tom Rini
On Tue, Aug 18, 2020 at 05:17:25PM +0200, Joao Marcos Costa wrote: > Improve SquashFS tests architecture. Add 'Compression' class. LZO > algorithm may crash if the file is fragmented, so the fragments are > disabled when testing LZO. > > Signed-off-by: Joao Marcos Costa Applied to

Re: [PATCH] virtio_blk: set log2blksz correctly

2020-08-25 Thread Tom Rini
On Wed, Aug 19, 2020 at 06:07:32PM +0900, AKASHI Takahiro wrote: > 'log2blksz' in blk_desc structure must always be initialized, otherwise > it will cause a lot of weird failures in file operations. > > For example, fs_set_blk_dev[_with_part]() examines a block device against > every file system

Re: [PATCH v4 3/5] fs/squashfs: add support for ZSTD decompression

2020-08-25 Thread Tom Rini
On Tue, Aug 18, 2020 at 05:17:23PM +0200, Joao Marcos Costa wrote: > Add call to ZSTD's ZSTD_decompressDCtx(). In this use case, the caller > can upper bound the decompressed size, which will be the SquashFS data > block (or metadata block) size, so there is no need to use streaming > API. Add

Re: [PATCH] cmd: fix clone coverity scan

2020-08-25 Thread Tom Rini
On Mon, Aug 17, 2020 at 03:53:01PM +0800, John Chau wrote: > From: John Chau > > This patch fixes coverity scan MISSING_BREAK issues, and also an error > on block size check. > > Signed-off-by: John Chau Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v4 2/5] fs/squashfs: replace sqfs_decompress() parameter

2020-08-25 Thread Tom Rini
On Tue, Aug 18, 2020 at 05:17:22PM +0200, Joao Marcos Costa wrote: > Replace 'u16 comp_type' by a reference to squashfs_ctxt structure. > > Signed-off-by: Joao Marcos Costa Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v3] firmware: psci: Do not bind driver if U-Boot runs in EL3

2020-08-25 Thread Tom Rini
On Thu, Aug 13, 2020 at 12:43:22PM +0200, Michal Simek wrote: > There is no reason to bind psci driver if U-Boot runs in EL3 because > SMC/HVC instructions can't be called. That's why detect this state and > don't let user to crash from prompt by performing reset or poweroff > commands (if

Re: [PATCH v4 1/5] fs/squashfs: Add init and clean-up functions to decompression

2020-08-25 Thread Tom Rini
On Tue, Aug 18, 2020 at 05:17:21PM +0200, Joao Marcos Costa wrote: > Add sqfs_decompressor_init() and sqfs_decompressor_cleanup(). These > functions are called respectively in sqfs_probe() and sqfs_close(). For > now, only ZSTD requires an initialization logic. ZSTD support will be > added in a

Re: [PATCH v3] board: armltd: Add support for Total Compute platform

2020-08-25 Thread Tom Rini
On Wed, Aug 12, 2020 at 04:12:53PM +0100, Usama Arif wrote: > Total Compute is based on ARM architecture and has > the following features enabled in u-boot: > - PL011 UART > - PL180 MMC > - NOR Flash > - FIT image with Signature > - AVB > > Signed-off-by: Usama Arif > Reviewed-by: Tom Rini

Re: [PATCH 1/2] avb: Make AVB independent of fastboot

2020-08-25 Thread Tom Rini
On Tue, Aug 11, 2020 at 03:46:03PM +0100, Usama Arif wrote: > AVB only uses CONFIG_FASTBOOT_BUF_ADDR from fastboot for memory. > This memory is used for assigning temporary buffers. > This can be assigned a new variable and used as CONFIG_AVB_BUF_ADDR. > This is to support future boards that

Re: Pull request for UEFI sub-system for efi-2020-10-rc3 (3)

2020-08-25 Thread Tom Rini
On Mon, Aug 24, 2020 at 09:49:58PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit d584648dad691caec3eccdbfa3f1936878e5: > > Merge tag 'dm-pull-22aug20' of > https://gitlab.denx.de/u-boot/custodians/u-boot-dm (2020-08-23 16:06:38 > -0400) > > are

[PATCH v3 2/3] test: fdtdec: Add test for new no-map fdtdec_add_reserved_memory() parameter

2020-08-25 Thread Patrice Chotard
Add a test to verify that the no-map property is added in reserved-memory node when fdtdec_add_reserved_memory() no-map parameter is set to true. Signed-off-by: Patrice Chotard --- (no changes since v2) Changes in v2: - Add no-map property test into fdtdec test test/dm/fdtdec.c | 5 -

[PATCH v3 3/3] optee: add property no-map to secure reserved memory

2020-08-25 Thread Patrice Chotard
From: Etienne Carriere OP-TEE reserved memory node must set property "no-map" to prevent Linux kernel from mapping secure memory unless what non-secure world speculative accesses of the CPU can violate the memory firmware configuration. Fixes: 6ccb05eae01b ("image: fdt: copy possible optee

[PATCH v3 1/3] fdtdec: optionally add property no-map to created reserved memory node

2020-08-25 Thread Patrice Chotard
From: Etienne Carriere Add boolean input argument @no_map to helper function fdtdec_add_reserved_memory() to add "no-map" property for an added reserved memory node. This is needed for example when the reserved memory relates to secure memory that the dear Linux kernel shall not even map unless

Re: [PATCH v2 1/3] fdtdec: optionally add property no-map to created reserved memory node

2020-08-25 Thread Patrice CHOTARD
There is an issue with series-changes tag, i will resend a v3 On 8/25/20 1:28 PM, Patrice Chotard wrote: > From: Etienne Carriere > > Add boolean input argument @no_map to helper function > fdtdec_add_reserved_memory() to add "no-map" property for an added > reserved memory node. This is needed

[U-Boot] Please pull from u-boot-i2c

2020-08-25 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c master The following changes since commit 1aa3966173fe92fa3c46638ee8eb8b8491f521d6: Merge tag 'u-boot-clk-24Aug2020' of https://gitlab.denx.de/u-boot/custodians/u-boot-clk (2020-08-24 09:06:02 -0400) are available in the Git repository at:

[PATCH U-Boot] scripts/setlocalversion: Improve -dirty check with git-status --no-optional-locks

2020-08-25 Thread Rasmus Villemoes
From: Brian Norris [linux commit ff64dd4857303dd5550faed9fd598ac90f0f2238] git-diff-index does not refresh the index for you, so using it for a "-dirty" check can give misleading results. Commit 6147b1cf19651 ("scripts/setlocalversion: git: Make -dirty check more robust") tried to fix this by

[PATCH v2 1/3] fdtdec: optionally add property no-map to created reserved memory node

2020-08-25 Thread Patrice Chotard
From: Etienne Carriere Add boolean input argument @no_map to helper function fdtdec_add_reserved_memory() to add "no-map" property for an added reserved memory node. This is needed for example when the reserved memory relates to secure memory that the dear Linux kernel shall not even map unless

[PATCH v2 2/3] test: fdtdec: Add test for new no-map fdtdec_add_reserved_memory() parameter

2020-08-25 Thread Patrice Chotard
Add a test to verify that the no-map property is added in reserved-memory node when fdtdec_add_reserved_memory() no-map parameter is set to true. Signed-off-by: Patrice Chotard - Add no-map property test into fdtdec test --- (no changes since v1) test/dm/fdtdec.c | 5 - 1 file

[PATCH v2 3/3] optee: add property no-map to secure reserved memory

2020-08-25 Thread Patrice Chotard
From: Etienne Carriere OP-TEE reserved memory node must set property "no-map" to prevent Linux kernel from mapping secure memory unless what non-secure world speculative accesses of the CPU can violate the memory firmware configuration. Fixes: 6ccb05eae01b ("image: fdt: copy possible optee

[PATCH 00/31] Add DM support for omap PWM backlight

2020-08-25 Thread Dario Binacchi
The series was born from the need to manage the PWM backlight of the display connected to my beaglebone board. To hit the target, I had to develop drivers for PWM management which in turn relied on drivers for managing timers and clocks, all developed according to the driver model. My intention

Re: [PATCH 2/2] arm: mvebu: Espressobin: Setup MTD partitions when booting kernel

2020-08-25 Thread Pali Rohár
On Thursday 20 August 2020 14:09:50 Stefan Roese wrote: > On 20.08.20 14:03, Pali Rohár wrote: > > On Thursday 20 August 2020 10:51:28 Pali Rohár wrote: > > > On Thursday 20 August 2020 10:17:55 Stefan Roese wrote: > > > > On 20.08.20 09:40, Pali Rohár wrote: > > > > > Anyway, updating DTS has

Re: [PATCH] i2c: octeon_i2c: Misc fixes for ARM Octeon TX2 support

2020-08-25 Thread Heiko Schocher
Hello Stefan, Am 23.07.2020 um 14:09 schrieb Stefan Roese: This patch fixes a few issues noticed, when testing this new driver on ARM Octeon TX2 again. Here the details: - Remove "common.h" header inclusion - Use correct THP define on Octeon TX2 - Octeon TX2 uses the same compatible as Octeon

Re: [PATCH] Link failure with CONFIG_SPL and CONFIG_I2C_MUX_PCA954x

2020-08-25 Thread Heiko Schocher
Hello Kees, Am 03.08.2020 um 16:49 schrieb Trommel, Kees (Contractor): Fix for the case of a U-Boot configuration with CONFIG_SPL, CONFIG_I2C_MUX, CONFIG_I2C_MUX_PCA954x, no CONFIG_SPL_DM and no CONFIG_SPL_I2C_MUX. Without this fix linking of pca954x fails because dm_write_i2c does not exist

Re: [PATCH 4/7] binman: Add support for ATF BL31

2020-08-25 Thread Heinrich Schuchardt
On 22.08.20 04:36, Simon Glass wrote: > Add an entry for ARM Trusted Firmware's 'BL31' payload, which is the > device's main firmware. Typically this is U-Boot. > > Signed-off-by: Simon Glass > --- > > tools/binman/README.entries| 10 ++ > tools/binman/etype/atf_bl31.py | 20

Re: [PATCH 0/7] binman: Add support for generating more complex FITs

2020-08-25 Thread Heinrich Schuchardt
On 25.08.20 06:07, Heinrich Schuchardt wrote: > On 8/22/20 4:36 AM, Simon Glass wrote: >> This series allows binman to generate FITs that include multiple DTB >> images and the configuration to use them. >> >> It is then possible to remove the sunxi FIT generator script, so this >> series handles

Re: [PATCH 1/2] fdtdec: optionally add property no-map to created reserved memory node

2020-08-25 Thread Patrice CHOTARD
Hi Simon On 8/22/20 5:09 PM, Simon Glass wrote: > On Thu, 13 Aug 2020 at 03:47, Patrice Chotard wrote: >> From: Etienne Carriere >> >> Add boolean input argument @no_map to helper function >> fdtdec_add_reserved_memory() to add "no-map" property for an added >> reserved memory node. This is

Re: [PATCH] usb: gadget: ether: Fix warnings about unused code

2020-08-25 Thread Lukasz Majewski
Hi Tom, > When building this with clang we see a few new warnings. There are a > handful of structs that we declare and use only in the case of > !defined(CONFIG_USB_ETH_CDC) && defined(CONFIG_USB_ETH_SUBSET) so > update the guards used to match this as well as cover all members > rather than

[PATCH] x86: qemu-x86_defconfig: Increase CONFIG_SYS_MALLOC_F_LEN

2020-08-25 Thread Stefan Roese
With the upcoming increase of the malloc area in U-Boot ("pci: pci-uclass: Dynamically allocate the PCI regions"), the CI QEMU x86 test fails: U-Boot 2020.10-rc2-g0a668f6d38 (Aug 25 2020 - 06:12:51 +) alloc space exhausted Error binding driver 'cpu_qemu': -12 Some drivers failed to bind

[PATCH 29/31] video: omap: split the legacy code from the DM code

2020-08-25 Thread Dario Binacchi
The schedule for deprecating the features of the pre-driver-model puts 2019.17 as the deadline for the video subsystem. Furthermore, the latest patches applied to the am335x-fb.c module have decreased the amount of code shared with the pre-driver-model implementation. Splitting the two

[PATCH 30/31] video: omap: move drivers to 'ti' directory

2020-08-25 Thread Dario Binacchi
Add drivers/video/ti/ folder and move all TI's code in this folder for better maintenance. Signed-off-by: Dario Binacchi --- drivers/video/Kconfig | 5 + drivers/video/Makefile| 4 +--- drivers/video/ti/Kconfig | 8

[PATCH 28/31] video: omap: set LCD clock rate through DM API

2020-08-25 Thread Dario Binacchi
The patch configures the display DPLL using the functions provided by the driver model API for the clock. The device tree contains everything needed to get the DPLL clock. The round rate function developed for calculating the DPLL multiplier and divisor and the platform routines for accessing the

[PATCH 31/31] board: ti: am335x-ice: get CDCE913 clock device

2020-08-25 Thread Dario Binacchi
With support for other clock drivers, the potentially supported CDCE913 device can no longer be probed without specifying its DT node name. Signed-off-by: Dario Binacchi --- board/ti/am335x/board.c | 2 +- board/ti/am43xx/board.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 27/31] video: omap: enable LCD clock domain through DM API

2020-08-25 Thread Dario Binacchi
The patch enables/disables the LCD domain clock when the device is probed/removed. To get the LCD domain clock, the device tree had to be changed. In the Beaglebone device tree of the most recent Linux kernels, the LCD controller node is the child of a node that the documentation explains to be

[PATCH 26/31] video: omap: add panel driver

2020-08-25 Thread Dario Binacchi
The previous version of am335x-fb.c contained the functionalities of two drivers that this patch has split. It was a video type driver that used the same registration compatible string that now registers a panel type driver. The proof of this is that two compatible strings were referred to within

[PATCH 25/31] dm: core: add a function to decode display timings

2020-08-25 Thread Dario Binacchi
The patch adds a function to get display timings from the device tree node attached to the device. Signed-off-by: Dario Binacchi --- arch/sandbox/dts/test.dts | 46 ++ drivers/core/read.c | 6 +++ include/dm/read.h | 24 test/dm/test-fdt.c

[PATCH 24/31] gpio: fix gpio_request_by_name() description

2020-08-25 Thread Dario Binacchi
Replace 'dev->dev' with '@desc->dev' in the gpio_request_by_name function desc parameter description. Signed-off-by: Dario Binacchi --- include/asm-generic/gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/asm-generic/gpio.h b/include/asm-generic/gpio.h index

[PATCH 19/31] pwm: ti: am33xx: add enhanced pwm driver

2020-08-25 Thread Dario Binacchi
Enhanced high resolution PWM module (EHRPWM) hardware can be used to generate PWM output over 2 channels. This commit adds PWM driver support for EHRPWM device present on AM33XX SOC. The code is based on the drivers/pwm/pwm-tiehrpwm.c driver of the Linux kernel. Signed-off-by: Dario Binacchi

[PATCH 23/31] dm: core: improve uclass_get_device_by_phandle_id() description

2020-08-25 Thread Dario Binacchi
Complete the devp parameter description. Signed-off-by: Dario Binacchi --- include/dm/uclass.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/dm/uclass.h b/include/dm/uclass.h index 67ff7466c8..7188304304 100644 --- a/include/dm/uclass.h +++ b/include/dm/uclass.h

[PATCH 22/31] video: backlight: fix pwm data structure description

2020-08-25 Thread Dario Binacchi
The description of the 'max_level' field was incorrectly assigned to the 'min_level' field. Signed-off-by: Dario Binacchi --- drivers/video/pwm_backlight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/pwm_backlight.c b/drivers/video/pwm_backlight.c index

[PATCH 21/31] video: backlight: fix pwm's duty cycle calculation

2020-08-25 Thread Dario Binacchi
For levels equal to the maximum value, the duty cycle must be equal to the period. Signed-off-by: Dario Binacchi --- drivers/video/pwm_backlight.c | 2 +- test/dm/panel.c | 12 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git

[PATCH 20/31] pwm: ti: am33xx: add subsystem driver

2020-08-25 Thread Dario Binacchi
The TI PWMSS driver is a simple bus driver for providing clock and power management for the PWM peripherals on TI AM33xx SoCs, namely eCAP, eHRPWM and eQEP. Based on more recent versions of the device tree inside the linux kernel, I added the clock domain for each subsystem in am33x.dtsi so it

  1   2   >