From: Andre Przywara <andre.przywara@arm.com>
To: Jagan Teki <jagan@amarulasolutions.com>
Cc: Icenowy Zheng <uwu@icenowy.me>,
Jesse Taube <mr.bossman075@gmail.com>, Yifan Gu <me@yifangu.com>,
Giulio Benetti <giulio.benetti@benettiengineering.com>,
George Hilliard <thirtythreeforty@gmail.com>,
Samuel Holland <samuel@sholland.org>,
u-boot@lists.denx.de, linux-sunxi@lists.linux.dev
Subject: [PATCH 0/6] sunxi: improve F1C200s support
Date: Wed, 12 Oct 2022 17:34:52 +0100 [thread overview]
Message-ID: <20221012163458.1968900-1-andre.przywara@arm.com> (raw)
The Allwinner F1C200s is reportedly the same chip as the F1C100s, just
with twice the amount of co-packaged DRAM: 64MB instead of just 32MB.
U-Boot's F1C100 platform supported this quite naturally (since the DRAM
size is auto-detected), but those better chips do not need to suffer
from the same memory constraints as their smaller siblings.
Patch 1/6 adds a notion of "minimum DRAM size" to Kconfig, so that we
can select those smaller sizes independently from the actual SoC. This
makes it easy to let the F1C200s use a more generous memory map, but
also paves the way for the T113-S3 and D1s, later.
Patch 2/6 uses the opportunity to improve the 32MB memory map, which was
not really practical, and arguably also somewhat buggy.
Patch 3/6 helps to keep the _defconfig files small, while patch 4+5 add
support for the console on UART1.
The final patch then adds a defconfig and .dts file for the CherryPi
F1C200s board, which is used as an example for a F1C200s board.
Please have a look and test, if possible.
Cheers,
Andre
Andre Przywara (6):
sunxi: Kconfig: introduce SUNXI_MINIMUM_DRAM_MB
sunxi: fix 32MB load address layout
sunxi: f1c100: move SKIP_LOWLEVEL_INIT_ONLY into Kconfig
sunxi: f1c100: add UART1 support
sunxi: f1c100: dtsi: add UART1 pins
sunxi: add CherryPi-F1C200s support
Kconfig | 6 +--
.../dts/suniv-f1c100s-cherrypi-f1c200s.dts | 45 +++++++++++++++++
arch/arm/dts/suniv-f1c100s.dtsi | 5 ++
arch/arm/mach-sunxi/Kconfig | 14 ++++++
arch/arm/mach-sunxi/board.c | 4 ++
boot/Kconfig | 4 +-
configs/cherrypi_f1c200s_defconfig | 11 +++++
configs/licheepi_nano_defconfig | 2 -
drivers/pinctrl/sunxi/pinctrl-sunxi.c | 1 +
include/configs/sunxi-common.h | 49 ++++++++++---------
10 files changed, 111 insertions(+), 30 deletions(-)
create mode 100644 arch/arm/dts/suniv-f1c100s-cherrypi-f1c200s.dts
create mode 100644 configs/cherrypi_f1c200s_defconfig
--
2.25.1
next reply other threads:[~2022-10-12 16:35 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-12 16:34 Andre Przywara [this message]
2022-10-12 16:34 ` [PATCH 1/6] sunxi: Kconfig: introduce SUNXI_MINIMUM_DRAM_MB Andre Przywara
2022-10-12 21:33 ` Jernej Škrabec
2022-10-12 16:34 ` [PATCH 2/6] sunxi: fix 32MB load address layout Andre Przywara
2022-10-12 21:37 ` Jernej Škrabec
2022-10-12 16:34 ` [PATCH 3/6] sunxi: f1c100: move SKIP_LOWLEVEL_INIT_ONLY into Kconfig Andre Przywara
2022-10-12 21:38 ` Jernej Škrabec
2022-10-13 8:51 ` Icenowy Zheng
2022-10-12 16:34 ` [PATCH 4/6] sunxi: f1c100: add UART1 support Andre Przywara
2022-10-12 21:42 ` Jernej Škrabec
2022-10-18 9:23 ` Andre Przywara
2022-10-19 3:55 ` Jernej Škrabec
2022-10-12 16:34 ` [PATCH 5/6] sunxi: f1c100: dtsi: add UART1 pins Andre Przywara
2022-10-12 21:43 ` Jernej Škrabec
2022-10-12 16:34 ` [PATCH 6/6] sunxi: add CherryPi-F1C200s support Andre Przywara
2022-10-13 8:33 ` Clément Péron
2022-10-13 9:53 ` Andre Przywara
2022-10-14 5:04 ` Jesse Taube
2022-10-18 14:01 ` Andre Przywara
2022-10-20 15:52 ` Giulio Benetti
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=20221012163458.1968900-1-andre.przywara@arm.com \
--to=andre.przywara@arm.com \
--cc=giulio.benetti@benettiengineering.com \
--cc=jagan@amarulasolutions.com \
--cc=linux-sunxi@lists.linux.dev \
--cc=me@yifangu.com \
--cc=mr.bossman075@gmail.com \
--cc=samuel@sholland.org \
--cc=thirtythreeforty@gmail.com \
--cc=u-boot@lists.denx.de \
--cc=uwu@icenowy.me \
/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