From: Dinh Nguyen <dinguyen@opensource.altera.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] arm: socfpga: Add SoCFPGA SR1500 board
Date: Tue, 27 Oct 2015 10:29:24 -0500 [thread overview]
Message-ID: <562F9854.9070706@opensource.altera.com> (raw)
In-Reply-To: <1445848611-5632-1-git-send-email-sr@denx.de>
Hi Stefan,
On 10/26/2015 03:36 AM, Stefan Roese wrote:
> The SR1500 board is a CycloneV based board, similar to the EBV
> SoCrates, equipped with the following devices:
>
> - SPI NOR
> - eMMC
> - Ethernet
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Marek Vasut <marex@denx.de>
> Cc: Pavel Machek <pavel@denx.de>
> Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
> ---
> v2:
> - Addressed various review comments from Marek:
> - Added chapter about SPL integration for SoC FPGA in doc/README.socfpga
> - Delay after PHY reset deassertion added
> - Reshuffle of the code for the PHY test code (fixes and cleanup)
> - Cleanup of the board config header
>
> arch/arm/dts/Makefile | 4 +-
> arch/arm/dts/socfpga_cyclone5_sr1500.dts | 101 +++++
> arch/arm/mach-socfpga/Kconfig | 6 +
> board/sr1500/MAINTAINERS | 6 +
> board/sr1500/Makefile | 7 +
> board/sr1500/qts/iocsr_config.h | 660 +++++++++++++++++++++++++++++++
> board/sr1500/qts/pinmux_config.h | 219 ++++++++++
> board/sr1500/qts/pll_config.h | 85 ++++
> board/sr1500/qts/sdram_config.h | 341 ++++++++++++++++
> board/sr1500/socfpga.c | 151 +++++++
> configs/socfpga_sr1500_defconfig | 17 +
> doc/README.socfpga | 74 +++-
> include/configs/socfpga_sr1500.h | 113 ++++++
> 13 files changed, 1782 insertions(+), 2 deletions(-)
> create mode 100644 arch/arm/dts/socfpga_cyclone5_sr1500.dts
> create mode 100644 board/sr1500/MAINTAINERS
> create mode 100644 board/sr1500/Makefile
> create mode 100644 board/sr1500/qts/iocsr_config.h
> create mode 100644 board/sr1500/qts/pinmux_config.h
> create mode 100644 board/sr1500/qts/pll_config.h
> create mode 100644 board/sr1500/qts/sdram_config.h
> create mode 100644 board/sr1500/socfpga.c
> create mode 100644 configs/socfpga_sr1500_defconfig
> create mode 100644 include/configs/socfpga_sr1500.h
>
> diff --git a/include/configs/socfpga_sr1500.h b/include/configs/socfpga_sr1500.h
> new file mode 100644
> index 0000000..def01fb
> --- /dev/null
> +++ b/include/configs/socfpga_sr1500.h
> @@ -0,0 +1,113 @@
> +/*
> + * Copyright (C) 2015 Stefan Roese <sr@denx.de>
> + *
> + * SPDX-License-Identifier: GPL-2.0+
> + */
> +#ifndef __CONFIG_SOCFPGA_SR1500_H__
> +#define __CONFIG_SOCFPGA_SR1500_H__
> +
> +#include <asm/arch/socfpga_base_addrs.h>
> +
> +#define CONFIG_BOARD_EARLY_INIT_F
> +
> +#define CONFIG_SYS_NO_FLASH
> +#define CONFIG_DOS_PARTITION
> +#define CONFIG_FAT_WRITE
> +
> +#define CONFIG_HW_WATCHDOG
> +
> +/* U-Boot Commands */
> +#define CONFIG_CMD_ASKENV
> +#define CONFIG_CMD_BOOTZ
> +#define CONFIG_CMD_CACHE
> +#define CONFIG_CMD_DHCP
> +#define CONFIG_CMD_EXT4
> +#define CONFIG_CMD_EXT4_WRITE
> +#define CONFIG_CMD_FAT
> +#define CONFIG_CMD_FS_GENERIC
> +#define CONFIG_CMD_GPIO
> +#define CONFIG_CMD_GREPENV
> +#define CONFIG_CMD_MEMTEST
> +#define CONFIG_CMD_MII
> +#define CONFIG_CMD_MMC
> +#define CONFIG_CMD_PING
> +#define CONFIG_CMD_SF
> +#define CONFIG_CMD_SPI
> +#define CONFIG_CMD_TIME
> +
> +/* Memory configurations */
> +#define PHYS_SDRAM_1_SIZE 0x40000000 /* 1GiB on SR1500 */
> +
> +/* Booting Linux */
> +#define CONFIG_BOOTDELAY 3
> +#define CONFIG_BOOTFILE "uImage"
> +#define CONFIG_BOOTARGS "console=ttyS0" __stringify(CONFIG_BAUDRATE)
> +#define CONFIG_BOOTCOMMAND "run mmcload; run mmcboot"
> +#define CONFIG_LOADADDR 0x8000
All of the other boards have switched to use 0x01000000 as the LOADADDR.
Dinh
next prev parent reply other threads:[~2015-10-27 15:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-23 7:26 [U-Boot] [PATCH] arm: socfpga: Allow board specific config values for env Stefan Roese
2015-10-23 7:26 ` [U-Boot] [PATCH] arm: socfpga: Add CONFIG_BUILD_TARGET to socfpga_common.h Stefan Roese
2015-10-23 18:26 ` Marek Vasut
2015-10-23 7:26 ` [U-Boot] [PATCH] arm: socfpga: Add SoCFPGA SR1500 board Stefan Roese
2015-10-23 18:40 ` Marek Vasut
2015-10-26 8:17 ` Stefan Roese
2015-10-26 20:32 ` Marek Vasut
2015-10-26 8:36 ` [U-Boot] [PATCH v2] " Stefan Roese
2015-10-27 15:29 ` Dinh Nguyen [this message]
2015-10-28 17:45 ` Marek Vasut
2015-11-02 12:26 ` [U-Boot] [PATCH v3] " Stefan Roese
2015-11-02 18:44 ` Marek Vasut
2015-11-18 10:06 ` [U-Boot] [PATCH v4] " Stefan Roese
2015-11-19 15:38 ` Pavel Machek
2015-10-23 18:25 ` [U-Boot] [PATCH] arm: socfpga: Allow board specific config values for env Marek Vasut
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=562F9854.9070706@opensource.altera.com \
--to=dinguyen@opensource.altera.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox