All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masami Hiramatsu <masami.hiramatsu@linaro.org>
To: u-boot@lists.denx.de
Subject: [PATCH 11/13] board: synquacer: Add DeveloperBox 96boards EE support
Date: Wed, 14 Apr 2021 10:12:42 +0900	[thread overview]
Message-ID: <CAA93ih30JBjQ3rfgD8OA4jeY2M-Ou7DmOSWqxzHRdnq=PFRqyA@mail.gmail.com> (raw)
In-Reply-To: <20210413174753.GT1310@bill-the-cat>

Hello Tom,

2021?4?14?(?) 2:47 Tom Rini <trini@konsulko.com>:
>
> On Wed, Apr 14, 2021 at 12:31:21AM +0900, Masami Hiramatsu wrote:
>
> > Add the DeveloperBox 96boards EE support. This board is also
> > known as Socionext SynQuacer E-Series. It contians one "SC2A11"
> > SoC, which has 24-cores of arm Cortex-A53, and 4 DDR3 slots,
> > 3 PCIe slots (1 4x port and 2 1x ports which are expanded via
> > PCIe bridge chip), 2 USB 3.0 ports and 2 USB 2.0 ports, 2 SATA
> > ports and 1 GbE, 64MB NOR flash and 8GB eMMC on standard
> > MicroATX Form Factor.
> >
> > For more information, see this page;
> >   https://www.96boards.org/product/developerbox/
> >
> > Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
> [snip]
> > diff --git a/arch/arm/include/asm/arch-sc2a11/gpio.h b/arch/arm/include/asm/arch-sc2a11/gpio.h
> > new file mode 100644
> > index 0000000000..6779803080
> > --- /dev/null
> > +++ b/arch/arm/include/asm/arch-sc2a11/gpio.h
> > @@ -0,0 +1,9 @@
> > +/* SPDX-License-Identifier: GPL-2.0+ */
> > +/*
> > + * Copyright 2021 (C) Linaro Ltd.
> > + */
> > +
> > +#ifndef __ASM_ARCH_SC2A11_GPIO_H
> > +#define __ASM_ARCH_SC2A11_GPIO_H
> > +
> > +#endif
>
> Please update the list in arch/arm/include/asm/gpio.h to not look for
> asm/arch/gpio.h on this SoC, thanks.

Ah, I missed that. OK, I'll change arch/arm/include/asm/gpio.h.

BTW, isn't it better to introduce CONFIG_ARCH_GENERIC_GPIO
instead of updating the header?

> > diff --git a/board/socionext/developerbox/README b/board/socionext/developerbox/README
> > new file mode 100644
> > index 0000000000..bb121002dd
> > --- /dev/null
> > +++ b/board/socionext/developerbox/README
>
> This needs to be in rST form and under doc/board/ now.
>
> [snip]
> > +/*
> > + * arguments for booti command
> > + */
> > +#define LINUX_BASIC_BOOTARGS "basic_bootargs='"                                      \
> > +                             "console=ttyAMA0," __stringify(CONFIG_BAUDRATE) " "     \
> > +                             "rootwait verbose'\0"
> > +
> > +/* kernel:mmcblk0p1(ext2), rootfs:mmcblk0p1(ext2), devtree:mmcblk0p1(ext2) */
> > +#define      LINUX_MMCBOOTCOMMAND1                                                   \
> > +     "mmcboot1=echo 'Boot from MMC (ext2 single rootfs)' ; "                 \
> > +             "mmc dev 0 &&"                                                  \
> > +             "ext2load mmc 0:1 ${kernel_addr} /boot/Image && "               \
> > +             "ext2load mmc 0:1 ${fdt_addr_base} /boot/DeveloperBox.dtb && "  \
> > +             "setenv fdt_addr ${fdt_addr_base} &&"                           \
> > +             "setenv fdt_size ${filesize} &&"                                \
> > +             "setenv bootargs ${mmc_bootargs1} && "                          \
> > +             "booti ${kernel_addr} - ${fdt_addr}\0"                          \
> > +     "mmc_bootargs1="                                                        \
> > +             "root=/dev/mmcblk0p1 rw dtb=0x${fdt_addr},0x${fdt_size} "       \
> > +             "${basic_bootargs} \0"
>
> You are strongly encouraged to use the generic distro boot features
> instead.  This may require a little work to handle the device tree.

OK, anyway I can just drop it, because this platform is expected to use
UEFI boot (the DeveloperBox is shipped with EDK2).
I left this just for reference.

Thank you,

-- 
Masami Hiramatsu

  reply	other threads:[~2021-04-14  1:12 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <161832714362.562320.8024090839631691588.stgit@localhost>
     [not found] ` <161832781487.562320.49203469390042692.stgit@localhost>
2021-04-13 17:47   ` [PATCH 10/13] ARM: dts: synquacer: Add device trees for DeveloperBox Tom Rini
2021-04-14  1:06     ` Masami Hiramatsu
2021-04-14 17:32       ` Tom Rini
2021-04-16  9:13         ` Masami Hiramatsu
     [not found] ` <161832788118.562320.11063528179837203251.stgit@localhost>
2021-04-13 17:47   ` [PATCH 11/13] board: synquacer: Add DeveloperBox 96boards EE support Tom Rini
2021-04-14  1:12     ` Masami Hiramatsu [this message]
2021-04-14  1:27       ` Takahiro Akashi
2021-04-14  2:06         ` Masami Hiramatsu
2021-04-14  4:48           ` Takahiro Akashi
2021-04-14  6:29             ` Masami Hiramatsu
2021-04-14  7:13               ` Takahiro Akashi
2021-04-14 17:35       ` Tom Rini
     [not found] ` <161832721269.562320.7735221436131924903.stgit@localhost>
2021-04-14 19:37   ` [PATCH 01/13] pci: Update the highest subordinate bus number for bridge setup Simon Glass
2021-04-15 15:06     ` Tim Harvey
2021-04-16  0:14       ` Masami Hiramatsu
2021-04-16  0:21         ` Tim Harvey
2021-04-16  8:51           ` Masami Hiramatsu
     [not found] ` <161832727900.562320.2865719006692739168.stgit@localhost>
2021-04-14 19:37   ` [PATCH 02/13] ata: ahci-pci: Use scsi_ops to initialize ops Simon Glass
     [not found] ` <161832734602.562320.10889834449796156249.stgit@localhost>
2021-04-14 19:37   ` [PATCH 03/13] dm: pci: Skip setting VGA bridge bits if parent device is the host bus Simon Glass
2021-04-14 22:30     ` Bin Meng
2021-04-15  2:59       ` Masami Hiramatsu

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='CAA93ih30JBjQ3rfgD8OA4jeY2M-Ou7DmOSWqxzHRdnq=PFRqyA@mail.gmail.com' \
    --to=masami.hiramatsu@linaro.org \
    --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.