Added the memory entry to bootup.
Signed-off-by: Aswin Murugan
---
v2:
- No changes to this patch in v2
---
arch/arm/dts/qcs615-ride-u-boot.dtsi | 14 ++
1 file changed, 14 insertions(+)
create mode 100644 arch/arm/dts/qcs615-ride-u-boot.dtsi
diff --git a/arch/arm/dts/qcs615-ride-u
Introduce a defconfig for QCS615 based boards.
Signed-off-by: Aswin Murugan
---
v2:
- No changes to this patch in v2
---
configs/qcom_qcs615_defconfig | 22 ++
1 file changed, 22 insertions(+)
create mode 100644 configs/qcom_qcs615_defconfig
diff --git a/configs/qcom_qcs615
These patches introduce the initial support code needed
for the Qualcomm QCS615 SoC IQ6 based Platform.
Please see [1] for SoC related details
Thanks
Aswin
1 -
https://docs.qualcomm.com/bundle/publicresource/87-83838-1_REV_A_Qualcomm_IQ6_Series_Product_Brief.pdf
Signed-off-by: Aswin Murugan
-
Enable the QCS615 clock driver in Qualcomm defconfig.
Signed-off-by: Aswin Murugan
---
v2:
- No changes to this patch in v2
---
configs/qcom_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig
index b8399701da0..8510828824f 100644
--- a/c
Port Linux's gcc-qcs615.c driver to U-Boot for basic bring-up.
Reviewed-by: Neil Armstrong
Signed-off-by: Aswin Murugan
---
Changes in v2:
- Replaced the "1" with BIT(0) in GATE_CLK()
---
drivers/clk/qcom/Kconfig| 8 ++
drivers/clk/qcom/Makefile | 1 +
drivers/clk/qcom/clock-q
Enable QMP phy for QCS615, referenced from Linux.
Reviewed-by: Neil Armstrong
Signed-off-by: Aswin Murugan
---
v2:
- No changes to this patch in v2
---
drivers/phy/qcom/phy-qcom-qmp-ufs.c | 127
1 file changed, 127 insertions(+)
diff --git a/drivers/phy/qcom/phy-qc
On Sat, May 17, 2025 at 09:28:00PM +, OMAP at BSF wrote:
> * Converted to using DM_I2C.
> * New config file for xM.
> * Run 'patman' on patches.
> * Use upstream device tree files.
>
> Signed-off-by: Steven Hill
> ---
> v2: Use upstream device trees.
> v3: No change.
> v4: Update name in MAIN
On 2025/5/20 19:36, Lukasz Czechowski wrote:
Update the definition of _debug_uart_putc to static inline.
This matches the instructions in include/debug_uart.h and
provides consistency with implementations for other platforms.
Signed-off-by: Lukasz Czechowski
Reviewed-by: Kever Yang
Thanks,
On 2025/5/20 19:36, Lukasz Czechowski wrote:
Update definition of _debug_uart_putc to static inline.
This will allow to avoid compilation warnings about unused code
after introduction of patch changing debug uart functions to
dummies if CONFIG_DEBUG_UART is not set.
This also matches the instru
On 2025/5/20 19:36, Lukasz Czechowski wrote:
In case DEBUG UART is not used, define dummy macros replacing
the actual function implementations that will not be available.
This allows to compile code and avoid linker errors.
Redefine the DEBUG_UART_FUNCS macro if DEBUG UART is not available,
to
> Subject: [PATCH] mmc: am654_sdhci: Clear UHS_MODE_SELECT when
> < MMC_HS_52
>
> This clears UHS_MODE_SELECT for timing modes < MMC_HS_52.
>
> When initializing to HS400 mode, the host controller downgrades to
> non-uhs modes so clear UHS_MODE_SELECT at modes < MMC_HS_52.
Typo: '<' -> '<='
On Tue, 2025-05-20 at 11:09 +0200, Emanuele Ghidoli wrote:
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
>
>
> From: Emanuele Ghidoli
>
> The kernel added new size definitions and substituted the
> boilerplate/reference to
Currently there is a bug in u-boot Ext4 filesystem driver that causes a
"read outside partition" error. This bug only shows when the HDD is
greater than 2TB in capacity (i.e. driver using uint64 lbaint_t). But all
users will see is u-boot silently failed to read the HDD file system
directory.
Fo
Log the error if fs_devread() fails when trying to reading outside
partition. This will make bug reporting easier.
Signed-off-by: Tony Dinh
---
fs/fs_internal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/fs_internal.c b/fs/fs_internal.c
index ab4847ac257..ff27c564efc
This clears UHS_MODE_SELECT for timing modes < MMC_HS_52.
When initializing to HS400 mode, the host controller downgrades to non-uhs
modes so clear UHS_MODE_SELECT at modes < MMC_HS_52.
This fixes eMMC writes on j7200 EVM.
Fixes: 6067aa66b3bb ("mmc: am654_sdhci: Add am654_sdhci_set_control_reg")
When building with only bootz command, without bootm, images pointer
inside bootm_info structure is not initialized. And since this structure
is stored in stack, the generated error is kind of random, but most of
the time this will generate: "ramdisk - allocation error".
Also, after analysis, this
Le Mon, May 19, 2025 at 03:06:08PM -0600, Tom Rini a écrit :
> Good catch. This should also get a:
> Fixes: c2211ff65136 ("bootm: Add more fields to bootm_info")
Thank you for the review.
I am preparing a v2 of this patch.
> And after reading the code and grepping around more, I think we should
>
On 5/20/25 15:25, George Chan via B4 Relay wrote:
From: George Chan
Add basic compatible string for sc7180 family soc.
Signed-off-by: Vitalii Skorkin
Co-developed-by: George Chan
Signed-off-by: George Chan
Reviewed-by: Casey Connolly
---
drivers/iommu/qcom-hyp-smmu.c | 1 +
1 fil
This will allow arch(s) that use device tree blobs to pad the end of the
device tree so they can be modified by board files at run time. This will
help prevent errors such as FDT_ERR_NOSPACE from occuring.
Signed-off-by: Eric Schikschneit
---
arch/Kconfig | 7 +++
arch/arc/
Hi Dario
On Tue, May 20, 2025 at 5:07 PM Dario Binacchi
wrote:
>
> From: Michael Trimarchi
>
> When using SPL on i.mx6 we frequently notice some DDR initialization
> mismatches between the SPL code and the non-SPL code.
>
> As the non-SPL code have been tested for long time and proves to be
> re
On Tue, May 20, 2025 at 9:53 AM Olaf Baehring wrote:
>
> In rare cases U-Boot returns an error message when intantiating the RNG
> of the CAAM device:
> “SEC0: RNG4 SH0 instantiation failed with error 0x”
> This means, that even when the CAAM device reports a finished
> descriptor, none
From: Simon Holesch
Calibration values were calculated using the NXP tool
I.MX6ULL_DDR3_Script_Aid_V0.01.xlsx
Signed-off-by: Wolfgang Birkner
Signed-off-by: Simon Holesch
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
Changes in v2:
- Use standard C comment style
boar
From: Michael Bode
A small delay between DRAM read access with wrong parameters and
reconfiguration is necessary.
Without a delay between DRAM read access and a following reconfiguration
this reconfiguration fails for certain DRAM chips (Nanya).
Signed-off-by: Michael Bode
Signed-off-by: Michae
From: Michael Bode
Calibration values were calculated using the NXP tool
I.MX6ULL_DDR3_Script_Aid_V0.01.xlsx
Signed-off-by: Michael Bode
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
Changes in v2:
- Use standard C comment style
board/bsh/imx6ulz_smm_m2/Makefile
From: Michael Trimarchi
When using SPL on i.mx6 we frequently notice some DDR initialization
mismatches between the SPL code and the non-SPL code.
As the non-SPL code have been tested for long time and proves to be
reliable, let's configure the DDR in the exact same way as the non-SPL
case.
The
Commits [1] and [2] broke the booting of the BSH SMM S2 board. The
patches in this series restore proper booting.
[1] 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options")
[2] dda454e933c6 ("serial: mxc: Support bulk enabling clocks")
Changes in v3:
- Drop patch 4/4 "serial: mxc: restore bo
On 20/05/2025 16:25, George Chan via B4 Relay wrote:
From: George Chan
Currently vendor/product id are both 0, and that might not as we want.
Set to some arbitary known value that we can make it work more smoothly.
Signed-off-by: George Chan
---
drivers/usb/gadget/Kconfig | 2 ++
1 file ch
On Tue, May 20, 2025 at 10:25:58PM +0800, George Chan via B4 Relay wrote:
> From: George Chan
>
> If target u-boot img do not support androidboot v3 or greater,
> abootimg might not be necessary.
>
> aarch64-linux-gnu-ld.bfd: boot/bootmeth_android.o: in function
> `boot_android_normal':
> /hom
On Tue, May 20, 2025 at 10:25:56PM +0800, George Chan via B4 Relay wrote:
> From: George Chan
>
> Control how default bootargs is prepended or postpended to boot param found
> from androidboot img.
>
> Signed-off-by: George Chan
> ---
> boot/Kconfig | 8
> boot/image-android.
On Tue, 20 May 2025 23:33:36 +0800, Peng Fan wrote:
> Please pull mmc-2025-05-20
>
> -
> Fix mmc cv1800b build without MMC_SUPPORTS_TUNING
> -
>
> CI: https://source.denx.de/u-boot/custodians/u-boot-m
From: George Chan
Currently vendor/product id are both 0, and that might not as we want.
Set to some arbitary known value that we can make it work more smoothly.
Signed-off-by: George Chan
---
drivers/usb/gadget/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/gadget/K
insertions(+), 3 deletions(-)
---
base-commit: 126a88d49bcae04bbfc0d6723097cd6341355ade
change-id: 20250520-sc7180-android-boot-a845ecf48a48
Best regards,
--
George Chan
From: George Chan
Control how default bootargs is prepended or postpended to boot param found
from androidboot img.
Signed-off-by: George Chan
---
boot/Kconfig | 8
boot/image-android.c | 10 --
2 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/boot/Kcon
From: George Chan
If target u-boot img do not support androidboot v3 or greater,
abootimg might not be necessary.
aarch64-linux-gnu-ld.bfd: boot/bootmeth_android.o: in function
`boot_android_normal':
/home/user/sources/u-boot-next/boot/bootmeth_android.c:541:(.text.boot_android_normal+0xd0):
u
From: George Chan
Add basic compatible string for sc7180 family soc.
Signed-off-by: Vitalii Skorkin
Co-developed-by: George Chan
Signed-off-by: George Chan
---
drivers/iommu/qcom-hyp-smmu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/iommu/qcom-hyp-smmu.c b/drivers/iommu/qcom
Hi Tom,
Please pull mmc-2025-05-20
-
Fix mmc cv1800b build without MMC_SUPPORTS_TUNING
-
CI: https://source.denx.de/u-boot/custodians/u-boot-mmc/-/pipelines/26241
Thanks,
Peng
The following changes
From: Peng Fan
On Sun, 27 Apr 2025 23:46:19 +0200, Alexander Sverdlin wrote:
> That's how it looks like without CONFIG_MMC_SUPPORTS_TUNING before the
> patch:
>
> aarch64-buildroot-linux-gnu-ld.bfd: drivers/mmc/cv1800b_sdhci.o: in function
> `cv1800b_execute_tuning':
> drivers/mmc/cv1800b_sdhc
On Tue, May 20, 2025 at 01:36:40PM +0200, Lukasz Czechowski wrote:
> Update definition of _debug_uart_putc to static inline.
> This will allow to avoid compilation warnings about unused code
> after introduction of patch changing debug uart functions to
> dummies if CONFIG_DEBUG_UART is not set.
>
On Tue, May 20, 2025 at 01:36:39PM +0200, Lukasz Czechowski wrote:
> Update the definition of _debug_uart_putc to static inline.
> This matches the instructions in include/debug_uart.h and
> provides consistency with implementations for other platforms.
>
> Signed-off-by: Lukasz Czechowski
Revi
On Tue, May 20, 2025 at 02:35:53PM +0530, Varadarajan Narayanan wrote:
> On Mon, May 19, 2025 at 08:19:05AM -0600, Tom Rini wrote:
> > On Mon, May 19, 2025 at 12:19:34PM +0530, Varadarajan Narayanan wrote:
> >
> > > From: Vandhiadevan Karunamoorthy
> > >
> > > There are code paths in do_imgextract
On Tue, May 20, 2025 at 11:09:17AM +0200, Emanuele Ghidoli wrote:
> From: Emanuele Ghidoli
>
> The kernel added new size definitions and substituted the
> boilerplate/reference to the license with a SPDX identifier.
>
> Drop a local SZ_8G definition in MediaTek MT7988 SoC board file.
>
> Signe
When parsing a FIT image source (ITS), mkimage does not currently check
whether the image names referenced in the /configurations section (e.g.
"kernel", "fdt", "ramdisk", "loadables") actually exist in the /images
node.
This patch introduces a validation step during FIT import that iterates
over
Hi all,
This series introduces a validation step in mkimage to ensure that all image
names referenced under the /configurations node of a FIT source (ITS) are
actually defined under the /images node.
### Motivation
When using mkimage to build FIT images, it's easy to mistakenly reference
nonex
Add a test case to verify that mkimage correctly rejects a FIT source
that references a non-existent image from a configuration node.
This test introduces a minimal ITS that defines a valid kernel image
but references a missing "fdt" image under the /configurations section.
The test asserts that m
Hi Dario and Michael,
On Tue, May 20, 2025 at 5:55 AM Dario Binacchi
wrote:
>
> The commit dda454e933c6 ("serial: mxc: Support bulk enabling clocks")
> breaks the booting of the BSH SMM S2 board. The analysis of the issue
> revealed memory allocation failures during the registration of UART4
> cl
The fit_handle_file() function previously returned a hardcoded -1 on
error. This change updates the logic to return the actual error code
stored in `ret`, allowing for error propagation.
This improves debuggability and enables downstream callers to
distinguish different failure causes, such as FDT
In rare cases U-Boot returns an error message when intantiating the RNG
of the CAAM device:
“SEC0: RNG4 SH0 instantiation failed with error 0x”
This means, that even when the CAAM device reports a finished
descriptor, none is found in the output ring.
This might be caused by a missing cac
Several binman FIT test device trees reference image nodes such as atf
and uboot in their /configurations sections, but those image nodes
were not actually defined in the /images node. This mismatch can lead
to validation errors when stricter consistency checks are introduced.
This patch adds mini
There is no need to have two separate API's for freeing up memory. Use
a single API lmb_free() to achieve this.
Signed-off-by: Sughosh Ganu
---
Changes since V1: None
boot/image-fdt.c| 2 +-
cmd/load.c | 2 +-
include/lmb.h | 6 ++---
lib/efi_loader
The LMB module has undergone significant changes in the recent
past. Add a document which briefly describes what the LMB module does,
and the changes that have been made to it's design since the 2025.01
release.
Signed-off-by: Sughosh Ganu
---
Changes since V1: None
doc/api/index.rst | 1
lmb_add_memory() is only called from the lmb module. Mark the function
as static.
Signed-off-by: Sughosh Ganu
Reviewed-by: Ilias Apalodimas
---
Changes since V1: None
include/lmb.h | 8
lib/lmb.c | 2 +-
2 files changed, 1 insertion(+), 9 deletions(-)
diff --git a/include/lmb.h b
There currently are two API's for requesting memory from the LMB
module, lmb_alloc() and lmb_alloc_base(). The function which does the
actual allocation is the same. Use the earlier introduced API
lmb_allocate_mem() for both types of allocation requests.
Signed-off-by: Sughosh Ganu
---
Changes si
There currently are multiple allocation API's in the LMB module. There
are a couple of API's for allocating memory(lmb_alloc() and
lmb_alloc_base()), and then there are two for requesting a reservation
for a particular memory region (lmb_reserve() and
lmb_alloc_addr()). Introduce a single API lmb_a
The LMB module has a bunch for API's which are used for allocating
memory. There are a couple of API's for requesting memory, and two
more for reserving regions of memory. Replace these different API's
with a single one, lmb_allocate_mem(). The type of allocation to be
made is specified through o
Hi,
On Tue, 06 May 2025 18:10:06 +0200, neil.armstr...@linaro.org wrote:
> This serie permits using any block device as target
> for fastboot by moving the generic block logic into
> a common set of helpers and also use them as generic
> backend.
>
> The erase logic has been extended to support s
On Tue, May 20, 2025 at 6:02 AM Dario Binacchi
wrote:
>
> From: Michael Trimarchi
>
> Now that the UART driver can enable the required clocks, remove
> the hard-coded clock enable.
>
> Signed-off-by: Michael Trimarchi
> Signed-off-by: Dario Binacchi
Thanks for the cleanup:
Tested-by: Fabio Es
On Tue, May 13, 2025 at 1:37 PM Dario Binacchi
wrote:
> +extern struct dram_timing_info bsh_dram_timing_512mb;
> extern struct dram_timing_info bsh_dram_timing_256mb;
> extern struct dram_timing_info bsh_dram_timing_128mb;
Please keep these entries sorted.
On Tue, May 13, 2025 at 1:36 PM Dario Binacchi
wrote:
> +static const struct dram_cfg_param ddr_ddrc_cfg_128mb[] = {
> + // IOMUX
> +
> + //DDR IO TYPE:
Same comment as in the previous patch.
> + //read data bit delay: 3 is the reccommended default value, although
> out of res
On Tue, May 13, 2025 at 1:36 PM Dario Binacchi
wrote:
>
> From: Michael Trimarchi
>
> When using SPL on i.mx6 we frequently notice some DDR initialization
> mismatches between the SPL code and the non-SPL code.
>
> As the non-SPL code have been tested for long time and proves to be
> reliable, le
Update definition of _debug_uart_putc to static inline.
This will allow to avoid compilation warnings about unused code
after introduction of patch changing debug uart functions to
dummies if CONFIG_DEBUG_UART is not set.
This also matches the instructions in include/debug_uart.h and
provides consi
Because DEBUG_UART_BOARD_INIT depends on DEBUG_UART, hard dependency
to DEBUG_UART_BOARD_INIT in ROCKCHIP_PX30 can cause warnings if
DEBUG_UART is disabled.
The DEBUG_UART_BOARD_INIT is already implied by ARCH_ROCKCHIP entry.
Remove hard dependency from ROCKCHIP_PX30, so that it will be
consistent
Update the definition of _debug_uart_putc to static inline.
This matches the instructions in include/debug_uart.h and
provides consistency with implementations for other platforms.
Signed-off-by: Lukasz Czechowski
---
arch/arm/mach-uniphier/debug-uart/debug-uart.c | 2 +-
1 file changed, 1 inser
In case DEBUG UART is not used, define dummy macros replacing
the actual function implementations that will not be available.
This allows to compile code and avoid linker errors.
Redefine the DEBUG_UART_FUNCS macro if DEBUG UART is not available,
to avoid compilation errors.
Signed-off-by: Lukasz
Allow to disable serial console in TPL and SPL. Weak dependency
to SPL_SERIAL and TPL_SERIAL is also used in other Rockchip boards.
Signed-off-by: Lukasz Czechowski
Reviewed-by: Quentin Schulz
Reviewed-by: Kever Yang
---
arch/arm/mach-rockchip/Kconfig | 4 ++--
1 file changed, 2 insertions(+)
The RAM_ROCKCHIP_DEBUG can be used only if DEBUG_UART is
available.
The next commit introduces changes in definition of debug
uart functions, so that DEBUG_UART is required to be defined
in order to initialize uart and use print functions.
Signed-off-by: Lukasz Czechowski
Reviewed-by: Kever Yang
Currently it is not possible to completely silent the debug console
in i.e. PX30, what might be required in some embedded devices.
Disabling DEBUG_UART results in errors, due to missing symbols.
In particular, rockchip sdram driver performs calls to debug_uart
functions (i.e. printascii), defined d
Commit 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") breaks
the boot of the BSH SMM S2 board. Add options to load U-Boot from raw NAND
sector.
Fixes: 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options")
Signed-off-by: Dario Binacchi
---
(no changes since v2)
Changes in v2:
On Mon, May 19, 2025 at 08:19:05AM -0600, Tom Rini wrote:
> On Mon, May 19, 2025 at 12:19:34PM +0530, Varadarajan Narayanan wrote:
>
> > From: Vandhiadevan Karunamoorthy
> >
> > There are code paths in do_imgextract(), where 'dest' could be zero.
> > Hence, avoid cache flush of 'dest' doesn't poin
From: Emanuele Ghidoli
The kernel added new size definitions and substituted the
boilerplate/reference to the license with a SPDX identifier.
Drop a local SZ_8G definition in MediaTek MT7988 SoC board file.
Signed-off-by: Emanuele Ghidoli
---
arch/arm/mach-mediatek/mt7988/init.c | 3 +--
inc
From: Michael Trimarchi
Now that the UART driver can enable the required clocks, remove
the hard-coded clock enable.
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
board/freescale/imx8mn_evk/spl.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/board/freescale/imx8m
Now that the UART driver can enable the required clocks, remove
the hard-coded clock enable.
Co-developed-by: Michael Trimarchi
Signed-off-by: Michael Trimarchi
Signed-off-by: Dario Binacchi
---
Changes in v3:
- Drop patch 4/4 "serial: mxc: restore booting for imx8mn_bsh_smm_s2"
- Add patch 4
The commit dda454e933c6 ("serial: mxc: Support bulk enabling clocks")
breaks the booting of the BSH SMM S2 board. The analysis of the issue
revealed memory allocation failures during the registration of UART4
clocks as well as other peripherals. Increasing SYS_MALLOC_F_LEN to
0x1 fixed the issu
Commit 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") breaks
the boot of the BSH SMM S2 board. As stated in the dropped comment, "Some
boards use this value even though MMC is not enabled in SPL, for example
imx8mn_bsh_smm_s2".
Support load of the U-Boot image from raw NAND sector.
F
Commit 2a00d73d081a ("spl: mmc: Try to clean up raw-mode options") breaks
the boot of the BSH SMM S2 board. As stated in the commit itself, "Some
boards use this value even though MMC is not enabled in SPL, for example
imx8mn_bsh_smm_s2".
Support load of the U-Boot image from raw NAND sector. This
74 matches
Mail list logo