Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Olivain via buildroot <buildroot@buildroot.org>
To: Bert Outtier <outtierbert@gmail.com>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v3] configs/phyxbe_tess: new defconfig
Date: Wed, 25 Nov 2026 20:10:13 +0100	[thread overview]
Message-ID: <0bceee38a6d7c086b2bddf555631560f@free.fr> (raw)
In-Reply-To: <20261124211312.2775532-1-outtierbert@gmail.com>

Hi Bert,

Thanks for the patch. I have few comments, see below.

On 24/11/2026 22:13, Bert Outtier wrote:
> Add support for the Phyx Tess board, an Adafruit Feather compatible
> board built around the Allwinner T113-S3 (2x Cortex-A7, 128 MB DDR3
> in package), with:
> - USB-C connector (USB device, FEL)
> - microSD card connector on SDC0
> - ESP32-C3 WiFi/BLE co-processor (SPI0 for WiFi with esp-hosted,
>   UART2 for BLE HCI)
> - MIPI DSI display connector
> - Adafruit Feather headers (UART5, SPI1, I2C3, GPIO, ADC)
> - USB1 host and UART3 console on extra header pins
> - Li-ion charger as a gpio-charger power supply: its status, and its
>   charge current, about 450 mA or about 1.2 A (PG13)
> 
> The board has no upstream device tree yet: it is shared between Linux
> and U-Boot (BR2_TARGET_UBOOT_CUSTOM_DTS_PATH). U-Boot uses the
> mangopi_mq_r defconfig (same SoC and DRAM) with a fragment for the
> device tree.
> 
> The kernel gets the gpio-charger driver from a fragment, and the 
> command
> line net.ifnames=0: esp-hosted reports the MAC address of the ESP32-C3
> as permanent, so eudev would rename wlan0. The ESP32-C3 comes up a few
> seconds after the network is started, so ifup waits for wlan0.
> 
> Signed-off-by: Bert Outtier <outtierbert@gmail.com>
> ---

[...]

> diff --git a/board/phyxbe/tess/patches/linux-headers/linux-headers.hash 
> b/board/phyxbe/tess/patches/linux-headers/linux-headers.hash
> new file mode 120000
> index 0000000000..5808d92afe
> --- /dev/null
> +++ b/board/phyxbe/tess/patches/linux-headers/linux-headers.hash

This linux-headers.hash can be removed, since the defconfig should
use a Bootlin glibc stable external toolchain. See below.

> @@ -0,0 +1 @@
> +../linux/linux.hash
> \ No newline at end of file

[...]

> diff --git a/configs/phyxbe_tess_defconfig 
> b/configs/phyxbe_tess_defconfig
> new file mode 100644
> index 0000000000..c70f938db8
> --- /dev/null
> +++ b/configs/phyxbe_tess_defconfig
> @@ -0,0 +1,46 @@
> +BR2_arm=y
> +BR2_cortex_a7=y
> +BR2_ARM_FPU_VFPV4=y
> +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_18=y

According to defconfig rules from:
https://elinux.org/Buildroot:DeveloperDaysELCE2024#Rules_for_defconfigs

New defconfigs should now use a Bootlin glibc stable
external toolchain. The previous line should be removed,
and be replaced by:
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y
BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_ARMV7_EABIHF_GLIBC_STABLE=y

> +BR2_GLOBAL_PATCH_DIR="board/phyxbe/tess/patches"
> +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
> +BR2_TARGET_GENERIC_HOSTNAME="tess"
> +BR2_TARGET_GENERIC_ISSUE="Welcome to Tess"
> +BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_EUDEV=y
> +BR2_TARGET_GENERIC_GETTY_PORT="ttyS3"
> +BR2_ROOTFS_OVERLAY="board/phyxbe/tess/rootfs_overlay"
> +BR2_ROOTFS_POST_IMAGE_SCRIPT="support/scripts/genimage.sh"
> +BR2_ROOTFS_POST_SCRIPT_ARGS="-c board/phyxbe/tess/genimage.cfg"
> +BR2_LINUX_KERNEL=y
> +BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> +BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="6.18.8"

Is there any specific reason to select 6.18.8, while the latest
6.18 series is 6.18.65 as of now?  If not, could you change it
to the latest 6.18 version available, please?

> +BR2_LINUX_KERNEL_DEFCONFIG="sunxi"
> +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="board/phyxbe/tess/linux.fragment"
> +BR2_LINUX_KERNEL_DTS_SUPPORT=y
> +BR2_LINUX_KERNEL_CUSTOM_DTS_PATH="board/phyxbe/tess/sun8i-t113s-tess.dts"
> +BR2_LINUX_KERNEL_INSTALL_TARGET=y
> +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
> +BR2_PACKAGE_ESP_HOSTED=y
> +BR2_PACKAGE_ESP_HOSTED_SPI=y
> +BR2_PACKAGE_WPA_SUPPLICANT=y
> +BR2_PACKAGE_WPA_SUPPLICANT_AUTOSCAN=y
> +BR2_PACKAGE_WPA_SUPPLICANT_CLI=y
> +BR2_PACKAGE_WPA_SUPPLICANT_WPA_CLIENT_SO=y
> +BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE=y
> +BR2_TARGET_ROOTFS_EXT2=y
> +BR2_TARGET_ROOTFS_EXT2_4=y
> +# BR2_TARGET_ROOTFS_TAR is not set
> +BR2_TARGET_UBOOT=y
> +BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG=y
> +BR2_TARGET_UBOOT_CUSTOM_VERSION=y
> +BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2026.01"

Same question: any specific reason to select 2026.01 while
there is 2026.10 available? See:
https://git.u-boot-project.org/u-boot/u-boot/-/tags
If not, could you change it to the latest version, please?

> +BR2_TARGET_UBOOT_BOARD_DEFCONFIG="mangopi_mq_r"
> +BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="board/phyxbe/tess/uboot.fragment"
> +BR2_TARGET_UBOOT_NEEDS_DTC=y
> +BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
> +BR2_TARGET_UBOOT_NEEDS_OPENSSL=y
> +BR2_TARGET_UBOOT_NEEDS_GNUTLS=y
> +BR2_TARGET_UBOOT_SPL=y
> +BR2_TARGET_UBOOT_SPL_NAME="u-boot-sunxi-with-spl.bin"
> +BR2_TARGET_UBOOT_CUSTOM_DTS_PATH="board/phyxbe/tess/sun8i-t113s-tess.dts"
> +BR2_PACKAGE_HOST_GENIMAGE=y
> --
> 2.53.0

Could you send an updated patch addressing those comments, please?

Best regards,

Julien.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2026-11-25 19:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 21:10 [Buildroot] [PATCH] configs/phyxbe_tess: new defconfig Bert Outtier
2026-11-24 11:31 ` [Buildroot] [PATCH v2] " Bert Outtier
2026-11-24 21:13   ` [Buildroot] [PATCH v3] " Bert Outtier
2026-11-25 19:10     ` Julien Olivain via buildroot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0bceee38a6d7c086b2bddf555631560f@free.fr \
    --to=buildroot@buildroot.org \
    --cc=ju.o@free.fr \
    --cc=outtierbert@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox