Add USB related files to Starfive visionfive2 MAINTAINERS.
Signed-off-by: Minda Chen
Reviewed-by: Marek Vasut
---
board/starfive/visionfive2/MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/board/starfive/visionfive2/MAINTAINERS
b/board/starfive/visionfive2/MAINTAINERS
index d
Add cadence USB confiuration.
Signed-off-by: Minda Chen
---
configs/starfive_visionfive2_defconfig | 9 +
1 file changed, 9 insertions(+)
diff --git a/configs/starfive_visionfive2_defconfig
b/configs/starfive_visionfive2_defconfig
index 174ac24dc7..35137eec59 100644
--- a/configs/starf
Add Jh7110 Cadence USB dts node, Visionfive2 default setting
is USB 2.0 device.
Signed-off-by: Minda Chen
---
.../dts/jh7110-starfive-visionfive-2.dtsi | 5 ++
arch/riscv/dts/jh7110.dtsi| 52 +++
2 files changed, 57 insertions(+)
diff --git a/arch/riscv/
For some JH7110 boards, USB host overcurent pin is not reserved,
To make USB host work, overcurrent pin must be disabled. So set the
pin default disabled.
Signed-off-by: Minda Chen
---
drivers/pinctrl/starfive/pinctrl-jh7110-sys.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
Add cdns USB3 wrapper driver.
Signed-off-by: Minda Chen
---
drivers/usb/cdns3/Kconfig | 7 ++
drivers/usb/cdns3/Makefile | 2 +
drivers/usb/cdns3/cdns3-starfive.c | 191 +
3 files changed, 200 insertions(+)
create mode 100644 drivers/usb/cdns3/cd
Add Starfive JH7110 PCIe 2.0 PHY driver, which is generic
PHY driver and can be used as USB 3.0 driver.
Signed-off-by: Minda Chen
---
drivers/phy/starfive/Kconfig | 7 +
drivers/phy/starfive/Makefile | 1 +
drivers/phy/starfive/phy-jh7110-pcie.c | 237 +
Add Starfive JH7110 USB 2.0 PHY driver, which is generic
PHY driver.
Signed-off-by: Minda Chen
Reviewed-by: Roger Quadros
---
drivers/phy/Kconfig| 1 +
drivers/phy/Makefile | 1 +
drivers/phy/starfive/Kconfig | 14 +++
drivers/phy/starfive/Ma
USB PHY maybe need to set PHY mode in different USB
dr mode. So translate USB PHY mode to generic PHY mode
and call generic_phy_set_mode().
Signed-off-by: Minda Chen
---
drivers/usb/cdns3/drd.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/drivers/usb/cdns3/drd.c b/drivers/
Add Starfive JH7110 Cadence USB driver and related PHY driver.
So the codes can be used in visionfive2 and star64 7110 board.
The driver is almost the same with kernel driver.
Test with Star64 JH7110 board USB 3.0 + USB 2.0 host.
The code can work.
- Star64 using USB 3.0 and USB 2.0 host must ad
>
> On 7/4/24 07:50, Minda Chen wrote:
> > Add Starfive JH7110 Cadence USB driver and related PHY driver.
> > So the codes can be used in visionfive2 and star64 7110 board.
> >
> > The driver is almost the same with kernel driver.
> >
> > Test with Star64 JH7110 board USB 3.0 + USB 2.0 host.
> >
>
>
>
> On 04/07/2024 08:50, Minda Chen wrote:
> > Add Starfive JH7110 PCIe 2.0 PHY driver, which is generic PHY driver
> > and can be used as USB 3.0 driver.
> >
> > Signed-off-by: Minda Chen
> > ---
> > drivers/phy/starfive/Kconfig | 7 +
> > drivers/phy/starfive/Makefile
On 7/18/24 09:28, Sean Anderson wrote:
On 7/13/24 03:00, Simon Glass wrote:
Enable this option for all sandbox boards so that the FIT-loading code
can be used without generating an error about block devices not being
supported.
Signed-off-by: Simon Glass
---
(no changes since v1)
common/sp
On Wed, 10 Jul 2024 10:40:01 +0200, Mattijs Korpershoek wrote:
> Android boot flow is a bit different than a regular Linux distro.
> Android relies on multiple partitions in order to boot.
>
> A typical boot flow would be:
> 1. Parse the Bootloader Control Block (BCB, misc partition)
> 2. If BCB
On Wed, 10 Jul 2024 09:16:07 +0200, Rasmus Villemoes wrote:
> This is a followup to the patches that landed in 2024.01 and nearly
> made sure that source files for producing .dtbo files use the .dtso
> extension. In the same release, a few new .dts files snuck in, and
> there was also some test co
On 10/07/2024 09:28, Alexander Dahl wrote:
> Despite the missing space between 'if' and the opening bracket (checkpatch
> should have told you?) this looks very much like what got into linux with
> v4.11
> but was changed/reworked multiple times afterwards. I wonder why this was
> not ported to
20e0f0897ea2 Merge tag 'v6.10-dts-raw'
9881d733059f Merge tag 'v6.10-rc7-dts-raw'
63c31204aa11 Merge tag 'sunxi-fixes-for-6.10' of
https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into arm/fixes
23e9298c3dde Merge tag 'qcom-drivers-fixes-for-6.10' of
https://git.kernel.org/pub/scm/linu
This series aims to remove some of the older contents of i2c.h so that
we can move towards having just the dm API.
It removes four boards which are getting in the way.
Simon Glass (20):
arm: Remove pg_wcom boards
i2c: Remove board_i2c_init()
i2c: Remove IC2_xxx enum
i2c: Remove CFG_I2C_M
If the maximum frequency is requested, we still fall into the CDR2
handling. But there the minimal divider is 2. For the sun6i and sun8i we
can do better with the CDR1 setting where the minimal divider is 1:
SPI_CLK = MOD_CLK / 2 ^ cdr with cdr = 0
Thus, handle the div = 1 case specially.
While
The CDR2 divider calculation always yield a frequency greater than the
requested one. Use DIV_ROUND_UP() to keep the frequency equal or below
the requested one. This way, we can also drop the "if div > 0" check
because we know for a fact that div cannot be zero.
FWIW, this aligns the CDR2 calculat
Hi Ilias,
On Wed, 3 Jul 2024 at 07:47, Ilias Apalodimas
wrote:
> On Tue, 2 Jul 2024 at 21:30, Raymond Mao wrote:
> >
> > Add porting layer for public key on top of MbedTLS X509 library.
> > Introduce _LEGACY and _MBEDTLS kconfigs for public key legacy and
> > MbedTLS implementations respectivel
On Sat, Jul 13, 2024 at 4:30 AM Heinrich Schuchardt
wrote:
>
> The auto-generated load options for media device do not contain a partition
> node. We cannot expect the simple file protocol here.
>
> Get the partition device-path via the loaded image protocol.
>
> Fixes: e91b68fd6b83 ("efi_loader:
Hi Ilias,
On Wed, 3 Jul 2024 at 07:35, Ilias Apalodimas
wrote:
> On Tue, 2 Jul 2024 at 21:27, Raymond Mao wrote:
> >
> > Add the mbedtls include directories into the build system.
> >
> > Signed-off-by: Raymond Mao
> > ---
> > Changes in v2
> > - None.
> > Changes in v3
> > - Remove changes fo
Hi Ilias,
On Wed, 3 Jul 2024 at 07:35, Ilias Apalodimas
wrote:
> On Tue, 2 Jul 2024 at 21:27, Raymond Mao wrote:
> >
> > Add the mbedtls include directories into the build system.
> >
> > Signed-off-by: Raymond Mao
> > ---
> > Changes in v2
> > - None.
> > Changes in v3
> > - Remove changes fo
Hi
On Thu, Jul 18, 2024 at 9:40 PM Zixun Li wrote:
>
> On 10/07/2024 09:28, Alexander Dahl wrote:
>
> > Despite the missing space between 'if' and the opening bracket (checkpatch
> > should have told you?) this looks very much like what got into linux with
> > v4.11
> > but was changed/reworked
Now that this is always 1, remove it and the associated dead code.
Signed-off-by: Simon Glass
---
README | 7 +--
drivers/i2c/i2c_core.c | 104 -
include/i2c.h | 35 --
3 files changed, 1 insertion(+), 145 deletions
Now that this is always 0, remove it and the associated dead code.
Signed-off-by: Simon Glass
---
README | 10 +-
cmd/i2c.c | 23 ---
drivers/i2c/i2c_core.c | 37 -
include/i2c.h | 7 ---
These functions are 11 years old and are not actually used by any board,
even though one board (cl-som-imx7) does enable CONFIG_PCA953X
Drop them.
Signed-off-by: Simon Glass
---
arch/mips/mach-octeon/octeon_fdt.c | 15 ---
include/i2c.h | 18 --
Only one board uses this option and it is very old. Let's drop it.
Signed-off-by: Simon Glass
---
include/configs/ethernut5.h | 3 ---
include/i2c.h | 14 --
2 files changed, 17 deletions(-)
diff --git a/include/configs/ethernut5.h b/include/configs/ethernut5.h
index
This is very old, predating even the legacy I2C support, so drop it.
Signed-off-by: Simon Glass
---
include/i2c.h | 7 ---
1 file changed, 7 deletions(-)
diff --git a/include/i2c.h b/include/i2c.h
index 1d1430b74a6..b6727bb2a73 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -947,13 +947
This is very old, predating even the legacy I2C support, so drop it.
Signed-off-by: Simon Glass
---
drivers/power/power_i2c.c | 5 -
include/i2c.h | 7 ---
2 files changed, 12 deletions(-)
diff --git a/drivers/power/power_i2c.c b/drivers/power/power_i2c.c
index a871fc41987.
This option is not defined by any board, so drop the code.
Signed-off-by: Simon Glass
---
arch/mips/mach-octeon/octeon_fdt.c | 7 ---
1 file changed, 7 deletions(-)
diff --git a/arch/mips/mach-octeon/octeon_fdt.c
b/arch/mips/mach-octeon/octeon_fdt.c
index c74fe9d9fb8..15ce292be95 100644
-
This is not now used by any boards, so drop it.
Signed-off-by: Simon Glass
---
doc/I2C_Edge_Conditions | 10 --
drivers/i2c/soft_i2c.c | 11 ---
2 files changed, 4 insertions(+), 17 deletions(-)
diff --git a/doc/I2C_Edge_Conditions b/doc/I2C_Edge_Conditions
index f4a99687011..
Drop use of this feature, but keep the board building. This will allow
removal of very old common I2C code.
Signed-off-by: Simon Glass
---
drivers/ddr/fsl/main.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/ddr/fsl/main.c b/drivers/ddr/fsl/main.c
index 31091bb44
Drop this old code to permit removal of legacy I2C code.
Signed-off-by: Simon Glass
---
board/keymile/Kconfig | 3 --
board/keymile/common/common.c | 69 ---
2 files changed, 72 deletions(-)
diff --git a/board/keymile/Kconfig b/board/keymile/Kconfig
ind
Drop two generations of old code in this command. All boards should use
driver model for I2C from 2021.
Signed-off-by: Simon Glass
---
cmd/date.c | 26 --
1 file changed, 26 deletions(-)
diff --git a/cmd/date.c b/cmd/date.c
index bdb3e199b43..8614f022761 100644
--- a/cm
This option is very old and the migration deadline was years ago. Drop
it so that the I2C system can be simplified.
Signed-off-by: Simon Glass
---
README| 5 -
cmd/date.c| 6 --
include/configs/ls1028aqds.h | 1 -
include/configs/ls1028ardb.h
These use pre-driver model code and it is several years since the
migration deadline. Disable the 'date' command so that this old code can
be removed.
Signed-off-by: Simon Glass
---
configs/MPC837XERDB_defconfig | 1 -
configs/ethernut5_defconfig | 1 -
configs/work_92105_defconfig | 1 -
3
These use pre-driver model code and it is several years since the
migration deadline. Disable the 'date' command so that this old code can
be removed.
Signed-off-by: Simon Glass
---
configs/mx28evk_defconfig | 1 -
configs/mx51evk_defconfig | 1 -
2 files changed, 2 deletions(-)
diff --git a/c
These boards use pre-driver model code and it is several years since the
migration deadline. Disable the 'date' command so that this old code can
be removed.
Signed-off-by: Simon Glass
---
configs/ls2080aqds_nand_defconfig | 1 -
configs/ls2080aqds_qspi_defconfig | 1 -
configs/ls2080ardb_nand_
This is used by a few boards but we are years past the migration date,
so let's drop it now.
Signed-off-by: Simon Glass
---
README | 7 ---
include/configs/omap3_beagle.h | 3 ---
include/configs/sniper.h | 14 --
include/configs/tqma6.h|
These boards use pre-driver model code and it is several years since the
migration deadline. Disable the 'date' command so that this old code can
be removed.
Signed-off-by: Simon Glass
---
configs/malta64_defconfig | 1 -
configs/malta64el_defconfig | 1 -
configs/malta_defconfig | 1 -
c
This is only used by devkit3250 which is being removed. Drop it.
Signed-off-by: Simon Glass
---
drivers/usb/host/ohci-lpc32xx.c | 4
include/i2c.h | 6 --
2 files changed, 10 deletions(-)
diff --git a/drivers/usb/host/ohci-lpc32xx.c b/drivers/usb/host/ohci-lpc32xx.c
These board has not been converted to CONFIG_DM_I2C by the deadline:
pg_wcom_expu1
pg_wcom_expu1_update
pg_wcom_seli8
pg_wcom_seli8_update
Remove them.
Signed-off-by: Simon Glass
---
arch/arm/dts/ls1021a-pg-wcom-expu1.dts| 141 ---
arch/arm/dts/ls1021a-pg-wcom-seli
This function is not used, so drop it.
Signed-off-by: Simon Glass
---
include/i2c.h | 8
1 file changed, 8 deletions(-)
diff --git a/include/i2c.h b/include/i2c.h
index 4e59009cd93..8d91b24b43b 100644
--- a/include/i2c.h
+++ b/include/i2c.h
@@ -972,14 +972,6 @@ enum {
I2C_8, I
urris_1x: Normalize Kconfig usage (2024-07-13 10:42:15 -0600)
>
> are available in the Git repository at:
>
> https://source.denx.de/u-boot/custodians/u-boot-rockchip.git
> tags/u-boot-rockchip-20240718
>
> for you to fetch changes up to e8b3f6c1018e1401bcc697a8aed8120061e4f189:
On Thu, 18 Jul 2024 10:28:37 +0200, Neil Armstrong wrote:
> Remove the leftover Amlogic GX/G12 bindings headers that
> maked the v6.10 upstream DT fail to build.
>
>
Applied to u-boot/master, thanks!
--
Tom
Hi Ye Li,
On Tue, Jul 2, 2024 at 6:09 AM Paul Geurts
wrote:
> > Thanks for confirm. I also cross checked with teams. 8MP must burn a
> > pattern. Otherwise HAB won't covert to field return.
>
> Okay, thanks for checking, I will wait for the details and make the necessary
> adjustments
Please l
Currently, there is an error when the i.MX93 CPU frequency is
read:
Could not read CPU frequency: -2
CPU: NXP i.MX93(52) Rev1.1 A55 at 0 MHz
Fix it by describing the A55 clock nodes in the devicetree, like done
on other i.MX SoCs.
With this change, the CPU frequency error is gone and it can be
Hi Ilias,
On Wed, 3 Jul 2024 at 04:56, Ilias Apalodimas
wrote:
> Hi Raymond
>
> On Tue, 2 Jul 2024 at 21:27, Raymond Mao wrote:
> >
> > Integrate common/hash.c on the hash shim layer so that hash APIs
> > from mbedtls can be leveraged by boot/image and efi_loader.
> >
> > Signed-off-by: Raymond
Hi Simon,
On Fri, 5 Jul 2024 at 04:36, Simon Glass wrote:
> Hi,
>
> On Wed, Jul 3, 2024, 09:56 Ilias Apalodimas
> wrote:
> >
> > Hi Raymond
> >
> > On Tue, 2 Jul 2024 at 21:27, Raymond Mao wrote:
> > >
> > > Integrate common/hash.c on the hash shim layer so that hash APIs
> > > from mbedtls ca
On Thu, Jul 18, 2024 at 10:23:21AM +0200, Heinrich Schuchardt wrote:
> On 16.07.24 21:08, Tom Rini wrote:
> > On Sat, Jul 13, 2024 at 09:40:17PM +0200, Heinrich Schuchardt wrote:
> > >
> > >
> > > Am 13. Juli 2024 10:12:50 MESZ schrieb Mark Kettenis
> > > :
> > > > > From: Simon Glass
> > > > >
On 13.07.24 09:00, Simon Glass wrote:
Universal Payload provides a standard way of handing off control between
two firmware phases. Add support for reading the handoff information into
a structure.
Signed-off-by: Simon Glass
---
(no changes since v1)
MAINTAINERS | 7 +
boot
On Wed, Jul 17, 2024 at 10:29:11PM +0800, Jiaxun Yang wrote:
> Hi all,
>
> This series build a new CI image based on Ubuntu focal with LoongArch64
> support, fixed various python scripts for python 3.12, fixed various
> problems popped up when testing againt latest software.
>
> Last two commits
On 7/13/24 03:00, Simon Glass wrote:
Add support for loading a UPL image from SPL. This uses the simple FIT
implementation, but also loads the full FIT just to permit more testing.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/sandbox/cpu/spl.c | 49 +
On 7/13/24 03:00, Simon Glass wrote:
This code is useful for loading an image in sandbox_spl so move it into
a place where it can be called as needed.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/sandbox/cpu/spl.c | 67 ++
arch/sandbox/i
On 7/13/24 03:00, Simon Glass wrote:
Specify the FIT and include information about each loaded image, as
required by the UPL handoff.
Write the UPL handoff into the bloblist before jumping to the next phase.
Control this using a runtime flag to avoid conflicting with other
handoff mechanisms.
On Wed, Jul 17, 2024 at 03:32:00PM -0300, Walter Lozano wrote:
>
>
> On 7/17/24 12:44, Tom Rini wrote:
> > On Wed, Jul 17, 2024 at 11:59:50AM +0100, Peter Robinson wrote:
> > > On Tue, 16 Jul 2024 at 18:21, Tom Rini wrote:
> > > >
> > > > On Tue, Jul 16, 2024 at 02:16:02PM -0300, Walter Lozano
On Wed, 10 Jul 2024 14:53:20 +0100, Levi Yun wrote:
> According to recently firmware handsoff spec [1]'s "Register usage at handoff
> boundary", Transfer List's signature value was changed from 0x40_b10b
> (3 bytes) to 4a0f_b10b (4 bytes).
>
> As updating of TL's signature, register value of x1/r
On Tue, 09 Jul 2024 17:07:09 -0600, Tom Rini wrote:
> A security issue exists with zipp before v3.19.1, and the current
> release is now v3.19.2. While the change in versions numbers is large, a
> manual inspection of the changelog shows that it's not as big as might
> be implied.
>
>
Applied t
On Tue, 09 Jul 2024 17:23:09 +0100, Leo Yan wrote:
> As described in the document SMC Calling Convention (ARM DEN 0028 1.5 F),
> section 7 "Arm Architecture Calls", the SMC call SMCCC_ARCH_FEATURES is
> not expected to support the function ID ARM_SMCCC_TRNG_VERSION. Trusted
> Firmware-A follows up
On Mon, 08 Jul 2024 21:38:57 -0500, Adam Ford wrote:
> 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.
>
>
Applied to u-boot/master, tha
On Sat, 06 Jul 2024 18:13:02 +0200, Christian Marangi wrote:
> Skip setting parent with dummy fixed-clock. Upstream linux might declare
> an additional clock for the mtk timer and that additional clock might
> also be a fixed-clock defined in DT. Setting parent of a dummy fixed-clock
> resulta in
On Wed, 03 Jul 2024 13:37:54 +0200, Vincent Stehlé wrote:
> This is a respin of this patch [1] after discussion [2]. Thanks to
> Simon and Heinrich for their reviews.
>
> To use the guidcmp() function, as suggested by Heinrich, we need to
> make it available to bootmeth_cros.c and I think that th
On Thu, 04 Jul 2024 16:49:32 +0100, Vitor Soares wrote:
> Enable USB host as well as USB gadget and DFU support for a53 and r5
> configs. Also, enable UUU fastboot support to download files with
> the UUU tool from a53.
>
> Additionally, configure usb0 to peripheral mode and add extra
> environme
On 7/13/24 03:00, Simon Glass wrote:
Enable this option for all sandbox boards so that the FIT-loading code
can be used without generating an error about block devices not being
supported.
Signed-off-by: Simon Glass
---
(no changes since v1)
common/spl/Kconfig | 1 +
1 file changed, 1 inse
A system has to support booting via the boot manager to be EBBR compliant.
See the reference to variables Boot in the specification.
Signed-off-by: Heinrich Schuchardt
---
lib/efi_loader/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconf
On 16:05-20240718, Dhruva Gole wrote:
> On Jul 17, 2024 at 13:47:19 -0500, Nishanth Menon wrote:
> > On 22:18-20240705, Dhruva Gole wrote:
> > > Add documentation to briefly explain the role of TIFS Stub in relevant
> > > K3 SoC's.
> > > This also sheds
On Jul 17, 2024 at 13:49:07 -0500, Nishanth Menon wrote:
> On 22:18-20240705, Dhruva Gole wrote:
> > This series includes the binman related changes required to package TIFS
> > Stub to support Low Power Modes on BeaglePlay.
> > It also documents the boot flow and tispl packaging details regarding
On Jul 17, 2024 at 13:47:19 -0500, Nishanth Menon wrote:
> On 22:18-20240705, Dhruva Gole wrote:
> > Add documentation to briefly explain the role of TIFS Stub in relevant
> > K3 SoC's.
> > This also sheds light on why TIFS Stub isn't package with the DM firmware
> > itself.
> >
> > Signed-off-by:
From: Manikanta Guntupalli
Add "rs485-rts-delay" property to uartps node with delay_rts_before_send
and delay_rts_after_send values as 10ms for rs485 mode on KD240.
10ms rts delay values have been chosen based on testing with rs485
temperature sensor (which is part of the kit) as safe minimum va
Add a flag to output the found list in a more user-friendly format, with
one board per line. Omit the board count.
This can be useful with grep, for example.
Signed-off-by: Simon Glass
---
Changes in v2:
- Add new patch to support a 'list' format
tools/qconfig.py | 14 ++
1 file c
There is no particular ordering of the board list at present, since it
is generated by a multi-threaded process. Sort them by name to make it
easier to see if a particular board is present.
Signed-off-by: Simon Glass
---
Changes in v2:
- Add a new patch to sort the boards by name when finding
Add basic support for searching for matching of non-matching values.
Signed-off-by: Simon Glass
Fixes: https://source.denx.de/u-boot/custodians/u-boot-dm/-/issues/20
---
Changes in v2:
- Drop debugging
doc/develop/qconfig.rst | 14 ++
tools/qconfig.py| 15 +++
This series improves the code a little by reducing the size of the
main() function. It also allows searching for CONFIG values.
Changes in v2:
- Drop debugging
- Add a new patch to sort the boards by name when finding
- Add new patch to support a 'list' format
Simon Glass (26):
qconfig: Fix pyl
On 16.07.24 21:08, Tom Rini wrote:
On Sat, Jul 13, 2024 at 09:40:17PM +0200, Heinrich Schuchardt wrote:
Am 13. Juli 2024 10:12:50 MESZ schrieb Mark Kettenis :
From: Simon Glass
Date: Sat, 13 Jul 2024 08:00:34 +0100
Universal Payload (UPL) is an Industry Standard for firmware
components[1].
Bind SPI-NAND driver to MTD block driver.
Reviewed-by: Frieder Schrempf
Signed-off-by: Alexey Romanov
---
drivers/mtd/nand/spi/core.c | 21 +
1 file changed, 21 insertions(+)
diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c
index ef50237f10..54a90ff295
MTD block - abstraction over MTD subsystem, allowing
to read and write in blocks using BLK UCLASS.
Signed-off-by: Alexey Romanov
---
drivers/block/blk-uclass.c | 1 +
drivers/mtd/Kconfig| 8 ++
drivers/mtd/Makefile | 1 +
drivers/mtd/mtdblock.c | 227 +
Add new MTD partition driver, which can be useful with
mtdblock driver combination.
Signed-off-by: Alexey Romanov
---
disk/part.c | 3 +-
drivers/mtd/Kconfig | 1 +
drivers/mtd/mtdpart.c | 76 +++
include/part.h| 3 ++
4 files change
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
Tested only on SPI NAND, so bind is made only for
SPI NAND drivers.
---
Changes V1 -> V2 [1]:
UBI block is virtual block device, which is an abstraction
over MTD layer. Therefore it is logical to use it in combination
with MTD drivers.
Signed-off-by: Alexey Romanov
Reviewed-by: Frieder Schrempf
---
drivers/mtd/nand/spi/core.c | 12 ++--
1 file changed, 10 insertions(+), 2 deleti
UBI partition is abstraction over UBI volumes.
Can be used by UBI block device.
Signed-off-by: Alexey Romanov
Reviewed-by: Heiko Schocher
---
drivers/mtd/ubi/Makefile | 2 +-
drivers/mtd/ubi/part.c | 99
include/part.h | 2 +
3 files change
UBI block is an virtual device, that runs on top
of the MTD layer. The blocks are UBI volumes.
Intended to be used in combination with other MTD
drivers.
Despite the fact that it, like mtdblock abstraction,
it used with UCLASS_MTD, they can be used together
on the system without conflicting. For e
Block devices can already set partition type at initialization
stage, so, in this case is no point in searching for partition type.
Signed-off-by: Alexey Romanov
Reviewed-by: Heiko Schocher
---
disk/part.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/disk/part.c b/disk/part.c
inde
Introduce ubi_volume_offset_write() helper, which
allow to write to ubi volume with specified offset.
Signed-off-by: Alexey Romanov
Reviewed-by: Heiko Schocher
Acked-by: Heiko Schocher
---
cmd/ubi.c | 72 +++--
env/ubi.c | 10 +++
Now user can pass an additional parameter 'offset'
to ubi_volume_read() function.
Signed-off-by: Alexey Romanov
Reviewed-by: Heiko Schocher
Acked-by: Heiko Schocher
---
cmd/ubi.c | 6 +++---
env/ubi.c | 6 +++---
include/ubi_uboot.h | 2 +-
3 files changed, 7 insertions(+),
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
Tested only on SPI NAND, so bind is made only for
SPI NAND drivers. Can be used with mtdblock devi
tags/u-boot-rockchip-20240718
for you to fetch changes up to e8b3f6c1018e1401bcc697a8aed8120061e4f189:
configs: rockchip: imply OF_LIBFDT_OVERLAY for rk3308 and rk3328 (2024-07-17
16:26:55 +0800)
FUKAUMI Naoki (5):
rockchip
Hi Quentin,
On 2024/7/18 16:03, Quentin Schulz wrote:
Hi Kever,
On 7/18/24 5:52 AM, Kever Yang wrote:
Hi Tom,
Please pull the fixex for rockchip platform:
- pmic fix for rk8xx;
- pinctrl fix for rk3188/rv1126/rk3588;
- mkimage fix for rockcihp "-l" option;
I think this is a mistake? All c
74b3850fdba4163ec260dbcee8ec183a
change-id: 20240718-u-boot-fix-v6-10-upstream-build-e3def1f6630d
Best regards,
--
Neil Armstrong
Hi Kever,
On 7/18/24 5:52 AM, Kever Yang wrote:
Hi Tom,
Please pull the fixex for rockchip platform:
- pmic fix for rk8xx;
- pinctrl fix for rk3188/rv1126/rk3588;
- mkimage fix for rockcihp "-l" option;
I think this is a mistake? All commits are already merged. I assume you
picked the wrong
Hi Simon,
Thank you for the patch.
On sam., juil. 13, 2024 at 08:00, Simon Glass wrote:
> Fix a missing dot in a comment, since '..' is confusing.
>
> Signed-off-by: Simon Glass
Reviewed-by: Mattijs Korpershoek
> ---
>
> (no changes since v1)
>
> arch/sandbox/cpu/os.c | 2 +-
> 1 file chan
Hi Simon,
Thank you for the patch.
On sam., juil. 13, 2024 at 08:00, Simon Glass wrote:
> The argument array is not changed by the callee, so mark it const.
>
> Signed-off-by: Simon Glass
Reviewed-by: Mattijs Korpershoek
> ---
>
> (no changes since v1)
>
> arch/sandbox/cpu/os.c | 4 ++--
>
92 matches
Mail list logo