Skip to contentSkip to conversation

Add support for Synology DS414 and some related fixes

PATCH Superseded Phil Sutter 1 participant 1 message Dec 21, 2015

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover Add support for Synology DS414 and some related fixes

This is version 2 of my patch series to support Synology DS414 NAS after rebasing it onto mvebu-dm-spl-2015-12-14 branch of u-boot-a38x.git. Due to this, some things became unnecessary or could be solved differently. In addition to that, static env settings have been added. In detail:

* Dropped patch 2, already fixed upstream.
* Dropped patch 7, board IDs now start at 1.
* Dropped patch 8, ECC is now selectable from board headers.
* Changed patch 9:
* Use switch() statement in mvebu_soc_family().
* Move changes to ctrl_model_get() here from DS414 support patch since it belongs to SoC support.
* Changed patch 10:
* Added U-Boot specific things to DT file.
* Static env settings added.
* Updated ds414_defconfig and ds414.h to incorporate changes done for other Armada XP boards as well.
* Fixed comment in ds414.h.
* Added partition types and VFAT support to ds414.h.

The new summary is as follows:
* Patches 1, 2 and 4 fix various files for enabled debugging.
* Patch 3 updates the board porting guide in README file.
* Patch 5 holds a crucial pci_mvebu fix necessary for DS414 support.
* Patches 6 and 7 contain the actual board support, split into a generic part for MV78230 SoC and a board specific part for clarity.
* Patch 8 adds a new command to deal with Synology specialties.

In case you would like me to split this into multiple series, just let me know and I will resend.

Phil Sutter (8):
drivers/pci: Fix for debug builds without CONFIG_PCI_ENUM_ONLY
mvebu: Fix for non-DM ehci-marvell support
README: Review the u-boot porting guide list
axp: Fix debugging support in DDR3 write leveling drivers/pci/pci_mvebu: Fix for boards with X4 lanes
mvebu: Add rudimental MV78320 support
mvebu: Support Synology DS414
common: Implement Synology specific command set

 README                                             |  11 +-
 arch/arm/Kconfig                                   |   1 +
 arch/arm/dts/Makefile                              |   2 +
 arch/arm/dts/armada-xp-synology-ds414.dts          | 337 +++++++++++++++++++++
 arch/arm/mach-mvebu/Kconfig                        |   3 +
 arch/arm/mach-mvebu/cpu.c                          |  37 ++-
 arch/arm/mach-mvebu/include/mach/cpu.h             |   3 +
 arch/arm/mach-mvebu/include/mach/soc.h             |  10 +-
 arch/arm/mach-mvebu/serdes/axp/board_env_spec.h    |   5 +-
 .../arm/mach-mvebu/serdes/axp/high_speed_env_lib.c |   9 +-
 board/Synology/ds414/Kconfig                       |  12 +
 board/Synology/ds414/Makefile                      |   1 +
 board/Synology/ds414/ds414.c                       | 173 +++++++++++
 board/Synology/ds414/kwbimage.cfg                  |  12 +
 common/Makefile                                    |   1 +
 common/cmd_syno.c                                  | 225 ++++++++++++++
 configs/ds414_defconfig                            |  18 ++
 drivers/ddr/marvell/axp/ddr3_write_leveling.c      |   4 +-
 drivers/pci/pci_auto_old.c                         |   2 +-
 drivers/pci/pci_mvebu.c                            |  21 ++
 include/configs/ds414.h                            | 165 ++++++++++
 21 files changed, 1033 insertions(+), 19 deletions(-)
 create mode 100644 arch/arm/dts/armada-xp-synology-ds414.dts
 create mode 100644 board/Synology/ds414/Kconfig
 create mode 100644 board/Synology/ds414/Makefile
 create mode 100644 board/Synology/ds414/ds414.c
 create mode 100644 board/Synology/ds414/kwbimage.cfg
 create mode 100644 common/cmd_syno.c
 create mode 100644 configs/ds414_defconfig
 create mode 100644 include/configs/ds414.h
Signature · 1 line
2.5.3