Device tree alignment with Linux kernel v6.3-rc3:
- ARM: dts: stm32: add i2c nodes into stm32mp131.dtsi
- ARM: dts: stm32: enable i2c1 and i2c5 on stm32mp135f-dk.dts
- ARM: dts: stm32: add spi nodes into stm32mp131.dtsi
- ARM: dts: stm32: add pinctrl and disabled spi5 node in stm32mp135f-dk
- ARM:
Alignment with Linux device tree v6.3-rc3 for STM32MP13x and STM32MP15x
STMicroelectronics board and common files, SoC and pincontrol dtsi.
I also include the new dt-bindings files video-interfaces.h as it is done
in Linux kernel.
Patrick Delaunay (2):
media: dt-bindings: media: Add macros
Add a new dt-bindings/media/video-interfaces.h header that defines
macros corresponding to the bus types from media/video-interfaces.yaml.
This allows avoiding hardcoded constants in device tree sources.
Based on linux commit f7eeb0084593 ("media: dt-bindings: media: Add macros
for video
Probing LPC can cause PCI enumeration to take place, which significantly
increases pre-relocation memory usage. Also, LPC is somtimes enabled
directly by SPL.
Adjust the logic to probe the LPC only after relocation. This allows
chromebook_link64 to start up without a much larger
This function used to be for adding a list of requests to be actioned on
relocation. Revert it back to this purpose, to avoid problems with boards
which need control of their MTRRs (i.e. those which don't use FSP).
The mtrr_set_next_var() function is available when the next free
variable-MTRR
Use the binman symbols for this, to avoid hard-coding the value. We could
use CONFIG_X86_OFFSET_U_BOOT for the address, but it seems better to
obtain the offset and size through the same mechanism.
Signed-off-by: Simon Glass
---
Changes in v2:
- Add new patch to tidy up address for loading
This function is used by U-Boot proper. It does not set up MTRRs when SPL
is enabled, but we do want this done when it is called from SPL. In fact
it is confusing to use the same function from SPL, since there are require
a few conditions there.
All init_cache_f_r() really does is commit the
Show the area of memory cleared for BSS, when debugging is enabled.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/spl.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/x86/lib/spl.c b/arch/x86/lib/spl.c
index bdf57ef7b5bd..eb0af219ae29 100644
On 4/18/2023 9:00 PM, Simon Glass wrote:
> The 'tiny' SPI nor functions have the same name as their big brothers,
> which can be confusing. Use different names so it is clear which
> version is in the image.
>
> Signed-off-by: Simon Glass
> ---
>
> (no changes since v1)
>
>
Using DMA to load TF-A into SRAM fails when booting from eMMC on RK3588.
## Checking hash(es) for Image atf-3 ... sha256 error!
Bad hash value for 'hash' hash node in 'atf-3' image node
spl_load_simple_fit: can't load image loadables index 2 (ret = -1)
mmc_load_image_raw_sector: mmc block
From: Peter Geis
Rockchip emmc devices have a similar issue to Rockchip dwmmc devices,
where performing DMA to SRAM later causes issues with suspend/resume.
Allow us to toggle SDMA in SPL for sdhci similar to ADMA support, so we
can ensure DMA is not used when loading the SRAM code.
The device tree sdhci node reference the TMCLK_EMMC clock, add limited
support this clock to rk3588 cru driver. Fixes probe of sdhci driver.
Signed-off-by: Jonas Karlman
---
v2:
- No change
drivers/clk/rockchip/clk_rk3588.c | 2 ++
1 file changed, 2 insertions(+)
diff --git
Hi Heinrich,
On Fri, 14 Apr 2023 at 02:39, Heinrich Schuchardt
wrote:
>
> Without CONFIG_EFI_CAPSULE_AUTHENTICATE=y the following tests are skipped:
>
> * test/py/tests/test_efi_capsule/test_capsule_firmware_signed_fit.py
> * test/py/tests/test_efi_capsule/test_capsule_firmware_signed_raw.py
>
>
On Wed, 12 Apr 2023 at 03:43, Abdellatif El Khlifi
wrote:
>
> Add functional test cases for the FF-A support
>
> These tests rely on the FF-A sandbox emulator and FF-A
> sandbox driver which help in inspecting the FF-A communication.
>
> Signed-off-by: Abdellatif El Khlifi
> Cc: Tom Rini
> Cc:
Hi,
On Tue, 11 Apr 2023 at 04:24, Su, Bao Cheng wrote:
>
> Dear all,
>
> Any updates or new comments on this? How should I proceed?
This expands error reporting, so I think this is better than what we have.
Reviewed-by: Simon Glass
More comments below.
>
> BRs/Baocheng Su
>
> On Thu,
Hi Daniel,
On Tue, 11 Apr 2023 at 14:19, Daniel Golle wrote:
>
> On Fri, Jan 06, 2023 at 08:52:26AM -0600, Simon Glass wrote:
> > Avoid duplicating some of the escape-sequence processing here and use the
> > CLI function instead.
> >
> > Signed-off-by: Simon Glass
> > ---
> >
> > [...]
> > diff
Hi Abdellatif,
On Wed, 12 Apr 2023 at 03:43, Abdellatif El Khlifi
wrote:
>
> Add Sandbox test for the armffa command
>
> Signed-off-by: Abdellatif El Khlifi
> Reviewed-by: Simon Glass
> Cc: Tom Rini
> Cc: Simon Glass
> Cc: Ilias Apalodimas
> Cc: Jens Wiklander
>
> ---
> Changelog:
>
Hi Da,
On Fri, 7 Apr 2023 at 21:34, Da Xue wrote:
>
> On Wed, Apr 5, 2023 at 2:39 PM Simon Glass wrote:
> >
> > Hi Christian,
> >
> > On Mon, 3 Apr 2023 at 20:10, Christian Hewitt
> > wrote:
> > >
> > > > On 2 Apr 2023, at 6:41 am, Simon Glass wrote:
> > > >
> > > > Hi Mark,
> > > >
> > > >
On Mon, 17 Apr 2023 at 01:09, Heinrich Schuchardt
wrote:
>
> arch/arm/include/asm/posix_types.h and
> arch/sandbox/include/asm/posix_types.h should use different defines.
>
> Add SPDX header.
>
> Signed-off-by: Heinrich Schuchardt
> ---
> arch/sandbox/include/asm/posix_types.h | 7 ---
> 1
Hi Vladimir,
On Wed, 12 Apr 2023 at 06:45, Vladimir Zapolskiy
wrote:
>
> On 3/31/23 04:23, Konrad Dybcio wrote:
> >
> >
> > On 30.03.2023 21:47, Vladimir Zapolskiy wrote:
> >> This change adds a Qualcomm GENI SE QUP device driver as a wrapper for
> >> actually enabled and used serial devices
Hi Ashok,
On Fri, 14 Apr 2023 at 08:55, Ashok Kumar
wrote:
>
> Hi Folks,
>
>
> I am trying to build a u-boot boot-loader for my S32K344 board.
>
> Can you guys please help me, which defconf/config file is suitable for
> my S32K344 board for building a u-boot binaries?
If you look in MAINTAINERS
Hi Tom,
On Wed, 12 Apr 2023 at 17:03, Simon Glass wrote:
>
> Hi Tom,
>
> On Sun, 9 Apr 2023 at 18:07, Tom Rini wrote:
> >
> > On Sun, Apr 09, 2023 at 08:18:31AM +1200, Simon Glass wrote:
> > > Hi Tom,
> > >
[..]
> > > > Because that's the key here, on the 564 platforms that use
> > > >
Hi,
+Heinrich Schuchardt +Heiko Schocher
On Thu, 13 Apr 2023 at 08:58, skyo...@126.com wrote:
>
> Hello,
> I would like to ask whether i2c-over-hid is not supported under u-boot at
> present. At present, we have this development need. I would like to ask
> whether it is feasible to
On Mon, 17 Apr 2023 at 03:12, Abdellatif El Khlifi
wrote:
>
> make readq return unsigned long
>
> readq should return 64-bit data
>
> Signed-off-by: Abdellatif El Khlifi
> ---
> arch/sandbox/cpu/cpu.c| 2 +-
> arch/sandbox/include/asm/io.h | 2 +-
> 2 files changed, 2 insertions(+), 2
Hi Neuber,
On Mon, 10 Apr 2023 at 14:59, Neuber Sousa wrote:
>
> https://stackoverflow.com/questions/71073386/reading-file-would-overwrite-reserved-memory-failed-to-load-hello-world-bin
>
> Hi,
>
> I had this issue last year and I solved it via device tree. However, I used
> Yocto hardknott and
Hi Filip,
On Tue, 11 Apr 2023 at 14:24, Filip Žaludek wrote:
>
>
>
> On 2/8/23 20:01, Mark Kettenis wrote:
> >> Date: Wed, 8 Feb 2023 19:45:36 +0100
> >> From: Michal Suchánek
> >>
> >> Hello,
> >>
> >> On Wed, Jan 18, 2023 at 05:01:12PM +0100, Filip Žaludek wrote:
> >>>
> >>>
> >>> Hi Michal,
Hi Abdellatif,
On Wed, 12 Apr 2023 at 03:43, Abdellatif El Khlifi
wrote:
>
> Emulate Secure World's FF-A ABIs and allow testing U-Boot FF-A support
>
> Features of the sandbox FF-A support:
>
> - Introduce an FF-A emulator
> - Introduce an FF-A device driver for FF-A comms with emulated Secure
On Tue, 11 Apr 2023 at 06:55, Bin Meng wrote:
>
> On Tue, Apr 11, 2023 at 7:23 PM Christian Gmeiner
> wrote:
> >
> > The non DM code path already would enable pci bus mastering. Do the
> > same for the DM code path.
> >
> > Fixes AHCI problems I am seeing on an Intel Apollolake device.
> >
> >
On 4/18/23 20:20, Ralph Siemsen wrote:
The -l-e-constant flag has been deprecated since 2012. [1]
Use the recommended replacement instead.
[1] https://sourceforge.net/p/srecord/code/ci/1.59.D009/
Signed-off-by: Ralph Siemsen
I'm afraid this needs some backward compatibility sreccat version
Hi Rasmus,
On Wed, 12 Apr 2023 at 05:05, Rasmus Villemoes
wrote:
>
> On 19/03/2023 20.29, Simon Glass wrote:
> > Hi Rasmus,
> >
> > On Sun, 19 Mar 2023 at 13:34, Rasmus Villemoes
> > wrote:
> >>
> >> On 18/03/2023 21.20, Simon Glass wrote:
> >>
>
> Now, the only way to be really sure
On Sun, 9 Apr 2023 at 07:01, Alexander Shirokov wrote:
>
> In the 'mmc write' command example, it writes 16 blocks (0x10). But the
> output contains 256 (0x100) blocks. This patch fixes the mismatch.
>
> Signed-off-by: Alexander Shirokov
> ---
> doc/usage/cmd/mmc.rst | 2 +-
> 1 file changed, 1
On Wed, 12 Apr 2023 at 05:24, John Keeping wrote:
>
> Commit aeb40f1166 ("tools: env: use /run to store lockfile") updated the
> path to the lockfile but did not update the documentation to match.
>
> Use the new path in the documentation.
>
> Fixes: aeb40f1166 ("tools: env: use /run to store
On Wed, 12 Apr 2023 at 13:05, Pavel Skripkin wrote:
>
> Guide shows incorrect usage of proftool, which is confusing. If proftool
> is used w/o '-o' argument it complains like following
>
> $ ./sandbox/tools/proftool -m sandbox/System.map -t trace dump-ftrace >
> trace.dat
> Must provide trace
On Wed, 12 Apr 2023 at 12:55, Pavel Skripkin wrote:
>
> Currently doing 'reset' command in sandbox with tracing enabled causes
> SIGSEV
>
> ```
> Hit any key to stop autoboot: 0
> =>
> =>
> => reset
> resetting ...
> Segmentation fault (core dumped)
>
> ```
>
> Tracing callback uses RAM buffer
Hi Sean,
On Mon, 10 Apr 2023 at 18:03, Sean Edmond
wrote:
>
>
> On 2023-04-07 11:55 a.m., Simon Glass wrote:
> > Hi Sean,
> >
> > On Fri, 7 Apr 2023 at 18:56, wrote:
> >> From: Sean Edmond
> >>
> >> Adds commands to support DHCP and PXE with IPv6.
> >>
> >> New configs added:
> >> - CMD_DHCP6
Hi Mattijs,
On Tue, 28 Mar 2023 at 08:18, Mattijs Korpershoek
wrote:
>
> On mar., mars 28, 2023 at 08:07, Simon Glass wrote:
>
> > Use IS_ENABLED() instead for all conditions. Add the 'lba48' flag into
> > struct blk_desc always, since it uses very little space. Use a bool so
> > the meaning is
On Wed, 12 Apr 2023 at 03:43, Abdellatif El Khlifi
wrote:
>
> provide a test case
>
> Signed-off-by: Abdellatif El Khlifi
> Cc: Simon Glass
>
> ---
> Changelog:
> ===
>
> v11:
>
> * use ut_asserteq_mem()
>
> MAINTAINERS | 5 +
> test/lib/Makefile | 1 +
>
Hi Neuber,
On Sun, 9 Apr 2023 at 07:02, neuber sousa wrote:
>
> https://stackoverflow.com/questions/71073386/reading-file-would-overwrite-reserved-memory-failed-to-load-hello-world-bin
>
>
> Hi,
>
> I had this issue last year and I solved it via device tree. However, I
> used Yocto hardknott and
On Wed, 12 Apr 2023 at 10:10, wrote:
>
> From: Ehsan Mohandesi
>
> Test router advertisement validation and processing functions.
>
> Signed-off-by: Ehsan Mohandesi
> ---
> test/dm/eth.c | 88
> +++
> 1 file changed, 88 insertions(+)
Hi Eugen,
On 2023-04-17 11:19, Eugen Hristev wrote:
> From: Joseph Chen
>
> Add the node for pciE 2x1l 2 device together with the corresponding
> combphy.
>
> Signed-off-by: Joseph Chen
> [eugen.hris...@collabora.com: moved to -u-boot.dtsi, minor
> adaptations]
> Signed-off-by: Eugen Hristev
Hi Rasmus,
On Thu, 13 Apr 2023 at 09:17, Rasmus Villemoes
wrote:
>
> There's quite a few instances of board-specific code doing
>
> off = fdt_path_offset(gd->fdt_blob, ...);
> ...
> ret = uclass_get_device_by_of_offset(..., off, );
>
> looking for an eeprom or a pmic via some alias. Such
Hi Tony,
On Mon, 3 Apr 2023 at 15:42, 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 Svyatoslav,
On Wed, 12 Apr 2023 at 13:50, Svyatoslav Ryhel wrote:
>
> Nexus 7 is a mini tablet computer co-developed by Google and Asus
> that runs the Android operating system. The Nexus 7 features a 7"
> display, an Nvidia Tegra 3 quad-core chip, 1 GB of RAM and 8/16 GB
> of internal
On Thu, 13 Apr 2023 at 09:16, Rasmus Villemoes
wrote:
>
> The functions uclass_find_device_by_phandle() and
> uclass_get_device_by_phandle_id() both loop over a given uclass
> looking for a device with a given phandle. Factor that out to a common
> helper.
>
> For now, there are no (known
On 4/18/23 16:32, Ralph Siemsen wrote:
On Mon, Apr 17, 2023 at 4:21 PM Marek Vasut wrote:
On 4/17/23 20:26, Ralph Siemsen wrote:
On Mon, Apr 17, 2023 at 07:04:15PM +0200, Marek Vasut wrote:
You could send this patch as a separate one.
In fact I did that almost a year ago:
Thanks, Svyatoslav.
I do all my testing on top of TOT u-boot-tegra/master, as that's what I'll use
to send a PR to TomR. Before I apply any patches, I usually sync to TOT
u-boot/master, via 'git rebase', then apply the patches, then build/test.
But in this case, rebasing to TOT u-boot/master
On Tuesday 18 April 2023 10:47:38 Fabio Estevam wrote:
> From: Eduard Strehlau
>
> GPT Partition labels are used for determining the right
> root filesystem to boot from.
>
> The U-Boot environment is configured to reside in the eMMC hardware
> boot partition we are currently booted from.
>
>
Hi Rick,
On Mon, 10 Apr 2023 at 01:26, Rick Chen wrote:
>
> Allow U-Boot to load 32 or 64 bits RISC-V Kernel Image
> distinguishly. It helps to avoid someone maybe make a mistake
> to run 32-bit U-Boot to load 64-bit kernel.
>
> Signed-off-by: Rick Chen
>
> ---
> The patchset is based on
Hi Bin,
On Thu, 23 Mar 2023 at 11:55, Simon Glass wrote:
>
> Hi Bin,
>
> On Tue, 21 Mar 2023 at 14:25, Bin Meng wrote:
> >
> > Hi Simon,
> >
> > On Tue, Mar 21, 2023 at 2:40 AM Simon Glass wrote:
> > >
> > > Hi Bin,
> > >
> > > On Mon, 20 Mar 2023 at 19:32, Bin Meng wrote:
> > > >
> > > > Hi
Hi,
On Fri, 14 Apr 2023 at 07:53, Michal Simek wrote:
>
>
>
> On 4/10/23 06:25, Jassi Brar wrote:
> > On Wed, 29 Mar 2023 at 15:02, Simon Glass wrote:
> >>
> >> Hi,
> >>
> >> On Tue, 28 Mar 2023 at 10:16, wrote:
> >>>
> >>> From: Masami Hiramatsu
> >>>
> >>> Add 'mkfwumdata' tool to generate
Hi Heinrich,
On Fri, 14 Apr 2023 at 02:34, Heinrich Schuchardt
wrote:
>
> Fix pylint warnings like:
>
> * Class inherits from object
> * Missing module description
> * Missing class description
> * First line of comment blank
> * Superfluous imports
>
> Signed-off-by: Heinrich Schuchardt
> ---
Hi,
On Wed, 12 Apr 2023 at 10:10, wrote:
>
> From: Ehsan Mohandesi
>
> Test the IPv6 network discovery feature if indicated by boardenv file.
>
> Signed-off-by: Ehsan Mohandesi
>
> Conflicts:
> configs/sandbox64_defconfig
> configs/sandbox_defconfig
>
Hi Bin,
On Sun, 26 Mar 2023 at 22:16, Simon Glass wrote:
>
> This series includes some patches generated while getting U-Boot to boot
> more nicely on Brya, an Adler Lake Chromebook.
>
> This includes:
> - show the ACPI tables with 'acpi list'
> - get the UART to work even if coreboot doesn't
Hi Antonio,
+Alex Graf
+Heinrich Schuchardt
On Fri, 14 Apr 2023 at 08:55, Antonio Murdaca wrote:
>
> Hi, this patch set applies cleanly on 2023.01 and solves the issue on the
> rockpro64 where the grub would take forever to draw on the screen.
Could we get some tests added for this so we can
Hi Peter,
On Sun, 2 Apr 2023 at 14:29, Simon Glass wrote:
>
> This series moves Raspberry Pi boards over to use standard boot.
>
> It also moves rpi over to use a text-based environment. Unfortunately it
> is not possible to empty the header file due to several CFG options.
>
> Fix the repeated
Hi Nikhil,
On Mon, 10 Apr 2023 at 02:21, Nikhil M Jain wrote:
>
> Add method to remove video driver before loading u-boot proper. When
> bootstage changes from SPL to u-boot proper, noo method is called to
> remove video driver, and at u-boot proper if video driver is not
> enabled, the video
Hi Abdellatif,
On Wed, 12 Apr 2023 at 03:43, Abdellatif El Khlifi
wrote:
>
> Provide armffa command showcasing the use of the U-Boot FF-A support
>
> armffa is a command showcasing how to invoke FF-A operations.
> This provides a guidance to the client developers on how to
> call the FF-A bus
Hi Abdellatif,
On Wed, 12 Apr 2023 at 03:43, Abdellatif El Khlifi
wrote:
>
> Add Arm FF-A support implementing Arm Firmware Framework for Armv8-A v1.0
>
> The Firmware Framework for Arm A-profile processors (FF-A v1.0) [1]
> describes interfaces (ABIs) that standardize communication
> between
Hi Abdellatif,
On Wed, 12 Apr 2023 at 03:43, Abdellatif El Khlifi
wrote:
>
> Add MM communication support using FF-A transport
>
> This feature allows accessing MM partitions services through
> EFI MM communication protocol. MM partitions such as StandAlonneMM
> or smm-gateway secure partitions
Hi Rasmus,
On Fri, 3 Mar 2023 at 03:25, Rasmus Villemoes
wrote:
>
> On imx8mp, binman is heavily used for the assembling of all the various
> pieces. Partly for my own future reference:
>
> There's u-boot-spl-ddr which is u-boot-spl.bin with the DDR firmware
> blobs tacked on at the end, and the
Hi Rasmus,
On Mon, 1 Aug 2022 at 07:13, Rasmus Villemoes
wrote:
>
> On 31/07/2022 15.28, Tom Rini wrote:
> > On Sat, Jul 30, 2022 at 07:27:26PM -0600, Simon Glass wrote:
> >> Hi Tom,
> >>
>
> >> Shall I pick it up for the upcoming release?
> >
> > I don't think we should pick up the revert as I
Hi Masahisa,
On Mon, 10 Apr 2023 at 03:07, Masahisa Kojima
wrote:
>
> This test covers FMP versioning for both raw and FIT image,
> and both signed and non-signed capsule update.
>
> Signed-off-by: Masahisa Kojima
> ---
> Changes in v5:
> - get aligned to the device tree based versioning
>
>
On Wed, 12 Apr 2023 at 12:49, Dmitrii Merkurev wrote:
>
> Introduce reboot, boot and continue commands support to
> TCP fastboot by moving existing UDP logic into the common module.
>
> Signed-off-by: Dmitrii Merkurev
> Cc: Ying-Chun Liu (PaulLiu)
> Cc: Simon Glass
> Сс: Joe Hershberger
> Сс:
Move return type to phys_size_t instead of plain unsigned long.
Signed-off-by: Nuno Sá
---
v2:
* new patch.
drivers/mtd/cfi_flash.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_flash.c
index 47a48d927201..9c030de3afef
On Mon, Apr 17, 2023 at 4:21 PM Marek Vasut wrote:
>
> On 4/17/23 20:26, Ralph Siemsen wrote:
> > On Mon, Apr 17, 2023 at 07:04:15PM +0200, Marek Vasut wrote:
> >> You could send this patch as a separate one.
> >
> > In fact I did that almost a year ago:
> >
The original function was only called once, before relocation. The new
one is called again after relocation. This was not the intend of the
original call. Fix this by renaming and updating the calling logic.
With this, chromebook_link64 makes it through SPL.
Fixes: 7fe32b3442f ("event: Convert
The 'tiny' SPI nor functions have the same name as their big brothers,
which can be confusing. Use different names so it is clear which
version is in the image.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/mtd/spi/spi-nor-tiny.c | 16
1 file changed, 8
The bd82x6x_get_gpio_base() does not work if the LPC is not set up.
Probe it early to avoid this problem.
In chromebook_link64 this propblem shows up as an inability to read
the GPIO straps for the memory type.
Signed-off-by: Simon Glass
---
(no changes since v1)
Allow symbol writing in these cases so that U-Boot can find the position
and size of U-Boot at runtime.
Signed-off-by: Simon Glass
---
(no changes since v1)
tools/binman/etype/u_boot_spl_with_ucode_ptr.py | 2 +-
tools/binman/etype/u_boot_tpl_with_ucode_ptr.py | 2 +-
This rearrange and remove duplicate defines to make the code cleaner.
There is no need to read vendor area1 and use an offset each time, it is
easier and clearer to just use the reg offset defined in TRM, same as
the other vendor regs.
This also removes use of the misspelled const for the RK3588
Change to configure clock and DLL in set_clock and config_dll ops
instead of in the set_ios_post ops.
With this change the output clock is turned off while configuring DLL
parameters, according to the design recommendations.
Signed-off-by: Jonas Karlman
---
v2:
- No change
Remove empty implementations of get_phy and set_enhanced_strobe ops.
Change driver set_enhanced_strobe to return 0 in order to allow missing
implementation of the ops.
Signed-off-by: Jonas Karlman
---
v2:
- No change
drivers/mmc/rockchip_sdhci.c | 14 +-
1 file changed, 1
Check return value from mmc_send_cmd and clear HOST_CONTROL2 when there
is an error. Also skip enable of interrupt signaling and remove a delay,
a delay is already happening in sdhci_send_command.
Signed-off-by: Jonas Karlman
---
v2:
- No change
drivers/mmc/rockchip_sdhci.c | 35
Refactor set_ios_post ops to correctly set UHS Speed Select field values
according to TRM. Also set or unset Enhanced Strobe Enable bit and
eMMC Card present bit in set_ios_post, the Enhanced Strobe Enable bit
was never unset after switching to HS400ES mode.
Signed-off-by: Jonas Karlman
---
v2:
Add support for the set_clock and config_dll sdhci_ops. Use of these ops
will allow configuration of DLL while the output clock is disabled.
Signed-off-by: Jonas Karlman
---
v2:
- No change
drivers/mmc/rockchip_sdhci.c | 29 +++--
1 file changed, 27 insertions(+), 2
Hi
On 4/18/23 13:53, Marek Vasut wrote:
> On 4/18/23 13:49, Fabio Estevam wrote:
>> Hi Patrice and Marek,
>>
>> On Tue, Apr 18, 2023 at 4:22 AM Patrice CHOTARD
>> wrote:
>>
Isn't the regulator enable/disable refcounted ?
>>>
>>> There is no refcount on regulator that's why we let regulator
With tiny SPI flash the erasesize is 0 which can cause a divide-by-zero
error. Check for this and returns a proper error instead.
Signed-off-by: Simon Glass
---
(no changes since v1)
drivers/mtd/spi/sf_probe.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
Hi
On Tue, Apr 18, 2023 at 8:20 PM Mikhail Kshevetskiy
wrote:
>
> I can try to resend patches (flash drivers synced with linux-6.1).
> Unfortunately I am not sure I will be able to do it after changes in our
> mail system.
I don't think that re-sync now is what we want to do. The idea here is
The device private data is misused in rockchip_sdhci_of_to_plat and
rockchip_sdhci_execute_tuning.
In these functions dev_get_priv is assigned to struct sdhci_host:
struct sdhci_host *host = dev_get_priv(dev);
Instead, the sdhci host should refer to host in struct rockchip_sdhc:
struct
Remove the unneeded emmc_phy_init now that the no-inverter flag is
handled correctly after commit 2321a991bbb5 ("rockchip: sdhci: rk3568:
bypass DLL when clk <= 52 MHz").
Signed-off-by: Jonas Karlman
---
v2:
- No change
drivers/mmc/rockchip_sdhci.c | 26 --
1 file
Set correct UHS Mode Select field value for UHS SDR25 (50MHz) mode.
Fixes: d1c0a2200afb ("mmc: sdhci: Add support for HOST_CONTROL2 and setting UHS
timings")
Signed-off-by: Jonas Karlman
---
v2:
- No change
drivers/mmc/sdhci.c | 4
1 file changed, 4 insertions(+)
diff --git
The -l-e-constant flag has been deprecated since 2012. [1]
Use the recommended replacement instead.
[1] https://sourceforge.net/p/srecord/code/ci/1.59.D009/
Signed-off-by: Ralph Siemsen
---
arch/arm/mach-rmobile/Makefile | 48 +-
1 file changed, 24
On 4/18/23 15:59, Patrick Delaunay wrote:
Device tree alignment with Linux kernel v6.3-rc3:
- ARM: dts: stm32: add i2c nodes into stm32mp131.dtsi
- ARM: dts: stm32: enable i2c1 and i2c5 on stm32mp135f-dk.dts
- ARM: dts: stm32: add spi nodes into stm32mp131.dtsi
- ARM: dts: stm32: add pinctrl and
On Mon, Apr 17, 2023 at 06:13:18PM +0530, Sughosh Ganu wrote:
> On Thu, 13 Apr 2023 at 19:43, Chris Morgan wrote:
> >
> > From: Chris Morgan
> >
> > Add a node for the trng found on RK3588 SoCs.
> >
> > Changes in V3:
> > - Added Reviewed-By tag.
> >
> > Changes in V2:
> > - None
> >
> >
hi,
On 4/13/23 11:22, Kever Yang wrote:
On 2023/4/8 17:11, FUKAUMI Naoki wrote:
compared to ROCK Pi 4B,
- ROCK Pi 4A: without Wi-Fi/BT
- ROCK Pi 4A+: with OP1, without Wi-Fi/BT
- ROCK Pi 4B+: with OP1
It will be better to re-use one defconfig all the board in one series,
the peripheral
Qu Wenruo wrote on Tue, Apr 18, 2023 at 09:58:37AM +0800:
> The subject can be changed to "btrfs: fix offset when reading compressed
> extents".
> The original one is a little too generic.
Ok.
> > btrfs_file_read()
> > -> btrfs_read_extent_reg
> > (aligned part loop from 0x4048 to
flash_get_size() will get the flash size from the device itself and go
through all erase regions to read protection status. However, the device
mappable region (eg: devicetree reg property) might be lower than the
device full size which means that the above cycle will result in a data
bus
;fs: btrfs: Introduce btrfs_read_extent_inline() and
btrfs_read_extent_reg()")
Signed-off-by: Dominique Martinet
---
Changes in v2:
- Keep offset decomposition explicit where it is used
- Add reproducer/clarify explanation in commit message
- Drop other patches temporarily
- Link to v1:
https
This series fixes eMMC HS400 modes on RK3568 and add support for RK3588.
It has been tested with rock-3a-rk3568/rock5b-rk3588 defconfig and
CONFIG_MMC_HS200_SUPPORT=y
CONFIG_MMC_HS400_SUPPORT=y
CONFIG_MMC_HS400_ES_SUPPORT=y
CONFIG_MMC_SPEED_MODE_SET=y
using the following command to
Set High Speed Enable bit for MMC High Speed (52MHz) mode.
Fixes: f12341a95295 ("mmc: sdhci: Fix HISPD bit handling")
Signed-off-by: Jonas Karlman
---
v2:
- No change
drivers/mmc/sdhci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
index
I can try to resend patches (flash drivers synced with linux-6.1).
Unfortunately I am not sure I will be able to do it after changes in our
mail system.
Mikhail Kshevetskiy
On 18.04.2023 16:48, Michael Nazzareno Trimarchi wrote:
> [External email]
>
>
>
>
>
> Hi Frieder
>
> On Tue, Apr 18, 2023
Dominique Martinet wrote on Tue, Apr 18, 2023 at 12:53:35PM +0900:
> Ok, there is one exception for inline extents apparently.. But I'm not
> still not convinced the `aligned_start != file_offset` check is enough
> for that either; I'd say it's unlikely but the inline part can be
> compressed, so
Qu Wenruo wrote on Tue, Apr 18, 2023 at 11:21:00AM +0800:
> > No, was just thinking the leading part being a separate loop doesn't
> > seem to make sense either as the code shouldn't care about sector size
> > alignemnt but about full extents.
>
> The main concern related to the leading unaligned
Qu Wenruo wrote on Tue, Apr 18, 2023 at 10:02:00AM +0800:
> > /* Read the tailing unaligned part*/
>
> Can we remove this part completely?
>
> IIRC if we read until the target end, the unaligned end part can be
> completely removed then.
The "Read the aligned part" loop stops at
Qu Wenruo wrote on Tue, Apr 18, 2023 at 10:53:41AM +0800:
> > I have a feeling the loop could just be updated to go to the end
> > `while (cur < end)` as it doesn't seem to care about the end
> > alignment... Should I update v2 to do that instead?
>
> Yeah, it would be very awesome if you can
Qu Wenruo wrote on Tue, Apr 18, 2023 at 10:04:56AM +0800:
> > This is a theorical fix only and hasn't been tested on a file that
> > actually runs this code path.
>
> IIRC there is a memset() at the very beginning of btrfs_file_read() to set
> the whole dest memory to zero.
Right, sorry.
I'll
For now, just enable the fast-but-large string functions in 32-boot
U-Boot proper only. Avoid using them in SPL. We cannot use then in 64-bit
builds since we only have 32-bit assembly.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/include/asm/string.h | 6 +-
SPL printf() does not normally support %#x so just use %x instead. Hex is
expected in U-Boot anyway.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/lib/mrccache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/lib/mrccache.c
The debug UART is already set up in SPL, so there is no need to do
anything here. We must provide the (empty) function though.
Signed-off-by: Simon Glass
---
(no changes since v1)
arch/x86/cpu/x86_64/cpu.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/x86/cpu/x86_64/cpu.c
This adds a lot of code so that it cannot be build with the binary
blobs. It is not used on this board. Drop it.
Signed-off-by: Simon Glass
---
(no changes since v1)
configs/chromebook_samus_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/chromebook_samus_defconfig
1 - 100 of 200 matches
Mail list logo