[PATCH] rockchip: rk3588-nanopc-t6-lts: Add missing board -u-boot.dtsi
Kever Yang
kever.yang at rock-chips.com
Fri Jan 10 01:40:36 CET 2025
On 2025/1/7 02:22, Jonas Karlman wrote:
> The commit 7cec3e701940 ("rockchip: rk3588-nanopc-t6: Add support for
> NanoPC-T6 LTS") added support for the LTS variant of NanoPC T6. However,
> a board specific -u-boot.dtsi file was never added.
>
> Due to the missing -u-boot.dtsi file the LTS fdt included in the FIT is
> never tagged with bootph props.
>
> When ENV_IS_IN_SPI_FLASH is enabled, not enabled in defconfig, the env
> can successfully load from SPI flash on the non-LTS variant, something
> that does not work on the LTS variant due to missing bootph-some-ram
> props in the LTS fdt.
>
> Fix this by adding a LTS -u-boot.dtsi file that just include the non-LTS
> -u-boot.dtsi file.
>
> Reported-by: Ricardo Pardini <ricardo at pardini.net>
> Fixes: 7cec3e701940 ("rockchip: rk3588-nanopc-t6: Add support for NanoPC-T6 LTS")
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
Thanks,
- Kever
> ---
> arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi | 3 +++
> board/friendlyelec/nanopc-t6-rk3588/MAINTAINERS | 3 +--
> 2 files changed, 4 insertions(+), 2 deletions(-)
> create mode 100644 arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi
>
> diff --git a/arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi b/arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi
> new file mode 100644
> index 000000000000..b18f958c8a28
> --- /dev/null
> +++ b/arch/arm/dts/rk3588-nanopc-t6-lts-u-boot.dtsi
> @@ -0,0 +1,3 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +
> +#include "rk3588-nanopc-t6-u-boot.dtsi"
> diff --git a/board/friendlyelec/nanopc-t6-rk3588/MAINTAINERS b/board/friendlyelec/nanopc-t6-rk3588/MAINTAINERS
> index 63ff6fafc8d7..27853188e59e 100644
> --- a/board/friendlyelec/nanopc-t6-rk3588/MAINTAINERS
> +++ b/board/friendlyelec/nanopc-t6-rk3588/MAINTAINERS
> @@ -5,5 +5,4 @@ S: Maintained
> F: board/friendlyelec/nanopc-t6-rk3588
> F: include/configs/nanopc-t6-rk3588.h
> F: configs/nanopc-t6-rk3588_defconfig
> -F: arch/arm/dts/rk3588-nanopc-t6.dts
> -F: arch/arm/dts/rk3588-nanopc-t6-u-boot.dtsi
> +F: arch/arm/dts/rk3588-nanopc-t6*
More information about the U-Boot
mailing list