2023-10-02 21:38:32

by Jerome Brunet

[permalink] [raw]
Subject: [PATCH 0/2] arm64: dts: amlogic: add libretech cottonwood support

This patchset adds support for the Libretech cottonwood board family.
The 2 boards are based on the same PCB, with an RPi B form factor.

The "Alta" board uses an a311d while the "Solitude" variant uses an s905d3.

This patchset depends on the usb support for the gl3510 [0]
Without it, there will be dt check warnings and usb may not come up properly.

Early u-boot support may be found here [1]. It will be submitted after
DT is accepted in Linux. As usual with Amlogic, u-boot must be packaged
with closed source binaries ([2] for the a311d, [3] for the s905d3)

Prebuilt bootloaders are available from libretech [4].

The devices are shipped with libretech's u-boot pre-flashed in SPI NOR.
If necessary, the boot source may be changed to MMC using the onboard
switch.

Happy hacking ...

[0]: https://lore.kernel.org/all/[email protected]
[1]: https://gitlab.com/jbrunet/u-boot/-/tree/cottonwood
[2]: https://jbrunet.baylibre.com/pub/amlogic/fips/fip-collect-aml-a311d-cc-20230701.tar.gz
[3]: https://jbrunet.baylibre.com/pub/amlogic/fips/fip-collect-aml-s905d3-cc-20230820.tar.gz
[4]: https://boot.libre.computer/ci/

Jerome Brunet (2):
dt-bindings: arm: amlogic: add libretech cottonwood support
arm64: dts: amlogic: add libretech cottonwood support

.../devicetree/bindings/arm/amlogic.yaml | 2 +
arch/arm64/boot/dts/amlogic/Makefile | 2 +
.../amlogic/meson-g12b-a311d-libretech-cc.dts | 133 ++++
.../amlogic/meson-libretech-cottonwood.dtsi | 610 ++++++++++++++++++
.../amlogic/meson-sm1-s905d3-libretech-cc.dts | 89 +++
5 files changed, 836 insertions(+)
create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12b-a311d-libretech-cc.dts
create mode 100644 arch/arm64/boot/dts/amlogic/meson-libretech-cottonwood.dtsi
create mode 100644 arch/arm64/boot/dts/amlogic/meson-sm1-s905d3-libretech-cc.dts

--
2.40.1


2023-10-06 11:39:20

by Neil Armstrong

[permalink] [raw]
Subject: Re: (subset) [PATCH 0/2] arm64: dts: amlogic: add libretech cottonwood support

From: Neil Armstrong <[email protected]>

Hi,

On Mon, 02 Oct 2023 16:10:18 +0200, Jerome Brunet wrote:
> This patchset adds support for the Libretech cottonwood board family.
> The 2 boards are based on the same PCB, with an RPi B form factor.
>
> The "Alta" board uses an a311d while the "Solitude" variant uses an s905d3.
>
> This patchset depends on the usb support for the gl3510 [0]
> Without it, there will be dt check warnings and usb may not come up properly.
>
> [...]

Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v6.7/arm64-dt)

[1/2] dt-bindings: arm: amlogic: add libretech cottonwood support
https://git.kernel.org/amlogic/c/7eb73b8abdae401ac70fd7d463df118a4a2404a9

These changes has been applied on the intermediate git tree [1].

The v6.7/arm64-dt branch will then be sent via a formal Pull Request to the Linux SoC maintainers
for inclusion in their intermediate git branches in order to be sent to Linus during
the next merge window, or sooner if it's a set of fixes.

In the cases of fixes, those will be merged in the current release candidate
kernel and as soon they appear on the Linux master branch they will be
backported to the previous Stable and Long-Stable kernels [2].

The intermediate git branches are merged daily in the linux-next tree [3],
people are encouraged testing these pre-release kernels and report issues on the
relevant mailing-lists.

If problems are discovered on those changes, please submit a signed-off-by revert
patch followed by a corrective changeset.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
[3] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git

--
Neil