The Radxa ZERO 3W/3E is an ultra-small, high-performance single board
computer based on the Rockchip RK3566, with a compact form factor and
rich interfaces.
Implement rk_board_late_init() to set correct fdtfile env var and
board_fit_config_name_match() to load correct FIT config based on what
boar
What model of Radxa ZERO 3W/3E boards can be identified using ADC at
runtime, add a Kconfig symbol to allow use of ADC in SPL.
This will be used to identify board model in SPL to allow loading
correct FIT configuration and FDT for U-Boot proper at SPL phase.
Signed-off-by: Jonas Karlman
---
dri
From: FUKAUMI Naoki
align with other Radxa products.
- mmc0 is eMMC
- mmc1 is microSD
for ZERO 3E, there is no eMMC, but aliases should start at 0, so mmc0
is microSD as exception.
Fixes: 1a5c8d307c83 ("arm64: dts: rockchip: Add Radxa ZERO 3W/3E")
Signed-off-by: FUKAUMI Naoki
Changes in v3:
The Radxa ZERO 3W/3E is an ultra-small, high-performance single board
computer based on the Rockchip RK3566, with a compact form factor and
rich interfaces.
The ZERO 3W and ZERO 3E are basically the same size and model, but
differ only in storage and network interfaces.
- eMMC (3W)
- SD-card (bot
From: Trevor Woerner
Add names to the pins of the general-purpose expansion header as given
in the Radxa documentation[1] following the conventions in the kernel[2]
to make it easier for users to correlate pins with functions when using
utilities such as 'gpioinfo'.
[1] https://docs.radxa.com/en
This series add support for the RK3566 based Radxa ZERO 3W/3E boards.
rk_board_late_init() and board_fit_config_name_match() has been
implemented to set fdtfile env var and load correct FIT config based
on what board is detected at runtime.
Features tested on a ZERO 3W 8GB v1.11:
- SD-card boot
-
On Wed, 31 Jul 2024 at 01:17, Simon Glass wrote:
>
> Hi Sughosh,
>
> On Wed, 24 Jul 2024 at 00:03, Sughosh Ganu wrote:
> >
> > The current LMB API's for allocating and reserving memory use a
> > per-caller based memory view. Memory allocated by a caller can then be
> > overwritten by another call
On 7/30/24 13:11, Sughosh Ganu wrote:
The linux kernel has the list_count_nodes() API functions which is
used for counting nodes of a list. This has now been imported in
U-Boot as part of an earlier commit. Use this function and drop the
list_count_items().
Signed-off-by: Sughosh Ganu
Reviewe
On 7/30/24 13:11, Sughosh Ganu wrote:
Use the list_for_each_entry() API to get the efi_mem_list node
directly, instead of making an additional call to list_entry().
Signed-off-by: Sughosh Ganu
Reviewed-by: Heinrich Schuchardt
---
lib/efi_loader/efi_memory.c | 25 -
On 7/30/24 13:11, Sughosh Ganu wrote:
Populate the previous memory descriptor node pointer only after it's
parent struct has been initialised. The compiler fixes this logic to
do the right thing, but it is better to have correct code in place.
Signed-off-by: Sughosh Ganu
Fixes: 7b05667ce239 (
On 7/30/24 13:11, Sughosh Ganu wrote:
Use the API function list_count_nodes() to count the number of EFI
memory map entries.
Signed-off-by: Sughosh Ganu
---
lib/efi_loader/efi_memory.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/efi_loader/efi_memory.c b/lib/
On 7/30/24 13:11, Sughosh Ganu wrote:
Add a function to count the nodes of a list.
This could function could be used in lot of different code locations:
test/boot/expo.c:707
lib/fwu_updates/fwu_mtd.c:64
lib/efi_loader/efi_memory.c:755
lib/efi_loader/efi_boottime.c:2519
fs/yaffs2/yaffs_guts.c:4
On 7/26/24 19:18, Grzegorz Szymaszek wrote:
Drop some unnecessary/unintended blockquotes, improve formatting
consistency, simplify tables, add some inline literals, fix several
other minor issues.
Signed-off-by: Grzegorz Szymaszek
---
doc/board/st/stm32mp1.rst | 859 +++---
On 7/26/24 19:17, Grzegorz Szymaszek wrote:
Please, provide a commit message explaining why you are making this change.
Signed-off-by: Grzegorz Szymaszek
---
doc/board/st/stm32mp1.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/board/st/stm32mp1.rst b/doc/board/s
On 7/26/24 19:18, Grzegorz Szymaszek wrote:
Thanks for looking at improving this documentation.
Please, provide a commit message.
Signed-off-by: Grzegorz Szymaszek
---
doc/board/st/stm32mp1.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/board/st/stm32mp1.rs
This patch implements readonly test of nand flashes.
Signed-off-by: Mikhail Kshevetskiy
---
cmd/Kconfig | 6 ++
cmd/mtd.c | 203
2 files changed, 209 insertions(+)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 698e0e697f2..db5113e016b 1006
Some nand flashes (like spi-nand one) are registered with mtd
subsystem only, thus nand command can't be used to work with
such flashes. As result some functionality is missing.
This patch implements 'nand torture' functionality for mtd command.
Signed-off-by: Mikhail Kshevetskiy
---
cmd/Kconfi
Some nand flashes (like spi-nand one) are registered with mtd
subsystem only, thus nand command can't be used to work with
such flashes. As result some functionality is missing.
This patch implements 'nand markbad' functionality for mtd command.
Signed-off-by: Mikhail Kshevetskiy
---
cmd/Kconfi
Some nand flashes (like spi-nand one) are registered with mtd
subsystem only, thus nand command can't be used to work with
such flashes. As result some functionality is missing.
This patch series implements following subcommands:
* markbad -- mark block as bad (copy of 'nand markbad')
* torture
Option Acknowledgment (OACK) is an extension of TFTP protocol (see rfc2347).
Not all tftp servers implements it. For example it does not supported by
tftpd server from debian-11 (https://packages.debian.org/bullseye/tftpd).
Starting the "tftpput $loadaddr $size out_file" command with such server
w
From: Michael Polyntsov
Some boards don't have chipselect lines for leds so cs-gpios is not
specified in the dts leading to probing error. Fix it by making
behavior similar to the one in Linux, parse num-chipselects and
if it is zero, ignore cs-gpios.
Signed-off-by: Michael Polyntsov
Signed-off
The patch fix a missprint introduced in commit 2e9fe73a883a ("spi: soft_spi:
Support the recommended soft spi properties").
Signed-off-by: Mikhail Kshevetskiy
---
drivers/spi/soft_spi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/spi/soft_spi.c b/drivers/spi/soft_
Changes from v1:
* patches description was updated
Michael Polyntsov (1):
spi: soft_spi: Parse cs-gpios only if num-chipselects is not <0>
Mikhail Kshevetskiy (1):
spi: soft_spi: fix miso gpio property name
doc/device-tree-bindings/spi/soft-spi.txt | 5 +++--
drivers/spi/soft_spi.c
Hello Ravi,
On 30.07.24 11:14, Ravi Minnikanti wrote:
When kernel uses file system encryption, fscrypt on UBIFS v5,
after a hard power cycle UBIFS journal replay fails which results in mount
failure.
Failure logs:
UBIFS: recovery needed
UBIFS error (pid 0): ubifs_validate_entry: bad directory
Hello Fedor,
On 30.07.24 17:25, fedorr...@gmail.com wrote:
From: Fedor Ross
The TXFIFO register of LPI2C only has one byte length, and if the length
of the data that needs to be read exceeds 256 bytes, it needs to be
written to TXFIFO multiple times.
Signed-off-by: Fedor Ross
---
Cc: Heiko S
Hello Fedor,
On 30.07.24 17:25, fedorr...@gmail.com wrote:
From: Fedor Ross
Instead of using the hard-coded bus speed value I2C_SPEED_STANDARD_RATE,
use the actual configured bus speed. This way the bus speed doesn't
change suddenly after calling the imx_lpi2c_probe_chip() function for
example
Hello Fedor,
On 30.07.24 17:25, fedorr...@gmail.com wrote:
From: Fedor Ross
Fix a typo in a debug message. It should be 'for' not 'fot' .
Signed-off-by: Fedor Ross
---
Cc: Heiko Schocher
Cc: Tom Rini
Cc: Marek Vasut
---
Changes in v2:
- Add additional '---' below SoB line to separate Cc
Hello Alexey,
On 18.07.24 07:45, Alexey Romanov wrote:
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 |
On Fri, 19 Jul 2024 13:12:10 +0400, Mikhail Kshevetskiy wrote:
> v2 changes:
> * Drop sw_blink_state structure, move its necessary fields to
>led_uc_plat structure.
> * Add cyclic_info pointer to led_uc_plat structure. This
>simplify code a lot.
> * Remove cyclic function search logic.
Hi Simon,
On Thu, 4 Jul 2024 08:48:54 +0100
Simon Glass s...@chromium.org wrote:
> Now that U-Boot has a background-processing feature, it is possible to
> reduce the amount of 'foreground' syncing of the display. At present
> this happens quite often.
This series breaks turris_1x_sdcard SPL bu
Hi all,
On Fri, 21 Jun 2024 at 12:16, Simon Glass wrote:
>
> Hi Raymond,
>
> On Fri, 21 Jun 2024 at 10:40, Raymond Mao wrote:
> >
> > Hi Simon,
> >
> > On Fri, 21 Jun 2024 at 10:58, Simon Glass wrote:
> >>
> >> Hi Ilias,
> >>
> >> On Wed, 19 Jun 2024 at 06:41, Ilias Apalodimas
> >> wrote:
> >>
On Tue, Jul 30, 2024 at 02:52:21PM -0600, Simon Glass wrote:
> Hi Tom,
>
> On Tue, 30 Jul 2024 at 14:11, Tom Rini wrote:
> >
> > On Tue, Jul 30, 2024 at 02:05:19PM -0600, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Tue, 30 Jul 2024 at 13:49, Tom Rini wrote:
> > > >
> > > > On Tue, Jul 30, 20
Hi Tom,
On Tue, 30 Jul 2024 at 14:11, Tom Rini wrote:
>
> On Tue, Jul 30, 2024 at 02:05:19PM -0600, Simon Glass wrote:
> > Hi Tom,
> >
> > On Tue, 30 Jul 2024 at 13:49, Tom Rini wrote:
> > >
> > > On Tue, Jul 30, 2024 at 01:42:17PM -0600, Simon Glass wrote:
> > > > Hi Tom,
> > > >
> > > > On Tue
On Tue, Jul 30, 2024 at 02:05:19PM -0600, Simon Glass wrote:
> Hi Tom,
>
> On Tue, 30 Jul 2024 at 13:49, Tom Rini wrote:
> >
> > On Tue, Jul 30, 2024 at 01:42:17PM -0600, Simon Glass wrote:
> > > Hi Tom,
> > >
> > > On Tue, 30 Jul 2024 at 09:24, Tom Rini wrote:
> > > >
> > > > On Tue, Jul 30, 20
Hi Tom,
On Tue, 30 Jul 2024 at 13:49, Tom Rini wrote:
>
> On Tue, Jul 30, 2024 at 01:42:17PM -0600, Simon Glass wrote:
> > Hi Tom,
> >
> > On Tue, 30 Jul 2024 at 09:24, Tom Rini wrote:
> > >
> > > On Tue, Jul 30, 2024 at 09:18:02AM -0600, Simon Glass wrote:
> > > > Hi Ilias,
> > > >
> > > > On T
On Tue, Jul 30, 2024 at 01:42:17PM -0600, Simon Glass wrote:
> Hi Tom,
>
> On Tue, 30 Jul 2024 at 09:24, Tom Rini wrote:
> >
> > On Tue, Jul 30, 2024 at 09:18:02AM -0600, Simon Glass wrote:
> > > Hi Ilias,
> > >
> > > On Tue, 30 Jul 2024 at 08:54, Ilias Apalodimas
> > > wrote:
> > > >
> > > > On
Radxa ROCK S0 is a single-board computer based on the Rockchip RK3308B
SoC in an ultra-compact form factor. Add a board target for the board.
Features tested on a ROCK S0 v1.2 with 512 MiB RAM and 8 GiB eMMC:
- SD-card boot
- eMMC boot
- Ethernet
- USB gadget
- USB host
Signed-off-by: Jonas Karlm
Radxa ROCK S0 is a single-board computer based on the Rockchip RK3308B
SoC in an ultra-compact form factor.
Add initial support for eMMC, SD-card, Ethernet, WiFi/BT and USB.
Signed-off-by: Jonas Karlman
Link: https://lore.kernel.org/r/20240521212247.1240226-3-jo...@kwiboo.se
Signed-off-by: Heiko
This series add support for the RK3308 based Radxa ROCK S0 board.
Features tested on a ROCK S0 v1.2 with 512 MiB RAM and 8 GiB eMMC:
- SD-card boot
- eMMC boot
- Ethernet
- USB gadget
- USB host
This series depends on the following patch:
- arm64: dts: rockchip: Add rk3308 IO voltage domains [1]
Hi Sughosh,
On Wed, 24 Jul 2024 at 00:03, Sughosh Ganu wrote:
>
> The current LMB API's for allocating and reserving memory use a
> per-caller based memory view. Memory allocated by a caller can then be
> overwritten by another caller. Make these allocations and reservations
> persistent using th
On Tue, 30 Jul 2024 at 05:12, Sughosh Ganu wrote:
>
> The linux kernel has the list_count_nodes() API functions which is
> used for counting nodes of a list. This has now been imported in
> U-Boot as part of an earlier commit. Use this function and drop the
> list_count_items().
>
> Signed-off-by:
On Tue, 30 Jul 2024 at 05:11, Sughosh Ganu wrote:
>
> Populate the previous memory descriptor node pointer only after it's
its
> parent struct has been initialised. The compiler fixes this logic to
> do the right thing, but it is better to have correct code in place.
>
> Signed-off-by: Sughosh G
On Tue, 30 Jul 2024 at 05:11, Sughosh Ganu wrote:
>
> Use the API function list_count_nodes() to count the number of EFI
> memory map entries.
>
> Signed-off-by: Sughosh Ganu
> ---
> lib/efi_loader/efi_memory.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
Reviewed-by: Simon Glas
On Tue, 30 Jul 2024 at 05:11, Sughosh Ganu wrote:
>
> Add a function to count the nodes of a list.
>
> Taken from linux 6.11-rc1 tag commit 8400291e289e.
>
> Signed-off-by: Sughosh Ganu
> ---
> include/linux/list.h | 15 +++
> 1 file changed, 15 insertions(+)
Reviewed-by: Simon Glas
Hi Tom,
On Tue, 30 Jul 2024 at 09:24, Tom Rini wrote:
>
> On Tue, Jul 30, 2024 at 09:18:02AM -0600, Simon Glass wrote:
> > Hi Ilias,
> >
> > On Tue, 30 Jul 2024 at 08:54, Ilias Apalodimas
> > wrote:
> > >
> > > On Tue, 30 Jul 2024 at 17:38, Simon Glass wrote:
> > > >
> > > > Hi Ilias,
> > > >
>
A bit more digging.
When I follow the chain through the PLT call to memset, it does some
lookups in the .got.plt section. And even on the MCF5445x, it seems
to ultimately result in a lookup of 0x.
Here's the chain for the MCF5445x. I did the manually using
objdump/nm, but I think the ma
Thank you for the feedback.
It looks like the mcf5441x executes from RAM. At least looking at the
configuration for the stmark2, which defines CONFIG_SERIAL_BOOT and
CONFIG_SF_SBF. This appears to copy from an external device using the
DSPI into RAM. After loaded, _start finally executes. Inte
From: Fedor Ross
The TXFIFO register of LPI2C only has one byte length, and if the length
of the data that needs to be read exceeds 256 bytes, it needs to be
written to TXFIFO multiple times.
Signed-off-by: Fedor Ross
---
Cc: Heiko Schocher
Cc: Tom Rini
Cc: Marek Vasut
---
Changes in v2:
-
From: Fedor Ross
Instead of using the hard-coded bus speed value I2C_SPEED_STANDARD_RATE,
use the actual configured bus speed. This way the bus speed doesn't
change suddenly after calling the imx_lpi2c_probe_chip() function for
example.
Signed-off-by: Fedor Ross
---
Cc: Heiko Schocher
Cc: Tom
From: Fedor Ross
Fix a typo in a debug message. It should be 'for' not 'fot' .
Signed-off-by: Fedor Ross
---
Cc: Heiko Schocher
Cc: Tom Rini
Cc: Marek Vasut
---
Changes in v2:
- Add additional '---' below SoB line to separate Cc list. This way it
does not get included in the commit messag
On Tue, Jul 30, 2024 at 09:18:02AM -0600, Simon Glass wrote:
> Hi Ilias,
>
> On Tue, 30 Jul 2024 at 08:54, Ilias Apalodimas
> wrote:
> >
> > On Tue, 30 Jul 2024 at 17:38, Simon Glass wrote:
> > >
> > > Hi Ilias,
> > >
> > > On Tue, 30 Jul 2024 at 02:20, Ilias Apalodimas
> > > wrote:
> > > >
> >
Hi Mark,
On Tue, 30 Jul 2024 at 08:53, Mark Kettenis wrote:
>
> > From: Simon Glass
> > Date: Tue, 30 Jul 2024 08:38:03 -0600
> >
> > Hi Ilias,
> >
> > On Tue, 30 Jul 2024 at 02:20, Ilias Apalodimas
> > wrote:
> > >
> > > On Mon, 29 Jul 2024 at 18:28, Simon Glass wrote:
> > > >
> > > > Hi Ilia
Hi Ilias,
On Tue, 30 Jul 2024 at 08:54, Ilias Apalodimas
wrote:
>
> On Tue, 30 Jul 2024 at 17:38, Simon Glass wrote:
> >
> > Hi Ilias,
> >
> > On Tue, 30 Jul 2024 at 02:20, Ilias Apalodimas
> > wrote:
> > >
> > > On Mon, 29 Jul 2024 at 18:28, Simon Glass wrote:
> > > >
> > > > Hi Ilias,
> > >
On Tue, 30 Jul 2024 at 17:38, Simon Glass wrote:
>
> Hi Ilias,
>
> On Tue, 30 Jul 2024 at 02:20, Ilias Apalodimas
> wrote:
> >
> > On Mon, 29 Jul 2024 at 18:28, Simon Glass wrote:
> > >
> > > Hi Ilias,
> > >
> > > On Mon, 29 Jul 2024 at 04:02, Ilias Apalodimas
> > > wrote:
> > > >
> > > > Hi Si
There is new chip coming which is using new _lr suffix that's why record it
in the list to enable bitstream in bit format loading.
Signed-off-by: Michal Simek
---
drivers/soc/soc_xilinx_zynqmp.c | 8
1 file changed, 8 insertions(+)
diff --git a/drivers/soc/soc_xilinx_zynqmp.c b/driver
> From: Simon Glass
> Date: Tue, 30 Jul 2024 08:38:03 -0600
>
> Hi Ilias,
>
> On Tue, 30 Jul 2024 at 02:20, Ilias Apalodimas
> wrote:
> >
> > On Mon, 29 Jul 2024 at 18:28, Simon Glass wrote:
> > >
> > > Hi Ilias,
> > >
> > > On Mon, 29 Jul 2024 at 04:02, Ilias Apalodimas
> > > wrote:
> > > >
Add LED=y and LED_GPIO=y to support the onboard leds.
Add ROCKCHIP_IODOMAIN=y to configure correct io voltage domains.
Add DM_MDIO=y now that the DT contain a Ethernet phy node.
Signed-off-by: Jonas Karlman
---
configs/rock-pi-s-rk3308_defconfig | 4
1 file changed, 4 insertions(+)
diff
With the emmc and uart0 DT nodes updated to v6.11-rc1 in dts/upstream
there is no longer any need to keep overrides in board u-boot dtsi.
Signed-off-by: Jonas Karlman
---
arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi | 19 ---
1 file changed, 19 deletions(-)
diff --git a/arch/arm/dt
The VCCIO4 io-domain used for WiFi/BT is using 1v8 IO signal voltage.
Add io-domains node with the VCCIO supplies connected on the board.
Signed-off-by: Jonas Karlman
Link: https://lore.kernel.org/r/20240521211029.1236094-13-jo...@kwiboo.se
Signed-off-by: Heiko Stuebner
[ upstream commit: 100b
Update WiFi SDIO and BT UART related props to better reflect details
about the optional onboard RTL8723DS WiFi/BT module.
Also correct the compatible used for bluetooth to match the WiFi/BT
module used on the board.
Fixes: bc3753aed81f ("arm64: dts: rockchip: rock-pi-s add more peripherals")
Sign
Be explicit about the Ethernet port and define mdio and ethernet-phy
nodes in the device tree for ROCK Pi S.
Fixes: bc3753aed81f ("arm64: dts: rockchip: rock-pi-s add more peripherals")
Signed-off-by: Jonas Karlman
Link: https://lore.kernel.org/r/20240521211029.1236094-8-jo...@kwiboo.se
Signed-of
Add cap-mmc-highspeed to allow use of high speed MMC mode using an eMMC
to uSD board. Use disable-wp to signal that no physical write-protect
line is present. Also add vcc_io used for card and IO line power as
vmmc-supply.
Fixes: 2e04c25b1320 ("arm64: dts: rockchip: add ROCK Pi S DTS support")
Sig
UAR0 CTS/RTS is not wired to any pin and is not used for the default
serial console use of UART0 on ROCK Pi S.
Override the SoC defined pinctrl props to limit configuration of the
two xfer pins wired to one of the GPIO pin headers.
Fixes: 2e04c25b1320 ("arm64: dts: rockchip: add ROCK Pi S DTS sup
Add a disabled RK3308 IO voltage domains node to SoC DT.
Signed-off-by: Jonas Karlman
Link: https://lore.kernel.org/r/20240521211029.1236094-12-jo...@kwiboo.se
Signed-off-by: Heiko Stuebner
[ upstream commit: d1829ba469d5743734e37d59fece73e3668ab084 ]
(cherry picked from commit cebde305971e33a
This series cherry picks related rk3308 and rk3308-rock-pi-s commits
from devicetree-rebasing v6.11-rc1-dts tag to improve support for the
new v1.5 hw revision of Radxa Rock Pi S.
This series loosely depends on following patches:
- mmc: rockchip_dw_mmc: Allow 4-bit mode when 8-bit mode is supporte
Tests should not change the lmb state, so provide a way to save and
restore the state.
Note: The _norun tests can now become normal tests.
When tests fail, lmb is broken. This is probably fine. If it causes
problems we could save/restore outside the test, using a UT_TESTF_ flag.
Signed-off-by: S
The normal case for initing lmb is to set up all the memory regions. Put
that in a separate function, called lmb_init(). The other function is
now only used for testing.
Note that tests never set up the memory regions, so we can drop that
code.
Signed-off-by: Simon Glass
---
common/board_r.c |
This function has more special cases than it needs. Simplify it to
reduce code size and complexity.
Signed-off-by: Simon Glass
---
lib/lmb.c | 57 +++
1 file changed, 19 insertions(+), 38 deletions(-)
diff --git a/lib/lmb.c b/lib/lmb.c
index
Rather than exporting the internal details of lmb, create a struct which
holds the lists.
Signed-off-by: Simon Glass
---
include/lmb.h | 10 -
lib/lmb.c | 56 +--
test/cmd/bdinfo.c | 8 +++
3 files changed, 43 insertions(+), 3
This series adds a few tweaks to Sugosh's lmb series to show:
- save/restore of test stage
- putting lmb in a struct
- small code-size improvement
Simon Glass (4):
lmb: Put internal details in a struct
lmb: Tighten up the code in lmb_add_region_flags()
lmb: Split init into two functions
l
Use this new data structure in the utility function.
Signed-off-by: Simon Glass
---
(no changes since v3)
Changes in v3:
- Update for alist_add() API change
lib/strto.c | 35 +++
1 file changed, 19 insertions(+), 16 deletions(-)
diff --git a/lib/strto.c b/lib/
In various places it is useful to have an array of structures, but allow
it to grow. In some cases we work around it by setting maximum number of
entries, using a Kconfig option. In other places we use a linked list,
which does not provide for random access and can complicate the code.
Introduce a
The current implementation can return an extra result at the end when
the string ends with a space. Fix this by adding a special case.
Signed-off-by: Simon Glass
---
(no changes since v1)
lib/strto.c | 4 +++-
test/str_ut.c | 4 +---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --g
At present in tests it is possible to cause an out-of-memory condition
with malloc() but not realloc(). Add support to realloc() too, so code
which uses that function can be tested.
Signed-off-by: Simon Glass
---
(no changes since v1)
common/dlmalloc.c | 4
1 file changed, 4 insertions(+)
This data structure provides a list of pointers / array of structures.
I was planning to use it for the lmb restructure, to allow it to
support any number of entries, but then I gave up on it.
There are quite a few places in U-Boot where such a list would be
useful, since it supports growing the a
Hi Ilias,
On Tue, 30 Jul 2024 at 02:20, Ilias Apalodimas
wrote:
>
> On Mon, 29 Jul 2024 at 18:28, Simon Glass wrote:
> >
> > Hi Ilias,
> >
> > On Mon, 29 Jul 2024 at 04:02, Ilias Apalodimas
> > wrote:
> > >
> > > Hi Simon
> > >
> > > On Fri, 26 Jul 2024 at 17:54, Simon Glass wrote:
> > > >
> >
Hi Neha,
On Mon, 29 Jul 2024 at 22:44, Neha Malcom Francis wrote:
>
> Hi Simon
>
> On 20/07/24 16:19, Simon Glass wrote:
> > FIT provides a way to select between different devicetree blobs
> > depending on the model. This works fine for U-Boot proper and allows SPL
> > to select the correct blob
Hi Sughosh,
On Mon, 29 Jul 2024 at 19:49, Sughosh Ganu wrote:
>
> On Mon, 29 Jul 2024 at 23:46, Tom Rini wrote:
> >
> > On Mon, Jul 29, 2024 at 09:28:57AM -0600, Simon Glass wrote:
> > > Hi Sughosh,
> > >
> > > On Sun, 28 Jul 2024 at 12:07, Sughosh Ganu
> > > wrote:
> > > >
> > > > On Thu, 25
The RK3308 SoC contains a controller for one-time-programmable memory,
add a device node for it.
Signed-off-by: Jonas Karlman
Link: https://lore.kernel.org/r/20240521211029.1236094-9-jo...@kwiboo.se
Signed-off-by: Heiko Stuebner
[ upstream commit: 36d3bbc8cdbef2f83391f770265ac4c37a99 ]
(ch
The merged upstream DT node for OTP differs in nodename and will cause
following build errors once rk3308.dtsi in dts/upstream is updated:
ERROR (duplicate_label): /nvmem@ff21: Duplicate label 'otp' on
/nvmem@ff21 and /efuse@ff21
ERROR (duplicate_label): /nvmem@ff21/id@7: Dupl
The merged upstream DT node for OTP differs in nodename and a future
update of dts/upstream to devicetree-rebasing v6.11-rc1-dts tag or newer
will cause build issues.
This series replace the node in soc u-boot dtsi with the upstream node.
Changes in v2:
- Drop patch that changed the nodename to m
On 7/30/24 16:02, Tom Rini wrote:
> On Tue, Jul 30, 2024 at 11:48:06AM +0200, Jerome Forissier wrote:
>>
>>
>> On 7/25/24 19:22, Tom Rini wrote:
>>> On Thu, Jul 25, 2024 at 02:57:21PM +0200, Jerome Forissier wrote:
>>>
This is a rework of a patch series by Maxim Uvarov: "net/lwip: add lwip
Hi Ilias,
On Tue, 30 Jul 2024 at 04:04, Ilias Apalodimas
wrote:
> Hi Raymond,
>
> On Tue, 2 Jul 2024 at 21:33, Raymond Mao wrote:
> >
> > Previous patch has introduced MbedTLS porting layer for mscode parser,
> > here to adjust the header and makefiles accordingly.
> >
> > Signed-off-by: Raymon
Hi Ilias,
On Tue, 30 Jul 2024 at 04:05, Ilias Apalodimas
wrote:
> Hi Raymond
>
>
> On Tue, 2 Jul 2024 at 21:33, Raymond Mao wrote:
> >
> > Add RSA helper layer on top on MbedTLS PK and RSA library.
> > Introduce _LEGACY and _MBEDTLS kconfigs for RSA helper legacy and
> > MbedTLS implementations
On Tue, Jul 30, 2024 at 11:48:06AM +0200, Jerome Forissier wrote:
>
>
> On 7/25/24 19:22, Tom Rini wrote:
> > On Thu, Jul 25, 2024 at 02:57:21PM +0200, Jerome Forissier wrote:
> >
> >> This is a rework of a patch series by Maxim Uvarov: "net/lwip: add lwip
> >> library for the network stack" [1]
Hi Peter,
unfortunately i don't have any of such 548x boards, so cannot
help that much, but if you can manage to have it working, it will
be great.
Considering 548x is with mmu, mcf5441x startup code may be helpful,
even if it's isa_C (your is isa_B).
mcf5441x is tested here, and it is actually
Add support for *_lr SOCs. Without this change chips are not going to be
properly identified and bitstream programming won't work.
Signed-off-by: Michal Simek
---
arch/arm/mach-zynq/cpu.c | 2 ++
include/zynqpl.h | 6 ++
2 files changed, 8 insertions(+)
diff --git a/arch/arm/mach-z
> Subject: [PATCH v1] mmc: fix signed vs unsigned compare in read
> check in _spl_load()
>
> Fix signed vs unsigned compare in read check in _spl_load()
>
> Issue: when info->read() returns a negative value because of an error,
>the comparison of 'read' (signed) with 'sizeof(*header)'
>
On Wed, Jul 24, 2024 at 12:57 PM Marek Vasut wrote:
Hello Marek,
I'll do the changes. Thanks for your input.
Best regards,
Fedor
> On 7/24/24 11:59 AM, fedorr...@gmail.com wrote:
> > From: Fedor Ross
> >
> > The TXFIFO register of LPI2C only has one byte length, and if the length
> > of the d
Signed-off-by: Emil Kronborg
---
doc/usage/cmd/pwm.rst | 80 +++
doc/usage/index.rst | 1 +
2 files changed, 81 insertions(+)
create mode 100644 doc/usage/cmd/pwm.rst
diff --git a/doc/usage/cmd/pwm.rst b/doc/usage/cmd/pwm.rst
new file mode 100644
index
From: Tejas Bhumkar
Since the opcode SPINOR_OP_CHIP_ERASE (0xc7) is not supported
for the S28HS02GT flash, the NO_CHIP_ERASE flag has been added
to enable sector erase functionality instead.
Signed-off-by: Tejas Bhumkar
Signed-off-by: Prasad Kummari
---
Changes in v2:
- corrected commit subjec
From: Tejas Bhumkar
Since the opcode SPINOR_OP_CHIP_ERASE (0xc7) is not supported
for the S28HS02GT flash, the NO_CHIP_ERASE flag has been added
to enable sector erase functionality instead.
Signed-off-by: Tejas Bhumkar
Signed-off-by: Prasad Kummari
---
drivers/mtd/spi/spi-nor-ids.c | 2 +-
1
The linux kernel has the list_count_nodes() API functions which is
used for counting nodes of a list. This has now been imported in
U-Boot as part of an earlier commit. Use this function and drop the
list_count_items().
Signed-off-by: Sughosh Ganu
---
drivers/core/util.c | 14 ++
inc
Use the list_for_each_entry() API to get the efi_mem_list node
directly, instead of making an additional call to list_entry().
Signed-off-by: Sughosh Ganu
---
lib/efi_loader/efi_memory.c | 25 -
1 file changed, 8 insertions(+), 17 deletions(-)
diff --git a/lib/efi_loader
Populate the previous memory descriptor node pointer only after it's
parent struct has been initialised. The compiler fixes this logic to
do the right thing, but it is better to have correct code in place.
Signed-off-by: Sughosh Ganu
---
lib/efi_loader/efi_memory.c | 3 ++-
1 file changed, 2 ins
Use the API function list_count_nodes() to count the number of EFI
memory map entries.
Signed-off-by: Sughosh Ganu
---
lib/efi_loader/efi_memory.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/lib/efi_loader/efi_memory.c b/lib/efi_loader/efi_memory.c
index 12cf23fa3f..
Add a function to count the nodes of a list.
Taken from linux 6.11-rc1 tag commit 8400291e289e.
Signed-off-by: Sughosh Ganu
---
include/linux/list.h | 15 +++
1 file changed, 15 insertions(+)
diff --git a/include/linux/list.h b/include/linux/list.h
index 6910721c00..0f9d939b05 1006
Having zynqmp firmware is actually only one valid configuration. In QEMU
case for example there is no PMU that's why this checking can't end up in
panic that's why code remove this code completely.
Signed-off-by: Michal Simek
---
board/xilinx/zynqmp/zynqmp.c | 13 -
1 file changed,
On Mon, 29 Jul 2024 at 18:18, Jerome Forissier
wrote:
>
> Hi Ilias,
>
> On 7/29/24 14:29, Ilias Apalodimas wrote:
> > Hi Jerome,
> >
> > On Thu, 25 Jul 2024 at 15:59, Jerome Forissier
> > wrote:
> >>
> >> Add support for setting the TFTP block size. The default value (1468)
> >> is fine for Ether
On 7/25/24 19:22, Tom Rini wrote:
> On Thu, Jul 25, 2024 at 02:57:21PM +0200, Jerome Forissier wrote:
>
>> This is a rework of a patch series by Maxim Uvarov: "net/lwip: add lwip
>> library for the network stack" [1]. The goal is to introduce the lwIP TCP/IP
>> stack [2] [3] as an alternative t
1 - 100 of 132 matches
Mail list logo