Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Gaël PORTAY" <gael.portay@gmail.com>
To: "Thomas Petazzoni" <thomas.petazzoni@bootlin.com>
Cc: "Gaël PORTAY" <gael.portay@rtone.fr>,
	"Martin Bark" <martin@barkynet.com>,
	"Julien Grossholtz" <julien.grossholtz@openest.io>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/2] configs: add Raspberry Pi Zero 2 W 64-bit defconfig
Date: Fri, 09 Aug 2024 13:33:12 +0200	[thread overview]
Message-ID: <D3BCJU2YNX4Z.15NGJAY8Q0M02@gmail.com> (raw)
In-Reply-To: <20240808184233.39b3e326@windsurf>

Hello Thomas,

On Thu Aug 8, 2024 at 6:42 PM CEST, Thomas Petazzoni wrote:
> Thanks for this patch. The commit title should be:
>
> 	configs/raspberrypizero2w_64: new defconfig
>

Wow, dit I really make that commit title?!?

Fixed in v2.

> > ---
> >  board/raspberrypi/config_zero2w_64bit.txt | 32 +++++++++++++++
> >  board/raspberrypizero2w-64                |  1 +
> >  configs/raspberrypizero2w_64_defconfig    | 48 +++++++++++++++++++++++
> >  3 files changed, 81 insertions(+)
> >  create mode 100644 board/raspberrypi/config_zero2w_64bit.txt
> >  create mode 120000 board/raspberrypizero2w-64
> >  create mode 100644 configs/raspberrypizero2w_64_defconfig
>
> Please add an entry in the DEVELOPERS file for this new defconfig.
> Perhaps you also want to add yourself for all Raspberry platforms?
>

Okay.

>
> > diff --git a/board/raspberrypizero2w-64 b/board/raspberrypizero2w-64
> > new file mode 120000
> > index 0000000000..fcdafc81ed
> > --- /dev/null
> > +++ b/board/raspberrypizero2w-64
> > @@ -0,0 +1 @@
> > +raspberrypi
>
> I really don't understand why we have all those symlinks, it makes no
> sense. If all defconfigs are using the same files from
> board/raspberrypi/, why are the defconfigs not all using
> board/raspberrypi/ instead of those silly symlinks?
>

They exist since a lot of time now. I have removed them and I hope I
have not missed something.

I hope the br2-external do not use them, or they will have to update the
path.

> > diff --git a/configs/raspberrypizero2w_64_defconfig b/configs/raspberrypizero2w_64_defconfig
> > new file mode 100644
> > index 0000000000..7c36183a9f
> > --- /dev/null
> > +++ b/configs/raspberrypizero2w_64_defconfig
> > @@ -0,0 +1,48 @@
> > +BR2_aarch64=y
> > +BR2_cortex_a53=y
> > +BR2_ARM_FPU_VFPV4=y
> > +
> > +# patches
> > +BR2_GLOBAL_PATCH_DIR="board/raspberrypi/patches"
>
> Here you're not even using that new symlink.
>

Well, I have make a copy of the existing raspberrypizero2w_defconfig; I
have not noticed that incoherence :)

> > +BR2_DOWNLOAD_FORCE_CHECK_HASHES=y
> > +
> > +# Linux headers same as kernel, a 6.6 series
> > +BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_6_6=y
> > +
> > +BR2_TOOLCHAIN_BUILDROOT_CXX=y
> > +
> > +BR2_LINUX_KERNEL=y
> > +BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
> > +BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,raspberrypi,linux,576cc10e1ed50a9eacffc7a05c796051d7343ea4)/linux-576cc10e1ed50a9eacffc7a05c796051d7343ea4.tar.gz"
> > +BR2_LINUX_KERNEL_DEFCONFIG="bcmrpi3"
> > +
> > +# Build the DTB from the kernel sources
> > +BR2_LINUX_KERNEL_DTS_SUPPORT=y
> > +BR2_LINUX_KERNEL_INTREE_DTS_NAME="broadcom/bcm2710-rpi-zero-2-w"
> > +
> > +BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
> > +
> > +BR2_PACKAGE_RPI_FIRMWARE=y
> > +BR2_PACKAGE_RPI_FIRMWARE_BOOTCODE_BIN=y
> > +BR2_PACKAGE_RPI_FIRMWARE_VARIANT_PI=y
> > +BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypizero2w-64/config_zero2w_64bit.txt"
>
> But here you're using it.
>
> Could you fix that up and send a new iteration?
>

I have "fixed" it.

Would you mind makeing sure I have not missed a thing? I have rebuild
only the pi5.

> Thanks!
>

My pleasure ;)

> Thomas

Gaël
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2024-08-09 11:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-08 12:39 [Buildroot] [PATCH 1/2] configs: add Raspberry Pi Zero 2 W 64-bit defconfig Gaël PORTAY
2024-08-08 12:39 ` [Buildroot] [PATCH 2/2] board/raspberrypi: reword console comment Gaël PORTAY
2024-08-08 16:43   ` Thomas Petazzoni via buildroot
2024-08-08 16:42 ` [Buildroot] [PATCH 1/2] configs: add Raspberry Pi Zero 2 W 64-bit defconfig Thomas Petazzoni via buildroot
2024-08-09 11:33   ` Gaël PORTAY [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=D3BCJU2YNX4Z.15NGJAY8Q0M02@gmail.com \
    --to=gael.portay@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=gael.portay@rtone.fr \
    --cc=julien.grossholtz@openest.io \
    --cc=martin@barkynet.com \
    --cc=thomas.petazzoni@bootlin.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