All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [EXT] [PATCH v2 2/2] arm: octeontx2: Add Octeon TX2 CN913x DB support
Date: Tue, 11 May 2021 08:06:44 +0200	[thread overview]
Message-ID: <e1e19d6a-7a4e-477a-3abd-3752e5753a2e@denx.de> (raw)
In-Reply-To: <CO6PR18MB44177827696C0065ED4BAB87CA599@CO6PR18MB4417.namprd18.prod.outlook.com>

Hi Kosta,

On 05.05.21 13:17, Kostya Porotchkin wrote:
> Hi, Stefan,
> 
> I think the MAINTAINERS file should be fixed for reflecting the
> configuration file name change and moving to single defconfig from 2.

Sure, this needs to get updated. Thanks for catching. v3 will
follow soon.

Thanks,
Stefan

> 
> Regards
> Kosta
> 
> ________________________________________
> From: Stefan Roese <sr@denx.de>
> Sent: Wednesday, May 5, 2021 11:21
> To: u-boot at lists.denx.de
> Cc: Kostya Porotchkin; Nadav Haklai
> Subject: [EXT] [PATCH v2 2/2] arm: octeontx2: Add Octeon TX2 CN913x DB support
> 
> External Email
> 
> ----------------------------------------------------------------------
> From: Konstantin Porotchkin <kostap@marvell.com>
> 
> This patch adds the base support for the Marvell Octeon TX2 CN913x DB.
> Only one defconfig is added with this patch. Other board variants are
> available (NAND, MMC booting) and images for these boards can be
> generated by following the documentation added in the included README.
> 
> Signed-off-by: Konstantin Porotchkin <kostap@marvell.com>
> Signed-off-by: Stefan Roese <sr@denx.de>
> 
> ---
> 
> Changes in v2:
> - Changed commit text from CN9132 to CN913x as it supports all
>    variants
> - Renamed default defconfig to mvebu_db_cn9130_defconfig
> - Removed NAND booting defconfig and added small README
> 
>   board/Marvell/octeontx2_cn913x/MAINTAINERS |  2 +
>   board/Marvell/octeontx2_cn913x/README      | 24 ++++++
>   configs/mvebu_db_cn9130_defconfig          | 89 ++++++++++++++++++++++
>   3 files changed, 115 insertions(+)
>   create mode 100644 board/Marvell/octeontx2_cn913x/README
>   create mode 100644 configs/mvebu_db_cn9130_defconfig
> 
> diff --git a/board/Marvell/octeontx2_cn913x/MAINTAINERS b/board/Marvell/octeontx2_cn913x/MAINTAINERS
> index d469e16ea753..5ce23c80f6b2 100644
> --- a/board/Marvell/octeontx2_cn913x/MAINTAINERS
> +++ b/board/Marvell/octeontx2_cn913x/MAINTAINERS
> @@ -3,3 +3,5 @@ M:      Kostya Porotchkin <kostap@marvell.com>
>   S:     Maintained
>   F:     board/Marvell/octeontx2_cn913x/
>   F:     configs/mvebu_crb_cn9130_defconfig
> +F:     configs/mvebu_db_cn9132_defconfig
> +F:     configs/mvebu_db_cn9132_nand_defconfig
> diff --git a/board/Marvell/octeontx2_cn913x/README b/board/Marvell/octeontx2_cn913x/README
> new file mode 100644
> index 000000000000..3d0c8b31e4c2
> --- /dev/null
> +++ b/board/Marvell/octeontx2_cn913x/README
> @@ -0,0 +1,24 @@
> +Not all board variants are represented with a specific defconfig in
> +mainline U-Boot. Here a small documentation on how to generate U-Boot
> +images for all other board variants, available via different dts
> +files and defconfigs.
> +
> +Use a different dts than in the defconfig:
> +
> +make DEVICE_TREE=cn9131-db-B
> +
> +Use a different boot device (e.g. MMC or NAND instead of SPI NOR):
> +
> +For MMC, please make the following changes to the defconfig via
> +e.g. "make menuconfig":
> +Remove CONFIG_MVEBU_SPI_BOOT
> +Select CONFIG_MVEBU_MMC_BOOT
> +Remove CONFIG_ENV_IS_IN_SPI_FLASH
> +Select CONFIG_ENV_IS_IN_MMC
> +
> +For NAND, please make the following changes to the defconfig via
> +e.g. "make menuconfig":
> +Remove CONFIG_MVEBU_SPI_BOOT
> +Select CONFIG_MVEBU_NAND_BOOT
> +Remove CONFIG_ENV_IS_IN_SPI_FLASH
> +Select CONFIG_ENV_IS_IN_NAND
> diff --git a/configs/mvebu_db_cn9130_defconfig b/configs/mvebu_db_cn9130_defconfig
> new file mode 100644
> index 000000000000..57fe525b4b65
> --- /dev/null
> +++ b/configs/mvebu_db_cn9130_defconfig
> @@ -0,0 +1,89 @@
> +CONFIG_ARM=y
> +CONFIG_ARCH_CPU_INIT=y
> +CONFIG_ARCH_MVEBU=y
> +CONFIG_SYS_TEXT_BASE=0x00000000
> +CONFIG_SYS_MALLOC_F_LEN=0x2000
> +CONFIG_NR_DRAM_BANKS=2
> +CONFIG_TARGET_OCTEONTX2_CN913x=y
> +CONFIG_ENV_SIZE=0x10000
> +CONFIG_ENV_OFFSET=0x3f0000
> +CONFIG_ENV_SECT_SIZE=0x10000
> +CONFIG_DM_GPIO=y
> +CONFIG_DEBUG_UART_BASE=0xf0512000
> +CONFIG_DEBUG_UART_CLOCK=200000000
> +CONFIG_DEFAULT_DEVICE_TREE="cn9130-db-A"
> +CONFIG_DEBUG_UART=y
> +CONFIG_AHCI=y
> +CONFIG_DISTRO_DEFAULTS=y
> +# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
> +CONFIG_USE_PREBOOT=y
> +CONFIG_SYS_CONSOLE_INFO_QUIET=y
> +# CONFIG_DISPLAY_CPUINFO is not set
> +# CONFIG_DISPLAY_BOARDINFO is not set
> +CONFIG_DISPLAY_BOARDINFO_LATE=y
> +CONFIG_ARCH_EARLY_INIT_R=y
> +CONFIG_BOARD_EARLY_INIT_F=y
> +CONFIG_SYS_PROMPT="Marvell>> "
> +CONFIG_CMD_I2C=y
> +CONFIG_CMD_MMC=y
> +CONFIG_CMD_MTD=y
> +CONFIG_CMD_PCI=y
> +CONFIG_CMD_SPI=y
> +CONFIG_CMD_USB=y
> +# CONFIG_CMD_SETEXPR is not set
> +CONFIG_CMD_TFTPPUT=y
> +CONFIG_CMD_CACHE=y
> +CONFIG_CMD_TIME=y
> +CONFIG_CMD_MVEBU_BUBT=y
> +CONFIG_CMD_EXT4_WRITE=y
> +CONFIG_MAC_PARTITION=y
> +CONFIG_ENV_OVERWRITE=y
> +CONFIG_ENV_IS_IN_SPI_FLASH=y
> +CONFIG_SYS_RELOC_GD_ENV_ADDR=y
> +CONFIG_SYS_MMC_ENV_DEV=1
> +CONFIG_AHCI_MVEBU=y
> +CONFIG_DM_GPIO_LOOKUP_LABEL=y
> +CONFIG_DM_I2C=y
> +CONFIG_SYS_I2C_MVTWSI=y
> +CONFIG_MISC=y
> +CONFIG_MVEBU_SAR=y
> +CONFIG_MMC_BROKEN_CD=y
> +CONFIG_DM_MMC=y
> +CONFIG_MMC_HS200_SUPPORT=y
> +CONFIG_MMC_SDHCI=y
> +CONFIG_MMC_SDHCI_XENON=y
> +CONFIG_MTD=y
> +CONFIG_MTD_RAW_NAND=y
> +CONFIG_SYS_NAND_USE_FLASH_BBT=y
> +CONFIG_NAND_PXA3XX=y
> +CONFIG_SF_DEFAULT_MODE=0
> +CONFIG_SPI_FLASH_SFDP_SUPPORT=y
> +CONFIG_SPI_FLASH_MACRONIX=y
> +CONFIG_SPI_FLASH_SPANSION=y
> +CONFIG_SPI_FLASH_STMICRO=y
> +CONFIG_SPI_FLASH_SST=y
> +CONFIG_SPI_FLASH_WINBOND=y
> +CONFIG_SPI_FLASH_MTD=y
> +CONFIG_PHY_MARVELL=y
> +CONFIG_PHY_GIGE=y
> +CONFIG_MVPP2=y
> +CONFIG_NVME=y
> +CONFIG_PCI=y
> +CONFIG_DM_PCI=y
> +CONFIG_PCIE_DW_MVEBU=y
> +CONFIG_MVEBU_COMPHY_SUPPORT=y
> +CONFIG_PINCTRL=y
> +CONFIG_PINCTRL_ARMADA_8K=y
> +CONFIG_DEBUG_UART_SHIFT=2
> +CONFIG_DEBUG_UART_ANNOUNCE=y
> +CONFIG_SYS_NS16550=y
> +CONFIG_KIRKWOOD_SPI=y
> +CONFIG_USB=y
> +CONFIG_DM_USB=y
> +CONFIG_USB_XHCI_HCD=y
> +CONFIG_USB_EHCI_HCD=y
> +CONFIG_USB_HOST_ETHER=y
> +CONFIG_USB_ETHER_ASIX=y
> +CONFIG_USB_ETHER_MCS7830=y
> +CONFIG_USB_ETHER_RTL8152=y
> +CONFIG_USB_ETHER_SMSC95XX=y
> --
> 2.31.1
> 


Viele Gr??e,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de

      reply	other threads:[~2021-05-11  6:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-05  8:21 [PATCH v2 0/2] arm: octeontx2: Add base support for Marvell OcteonTX2 CN913x DB Stefan Roese
2021-05-05  8:21 ` [PATCH v2 1/2] arm: octeontx2: Add dtsi/dts files for Octeon TX2 " Stefan Roese
2021-05-05  8:21 ` [PATCH v2 2/2] arm: octeontx2: Add Octeon TX2 CN913x DB support Stefan Roese
2021-05-05 11:17   ` [EXT] " Kostya Porotchkin
2021-05-11  6:06     ` Stefan Roese [this message]

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=e1e19d6a-7a4e-477a-3abd-3752e5753a2e@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /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.