Skip to contentSkip to conversation

Please pull qcom-next

GIT PULL Casey Connolly 2 participants 3 messages Aug 11

lore
Share & tools
lore
#0 lore raw

Hi Tom,

These changes for 2026.10.

* Support for building mbn files during the build with the new mkmbn
tool
* Remove UCLASS_SMEM and the old smem driver (Qualcomm was the only
user of both), replace it with a port of the Linux SMEM driver.
* Refactor memory map parsing and support reading the memory layout from the SMEM database
* Set the serial# from SMEM
* Introduce initial support for SPL in mach-snapdragon
* Add a defconfig for sm8650 with U-Boot as the primary bootloader
* Workaround an MMC issue by limiting the transfer size
* Add support for SM7125/SC7180 (clock/pinctrl drivers and UFS phy)
* Add support for the QCS6490 powered Rubik Pi 3 board and document it

Thanks,

The following changes since commit baa64b2f892890f00a377eac4a3e685472bb56b5:

Merge tag 'efi-2026-10-rc2-2' of https://git.u-boot-project.org/u-boot/custodians/u-boot-efi (2026-07-31 08:55:30 -0600)

are available in the Git repository at:

https://git.u-boot-project.org/u-boot/custodians/u-boot-snapdragon.git qcom-next

for you to fetch changes up to 914dd2f5d18a3a89e4ddb6d1d97b2743618ae5ee:

CI: add Qualcomm requirements.txt for world build (2026-08-10 14:49:42 +0200)

----------------------------------------------------------------
Aswin Murugan (1):
i2c: geni: reset controller on NACK to recover from invalid bus state

Balaji Selvanathan (1):
configs: qcom_defconfig: Limit MMC transfer size to prevent controller timeout

Casey Connolly (22):
config.mk: support vendor generic includes
tools: qcom: introduce mkmbn library
tools: qcom: add mkmbn.py
doc: board/qualcomm: update docs for new u-boot.mbn target
mach-snapdragon: add kconfig infra for building MBN files
configs: qcom: use mkmbn and stop building ELF files Revert "dm: SMEM (Shared memory) uclass"
smem: drop drivers/smem
Revert "test: smem: add basic smem test"
Revert "drivers: smem: sandbox"
mach-snapdragon: fix reserved memory carveout
soc: qcom: import smem from Linux 6.11-rc2
soc: qcom: smem: adjust headers for U-Boot
soc: qcom: smem: adjust for U-Boot
soc: qcom: smem: get serial number from socinfo
soc: qcom: smem: stub functions
soc: qcom: smem: add build infra
mach-snapdragon: move memory parsing to its own file
mach-snapdragon: support parsing memory map from SMEM
mach-snapdragon: fetch serial# from SMEM
configs: add qcom_sm8650_defconfig and debug fragment
CI: add Qualcomm requirements.txt for world build

Hongyang Zhao (2):
configs: Add qcom_qcs6490_rubikpi3_defconfig
doc: board: qualcomm: Document RUBIK Pi 3

Michael Srba (12):
Makefile: add SPL_REMAKE_ELF_LDSCRIPT feature
of_live: support in SPL
drivers: allow clk_stub and spmi in SPL
mach-snapdragon: boot0.h: split out msm8916_boot0.h
qualcomm: add u-boot-spl-elf-sdm845.lds
mach-snapdragon: Kconfig: fix duplicate SYS_MALLOC_LEN
mach-snapdragon: Kconfig: changes / additions to support SPL
mach-snapdragon: boot0.h: add sdm845_spl_boot0.h
mach-snapdragon: move board_usb_init to dragonboard410c.c
mach-snapdragon: add board_spl.c and split out common code
qualcomm: add defconfig, env and docs for SPL on sdm845
dts: add u-boot specific sdm845 .dtsi and a .dtsi for shift-axolotl

Vitalii Skorkin (4):
clk: qcom: Add driver for SC7180 GCC
pinctrl: qcom: add SC7180 pinctrl driver
qcom_defconfig: Enable SC7180 GCC
phy: qcom-qmp-ufs: Add SC7180 support

 .azure-pipelines.yml                               |   1 +
 .gitlab-ci.yml                                     |   1 +
 Kconfig                                            |   1 +
 MAINTAINERS                                        |   1 -
 Makefile                                           |  11 +-
 arch/arm/Kconfig                                   |  37 +-
 arch/arm/dts/sdm845-shift-axolotl-u-boot.dtsi      |   2 +
 arch/arm/dts/sdm845-u-boot.dtsi                    |  16 +
 arch/arm/mach-snapdragon/Kconfig                   |  46 +-
 arch/arm/mach-snapdragon/Makefile                  |   8 +
 arch/arm/mach-snapdragon/board.c                   | 400 ++---------
 arch/arm/mach-snapdragon/board_spl.c               |  30 +
 arch/arm/mach-snapdragon/dram.c                    | 239 +++++++
 arch/arm/mach-snapdragon/include/mach/boot0.h      |  64 +-
 .../mach-snapdragon/include/mach/msm8916_boot0.h   |  54 ++
 .../include/mach/sdm845_spl_boot0.h                | 121 ++++
 arch/arm/mach-snapdragon/mem_map.c                 | 226 ++++++
 arch/arm/mach-snapdragon/of_fixup.c                |   5 -
 arch/arm/mach-snapdragon/qcom-priv.h               |  19 +-
 arch/arm/mach-snapdragon/rampart.h                 | 194 +++++
 arch/sandbox/dts/test.dts                          |   4 -
 board/qualcomm/config.mk                           |  14 +
 board/qualcomm/debug-sm8650.config                 |   5 +
 board/qualcomm/dragonboard410c/dragonboard410c.c   |  41 ++
 board/qualcomm/requirements.txt                    |   1 +
 board/qualcomm/sdm845_spl/config.mk                |  14 +
 board/qualcomm/sdm845_spl/sdm845_spl.env           |   2 +
 .../qualcomm/sdm845_spl/u-boot-spl-elf-sdm845.lds  |  44 ++
 common/spl/Kconfig                                 |  12 +
 common/spl/spl.c                                   |   9 +
 config.mk                                          |   8 +-
 configs/hmibsc_defconfig                           |   1 +
 configs/qcm6490_defconfig                          |   2 +-
 configs/qcom_defconfig                             |   5 +-
 ...0c_defconfig => qcom_dragonboard410c_defconfig} |   3 +-
 ...0c_defconfig => qcom_dragonboard820c_defconfig} |   0
 configs/qcom_ipq5424_mmc_defconfig                 |   1 -
 configs/qcom_ipq9574_mmc_defconfig                 |   3 +-
 configs/qcom_qcs615_defconfig                      |   2 +-
 configs/qcom_qcs6490_rubikpi3_defconfig            |   7 +
 configs/qcom_qcs8300_defconfig                     |   2 +-
 configs/qcom_qcs9100_defconfig                     |   2 +-
 configs/qcom_sdm845_spl_defconfig                  | 138 ++++
 configs/qcom_sm8650_defconfig                      |  16 +
 configs/sandbox64_defconfig                        |   2 -
 configs/sandbox_defconfig                          |   2 -
 doc/board/qualcomm/board.rst                       |   2 +-
 doc/board/qualcomm/dragonboard410c.rst             |  19 +-
 doc/board/qualcomm/dragonwing.rst                  |  14 +-
 doc/board/qualcomm/index.rst                       |   3 +
 doc/board/qualcomm/rb3gen2.rst                     |  30 +-
 doc/board/qualcomm/rdp.rst                         |   5 +-
 doc/board/qualcomm/rubikpi3.rst                    |  52 ++
 doc/board/qualcomm/signing.rst                     |  32 +
 doc/board/qualcomm/spl.rst                         |  91 +++
 drivers/Kconfig                                    |   2 -
 drivers/Makefile                                   |   3 +-
 drivers/clk/Kconfig                                |   7 +
 drivers/clk/qcom/Kconfig                           |   8 +
 drivers/clk/qcom/Makefile                          |   1 +
 drivers/clk/qcom/clock-sc7180.c                    | 273 ++++++++
 drivers/i2c/geni_i2c.c                             |   2 +-
 drivers/phy/qcom/phy-qcom-qmp-ufs.c                |   1 +
 drivers/pinctrl/qcom/Kconfig                       |   7 +
 drivers/pinctrl/qcom/Makefile                      |   1 +
 drivers/pinctrl/qcom/pinctrl-sc7180.c              |  95 +++
 drivers/smem/Kconfig                               |  25 -
 drivers/smem/Makefile                              |   7 -
 drivers/smem/sandbox_smem.c                        |  44 --
 drivers/smem/smem-uclass.c                         |  46 --
 drivers/soc/qcom/Kconfig                           |   8 +
 drivers/soc/qcom/Makefile                          |   1 +
 drivers/{smem/msm_smem.c => soc/qcom/smem.c}       | 777 ++++++++++++---------
 drivers/spmi/Kconfig                               |  13 +
 drivers/spmi/Makefile                              |   4 +-
 dts/Kconfig                                        |   8 +
 include/dm/uclass-id.h                             |   1 -
 include/smem.h                                     |  90 ---
 include/soc/qcom/smem.h                            |  36 +
 include/soc/qcom/socinfo.h                         | 111 +++
 lib/Makefile                                       |   2 +-
 test/dm/Makefile                                   |   1 -
 test/dm/smem.c                                     |  26 -
 tools/mkmbn                                        |   1 +
 tools/qcom/mkmbn/cert.py                           | 127 ++++
 tools/qcom/mkmbn/elf.py                            | 241 +++++++
 tools/qcom/mkmbn/hashseg.py                        | 356 ++++++++++
 tools/qcom/mkmbn/mkmbn.py                          | 165 +++++
 88 files changed, 3506 insertions(+), 1048 deletions(-)
 create mode 100644 arch/arm/dts/sdm845-shift-axolotl-u-boot.dtsi
 create mode 100644 arch/arm/dts/sdm845-u-boot.dtsi
 create mode 100644 arch/arm/mach-snapdragon/board_spl.c
 create mode 100644 arch/arm/mach-snapdragon/dram.c
 create mode 100644 arch/arm/mach-snapdragon/include/mach/msm8916_boot0.h
 create mode 100644 arch/arm/mach-snapdragon/include/mach/sdm845_spl_boot0.h
 create mode 100644 arch/arm/mach-snapdragon/mem_map.c
 create mode 100644 arch/arm/mach-snapdragon/rampart.h
 create mode 100644 board/qualcomm/config.mk
 create mode 100644 board/qualcomm/debug-sm8650.config
 create mode 100644 board/qualcomm/requirements.txt
 create mode 100644 board/qualcomm/sdm845_spl/config.mk
 create mode 100644 board/qualcomm/sdm845_spl/sdm845_spl.env
 create mode 100644 board/qualcomm/sdm845_spl/u-boot-spl-elf-sdm845.lds
 rename configs/{dragonboard410c_defconfig => qcom_dragonboard410c_defconfig} (96%)
 rename configs/{dragonboard820c_defconfig => qcom_dragonboard820c_defconfig} (100%)
 create mode 100644 configs/qcom_qcs6490_rubikpi3_defconfig
 create mode 100644 configs/qcom_sdm845_spl_defconfig
 create mode 100644 configs/qcom_sm8650_defconfig
 create mode 100644 doc/board/qualcomm/rubikpi3.rst
 create mode 100644 doc/board/qualcomm/signing.rst
 create mode 100644 doc/board/qualcomm/spl.rst
 create mode 100644 drivers/clk/qcom/clock-sc7180.c
 create mode 100644 drivers/pinctrl/qcom/pinctrl-sc7180.c
 delete mode 100644 drivers/smem/Kconfig
 delete mode 100644 drivers/smem/Makefile
 delete mode 100644 drivers/smem/sandbox_smem.c
 delete mode 100644 drivers/smem/smem-uclass.c
 rename drivers/{smem/msm_smem.c => soc/qcom/smem.c} (56%)
 delete mode 100644 include/smem.h
 create mode 100644 include/soc/qcom/smem.h
 create mode 100644 include/soc/qcom/socinfo.h
 delete mode 100644 test/dm/smem.c
 create mode 120000 tools/mkmbn
 create mode 100644 tools/qcom/mkmbn/cert.py
 create mode 100644 tools/qcom/mkmbn/elf.py
 create mode 100644 tools/qcom/mkmbn/hashseg.py
 create mode 100755 tools/qcom/mkmbn/mkmbn.py
#1 lore raw
Quoted 22 lines · Casey Connolly

Hi Tom,

These changes for 2026.10.

* Support for building mbn files during the build with the new mkmbn
tool
* Remove UCLASS_SMEM and the old smem driver (Qualcomm was the only
user of both), replace it with a port of the Linux SMEM driver.
* Refactor memory map parsing and support reading the memory layout from the SMEM database
* Set the serial# from SMEM
* Introduce initial support for SPL in mach-snapdragon
* Add a defconfig for sm8650 with U-Boot as the primary bootloader
* Workaround an MMC issue by limiting the transfer size
* Add support for SM7125/SC7180 (clock/pinctrl drivers and UFS phy)
* Add support for the QCS6490 powered Rubik Pi 3 board and document it

Thanks,

The following changes since commit baa64b2f892890f00a377eac4a3e685472bb56b5:

Merge tag 'efi-2026-10-rc2-2' of https://git.u-boot-project.org/u-boot/custodians/u-boot-efi (2026-07-31 08:55:30 -0600)

Quoted 7 lines

are available in the Git repository at:

https://git.u-boot-project.org/u-boot/custodians/u-boot-snapdragon.git qcom-next

for you to fetch changes up to 914dd2f5d18a3a89e4ddb6d1d97b2743618ae5ee:

CI: add Qualcomm requirements.txt for world build (2026-08-10 14:49:42 +0200)

The syntax is wrong for Azure (which I thought I looked for, but missed). The world builds all fail with (roughly):

$ pip install -r tools/binman/requirements.txt -r tools/buildman/requirements.txt -r board/qualcomm/requirements.txt
... success ..
$ setuptools
/__w/_temp/bb9f7c2c-5e2a-4697-aceb-b7e045c9cc89.sh: line 8: setuptools: command not found

Because the line continuation is wrong and we need a '\' at the end of one line. I've fixed this up myself, rather than make you re-spin.

Signature · 1 line
Tom
#2 lore raw
In reply to Casey Connolly
Quoted 14 lines · Casey Connolly

These changes for 2026.10.

* Support for building mbn files during the build with the new mkmbn
tool
* Remove UCLASS_SMEM and the old smem driver (Qualcomm was the only
user of both), replace it with a port of the Linux SMEM driver.
* Refactor memory map parsing and support reading the memory layout from the SMEM database
* Set the serial# from SMEM
* Introduce initial support for SPL in mach-snapdragon
* Add a defconfig for sm8650 with U-Boot as the primary bootloader
* Workaround an MMC issue by limiting the transfer size
* Add support for SM7125/SC7180 (clock/pinctrl drivers and UFS phy)
* Add support for the QCS6490 powered Rubik Pi 3 board and document it

Quoted 1 line

[...]

Merged into u-boot/next, thanks!

Signature · 1 line
Tom