This causes crashes on some boards, e.g. rockpro64. In any case, we
should not do it.
Check the usb_started flag to avoid this.
Signed-off-by: Simon Glass
---
drivers/usb/host/usb_bootdev.c | 3 +++
test/boot/bootdev.c| 5 +
2 files changed, 8 insertions(+)
diff --git
Armbian uses a script which needs the HUSH parser. It is likely that
other distros will do the same. Enable it by default, just in case.
Signed-off-by: Simon Glass
---
boot/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/boot/Kconfig b/boot/Kconfig
index 8c27f52ec3ed..9882812eecb8
This should be declared in a header file so that type-checking works
correctly.
Add a single declaration to usb.h and remove the others.
Signed-off-by: Simon Glass
---
cmd/usb.c | 1 -
common/usb.c | 2 +-
drivers/usb/host/usb-uclass.c | 1 -
include/usb.h
On Fri, May 5, 2023 at 6:55 AM Simon Glass wrote:
>
> Enable support for NVMe storage devices. Update the driver to enable the
> bus master bit, since coreboot does not do that automatically.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v4:
> - Drop unnecessary CONFIG options
> - Drop
On Fri, May 5, 2023 at 6:55 AM Simon Glass wrote:
>
> U-Boot sets up devices ready for use, but coreboot does not. Enable this
> so that NVMe works OK from coreboot.
>
> Signed-off-by: Simon Glass
> ---
>
> Changes in v4:
> - Split out patch to enable bus mastering
>
> drivers/nvme/nvme_pci.c |
On Tue, Apr 25, 2023 at 04:06:59PM +0300, Eugen Hristev wrote:
> Add the rtl8169 driver, which supports the rtl8125b device, which is
> connected on the pciE bus on this board.
> Enable also CONFIG_SYS_HAS_NONCACHED_MEMORY to have the descriptors stored.
>
> Signed-off-by: Eugen Hristev
> ---
>
Nishanth,
Agreed, this is very expensive for boot time, I could probably add a comment to
address this. But I believe it is better to have this option than not, as I
struggled to figure out that I even needed to prime ECC when I enabled it.
What is the strategy for TODOs with U-boot? DMA would
On Fri, Mar 03, 2023 at 09:48:44PM +0100, Christian Gmeiner wrote:
> When facing a very busy network, the single rx packet
> buffer was oftentimes overwritten before a desired
> response packet (e.g. a Ping reply) could have been
> processed. This change improves resistance to this
> by utilising
On Wednesday 03 May 2023 13:14:56 Tom Rini wrote:
> On Wed, May 03, 2023 at 11:18:39AM +0200, Stefan Roese wrote:
>
> > Hi Tom,
> >
> > please pull this next batch of mostly Marvell related patches:
>
> NAK. With commit:
> commit 461fa17970de418a93832f734a595031c0b72128
> Author: Pali Rohár
>
On 5/5/23 02:11, Tom Rini wrote:
The ITS file used to build the images here lists three dtb files as
being used. Today, these are built by the logic that will over-build dtb
files based on SOC/etc symbols being set. To future proof this platform
and be generally correct, we list all 3 of the
On Mon, Apr 03, 2023 at 02:41:52PM -0700, Tony Dinh wrote:
> Use CONFIG_CONSOLE_MUX for netconsole. When netconsole is running,
> stdin/stdout/stder must be set to some primary console, in addtion to nc.
> For example, stdin=serial,nc. Some recent Linux kernels will not boot with
> only nc on the
Hi
>
> On 04/05/23 14:08, Christian Gmeiner wrote:
> > Hi
> >
> >>
> >> This series aims to eliminate the use of additional custom repositories
> >> such as k3-image-gen (K3 Image Generation) repo and core-secdev-k3 (K3
> >> Security Development Tools) that was plumbed into the U-Boot build flow
Hi Tom,
This pull request adds misc fixes for cssi boards and activates
CPM relocation in order to enable the use of SCC4 in
QMC (QUICC Multi-Channel) mode.
CI: https://source.denx.de/u-boot/custodians/u-boot-mpc8xx/-/pipelines/16261
Thanks
Christophe
The following changes since commit
On Fri, May 05, 2023 at 10:25:53AM +0200, Anatolij Gustschin wrote:
> Hi Tom,
>
> please pull video updates for v2023.07-rc2.
>
> CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/16257
>
> Thanks,
> Anatolij
>
> The following changes since commit
On Fri, May 05, 2023 at 03:19:27AM +, Peng Fan wrote:
> Hi Tom,
>
> Please pull fsl-qoirq-2023-5-5
>
I've applied this to u-boot/master now, thanks. But please note that
these are still outstanding in patchwork:
On Thu, May 4, 2023 at 11:42 AM Jassi Brar wrote:
>
> On Thu, 4 May 2023 at 11:31, Ilias Apalodimas
> wrote:
> >
> > Replying to both Jassi and Tom here since it makes more sense,
> >
> > On Thu, 4 May 2023 at 19:19, Tom Rini wrote:
> > >
> > > On Thu, May 04, 2023 at 10:39:06AM -0500, Jassi
On 5/4/2023 9:52 AM, Sergei Antonov wrote:
On Sat, 22 Apr 2023 at 03:08, wrote:
+ if (prefix->on_link && ntohl(prefix->valid_lifetime)) {
+ net_prefix_length = prefix->prefix_len;
+ net_gateway6 = ip6->saddr;
+
Benjamin,
On 21:59-20230504, Tom Rini wrote:
> On Thu, May 04, 2023 at 12:47:29PM +, Roytburd, Benjamin wrote:
> o
> > Hello,
> >
> > Recently, when working with the AM65x_GP_EVM development board, I found
> > that the U-boot source code (specifically the SPL), does not properly
> >
Manorit,
On 20:59-20230504, Tom Rini wrote:
> On Thu, May 04, 2023 at 11:07:07AM +0530, Manorit Chawdhry wrote:
>
> > On K3 HS-SE devices all the firewalls are locked by default
> > until sysfw comes up. Rom configures some of the firewall for its usage
> > along with the SRAM for R5 but the
On 14:45-20230505, Sinthu Raja wrote:
> From: Sinthu Raja
>
> Pin-mux nodes should not be present in the R5 dts file; instead, they
> should be inherited from the board dts file. To enable/override the
> appropriate configurations, remove the pinmux nodes from am68-sk-r5 dt
From: Aswath Govindraju
When the device port is in a low power state [U3/L2/Not Connected],
accesses to usb device registers may take a long time. This could lead to
potential core hang when the controller registers are accessed after the
port is disabled by setting DEVDS field. Setting the fast
Based on Linux kernel commit:
dabad1ff85611 (pinctrl: meson: add pinctrl driver support for Meson-A1 SoC)
Signed-off-by: Igor Prusov
Reviewed-by: Neil Armstrong
---
drivers/pinctrl/meson/Kconfig| 4 +
drivers/pinctrl/meson/Makefile | 1 +
The AD401 board is the Amlogic A1 SoC reference board
Signed-off-by: Igor Prusov
Reviewed-by: Neil Armstrong
---
arch/arm/mach-meson/Kconfig | 1 +
board/amlogic/ad401/MAINTAINERS | 6
board/amlogic/ad401/Makefile| 4 +++
board/amlogic/ad401/ad401.c | 15 +
This patch series adds basic support for Amlogic AD401 development board
based on Amlogic A1 SoC family
Changelog:
v1 -> v2:
- Add MAINTAINERS for new board instead of using one in the repo root
Igor Prusov (5):
ARM: dts: Add Amlogic Meson A1 DT from Linux 6.3-rc7
ARM: dts: sync
Add support for Amlogic A1 SoC family.
Signed-off-by: Igor Prusov
Signed-off-by: Evgeny Bachinin
Reviewed-by: Neil Armstrong
---
arch/arm/include/asm/arch-meson/a1.h | 20 ++
arch/arm/mach-meson/Kconfig | 6 +++
arch/arm/mach-meson/Makefile | 1 +
Import Linux 6.3-rc7 Device tree and necessary bindings for Amlogic A1
board from 6a8f57ae2eb0 ("Linux 6.3-rc7").
Signed-off-by: Igor Prusov
Reviewed-by: Neil Armstrong
---
arch/arm/dts/meson-a1.dtsi | 161 +++
include/dt-bindings/gpio/meson-a1-gpio.h | 73
Add meson-a1-ad401.dts file from Linux 6.3-rc7
Signed-off-by: Igor Prusov
Reviewed-by: Neil Armstrong
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/meson-a1-ad401.dts | 30 ++
2 files changed, 31 insertions(+)
create mode 100644
Hi Ravi,
On 05/05/2023 15:13, Ravi Gunasekaran wrote:
> From: Aswath Govindraju
>
> When the device port is in a low power state [U3/L2/Not Connected],
> accesses to usb device registers may take a long time. This could lead to
> potential core hang when the controller registers are accessed
On 5/3/23 03:28, Simon Glass wrote:
On Mon, 1 May 2023 at 22:47, Baruch Siach wrote:
U-Boot now uses the U_BOOT_CRYPTO_ALGO() macro.
Signed-off-by: Baruch Siach
---
doc/uImage.FIT/signature.txt | 8
1 file changed, 4 insertions(+), 4 deletions(-)
Reviewed-by: Simon Glass
On Fri, 2023-05-05 at 12:51 +0200, Christophe Leroy wrote:
> This series adds misc fixes for cssi boards and activates
> CPM relocation in order to enable the use of SCC4 in
> QMC (QUICC Multi-Channel) mode.
>
> Changes in v2:
> - Patch 5: Update r1 at once (From Joakim)
Thanks
Joakim
In order to use QMC mode in the CPM, a SCC requires more space
in parameter RAM.
After SCC1 there is I2C parameter RAM and after SCC2 there is
SPI parameter RAM. MPC866 and MPC885 can already relocate I2C and.
SPI parameter RAM.
But in order to free space after SCC3 and SCC4, SMC1 and SMC2
need
In order to know the motherboard type earlier, perform I/O ports
initialisation and FPGA loading in board_early_init_f() instead
of board_early_init_r().
This is needed to be able to load mpc8xx CPM microcode base on
motherboard type and before starting to use the CPM.
Console is not available
MPC885 CPU has the following ERRATA:
When the USB controller is configured in Host mode, and the
SOF generation (SFTE=1 in USMOD register) is being used,
there may be false CRC error indication in other SCCs.
Although the data is received correctly, the CRC result
Instead of inhibiting parameter RAM relocation, take it into account.
Signed-off-by: Christophe Leroy
---
drivers/spi/mpc8xx_spi.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/spi/mpc8xx_spi.c b/drivers/spi/mpc8xx_spi.c
index 734b0751a9..5c8d760935 100644
Three unused macros were left over. Remove them.
Signed-off-by: Christophe Leroy
---
board/cssi/cmpcpro/cmpcpro.c | 5 -
1 file changed, 5 deletions(-)
diff --git a/board/cssi/cmpcpro/cmpcpro.c b/board/cssi/cmpcpro/cmpcpro.c
index 3e9ba6a4cc..8a30c48e35 100644
---
A duplicated FPGA loading sequence appears after FPGA reset.
Remove it.
Fixes: dac3c6f625 ("board: cssi: Add new board MCR3000_2G")
Signed-off-by: Christophe Leroy
---
board/cssi/cmpc885/cmpc885.c | 14 --
1 file changed, 14 deletions(-)
diff --git a/board/cssi/cmpc885/cmpc885.c
Instead of inhibiting parameter RAM relacation, take
into account the configured one.
It means INIT_TRX command cannot be used and must be done
manually as explained in the microcode patch application note.
Signed-off-by: Christophe Leroy
---
drivers/serial/serial_mpc8xx.c | 22
sparse reports the following warning:
CHECK arch/powerpc/cpu/mpc8xx/micropatch_usb_sof.c
arch/powerpc/cpu/mpc8xx/micropatch_usb_sof.c:29:9: warning: cast removes
address space '' of expression
arch/powerpc/cpu/mpc8xx/micropatch_usb_sof.c:30:9: warning: cast removes
address space '' of
With relocation, CPM parameter RAM can be anywhere in the
dual port RAM, so don't split dual port RAM.
Remove dparam and dparam16 members of struct comm_proc
PROFF_XXX become offsets from the start of dual port RAM,
then they are now consistant with the offsets in RPBASE
registers.
Using SMC relocation microcode patch or USB-SOF microcode patch
will disable DPRAM memory from 0x2000 to 0x2400 and from 0x2f00
to 0x3000.
At the time being, init RAM is setup to use 0x2800-0x2e00, but
the stack pointer goes beyond 0x2800 and even beyond 0x2400.
For the time being we are not
When CMPC885 board is used for MIAE device, SCC2 SCC3 and SMC2
are used for serial lines. Therefore only SCC4 is available for
handling the TDM line.
In order to use SCC4 in QMC mode without loosing SMC2, SMC2
must be relocated.
Activate SMC relocation and relocate SMC2 at offset 0x1fc0 which
is
This series adds misc fixes for cssi boards and activates
CPM relocation in order to enable the use of SCC4 in
QMC (QUICC Multi-Channel) mode.
Changes in v2:
- Patch 5: Update r1 at once (From Joakim)
- Patch 6: New to avoid sparse warnings with memcpy_toio()
- Patch 7 and 8: Fixed sparse
A lot of errors are encountered when building with sparse checking
activated (make C=1 or make C=2).
Many of them are fixed in Linux.
Resynchronise Makefile and include/linux/build_bug.h with Linux
kernel sources by porting the following Linux commits into u-boot:
- 6c49f359ca14 ("kbuild:
Signed-off-by: Maxim Uvarov
---
.gitignore | 3 +
include/net.h | 2 +-
lib/Kconfig| 2 +
lib/Makefile | 2 +
lib/lwip/Kconfig | 12 +
lib/lwip/Makefile
Intend of RFC is to show how we can reuse existance lwip apps
and examples inside u-boot. This commit shows how to do that with
minimal changes.
Signed-off-by: Maxim Uvarov
---
.gitignore| 2 +
doc/README.lwip | 34
lib/lwip/Makefile
Add doc with size calculation accoding to original u-boot.
Signed-off-by: Maxim Uvarov
---
doc/README.lwip.size | 291 +++
1 file changed, 291 insertions(+)
create mode 100644 doc/README.lwip.size
diff --git a/doc/README.lwip.size b/doc/README.lwip.size
Signed-off-by: Maxim Uvarov
---
doc/README.lwip | 56 +
1 file changed, 56 insertions(+)
create mode 100644 doc/README.lwip
diff --git a/doc/README.lwip b/doc/README.lwip
new file mode 100644
index 00..df3462ca1b
--- /dev/null
+++
Signed-off-by: Maxim Uvarov
---
.gitmodules| 3 +++
lib/lwip/lwip-external | 1 +
2 files changed, 4 insertions(+)
create mode 100644 .gitmodules
create mode 16 lib/lwip/lwip-external
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 00..afc709af10
---
Greetings,
This RFC patchset is an attempt to try to use an already existing IP network
stack inside U-boot.
U-Boot recently got basic TCP/IP support, implementing wget, but in order to
get a full IP stack
with new features (e.g ipv6), it would be preferable to use an established
embedded ip
+cc Tom and Simon at least on the cover letter so they can take a peek
On Fri, 5 May 2023 at 13:25, Maxim Uvarov wrote:
>
> Greetings,
>
> This RFC patchset is an attempt to try to use an already existing IP network
> stack inside U-boot.
> U-Boot recently got basic TCP/IP support, implementing
Signed-off-by: Manorit Chawdhry
---
Changes in v2:
- Change the series fundamentally as the previous patch seemed to break
linux boot
- Link to v1:
https://lore.kernel.org/r/20230418-b4-upstream-j721s2-bg-fwl-fix-v1-1-7d42d1c1d...@ti.com
---
Manorit Chawdhry (2):
Revert "arm: mach-k3:
K3 devices have some firewalls set up by ROM that we usually remove so
that the development is easy in HS devices.
While removing the firewalls disabling a background region before
disabling the foreground regions keeps the firewall in a state where all
the transactions will be blacklisted until
This reverts commit b8ebf24e7f4afb5093a31bdf122e1ed0781e5c3c.
This patch seems to be fundamentally wrong and requires a different way
on how the background firewalls should be configured so revert the patch
Signed-off-by: Manorit Chawdhry
---
arch/arm/mach-k3/common.c | 5 +
Hi Stefano, Fabio
Do you have time to give a look? Is there a chance to for this patchset
landed in 2023.07?
Thanks,
Peng
On 4/28/2023 12:08 PM, Peng Fan (OSS) wrote:
From: Peng Fan
This patchset includes updates mainly for i.MX9, such as Clock, Memory,
Parts, Low drive mode, DDR, cpu
From: Sinthu Raja
Pin-mux nodes should not be present in the R5 dts file; instead, they
should be inherited from the board dts file. To enable/override the
appropriate configurations, remove the pinmux nodes from am68-sk-r5 dts
and inherit the nodes from board dts.
Signed-off-by: Sinthu Raja
On 5/4/23 17:19, Rob Herring wrote:
On Thu, May 4, 2023 at 9:01 AM Jassi Brar wrote:
On Thu, 4 May 2023 at 07:08, Ilias Apalodimas
wrote:
[...]
I'm assuming it's per partition type rather than storage medium (e.g.
SATA, USB, SD, NAND, SPI-NOR)? GPT, 'fixed-partitions', other DT
On Thu, 4 May 2023 20:56:11 -0400
Tom Rini tr...@konsulko.com wrote:
...
> > Can this be applied, please? We have rc1 out now so this should really
> > be in there by now.
> >
> > I have another series that depends on it, and it is also pending
> > application.
>
> Anatolij ?
Done. My
Le 04/05/2023 à 21:55, Tom Rini a écrit :
> On Thu, May 04, 2023 at 05:32:12PM +, Christophe Leroy wrote:
>>
>>
>> Le 04/05/2023 à 19:22, Christophe Leroy a écrit :
>>>
>>>
>>> Le 04/05/2023 à 15:54, Tom Rini a écrit :
On Thu, May 04, 2023 at 06:15:13AM +, Christophe Leroy wrote:
Hi Simon,
On Thu, 4 May 2023 18:40:56 -0600
Simon Glass s...@chromium.org wrote:
...
> Can this be applied, please? We have rc1 out now so this should really
> be in there by now.
>
> I have another series that depends on it, and it is also pending application.
Series applied to u-boot-video
Hi Tom,
please pull video updates for v2023.07-rc2.
CI: https://source.denx.de/u-boot/custodians/u-boot-video/-/pipelines/16257
Thanks,
Anatolij
The following changes since commit b646e1f69fca5d6a002be1f4e32fab00e140c091:
patman: Declare the future Series memory (2023-04-23 14:24:41 -0400)
Hi Simon,
U-Boot can't start with boot script boot.scr, if BOOTSTD_DEFAULT is set. With
this setting "bootflow scan -lb" is not supported.
Booting with extlinux.conf works somehow.
= Bootlog ===
U-Boot 2023.04-01135-g4ea415461d-dirty (May 05
Move the handler for "tlv_eeprom dev X" command to the beginning of
do_tlv_eeprom, to allow using it before issuing a "read" command for
currently selected eeprom.
Also remove the check if eeprom exists, since that can only work after
the first execution of read_eeprom triggered device lookup.
has_been_read is only used as an optimization for do_tlv_eeprom.
Explicitly use and set inside this function, thus making read_eeprom
stateless.
Signed-off-by: Josua Mayer
Reviewed-by: Stefan Roese
Cc: Stefan Roese
Cc: Baruch Siach
Cc: Heinrich Schuchardt
---
cmd/tlv_eeprom.c | 21
When tlv eeprom does not exist, return error code instead of quietly
making up tlv structure in memory.
Signed-off-by: Josua Mayer
Reviewed-by: Stefan Roese
Cc: Stefan Roese
Cc: Baruch Siach
Cc: Heinrich Schuchardt
---
cmd/tlv_eeprom.c | 22 --
1 file changed, 16
Make tlv_eeprom command device selection an explicit parameter of all
function calls.
Signed-off-by: Josua Mayer
Cc: Stefan Roese
Cc: Baruch Siach
Cc: Heinrich Schuchardt
---
cmd/tlv_eeprom.c | 50 ++--
include/tlv_eeprom.h | 3 ++-
2 files
This patch-set removes some uses of global variables, and improves error
reporting for the "read" command.
It is intended to help switching to a split tlv library eventually,
but general enough to apply independently.
Changes since v1:
- rebased on master 0160d58
- added first patch!!! I had
Hi Stefan,
Thanks for reviewing. I just rebased on
https://source.denx.de/u-boot/u-boot.git / master,
and will send new version soon.
- Josua Mayer
Am 03.05.23 um 09:55 schrieb Stefan Roese:
Hi Josua,
On 4/29/23 11:15, Josua Mayer wrote:
has_been_read is only used as an optimization for
Add a link from to the generic one to allow
things like ubifs to be built. This can be extended with
riscv AMO ops at a later date.
Signed-off-by: Ben Dooks
---
arch/riscv/include/asm/atomic.h | 14 ++
1 file changed, 14 insertions(+)
create mode 100644
These seem to be missing, and trying to build ubifs without them
is causing errors due to these being missing.
Signed-off-by: Ben Dooks
---
arch/riscv/include/asm/bitops.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/riscv/include/asm/bitops.h b/arch/riscv/include/asm/bitops.h
Add implementations of the local_irq_{save,restore} macros so that
can be used with riscv.
Signed-off-by: Ben Dooks
---
arch/riscv/include/asm/system.h | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/arch/riscv/include/asm/system.h
Fix misisng atomic and test_and_{set,clear}_bit macros to allow
the ubi/ubifs code to be built for riscv. These are fairly simple
but are not being used outside of ubifs on our builds.
Ben Dooks (3):
riscv: add generic link for
riscv: implement local_irq_{save,restore} macros
riscv: define
On 05/05/23 04:28, Simon Glass wrote:
It is useful to see the base of the malloc region. This is visible when
debugging but not in normal usage.
Add it to the global data so that it can be shown.
Signed-off-by: Simon Glass
---
(no changes since v1)
cmd/bdinfo.c | 1 +
On 05/05/23 04:27, Simon Glass wrote:
These are useful pieces of information when debugging. The RAM top shows
where U-Boot started allocating memory from, before it relocated. The
stack pointer can be checked to ensure it is in the correct region.
Signed-off-by: Simon Glass
---
(no changes
On 24/04/2023 20:01, Igor Prusov wrote:
The AD401 board is the Amlogic A1 SoC reference board
Signed-off-by: Igor Prusov
---
MAINTAINERS | 1 +
arch/arm/mach-meson/Kconfig | 1 +
board/amlogic/ad401/Makefile | 4 +++
board/amlogic/ad401/ad401.c | 15 ++
On 24/04/2023 20:01, Igor Prusov wrote:
Based on Linux kernel commit:
dabad1ff85611 (pinctrl: meson: add pinctrl driver support for Meson-A1 SoC)
Signed-off-by: Igor Prusov
---
drivers/pinctrl/meson/Kconfig| 4 +
drivers/pinctrl/meson/Makefile | 1 +
On 24/04/2023 20:01, Igor Prusov wrote:
Add support for Amlogic A1 SoC family.
Signed-off-by: Igor Prusov
Signed-off-by: Evgeny Bachinin
---
arch/arm/include/asm/arch-meson/a1.h | 20 ++
arch/arm/mach-meson/Kconfig | 6 +++
arch/arm/mach-meson/Makefile | 1 +
On 24/04/2023 20:01, Igor Prusov wrote:
Add meson-a1-ad401.dts file from Linux 6.3-rc7
Signed-off-by: Igor Prusov
---
arch/arm/dts/Makefile | 1 +
arch/arm/dts/meson-a1-ad401.dts | 30 ++
2 files changed, 31 insertions(+)
create mode 100644
On 24/04/2023 20:01, Igor Prusov wrote:
Import Linux 6.3-rc7 Device tree and necessary bindings for Amlogic A1
board from 6a8f57ae2eb0 ("Linux 6.3-rc7").
Signed-off-by: Igor Prusov
---
arch/arm/dts/meson-a1.dtsi | 161 +++
78 matches
Mail list logo