[PATCH 2/6] sunxi: Add support for the Lichee Pi Zero with Dock
Paul Kocialkowski
contact at paulk.fr
Tue Jun 3 19:37:32 CEST 2025
Hi Andre,
Le Mon 02 Jun 25, 01:40, Andre Przywara a écrit :
> On Sun, 1 Jun 2025 17:39:39 +0200
> Paul Kocialkowski <contact at paulk.fr> wrote:
>
> Hi Paul,
>
> > This adds a U-Boot config and device-tree build for the Lichee Pi Zero
> > with Dock. Compared to the Lichee Pi Zero, it has an ethernet port
> > (with internal PHY) so the EMAC driver and network support are enabled.
>
> I just realised that there is no difference between the U-Boot versions
> of the DT and the kernel ones, so can you please use the opportunity to
> upgrade the V3x systems to OF_UPSTREAM (in a separate patch)? This would
> involve removing all the redundant .dts* files from arch/arm/dts, see
> dc2dd2de0f782860 for an example.
Yes definitely! I wasn't sure whether there was some specific reason why
it hadn't been done yet.
> Regardless the defconfig looks alright, but one comment:
>
> > Signed-off-by: Paul Kocialkowski <contact at paulk.fr>
> > ---
> > arch/arm/dts/Makefile | 3 ++-
> > configs/LicheePi_Zero_Dock_defconfig | 7 +++++++
> > 2 files changed, 9 insertions(+), 1 deletion(-)
> > create mode 100644 configs/LicheePi_Zero_Dock_defconfig
> >
> > diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile
> > index 32b698a7f411..be6867ceae0e 100644
> > --- a/arch/arm/dts/Makefile
> > +++ b/arch/arm/dts/Makefile
> > @@ -650,7 +650,8 @@ dtb-$(CONFIG_MACH_SUN8I_V3S) += \
> > sun8i-s3-elimo-initium.dtb \
> > sun8i-s3-pinecube.dtb \
> > sun8i-v3-sl631-imx179.dtb \
> > - sun8i-v3s-licheepi-zero.dtb
> > + sun8i-v3s-licheepi-zero.dtb \
> > + sun8i-v3s-licheepi-zero-dock.dtb
> > dtb-$(CONFIG_MACH_SUN8I_R528) += \
> > sun8i-t113s-mangopi-mq-r-t113.dtb
> > dtb-$(CONFIG_MACH_SUN50I_H5) += \
> > diff --git a/configs/LicheePi_Zero_Dock_defconfig b/configs/LicheePi_Zero_Dock_defconfig
> > new file mode 100644
> > index 000000000000..ec172d98b65e
> > --- /dev/null
> > +++ b/configs/LicheePi_Zero_Dock_defconfig
> > @@ -0,0 +1,7 @@
> > +CONFIG_ARM=y
> > +CONFIG_ARCH_SUNXI=y
> > +CONFIG_DEFAULT_DEVICE_TREE="sun8i-v3s-licheepi-zero-dock"
> > +CONFIG_SPL=y
> > +CONFIG_MACH_SUN8I_V3S=y
> > +# CONFIG_HAS_ARMV7_SECURE_BASE is not set
>
> IIUC, the V3S does not have (secure) SRAM A2, and no ARISC? Can we
> express this in the Kconfig file then, since it's not a board config
> option?
Indeed I cannot find any mention of SRAM A2 and ARISC. Makes sense given the
low-end target for this chip.
Sure it's better to move it to the Kconfig too. Will do in the next revision.
All the best,
Paul
> Cheers,
> Andre
>
> > +CONFIG_SUN8I_EMAC=y
>
--
Paul Kocialkowski,
Free software developer - https://www.paulk.fr/
Independent contractor - sys-base - https://www.sys-base.io/
Contributor to fully free software support for selected hardware.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250603/e197a826/attachment.sig>
More information about the U-Boot
mailing list