Patchset is based on patchset for Linux (today merged to nand-next):
https://lore.kernel.org/linux-mtd/20240507230903.3399594-1-avkras...@salutedevices.com/
Here is description from it:
> Amlogic's boot ROM code needs that some pages on NAND must be written
> in special "short" ECC mode with
Based on Linux kernel:
commit f922bd798bb9 ("mtd: rawnand: add an option to specify NAND chip as a
boot device")
Allow to define a NAND chip as a boot device. This can be helpful
for the selection of the ECC algorithm and strength in case the boot
ROM supports only a subset of controller provided
Move call 'meson_nfc_cmd_seed()' and check for 'NAND_NEED_SCRAMBLING'
to 'meson_nfc_cmd_access()', thus removing code duplication.
Signed-off-by: Arseniy Krasnov
---
drivers/mtd/nand/raw/meson_nand.c | 30 --
1 file changed, 12 insertions(+), 18 deletions(-)
diff --g
Boot ROM on Meson needs some pages to be read/written in a special mode:
384 byte ECC mode (so called "short" by Amlogic) and with scrambling
enabled. Such pages are located on the chip in the following way (for
example):
[ p0 ][ p1 ][ p2 ][ p3 ][ p4 ][ p5 ][ p6 ][ p7 ] ... [ pN ]
^ ^
On 6/27/24 17:49, Tom Rini wrote:
In commit 340fdf1303dc ("zlib: Port fix for CVE-2016-9841 to U-Boot")
Michal brings in (correctly) the upstream fix for CVE-2016-9841.
However, when upstream was fixing this issue they also removed a
necessary optimization for some CPU classes as part of simpl
Hi Marek,
On 7/7/24 2:29 AM, Marek Vasut wrote:
On 7/1/24 10:42 AM, Quentin Schulz wrote:
Hi Marek,
Hi,
Shouldn't this rather be in /config node?
This is what I had there originally, but then I realized that some
DTs might not have the /config node in them (or am I mistaken?), so
I move
From: Alexander Sverdlin
eth_env_set_enetaddr_by_index() declaration is duplicated in eth_internal.h
and net.h, but all units including eth_internal.h already include net.h.
Remove the superfluous declaration.
Signed-off-by: Alexander Sverdlin
---
net/eth_internal.h | 16
1 fi
Enable setting speed mode using mmc dev commands.
The speed mode is provided as the last argument in these commands
(ex: mmc dev 0 0 10) and is indicated using the index from enum
bus_mode in include/mmc.h. A speed mode can be set if it is enabled
from device tree or from capabilities register
Sig
On 8.07.2024 08:32, Miquel Raynal wrote:
zaj...@gmail.com wrote on Sat, 6 Jul 2024 00:58:21 +0200:
From: Rafał Miłecki
U-Boot environment variables can be stored in various data sources. MTD
is just one of available options. Refactor DT binding into a layout so
it can be used with UBI volume
Hi Sumit,
Sorry for the late response.
In general, I'd rather keep this port closer to the Linux original, so
that future cherry-picking of new features and fixes is easier. This is
quite standard practice in U-Boot (and why the compatibility macro's are
included in the first place).
Otherw
This series introduces support for the RPMh (Resource Power Manager
(hardened)) co-processor and associated regulator driver found on most
modern Qualcomm platforms (since ~2017).
Even though most regulators are controlled via SPMI, the specific
regions on the PMICs for controlling the regulators
Import this function from Linux.
Signed-off-by: Caleb Connolly
---
include/linux/bitmap.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h
index 0a8503af9f14..40ca2212cb40 100644
--- a/include/linux/bitmap.h
+++ b/include/linux/bitmap.h
Add a regulator driver for controlling the PMIC rails via the RPMh on
Qualcomm platforms. This driver is restricted to only know about rails
which are required by u-boot.
Signed-off-by: Caleb Connolly
---
drivers/power/regulator/Kconfig | 8 +
drivers/power/regulator/Makefile
Introduce two Qualcomm SoC drivers, the RPMh and cmd-db. RPMh is a the
name for the second generation Resource Power Management hub on Qualcomm
SoCs. Most core regulators have to be controlled via this hub.
The cmd-db is a region of memory which contains offsets and data about
how to communicate w
Enable RPMh, cmd-db, and RPMh regulators. Additionally enable
CMD_REGULATOR for debugging.
Signed-off-by: Caleb Connolly
---
configs/qcom_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index 60a8e38cc6bb..8a55bb9af708 100644
---
On Sat, 6 Jul 2024 at 01:18, Tom Rini wrote:
>
> On Thu, Jul 04, 2024 at 01:05:12PM +0530, Sughosh Ganu wrote:
>
> > Add separate config symbols for enabling the LMB module for the SPL
> > phase. The LMB module implementation now relies on alloced list data
> > structure which requires heap area t
Do not apply bitwise AND to register value and expected value, only
apply bitwise AND to register value and mask, and only then compare
the result with expected value that the function polls for.
Fixes: b49105320a5b ("stm32mp: psci: Implement PSCI system suspend and DRAM
SSR")
Signed-off-by: Mare
nvboot; bootflow scan -lb"
CONFIG_BOARD_LATE_INIT=y
CONFIG_SPL_MAX_SIZE=0x58000
---
base-commit: fd46ea0e701920eb205c2bce9d527bf0dec10b59
change-id: 20240708-remove-bootm-len-ab4e46039656
Best regards,
--
Kamlesh Gurudasani
On Fri, Jun 07, 2024 at 10:41:17AM +0200, Heinrich Schuchardt wrote:
> The firmware invoking main U-Boot uses
>
> * a0 to pass the boot hart
> * a1 to pass a device-tree
>
> Let the bdinfo command print this information, e.g.
>
> boot hart = 0x001b
> firmware fdt= 0x000
On Wed, Jun 19, 2024 at 05:22:52PM +0200, Heinrich Schuchardt wrote:
> Commit 7400d34ba992 ("riscv: semihosting: replace inline assembly with
> assembly file") reduced the alignment of function smh_trap().
>
> As described in the "RISC-V Semihosting" specification [1] the ssli,
> ebreak, and srai
On Mon, Jun 24, 2024 at 11:46:58AM +0200, Andreas Schwab wrote:
> Fixes: 44a792c994 ("riscv: sifive: unmatched: migrate to text environment")
> Signed-off-by: Andreas Schwab
> ---
> board/sifive/unmatched/unmatched.env | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Leo Yu-C
ry about
having multiple transactions in flight at once.
---
Changes in v3:
- Don't call dm_scan_fdt_dev(), since DM core will scan.
- Link to v2:
https://lore.kernel.org/r/20240708-b4-qcom-rpmh-v2-0-8bc765606...@linaro.org
Changes in v2:
- Implement Neil's suggestions and fixes for SM8[
Import this function from Linux.
Signed-off-by: Caleb Connolly
---
include/linux/bitmap.h | 8
1 file changed, 8 insertions(+)
diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h
index 0a8503af9f14..40ca2212cb40 100644
--- a/include/linux/bitmap.h
+++ b/include/linux/bitmap.h
Add a regulator driver for controlling the PMIC rails via the RPMh on
Qualcomm platforms. This driver is restricted to only know about rails
which are required by u-boot.
Signed-off-by: Caleb Connolly
---
drivers/power/regulator/Kconfig | 8 +
drivers/power/regulator/Makefile
Enable RPMh, cmd-db, and RPMh regulators. Additionally enable
CMD_REGULATOR for debugging.
Signed-off-by: Caleb Connolly
---
configs/qcom_defconfig | 5 +
1 file changed, 5 insertions(+)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index 60a8e38cc6bb..8a55bb9af708 100644
---
Introduce two Qualcomm SoC drivers, the RPMh and cmd-db. RPMh is a the
name for the second generation Resource Power Management hub on Qualcomm
SoCs. Most core regulators have to be controlled via this hub.
The cmd-db is a region of memory which contains offsets and data about
how to communicate w
---
drivers/soc/qcom/rpmh-rsc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/qcom/rpmh-rsc.c b/drivers/soc/qcom/rpmh-rsc.c
index 1f8428c415a1..30756a32d590 100644
--- a/drivers/soc/qcom/rpmh-rsc.c
+++ b/drivers/soc/qcom/rpmh-rsc.c
@@ -549,9 +549,9 @@ static int r
Add support of Aspeed AST2700 SoC. AST2700 is based on ARM64 so modify
the DMA address related code to fit both ARM and ARM64. Besides, the
RMII/RGMII mode control register is moved from SCU500 to MAC50 so
initialize the register in ftgmac100_start correspondingly.
Signed-off-by: Jacky Chou
---
Add a UCLASS_SOUND driver for Texas Instruments SoCs which ties together
the tlv320aic3106 audio codec and MCASP I2S controller. Enable audio
playback functionality by taking a data pointer and data size as the
sound data. The uboot sound play command takes time and frequency as
input and creates t
This series enables audio playback over u-boot for TI AM62x SoC.
It ports MCASP driver which acts as I2S audio signal generator and
TLV320AIC3106 which converts the digital audio to analog.
Lastly, this also adds sound driver to complete the audio graph and enables
audio playback using u-boot comma
This patch adds driver for I2S interface for TI AM62x Soc.
Configure the MCASP [1] component with appropriate settings and
hardware parameters according to the audio data and devicetree.
Set up the MCASP pins and fill the transmit buffers. The driver
uses polling method to transfer data to the code
Update the am625-sk-u-boot device tree to incorporate the sound card and
sound drivers: MCASP and TLV320AIC3106 Codec
Signed-off-by: Scaria Kochidanadu
---
arch/arm/dts/k3-am625-sk-u-boot.dtsi | 85
1 file changed, 85 insertions(+)
diff --git a/arch/arm/dts/k3-am625
Add the tlv320aic3106 codec and sound driver in the defconfig, and
enable the sound commands in Uboot. Also enable the I2C communication
for transfer to and from the codec.
Signed-off-by: Scaria Kochidanadu
---
configs/am62x_evm_a53_defconfig | 9 +
1 file changed, 9 insertions(+)
diff
Add function macro for_each_set_bit_from(), an extension to the already
existing function macro for_each_set_bit() to iterate through set bits
of a variable from a given bit index as required by the MCASP Driver.
Signed-off-by: Scaria Kochidanadu
---
include/linux/bitmap.h | 5 +
1 file chan
This patch adds driver for TLV320AIC3106 audio Codec.
Initialize and start the codec[1] with appropriate settings and
hardware parameters according to the audio data and the sound card
defined in the devicetree. The codec audio data bus is
programmable for I2S, DSP or TDM modes, and it also has a
Hello, ping.
On Wed, Jun 26, 2024 at 01:44:37PM +0300, Alexey Romanov wrote:
> Hello!
>
> This series adds support for the mtdblock device, which
> allows to read/write data block by block. For example,
> it can now be used for BCB or Android AB command:
>
> $ bcb load mtd 0 part_name
>
> Tes
Hello, ping.
On Wed, Jun 26, 2024 at 01:45:21PM +0300, Alexey Romanov wrote:
> Hello!
>
> This series adds support for the UBI block device, which
> allows to read/write data block by block. For example,
> it can now be used for BCB or Android AB command:
>
> $ bcb load ubi 0 part_name
>
> Te
On Mon, Jul 08, 2024 at 05:20:40PM +0530, Kamlesh Gurudasani wrote:
> Increase the maximum size of the buffer that is used to decompress
> the OS image in to.
>
> If image size is greater than the buffer, boot
> will fail with following error,
> "Error: inflate() returned -5"
> "gzip compressed:
On Thu, Jul 04, 2024 at 01:04:56PM +0530, Sughosh Ganu wrote:
> The aim of this patch series is to fix the current state of
> incoherence between modules when it comes to memory usage. The primary
> issue that this series is trying to fix is that the EFI memory module
> which is responsible for al
On Thu, Jul 04, 2024 at 01:05:14PM +0530, Sughosh Ganu wrote:
> Introduce a function lmb_add_memory() to add available memory to the
> LMB memory map. Call this function during board init once the LMB data
> structures have been initialised.
>
> Signed-off-by: Sughosh Ganu
> ---
> Changes since
On 5/30/24 06:47, Benjamin Schneider wrote:
Add support for a Marvell Armada 3720 device variant
Signed-off-by: Benjamin Schneider
Applied to u-boot-marvell/master
Thanks,
Stefan
---
Changes in v3:
- Fix typo in MAINTAINERS
board/Marvell/mvebu_armada-37xx/MAINTAINERS | 5 +
.../mv
On 6/6/24 02:12, Tony Dinh wrote:
The CONFIG_ENV_OFFSET is undefined if boot device is UART
(CONFIG_MVEBU_SPL_BOOT_DEVICE_UART), or envs are not stored on flash
(CONFIG_ENV_IS_NOWHERE). Check for CONFIG_ENV_IS_IN_SPI_FLASH as the first
condition to determine whether env_sf_get_env_addr() should b
On 6/11/24 23:42, Tony Dinh wrote:
Hi Dragan,
On Sun, Jun 9, 2024 at 6:07 PM Dragan Simic wrote:
Hello Tony,
Please see a few comments below.
On 2024-06-10 02:34, Tony Dinh wrote:
- Change the spi-max-frequency to 5000 (50 Mhz). According to the
data sheet[1], the MX25L3205D max freque
On 6/18/24 17:34, Marek Behún wrote:
Hi Stefan,
this is v2 of the series adds some changes to DDR3 training for Armada
38x and Turris Omnia.
I also put one unrelated patch (Fix ethernet PHY reset gpio FDT fixup)
here.
It depends on stuff in Tom's next branch.
Applied to u-boot-marvell/master
On 6/21/24 11:46, Robert Marko wrote:
Currently, Armada 8k config header is setting boot devices and including
regardless of the CONFIG_DISTRO_DEFAULTS being
enabled or not, thus populating the environment for distro boot even on
devices that have no need for it.
So, lets simply respect the val
Hi Tom,
please pull the following Marvell MVEBU related patches into master:
- Add mvebu_espressobin_ultra-88f3720_defconfig (Benjamin)
- Update DTS for Thecus N2350 board (Tony)
- Add "old" Marvell DDR3 training for Armada 38x and
On Thu, Jul 04, 2024 at 01:04:56PM +0530, Sughosh Ganu wrote:
> The aim of this patch series is to fix the current state of
> incoherence between modules when it comes to memory usage. The primary
> issue that this series is trying to fix is that the EFI memory module
> which is responsible for al
On Mon, Jul 08, 2024 at 05:06:45PM +0530, Sughosh Ganu wrote:
> On Sat, 6 Jul 2024 at 01:18, Tom Rini wrote:
> >
> > On Thu, Jul 04, 2024 at 01:05:12PM +0530, Sughosh Ganu wrote:
> >
> > > Add separate config symbols for enabling the LMB module for the SPL
> > > phase. The LMB module implementatio
As reported by GitHub dependabot, both of these packages should be
bumped to their latest versions to address security issues (neither of
which has a CVE assigned).
Reported-by: GitHub dependabot
Signed-off-by: Tom Rini
---
doc/sphinx/requirements.txt | 4 ++--
1 file changed, 2 insertions(+), 2
Hi Simon,
On 7/2/24 17:51, Simon Glass wrote:
Hi Michal,
I am seeing errors when building xilinx_zynqmp_virt:
Can't set hash 'value' property for 'hash' node(FDT_ERR_NOSPACE)
Can't set hash value for 'hash' hash node in 'fdt_35' image node
Can't add verification data for node 'fdt_35' ()
The
FIT documentation is now a separate project, instead of having a
duplicate, we should point at the other project.
Signed-off-by: Sam Povilus
---
doc/usage/fit/index.rst | 5 +-
doc/usage/fit/source_file_format.rst | 682 +--
2 files changed, 5 insertions(+)
add missing table of content links, make alphabetical
Signed-off-by: Sam Povilus
---
doc/usage/fit/index.rst | 21 ++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/doc/usage/fit/index.rst b/doc/usage/fit/index.rst
index af2e481212..ed28dc89ae 100644
--- a/doc
I'm proposing linking the FIT documentation instead of double book keeping it,
it does have the disadvantage of making it more difficult to see the
documentation especially if offline.
v2: update table of contents instead of removing
v3: remove duplicate entries, provide commit message
Sam Pov
On Mon, Jul 08, 2024 at 01:22:02PM +0530, Scaria Kochidanadu wrote:
> Add a UCLASS_SOUND driver for Texas Instruments SoCs which ties together
> the tlv320aic3106 audio codec and MCASP I2S controller. Enable audio
> playback functionality by taking a data pointer and data size as the
> sound data.
On Mon, Jul 08, 2024 at 01:22:05PM +0530, Scaria Kochidanadu wrote:
> Update the am625-sk-u-boot device tree to incorporate the sound card and
> sound drivers: MCASP and TLV320AIC3106 Codec
>
> Signed-off-by: Scaria Kochidanadu
> ---
> arch/arm/dts/k3-am625-sk-u-boot.dtsi | 85 +
On Mon, Jul 08, 2024 at 01:22:07PM +0530, Scaria Kochidanadu wrote:
> Add function macro for_each_set_bit_from(), an extension to the already
> existing function macro for_each_set_bit() to iterate through set bits
> of a variable from a given bit index as required by the MCASP Driver.
>
> Signed
On Mon, Jul 08, 2024 at 02:20:23PM +0200, Caleb Connolly wrote:
> Import this function from Linux.
>
> Signed-off-by: Caleb Connolly
Since I just told someone else this too, please note that tag you're
taking this from in the Linux Kernel, thanks.
--
Tom
signature.asc
Description: PGP signa
On 08.07.24 17:39, Sam Povilus wrote:
add missing table of content links, make alphabetical
Signed-off-by: Sam Povilus
---
doc/usage/fit/index.rst | 21 ++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/doc/usage/fit/index.rst b/doc/usage/fit/index.rst
inde
On 08.07.24 18:04, Heinrich Schuchardt wrote:
On 08.07.24 17:39, Sam Povilus wrote:
add missing table of content links, make alphabetical
Signed-off-by: Sam Povilus
---
doc/usage/fit/index.rst | 21 ++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/doc/usa
On 08.07.24 17:39, Sam Povilus wrote:
FIT documentation is now a separate project, instead of having a
duplicate, we should point at the other project.
Signed-off-by: Sam Povilus
---
doc/usage/fit/index.rst | 5 +-
doc/usage/fit/source_file_format.rst | 682 +--
I'm proposing linking the FIT documentation instead of double book keeping it,
it does have the disadvantage of making it more difficult to see the
documentation especially if offline.
v2: update table of contents instead of removing
v3: remove duplicate entries, provide commit message
v4: clea
add missing table of content links, make alphabetical
Signed-off-by: Sam Povilus
---
doc/usage/fit/index.rst | 21 +
1 file changed, 17 insertions(+), 4 deletions(-)
diff --git a/doc/usage/fit/index.rst b/doc/usage/fit/index.rst
index 52b7d90bbc..ceed452701 100644
--- a/doc/
FIT documentation is now a separate project, instead of having a
duplicate, we should point at the other project.
Signed-off-by: Sam Povilus
---
doc/usage/fit/index.rst | 4 +-
doc/usage/fit/source_file_format.rst | 682 +--
2 files changed, 5 insertions(+)
On Fri, 05 Jul 2024 14:34:07 -0600, Tom Rini wrote:
> There are operations in buildman that result in running the cross-tools
> (such as performing size checks) and now that we have not modified PATH
> to know where our tools are, these operations fail.
>
> This reverts commit 6c0a3cf75f72370deec
On Sat, Jul 06, 2024 at 05:45:22PM +0200, Marek Vasut wrote:
> This is for master branch .
>
> The following changes since commit 1ebd659cf020843fd8e8ef90d85a66941cbab6ec:
>
> Merge tag 'u-boot-dfu-20240606' of
> https://source.denx.de/u-boot/custodians/u-boot-dfu (2024-06-06 08:24:15
> -060
On Sat, Jul 06, 2024 at 05:46:39PM +0200, Marek Vasut wrote:
> The following changes since commit fd46ea0e701920eb205c2bce9d527bf0dec10b59:
>
> Merge branch '2024-07-05-assorted-updates' (2024-07-05 16:36:43 -0600)
>
> are available in the Git repository at:
>
> git://source.denx.de/u-boot-
On Sat, Jul 06, 2024 at 05:45:47PM -0300, Fabio Estevam wrote:
> Hi Tom,
>
> Please pull from u-boot-imx/master, thanks.
>
> The following changes since commit fd46ea0e701920eb205c2bce9d527bf0dec10b59:
>
> Merge branch '2024-07-05-assorted-updates' (2024-07-05 16:36:43 -0600)
>
> are availab
On Mon, Jul 08, 2024 at 04:22:52PM +0200, Stefan Roese wrote:
> Hi Tom,
>
> please pull the following Marvell MVEBU related patches into master:
>
Applied to u-boot/master, thanks!
--
Tom
signature.asc
Description: PGP signature
On Mon, 24 Jun 2024 23:03:26 +0200, Christian Marangi wrote:
> This is an initial series that have all the initial trivial
> fixes required for usage of OF_UPSTREAM for the mediatek SoC
>
> This also contains the pcie-gen3 driver and the required tphy
> support driver to make it work.
>
> Subseq
On Thu, Jun 27, 2024 at 9:42 AM Tom Rini wrote:
>
> On Wed, Jun 26, 2024 at 10:12:12PM +0530, Anand Moon wrote:
> > Hi Sam,
> >
> > On Wed, 19 Jun 2024 at 02:26, Sam Protsenko
> > wrote:
> > >
> > > If there are no new comments on this series, can you please apply it?
> > >
> > > Thanks!
> >
> >
Instead of cluttering up a header file with a bunch of defines,
move the default environmental variables to a file called
am3517evm.env and reference it from the defconfig. Also
remove dead comments.
Signed-off-by: Adam Ford
diff --git a/board/logicpd/am3517evm/am3517evm.env
b/board/logicpd/am
Enabled the default utilization of the NFS command on ZynqMP Kria
platforms to facilitate booting images through the network using
the NFS protocol.
Signed-off-by: Prasad Kummari
---
configs/xilinx_zynqmp_kria_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/xilinx_zynqmp_kr
Hi Kamlesh,
On 17:20-20240708, Kamlesh Gurudasani wrote:
> Increase the maximum size of the buffer that is used to decompress
> the OS image in to.
>
> If image size is greater than the buffer, boot
> will fail with following error,
> "Error: inflate() returned -5"
&g
Hi Caleb,
On Mon, 8 Jul 2024 at 16:13, Caleb Connolly wrote:
>
> Hi Sumit,
>
> Sorry for the late response.
>
> In general, I'd rather keep this port closer to the Linux original, so
> that future cherry-picking of new features and fixes is easier. This is
> quite standard practice in U-Boot (and
Print clk name in clk_enable and clk_disable. Make sense to know
what clock get disabled/enabled before a system crash or system
hang.
Signed-off-by: Michael Trimarchi
---
drivers/clk/clk-uclass.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/clk/clk-uclass.c b/
On 7/9/24 06:22, Prasad Kummari wrote:
Enabled the default utilization of the NFS command on ZynqMP Kria
platforms to facilitate booting images through the network using
the NFS protocol.
Signed-off-by: Prasad Kummari
---
configs/xilinx_zynqmp_kria_defconfig | 1 +
1 file changed, 1 inser
Hello Daniel,
On Sun, 2024-07-07 at 23:07 -0700, Daniel Schultz wrote:
> Add a new environment routine to apply extensions. Our SOM detection
> adds overlays via the extension framework to alter the kernel
> device-tree according to the flashed EEPROM image.
>
> Signed-off-by: Daniel Schultz
> -
77 matches
Mail list logo