Re: [PATCH v2 3/5] efi_loader: utility function to check the variable name is "Boot####"

2022-11-28 Thread Ilias Apalodimas
On Mon, Nov 28, 2022 at 09:45:07PM +0900, Masahisa Kojima wrote: > Some commands need to enumerate the existing UEFI load > option variable("Boot"). This commit transfers some code > from cmd/efidebug.c to lib/efi_loder/, then exposes u16_tohex() and > efi_varname_is_load_option() function to c

Re: [PATCH v2 1/5] eficonfig: fix going one directory up issue

2022-11-28 Thread Ilias Apalodimas
On Mon, Nov 28, 2022 at 09:45:05PM +0900, Masahisa Kojima wrote: > The directory name in eficonfig menu entry contains the > '\' separator. strcmp() argument ".." is wrong and one directory > up handling does not work correctly. strcmp() argument must > include '\' separator. > > Signed-off-by: Ma

Re: [PATCH v2 2/5] eficonfig: use u16_strsize() to get u16 string buffer size

2022-11-28 Thread Ilias Apalodimas
On Mon, Nov 28, 2022 at 09:45:06PM +0900, Masahisa Kojima wrote: > Use u16_strsize() to simplify the u16 string buffer > size calculation. > > Signed-off-by: Masahisa Kojima > Reviewed-by: Heinrich Schuchardt > --- > No update since v1. > > cmd/eficonfig.c | 3 +-- > 1 file changed, 1 insertio

Re: [PATCH v5 0/3] Add riscv semihosting support in u-boot

2022-11-28 Thread Kautuk Consul
I have tested it both on Qemu and Ventana's internal simulator. On Tue, Nov 29, 2022 at 12:06 PM Bin Meng wrote: > Hi Kautuk, > > On Tue, Nov 29, 2022 at 2:29 PM Kautuk Consul > wrote: > > > > Hi, > > > > Can someone pick this patchset up ? > > > > It has been reviewed and there has been no com

[RFC PATCH] board: ti: common: board_detect: Fix EEPROM read quirk for 2-byte

2022-11-28 Thread Neha Malcom Francis
EEPROM detection logic in ti_i2c_eeprom_get() involves figuring out whether addressing is 1-byte or 2-byte. There are currently different behaviours seen across boards as documented in commit bf6376642fe8 ("board: ti: common: board_detect: Fix EEPROM read quirk"). Adding to the list, we see that th

Re: [PATCH v5 0/3] Add riscv semihosting support in u-boot

2022-11-28 Thread Bin Meng
Hi Kautuk, On Tue, Nov 29, 2022 at 2:29 PM Kautuk Consul wrote: > > Hi, > > Can someone pick this patchset up ? > > It has been reviewed and there has been no comment on this in recent days. > > Thanks. > > On Fri, Sep 23, 2022 at 12:33 PM Kautuk Consul > wrote: >> >> Semihosting is a mechanism

Re: [PATCH v5 0/3] Add riscv semihosting support in u-boot

2022-11-28 Thread Kautuk Consul
Hi, Can someone pick this patchset up ? It has been reviewed and there has been no comment on this in recent days. Thanks. On Fri, Sep 23, 2022 at 12:33 PM Kautuk Consul wrote: > Semihosting is a mechanism that enables code running on > a target to communicate and use the Input/Output > facil

Re: [PATCH V3 2/2] spi: cadence_qspi: use STIG mode for small reads

2022-11-28 Thread Vaishnav Achath
On 25/11/22 11:29, Dhruva Gole wrote: > Fix the issue where some flash chips like cypress S25HS256T return the > value of the same register over and over in DAC mode. > > For example in the TI K3-AM62x Processors refer [0] Technical Reference > Manual there is a layer of digital logic in front

[PATCH] spi: Add Socionext F_OSPI SPI flash controller driver

2022-11-28 Thread Kunihiko Hayashi
Introduce Socionext F_OSPI controller driver. This controller is used to communicate with slave devices such as SPI flash memories. It supports 4 slave devices and up to 8-bit wide bus, but supports master mode only. This driver uses spi-mem framework for SPI flash memory access, and can only oper

Re: [PATCH] riscv: use imply instead of select for SPL_SEPARATE_BSS

2022-11-28 Thread Zong Li
On Mon, Nov 21, 2022 at 8:17 PM Zong Li wrote: > > On Mon, Nov 21, 2022 at 12:00 PM Sean Anderson wrote: > > > > On 11/16/22 02:08, Zong Li wrote: > > > Use imply instead of select, then it can still be disabled by > > > board-specific defconfig, or be set to n manually. > > > > > > Signed-off-by

Re: [PATCH v20 1/4] net: Add TCP protocol

2022-11-28 Thread Duncan Hare
Thank you all for taking this over the finish line. I Duncan Hare 714 931 7952DRE# 01350926 On Monday, November 28, 2022 at 11:52:23 AM PST, Tom Rini wrote: On Tue, Nov 08, 2022 at 02:17:28PM +0800, Ying-Chun Liu (PaulLiu) wrote: > From: "Ying-Chun Liu (PaulLiu)" > > Currently

Re: [PATCH v20 1/4] net: Add TCP protocol

2022-11-28 Thread Rafał Miłecki
On 28.11.2022 20:52, Tom Rini wrote: On Tue, Nov 08, 2022 at 02:17:28PM +0800, Ying-Chun Liu (PaulLiu) wrote: From: "Ying-Chun Liu (PaulLiu)" Currently file transfers are done using tftp or NFS both over udp. This requires a request to be sent from client (u-boot) to the boot server. The cur

Re: [PATCH] phy: add driver for Intel XWAY PHY

2022-11-28 Thread Tom Rini
On Thu, Nov 17, 2022 at 01:27:09PM -0800, Tim Harvey wrote: > Add a driver for the Intel XWAY GbE PHY: > - configure RGMII using dt phy-mode and standard delay properties > - use genphy_config > > Signed-off-by: Tim Harvey Applied to u-boot/master, thanks! -- Tom signature.asc Description

Re: [PATCH] net: macb: Fix race caused by flushing unwanted descriptors

2022-11-28 Thread Tom Rini
On Thu, Nov 10, 2022 at 07:31:34PM +0200, Yaron Micher wrote: > The rx descriptor list is in cached memory, and there may be multiple > descriptors per cache-line. After reclaim_rx_buffers marks a descriptor > as unused it does a cache flush, which causes the entire cache-line to > be written to m

Re: [PATCH v20 4/4] test: cmd: add test for wget command.

2022-11-28 Thread Tom Rini
On Tue, Nov 08, 2022 at 02:17:31PM +0800, Ying-Chun Liu (PaulLiu) wrote: > From: "Ying-Chun Liu (PaulLiu)" > > Simulate a TCP HTTP server's response for testing wget command. > > Signed-off-by: Ying-Chun Liu (PaulLiu) > Cc: Christian Gmeiner > Cc: Joe Hershberger > Cc: Michal Simek > Cc: Ra

Re: [PATCH v20 3/4] doc: cmd: wget: add documentation

2022-11-28 Thread Tom Rini
On Tue, Nov 08, 2022 at 02:17:30PM +0800, Ying-Chun Liu (PaulLiu) wrote: > From: "Ying-Chun Liu (PaulLiu)" > > Add documentation for the wget command. > > Signed-off-by: Ying-Chun Liu (PaulLiu) > Cc: Christian Gmeiner > Cc: Joe Hershberger > Cc: Michal Simek > Cc: Ramon Fried > Cc: Simon G

Re: [PATCH v20 2/4] net: Add wget application

2022-11-28 Thread Tom Rini
On Tue, Nov 08, 2022 at 02:17:29PM +0800, Ying-Chun Liu (PaulLiu) wrote: > From: "Ying-Chun Liu (PaulLiu)" > > This commit adds a simple wget command that can download files > from http server. > > The command syntax is > wget ${loadaddr} > > Signed-off-by: Duncan Hare > Signed-off-by: Ying-

Re: [PATCH v20 1/4] net: Add TCP protocol

2022-11-28 Thread Tom Rini
On Tue, Nov 08, 2022 at 02:17:28PM +0800, Ying-Chun Liu (PaulLiu) wrote: > From: "Ying-Chun Liu (PaulLiu)" > > Currently file transfers are done using tftp or NFS both > over udp. This requires a request to be sent from client > (u-boot) to the boot server. > > The current standard is TCP with

Re: [PATCH] drivers: net: aquantia: fix typos

2022-11-28 Thread Tom Rini
On Thu, Nov 03, 2022 at 02:44:22PM -0700, Tim Harvey wrote: > Fix a couple of typos: > - s/Acquantia/Aquantia/ > - s/firmare/firmware/ > > Signed-off-by: Tim Harvey > Reviewed-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 7/6] net: deal with fragment-overlapping-two-holes case

2022-11-28 Thread Tom Rini
On Mon, Oct 17, 2022 at 09:52:51AM +0200, Rasmus Villemoes wrote: > With a suitable sequence of malicious packets, it's currently possible > to get a hole descriptor to contain arbitrary attacker-controlled > contents, and then with one more packet to use that as an arbitrary > write vector. > >

Re: [PATCH 6/6] net: tftp: sanitize tftp block size, especially for TX

2022-11-28 Thread Tom Rini
On Fri, Oct 14, 2022 at 07:43:42PM +0200, Rasmus Villemoes wrote: > U-Boot does not support IP fragmentation on TX (and unless > CONFIG_IP_DEFRAG is set, neither on RX). So the blocks we send must > fit in a single ethernet packet. > > Currently, if tftpblocksize is set to something like 5000 and

Re: [PATCH 5/6] net: tftp: use IS_ENABLED(CONFIG_NET_TFTP_VARS) instead of #if

2022-11-28 Thread Tom Rini
On Fri, Oct 14, 2022 at 07:43:41PM +0200, Rasmus Villemoes wrote: > Nothing inside this block depends on NET_TFTP_VARS to be set to parse > correctly. Switch to C if() in preparation for adding code before > this (to avoid a declaration-after-statement warning). > > Signed-off-by: Rasmus Villemoe

Re: [PATCH 4/6] net: fix ip_len in reassembled IP datagram

2022-11-28 Thread Tom Rini
On Fri, Oct 14, 2022 at 07:43:40PM +0200, Rasmus Villemoes wrote: > For some reason, the ip_len field in a reassembled IP datagram is set > to just the size of the payload, but it should be set to the value it > would have had if the datagram had never been fragmented in the first > place, i.e. si

Re: [PATCH 3/6] net: (actually/better) deal with CVE-2022-{30790,30552}

2022-11-28 Thread Tom Rini
On Fri, Oct 14, 2022 at 07:43:39PM +0200, Rasmus Villemoes wrote: > I hit a strange problem with v2022.10: Sometimes my tftp transfer > would seemingly just hang. It only happened for some files. Moreover, > changing tftpblocksize from 65464 to 65460 or 65000 made it work again > for all the files

Re: [PATCH 1/6] net: improve check for no IP options

2022-11-28 Thread Tom Rini
On Fri, Oct 14, 2022 at 07:43:37PM +0200, Rasmus Villemoes wrote: > There's no reason we should accept an IP packet with a malformed IHL > field. So ensure that it is exactly 5, not just <= 5. > > Signed-off-by: Rasmus Villemoes > Reviewed-by: Ramon Fried Applied to u-boot/master, thanks! --

Re: [PATCH 2/6] net: compare received length to sizeof(ip_hdr), not sizeof(ip_udp_hdr)

2022-11-28 Thread Tom Rini
On Fri, Oct 14, 2022 at 07:43:38PM +0200, Rasmus Villemoes wrote: > While the code mostly/only handles UDP packets, it's possible for the > last fragment of a fragmented UDP packet to be smaller than 28 bytes; > it can be as small as 21 bytes (an IP header plus one byte of > payload). So until we'

Re: [PATCH 2/2] net: dwc_eth_qos: Add support for bulk RX descriptor cleaning

2022-11-28 Thread Tom Rini
On Sun, Oct 09, 2022 at 05:51:46PM +0200, Marek Vasut wrote: > Add new desc_per_cacheline property which lets a platform run RX descriptor > cleanup after every power-of-2 - 1 received packets instead of every packet. > This is useful on platforms where (axi_bus_width EQOS_AXI_WIDTH_n * DMA DSL >

Re: [PATCH 1/2] net: dwc_eth_qos: Split TX and RX DMA rings

2022-11-28 Thread Tom Rini
On Sun, Oct 09, 2022 at 05:51:45PM +0200, Marek Vasut wrote: > Separate TX and RX DMA rings to make their handling slightly clearer. > This is a preparatory patch for bulk RX descriptor flushing. > > Signed-off-by: Marek Vasut > Reviewed-by: Patrice Chotard > Reviewed-by: Ramon Fried Applied

Re: [PATCH v2] liteeth: LiteX Ethernet device

2022-11-28 Thread Tom Rini
On Mon, Sep 26, 2022 at 03:35:58PM +0930, Joel Stanley wrote: > LiteX is a soft system-on-chip that targets FPGAs. LiteETH is a basic > network device that is commonly used in LiteX designs. > > Signed-off-by: Joel Stanley > Reviewed-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom

[PATCH] dfu: Call backend specific dfu_fill_*() only if enabled

2022-11-28 Thread Marek Vasut
The dfu_fill_*() functions are available only if the matching backend is enabled. Add missing CONFIG_IS_ENABLED() guard for each backend to prevent build errors, in case such a backend is enabled in U-Boot and not in SPL or vice versa. Signed-off-by: Marek Vasut --- Cc: Lukasz Majewski Cc: Patri

Re: [PATCH v8 03/10] arm_ffa: introduce Arm FF-A low-level driver

2022-11-28 Thread Ilias Apalodimas
Hi all On Mon, 28 Nov 2022 at 18:22, Rob Herring wrote: > > On Fri, Nov 25, 2022 at 3:18 PM Simon Glass wrote: > > > > Hi Abdellatif, > > > > On Thu, 24 Nov 2022 at 06:21, Abdellatif El Khlifi > > wrote: > > > > > > On Tue, Nov 22, 2022 at 07:09:16PM -0700, Simon Glass wrote: > > > > should b

Re: [PATCH v8 03/10] arm_ffa: introduce Arm FF-A low-level driver

2022-11-28 Thread Rob Herring
On Fri, Nov 25, 2022 at 3:18 PM Simon Glass wrote: > > Hi Abdellatif, > > On Thu, 24 Nov 2022 at 06:21, Abdellatif El Khlifi > wrote: > > > > On Tue, Nov 22, 2022 at 07:09:16PM -0700, Simon Glass wrote: > > > should be called 'priov' and should beHi Abdellatif, > > > > > [..] > > > > > +/** > >

Re: [PATCH 05/17] android: boot: add documentation for boot image header v3/v4 structure

2022-11-28 Thread Sean Anderson
On 11/26/22 11:59, Safae Ouajih wrote: > [You don't often get email from soua...@baylibre.com. Learn why this is > important at https://aka.ms/LearnAboutSenderIdentification ] > > This was imported from [1], commit [2], file: include/bootimg/bootimg.h > [1] https://android.googlesource.com/platfo

Re: [PATCH 01/17] android: boot: rename andr_img_hdr -> andr_boot_img_hdr_v0_v1_v2

2022-11-28 Thread Sean Anderson
On 11/26/22 11:59, Safae Ouajih wrote: > [You don't often get email from soua...@baylibre.com. Learn why this is > important at https://aka.ms/LearnAboutSenderIdentification ] > > Android introduced boot header version 3 or 4. > The header structure change with version 3 and 4 to support > the ne

Re: [PATCH 16/17] lib: support libxbc

2022-11-28 Thread Sean Anderson
On 11/26/22 11:59, Safae Ouajih wrote: > [You don't often get email from soua...@baylibre.com. Learn why this is > important at https://aka.ms/LearnAboutSenderIdentification ] > > This adds support for libxbc used to support Bootconfig feature. > Bootconfig documentation : [1] > This was imported

Re: [PATCH v8 4/8] net: dsa: allow rcv() and xmit() to be optional

2022-11-28 Thread Tom Rini
On Thu, Oct 27, 2022 at 05:49:33PM -0700, Tim Harvey wrote: > Allow rcv() and xmit() dsa driver ops to be optional in case a driver > does not care to mangle a packet as in U-Boot only one network port is > enabled at a time and thus no packet mangling is necessary. > > Suggested-by: Vladimir Olt

Re: Patch proposal - mkimage: fit: Support signed conf 'auto' FITs

2022-11-28 Thread Sean Anderson
On 11/22/22 21:09, Simon Glass wrote: > Hi Pegorer, > > On Sat, 19 Nov 2022 at 11:01, Pegorer Massimo > wrote: >> >> Commit 87b0af9317cb4105f3f29cb0a4c28c7cd87ea65f added support for signing >> auto-generated (mkimage -f auto) FIT. Unfortunately, this signs 'images' >> subnodes but not 'config

Re: [PATCH v4 00/17] IPv6 support

2022-11-28 Thread Tom Rini
On Thu, Sep 08, 2022 at 02:58:48PM +0300, Viacheslav Mitrofanov wrote: > This patch set adds basic IPv6 support to U-boot. > It is based on Chris's Packham patches > (https://lists.denx.de/pipermail/u-boot/2017-January/279366.html) > Chris's patches were taken as base. There were efforts to launch

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

2022-11-28 Thread Tom Rini
On Mon, Nov 28, 2022 at 12:19:02PM +0100, Marek Vasut wrote: > The following changes since commit 27c415ae8b743710e412ef408b52894af68141c6: > > Merge branch '2022-11-23-assorted-fixes' (2022-11-24 16:31:02 -0500) > > are available in the Git repository at: > > git://source.denx.de/u-boot-us

Re: [RESEND PATCH v2 0/3] net: fm: Add support for loading firmware from filesystem

2022-11-28 Thread Tom Rini
On Sun, Nov 27, 2022 at 12:47:37AM +0200, Ramon Fried wrote: > On Thu, Nov 17, 2022 at 11:29 PM Sean Anderson wrote: > > > > On 8/14/22 16:48, Ramon Fried wrote: > > > On Sat, Aug 13, 2022 at 9:15 AM Sean Anderson > > > wrote: > > >> > > >> On 4/22/22 1:30 PM, Sean Anderson wrote: > > >> > This

Re: [u-boot][PATCH 06/14] mtd: rawnand: nand_base: Allow base driver to be used in SPL without nand_bbt

2022-11-28 Thread Michael Nazzareno Trimarchi
Hi On Tue, Oct 11, 2022 at 1:50 PM Roger Quadros wrote: > > nand_bbt.c is not being built with the nand_base driver during SPL > build. This results in build failures if we try to access any nand_bbt > related functions. > > Don't use any nand_bbt functions for SPL build. > > Signed-off-by: Roger

Re: [u-boot][PATCH 08/14] mtd: rawnand: omap_gpmc: Reduce .bss usage

2022-11-28 Thread Michael Nazzareno Trimarchi
Hi On Tue, Oct 11, 2022 at 1:50 PM Roger Quadros wrote: > > Allocate omap_ecclayout on the heap as we have > limited .bss space on AM64 R5 SPL configuration. > > Reduces .bss usage by 2984 bytes. > > Signed-off-by: Roger Quadros > --- > drivers/mtd/nand/raw/omap_gpmc.c | 7 --- > 1 file cha

Re: [u-boot][PATCH 05/14] mtd: rawnand: omap_gpmc: Fix BCH6/16 HW based correction

2022-11-28 Thread Michael Nazzareno Trimarchi
Hi Roger On Tue, Oct 11, 2022 at 1:50 PM Roger Quadros wrote: > > The BCH detection hardware can generate ECC bytes for multiple > sectors in one go. Use that feature. > > correct() only corrects one sector at a time so we need to call it > repeatedly for each sector. > Reviewed-by: Michael Trim

Re: [PATCH] usb: gadget: dfu: Fix the unchecked length field

2022-11-28 Thread Marek Vasut
On 11/21/22 18:34, Tom Rini wrote: On Thu, Nov 03, 2022 at 09:37:48AM +0530, Venkatesh Yadav Abbarapu wrote: DFU implementation does not bound the length field in USB DFU download setup packets, and it does not verify that the transfer direction. Fixing the length and transfer direction. CVE-2

[PATCH 1/1] configs: imx8mp_evk: revert to old ram settings

2022-11-28 Thread Manoj Sai
The 'commit 864ac2cf383e ("board: imx8mp: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit")' has changed the imx8mp evk ram settings from 6GB ram to 2GB. This changeset reverts the above change. Signed-off-by: Manoj Sai Reported-by : Peter Bergin --- include/configs/imx8mp_evk.h | 6 --

[PATCH 0/1] configs: imx8mp_evk: revert to old ram settings

2022-11-28 Thread Manoj Sai
revert the ram settings of imx8mp evk which are changed with commit id : 864ac2cf383e ("board: imx8mp: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit") Manoj Sai (1): configs: imx8mp_evk: revert to old ram settings include/configs/imx8mp_evk.h | 6 -- 1 file changed, 4 insertions(+),

Re: [PATCH v2 3/3] board: imx8mp: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit

2022-11-28 Thread Manoj Sai
On Mon, Nov 28, 2022 at 1:37 PM Peter Bergin wrote: > > > On 2022-08-26 14:33, Manoj Sai wrote: > > diff --git a/include/configs/imx8mp_evk.h b/include/configs/imx8mp_evk.h > > index 388f3bc9ff..140eba3d1c 100644 > > --- a/include/configs/imx8mp_evk.h > > +++ b/include/configs/imx8mp_evk.h > > @@

[PATCH v2 5/5] doc:eficonfig: add description for UEFI Secure Boot Configuration

2022-11-28 Thread Masahisa Kojima
This commits add the description for the UEFI Secure Boot Configuration through the eficonfig menu. Signed-off-by: Masahisa Kojima --- Newly created in v2 doc/usage/cmd/eficonfig.rst | 22 ++ 1 file changed, 22 insertions(+) diff --git a/doc/usage/cmd/eficonfig.rst b/doc/us

[PATCH v2 4/5] eficonfig: use efi_get_next_variable_name_int()

2022-11-28 Thread Masahisa Kojima
eficonfig command reads all possible UEFI load options from 0x to 0x to construct the menu. This takes too much time in some environment. This commit uses efi_get_next_variable_name_int() to read all existing UEFI load options to significantlly reduce the count of efi_get_var() call. Signe

[PATCH v2 3/5] efi_loader: utility function to check the variable name is "Boot####"

2022-11-28 Thread Masahisa Kojima
Some commands need to enumerate the existing UEFI load option variable("Boot"). This commit transfers some code from cmd/efidebug.c to lib/efi_loder/, then exposes u16_tohex() and efi_varname_is_load_option() function to check whether the UEFI variable name is "Boot". Signed-off-by: Masahi

[PATCH v2 2/5] eficonfig: use u16_strsize() to get u16 string buffer size

2022-11-28 Thread Masahisa Kojima
Use u16_strsize() to simplify the u16 string buffer size calculation. Signed-off-by: Masahisa Kojima Reviewed-by: Heinrich Schuchardt --- No update since v1. cmd/eficonfig.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/eficonfig.c b/cmd/eficonfig.c index 5529edc85e

[PATCH v2 1/5] eficonfig: fix going one directory up issue

2022-11-28 Thread Masahisa Kojima
The directory name in eficonfig menu entry contains the '\' separator. strcmp() argument ".." is wrong and one directory up handling does not work correctly. strcmp() argument must include '\' separator. Signed-off-by: Masahisa Kojima --- No change since v1 cmd/eficonfig.c | 2 +- 1 file change

[PATCH v2 0/5] miscellaneous fixes of eficonfig

2022-11-28 Thread Masahisa Kojima
This series includes bugfix, refactoring and documentation updates. Masahisa Kojima (5): eficonfig: fix going one directory up issue eficonfig: use u16_strsize() to get u16 string buffer size efi_loader: utility function to check the variable name is "Boot" eficonfig: use efi_get_next_

Re: [PATCH] xilinx: Add option to select SC id instead of DUT id for SC support

2022-11-28 Thread Michal Simek
st 23. 11. 2022 v 12:49 odesílatel Michal Simek napsal: > > Reading MAC address from on board EEPROM requires different type for System > Controller (SC). > > Signed-off-by: Michal Simek > --- > > board/xilinx/Kconfig | 9 + > board/xilinx/common/fru.h | 1 + > board/xilinx/

Re: [PATCH] xilinx: Remove unused ZYNQ_MAC_IN_EEPROM/ZYNQ_GEM_I2C_MAC_OFFSET entries

2022-11-28 Thread Michal Simek
st 23. 11. 2022 v 9:27 odesílatel Michal Simek napsal: > > The commit ba74bcf3e07b ("xilinx: common: Remove > zynq_board_read_rom_ethaddr()") removed zynq_board_read_rom_ethaddr() > because xlnx,eeprom link via DT chosen node is no longer used. But forget > to remove Kconfig entries which are used

Re: [PATCH] spi: zynqmp_qspi: Add support for 64-bit read/write

2022-11-28 Thread Michal Simek
pá 25. 11. 2022 v 15:00 odesílatel Venkatesh Yadav Abbarapu napsal: > > When we pass the 64-bit address to read/write, only lower 32-bit > address is getting updated. Program the upper 32-bit address in the > DMA destination memory address MSBs register, which can handle upto > 44-bit destination

Re: [PATCH] arm64: versal: Enable REMAKE_ELF for mini_ospi/mini_qspi

2022-11-28 Thread Michal Simek
pá 25. 11. 2022 v 15:00 odesílatel Venkatesh Yadav Abbarapu napsal: > > Enable the config REMAKE_ELF in xilinx_versal_mini_ospi_defconfig > and xilinx_versal_mini_qspi_defconfig which generates u-boot.elf. > This commit a8c281d4b737("Convert CONFIG_REMAKE_ELF to Kconfig") > misses to enable this c

[PULL] u-boot-usb/master

2022-11-28 Thread Marek Vasut
The following changes since commit 27c415ae8b743710e412ef408b52894af68141c6: Merge branch '2022-11-23-assorted-fixes' (2022-11-24 16:31:02 -0500) are available in the Git repository at: git://source.denx.de/u-boot-usb.git master for you to fetch changes up to db5bace4f6cb37251a5863efe4c0c1

Re: [Uboot-stm32] [PATCH] dfu: mtd: mark bad the MTD block on erase error

2022-11-28 Thread Patrice CHOTARD
Hi Patrick On 11/28/22 10:22, Patrick Delaunay wrote: > In the MTD DFU backend, it is needed to mark the NAND block bad when the > erase failed with the -EIO error, as it is done in UBI and JFFS2 code. > > This operation is not done in the MTD framework, but the bad block > tag (in BBM or in BBT)

Re: [PATCH] Prevent buffer overflow on USB control endpoint

2022-11-28 Thread Marek Vasut
On 11/28/22 10:21, Szymon Heidrich wrote: On 20/11/2022 16:29, Szymon Heidrich wrote: On 20/11/2022 15:43, Marek Vasut wrote: On 11/17/22 12:50, Fabio Estevam wrote: [Adding Lukasz and Marek] On Thu, Nov 17, 2022 at 6:50 AM Szymon Heidrich wrote: Assure that the control endpoint buffer of

Re: [PATCH 2/2] adc: stm32mp15: add support of generic channels binding

2022-11-28 Thread Patrick DELAUNAY
Hi, On 11/23/22 16:20, Olivier Moysan wrote: Add support of generic IIO channels binding: ./devicetree/bindings/iio/adc/adc.yaml Keep support of st,adc-channels for backward compatibility. Signed-off-by: Olivier Moysan --- drivers/adc/stm32-adc.c | 51 ---

Re: [PATCH 1/2] adc: stm32mp15: split channel init into several routines

2022-11-28 Thread Patrick DELAUNAY
Hi, On 11/23/22 16:20, Olivier Moysan wrote: Split stm32_adc_chan_of_init channel initialization function into several routines to increase readability and prepare channel generic binding handling. Signed-off-by: Olivier Moysan --- drivers/adc/stm32-adc.c | 44 ++

Re: [PATCH 00/17] Support android boot image v3/v4

2022-11-28 Thread Mattijs Korpershoek
On Sat, Nov 26, 2022 at 17:59, Safae Ouajih wrote: > Hello everyone, > > * This is based on Roman Stratiienko's work to support boot image header > version 3 and 4. > > * This supports the new boot image headers v3, v4 and bootconfig feature. > https://source.android.com/docs/core/architecture/b

[PATCH] dfu: mtd: mark bad the MTD block on erase error

2022-11-28 Thread Patrick Delaunay
In the MTD DFU backend, it is needed to mark the NAND block bad when the erase failed with the -EIO error, as it is done in UBI and JFFS2 code. This operation is not done in the MTD framework, but the bad block tag (in BBM or in BBT) is required to avoid to write data on this block in the next DFU

Re: [PATCH] Prevent buffer overflow on USB control endpoint

2022-11-28 Thread Szymon Heidrich
On 20/11/2022 16:29, Szymon Heidrich wrote: > On 20/11/2022 15:43, Marek Vasut wrote: >> On 11/17/22 12:50, Fabio Estevam wrote: >>> [Adding Lukasz and Marek] >>> >>> On Thu, Nov 17, 2022 at 6:50 AM Szymon Heidrich >>> wrote: Assure that the control endpoint buffer of size USB_BUFSIZ (40

Re: [PATCH] patman: Switch to setuptools

2022-11-28 Thread Simon Glass
On Mon, 28 Nov 2022 at 10:55, Sean Anderson wrote: > > distutils is about to meet its demise [1]. Switch to setuptools. > > [1] https://peps.python.org/pep-0632/ > > Signed-off-by: Sean Anderson > --- > > tools/patman/setup.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by:

[PATCH v5 1/1] u-boot-initial-env: rework make target

2022-11-28 Thread Max Krummenacher
From: Max Krummenacher With LTO enabled the U-Boot initial environment is no longer stored in an easy accessible section in env/common.o. I.e. the section name changes from build to build, its content maybe compressed and it is annotated with additional data. Drop trying to read the initial env

[PATCH v5 0/1] Makefile: rework u-boot-initial-env target

2022-11-28 Thread Max Krummenacher
From: Max Krummenacher With CONFIG_LTO enabled the current way of extracting the configured environment no longer works, i.e. the object file content changes due to LTO. Build a host tool which prints the configured environment instead of using objcopy and friends to achive the same. The code

Re: [PATCH V2 1/2] nvmem: core: refactor .cell_post_process() CB arguments

2022-11-28 Thread Miquel Raynal
Hi Rafal, mich...@walle.cc wrote on Mon, 28 Nov 2022 08:35:24 +0100: > Am 2022-11-28 07:59, schrieb Rafał Miłecki: > > From: Rafał Miłecki > > > > Pass whole NVMEM cell struct and length pointer as arguments to > callback > > functions. > > > > This allows: > > > > 1. Cells content to be modi

Re: [PATCH 0/6] broken CVE fix (b85d130ea0ca)

2022-11-28 Thread Rasmus Villemoes
On 17/11/2022 01.32, Fabio Estevam wrote: > On Mon, Nov 14, 2022 at 10:04 AM Tom Rini wrote: >> >> On Mon, Nov 14, 2022 at 10:35:51AM +0100, Rasmus Villemoes wrote: >>> On 14/10/2022 19.43, Rasmus Villemoes wrote: tl;dr: b85d130ea0ca didn't fix the CVE(s), but did break tftp of certain f

Re: [PATCH v2 3/3] board: imx8mp: Add Engicam i.Core MX8M Plus EDIMM2.2 Starter Kit

2022-11-28 Thread Peter Bergin
On 2022-08-26 14:33, Manoj Sai wrote: diff --git a/include/configs/imx8mp_evk.h b/include/configs/imx8mp_evk.h index 388f3bc9ff..140eba3d1c 100644 --- a/include/configs/imx8mp_evk.h +++ b/include/configs/imx8mp_evk.h @@ -55,11 +55,9 @@ #define CONFIG_SYS_INIT_RAM_SIZE 0x8 -/* T