From: Gregory CLEMENT <gregory.clement@bootlin.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v4 6/7] MSCC: add board support for the Luton based evaluation board
Date: Sun, 16 Dec 2018 10:26:57 +0100 [thread overview]
Message-ID: <87lg4pkeji.fsf@bootlin.com> (raw)
In-Reply-To: <9dc41cb5-847f-efbd-e58b-da46bda17864@gmail.com> (Daniel Schwierzeck's message of "Sat, 15 Dec 2018 18:13:28 +0100")
Hi Daniel,
On sam., déc. 15 2018, Daniel Schwierzeck <daniel.schwierzeck@gmail.com> wrote:
> Am 14.12.18 um 16:16 schrieb Gregory CLEMENT:
>> Adding the support for the Luton boards PCB91 which share common code with
>> the Ocelots boards, including board code, device tree and configuration.
>>
>> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
>> ---
>> MAINTAINERS | 1 +
>> arch/mips/dts/luton_pcb091.dts | 36 ++++++++++++++
>> arch/mips/dts/mscc,luton.dtsi | 87 ++++++++++++++++++++++++++++++++++
>> arch/mips/mach-mscc/Kconfig | 2 +
>> board/mscc/luton/Kconfig | 14 ++++++
>> board/mscc/luton/Makefile | 3 ++
>> board/mscc/luton/luton.c | 28 +++++++++++
>> configs/mscc_luton_defconfig | 66 ++++++++++++++++++++++++++
>> 8 files changed, 237 insertions(+)
>> create mode 100644 arch/mips/dts/luton_pcb091.dts
>> create mode 100644 arch/mips/dts/mscc,luton.dtsi
>> create mode 100644 board/mscc/luton/Kconfig
>> create mode 100644 board/mscc/luton/Makefile
>> create mode 100644 board/mscc/luton/luton.c
>> create mode 100644 configs/mscc_luton_defconfig
>>
>
>> diff --git a/configs/mscc_luton_defconfig b/configs/mscc_luton_defconfig
>> new file mode 100644
>> index 0000000000..47fe12b6ee
>> --- /dev/null
>> +++ b/configs/mscc_luton_defconfig
>> @@ -0,0 +1,66 @@
>> +CONFIG_MIPS=y
>> +CONFIG_SYS_TEXT_BASE=0x40000000
>> +CONFIG_SYS_MALLOC_F_LEN=0x2000
>> +CONFIG_DEBUG_UART_BOARD_INIT=y
>> +CONFIG_DEBUG_UART_BASE=0x70100000
>> +CONFIG_DEBUG_UART_CLOCK=208333333
>> +CONFIG_ARCH_MSCC=y
>> +CONFIG_TARGET_LUTON_PCB091=y
>> +CONFIG_DDRTYPE_MT47H128M8HQ=y
>> +CONFIG_SYS_LITTLE_ENDIAN=y
>> +CONFIG_MIPS_BOOT_FDT=y
>> +CONFIG_DEFAULT_DEVICE_TREE="luton_pcb091"
>> +CONFIG_DEBUG_UART=y
>> +CONFIG_FIT=y
>> +CONFIG_BOOTDELAY=3
>> +CONFIG_USE_BOOTARGS=y
>> +CONFIG_BOOTARGS="console=ttyS0,115200"
>> +CONFIG_LOGLEVEL=7
>> +CONFIG_DISPLAY_CPUINFO=y
>> +CONFIG_SYS_PROMPT="pcb091 # "
>> +# CONFIG_CMD_BDI is not set
>> +# CONFIG_CMD_CONSOLE is not set
>> +# CONFIG_CMD_ELF is not set
>> +# CONFIG_CMD_EXPORTENV is not set
>> +# CONFIG_CMD_IMPORTENV is not set
>> +# CONFIG_CMD_CRC32 is not set
>> +CONFIG_CMD_MD5SUM=y
>> +CONFIG_CMD_MEMINFO=y
>> +CONFIG_CMD_MEMTEST=y
>> +# CONFIG_CMD_FLASH is not set
>> +CONFIG_CMD_GPIO=y
>> +CONFIG_CMD_SF=y
>> +CONFIG_CMD_SPI=y
>> +CONFIG_CMD_DHCP=y
>> +# CONFIG_NET_TFTP_VARS is not set
>> +# CONFIG_CMD_NFS is not set
>> +CONFIG_CMD_PING=y
>> +CONFIG_CMD_MTDPARTS=y
>> +CONFIG_MTDIDS_DEFAULT="nor0=spi_flash"
>> +CONFIG_MTDPARTS_DEFAULT="mtdparts=spi_flash:512k(UBoot),256k(Env),256k(conf),6m at 1m(linux)"
>> +# CONFIG_ISO_PARTITION is not set
>> +CONFIG_OF_EMBED=y
>
> this gives now a build warning
>
> ===================== WARNING ======================
> CONFIG_OF_EMBED is enabled. This option should only
> be used for debugging purposes. Please use
> CONFIG_OF_SEPARATE for boards in mainline.
> See doc/README.fdt-control for more info.
> ====================================================
I did not get this warning. For now I base my series on v2018.11,
should I base it on v2019.01-rc1 (i didn't realized it was already
released) ?
>
>
> Shall I change it when applying or do you want to test it first and send
> a follow-up patch?
I'd like to test it to be sure it continue to work.
Thanks,
Gregory
>
>> +CONFIG_ENV_IS_IN_SPI_FLASH=y
>> +CONFIG_NET_RANDOM_ETHADDR=y
>> +CONFIG_CLK=y
>> +CONFIG_DM_GPIO=y
>> +CONFIG_DM_SPI_FLASH=y
>> +CONFIG_SPI_FLASH=y
>> +CONFIG_SPI_FLASH_BAR=y
>> +CONFIG_SPI_FLASH_GIGADEVICE=y
>> +CONFIG_SPI_FLASH_MACRONIX=y
>> +CONFIG_SPI_FLASH_SPANSION=y
>> +CONFIG_SPI_FLASH_STMICRO=y
>> +CONFIG_SPI_FLASH_WINBOND=y
>> +CONFIG_SPI_FLASH_MTD=y
>> +CONFIG_DM_ETH=y
>> +CONFIG_PINCTRL=y
>> +CONFIG_PINCONF=y
>> +CONFIG_DM_SERIAL=y
>> +CONFIG_DEBUG_UART_SHIFT=2
>> +CONFIG_SYS_NS16550=y
>> +CONFIG_SPI=y
>> +CONFIG_DM_SPI=y
>> +CONFIG_SOFT_SPI=y
>> +CONFIG_LZMA=y
>> +CONFIG_XZ=y
>>
>
> --
> - Daniel
--
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com
next prev parent reply other threads:[~2018-12-16 9:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-14 15:16 [U-Boot] [PATCH v4 0/7] Add support for the SoCs found in Microsemi switches Gregory CLEMENT
2018-12-14 15:16 ` [U-Boot] [PATCH v4 1/7] MIPS: move create_tlb() in an proper header: mipsregs.h Gregory CLEMENT
2018-12-14 15:16 ` [U-Boot] [PATCH v4 2/7] MIPS: Allow to prefetch and lock instructions into cache Gregory CLEMENT
2018-12-14 15:16 ` [U-Boot] [PATCH v4 3/7] MSCC: add support for Ocelot SoCs Gregory CLEMENT
2018-12-14 15:16 ` [U-Boot] [PATCH v4 4/7] MSCC: add support for Luton SoCs Gregory CLEMENT
2018-12-14 15:16 ` [U-Boot] [PATCH v4 5/7] MSCC: add board support for the Ocelots based evaluation boards Gregory CLEMENT
2018-12-14 15:16 ` [U-Boot] [PATCH v4 6/7] MSCC: add board support for the Luton based evaluation board Gregory CLEMENT
2018-12-15 17:13 ` Daniel Schwierzeck
2018-12-16 9:26 ` Gregory CLEMENT [this message]
2018-12-17 9:55 ` Gregory CLEMENT
2018-12-17 12:50 ` Daniel Schwierzeck
2018-12-17 14:50 ` Gregory CLEMENT
2018-12-14 15:16 ` [U-Boot] [PATCH v4 7/7] MIPS: bootm: Add support for compatibility with redboot Gregory CLEMENT
2018-12-17 23:43 ` [U-Boot] [PATCH v4 0/7] Add support for the SoCs found in Microsemi switches Daniel Schwierzeck
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=87lg4pkeji.fsf@bootlin.com \
--to=gregory.clement@bootlin.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