Skip to content

sunxi: improve F1C200s support

Andre Przywara linux-sunxi u-boot 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6sunxi: Kconfig: introduce SUNXI_MINIMUM_DRAM_MBKconfig arch/arm/mach-sunxi/Kconfig boot/Kconfig +1 more+34 -191 reply
2/6sunxi: fix 32MB load address layoutinclude/configs/sunxi-common.h+9 -91 reply
3/6sunxi: f1c100: move SKIP_LOWLEVEL_INIT_ONLY into Kconfigarch/arm/mach-sunxi/Kconfig configs/licheepi_nano_defconfig+2 -22 replies
4/6sunxi: f1c100: add UART1 supportarch/arm/mach-sunxi/board.c drivers/pinctrl/sunxi/pinctrl-sunxi.c+5 -03 replies
5/6sunxi: f1c100: dtsi: add UART1 pinsarch/arm/dts/suniv-f1c100s.dtsi+5 -01 reply
6/6sunxi: add CherryPi-F1C200s supportarch/arm/dts/suniv-f1c100s-cherrypi-f1c200s.dts configs/cherrypi_f1c200s_defconfig+56 -05 replies

Reviews trailers per patch

5 of 6 patches have a Reviewed-by or Acked-by.

PatchJernej SkrabecGiulio Benetti
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/6] sunxi: improve F1C200s support

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
Signature · 1 line
2.25.1