Re: [PATCH v2 1/2] cmd: load: add load command for memory mapped

2022-06-24 Thread AKASHI Takahiro
On Wed, May 11, 2022 at 10:55:40AM +0100, Rui Miguel Silva wrote: > cp.b is used a lot as a way to load binaries to memory and execute > them, however we may need to integrate this with the efi subsystem to > set it up as a bootdev. I'm not sure what your use case looks like, but even the current

Re: [PATCH v2] sunxi: psci: Fix sunxi_power_switch on sun8i-r40 platform

2022-06-24 Thread Andre Przywara
On Sat, 14 May 2022 11:52:01 +0800 Chen-Yu Tsai wrote: Hi Qianfan, > On Sat, May 14, 2022 at 11:19 AM wrote: > > > > From: qianfan Zhao > > > > linux system will die if we offline one of the cpu on R40 based board: > > eg: echo 0 > /sys/devices/system/cpu/cpu3/online Thanks for bringing this

Re: [PATCH v3 8/8] board: gw_ventana: enable MV88E61XX DSA support

2022-06-24 Thread Tim Harvey
On Fri, Jun 24, 2022 at 5:13 PM Vladimir Oltean wrote: > > On Fri, Jun 24, 2022 at 04:16:34PM -0700, Tim Harvey wrote: > > On Fri, Jun 24, 2022 at 3:25 AM Vladimir Oltean > > wrote: > > > > > > On Mon, May 23, 2022 at 11:25:49AM -0700, Tim Harvey wrote: > > > > Add MV88E61XX DSA support: > > >

Re: [PATCH v3 8/8] board: gw_ventana: enable MV88E61XX DSA support

2022-06-24 Thread Vladimir Oltean
On Fri, Jun 24, 2022 at 04:16:34PM -0700, Tim Harvey wrote: > On Fri, Jun 24, 2022 at 3:25 AM Vladimir Oltean > wrote: > > > > On Mon, May 23, 2022 at 11:25:49AM -0700, Tim Harvey wrote: > > > Add MV88E61XX DSA support: > > > - update dt: U-Boot dsa driver requires different device-tree syntax

Re: [PATCH v3 8/8] board: gw_ventana: enable MV88E61XX DSA support

2022-06-24 Thread Tim Harvey
On Fri, Jun 24, 2022 at 3:25 AM Vladimir Oltean wrote: > > On Mon, May 23, 2022 at 11:25:49AM -0700, Tim Harvey wrote: > > Add MV88E61XX DSA support: > > - update dt: U-Boot dsa driver requires different device-tree syntax > >than the linux driver in order to link the dsa ports to the mdio

Re: [PATCH] fs/sqashfs: Use kcalloc when relevant

2022-06-24 Thread Tom Rini
On Fri, Jun 24, 2022 at 09:27:29PM +0200, Miquel Raynal wrote: > A crafted squashfs image could embed a huge number of empty metadata > blocks in order to make the amount of malloc()'d memory overflow and be > much smaller than expected. Because of this flaw, any random code > positioned at the

[PATCH] fs/sqashfs: Use kcalloc when relevant

2022-06-24 Thread Miquel Raynal
A crafted squashfs image could embed a huge number of empty metadata blocks in order to make the amount of malloc()'d memory overflow and be much smaller than expected. Because of this flaw, any random code positioned at the right location in the squashfs image could be memcpy'd from the squashfs

Re: [PATCH v1] usb: host: nuvoton: Add nuvoton NPCM7xx ehci/ohci driver

2022-06-24 Thread Marek Vasut
On 6/21/22 11:09, Jim Liu wrote: Add nuvoton BMC NPCM750 ehci/ohci driver Is there going to be any user of this driver (soon) ?

Re: [PATCH] usb: kbd: allow probing even if usbkbd not in stdin

2022-06-24 Thread Marek Vasut
On 6/22/22 10:59, kory.mainc...@bootlin.com wrote: From: Kory Maincent For now the driver does not probe if usbkbd was not present in stdin. This presents two issues, we can not probe the driver before setting stdin Environment should be up and running before USB, so this is likely not a

Re: [PATCH v2] mtd: rawnand: Add support to dedicated function to set timings

2022-06-24 Thread Miquel Raynal
Hi Köry, kory.mainc...@bootlin.com wrote on Wed, 22 Jun 2022 11:11:45 +0200: > From: Kory Maincent > > With the current code if the board has an ONFI compliant NAND without > support to the get and set features, U-boot returns an ENOTSUP error when > trying to tune the timings which prevents

Re: [PATCH v1 2/2] board: apalis_imx6: DDR init using mx6_dram_cfg()

2022-06-24 Thread Fabio Estevam
On Fri, Jun 24, 2022 at 7:33 AM Francesco Dolcini wrote: > > Do DDR initialization using the procedural mx6_dram_cfg() instead of > programming the MMDC using a raw list of register/value pairs, this > solves some rare boot failures on specific "bad" modules. > > Calibration values, DDR geometry

Re: [PATCH v1 1/2] mx6: ddr: Fix disabling on-die termination

2022-06-24 Thread Fabio Estevam
On Fri, Jun 24, 2022 at 7:33 AM Francesco Dolcini wrote: > > In case rtt_nom is set to 0 keep ODT disabled (MMDC MPODTCTRL = 0). > No changes required for DDR MR1 Rtt_Nom impedance register, 0 value is > already handled correctly. > > No board is currently affected by this change (rtt_nom != 0 on

[PATCH v2] sunxi: fix initial environment loading without MMC

2022-06-24 Thread Andre Przywara
From: Samuel Holland Commit e42dad4168fe ("sunxi: use boot source for determining environment location") changed our implementation of env_get_location() and enabled it for every board, even those without MMC support (like the C.H.I.P. boards). However the default fallback location of ENVL_FAT

Re: [PATCH] sunxi: fix initial environment loading without MMC

2022-06-24 Thread Tom Rini
On Thu, Jun 23, 2022 at 08:21:01PM -0500, Samuel Holland wrote: > Hi Andre, > > >>> On 4/20/22 7:34 PM, Andre Przywara wrote: > Commit e42dad4168fe ("sunxi: use boot source for determining environment > location") changed our implementation of env_get_location() and enabled > it

Re: [u-boot-test-hooks PATCH 0/2] Aspeed updates

2022-06-24 Thread Tom Rini
On Fri, Jun 24, 2022 at 12:04:18PM +0930, Joel Stanley wrote: > Hi Tom, > > This updates the configuration for the aspeed machines, adding support > for the ast2600. > > Joel Stanley (2): > ast2500: Simplify Qemu command line > travis-ci: Add Aspeed AST2600 Qemu configuration > >

[PATCH] regmap: fix some comments

2022-06-24 Thread Ralph Siemsen
Correct spelling and copy/paste errors in comments. Fixes 1c4db59d9b ("regmap: Add support for regmap fields") Signed-off-by: Ralph Siemsen --- include/regmap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/regmap.h b/include/regmap.h index

Re: [PATCH v2 0/8] spl: binman: Fixes for BINMAN_SYMBOLS

2022-06-24 Thread Alper Nebi Yasak
On 23/06/2022 06:00, Peng Fan (OSS) wrote: > Hi Alper, > > 在 2022/6/18 20:13, Alper Nebi Yasak 写道: >> There's some trouble with an i.MX8M series [1] trying to use binman >> symbols. The crux of it is the 'u_boot_any' symbols BINMAN_SYMBOLS >> configs declare, and the boards creating partial

Re: [PATCH v2] watchdog: add amlogic watchdog support

2022-06-24 Thread Neil Armstrong
On 24/06/2022 12:20, Stefan Roese wrote: Hi Neil, On 21.06.22 11:17, Neil Armstrong wrote: Hi Stefan, On 20/06/2022 16:55, Stefan Roese wrote: On 13.06.22 16:00, Philippe Boos wrote: Add support for hardware watchdog timer for Amlogic SoCs. This driver has been heavily inspired by his Linux

Re: [PATCH v2 01/15] firmware: zynqmp: Check if rx channel dev pointer is valid

2022-06-24 Thread Michal Simek
On 6/20/22 18:36, Stefan Herbrechtsmeier wrote: From: Stefan Herbrechtsmeier Check if rx channel dev pointer is valid and not if the address of the pointer is valid. Signed-off-by: Stefan Herbrechtsmeier --- (no changes since v1) drivers/firmware/firmware-zynqmp.c | 2 +- 1 file

Re: [PATCH] ARM: zynq: Fix size-cells for pl353 driver

2022-06-24 Thread Michal Simek
st 15. 6. 2022 v 12:22 odesílatel Michal Simek napsal: > > From: Amit Kumar Mahapatra > > "size-cells" of the nand controller node should be 0 as the "reg" > property of the nand device node contains the chip select number and not > address information. > The patch fixes the below compilation

Re: [PATCH] arm64: zynqmp: Fix usb node drive strength and slew rate

2022-06-24 Thread Michal Simek
st 15. 6. 2022 v 12:16 odesílatel Michal Simek napsal: > > From: Ashok Reddy Soma > > As per design, all input/rx pins should have fast slew rate and 12mA > drive strength. Rest all pins should be slow slew rate and 4mA drive > strength. Fix usb nodes as per this and remove setting of slow slew

Re: [PATCH 0/2] microblaze: Fix timer and interrupt code

2022-06-24 Thread Michal Simek
st 8. 6. 2022 v 12:39 odesílatel Michal Simek napsal: > > Hi, > > this series is moving timer to generic drivers/timer/ location and it is > removing unused interrupt code in architecture. > > note: This patchset is based on rela and cache series. > > Thanks, > Michal > > > Michal Simek (2): >

Re: [PATCH v4 00/23] microblaze: Add support for full relocation

2022-06-24 Thread Michal Simek
st 15. 6. 2022 v 15:21 odesílatel Michal Simek napsal: > > Hi, > > this series is adding support for full rela relocation. > Origin NEEDS_MANUAL_RELOC option is still there as default. > > Code has been tested with multiple configurations on QEMU. > - Origin behavior - u-boot > - Relocated

Re: [PATCH 0/3] arm64: zynqmp: Some DT updates

2022-06-24 Thread Michal Simek
st 15. 6. 2022 v 11:56 odesílatel Michal Simek napsal: > > Hi, > > I am sending DT series to fix some DT issues which were found. > > Thanks, > Michal > > > Michal Simek (3): > arm64: zynqmp: Fix i2c addresses for vck190 SC > arm64: zynqmp: Update tps53681 i2c address > arm64: zynqmp: Fix

Re: [PATCH] pinctrl: zynqmp: Add support for output-enable and bias-high-impedance

2022-06-24 Thread Michal Simek
st 15. 6. 2022 v 11:52 odesílatel Michal Simek napsal: > > From: Ashok Reddy Soma > > Add support to handle 'output-enable' and 'bias-high-impedance' > configurations. DT property output-enable brings out the pins from > tri-state, whereas bias-high-impedance changes the pins state to >

Re: [PATCH] arm64: zynqmp: Enable DP for kv260-revA board

2022-06-24 Thread Michal Simek
čt 9. 6. 2022 v 14:57 odesílatel Michal Simek napsal: > > DP is enabled for revB and should be enabled for kv260-revA too. Changes in > other boards were done by commit 8b82a3a7feb0 ("arm64: zynqmp: Enable DP > driver for SOMs"). > > Signed-off-by: Michal Simek > --- > >

Re: [u-boot-test-hooks PATCH 2/2] travis-ci: Add Aspeed AST2600 Qemu configuration

2022-06-24 Thread Cédric Le Goater
On 6/24/22 04:34, Joel Stanley wrote: Similar to the AST2500 this machine is emulated by Qemu. It boots from a 64MB SPI NOR flash device by default. Signed-off-by: Joel Stanley Reviewed-by: Cédric Le Goater Thanks, C. --- bin/travis-ci/conf.evb-ast2600_qemu | 13

Re: [u-boot-test-hooks PATCH 1/2] ast2500: Simplify Qemu command line

2022-06-24 Thread Cédric Le Goater
On 6/24/22 04:34, Joel Stanley wrote: The Aspeed machine in Qemu has appropriate defaults so we don't need to specify these options. Signed-off-by: Joel Stanley Reviewed-by: Cédric Le Goater Thanks, C. --- bin/travis-ci/conf.evb-ast2500_qemu | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] efi_loader: Allow overlapped extra data for PE hashing

2022-06-24 Thread Su, Bao Cheng
During PE hashing, when holes exists between sections, the extra data calculated could be a dupulicated region of the last section. Such PE image with holes existing between sections may contain the symbol table for the kernel, for example. The Authenticode_PE spec does not rule how to deal with

Re: [PATCH] toradex: apalis/colibri_imx6: Fix CLKO1/CLKO2 output

2022-06-24 Thread Fabio Estevam
On Fri, Jun 24, 2022 at 6:52 AM Francesco Dolcini wrote: > > Set CLK01 and CLK02 to 24MHz and enable it in CCM_CCOSR register. > > This clock is used by both the audio codec (CLKO1) and by the CSI camera > (CLKO2) and is expected to be 24MHz. > > Despite the wrong 16.5MHz there was no real issue

Re: [PATCH v3 8/8] board: gw_ventana: enable MV88E61XX DSA support

2022-06-24 Thread Vladimir Oltean
On Mon, May 23, 2022 at 11:25:49AM -0700, Tim Harvey wrote: > Add MV88E61XX DSA support: > - update dt: U-Boot dsa driver requires different device-tree syntax >than the linux driver in order to link the dsa ports to the mdio bus. > - update defconfig > - replace mv88e61xx_hw_reset weak

Re: [PATCH v2] watchdog: add amlogic watchdog support

2022-06-24 Thread Stefan Roese
Hi Neil, On 21.06.22 11:17, Neil Armstrong wrote: Hi Stefan, On 20/06/2022 16:55, Stefan Roese wrote: On 13.06.22 16:00, Philippe Boos wrote: Add support for hardware watchdog timer for Amlogic SoCs. This driver has been heavily inspired by his Linux equivalent (meson_gxbb_wdt.c).

[PATCH RESEND] riscv: fix compitible with binutils 2.38

2022-06-24 Thread Coelacanthus
commit 6df2a016c0c8a3d0933ef33dd192ea6606b115e3 from linux kernel Since binutils 2.38, default ISA spec version switch to 20191213, in this version, original I extension be split into I, Zicsr and Zifencei. Zicsr is csr read/write (csrr*/csrw*) instructions, and Zifencei is fence.i instruction.

Re: [PATCH] efi_loader: Allow overlapped extra data for PE hashing

2022-06-24 Thread Jan Kiszka
On 24.06.22 10:53, Heinrich Schuchardt wrote: > On 6/24/22 07:32, Su, Bao Cheng wrote: >> During PE hashing, when holes exists between sections, the extra data >> calculated could be a dupulicated region of the last section. >> >> Such PE image with holes existing between sections may contain the

Re: [PATCH v2] arm: dts: imx8mn-evk: sync dts from Linux Kernel

2022-06-24 Thread Fabio Estevam
Hi Heiko, On Fri, Jun 24, 2022 at 6:02 AM Heiko Thiery wrote: > > Sync dts for imx8mn-evk with Linux Kernel and change name for PMIC used in > spl. > > This was synced with linux 5.19-rc3 and contains the following changes: > > commit 1cfa1e68af8d40ab233d5d27bc8446e4c5107571("arm64: dts:

[PATCH v2] arm: dts: imx8mn-evk: sync dts from Linux Kernel

2022-06-24 Thread Heiko Thiery
Sync dts for imx8mn-evk with Linux Kernel and change name for PMIC used in spl. This was synced with linux 5.19-rc3 and contains the following changes: commit 1cfa1e68af8d40ab233d5d27bc8446e4c5107571("arm64: dts: imx8mn-evk: fix the min/max voltages of the PMIC") commit

Re: [PATCH] efi_loader: Allow overlapped extra data for PE hashing

2022-06-24 Thread Heinrich Schuchardt
On 6/24/22 07:32, Su, Bao Cheng wrote: During PE hashing, when holes exists between sections, the extra data calculated could be a dupulicated region of the last section. Such PE image with holes existing between sections may contain the symbol table for the kernel, for example. The

[PATCH v2] misc: nuvoton: Add host interface configuartion driver

2022-06-24 Thread Jim Liu
add nuvoton BMC npcm750 host configuartion driver Signed-off-by: Jim Liu --- Changes for v2: - add kconfig and use depend for kconfig --- drivers/misc/Kconfig | 6 ++ drivers/misc/Makefile | 1 + drivers/misc/npcm_host_intf.c | 110 ++ 3