Re: [PATCH] watchdog: use time_after_eq() in watchdog_reset()

2021-04-14 Thread Stefan Roese
On 15.04.21 08:54, Rasmus Villemoes wrote: On 15/04/2021 07.38, Stefan Roese wrote: On 13.04.21 16:43, Rasmus Villemoes wrote: Some boards don't work with the rate-limiting done in the generic watchdog_reset() provided by wdt-uclass. For example, on powerpc, get_timer() ceases working during b

Re: [PATCH v2 2/2] powerpc: introduce CONFIG_CACHE_FLUSH_WATCHDOG_THRESHOLD

2021-04-14 Thread Stefan Roese
On 15.04.21 08:46, Rasmus Villemoes wrote: On 15/04/2021 07.34, Stefan Roese wrote: On 13.04.21 21:38, Rasmus Villemoes wrote: I have checked with objdump that the generated code doesn't change when this option is left at its default value of 0: gcc is smart enough to see that wd_limit is cons

Re: [PATCH] watchdog: use time_after_eq() in watchdog_reset()

2021-04-14 Thread Rasmus Villemoes
On 15/04/2021 07.38, Stefan Roese wrote: > On 13.04.21 16:43, Rasmus Villemoes wrote: >> Some boards don't work with the rate-limiting done in the generic >> watchdog_reset() provided by wdt-uclass. >> >> For example, on powerpc, get_timer() ceases working during bootm since >> interrupts are disab

Re: [PATCH v2 2/2] powerpc: introduce CONFIG_CACHE_FLUSH_WATCHDOG_THRESHOLD

2021-04-14 Thread Rasmus Villemoes
On 15/04/2021 07.34, Stefan Roese wrote: > On 13.04.21 21:38, Rasmus Villemoes wrote: >> >> I have checked with objdump that the generated code doesn't change >> when this option is left at its default value of 0: gcc is smart >> enough to see that wd_limit is constant 0, the ">=" comparisons are >

Re: [PATCH] net: dwc_eth_qos: add support of device tree configuration for reset delay

2021-04-14 Thread Ramon Fried
On Thu, Apr 15, 2021 at 4:41 AM Ramon Fried wrote: > > On Wed, Apr 14, 2021 at 5:36 PM Marek Vasut wrote: > > > > On 4/14/21 4:07 PM, Patrick DELAUNAY wrote: > > > Hi, > > > > Hi, > > > > > On 4/9/21 2:22 PM, Marek Vasut wrote: > > >> On 4/9/21 10:00 AM, Patrick Delaunay wrote: > > >>> The gpio r

Re: [PATCH] watchdog: use time_after_eq() in watchdog_reset()

2021-04-14 Thread Stefan Roese
On 13.04.21 16:43, Rasmus Villemoes wrote: Some boards don't work with the rate-limiting done in the generic watchdog_reset() provided by wdt-uclass. For example, on powerpc, get_timer() ceases working during bootm since interrupts are disabled before the kernel image gets decompressed, and when

Re: [PATCH v2 2/2] powerpc: introduce CONFIG_CACHE_FLUSH_WATCHDOG_THRESHOLD

2021-04-14 Thread Stefan Roese
On 13.04.21 21:38, Rasmus Villemoes wrote: When flush_cache() is called during boot on our ~7M kernel image, the hundreds of thousands of WATCHDOG_RESET calls end up adding significantly to boottime. Flushing a single cache line doesn't take many microseconds, so doing these calls for every cache

Re: [PATCH v2 1/2] powerpc: lib: remove leftover CONFIG_5xx

2021-04-14 Thread Stefan Roese
On 13.04.21 21:38, Rasmus Villemoes wrote: CONFIG_5xx hasn't existed since commit 502589777416 (powerpc, 5xx: remove support for 5xx). Remove this last mention of it. Signed-off-by: Rasmus Villemoes --- arch/powerpc/lib/cache.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerp

Re: [PATCH v6 1/7] riscv: dts: add fu740 support

2021-04-14 Thread Rick Chen
Hi Green, > From: Green Wan [mailto:green@sifive.com] > Sent: Thursday, April 08, 2021 9:40 PM > Cc: bmeng...@gmail.com; Green Wan; Greentime Hu; Rick Jian-Zhi Chen(陳建志); > Paul Walmsley; Palmer Dabbelt; Anup Patel; Atish Patra; Pragnesh Patel; > Lukasz Majewski; Joe Hershberger; Ramon Fried

Re: [PATCH] mtd: cfi: Fix PPB lock status readout

2021-04-14 Thread Stefan Roese
On 11.04.21 20:47, Marek Vasut wrote: According to S26KL512S datasheet [1] and S29GL01GS datasheet [2], the procedure to read out PPB lock bits is to send the PPB Entry, PPB Read, Reset/ASO Exit. Currently, the code does send incorrect PPB Entry, PPB Read and Reset/ASO Exit is completely missing.

Re: [PATCH] arm: at91: gardena-smart-gateway-at91sam: Adjust to production values

2021-04-14 Thread Stefan Roese
Hi Reto, On 14.04.21 16:49, Reto Schneider wrote: From: Reto Schneider This commit updates the default config with the values that are actually used "in the wild" and which are close to what is used on the MediaTek MT7688 based, 2nd generation of the GARDENA smart gateway: - Reduce startup t

Please pull u-boot-x86

2021-04-14 Thread Bin Meng
Hi Tom, This PR includes the following changes for v2021.07: - Minor fix to Apollo Lake devicetree bindings for FSP - Refactor Designware PCIe drivers to core and SoC parts - Add Amlogic Meson Designware PCIe controller driver Azure results: PASS https://dev.azure.com/bmeng/GitHub/_build/results

Re: [PATCH RFT v2 0/4] pci: add common Designware PCIe functions and support Amlogic Meson PCIe controller

2021-04-14 Thread Bin Meng
On Thu, Apr 15, 2021 at 6:24 AM Bin Meng wrote: > > Hi, > > On Thu, Apr 8, 2021 at 3:41 PM Neil Armstrong wrote: > > > > On 08/04/2021 07:29, Bin Meng wrote: > > > Hi Neil, > > > > > > On Tue, Apr 6, 2021 at 8:22 PM Neil Armstrong > > > wrote: > > >> > > >> Hi Bin, > > >> > > >> On 25/03/2021 1

Re: [PATCH 03/13] dm: pci: Skip setting VGA bridge bits if parent device is the host bus

2021-04-14 Thread Masami Hiramatsu
Hi Bin, On Thu, 15 Apr 2021 06:30:27 +0800 Bin Meng wrote: > Hi, > > On Thu, Apr 15, 2021 at 3:39 AM Simon Glass wrote: > > > > On Tue, 13 Apr 2021 at 16:23, Masami Hiramatsu > > wrote: > > > > > > Commit bbbcb5262839 ("dm: pci: Enable VGA address forwarding on bridges") > > > sets the VGA br

Re: [PATCH 1/8] ARM: dragonboard410c: Enable DM_ETH

2021-04-14 Thread Ramon Fried
On Sat, Apr 3, 2021 at 12:48 AM Peter Robinson wrote: > > The dragonboard410c only uses USB ethernet interfaces so just > enable DM_ETH. > > Signed-off-by: Peter Robinson > Cc: Ramon Fried > --- > configs/dragonboard410c_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configs

[PATCH v2] checkpatch: Ignore ENOSYS warnings

2021-04-14 Thread Sean Anderson
There are no system calls in U-Boot, but ENOSYS is still allowed (and preferred since 42a2668743 ("dm: core: Document the common error codes")). Silence this warning. Signed-off-by: Sean Anderson Reviewed-by: Simon Glass --- Changes in v2: - Removed accidentally-included tag .checkpatch.conf

Re: [PATCH 3/6] net: calxedagmac: Convert to DM_ETH

2021-04-14 Thread Ramon Fried
On Mon, Apr 12, 2021 at 3:05 AM Andre Przywara wrote: > > To squash that nasty warning message and make better use of the newly > gained OF_CONTROL feature, let's convert the calxedagmac driver to the > "new" driver model. > The conversion is pretty straight forward, mostly just adjusting the > us

Re: [PATCH 0/2] net: jr2: Fix for jr2 switch

2021-04-14 Thread Ramon Fried
On Mon, Apr 12, 2021 at 12:26 AM Horatiu Vultur wrote: > > Hi, > > A gentle ping. Thanks. > > The 03/10/2021 09:31, Horatiu Vultur wrote: > > This patch series contains two patches. The first patch resets the > > switch at probe time while the second one fixes an issue with the > > serdes6g config

Re: [PATCH v3] cmd: net: Add the "arp" command

2021-04-14 Thread Ramon Fried
On Sat, Apr 10, 2021 at 5:17 PM wrote: > > From: Joe Xue > > The command is to query and show mac address of a specific ipAddress. > > Signed-off-by: Joe Xue > --- > > cmd/Kconfig | 6 ++ > cmd/net.c | 37 + > doc/usage/arp.rst | 31 +++

Re: [PATCH 13/37] net: fec_mxc: support i.MX8ULP

2021-04-14 Thread Ramon Fried
On Mon, Apr 12, 2021 at 2:53 PM Peng Fan (OSS) wrote: > > From: Peng Fan > > Support i.MX8ULP in fec_mxc > > Signed-off-by: Peng Fan > --- > drivers/net/Kconfig | 2 +- > drivers/net/fec_mxc.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/net/Kconfig b/dr

Re: [PATCH] net: dwc_eth_qos: add support of device tree configuration for reset delay

2021-04-14 Thread Ramon Fried
On Wed, Apr 14, 2021 at 5:36 PM Marek Vasut wrote: > > On 4/14/21 4:07 PM, Patrick DELAUNAY wrote: > > Hi, > > Hi, > > > On 4/9/21 2:22 PM, Marek Vasut wrote: > >> On 4/9/21 10:00 AM, Patrick Delaunay wrote: > >>> The gpio reset assert/deassert delay are today harcoded in U-Boot driver > >>> but t

Re: [PATCH] ls1012a: net: pfe: remove pfe stop from bootcmd

2021-04-14 Thread Ramon Fried
On Wed, Apr 14, 2021 at 1:34 PM Mian Yousaf Kaukab wrote: > > When using bootefi to boot a EFI binary, u-boot is supposed to > provide networking service for EFI application. Currently, 'pfe stop' > command is called from bootcmd before running bootefi. As a result > network stops working for EFI

Re: [PATCH v3 13/28] pci: Update to use new sequence numbers

2021-04-14 Thread Simon Glass
Hi Tim, On Thu, 15 Apr 2021, 12:29 Tim Harvey, wrote: > On Wed, Apr 14, 2021 at 12:37 PM Simon Glass wrote: > > > > Hi Tim, > > > > On Wed, 14 Apr 2021 at 06:32, Tim Harvey wrote: > > > > > > On Sat, Dec 19, 2020 at 8:43 AM Simon Glass wrote: > > > > > > > > Now that we know the sequence numb

Re: [PATCH v3 13/28] pci: Update to use new sequence numbers

2021-04-14 Thread Tim Harvey
On Wed, Apr 14, 2021 at 12:37 PM Simon Glass wrote: > > Hi Tim, > > On Wed, 14 Apr 2021 at 06:32, Tim Harvey wrote: > > > > On Sat, Dec 19, 2020 at 8:43 AM Simon Glass wrote: > > > > > > Now that we know the sequence number at bind time, there is no need for > > > special-case code in dm_pci_hos

[PATCH] arm: at91: gardena-smart-gateway-at91sam: Adjust to production values

2021-04-14 Thread Reto Schneider
From: Reto Schneider This commit updates the default config with the values that are actually used "in the wild" and which are close to what is used on the MediaTek MT7688 based, 2nd generation of the GARDENA smart gateway: - Reduce startup time by setting bootdelay to 0 (still allows accessing

Re: [PATCH 03/13] dm: pci: Skip setting VGA bridge bits if parent device is the host bus

2021-04-14 Thread Bin Meng
Hi, On Thu, Apr 15, 2021 at 3:39 AM Simon Glass wrote: > > On Tue, 13 Apr 2021 at 16:23, Masami Hiramatsu > wrote: > > > > Commit bbbcb5262839 ("dm: pci: Enable VGA address forwarding on bridges") > > sets the VGA bridge bits by checking pplat->class, but if the parent > > device is the pci host

Re: [PATCH RFT v2 0/4] pci: add common Designware PCIe functions and support Amlogic Meson PCIe controller

2021-04-14 Thread Bin Meng
Hi, On Thu, Apr 8, 2021 at 3:41 PM Neil Armstrong wrote: > > On 08/04/2021 07:29, Bin Meng wrote: > > Hi Neil, > > > > On Tue, Apr 6, 2021 at 8:22 PM Neil Armstrong > > wrote: > >> > >> Hi Bin, > >> > >> On 25/03/2021 15:49, Neil Armstrong wrote: > >>> With the introduction of pcie_dw_rockchip,

Re: Getting rid of falcon mode

2021-04-14 Thread Tom Rini
On Wed, Apr 14, 2021 at 08:37:07PM +0100, Simon Glass wrote: > Hi, > > On Tue, 13 Apr 2021 at 09:32, Alex G. wrote: > > > > ## Introduction > > > > Today we use "falcon mode" to mean "boot linux straight from SPL". This > > designation makes sense, since falcons "fly at high speed and change > >

Re: [PATCH 3/5] common: Rename macro appropriately

2021-04-14 Thread Simon Glass
On Mon, 12 Apr 2021 at 23:16, Steffen Jaeckel wrote: > > While doing code-review internally this got nitpicked by 2 reviewers, so > I decided to include this here. > > Signed-off-by: Steffen Jaeckel > --- > > common/autoboot.c | 18 +- > 1 file changed, 9 insertions(+), 9 deletio

Re: [PATCH 11/11] test: Add K210 PLL tests to sandbox defconfigs

2021-04-14 Thread Simon Glass
On Mon, 12 Apr 2021 at 04:58, Sean Anderson wrote: > > This adds the unit test for the K210 PLL to the sandbox defconfigs. > > Signed-off-by: Sean Anderson > --- > > configs/sandbox64_defconfig| 2 ++ > configs/sandbox_defconfig | 2 ++ > configs/sandbox_flattree_defconfig | 2 +

Re: [PATCH] dm: core: Fix uninitialized return value from dm_scan_fdt_node

2021-04-14 Thread Simon Glass
On Thu, 8 Apr 2021 at 22:15, Sean Anderson wrote: > > If there are no nodes or if all nodes are disabled, this function would > return err without setting it first. Fix this by initializing err to > zero. > > Fixes: 94f7afdf7e ("dm: core: Ignore disabled devices when binding") > > Signed-off-by: S

Re: [PATCH v2 03/17] drivers: reset: Handle gracefully NULL pointers

2021-04-14 Thread Simon Glass
Hi Kishon, On Mon, 5 Apr 2021 at 11:28, Kishon Vijay Abraham I wrote: > > From: Jean-Jacques Hiblot > > The reset framework provides devm_reset_control_get_optional() > which can return NULL (not an error case). So all the other reset_ops > should handle NULL gracefully. Prepare the way for a ma

Re: [PATCH v10 2/3] x86: correct usage of CFLAGS_NON_EFI

2021-04-14 Thread Simon Glass
Hi Heinrich, On Sun, 11 Apr 2021 at 10:23, Heinrich Schuchardt wrote: > > The current usage of the variable CFLAGS_NON_EFI on the x86 architecture > deviates from other architectures. > > Variable CFLAGS_NON_EFI is the list of compiler flags to be removed when > building UEFI applications. It is

Re: [PATCH v10 1/3] test: fix test/dm/regmap.c

2021-04-14 Thread Simon Glass
On Sun, 11 Apr 2021 at 10:23, Heinrich Schuchardt wrote: > > regmap_read() only fills the first two bytes of val. The last two bytes are > random data from the stack. This means the test will fail randomly. > > For low endian systems we could simply initialize val to 0 and get correct > results. B

Re: [PATCH 2/6] spl: LOAD_FIT_FULL: Do not hard-code os to IH_OS_U_BOOT

2021-04-14 Thread Simon Glass
On Tue, 30 Mar 2021 at 18:54, Alex G. wrote: > > > > On 3/29/21 2:43 AM, Simon Glass wrote: > > On Fri, 12 Mar 2021 at 10:32, Alexandru Gagniuc > > wrote: > >> > >> The information on the OS should be contained in the FIT, as the > >> self-explanatory "os" property of a node under /images. Hard-

Re: [PATCH v1 1/2] cmd: bind: Fix driver binding on a device

2021-04-14 Thread Simon Glass
On Fri, 9 Apr 2021 at 08:36, Patrice Chotard wrote: > > Fix a regression brings by commit 84f8e36f03fa ("cmd: bind: allow to > bind driver with driver data") > > As example, the following bind command doesn't work: > >bind /soc/usb-otg@4900 usb_ether > > As usb_ether driver has no compatib

Re: MXC I2C recover/idle_bus does not work if CONFIG_DM_I2C is configured

2021-04-14 Thread Simon Glass
Hi Kees, On Fri, 9 Apr 2021 at 08:00, Trommel, Kees (Contractor) wrote: > > Simon, > > I found this issue in 2020.10. I just checked the master version and found > that the "flags |= desc->flags" statement in dm_gpio_set_dir_flags has been > removed. So it looks like that this issue is already

Re: [PATCH 1/4] command: Use a constant pointer for the help

2021-04-14 Thread Simon Glass
Hi Sean, On Fri, 9 Apr 2021 at 04:32, Sean Anderson wrote: > > On 4/6/21 12:30 AM, Simon Glass wrote: > > This text should never change during execution, so it makes sense to > > use a const char * so that it can be declared as const in the code. > > Update struct cmd_tbl with a const char * poin

Re: [PATCH 01/11] clk: Allow force setting clock defaults before relocation

2021-04-14 Thread Simon Glass
Hi Sean, On Mon, 12 Apr 2021 at 04:58, Sean Anderson wrote: > > Since 291da96b8e ("clk: Allow clock defaults to be set during re-reloc > state for SPL only") it has been impossible to set clock defaults before > relocation. This is annoying on boards without SPL, since there is no way > to set cl

Re: [PATCH v2 3/4] efi_capsule: Add a function to get the public key needed for capsule authentication

2021-04-14 Thread Simon Glass
On Mon, 12 Apr 2021 at 16:06, Sughosh Ganu wrote: > > Define a function which would be used in the scenario where the > public key is stored on the platform's dtb. This dtb is concatenated > with the u-boot binary during the build process. Platforms which have > a different mechanism for getting t

Re: [PATCH v2 3/3] test: Add test for partitions

2021-04-14 Thread Simon Glass
Hi Sean, On Mon, 12 Apr 2021 at 23:53, Sean Anderson wrote: > > This is technically a library function, but we use MMCs for testing, so > it is easier to do it with DM. At the moment, the only block devices in > sandbox are MMCs (AFAIK) so we just test with those. > > Signed-off-by: Sean Anderson

Re: [PATCH v2 2/3] part: Fix bogus return from part_get_info_by_dev_and_name

2021-04-14 Thread Simon Glass
On Mon, 12 Apr 2021 at 23:53, Sean Anderson wrote: > > blk_get_device_by_str returns the device number on success. So we must > check if the return was negative to determine an error. > > Signed-off-by: Sean Anderson > --- > > Changes in v2: > - New > > disk/part.c | 2 +- > 1 file changed, 1 in

Re: [PATCH 03/13] dm: pci: Skip setting VGA bridge bits if parent device is the host bus

2021-04-14 Thread Simon Glass
On Tue, 13 Apr 2021 at 16:23, Masami Hiramatsu wrote: > > Commit bbbcb5262839 ("dm: pci: Enable VGA address forwarding on bridges") > sets the VGA bridge bits by checking pplat->class, but if the parent > device is the pci host bus device, it can be skipped. Moreover, it > shouldn't access the ppl

Re: [PATCH 02/13] ata: ahci-pci: Use scsi_ops to initialize ops

2021-04-14 Thread Simon Glass
On Tue, 13 Apr 2021 at 16:22, Masami Hiramatsu wrote: > > Without this fix, scsi-scan will cause a synchronous abort > when accessing ops->scan. > > Signed-off-by: Masami Hiramatsu > --- > drivers/ata/ahci-pci.c |2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Simon Glass

Re: [PATCH 01/13] pci: Update the highest subordinate bus number for bridge setup

2021-04-14 Thread Simon Glass
On Tue, 13 Apr 2021 at 16:21, Masami Hiramatsu wrote: > > Update the highest subordinate bus number after probing the devices > under the bus for setting up the bridge correctly. > The commit 42f3663a3f67 ("pci: Update to use new sequence numbers") > removed this but it is required if a PCIe bridg

Re: [PATCH] checkpatch: Ignore ENOSYS warnings

2021-04-14 Thread Simon Glass
Hi Sean, On Tue, 13 Apr 2021 at 00:31, Sean Anderson wrote: > > On 4/12/21 2:04 PM, Simon Glass wrote: > > Hi Sean, > > > > On Mon, 12 Apr 2021 at 16:22, Sean Anderson wrote: > >> > >> There are no system calls in U-Boot, but ENOSYS is still allowed (and > >> preferred since 42a2668743 ("dm: cor

Re: [PATCH v2 01/17] dm: core: Add helper to compare node names

2021-04-14 Thread Simon Glass
On Mon, 5 Apr 2021 at 22:28, Kishon Vijay Abraham I wrote: > > Add helper to compare node names. > > Signed-off-by: Kishon Vijay Abraham I > --- > drivers/core/ofnode.c | 13 + > include/dm/ofnode.h | 10 ++ > 2 files changed, 23 insertions(+) > > diff --git a/drivers/core/

Re: [PATCH v2 02/17] dm: test: Add test case to check node name ignoring unit address

2021-04-14 Thread Simon Glass
On Mon, 5 Apr 2021 at 11:28, Kishon Vijay Abraham I wrote: > > Add test to check node name ignoring unit address. > > Signed-off-by: Kishon Vijay Abraham I > --- > test/dm/core.c | 14 ++ > 1 file changed, 14 insertions(+) Reviewed-by: Simon Glass > > diff --git a/test/dm/core.c

Re: Getting rid of falcon mode

2021-04-14 Thread Simon Glass
Hi, On Tue, 13 Apr 2021 at 09:32, Alex G. wrote: > > ## Introduction > > Today we use "falcon mode" to mean "boot linux straight from SPL". This > designation makes sense, since falcons "fly at high speed and change > direction rapidly" according to Wikipedia. > > The way we implement falcon mode

Re: [PATCH v3 13/28] pci: Update to use new sequence numbers

2021-04-14 Thread Simon Glass
Hi Tim, On Wed, 14 Apr 2021 at 06:32, Tim Harvey wrote: > > On Sat, Dec 19, 2020 at 8:43 AM Simon Glass wrote: > > > > Now that we know the sequence number at bind time, there is no need for > > special-case code in dm_pci_hose_probe_bus(). > > > > Note: the PCI_CAP_ID_EA code may need a look, b

[PATCH resend 2/2] env: add CONFIG_ENV_SECT_SIZE_AUTO

2021-04-14 Thread Rasmus Villemoes
This is roughly the U-Boot side equivalent to commit e282c422e0 (tools: fw_env: use erasesize from MEMGETINFO ioctl). The motivation is the case where one has a board with several revisions, where the SPI flashes have different erase sizes. In our case, we have an 8K environment, and the flashes h

[PATCH resend 0/2] add CONFIG_ENV_SECT_SIZE_AUTO

2021-04-14 Thread Rasmus Villemoes
This is a resend, just rebased to current master, of patches I sent way back in May. This is roughly the U-Boot side equivalent to commit e282c422e0 (tools: fw_env: use erasesize from MEMGETINFO ioctl), at least for SPI_FLASH backend. When CONFIG_ENV_SECT_SIZE_AUTO is not selected (and it is of c

[PATCH resend 1/2] env/sf.c: use a variable to hold the sector size

2021-04-14 Thread Rasmus Villemoes
As preparation for the next patch, use a local variable to represent the sector size. No functional change. Signed-off-by: Rasmus Villemoes --- env/sf.c | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/env/sf.c b/env/sf.c index 88ec1108b6..d9ed08a78e 1

Re: [PATCH 11/13] board: synquacer: Add DeveloperBox 96boards EE support

2021-04-14 Thread Tom Rini
On Wed, Apr 14, 2021 at 10:12:42AM +0900, Masami Hiramatsu wrote: > Hello Tom, > > 2021年4月14日(水) 2:47 Tom Rini : > > > > On Wed, Apr 14, 2021 at 12:31:21AM +0900, Masami Hiramatsu wrote: > > > > > Add the DeveloperBox 96boards EE support. This board is also > > > known as Socionext SynQuacer E-Ser

Re: [PATCH 10/13] ARM: dts: synquacer: Add device trees for DeveloperBox

2021-04-14 Thread Tom Rini
On Wed, Apr 14, 2021 at 10:06:04AM +0900, Masami Hiramatsu wrote: > Hello Tom, > > Thank you for your comment! > > 2021年4月14日(水) 2:47 Tom Rini : > > > > On Wed, Apr 14, 2021 at 12:30:15AM +0900, Masami Hiramatsu wrote: > > > > > Add device trees for 96boards EE DeveloperBox and basement SynQuacer

[PATCH] imx: Add support for Ronetix's iMX8MM-CM board

2021-04-14 Thread Ilko Iliev
Supported peripherals: ETH, SD, eMMC, PMIC, QSPI NOR Flash U-Boot SPL 2021.04-00759-g59701858a1-dirty (Apr 14 2021 - 17:23:43 +0200) PMIC: BD71847 ID=0xa1 Normal Boot WDT: Not starting Trying to boot from MMC1 U-Boot 2021.04-00759-g59701858a1-dirty (Apr 14 2021 - 17:23:43 +0200) CPU: Freesc

Re: [PATCH v2 7/7] arm: cache: cp15: don't map the reserved region with no-map property

2021-04-14 Thread Patrick DELAUNAY
Hi, On 2/8/21 2:26 PM, Patrick Delaunay wrote: No more map the reserved region with "no-map" property by marking the corresponding TLB entries with invalid entry (=0) to avoid speculative access. This patch fixes potential issue when predictive access is done by ARM core. Signed-off-by: Patric

Re: [PATCH] net: dwc_eth_qos: add support of device tree configuration for reset delay

2021-04-14 Thread Marek Vasut
On 4/14/21 4:07 PM, Patrick DELAUNAY wrote: Hi, Hi, On 4/9/21 2:22 PM, Marek Vasut wrote: On 4/9/21 10:00 AM, Patrick Delaunay wrote: The gpio reset assert/deassert delay are today harcoded in U-Boot driver but the value should be read from DT. STM32 use the generic binding defined in linu

Re: [PATCH] net: dwc_eth_qos: add support of device tree configuration for reset delay

2021-04-14 Thread Patrick DELAUNAY
Hi, On 4/9/21 2:22 PM, Marek Vasut wrote: On 4/9/21 10:00 AM, Patrick Delaunay wrote: The gpio reset assert/deassert delay are today harcoded in U-Boot driver but the value should be read from DT. STM32 use the generic binding defined in linux: Documentation/devicetree/bindings/net/ethernet-ph

Re: [PATCH v4 21/22] ppc: qemu: Enable eTSEC support

2021-04-14 Thread Bin Meng
Hi Priyanka, On Wed, Apr 14, 2021 at 7:54 PM Priyanka Jain wrote: > > > > >-Original Message- > >From: Bin Meng > >Sent: Sunday, March 14, 2021 5:45 PM > >To: Priyanka Jain ; Ramon Fried > >; Simon Glass ; u- > >b...@lists.denx.de > >Cc: Tom Rini ; Vladimir Oltean ; > >Bin Meng > >Subje

Re: [PATCH v4 21/22] ppc: qemu: Enable eTSEC support

2021-04-14 Thread Tom Rini
On Wed, Apr 14, 2021 at 11:54:39AM +, Priyanka Jain wrote: > > > >-Original Message- > >From: Bin Meng > >Sent: Sunday, March 14, 2021 5:45 PM > >To: Priyanka Jain ; Ramon Fried > >; Simon Glass ; u- > >b...@lists.denx.de > >Cc: Tom Rini ; Vladimir Oltean ; > >Bin Meng > >Subject: [

RE: [PATCH v4 21/22] ppc: qemu: Enable eTSEC support

2021-04-14 Thread Priyanka Jain
>-Original Message- >From: Bin Meng >Sent: Sunday, March 14, 2021 5:45 PM >To: Priyanka Jain ; Ramon Fried >; Simon Glass ; u- >b...@lists.denx.de >Cc: Tom Rini ; Vladimir Oltean ; >Bin Meng >Subject: [PATCH v4 21/22] ppc: qemu: Enable eTSEC support > >QEMU ppce500 target can dynamical

[PATCH v4 1/2] timer: mpc83xx_timer: fix build with CONFIG_{HW_, }WATCHDOG

2021-04-14 Thread Rasmus Villemoes
The code, which is likely copied from arch/powerpc/lib/interrupts.c, lacks a fallback definition of CONFIG_SYS_WATCHDOG_FREQ and refers to a non-existing timestamp variable - obviously priv->timestamp is meant. Signed-off-by: Rasmus Villemoes --- drivers/timer/mpc83xx_timer.c | 6 +- 1 file

Re: [PATCH] efi_loader: fix possible buffer overflow

2021-04-14 Thread Heinrich Schuchardt
On 4/14/21 7:43 AM, Ilias Apalodimas wrote: On Wed, Apr 14, 2021 at 11:55:49AM +0900, Masahisa Kojima wrote: Variable "final" will have SHA512 digest, but currently the array size is not sufficient. Let's fix it. Signed-off-by: Masahisa Kojima --- lib/efi_loader/efi_tcg2.c | 2 +- 1 file ch

Re: [PATCH] efi_loader: esrt: Remove incorrect invocations of EFI_CALL macro

2021-04-14 Thread Heinrich Schuchardt
On 4/14/21 9:08 AM, Sughosh Ganu wrote: Remove function invocations using the EFI_CALL macro for those functions that do not have an EFI_ENTRY call in their definition. Such functions can use u-boot api's which rely on u-boot global data(gd) pointer. The Arm and RiscV architectures maintain a sep

[PATCH] ls1012a: net: pfe: remove pfe stop from bootcmd

2021-04-14 Thread Mian Yousaf Kaukab
When using bootefi to boot a EFI binary, u-boot is supposed to provide networking service for EFI application. Currently, 'pfe stop' command is called from bootcmd before running bootefi. As a result network stops working for EFI applications and console is flooded with "Rx pkt not on expected port

RE: [v1 12/17] ddr: altera: Add SDRAM driver for Intel N5X device

2021-04-14 Thread Tan, Ley Foon
> -Original Message- > From: Lim, Elly Siew Chin > Sent: Wednesday, March 31, 2021 10:39 PM > To: u-boot@lists.denx.de > Cc: Marek Vasut ; Tan, Ley Foon > ; See, Chin Liang ; > Simon Goldschmidt ; Chee, Tien Fong > ; Westergreen, Dalon > ; Simon Glass ; Gan, > Yau Wai ; Lim, Elly Siew C

Re: [RFC PATCH v5 2/2] board: sifive: unmatched: clear feature disable CSR

2021-04-14 Thread Green Wan
On Wed, Apr 14, 2021 at 11:22 AM Rick Chen wrote: > > Hi Green, > > > From: Green Wan [mailto:green@sifive.com] > > Sent: Tuesday, April 13, 2021 5:32 PM > > Cc: Green Wan; Sean Anderson; Bin Meng; Rick Jian-Zhi Chen(陳建志); Paul > > Walmsley; Pragnesh Patel; Bin Meng; Simon Glass; Atish Patra;

[PATCH v4 2/2] allow opting out of WATCHDOG_RESET() from timer interrupt

2021-04-14 Thread Rasmus Villemoes
Having WATCHDOG_RESET() called automatically from the timer interrupt runs counter to the idea of a watchdog device - if the board runs into an infinite loops with interrupts still enabled, the watchdog will never fire. When using CONFIG_(SPL_)WDT, the watchdog_reset function is a lot more complic

[PATCH v4 0/2] allow opting out of WATCHDOG_RESET() from timer interrupt

2021-04-14 Thread Rasmus Villemoes
This is a resend of v3 from a year ago. Please consider applying. v4: rebase to current master. v3: add fixup patch for mpc83xx_timer, add documentation hunk to README, also update m68k instead of only ppc. v2: add documentation comment Rasmus Villemoes (2): timer: mpc83xx_timer: fix build wi

Re: [PATCH 11/13] board: synquacer: Add DeveloperBox 96boards EE support

2021-04-14 Thread Takahiro Akashi
On Wed, Apr 14, 2021 at 03:29:23PM +0900, Masami Hiramatsu wrote: > Hi Takahiro, > > 2021年4月14日(水) 13:48 Takahiro Akashi : > > > > > > So why not define UEFI load options (BOOT) and use UEFI boot manager > > > > ("bootefi bootmgr")? > > > > That is the way how UEFI (at least boot manager) boot

[PATCH] efi_loader: esrt: Remove incorrect invocations of EFI_CALL macro

2021-04-14 Thread Sughosh Ganu
Remove function invocations using the EFI_CALL macro for those functions that do not have an EFI_ENTRY call in their definition. Such functions can use u-boot api's which rely on u-boot global data(gd) pointer. The Arm and RiscV architectures maintain a separate gd pointer, one for u-boot, and a se