u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
From: "Ivan T. Ivanov" <iivanov@suse.de>
To: Matthias Brugger <mbrugger@suse.com>,
	Peter Robinson <pbrobinson@gmail.com>
Cc: Dmitry Malkin <dmitry@bedrocksystems.com>,
	Thomas Fitzsimmons <fitzsim@fitzsim.org>,
	Peng Fan <peng.fan@nxp.com>,
	Jaehoon Chung <jh80.chung@samsung.com>,
	Anatolij Gustschin <agust@denx.de>,
	wahrenst@gmx.net, florian.fainelli@broadcom.com,
	u-boot@lists.denx.de, "Ivan T. Ivanov" <iivanov@suse.de>
Subject: [PATCH v5 0/7] rpi5: initial support
Date: Tue, 23 Jan 2024 10:07:52 +0200	[thread overview]
Message-ID: <20240123080819.13625-1-iivanov@suse.de> (raw)

This is new round of patches posted earlier here[1]. They are adding basic
support for RPi5 and are based on v2 series from Dmitry Malkin[2].

What changed sice v4:

* Support for SDHCI controller in 2712 was simplified a lot. It turns out
  that special registers accessors are not needed[3].

* Latest EEPROM firmware changed "kernel" load address from 0x80000
  to 0x200000. And because on RPi’s CONFIG_TEXT_BASE is set to 0x80000
  code execution run through the grass. Switching to position indeended
  code fixed this.

These changes have been tested on following devices:

	Raspberry Pi 5 Model B Rev 1.0
	Raspberry Pi 4 Model B Rev 1.1
	Raspberry Pi 3 Model B Plus Rev 1.3
	Raspberry Pi Zero 2 W Rev 1.0
	Raspberry Pi 2 Model B Rev 1.2
	Raspberry Pi Compute Module 4 Rev 1.0
	Raspberry Pi Compute Module 3 Rev 1.0

Thanks,
Ivan

[1] https://lore.kernel.org/all/20240110122908.31612-1-iivanov@suse.de/
[2] https://lore.kernel.org/all/CAKRNjQ0dsWozGo4n8g58m4cCEk3n=qx1R+L24WBgpo-iP1yo7A@mail.gmail.com/
[3] https://github.com/P33M/linux/commit/8a15e5d99667cb4499836d6f360246a69f020256


Dmitry Malkin (2):
  rpi5: add initial memory map for bcm2712
  rpi5: Use devicetree as alternative way to read IO base addresses

Ivan T. Ivanov (5):
  rpi5: Use devicetree to retrieve board revision
  bcm2835: Dynamically calculate bytes per pixel parameter
  mmc: bcmstb: Add support for bcm2712 SD controller
  configs: rpi_arm64: enable SDHCI BCMSTB driver
  configs: rpi_arm64: build position independent code

 arch/arm/mach-bcm283x/include/mach/base.h  |  5 +-
 arch/arm/mach-bcm283x/include/mach/mbox.h  |  3 +-
 arch/arm/mach-bcm283x/include/mach/sdhci.h |  3 +-
 arch/arm/mach-bcm283x/include/mach/timer.h |  3 +-
 arch/arm/mach-bcm283x/include/mach/wdog.h  |  3 +-
 arch/arm/mach-bcm283x/init.c               | 74 +++++++++++++++++++---
 board/raspberrypi/rpi/rpi.c                | 22 ++++++-
 configs/rpi_arm64_defconfig                |  3 +-
 drivers/mmc/bcmstb_sdhci.c                 | 64 +++++++++++++++++--
 drivers/video/bcm2835.c                    | 18 +++++-
 10 files changed, 171 insertions(+), 27 deletions(-)

-- 
2.43.0


             reply	other threads:[~2024-01-23  8:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-23  8:07 Ivan T. Ivanov [this message]
2024-01-23  8:07 ` [PATCH v5 1/7] rpi5: add initial memory map for bcm2712 Ivan T. Ivanov
2024-01-23  8:07 ` [PATCH v5 2/7] rpi5: Use devicetree as alternative way to read IO base addresses Ivan T. Ivanov
2024-01-23  8:07 ` [PATCH v5 3/7] rpi5: Use devicetree to retrieve board revision Ivan T. Ivanov
2024-01-23  8:07 ` [PATCH v5 4/7] bcm2835: Dynamically calculate bytes per pixel parameter Ivan T. Ivanov
2024-01-23  8:07 ` [PATCH v5 5/7] mmc: bcmstb: Add support for bcm2712 SD controller Ivan T. Ivanov
2024-01-23  8:07 ` [PATCH v5 6/7] configs: rpi_arm64: enable SDHCI BCMSTB driver Ivan T. Ivanov
2024-01-23  8:07 ` [PATCH v5 7/7] configs: rpi_arm64: build position independent code Ivan T. Ivanov
2024-01-23 12:27 ` [PATCH v5 0/7] rpi5: initial support Jens Maus
2024-01-29 14:57   ` Darko Alavanja

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=20240123080819.13625-1-iivanov@suse.de \
    --to=iivanov@suse.de \
    --cc=agust@denx.de \
    --cc=dmitry@bedrocksystems.com \
    --cc=fitzsim@fitzsim.org \
    --cc=florian.fainelli@broadcom.com \
    --cc=jh80.chung@samsung.com \
    --cc=mbrugger@suse.com \
    --cc=pbrobinson@gmail.com \
    --cc=peng.fan@nxp.com \
    --cc=u-boot@lists.denx.de \
    --cc=wahrenst@gmx.net \
    /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;
as well as URLs for NNTP newsgroup(s).