From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [PATCH v1 00/15] add basic driver support for broadcom NS3 soc
Date: Wed, 3 Jun 2020 23:16:24 -0400 [thread overview]
Message-ID: <20200604031624.GC32287@bill-the-cat> (raw)
In-Reply-To: <CAPnjgZ3c+jjqx4b44T=jwCMxP-kvh0nxpxxtmb=Wq3H6GhqrCA@mail.gmail.com>
On Wed, Jun 03, 2020 at 08:59:58PM -0600, Simon Glass wrote:
> Hi Rayagonda,
>
> On Wed, 3 Jun 2020 at 03:10, Rayagonda Kokatanur
> <rayagonda.kokatanur@broadcom.com> wrote:
> >
> > Hi Simon,
> >
> > On Wed, May 20, 2020 at 7:50 PM Simon Glass <sjg@chromium.org> wrote:
> > >
> > > Hi Rayagonda,
> > >
> > > On Tue, 19 May 2020 at 23:19, Rayagonda Kokatanur
> > > <rayagonda.kokatanur@broadcom.com> wrote:
> > > >
> > > > Hi Thomas,
> > > >
> > > > On Wed, May 20, 2020 at 7:34 AM Thomas Fitzsimmons <fitzsim@fitzsim.org> wrote:
> > > > >
> > > > > Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com> writes:
> > > > >
> > > > > > On Tue, May 19, 2020 at 11:01 PM Tom Rini <trini@konsulko.com> wrote:
> > > > > >>
> > > > > >> On Tue, May 19, 2020 at 10:39:49PM +0530, Rayagonda Kokatanur wrote:
> > > > > >> > Hi Tom,
> > > > > >> >
> > > > > >> >
> > > > > >> > On Tue, May 19, 2020 at 12:46 AM Tom Rini <trini@konsulko.com> wrote:
> > > > > >> > >
> > > > > >> > > On Sun, May 17, 2020 at 01:49:30PM +0530, Rayagonda Kokatanur wrote:
> > > > > >> > >
> > > > > >> > > > This is the second patch set series prepared on top of the
> > > > > >> > > > first patch set ("add initial support for broadcom NS3 soc").
> > > > > >> > > >
> > > > > >> > > > This patch set will add following,
> > > > > >> > > > -dt nodes and defconfig options for basic device like pinctrl,
> > > > > >> > > > gpio, mmc, qspi, wdt, i2c and pcie.
> > > > > >> > > > -start wdt service
> > > > > >> > > > -Enable GPT commands
> > > > > >> > > > -Enable EXT4 and FAT fs support
> > > > > >> > >
> > > > > >> > > All of the dts changes not in a -u-boot.dtsi file either come from
> > > > > >> > > mainline Linux or at least linux-next and have had some level upstream
> > > > > >> > > review, right? Thanks!
> > > > > >> >
> > > > > >> > Yes. All the DTS changes are merged in the Linux and are available at
> > > > > >> > arch/arm64/boot/dts/broadcom/stingray/
> > > > > >>
> > > > > >> Great. Please reference the release you're taking these from as that
> > > > > >> will make future resyncs easier. Thanks!
> > > > > >
> > > > > > It's Linux v5.6.
> > > > >
> > > > > What's the relationship between e.g., bcm958742t.dts and ns3.dts? I
> > > > > looked at the mainline Linux device trees and I couldn't easily see the
> > > > > correspondence. Will the renaming complicate synchronization?
> > > >
> > > > Do we need to maintain the same dt file between linux and uboot ?
> > > > Also in uboot we don't enable all devices, how do we handle this ?
> > >
> > > If there is no U-Boot driver for a particular node then it will be
> > > ignored. It is easier to keep them in sync if they are the same in
> > > U-Boot and Linux.
> > >
> > > > Please let me know.
> > >
> > > That is implied by your question above :-)
> >
> > NS3 board is derivative of the existing bcm95874t board
> > (arch/arm64/boot/dts/broadcom/stingray/bcm958742t.dt)
> > Hence we have different dt for NS3 in Linux but it is not yet upstremed.
> >
> > I compared the dt file size between uboot and Linux.
> > Uboot dt size = 9K
> > Linux dt size = 41K (32K extra)
> >
> > In uboot we have 8MB non-volatile SPI flash memory.
> > Out of 8MB, 1.5MB is allocated to fip.bin image and remaining 6.5MB
> > space is allocated to other components
> > like nitor/bnxt firmware image, DDR shmoo value and for backup image.
> >
> > uboot.bin is part of the fip.bin image. If we pull Linux dt files this
> > will use extra 33K memory of allocated 1.5MB.
> > This increase in 33K will reduce total memory availability for u-boot
> > and other features (like ARM trusted firmware, Op-TEE OS) development
> > in future.
> > Hence we anticipate qpsi memory shortage going ahead for new features.
> >
> > So please let me know your view on maintaining different dt files in uboot.
>
> Sounds like you have plenty of memory, actually. Is U-Boot the first
> thing to load?
>
> I think it is important to use the same filename and have the same DT
> contents where they are present in U-Boot. But if you want to leave
> out nodes, etc., that seems OK to me. It should be easy enough to meld
> in the updates later.
>
> I wonder if we should add a way to drop unused nodes for U-Boot
> proper, like we do for SPL?
We have that for a little while now, OF_DTB_PROPS_REMOVE, from trying to
trim things down for tbs2910.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200603/89a4aaad/attachment.sig>
next prev parent reply other threads:[~2020-06-04 3:16 UTC|newest]
Thread overview: 53+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-17 8:19 [PATCH v1 00/15] add basic driver support for broadcom NS3 soc Rayagonda Kokatanur
2020-05-17 8:19 ` [PATCH v1 01/15] configs: ns3: enable pinctrl driver Rayagonda Kokatanur
2020-05-25 2:14 ` Simon Glass
2020-05-17 8:19 ` [PATCH v1 02/15] dt-bindings: pinctrl: add ns3 pads definition Rayagonda Kokatanur
2020-05-25 2:14 ` Simon Glass
2020-05-17 8:19 ` [PATCH v1 03/15] arm: dts: ns3: add pinctrl node Rayagonda Kokatanur
2020-05-25 2:14 ` Simon Glass
2020-05-26 10:08 ` Rayagonda Kokatanur
2020-05-26 12:39 ` Simon Glass
2020-05-17 8:19 ` [PATCH v1 04/15] arm: dts: ns3: add gpio node Rayagonda Kokatanur
2020-05-25 2:14 ` Simon Glass
2020-06-02 14:18 ` Rayagonda Kokatanur
2020-05-17 8:19 ` [PATCH v1 05/15] configs: ns3: enable BCM IPROC mmc driver Rayagonda Kokatanur
2020-05-25 2:14 ` Simon Glass
2020-05-17 8:19 ` [PATCH v1 06/15] arm: dts: ns3: add emmc node Rayagonda Kokatanur
2020-05-25 2:14 ` Simon Glass
2020-05-17 8:19 ` [PATCH v1 07/15] configs: ns3: enable mmc commands Rayagonda Kokatanur
2020-05-25 2:14 ` Simon Glass
2020-05-17 8:19 ` [PATCH v1 08/15] arm: dts: ns3: add qspi node Rayagonda Kokatanur
2020-05-25 2:14 ` Simon Glass
2020-05-17 8:19 ` [PATCH v1 09/15] arm: dts: ns3: add i2c node Rayagonda Kokatanur
2020-05-25 2:14 ` Simon Glass
2020-05-17 8:19 ` [PATCH v1 10/15] arm: dts: ns3: add PAXB PCIe host and phy node Rayagonda Kokatanur
2020-05-25 2:14 ` Simon Glass
2020-05-17 8:19 ` [PATCH v1 11/15] configs: ns3: enable gpt commands Rayagonda Kokatanur
2020-05-25 2:14 ` Simon Glass
2020-05-17 8:19 ` [PATCH v1 12/15] configs: ns3: enable EXT4 and FAT fs support Rayagonda Kokatanur
2020-05-25 2:14 ` Simon Glass
2020-05-17 8:19 ` [PATCH v1 13/15] configs: ns3: enable sp805 watchdog driver Rayagonda Kokatanur
2020-05-25 2:14 ` Simon Glass
2020-05-17 8:19 ` [PATCH v1 14/15] arm: dts: ns3: add sp805 watchdog node Rayagonda Kokatanur
2020-05-25 2:14 ` Simon Glass
2020-05-17 8:19 ` [PATCH v1 15/15] board: ns3: start sp805 watchdog service Rayagonda Kokatanur
2020-05-25 2:15 ` Simon Glass
2020-05-18 19:16 ` [PATCH v1 00/15] add basic driver support for broadcom NS3 soc Tom Rini
2020-05-19 17:09 ` Rayagonda Kokatanur
2020-05-19 17:31 ` Tom Rini
2020-05-19 17:45 ` Rayagonda Kokatanur
2020-05-20 2:04 ` Thomas Fitzsimmons
2020-05-20 5:19 ` Rayagonda Kokatanur
2020-05-20 14:20 ` Simon Glass
2020-06-03 9:10 ` Rayagonda Kokatanur
2020-06-04 2:59 ` Simon Glass
2020-06-04 3:16 ` Tom Rini [this message]
2020-06-05 9:36 ` Soeren Moch
2020-06-05 15:05 ` Tom Rini
2020-06-05 15:47 ` Walter Lozano
2020-06-05 18:22 ` Tom Rini
2020-06-05 20:20 ` Walter Lozano
2020-06-08 17:03 ` Rayagonda Kokatanur
2020-06-08 17:12 ` Simon Glass
2020-06-08 17:22 ` Rayagonda Kokatanur
2020-06-07 6:54 ` dphadke
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=20200604031624.GC32287@bill-the-cat \
--to=trini@konsulko.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