On Sun, Aug 14, 2022 at 09:57:14PM +0200, Heinrich Schuchardt wrote:
> Format the KVM implementation number in a human readable form.
>
> With the patch output of the sbi command for Linux 5.19.1 looks like:
>
> => sbi
> SBI 0.3
> KVM 5.19.1
> Machine:
> Vendor ID 0
>
在 2022/7/26 16:31, Jaehoon Chung 写道:
On 7/13/22 16:32, qianfangui...@163.com wrote:
From: qianfan Zhao
watchdog will reset when 'mmc read' or 'ext4load' a large file from mmc
device. Reset watchdog when accessing mmc device.
I don't know why this patch is need.
Hi:
maybe your's board
Hi Icenowy,
On Thu, Aug 25, 2022 at 04:11:18PM +0800, Icenowy Zheng wrote:
> This commit sychornizes the header file for FU740 PRCI clocks with the
> one from Linux 5.19.
>
> The constant values are the same, but all constant names are changed
> (most are just prefixed with FU740_).
>
>
On Mon, Aug 29, 2022 at 08:30:14PM -0600, Simon Glass wrote:
> On Fri, 26 Aug 2022 at 21:15, Daniel Golle wrote:
> >
> > Chage variable name 'imape_comp' to the supposedly intended name
>
> Change
Can you fix that on-the-fly while comitting or should I repost with
that typo in the patch
On Mon, 29 Aug 2022 at 00:23, Stefan Roese wrote:
>
> Remove some now unused macros and #ifdef's.
>
> Signed-off-by: Stefan Roese
> ---
> include/watchdog.h | 6 ++
> 1 file changed, 2 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass
On Mon, 29 Aug 2022 at 00:23, Stefan Roese wrote:
>
> Now that we've globally replaced all WATCHDOG_RESET occurances, let's
> remove the ugly macro itself in the header.
>
> Signed-off-by: Stefan Roese
> ---
> include/watchdog.h | 36
> 1 file changed, 36
On Mon, 29 Aug 2022 at 00:23, Stefan Roese wrote:
>
> Globally replace all occurances of WATCHDOG_RESET() with schedule(),
> which handles the HW_WATCHDOG functionality and the cyclic
> infrastructure.
>
> Signed-off-by: Stefan Roese
> ---
> arch/arm/mach-at91/phy.c | 2 +-
Hi Stefan,
On Mon, 29 Aug 2022 at 00:23, Stefan Roese wrote:
>
> This patch introduces a schedule() function, which shall be used instead
> of the old WATCHDOG_RESET. Follow-up patches will make sure, that this
> new function is used.
>
> Signed-off-by: Stefan Roese
> ---
> common/cyclic.c |
On Mon, 29 Aug 2022 at 00:23, Stefan Roese wrote:
>
> Use the do_div etc for divisions to fix the compile breakage seen on
> edison:
>
> cmd/cyclic.c:70: undefined reference to `__udivmoddi4'
>
> and for e.g. MIPS netgear_cg3100d_ram:
>
> cmd/cyclic.c:(.text.do_cyclic_list+0x180): undefined
On Fri, 26 Aug 2022 at 01:54, Paweł Anikiel wrote:
>
> Set the bitstream name per Chameleon variant. This allows the same
> boot filesystem with all bitstream variants to be used on different
> boards.
>
> Signed-off-by: Paweł Anikiel
> ---
>
Hi,
On Mon, 29 Aug 2022 at 00:41, Michael Nazzareno Trimarchi
wrote:
>
> Hi
>
> On Mon, Aug 29, 2022 at 8:19 AM Balamanikandan Gunasundar
> wrote:
> >
> > Change include:
> >
> > - Adapt GPIO descriptor apis for U-Boot. Use
> > gpio_request_by_name_nodev, dm_gpio_get_value etc.
> > - Use
On Fri, 26 Aug 2022 at 21:15, Daniel Golle wrote:
>
> Chage variable name 'imape_comp' to the supposedly intended name
Change
> 'image_comp'.
>
> Signed-off-by: Daniel Golle
> ---
> v4: add missing name replacement
>
> boot/bootm.c | 8
> 1 file changed, 4 insertions(+), 4
On Fri, 26 Aug 2022 at 21:18, Daniel Golle wrote:
>
> fit_image_get_comp() should not set value -1 in case it can't read
> the compression node. Instead, leave the value untouched in that case
> as it can be absent and a default value previously defined by the
> caller of fit_image_get_comp()
Hi Pali,
On Sat, 27 Aug 2022 at 06:01, Pali Rohár wrote:
>
This patch is missing a motivation. Please always add a commit message.
> Signed-off-by: Pali Rohár
> ---
> board/Marvell/mvebu_armada-37xx/board.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git
Hi Julien,
On Mon, 29 Aug 2022 at 06:06, Julien Masson wrote:
>
> According to clk_ops struct definition, the callback `get_rate()`
> return current clock rate value as ulong.
> `clk_get_rate()` should handle the clock rate returned as ulong also.
>
> Otherwise we may have invalid/truncated
On Mon, 29 Aug 2022 at 11:00, Tom Rini wrote:
>
> The old "Patches" wiki page is not available anymore. Now that the
> content has been integrated with the submitting_patches document,
> reference that instead.
>
> Signed-off-by: Tom Rini
> ---
> .github/pull_request_template.md | 2 +-
> 1
On Sat, 27 Aug 2022 at 06:30, Pali Rohár wrote:
>
> PCIe GEN3 link retrain workaround, specially designed for system with PCIe
> ASMedia ASM2824 Switch and other Endpoint devices, unconditionally increase
> size of all SPL binaries with PCIe support, even those which do not require
> it.
>
>
On Sat, 27 Aug 2022 at 06:48, Pali Rohár wrote:
>
> FTD blob can be put immediately after the OS image.
> So use strict inequality for start address check.
>
> Fixes: fbde7589ce30 ("common: bootm: add checks to verify if ramdisk /
> fdtimage overlaps OS image")
> Signed-off-by: Pali Rohár
> ---
Hi Aubin,
On Mon, 29 Aug 2022 at 01:40, momo aubin wrote:
>
> Hi Simon,
> I got what is the 'dm tree' which is a driver model. This command could be
> done only in uboot stage. but i got the situation in which the initialisation
> of u-boot has not finished yet as showing in the following
On Mon, 29 Aug 2022 at 10:59, Tom Rini wrote:
>
> Import as-is much of the old "Patches" wiki page to the current
> sending_patches.rst file. This means we need to move patman to being
> included in the higher level ToC and add a reference for "Custodians" in
> the process document. A very
Hi Stefan,
On Mon, 29 Aug 2022 at 09:53, Stefan Herbrechtsmeier
wrote:
>
> Hi Heinrich,
>
> Am 29.08.2022 um 17:01 schrieb Heinrich Schuchardt:
> > On 8/8/22 16:45, Stefan Herbrechtsmeier wrote:
> >> From: Stefan Herbrechtsmeier
> >>
> >> The spl doesn't support ubifs and thereby doesn't
Hi Paweł,
On Mon, 29 Aug 2022 at 02:23, Paweł Anikiel wrote:
>
> On Sat, Aug 27, 2022 at 2:22 AM Simon Glass wrote:
> >
> > Hi Paweł,
> >
> > On Fri, 26 Aug 2022 at 01:54, Paweł Anikiel wrote:
> > >
> > > Add devicetree for chameleonv3 with the 270-2I2-D11E variant of the
> > > Mercury+ AA1
On 1/2/22 00:56, Heinrich Schuchardt wrote:
On 12/31/21 15:36, Jose Marinho wrote:
Hi Heinrich,
-Original Message-
From: Heinrich Schuchardt
Sent: 23 December 2021 18:32
To: Jose Marinho ; u-boot@lists.denx.de
Cc: ilias.apalodi...@linaro.org; sughosh.g...@linaro.org;
Just wanted to give a great big "Thank You!" to all of you who have shared
your BDI firmware files.
-Steve
OpenPGP_signature
Description: OpenPGP digital signature
Hi Stefan,
On Mon, Aug 29, 2022 at 5:50 AM Pali Rohár wrote:
>
> On Monday 29 August 2022 14:07:29 Stefan Roese wrote:
> > Hi Michael, Pali, Tony & all,
> >
> > On 24.08.22 09:35, Michael Walle wrote:
> > > Hi,
> > >
> > > > On 24.08.22 00:33, Pali Rohár wrote:
> > > > > Hello Stefan! Now when
From: Philippe Schenker
With this call the following attributes get set to the device-tree
and are then accessible from linux in /proc/device-tree/
serial-number: The serial number that is stored in config-block
toradex,board-rev: The version of the module (e.g. V1.1A)
toradex,product-id: The
From: Philippe Schenker
With this call the following attributes get set to the device-tree
and are then accessible from linux in /proc/device-tree/
serial-number: The serial number that is stored in config-block
toradex,board-rev: The version of the module (e.g. V1.1A)
toradex,product-id: The
Allow bdinfo command to print icache/dcache information:
U-Boot-mONStR> bdinfo
boot_params = 0x
DRAM bank = 0x
-> start= 0x0400
-> size = 0x0400
flashstart = 0x
flashsize = 0x
flashoffset = 0x
baudrate= 9600 bps
relocaddr =
Add bdinfo_print_size() helper to display size variables (such as cache
sizes) in bdinfo format. The size is printed as "xxx Bytes", "xxx KiB",
"xxx MiB", "xxx GiB", etc as needed;
Reviewed-by: Simon Glass
Signed-off-by: Ovidiu Panait
---
Changes in v2:
Added "Reviewed-by" tag from Simon.
Check snprintf() return value for errors.
Make microblaze_cpu_get_desc() directly return snprintf() error code if
ret < 0. Otherwise, if the return value is greater than or equal to size,
the resulting string is truncated, so return -ENOSPC.
Fixes: 816226d27e ("cpu: add CPU driver for
These macros are not used anymore in microblaze code since commit
f113d7d303467 ("Convert CONFIG_SPL_STACK to Kconfig"), so remove them.
Fixes: f113d7d303467 ("Convert CONFIG_SPL_STACK to Kconfig")
Signed-off-by: Ovidiu Panait
---
Changes in v2:
Improved commit message, added "Fixes" tag.
The old "Patches" wiki page is not available anymore. Now that the
content has been integrated with the submitting_patches document,
reference that instead.
Signed-off-by: Tom Rini
---
.github/pull_request_template.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
- Use gender-neutral language to refer to the user, consistently.
- Reference the checkpatch document.
- Move the section on commit message tags to the process document and
reference this in sending_patches.rst.
- Reword the custodian workflow process section to refer to this new
section,
Import as-is much of the old "Patches" wiki page to the current
sending_patches.rst file. This means we need to move patman to being
included in the higher level ToC and add a reference for "Custodians" in
the process document. A very minimal amount of content changing and
rewording is done here
On Monday 29 August 2022 17:43:43 Heinrich Schuchardt wrote:
> On 8/29/22 17:36, Pali Rohár wrote:
> > Signed-off-by: Pali Rohár
> > ---
> > doc/usage/cmd/loady.rst | 7 +++
> > 1 file changed, 7 insertions(+)
> >
> > diff --git a/doc/usage/cmd/loady.rst b/doc/usage/cmd/loady.rst
> >
CONFIG_RISCV_ISA_F for single float point, default no.
CONFIG_RISCV_ISA_D for double float point, default no.
CONFIG_RISCV_ISA_ZICSR for control and status register, default no.
CONFIG_RISCV_ISA_ZIFENCEI for instruction-fetch fence, default no.
Example when build with gcc 12.x as below.
make
Pan Li (1):
The riscv spec has breaking change from 2.2 to 20191213. Both ZICSR
and ZIFENCEI are separated extension since 20191213. Gcc bump up the
riscv spec to 20191213 since 12.x. So add below 4 build option for
compatibility::
arch/riscv/Kconfig | 28
Hi Heinrich,
Am 29.08.2022 um 17:01 schrieb Heinrich Schuchardt:
On 8/8/22 16:45, Stefan Herbrechtsmeier wrote:
From: Stefan Herbrechtsmeier
The spl doesn't support ubifs and thereby doesn't provide the
ubifs_is_mounted function. Remove the dependency to ubifs for the spl.
Signed-off-by:
On 8/29/22 17:36, Pali Rohár wrote:
Signed-off-by: Pali Rohár
---
doc/usage/cmd/loady.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/usage/cmd/loady.rst b/doc/usage/cmd/loady.rst
index 2819cc72aef4..718af6e128d5 100644
--- a/doc/usage/cmd/loady.rst
+++
Signed-off-by: Pali Rohár
---
doc/usage/cmd/loady.rst | 7 +++
1 file changed, 7 insertions(+)
diff --git a/doc/usage/cmd/loady.rst b/doc/usage/cmd/loady.rst
index 2819cc72aef4..718af6e128d5 100644
--- a/doc/usage/cmd/loady.rst
+++ b/doc/usage/cmd/loady.rst
@@ -61,6 +61,13 @@ Configuration
On 8/8/22 16:45, Stefan Herbrechtsmeier wrote:
From: Stefan Herbrechtsmeier
The spl doesn't support ubifs and thereby doesn't provide the
ubifs_is_mounted function. Remove the dependency to ubifs for the spl.
Signed-off-by: Stefan Herbrechtsmeier
---
disk/part.c | 2 +-
1 file changed,
On 8/27/22 13:48, Pali Rohár wrote:
Now when loadx and loady commands could be aborted / cancelled by CTRL+C,
allow to configure timeout for initial x/y-modem packet via env variable
$loadxy_timeout and by default use value from new compile-time config
option CONFIG_CMD_LOADXY_TIMEOUT. Value is
On 8/27/22 17:15, Simon Glass wrote:
Move these to the SCSI header file so we can access them from multiple
emulators.
Signed-off-by: Simon Glass
---
drivers/usb/emul/sandbox_flash.c | 26 --
include/scsi.h | 26 ++
2 files
On 8/27/22 17:15, Simon Glass wrote:
This can be used by common files, so move it to the SCSI header and rename
it.
Signed-off-by: Simon Glass
---
drivers/usb/emul/sandbox_flash.c | 24 +---
include/scsi.h | 6 ++
2 files changed, 15
On 8/27/22 17:14, Simon Glass wrote:
These comments are bit of a mess. Tidy them up to match the correct coding
style.
Signed-off-by: Simon Glass
It would be preferable to use Sphinx style comments as you already did
in include/asm-generic/global_data.h.
Best regards
Heinrich
---
From: Ross Burton
Since Python 2.5 the argument parsing functions when parsing expressions
such as s# (string plus length) expect the length to be an int or a
ssize_t, depending on whether PY_SSIZE_T_CLEAN is defined or not.
Python 3.8 deprecated the use of int, and with Python 3.10 this symbol
Drop the old shell scripts and use the Python script instead.
Signed-off-by: Simon Glass
---
Makefile | 4 +--
scripts/build-whitelist.sh | 45 ---
scripts/check-config.sh| 63 --
3 files changed, 2
Run this script along with the others.
Signed-off-by: Simon Glass
---
.azure-pipelines.yml | 1 +
.gitlab-ci.yml | 1 +
2 files changed, 2 insertions(+)
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index 0fa92479b4c..7bb70ea9eba 100644
--- a/.azure-pipelines.yml
+++
The existing shell script is a bit ugly. It was picked up by
Chromium OS and then rewritten in Python, adding unit tests. Bring this
new version into U-Boot.
Signed-off-by: Simon Glass
---
scripts/kconfig_check.py | 338 ++
scripts/test_kconfig_check.py |
$fdt_addr is mandatory for systems which provides DTB in HW (e.g. ROM) and
wishes to pass that DTB to Linux.
Turris Mox contains DTB binary in SPI NOR memory at "dtb" partition which
starts at offset 0x7f and is 0x1 bytes long.
Armada 3700 CPU does not allow mapping SPI NOR memory into
From: Bernhard Messerklinger
Sent: Thursday, August 25, 2022 8:54
Subject: [PATCH 5/5] brppt1: Update environment to support new boot concept
> * Drop legacy /boot/PPTImage.md5 check
> * Update device tree naming
> * Update t30args#0 root cmd line property to support latest kernel
> versions
From: Bernhard Messerklinger
Sent: Thursday, August 25, 2022 8:54
Subject: [PATCH 4/5] include: configs: brppt1: Fix commit 0ea4fc4dcf90
> Commit 0ea4fc4dcf90 ("board/BuR: invalidate ${dtbaddr} before cfgscr")
> destroys the boot targets b_t30lgcy#0 and b_t30lgcy#1. The reason behind
> this
From: Bernhard Messerklinger
Sent: Thursday, August 25, 2022 8:54
Subject: [PATCH 3/5] brppt1: Cleanup device tree
> * Remove unnecessary device tree nodes which are not needed in
> U-Boot directly.
> * Move all U-Boot specific device tree properties to u-boot dtsi.
>
> Signed-off-by:
From: Bernhard Messerklinger
Sent: Thursday, August 25, 2022 8:54
Subject: [PATCH 2/5] brppt1: Fix SPL boot stage
> Commit 6337d53fdf45 ("arm: dts: sync am33xx with Linux 5.9-rc7") syncs
> the am335x device tree with the latest linux kernel am335x device tree.
> That causes problems with
From: Bernhard Messerklinger
Sent: Thursday, August 25, 2022 8:54
Subject: [PATCH 1/5] brppt1: Remove unused board variants
> The SPI and NAND board variants never went into production.
> Drop those board variants.
>
> Signed-off-by: Bernhard Messerklinger
>
> ---
>
>
On Monday 29 August 2022 14:07:29 Stefan Roese wrote:
> Hi Michael, Pali, Tony & all,
>
> On 24.08.22 09:35, Michael Walle wrote:
> > Hi,
> >
> > > On 24.08.22 00:33, Pali Rohár wrote:
> > > > Hello Stefan! Now when U-Boot contains new orion-timer.c driver, which
> > > > Michael wrote, I think
On Mon, Aug 29, 2022 at 01:34:01PM +0200, Mark Kettenis wrote:
> LibreSSL 3.5.0 and later (also shipped as part of OpenBSD 7.1 and
> and later) have an opaque RSA object and do provide the
> RSA_get0_* functions that OpenSSL provides.
>
> Fixes: 2ecc354b8e46 ("tools: mkimage: fix build with
Hi Michael, Pali, Tony & all,
On 24.08.22 09:35, Michael Walle wrote:
Hi,
On 24.08.22 00:33, Pali Rohár wrote:
Hello Stefan! Now when U-Boot contains new orion-timer.c driver, which
Michael wrote, I think that it mvebu platform should switch to use it.
Because build process for armada boards
According to clk_ops struct definition, the callback `get_rate()`
return current clock rate value as ulong.
`clk_get_rate()` should handle the clock rate returned as ulong also.
Otherwise we may have invalid/truncated clock rate value returned by
`clk_get_rate()`.
`log_ret` has also been removed
On Mon 29 Aug 2022 at 10:38, Simon Glass wrote:
> Hi,
>
> On Fri, 26 Aug 2022 at 08:00, Sean Anderson wrote:
>>
>> On 8/26/22 6:31 AM, Julien Masson wrote:
>>> According to clk_ops struct definition, the callback `get_rate()`
>>> return current clock rate value as ulong.
>>> `clk_get_rate()`
The nvme driver falsely assumed that the last entry on a page
of the prp-list always points to the next page of the prp-list.
This potentially can lead to the illegal creation of pages on
the prp-list with only a single entry. This change now ensures
that splitting the prp-list into multiple
I was trying to read files from a Samsung MZ-VLB1T0B NVME device,
that was formatted with an ext4 filesystem. But I observed some
memory corruptions for the loaded file in u-boot. Closer investigation
revealed that the u-boot nvme driver can't handle large IO-operations
that are not aligned with
On 8/28/22 19:49, Xiang W wrote:
Please try my patch and let me know the test results
diff --git a/drivers/virtio/virtio_pci_modern.c
b/drivers/virtio/virtio_pci_modern.c
index 880a12cc28..cfde4007f5 100644
--- a/drivers/virtio/virtio_pci_modern.c
+++ b/drivers/virtio/virtio_pci_modern.c
@@
Like the subject line says. I am desperately trying to locate BDI2000
firmware for PowerPC 6xx/7xx/74xx with filenames that are of the form:
b20copgd.1xx
b20copfw.1xx
If anyone has firmware files they are willing to share, please please let
me know. Thanks.
-Steve
OpenPGP_signature
> Date: Mon, 29 Aug 2022 00:37:55 +1000
> From: Jonathan Gray
>
> On Sat, Aug 27, 2022 at 07:23:44PM +0200, Mark Kettenis wrote:
> > Recent versions of LibreSSL, such as those shipped as part of
> > OpenBSD 7.1 and later have an opaque RSA object and do provide the
> > RSA_get0_* functions that
LibreSSL 3.5.0 and later (also shipped as part of OpenBSD 7.1 and
and later) have an opaque RSA object and do provide the
RSA_get0_* functions that OpenSSL provides.
Fixes: 2ecc354b8e46 ("tools: mkimage: fix build with LibreSSL")
Signed-off-by: Mark Kettenis
---
ChangeLog:
v2: - Tweak version
On 29.08.22 09:50, Rasmus Villemoes wrote:
On 29/08/2022 08.23, Stefan Roese wrote:
Only one occurance of WATCHDOG_RESET is left in one assembler file.
This patch changes this occurance to a direct call to watchdog_reset
Well...
and then removes all the ASSEMBLY ifdef'ery in watchdog.h, as
On Sat, Aug 27, 2022 at 2:22 AM Simon Glass wrote:
>
> Hi Paweł,
>
> On Fri, 26 Aug 2022 at 01:54, Paweł Anikiel wrote:
> >
> > Add devicetree for chameleonv3 with the 270-2I2-D11E variant of the
> > Mercury+ AA1 module
> >
> > Signed-off-by: Paweł Anikiel
> > ---
> > arch/arm/dts/Makefile
On 29.08.22 09:38, Rasmus Villemoes wrote:
On 29/08/2022 08.23, Stefan Roese wrote:
This patch integrates the watchdog triggering into the recently added
cyclic infrastructure. Each watchdog device that shall be triggered
registers it's own cyclic function. This way, multiple watchdog devices
Dear Paul,
In message <20220505153242.1598807-3-paul.bar...@sancloud.com> you wrote:
> The "common.h" header is not covered by the licensing exception for
> standalone applications. Let's drop inclusion of this header from the
> hello_world example to prove that a standalone app can be built
On 29/08/2022 09.15, Rasmus Villemoes wrote:
> I'm inclined to say that is a bug in gcc. I'll open a bug and see what
> they say.
And it turns out this is already reported, with the same suggested
resolution as I was thinking of, namely extending the ASM_MAP definition:
On 29/08/2022 08.23, Stefan Roese wrote:
> Only one occurance of WATCHDOG_RESET is left in one assembler file.
> This patch changes this occurance to a direct call to watchdog_reset
Well...
> and then removes all the ASSEMBLY ifdef'ery in watchdog.h, as it's not
> needed any more to clean this
Hi Simon,
I got what is the 'dm tree' which is a driver model. This command could be
done only in uboot stage. but i got the situation in which the
initialisation of u-boot has not finished yet as showing in the following
picture.
[image: image.png]
.i would like to know what is wrong in the
On 29/08/2022 08.23, Stefan Roese wrote:
> This patch integrates the watchdog triggering into the recently added
> cyclic infrastructure. Each watchdog device that shall be triggered
> registers it's own cyclic function. This way, multiple watchdog devices
> are still supported, each via a cyclic
On 28/08/2022 23.46, Vagrant Cascadian wrote:
> On 2022-08-28, Vagrant Cascadian wrote:
>> On 2022-08-28, Rasmus Villemoes wrote:
>>> On 26/08/2022 22.59, Tom Rini wrote:
On Thu, Aug 18, 2022 at 10:31:34AM -0700, Vagrant Cascadian wrote:
> From: Vagrant Cascadian
>
> The
> From: Janne Grunau
> Date: Mon, 29 Aug 2022 08:31:27 +0200
>
> Fixes probing of various keyboards with DWC3 as integrated into Apple
> silicon SoCs. The problem appears to be requesting more data than the
> devices's bMaxPacketSize0 of 8. Older Logitech unifying receivers
> (bcdDevice 12.03 or
Hi
On Mon, Aug 29, 2022 at 8:19 AM Balamanikandan Gunasundar
wrote:
>
> Change include:
>
> - Adapt GPIO descriptor apis for U-Boot. Use
> gpio_request_by_name_nodev, dm_gpio_get_value etc.
> - Use U_BOOT_DRIVER instead of platform_driver.
> - Replace struct platform_device with struct udevice
Late versions of OP-TEE support a pseudo bus. TAs that behave as
hardware blocks (e.g TPM, RNG etc) present themselves on a bus which we can
scan. Unfortunately U-Boot doesn't support that yet. It's worth noting
that we already have a workaround for RNG. The details are in
commit 70812bb83da6
Fixes probing of various keyboards with DWC3 as integrated into Apple
silicon SoCs. The problem appears to be requesting more data than the
devices's bMaxPacketSize0 of 8. Older Logitech unifying receivers
(bcdDevice 12.03 or 12.10) are for eaxample affected.
Signed-off-by: Janne Grunau
Hello Rafał,
On 18.08.22 06:38, Rafał Miłecki wrote:
> From: Rafał Miłecki
>
> This fixes:
> drivers/nvmem/u-boot-env.c:141:17: sparse: sparse: cast to restricted __le32
>
> Reported-by: kernel test robot
> Fixes: f955dc1445069 ("nvmem: add driver handling U-Boot environment
> variables")
>
Globally replace all occurances of WATCHDOG_RESET() with schedule(),
which handles the HW_WATCHDOG functionality and the cyclic
infrastructure.
Signed-off-by: Stefan Roese
---
arch/arm/mach-at91/phy.c | 2 +-
arch/arm/mach-imx/i2c-mxv7.c | 2 +-
Remove some now unused macros and #ifdef's.
Signed-off-by: Stefan Roese
---
include/watchdog.h | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/include/watchdog.h b/include/watchdog.h
index 91506d3327a8..ac5f11e376fa 100644
--- a/include/watchdog.h
+++
The evb-ast2600 target always runs into an timeout error when run via
Azure CI. For test purpose only, this patch removes this CI build
target so that the world build can be run.
Joel, Chia-Wei, could you perhaps take a look at this and help to fix
the problems that I'm seeing with this build
Only one occurance of WATCHDOG_RESET is left in one assembler file.
This patch changes this occurance to a direct call to watchdog_reset
and then removes all the ASSEMBLY ifdef'ery in watchdog.h, as it's not
needed any more to clean this mess a bit up.
Signed-off-by: Stefan Roese
---
Now that we've globally replaced all WATCHDOG_RESET occurances, let's
remove the ugly macro itself in the header.
Signed-off-by: Stefan Roese
---
include/watchdog.h | 36
1 file changed, 36 deletions(-)
diff --git a/include/watchdog.h b/include/watchdog.h
This patch introduces a schedule() function, which shall be used instead
of the old WATCHDOG_RESET. Follow-up patches will make sure, that this
new function is used.
Signed-off-by: Stefan Roese
---
common/cyclic.c | 11 +++
include/cyclic.h | 5 +
2 files changed, 16 insertions(+)
This patch integrates the watchdog triggering into the recently added
cyclic infrastructure. Each watchdog device that shall be triggered
registers it's own cyclic function. This way, multiple watchdog devices
are still supported, each via a cyclic function with separate trigger
intervals.
This patchset migrates the watchdog triggering (WATCHDOG_RESET calls)
to the newly introduced cyclic execution framework. For this, the
watchdog driver now registers a cyclic execution function for each
WDT device that needs to get serviced. Additionally the cyclic IF is
a bit extended to also
Use the do_div etc for divisions to fix the compile breakage seen on
edison:
cmd/cyclic.c:70: undefined reference to `__udivmoddi4'
and for e.g. MIPS netgear_cg3100d_ram:
cmd/cyclic.c:(.text.do_cyclic_list+0x180): undefined reference to `__umoddi3'
Signed-off-by: Stefan Roese
---
Move this out of board file as this is done by the DM based NAND flash
driver. The EBI chip select configuration, iomux and timings are
handled by the driver
Signed-off-by: Balamanikandan Gunasundar
---
board/atmel/sam9x60ek/sam9x60ek.c | 59 ---
Enable the EBI and NAND flash controller. Define the pinctrl and
partition table
Signed-off-by: Balamanikandan Gunasundar
---
arch/arm/dts/sam9x60ek.dts | 103 +
1 file changed, 103 insertions(+)
diff --git a/arch/arm/dts/sam9x60ek.dts
Add new bindings for EBI and NAND controller
Signed-off-by: Balamanikandan Gunasundar
---
arch/arm/dts/sam9x60.dtsi | 42 +++
1 file changed, 42 insertions(+)
diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi
index a5c429eb3a..17224ef771
Enable Device model supported NAND driver and remove legacy Atmel NAND
driver.
Signed-off-by: Balamanikandan Gunasundar
---
configs/sam9x60ek_mmc_defconfig | 9 ++---
configs/sam9x60ek_nandflash_defconfig | 9 ++---
configs/sam9x60ek_qspiflash_defconfig | 8 +---
3 files
Add driver for atmel Static Memory Controller. Add helper functions to
configure SMC. This file is inherited from the work done by Boris
Brezillon for Linux
Signed-off-by: Balamanikandan Gunasundar
---
drivers/Kconfig | 2 +
drivers/Makefile | 1 +
The EBI is used to access peripherals like NAND, SRAM, NOR etc. Add
this driver to probe the nand flash controller. This is a dummy driver
and not yet a complete device driver for EBI.
Signed-off-by: Balamanikandan Gunasundar
---
MAINTAINERS| 1 +
drivers/memory/Kconfig |
This file is copied from Linux. AT91 SoCs have a memory range reserved
for internal bus configuration. Expose those registers so that drivers
can make use of the matrix syscon declared in at91 DTs.
Signed-off-by: Balamanikandan Gunasundar
---
include/linux/mfd/syscon/atmel-matrix.h | 112
Add driver for atmel pmecc. This implementation is ported from
Linux. The reference taken is linux-5.4-at91.
Signed-off-by: Balamanikandan Gunasundar
---
drivers/mtd/nand/raw/atmel/Makefile | 3 +-
drivers/mtd/nand/raw/atmel/pmecc.c | 965
This implementation is ported from the rework done by Boris Brezillon
in Linux. This porting is done based on linux-5.4-at91. The driver is
tested in sam9x60ek, sama5d3_xplained, sam9x75eb and sama7g54-ddr3-eb.
Changes done includes
- Adapt GPIO descriptor apis for U-Boot. Use
Change include:
- Adapt GPIO descriptor apis for U-Boot. Use
gpio_request_by_name_nodev, dm_gpio_get_value etc.
- Use U_BOOT_DRIVER instead of platform_driver.
- Replace struct platform_device with struct udevice
- Check the status of nfc exec operation by polling the status
register instead
99 matches
Mail list logo