[PATCH next v2 0/8] rockchip: px30: migrate to common bss and stack addresses and OF_UPSTREAM

Quentin Schulz foss+uboot at 0leil.net
Fri May 24 11:23:25 CEST 2024


Following up on migrating PX30 Ringneck to the new common bss and stack
addresses as done in
https://lore.kernel.org/u-boot/20240523-px30-2024-07-rc-v2-0-e46782d5520c@cherry.de/T/#t
let's migrate all other px30 boards to this new memory layout so that it
aligns with other Rockchip SoCs (TPL excluded).

This also migrates all (but firefly-px30) PX30-based boards to use
OF_UPSTREAM. firefly-px30 doesn't have an upstream kernel device tree so
it is left untouched.
All but Odroid-Go2 were straightforward to migrate.

While at it, also fix a few issues related to UART on the PX30 Mini EVB
I could test.

This was boot tested on PX30 Ringneck and PX30 Mini EVB, U-Boot CLI and
Linux kernel userspace are reached.

This is based on next + https://lore.kernel.org/u-boot/20240523-px30-2024-07-rc-v2-0-e46782d5520c@cherry.de/T/#t

To: Kever Yang <kever.yang at rock-chips.com>
To: Tom Rini <trini at konsulko.com>
To: Heiko Stuebner <heiko.stuebner at theobroma-systems.com>
To: Jagan Teki <jagan at amarulasolutions.com>
To: Suniel Mahesh <sunil at amarulasolutions.com>
To: Simon Glass <sjg at chromium.org>
To: Philipp Tomsich <philipp.tomsich at vrull.eu>
To: Quentin Schulz <quentin.schulz at theobroma-systems.com>
To: Klaus Goger <klaus.goger at theobroma-systems.com>
Cc: u-boot at lists.denx.de
Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>

Changes in v2:
- remove px30-base and ringneck patches, they were sent for master
- migrate boards to OF_UPSTREAM
- Link to v1: https://lore.kernel.org/r/20240521-px30-2024-07-rc-v1-0-62109c84d44f@cherry.de

independently: https://lore.kernel.org/u-boot/20240523-px30-2024-07-rc-v2-0-e46782d5520c@cherry.de/T/#t
---
Quentin Schulz (8):
      rockchip: evb-px30: Use common bss and stack addresses
      rockchip: firefly-px30: Use common bss and stack addresses
      rockchip: odroid-go2: Use common bss and stack addresses
      rockchip: px30-core-*: Use common bss and stack addresses
      rockchip: px30: make UART pinmux accessible to TPL/SPL DTB
      rockchip: evb-px30: do not remove pinctrl nodes from SPL DTB
      rockchip: evb-px30: make UART5 the debug UART
      rockchip: px30/rk3326: migrate to OF_UPSTREAM

 arch/arm/dts/Makefile                              |   8 -
 arch/arm/dts/px30-engicam-common.dtsi              | 129 -----
 arch/arm/dts/px30-engicam-ctouch2.dtsi             |  30 -
 arch/arm/dts/px30-engicam-edimm2.2.dtsi            |  66 ---
 .../dts/px30-engicam-px30-core-ctouch2-of10.dts    |  77 ---
 arch/arm/dts/px30-engicam-px30-core-ctouch2.dts    |  22 -
 arch/arm/dts/px30-engicam-px30-core-edimm2.2.dts   |  43 --
 arch/arm/dts/px30-engicam-px30-core.dtsi           | 241 --------
 arch/arm/dts/px30-evb.dts                          | 634 --------------------
 arch/arm/dts/px30-ringneck-haikou.dts              | 232 --------
 arch/arm/dts/px30-ringneck.dtsi                    | 382 ------------
 arch/arm/dts/px30-u-boot.dtsi                      |  16 +
 arch/arm/dts/rk3326-odroid-go2-u-boot.dtsi         |  15 +
 arch/arm/dts/rk3326-odroid-go2.dts                 | 642 ---------------------
 arch/arm/mach-rockchip/Kconfig                     |   1 +
 configs/evb-px30_defconfig                         |  24 +-
 configs/firefly-px30_defconfig                     |  19 +-
 configs/odroid-go2_defconfig                       |  20 +-
 configs/px30-core-ctouch2-of10-px30_defconfig      |  20 +-
 configs/px30-core-ctouch2-px30_defconfig           |  20 +-
 configs/px30-core-edimm2.2-px30_defconfig          |  20 +-
 configs/ringneck-px30_defconfig                    |   2 +-
 22 files changed, 59 insertions(+), 2604 deletions(-)
---
base-commit: 5e9aa577480ffbb6d3d0af6b972f227e087eef49
change-id: 20240508-px30-of_upstream-18bdbae87c98

Best regards,
-- 
Quentin Schulz <quentin.schulz at cherry.de>



More information about the U-Boot mailing list