All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: "Gaël PORTAY" <gael.portay@rtone.fr>
Cc: Martin Bark <martin@barkynet.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Julien Grossholtz <julien.grossholtz@openest.io>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH v2 0/2] Add support for Pi5
Date: Fri, 19 Jan 2024 21:13:46 +0100	[thread overview]
Message-ID: <ZarX-o1aELjzYnys@landeda> (raw)
In-Reply-To: <20231211155951.4079886-1-gael.portay@rtone.fr>

Gaël, All,

On 2023-12-11 16:59 +0100, Gaël PORTAY spake thusly:
> Dear maintainers,
> 
> This two patches adds the support for the Raspberry Pi 5[0].
> 
> The first patch enables MMU 16K page-size on ARM64 as the Raspberry Pi 5
> supports 16K page-size[1].

I have two comments about that:
 1. the referenced linked does not mention the page size
 2. are 16K pages required at all?

The issue with using 16K pages, is that it would prec;ude using existing
external prebuilt toolchains, which most probably have been built with
4K pages, and as far as I understand, mixing objects built for 4K pages
and objects built for 16K pages, is not supported.

So, unless 16K is a requirement, I think using 4K pages would be better.

And of course, we currently have no indication whether an external
library was built for $k, 15K, or even 64K pages, so this is somethingwe
need to implement somehow...

Regards,
Yann E. MORIN.

> The last patch adds the raspberrypi5_defconfig for the Raspberry Pi 5
> 64-bit. It uses the defconfig bcm2712_defconfig[2] and the device-tree
> source bcm2712-rpi-5-b.dts[3]. The Raspberry Pi 5 has now a dedicated
> debug UART connector[4] (it is always active and enabled; there is no
> more need to enable_uart=1 in the file config.txt). The UART device name
> changes to ttyAMA10 and the command line has to be updated in the file
> cmdline.txt. The Raspberry Pi 5 only supports 64-bit kernel[5].
> 
> Changes since RFC:
>  - Update README to add model Pi 5 B
>  - Add support for 64K MMU page-size for ARM64 and Raspberry Pi 5
>  - Add Raspberry Pi 5 specific cmdline_5.txt to set its console on its
>    debug uart (ttyAMA10 instead of ttyAMA0)
>  - Remove 32-bit variant since Raspberry Pi 5 supports booting a 64-bit
>    kernel only
>  - Remove the property arm_64bit=1 from config_5_64bit.txt
>  - Remove the _64bit suffix
>  - Remove unecessary Pi 5 variant from package rpi-firmware
> 
> Changes since v1:
>  - Rebase on top of master
>  - Remove the bumps for the rpi-firmware and linux packages
>  - Bump the kernel to linux-17f135b742c4edb340afb365873c3a574f7e16cb
>    (6.1.61, i.e. the same version as the other raspberrypi defconfigs)
> 
> [0]: https://www.raspberrypi.com/documentation/computers/raspberry-pi-5.html#introduction
> [1]: https://www.raspberrypi.com/documentation/computers/config_txt.html#kernel
> [2]: https://github.com/raspberrypi/linux/commit/9cfb379147f803b0362b0fe249e5b145d232bea3
> [3]: https://github.com/raspberrypi/linux/commit/1196bf1a7736ff0ab79f5012fa84082e298031a7
> [4]: https://www.raspberrypi.com/documentation/computers/raspberry-pi-5.html#uart-connector
> [5]: https://www.raspberrypi.com/documentation/computers/config_txt.html#arm_64bit
> 
> Kind Regards,
> Gaël PORTAY (4):
>   arch: add support 16k page size on ARM64
>   configs: add raspberrypi 5 defconfig
> 
>  arch/Config.in.arm              |  4 ++++
>  arch/arch.mk                    |  2 +-
>  board/raspberrypi/cmdline_5.txt |  1 +
>  board/raspberrypi/config_5.txt  | 14 ++++++++++++
>  board/raspberrypi/readme.txt    |  6 +++++
>  board/raspberrypi5              |  1 +
>  configs/raspberrypi5_defconfig  | 40 +++++++++++++++++++++++++++++++++
>  linux/linux.mk                  |  4 ++++
>  8 files changed, 71 insertions(+), 1 deletion(-)
>  create mode 100644 board/raspberrypi/cmdline_5.txt
>  create mode 100644 board/raspberrypi/config_5.txt
>  create mode 120000 board/raspberrypi5
>  create mode 100644 configs/raspberrypi5_defconfig
> 
> --
> 2.43.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  parent reply	other threads:[~2024-01-19 20:14 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-11 15:59 [Buildroot] [PATCH v2 0/2] Add support for Pi5 Gaël PORTAY
2023-12-11 15:59 ` [Buildroot] [PATCH v2 1/2] arch: add support 16k page size on ARM64 Gaël PORTAY
2024-01-19 20:24   ` Yann E. MORIN
2023-12-11 15:59 ` [Buildroot] [PATCH v2 2/2] configs: add raspberrypi 5 defconfig Gaël PORTAY
2024-01-19 20:35   ` Yann E. MORIN
2024-01-20  3:11     ` Adam Duskett
2024-01-20  8:01       ` Gaël PORTAY
2024-01-20  8:53         ` Yann E. MORIN
2024-01-19 20:13 ` Yann E. MORIN [this message]
2024-01-20  8:10   ` [Buildroot] [PATCH v2 0/2] Add support for Pi5 Gaël PORTAY
2024-01-20  8:57     ` Yann E. MORIN

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=ZarX-o1aELjzYnys@landeda \
    --to=yann.morin.1998@free.fr \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.